From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753580AbdGJKyy (ORCPT ); Mon, 10 Jul 2017 06:54:54 -0400 Received: from foss.arm.com ([217.140.101.70]:34166 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752276AbdGJKyx (ORCPT ); Mon, 10 Jul 2017 06:54:53 -0400 Date: Mon, 10 Jul 2017 11:56:30 +0100 From: Lorenzo Pieralisi To: Michal Simek Cc: linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, Bharat Kumar Gogada , Ravi Kiran Gummaluri , Bjorn Helgaas Subject: Re: [PATCH] microblaze/PCI: Remove pcibios_setup_bus_{self/devices} dead code Message-ID: <20170710105630.GA20788@red-moon> References: <20170620130844.11109-1-lorenzo.pieralisi@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > > Cc: Bharat Kumar Gogada > > Cc: Ravi Kiran Gummaluri > > Cc: Bjorn Helgaas > > Cc: Michal Simek > > --- > > 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 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