HP 15s-eq2xxx has problems resuming from s2idle when IOMMU is enabled. This is the same root cause as some Lenovo laptops had where IOMMU enabled caused issues with NVME during s2idle resume from a problematic SMI. To series fixes the issue by re-using the same quirk developed from the older Lenovo laptops. Mario Limonciello (2): platform/x86: Move s2idle quirk from thinkpad-acpi to amd-pmc platform/x86/amd: pmc: Apply nvme quirk to HP 15s-eq2xxx drivers/platform/x86/amd/Makefile | 2 +- drivers/platform/x86/amd/pmc-quirks.c | 172 ++++++++++++++++++++++++++ drivers/platform/x86/amd/pmc.c | 30 +---- drivers/platform/x86/amd/pmc.h | 43 +++++++ drivers/platform/x86/thinkpad_acpi.c | 143 --------------------- 5 files changed, 222 insertions(+), 168 deletions(-) create mode 100644 drivers/platform/x86/amd/pmc-quirks.c create mode 100644 drivers/platform/x86/amd/pmc.h -- 2.34.1