pci_mmcfg_list.
pci_acpi_set_companion() and acpi_pci_get_segment() are defined
using sysdata of generic ACPI host controller so that PCI domain
and ACPI companion are set in PCI code rather than platform code.
This code is currently enabled only for ARM64.
Signed-off-by: Jayachandran C
---
drivers/acpi
platform specific implementation.
This patch is purely rearranging code, it should not have any
impact on the logic of MCFG parsing or list handling.
Signed-off-by: Jayachandran C
[Xen parts:]
Acked-by: David Vrabel
Signed-off-by: Jayachandran C
---
arch/x86/include/asm/pci_x86.h | 24 +---
arch
set on the root bus, in case of ACPI.
Signed-off-by: Jayachandran C
---
drivers/pci/pci.c| 15 ++-
drivers/pci/probe.c | 2 ++
include/linux/pci-acpi.h | 11 ++-
3 files changed, 26 insertions(+), 2 deletions(-)
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c
() and pcibios_disable_device() have been added
to handle acpi irq enable and disable. pcibios_add_bus() and
pcibios_remove_bus() have been added call the corresponding ACPI
functions.
Signed-off-by: Jayachandran C
---
arch/arm64/Kconfig | 3 +++
arch/arm64/kernel/pci.c | 34
function acpi_pci_root_remap_iospace that is called in
acpi_pci_probe_root_resources(), before the validate call.
Also fix the address check in acpi_dev_ioresource_flags for
similar platforms.
Signed-off-by: Jayachandran C
---
drivers/acpi/pci_root.c | 62
an array. Earlier this
was done with an arch_init call
- remove unneeded pci_bus_add_devices call and fix MCFG saving code
- Added a patch to ACPI pci_root.c to handle arm64 PCI IO resources
Jayachandran C (5):
APCI: MCFG: Move mmcfg_list management to drivers/acpi
PCI: Handle ACPI companion
raw_pci_write based
on the pci_mmcfg_list
This is enabled only for ARM64 now.
Signed-off-by: Jayachandran C
---
drivers/acpi/Kconfig | 8 ++
drivers/acpi/Makefile| 1 +
drivers/acpi/pci_host_acpi.c | 186 +++
3 files changed, 195 insertions
pcibios_remove_bus have been
added call the corresponding ACPI functions.
Signed-off-by: Jayachandran C
---
arch/arm64/Kconfig | 3 +++
arch/arm64/kernel/pci.c | 34 +-
2 files changed, 32 insertions(+), 5 deletions(-)
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
function acpi_pci_root_remap_iospace that is called in
acpi_pci_probe_root_resources(), before the validate call.
Also fix the address check in acpi_dev_ioresource_flags for
similar platforms.
Signed-off-by: Jayachandran C
---
drivers/acpi/pci_root.c | 62
code
- Added a patch to ACPI pci_root.c to handle arm64 PCI IO resources
Jayachandran C (5):
APCI: MCFG: Move mmcfg_list management to drivers/acpi
PCI: Handle ACPI companion and domain number
ACPI: PCI: Support platforms that need pci_remap_iospace
arm64: pci: Add ACPI support
PCI: ACPI
platform specific implementation.
This patch is purely rearranging code, it should not have any
impact on the logic of MCFG parsing or list handling.
Signed-off-by: Jayachandran C
---
arch/x86/include/asm/pci_x86.h | 24 +---
arch/x86/pci/mmconfig-shared.c | 269
case of ACPI.
Signed-off-by: Jayachandran C
---
drivers/pci/pci.c| 15 ++-
drivers/pci/probe.c | 2 ++
include/linux/pci-acpi.h | 28 +++-
3 files changed, 43 insertions(+), 2 deletions(-)
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c
index
12 matches
Mail list logo