Re: [PATCH 01/20] ARM64 / ACPI: Make PCI optional for ACPI on ARM64

2014-01-20 Thread Hanjun Guo
On 2014-1-18 0:00, Bjorn Helgaas wrote: > [+cc Jens, James, Ben, Fujita (authors of PCI_DMA_BUS_IS_PHYS usage)] > > On Fri, Jan 17, 2014 at 5:24 AM, Hanjun Guo wrote: >> Not all the ARM64 targets that are using ACPI have PCI, so introduce >> some stub functions to make PCI optional for ACPI, and

Re: [PATCH 01/20] ARM64 / ACPI: Make PCI optional for ACPI on ARM64

2014-01-20 Thread Hanjun Guo
On 2014-1-18 0:00, Bjorn Helgaas wrote: [+cc Jens, James, Ben, Fujita (authors of PCI_DMA_BUS_IS_PHYS usage)] On Fri, Jan 17, 2014 at 5:24 AM, Hanjun Guo hanjun@linaro.org wrote: Not all the ARM64 targets that are using ACPI have PCI, so introduce some stub functions to make PCI optional

Re: [PATCH 01/20] ARM64 / ACPI: Make PCI optional for ACPI on ARM64

2014-01-17 Thread Bjorn Helgaas
[+cc Jens, James, Ben, Fujita (authors of PCI_DMA_BUS_IS_PHYS usage)] On Fri, Jan 17, 2014 at 5:24 AM, Hanjun Guo wrote: > Not all the ARM64 targets that are using ACPI have PCI, so introduce > some stub functions to make PCI optional for ACPI, and make ACPI core > run without CONFIG_PCI on

[PATCH 01/20] ARM64 / ACPI: Make PCI optional for ACPI on ARM64

2014-01-17 Thread Hanjun Guo
Not all the ARM64 targets that are using ACPI have PCI, so introduce some stub functions to make PCI optional for ACPI, and make ACPI core run without CONFIG_PCI on ARM64. pcibios_penalize_isa_irq() is arch dependent, introduce asm/pci.h to include it. Since ACPI on X86 and IA64 depends on PCI,

[PATCH 01/20] ARM64 / ACPI: Make PCI optional for ACPI on ARM64

2014-01-17 Thread Hanjun Guo
Not all the ARM64 targets that are using ACPI have PCI, so introduce some stub functions to make PCI optional for ACPI, and make ACPI core run without CONFIG_PCI on ARM64. pcibios_penalize_isa_irq() is arch dependent, introduce asm/pci.h to include it. Since ACPI on X86 and IA64 depends on PCI,

Re: [PATCH 01/20] ARM64 / ACPI: Make PCI optional for ACPI on ARM64

2014-01-17 Thread Bjorn Helgaas
[+cc Jens, James, Ben, Fujita (authors of PCI_DMA_BUS_IS_PHYS usage)] On Fri, Jan 17, 2014 at 5:24 AM, Hanjun Guo hanjun@linaro.org wrote: Not all the ARM64 targets that are using ACPI have PCI, so introduce some stub functions to make PCI optional for ACPI, and make ACPI core run without