Comment 15 for bug 1791321

Revision history for this message
John Lindgren (john-lindgren) wrote :

3cd091a773936c54344a519f7ee1379ccb620bee is the first bad commit
commit 3cd091a773936c54344a519f7ee1379ccb620bee
Author: Rafael J. Wysocki <email address hidden>
Date: Fri Feb 9 22:55:28 2018 +0100

    ACPI / EC: Restore polling during noirq suspend/resume phases

    Commit 662591461c4b (ACPI / EC: Drop EC noirq hooks to fix a
    regression) modified the ACPI EC driver so that it doesn't switch
    over to busy polling mode during noirq stages of system suspend and
    resume in an attempt to fix an issue resulting from that behavior.

    However, that modification introduced a system resume regression on
    Thinkpad X240, so make the EC driver switch over to the polling mode
    during noirq stages of system suspend and resume again, which
    effectively reverts the problematic commit.

    Fixes: 662591461c4b (ACPI / EC: Drop EC noirq hooks to fix a regression)
    Link: https://bugzilla.kernel.org/show_bug.cgi?id=197863
    Reported-by: Markus Demleitner <email address hidden>
    Tested-by: Markus Demleitner <email address hidden>
    Signed-off-by: Rafael J. Wysocki <email address hidden>