Skip to content

ACPI: unify _UID handling as integer

Andy Shevchenko acpica-devel linux-acpi linux-arm-kernel linux-arm-msm linux-efi linux-i2c linux-spi lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest8 patches 1 replyIn review
  2. v28 patches 8 repliesSuperseded
  3. v18 patches 7 repliesSuperseded

Changes in v3 from the cover letter

- fixed dev_dbg() specifier to be in align with the variable type (LKP)
- made use of temporary dev variable beyond the ACPI scope (LKP)
- added tags to I²C patches (Wolfram)

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8ACPI: utils: Add acpi_dev_uid_to_integer() helper to get _UID as integerdrivers/acpi/utils.c include/acpi/acpi_bus.h include/linux/acpi.h+30 -00 replies
2/8ACPI: LPSS: Refactor _UID handling to use acpi_dev_uid_to_integer()drivers/acpi/acpi_lpss.c+7 -80 replies
3/8ACPI: x86: Refactor _UID handling to use acpi_dev_uid_to_integer()drivers/acpi/x86/utils.c+10 -40 replies
4/8i2c: amd-mp2-plat: Refactor _UID handling to use acpi_dev_uid_to_integer()drivers/i2c/busses/i2c-amd-mp2-plat.c+9 -180 replies
5/8i2c: mlxbf: Refactor _UID handling to use acpi_dev_uid_to_integer()drivers/i2c/busses/i2c-mlxbf.c+6 -140 replies
6/8perf: qcom_l2_pmu: Refactor _UID handling to use acpi_dev_uid_to_integer()drivers/perf/qcom_l2_pmu.c+5 -50 replies
7/8spi: pxa2xx: Refactor _UID handling to use acpi_dev_uid_to_integer()drivers/spi/spi-pxa2xx.c+10 -270 replies
8/8efi/dev-path-parser: Refactor _UID handling to use acpi_dev_uid_to_integer()drivers/firmware/efi/dev-path-parser.c+6 -40 replies

Reviews trailers per patch

All 8 patches have a Reviewed-by or Acked-by.

PatchHans de GoedeMark BrownWolfram SangArd Biesheuvel
1/8R-b
2/8R-b
3/8R-b
4/8R-b A-b
5/8R-b A-b
6/8R-b
7/8R-b A-b
8/8R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v3 thread

Cover letter [PATCH v3 0/8] ACPI: unify _UID handling as integer

This series is about unification on how we handle ACPI _UID when it's known to be an integer-in-the-string.

The idea of merging either all via ACPI tree, or taking ACPI stuff for the v6.1 while the rest may be picked up later on by respective maintainers separately (currently only perf patch is not tagged).

Partially compile-tested (x86-64).

Changelog v3:
- fixed dev_dbg() specifier to be in align with the variable type (LKP)
- made use of temporary dev variable beyond the ACPI scope (LKP)
- added tags to I²C patches (Wolfram)

Changelog v2:
- rebased pxa2xx patch to be applied against current Linux kernel code
- fixed uninitialized variable adev in use (mlxbf)
- dropped unneeded temporary variable adev (qcom_l2_pmu)
- changed type for ret in patch 8 (Hans)
- swapped conditions to check ret == 0 first (Ard)
- added tags (Mark, Ard, Hans)

Andy Shevchenko (8):
ACPI: utils: Add acpi_dev_uid_to_integer() helper to get _UID as
integer
ACPI: LPSS: Refactor _UID handling to use acpi_dev_uid_to_integer()
ACPI: x86: Refactor _UID handling to use acpi_dev_uid_to_integer()
i2c: amd-mp2-plat: Refactor _UID handling to use
acpi_dev_uid_to_integer()
i2c: mlxbf: Refactor _UID handling to use acpi_dev_uid_to_integer()
perf: qcom_l2_pmu: Refactor _UID handling to use
acpi_dev_uid_to_integer()
spi: pxa2xx: Refactor _UID handling to use acpi_dev_uid_to_integer() efi/dev-path-parser: Refactor _UID handling to use
acpi_dev_uid_to_integer()

 drivers/acpi/acpi_lpss.c               | 15 +++++------
 drivers/acpi/utils.c                   | 24 +++++++++++++++++
 drivers/acpi/x86/utils.c               | 14 +++++++---
 drivers/firmware/efi/dev-path-parser.c | 10 ++++---
 drivers/i2c/busses/i2c-amd-mp2-plat.c  | 27 +++++++------------
 drivers/i2c/busses/i2c-mlxbf.c         | 20 +++++---------
 drivers/perf/qcom_l2_pmu.c             | 10 +++----
 drivers/spi/spi-pxa2xx.c               | 37 +++++++-------------------
 include/acpi/acpi_bus.h                |  1 +
 include/linux/acpi.h                   |  5 ++++
 10 files changed, 83 insertions(+), 80 deletions(-)
Signature · 7 lines
2.35.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel