From: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
To: Michal Simek <michal.simek@xilinx.com>
Cc: linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org,
Bharat Kumar Gogada <bharatku@xilinx.com>,
Ravi Kiran Gummaluri <rgummal@xilinx.com>,
Bjorn Helgaas <bhelgaas@google.com>
Subject: Re: [PATCH] microblaze/PCI: Remove pcibios_setup_bus_{self/devices} dead code
Date: Mon, 10 Jul 2017 11:56:30 +0100 [thread overview]
Message-ID: <20170710105630.GA20788@red-moon> (raw)
In-Reply-To: <ba524747-7866-7388-53f2-e1ec34341c78@xilinx.com>
Hi Michal,
On Tue, Jun 20, 2017 at 04:32:41PM +0200, Michal Simek wrote:
> 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@arm.com>
> > Cc: Bharat Kumar Gogada <bharatku@xilinx.com>
> > Cc: Ravi Kiran Gummaluri <rgummal@xilinx.com>
> > Cc: Bjorn Helgaas <bhelgaas@google.com>
> > Cc: Michal Simek <michal.simek@xilinx.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@xilinx.com>
Either way is fine by me as long as we merge it, I do not see it
in the mainline please let me know how you prefer handling it.
Thanks,
Lorenzo
next prev parent reply other threads:[~2017-07-10 10:54 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-20 13:08 [PATCH] microblaze/PCI: Remove pcibios_setup_bus_{self/devices} dead code Lorenzo Pieralisi
2017-06-20 14:32 ` Michal Simek
2017-07-10 10:56 ` Lorenzo Pieralisi [this message]
2017-07-13 2:38 ` Bjorn Helgaas
2017-07-13 6:02 ` Michal Simek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170710105630.GA20788@red-moon \
--to=lorenzo.pieralisi@arm.com \
--cc=bharatku@xilinx.com \
--cc=bhelgaas@google.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=michal.simek@xilinx.com \
--cc=rgummal@xilinx.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.