Re: [PATCH] PCI: ACPI: IA64: fix IO port generic range check

2016-02-09 Thread Lorenzo Pieralisi
Hi Bjorn, On Tue, Feb 09, 2016 at 11:00:06AM -0600, Bjorn Helgaas wrote: > Hi Lorenzo, > > On Mon, Feb 01, 2016 at 10:25:57AM +, Lorenzo Pieralisi wrote: > > The [0 - 64k] ACPI PCI IO port resource boundary check in: > > > > acpi_dev_ioresource_flags() > > > > is currently applied blindly i

Re: [PATCH] PCI: ACPI: IA64: fix IO port generic range check

2016-02-09 Thread Bjorn Helgaas
Hi Lorenzo, On Mon, Feb 01, 2016 at 10:25:57AM +, Lorenzo Pieralisi wrote: > The [0 - 64k] ACPI PCI IO port resource boundary check in: > > acpi_dev_ioresource_flags() > > is currently applied blindly in the ACPI resource parsing to all > architectures, but only x86 suffers from that IO spac

Re: [PATCH] PCI: ACPI: IA64: fix IO port generic range check

2016-02-09 Thread Lorenzo Pieralisi
Hi, On Mon, Feb 01, 2016 at 07:36:57PM +0800, Hanjun Guo wrote: > On 2016/2/1 18:25, Lorenzo Pieralisi wrote: > >The [0 - 64k] ACPI PCI IO port resource boundary check in: > > > >acpi_dev_ioresource_flags() > > > >is currently applied blindly in the ACPI resource parsing to all > >architectures, b

Re: [PATCH] PCI: ACPI: IA64: fix IO port generic range check

2016-02-01 Thread Lorenzo Pieralisi
On Mon, Feb 01, 2016 at 07:36:57PM +0800, Hanjun Guo wrote: [...] > >diff --git a/arch/x86/pci/acpi.c b/arch/x86/pci/acpi.c > >index 3cd6983..e20dbe5 100644 > >--- a/arch/x86/pci/acpi.c > >+++ b/arch/x86/pci/acpi.c > >@@ -275,11 +275,14 @@ static void pci_acpi_root_release_info(struct > >acpi_pc

Re: [PATCH] PCI: ACPI: IA64: fix IO port generic range check

2016-02-01 Thread Hanjun Guo
On 2016/2/1 18:25, Lorenzo Pieralisi wrote: The [0 - 64k] ACPI PCI IO port resource boundary check in: acpi_dev_ioresource_flags() is currently applied blindly in the ACPI resource parsing to all architectures, but only x86 suffers from that IO space limitation. The check in generic ACPI code l

[PATCH] PCI: ACPI: IA64: fix IO port generic range check

2016-02-01 Thread Lorenzo Pieralisi
The [0 - 64k] ACPI PCI IO port resource boundary check in: acpi_dev_ioresource_flags() is currently applied blindly in the ACPI resource parsing to all architectures, but only x86 suffers from that IO space limitation. The check in generic ACPI code leaves other arches (ie IA64) IO space broken (