Re: [PATCH] PCI: move early dump functionality from x86 arch into the common code

From: Sinan Kaya
Date: Fri Jun 01 2018 - 10:46:15 EST


On 5/30/2018 12:34 AM, Sinan Kaya wrote:
> Move early dump functionality into common code so that it is available for
> all archtiectures. No need to carry arch specific reads around as the read
> hooks are already initialized by the time pci_setup_device() is getting
> called during scan.
>
> Signed-off-by: Sinan Kaya <okaya@xxxxxxxxxxxxxx>
> ---
> Documentation/admin-guide/kernel-parameters.txt | 2 +-
> arch/x86/include/asm/pci-direct.h | 5 ---
> arch/x86/kernel/setup.c | 5 ---
> arch/x86/pci/common.c | 4 --
> arch/x86/pci/early.c | 50 -------------------------
> drivers/pci/pci.c | 4 ++
> drivers/pci/pci.h | 2 +-
> drivers/pci/probe.c | 19 ++++++++++
> 8 files changed, 25 insertions(+), 66 deletions(-)

Any feedback on the direction?

--
Sinan Kaya
Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm Technologies, Inc.
Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.