platform/x86/amd/hsmp: split ACPI, Non-ACPI code
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | platform/x86/amd/hsmp: Create hsmp/ directorydrivers/ drivers/ drivers/ +2 more | +27 | 0 replies | |
| 2/2 | platform/x86/amd/hsmp: Split ACPI and non-ACPI codeDocumentation/ MAINTAINERS arch/ +8 more | +1129 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Naveen Krishna Chatradhi |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] platform/x86/amd/hsmp: split ACPI, Non-ACPI code
Split hsmp.c into 2 exclusive driver one for ACPI object based probing and one probed as a platform device, provide Kconfig options to select one of them.
Patch1: In preparation for the split. Create hsmp directory and necessary Kconfig and Makefile and move hsmp.c file to hsmp/ directory. There are no logical changes in this patch.
Patch2: Split hsmp.c code into acpi.c, core.c and plat.c files acpi.c + core.c -> compile into ACPI based driver. plat.c + core.c -> compile into plat device based driver.
Also, remove devm_* sysfs calls and uses dev_groups pointer in platform_driver structure.
Suma Hegde (2):
platform/x86/amd/hsmp: Create hsmp/ directory platform/x86/amd/hsmp: Split ACPI and non-ACPI code
Documentation/arch/x86/amd_hsmp.rst | 60 +- MAINTAINERS | 2 +- arch/x86/include/asm/amd_hsmp.h | 2 +- drivers/platform/x86/amd/Kconfig | 14 +- drivers/platform/x86/amd/Makefile | 3 +- drivers/platform/x86/amd/hsmp.c | 988 ------------------------- drivers/platform/x86/amd/hsmp/Kconfig | 37 + drivers/platform/x86/amd/hsmp/Makefile | 13 + drivers/platform/x86/amd/hsmp/acpi.c | 301 ++++++++ drivers/platform/x86/amd/hsmp/core.c | 284 +++++++ drivers/platform/x86/amd/hsmp/hsmp.h | 66 ++ drivers/platform/x86/amd/hsmp/plat.c | 392 ++++++++++ 12 files changed, 1152 insertions(+), 1010 deletions(-) delete mode 100644 drivers/platform/x86/amd/hsmp.c create mode 100644 drivers/platform/x86/amd/hsmp/Kconfig create mode 100644 drivers/platform/x86/amd/hsmp/Makefile create mode 100644 drivers/platform/x86/amd/hsmp/acpi.c create mode 100644 drivers/platform/x86/amd/hsmp/core.c create mode 100644 drivers/platform/x86/amd/hsmp/hsmp.h create mode 100644 drivers/platform/x86/amd/hsmp/plat.c
Signature · 1 line
2.25.1