Skip to content

ACPI: acpi_device_override_status() changes

Hans de Goede linux-acpi linux-mmc 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest7 patches 6 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7ACPI / x86: Drop PWM2 device on Lenovo Yoga Book from always present tabledrivers/acpi/x86/utils.c+0 -40 replies
2/7ACPI: Change acpi_device_always_present() into acpi_device_override_status()drivers/acpi/bus.c drivers/acpi/x86/utils.c include/acpi/acpi_bus.h+42 -310 replies
3/7ACPI / x86: Allow specifying acpi_device_override_status() quirks by pathdrivers/acpi/x86/utils.c+32 -100 replies
4/7ACPI / x86: Add not-present quirk for the PCI0.SDHB.BRC1 device on the GPD windrivers/acpi/x86/utils.c+17 -30 replies
5/7ACPI / x86: Add PWM2 on the Xiaomi Mi Pad 2 to the always_present listdrivers/acpi/x86/utils.c+6 -00 replies
6/7mmc: sdhci-acpi: Remove special handling for GPD win/pocket devicesdrivers/mmc/host/sdhci-acpi.c+3 -581 reply
7/7mmc: sdhci-acpi: Use the new soc_intel_is_byt() helperdrivers/mmc/host/sdhci-acpi.c+3 -141 reply

Reviews trailers per patch

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

PatchRafael J. WysockiAdrian Hunter
SeriesA-b
1/7
2/7
3/7
4/7
5/7A-b
6/7A-b
7/7A-b

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

Read the v2 thread

Cover letter [PATCH v2 0/7] ACPI: acpi_device_override_status() changes

Hi Rafael,

As requested here is a v2 of my series previously titled:
"ACPI: scan: Skip turning off some unused objects during scan"

Which was a regression fix series for the commit c10383e8ddf4 ("ACPI: scan: Release PM resources blocked by unused objects") change, but that has been reverted now. So as requested here is a v2 changing the wording of various commit messages since these changes are still useful to have regardless.

Patch 1/7 is a v2/resend of the "ACPI / x86: Drop PWM2 device on Lenovo Yoga Book from always present table" patch. You requested changing the commit message of this one a bit to make it sound less like a regression fix (which it is not). But you already have the previous version of this patch in your bleeding-edge branch, with a "Cc: 5.1+ <[email protected]> # 5.1+" added ? So depending on which version you want you can either skip this patch when applying this series, or replace it with the version from this series.

Patches 2-4 are the main changes to make the always_present quirk handling more flexible, changing it into a status_override mechanism + adding a quirk for the GPD win and pocket to fix an issue with those in a more elegant matter then the current kludge in the sdhci-acpi code.

Patch 5 is an unrelated patch which touches the override-status quirk table, so it needed to be rebased and I decided to add it to this series to make it clear that its v2 needs to be applied on top of the other ACPI changes from this series.

Patches 6+7 cleanup the sdhci-acpi code, removing the now no longer needed ugly kludge for the GPD win/pocket. These can be merged independently from patches 1-5, through the mmc tree, as long as they get send to Linus during the same kernel cycle as the ACPI bits.

Regards,

Hans

Hans de Goede (7):
ACPI / x86: Drop PWM2 device on Lenovo Yoga Book from always present
table
ACPI: Change acpi_device_always_present() into
acpi_device_override_status()
ACPI / x86: Allow specifying acpi_device_override_status() quirks by
path
ACPI / x86: Add not-present quirk for the PCI0.SDHB.BRC1 device on the
GPD win
ACPI / x86: Add PWM2 on the Xiaomi Mi Pad 2 to the always_present list
mmc: sdhci-acpi: Remove special handling for GPD win/pocket devices
mmc: sdhci-acpi: Use the new soc_intel_is_byt() helper

 drivers/acpi/bus.c            |   4 +-
 drivers/acpi/x86/utils.c      | 122 +++++++++++++++++++++++-----------
 drivers/mmc/host/sdhci-acpi.c |  78 ++--------------------
 include/acpi/acpi_bus.h       |   5 +-
 4 files changed, 96 insertions(+), 113 deletions(-)
Signature · 1 line
2.33.1