[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ba524747-7866-7388-53f2-e1ec34341c78@xilinx.com>
Date: Tue, 20 Jun 2017 16:32:41 +0200
From: Michal Simek <michal.simek@...inx.com>
To: Lorenzo Pieralisi <lorenzo.pieralisi@....com>,
<linux-pci@...r.kernel.org>
CC: <linux-kernel@...r.kernel.org>,
Bharat Kumar Gogada <bharatku@...inx.com>,
Ravi Kiran Gummaluri <rgummal@...inx.com>,
Bjorn Helgaas <bhelgaas@...gle.com>,
Michal Simek <michal.simek@...inx.com>
Subject: Re: [PATCH] microblaze/PCI: Remove pcibios_setup_bus_{self/devices}
dead code
Hi,
On 20.6.2017 15:08, Lorenzo Pieralisi wrote:
> commit 01cf9d524ff0 ("microblaze/PCI: Support generic Xilinx AXI PCIe Host
> Bridge IP driver") removed pcibios calls to:
>
> pcibios_setup_bus_self()
> pcibios_setup_bus_devices()
>
> Given that pcibios_fixup_bus() was the only caller of those functions
> they have now become dead code (along with the functions they were
> calling in turn) so they can be removed.
>
> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@....com>
> Cc: Bharat Kumar Gogada <bharatku@...inx.com>
> Cc: Ravi Kiran Gummaluri <rgummal@...inx.com>
> Cc: Bjorn Helgaas <bhelgaas@...gle.com>
> Cc: Michal Simek <michal.simek@...inx.com>
> ---
> Bjorn, Michal,
>
> spotted this while reading microblaze code that parses legacy IRQs,
> I am not familiar with microblaze code but as things stand those
> pcibios calls are just unused IIUC.
TBH this code should never go to the tree. I even don't have any pci
platform I can use for testing.
I am happy to add this patch via microblaze tree.
If you want to take it via pci tree here is my
Acked-by: Michal Simek <michal.simek@...inx.com>
Thanks,
Michal
Powered by blists - more mailing lists