Re: [PATCH v4 20/30] PCI/sparc: Use pci_scan_root_bridge() for simplicity
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: Bjorn Helgaas <bhelgaas@xxxxxxxxxx>
- Subject: Re: [PATCH v4 20/30] PCI/sparc: Use pci_scan_root_bridge() for simplicity
- From: Yijing Wang <wangyijing@xxxxxxxxxx>
- Date: Tue, 3 Mar 2015 16:49:46 +0800
- Cc: Jiang Liu <jiang.liu@xxxxxxxxxxxxxxx>, <linux-pci@xxxxxxxxxxxxxxx>, Yinghai Lu <yinghai@xxxxxxxxxx>, <linux-kernel@xxxxxxxxxxxxxxx>, Marc Zyngier <marc.zyngier@xxxxxxx>, <linux-arm-kernel@xxxxxxxxxxxxxxxxxxx>, Russell King <linux@xxxxxxxxxxxxxxxx>, <x86@xxxxxxxxxx>, Thomas Gleixner <tglx@xxxxxxxxxxxxx>, Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx>, Rusty Russell <rusty@xxxxxxxxxxxxxxx>, Tony Luck <tony.luck@xxxxxxxxx>, <linux-ia64@xxxxxxxxxxxxxxx>, "David S. Miller" <davem@xxxxxxxxxxxxx>, "Guan Xuetao" <gxt@xxxxxxxxxxxxxxx>, <linux-alpha@xxxxxxxxxxxxxxx>, <linux-m68k@xxxxxxxxxxxxxxx>, Liviu Dudau <liviu@xxxxxxxxxxx>, "Arnd Bergmann" <arnd@xxxxxxxx>, Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>, <sparclinux@xxxxxxxxxxxxxxx>
- In-reply-to: <20150303031059.GJ11978@google.com>
- List-id: <linux-ia64.vger.kernel.org>
- References: <1424938344-4017-1-git-send-email-wangyijing@huawei.com> <1424938344-4017-21-git-send-email-wangyijing@huawei.com> <20150303031059.GJ11978@google.com>
- User-agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.0.1
>> - pci_of_scan_bus(pbm, node, bus);
>> - pci_bus_add_devices(bus);
>> - pci_bus_register_of_sysfs(bus);
>> + pci_bus_add_devices(host->bus);
>> + pci_bus_register_of_sysfs(host->bus);
>>
>> - pci_claim_bus_resources(bus);
>> + pci_claim_bus_resources(host->bus);
>
> Isn't this a case where pci_claim_bus_resources() should be done before
> pci_bus_add_devices()? You didn't introduce this problem, but since you're
> fixing similar issues, seems like we should fix this one, too. In a patch
> of its own, of course.
OK, will fix in a another patch.
>
>>
>> - return bus;
>> + return host->bus;
>> }
>>
>> void pcibios_fixup_bus(struct pci_bus *pbus)
>> --
>> 1.7.1
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>> the body of a message to majordomo@xxxxxxxxxxxxxxx
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>> Please read the FAQ at http://www.tux.org/lkml/
>
> .
>
--
Thanks!
Yijing
--
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Index of Archives]
[Linux Kernel]
[Sparc Linux]
[DCCP]
[Linux ARM]
[Yosemite News]
[Linux SCSI]
[Linux x86_64]
[Linux for Ham Radio]