https://bugzilla.kernel.org/show_bug.cgi?id=218982

            Bug ID: 218982
           Summary: 6.10 regression: System doesn't resume from standby
                    (with bisect)
           Product: ACPI
           Version: 2.5
          Hardware: AMD
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Power-Sleep-Wake
          Assignee: acpi_power-sleep-w...@kernel-bugs.osdl.org
          Reporter: saverio.p...@gmail.com
        Regression: No

After upgrading my system from 6.9 to 6.10-rcX (currently, rc5), my system
doesn't resume from suspend anymore.

Specifically, when I perform a resume, the machine is hung, without any signal
sent to the monitor.

I'm not sure which hardware component is responsible; I presume it's related to
the motherboard, which is a MAG B650M MORTAR WIFI (MS-7D76), with a 7950X AMD
CPU.

I've performed a bisect, and the commit where this issue first appeared
follows.

commit de111f6b4f6a3010020825d22a068f416bc29c95
Author: Vasant Hegde <vasant.he...@amd.com>
Date:   Mon May 6 08:20:39 2024 +0000

    iommu/amd: Enable Guest Translation after reading IOMMU feature register

    Commit 8e0179733172 ("iommu/amd: Enable Guest Translation before
    registering devices") moved IOMMU Guest Translation (GT) enablement to
    early init path. It does feature check based on Global EFR value (got from
    ACPI IVRS table). Later it adjusts EFR value based on IOMMU feature
    register (late_iommu_features_init()).

    It seems in some systems BIOS doesn't set gloabl EFR value properly.
    This is causing mismatch. Hence move IOMMU GT enablement after
    late_iommu_features_init() so that it does check based on IOMMU EFR
    value.

    Fixes: 8e0179733172 ("iommu/amd: Enable Guest Translation before
registering devices")
    Reported-by: Klara Modin <klarasmo...@gmail.com>
    Closes:
https://lore.kernel.org/linux-iommu/333e6eb6-361c-4afb-8107-2573324bf...@gmail.com/
    Signed-off-by: Vasant Hegde <vasant.he...@amd.com>
    Tested-by: Klara Modin <klarasmo...@gmail.com>
    Link: https://lore.kernel.org/r/20240506082039.7575-1-vasant.he...@amd.com
    Signed-off-by: Joerg Roedel <jroe...@suse.de>

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

_______________________________________________
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to