[PATCH 0/2] Advertise pm_resume/suspend_via_firmware with PSCI

Konrad Dybcio konrad.dybcio at linaro.org
Wed Dec 27 14:15:29 PST 2023


Some device drivers are curious to know if "the firmware" (which to many
just means ACPI, because x86/ibm_pc is clearly the only arch on this
planet :P) is responsible for suspending/resuming the platform, altering
their behavior if that's the case.

The same flag makes sense regardless of the type of firmware used. PSCI
also happens to be the suspend handler on many platforms even without
ACPI, so it's only natural to report such capabilities as well.

Signed-off-by: Konrad Dybcio <konrad.dybcio at linaro.org>
---
Konrad Dybcio (2):
      firmware/psci: Set pm_set_resume/suspend_via_firmware() for SYSTEM_SUSPEND
      firmware/psci: Set pm_set_resume/suspend_via_firmware() on qcom

 drivers/firmware/psci/psci.c | 67 +++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 66 insertions(+), 1 deletion(-)
---
base-commit: 39676dfe52331dba909c617f213fdb21015c8d10
change-id: 20231227-topic-psci_fw_sus-a0b0206dc876

Best regards,
-- 
Konrad Dybcio <konrad.dybcio at linaro.org>




More information about the linux-arm-kernel mailing list