From mboxrd@z Thu Jan 1 00:00:00 1970 From: tn@semihalf.com (Tomasz Nowicki) Date: Tue, 6 Sep 2016 20:04:05 +0200 Subject: [RFC PATCH V5 2/5] PCI/ACPI: Move ACPI ECAM mapping to generic MCFG driver In-Reply-To: <20160905022247.GC30488@localhost> References: <1470661541-26270-1-git-send-email-tn@semihalf.com> <1470661541-26270-3-git-send-email-tn@semihalf.com> <20160905022247.GC30488@localhost> Message-ID: <6ed71efa-e1fc-32bc-925d-454f93711e37@semihalf.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 05.09.2016 04:22, Bjorn Helgaas wrote: > On Mon, Aug 08, 2016 at 03:05:38PM +0200, Tomasz Nowicki wrote: >> pci_acpi_setup_ecam_mapping() is not really ARM64 specific so move it out >> of arch/arm64/ directory. In preparation for adding MCFG quirk handling >> extend pci_acpi_setup_ecam_mapping() functionality to accept custom >> PCI config accessors (function's argument). >> >> For ARM64 ACPI based PCI host controller we still use pci_generic_ecam_ops. > > I'm not sure we gain much by moving pci_acpi_setup_ecam_mapping() from > arm64 code to generic code, since nobody else uses it yet. But if you > do want to move it, can you do the move (with no other change at all) > in one patch, and add the new "ops" argument in a second patch? I > just don't want the "ops" change to get lost in the noise of the move. Yes, will do. Tomasz