Re: [PATCH 2/3] Do not use acpi_device to find pci root bridge in_init code.

From: Yinghai Lu
Date: Fri Oct 12 2012 - 18:00:47 EST


On Fri, Oct 12, 2012 at 11:34 AM, Yinghai Lu <yinghai@xxxxxxxxxx> wrote:
> On Fri, Oct 12, 2012 at 3:54 AM, Jiang Liu <jiang.liu@xxxxxxxxxx> wrote:
>> On 2012-10-12 18:42, Tang Chen wrote:
>>> On 10/12/2012 06:36 PM, Jiang Liu wrote:
>>>> I have sent a similar patch to Yinghai before. For simplicity, we could
>>>> use acpi_match_object_info_ids() instead of acpi_match_device_ids()
>>>> directly.
>>>
>>> Hum, I must have missed it. :)
>>> Using acpi_match_object_info_ids() directly seems good. I'm just worry
>>> about if it could cause any other problem. :)
>>>
>>> So now, is this bug fixed ? And we don't need these patches, right ?
>>>
>>> Thanks. :)
>> I think Yinghai has missed my patch too, so just suggest to use
>> acpi_match_object_info_ids() directly.
>
> i put that patch from Jiang in my branch for while, and later found it
> cause pci_root_bus notifying
> do not work anymore, so i dropped that.

I updated three patches and put them into my for-pci-split-pci-root-hp-2 branch.

http://git.kernel.org/?p=linux/kernel/git/yinghai/linux-yinghai.git;a=shortlog;h=refs/heads/for-pci-split-pci-root-hp-2

git://git.kernel.org/pub/scm/linux/kernel/git/yinghai/linux-yinghai.git
for-pci-split-pci-root-hp-2

Thanks

Yinghai

Attachment: 0001-ACPI-Introduce-a-new-acpi-handle-to-determine-HID-ma.patch
Description: Binary data

Attachment: 0002-PCI-correctly-detect-ACPI-PCI-host-bridge-objects.patch
Description: Binary data

Attachment: 0003-PCI-ACPI-debug-print-for-installation-of-acpi-root-b.patch
Description: Binary data