Re: [Bugfix v5] x86/PCI/ACPI: Fix regression caused by commit 63f1789ec716

2015-04-29 Thread Jiang Liu
On 2015/4/29 22:15, Rafael J. Wysocki wrote: > On Wednesday, April 29, 2015 09:33:16 PM Jiang Liu wrote: >> On 2015/4/29 21:20, Bjorn Helgaas wrote: >>> On Tue, Apr 28, 2015 at 7:40 PM, Rafael J. Wysocki >>> wrote: On Monday, April 20, 2015 11:08:58 AM Jiang Liu wrote: > An IO port or

Re: [Bugfix v5] x86/PCI/ACPI: Fix regression caused by commit 63f1789ec716

2015-04-29 Thread Rafael J. Wysocki
On Wednesday, April 29, 2015 09:33:16 PM Jiang Liu wrote: > On 2015/4/29 21:20, Bjorn Helgaas wrote: > > On Tue, Apr 28, 2015 at 7:40 PM, Rafael J. Wysocki > > wrote: > >> On Monday, April 20, 2015 11:08:58 AM Jiang Liu wrote: > >>> An IO port or MMIO resource assigned to a PCI host bridge may be

Re: [Bugfix v5] x86/PCI/ACPI: Fix regression caused by commit 63f1789ec716

2015-04-29 Thread Bjorn Helgaas
On Wed, Apr 29, 2015 at 8:33 AM, Jiang Liu wrote: > On 2015/4/29 21:20, Bjorn Helgaas wrote: >> On Tue, Apr 28, 2015 at 7:40 PM, Rafael J. Wysocki >> wrote: >>> On Monday, April 20, 2015 11:08:58 AM Jiang Liu wrote: + * + * Another possible solution is to explicitly filter o

Re: [Bugfix v5] x86/PCI/ACPI: Fix regression caused by commit 63f1789ec716

2015-04-29 Thread Jiang Liu
On 2015/4/29 21:20, Bjorn Helgaas wrote: > On Tue, Apr 28, 2015 at 7:40 PM, Rafael J. Wysocki wrote: >> On Monday, April 20, 2015 11:08:58 AM Jiang Liu wrote: >>> An IO port or MMIO resource assigned to a PCI host bridge may be >>> consumed by the host bridge itself or available to its child >>> b

Re: [Bugfix v5] x86/PCI/ACPI: Fix regression caused by commit 63f1789ec716

2015-04-29 Thread Bjorn Helgaas
On Tue, Apr 28, 2015 at 7:40 PM, Rafael J. Wysocki wrote: > On Monday, April 20, 2015 11:08:58 AM Jiang Liu wrote: >> An IO port or MMIO resource assigned to a PCI host bridge may be >> consumed by the host bridge itself or available to its child >> bus/devices. On x86 and IA64 platforms, all IO p

Re: [Bugfix v5] x86/PCI/ACPI: Fix regression caused by commit 63f1789ec716

2015-04-28 Thread Rafael J. Wysocki
On Monday, April 20, 2015 11:08:58 AM Jiang Liu wrote: > An IO port or MMIO resource assigned to a PCI host bridge may be > consumed by the host bridge itself or available to its child > bus/devices. On x86 and IA64 platforms, all IO port and MMIO > resources are assumed to be available to child bu

[Bugfix v5] x86/PCI/ACPI: Fix regression caused by commit 63f1789ec716

2015-04-19 Thread Jiang Liu
An IO port or MMIO resource assigned to a PCI host bridge may be consumed by the host bridge itself or available to its child bus/devices. On x86 and IA64 platforms, all IO port and MMIO resources are assumed to be available to child bus/devices except one special case: IO port [0xCF8-0xCFF] is

Re: [Bugfix v5] x86/PCI/ACPI: Fix regression caused by commit 63f1789ec716

2015-04-13 Thread Rafael J. Wysocki
On Monday, April 13, 2015 08:56:17 AM Ingo Molnar wrote: > > * Jiang Liu wrote: > > > Before commit 593669c2ac0f("Use common ACPI resource interfaces to > > simplify implementation"), arch/x86/pci/acpi.c applies following > > s/applies following > /applied the following > > > rules when parsi

Re: [Bugfix v5] x86/PCI/ACPI: Fix regression caused by commit 63f1789ec716

2015-04-12 Thread Ingo Molnar
* Jiang Liu wrote: > Before commit 593669c2ac0f("Use common ACPI resource interfaces to > simplify implementation"), arch/x86/pci/acpi.c applies following s/applies following /applied the following > rules when parsing ACPI resources for PCI host bridge: > 1) Ignore IO port resources defined

[Bugfix v5] x86/PCI/ACPI: Fix regression caused by commit 63f1789ec716

2015-04-12 Thread Jiang Liu
Before commit 593669c2ac0f("Use common ACPI resource interfaces to simplify implementation"), arch/x86/pci/acpi.c applies following rules when parsing ACPI resources for PCI host bridge: 1) Ignore IO port resources defined by acpi_resource_io and acpi_resource_fixed_io, which should be used to d