Skip to content

ACPI: platform: Fix SMB0001 enumeration on Kontron devices

Andy Shevchenko acpica-devel linux-acpi linux-i2c lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest5 patches 4 repliesIn review
  2. v34 patches 6 repliesSuperseded

Changes in v4 from the cover letter

- dropped applied patch
- added kernel doc for new helper (Rafael)
- rewritten the commit message for the reason of a new helper (Rafael)
- added a couple of patches for ACPI scan.c that can be applied later on

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5ACPI: bus: Introduce acpi_match_acpi_device() helperdrivers/acpi/bus.c include/linux/acpi.h+30 -40 replies
2/5ACPI: platform: Ignore SMB0001 only when it has resourcesdrivers/acpi/acpi_platform.c+27 -32 replies
3/5ACPI: platform: Move SMB0001 HID to the header and reusedrivers/acpi/acpi_platform.c drivers/i2c/busses/i2c-scmi.c include/acpi/acpi_drivers.h+3 -40 replies
4/5ACPI: scan: Use the acpi_match_acpi_device() helperdrivers/acpi/scan.c+12 -90 replies
5/5ACPI: scan: Provide symbol declarationsdrivers/acpi/scan.c+1 -01 reply

Reviews trailers per patch

2 of 5 patches have a Reviewed-by or Acked-by.

PatchAndi ShytiWolfram Sang
1/5
2/5R-b
3/5R-b A-b
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/5] ACPI: platform: Fix SMB0001 enumeration on Kontron devices

After switching i2c-scmi driver to be a plaform one, it stopped being enumerated on number of Kontron platforms, because it's listed in the forbidden_id_list.

To resolve the situation, add a flag and check if there are resources privided for the forbiden device. If it is the case, the device must be skipped.

Changelog v4:
- dropped applied patch
- added kernel doc for new helper (Rafael)
- rewritten the commit message for the reason of a new helper (Rafael)
- added a couple of patches for ACPI scan.c that can be applied later on

Changelog v3:
- provided completely rewritten solution (Rafael)
- due to above, added two new patches
- due to above, dropped tags from patch 3

Andy Shevchenko (5):
ACPI: bus: Introduce acpi_match_acpi_device() helper
ACPI: platform: Ignore SMB0001 only when it has resources
ACPI: platform: Move SMB0001 HID to the header and reuse
ACPI: scan: Use the acpi_match_acpi_device() helper
ACPI: scan: Provide symbol declarations

 drivers/acpi/acpi_platform.c  | 30 +++++++++++++++++++++++++++---
 drivers/acpi/bus.c            | 25 +++++++++++++++++++++----
 drivers/acpi/scan.c           | 22 +++++++++++++---------
 drivers/i2c/busses/i2c-scmi.c |  3 ---
 include/acpi/acpi_drivers.h   |  2 ++
 include/linux/acpi.h          |  9 +++++++++
 6 files changed, 72 insertions(+), 19 deletions(-)
Signature · 1 line
2.40.0.1.gaa8946217a0b