Skip to content

PCI/ACPI: Rename _HPP to _HPX and move of ACPI-specific code from probe.c

Krzysztof Wilczynski linux-acpi linux-pci lkml 1 version Applied

Status from this message: I applied these to pci/enumeration for v5.4, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3PCI/ACPI: Rename ACPI Hot Plug structs for Type 0, 1 and 2 from _HPP to _HPXdrivers/pci/pci-acpi.c drivers/pci/probe.c include/linux/pci_hotplug.h+64 -660 replies
2/3PCI/ACPI: Move ACPI-specific Hot Plug programming functions to pci-acpi.cdrivers/pci/pci-acpi.c drivers/pci/pci.h drivers/pci/probe.c +1 more+375 -3670 replies
3/3PCI/ACPI: Remove unnecessary struct hotplug_program_ops from pci-acpi.cdrivers/pci/pci-acpi.c drivers/pci/pci.h drivers/pci/probe.c+76 -1020 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] PCI/ACPI: Rename _HPP to _HPX and move of ACPI-specific code from probe.c

This series of patches moves the ACPI-specific code currently included as part of the drivers/pci/probe.c. First, the ACPI Hot Plug structs for Type 0, 1 and 2, and any relevant variable names, structs, function names, etc., will have their names changed to reflect that these are related to _HPX rather than _HPP. Second, all of the ACPI-specific code will be moved to drivers/pci/pci-acpi.c for better organisation and to keep ACPI-related code base together. Third, remove the now obsolete struct hotplug_program_ops from drivers/pci/pci-acpi.c.

Patches should be preferably merged in order as they build upon one-another.

Related:
https://lore.kernel.org/lkml/[email protected]
https://lore.kernel.org/lkml/[email protected]
https://lore.kernel.org/lkml/[email protected]

Krzysztof Wilczynski (3):
PCI/ACPI: Rename ACPI Hot Plug structs for Type 0, 1 and 2 from _HPP
to _HPX
PCI/ACPI: Move ACPI-specific Hot Plug programming functions to
pci-acpi.c
PCI/ACPI: Remove unnecessary struct hotplug_program_ops from
pci-acpi.c

 drivers/pci/pci-acpi.c      | 410 +++++++++++++++++++++++++++++++++---
 drivers/pci/pci.h           |   9 +
 drivers/pci/probe.c         | 278 +-----------------------
 include/linux/pci_hotplug.h | 100 ---------
 4 files changed, 389 insertions(+), 408 deletions(-)
Signature · 1 line
2.22.1