Re: [PATCH v4 27/28] PCI, x86, ACPI: Enable ioapic hotplug support with acpi host bridge.

2013-10-21 Thread Yijing Wang
> diff --git a/drivers/acpi/pci_root.c b/drivers/acpi/pci_root.c > index 5917839..7577175 100644 > --- a/drivers/acpi/pci_root.c > +++ b/drivers/acpi/pci_root.c > @@ -532,6 +532,8 @@ static int acpi_pci_root_add(struct acpi_device *device, > pci_enable_bridges(root->bus); > } H

Re: [PATCH v4 27/28] PCI, x86, ACPI: Enable ioapic hotplug support with acpi host bridge.

2013-08-28 Thread rui wang
On 8/28/13, Yinghai Lu wrote: > On Tue, Aug 27, 2013 at 3:25 AM, rui wang wrote: >> On 8/11/13, Yinghai Lu wrote: >>> We need to have ioapic setup before normal pci drivers. >>> otherwise other pci driver can not setup irq. >>> >>> So we should not treat them as normal pci devices. >>> Also we w

Re: [PATCH v4 27/28] PCI, x86, ACPI: Enable ioapic hotplug support with acpi host bridge.

2013-08-27 Thread Yinghai Lu
On Tue, Aug 27, 2013 at 3:25 AM, rui wang wrote: > On 8/11/13, Yinghai Lu wrote: >> We need to have ioapic setup before normal pci drivers. >> otherwise other pci driver can not setup irq. >> >> So we should not treat them as normal pci devices. >> Also we will need to support ioapic hotplug with

Re: [PATCH v4 27/28] PCI, x86, ACPI: Enable ioapic hotplug support with acpi host bridge.

2013-08-27 Thread rui wang
FWIW, I'm using my "I/O Hook" (http://lwn.net/Articles/561359/) as a tool to test yinghai's IOAPIC patchset. It can be used to test any kind of hotplug. For people who don't yet have full hardware support and want to test the hotplug of IOAPIC, CPU, Memory, IOH, PCIe root, etc., it is an ideal too

Re: [PATCH v4 27/28] PCI, x86, ACPI: Enable ioapic hotplug support with acpi host bridge.

2013-08-27 Thread rui wang
On 8/11/13, Yinghai Lu wrote: > We need to have ioapic setup before normal pci drivers. > otherwise other pci driver can not setup irq. > > So we should not treat them as normal pci devices. > Also we will need to support ioapic hotplug without pci device around. > > We need to call ioapic add/rem

[PATCH v4 27/28] PCI, x86, ACPI: Enable ioapic hotplug support with acpi host bridge.

2013-08-10 Thread Yinghai Lu
We need to have ioapic setup before normal pci drivers. otherwise other pci driver can not setup irq. So we should not treat them as normal pci devices. Also we will need to support ioapic hotplug without pci device around. We need to call ioapic add/remove during host-bridge add/remove. Signed-