Skip to content

ACPI / utils: add new helper for HID/UID match

Andy Shevchenko linux-acpi linux-iommu linux-mmc 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest6 patches 5 repliesIn review
  2. v26 patches 12 repliesSuperseded
  3. v15 patches 1 replySuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6ACPI / utils: Describe function parameters in kernel-docdrivers/acpi/utils.c+7 -00 replies
2/6ACPI / utils: Move acpi_dev_get_first_match_dev() under CONFIG_ACPIinclude/acpi/acpi_bus.h+3 -30 replies
3/6ACPI / utils: Introduce acpi_dev_hid_uid_match() helperdrivers/acpi/utils.c include/acpi/acpi_bus.h include/linux/acpi.h+33 -00 replies
4/6ACPI / LPSS: Switch to use acpi_dev_hid_uid_match()drivers/acpi/acpi_lpss.c+3 -180 replies
5/6mmc: sdhci-acpi: Switch to use acpi_dev_hid_uid_match()drivers/mmc/host/sdhci-acpi.c+16 -331 reply
6/6iommu/amd: Switch to use acpi_dev_hid_uid_match()drivers/iommu/amd_iommu.c+5 -251 reply

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMika WesterbergAdrian HunterUlf HanssonJerry Snitselaar
SeriesA-b
1/6R-b
2/6R-b
3/6R-b
4/6R-b
5/6R-b A-b
6/6R-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/6] ACPI / utils: add new helper for HID/UID match

There are few users outside of ACPI realm that re-introduce a custom solution to match ACPI device against HID/UID. Add a generic helper for them.

The series is supposed to go via linux-pm tree.

In v3:
- correct logic in sdhci-acpi for qcom devices (Adrian)
- add Mika's Ack

In v2:
- add patch 2 due to latent issue in the header (lkp)
- get rid of match_hid_uid() completely in patch 6

Andy Shevchenko (6):
ACPI / utils: Describe function parameters in kernel-doc ACPI / utils: Move acpi_dev_get_first_match_dev() under CONFIG_ACPI ACPI / utils: Introduce acpi_dev_hid_uid_match() helper ACPI / LPSS: Switch to use acpi_dev_hid_uid_match()
mmc: sdhci-acpi: Switch to use acpi_dev_hid_uid_match() iommu/amd: Switch to use acpi_dev_hid_uid_match()

 drivers/acpi/acpi_lpss.c      | 21 +++------------
 drivers/acpi/utils.c          | 32 +++++++++++++++++++++++
 drivers/iommu/amd_iommu.c     | 30 ++++-----------------
 drivers/mmc/host/sdhci-acpi.c | 49 ++++++++++++-----------------------
 include/acpi/acpi_bus.h       |  8 +++---
 include/linux/acpi.h          |  6 +++++
 6 files changed, 67 insertions(+), 79 deletions(-)
Signature · 1 line
2.23.0