From mboxrd@z Thu Jan 1 00:00:00 1970 From: tn@semihalf.com (Tomasz Nowicki) Date: Wed, 10 Feb 2016 22:21:15 +0100 Subject: [PATCH V4 12/23] x86, ia64, pci: Remove ACPI companion device from platform specific data. In-Reply-To: <20160209172800.GB22868@red-moon> References: <1454606941-9523-1-git-send-email-tn@semihalf.com> <1454606941-9523-13-git-send-email-tn@semihalf.com> <20160209172800.GB22868@red-moon> Message-ID: <56BBA9CB.5060407@semihalf.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 02/09/2016 06:28 PM, Lorenzo Pieralisi wrote: > This patch has to be squashed with the previous one otherwise it > has bisectability issues (ie the previous patch passes the parent > to the pci_create_root_bus() call so, without this patch applied, > the companion initialization would fail). I do not think so. The previous patch passes the parent to the pci_create_root_bus(), indeed, so pci_create_root_bus() set companion device before calling pcibios_root_bridge_prepare() (for both cases x86 and ia64). In turn, pcibios_root_bridge_prepare() will do nothing, since bridge->dev.parent != NULL. After all, pcibios_root_bridge_prepare() is dead code. > > Other than that: > > Reviewed-by: Lorenzo Pieralisi Thanks! Tomasz