[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdYgqmNZEGWmjzeFtfiH-hJb6eJRuz7hnxw1GeRUuyTnRA@mail.gmail.com>
Date: Sat, 16 Oct 2021 23:57:41 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Sachi King <nakato@...ato.io>
Cc: bnatikar@....com, Mario Limonciello <mario.limonciello@....com>,
"open list:GPIO SUBSYSTEM" <linux-gpio@...r.kernel.org>,
"S-k, Shyam-sundar" <Shyam-sundar.S-k@....com>,
"Shah, Nehal-bakulchandra" <Nehal-bakulchandra.Shah@....com>,
linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2] pinctrl: amd: disable and mask interrupts on probe
On Sat, Oct 9, 2021 at 5:33 AM Sachi King <nakato@...ato.io> wrote:
> Some systems such as the Microsoft Surface Laptop 4 leave interrupts
> enabled and configured for use in sleep states on boot, which cause
> unexpected behaviour such as spurious wakes and failed resumes in
> s2idle states.
>
> As interrupts should not be enabled until they are claimed and
> explicitly enabled, disabling any interrupts mistakenly left enabled by
> firmware should be safe.
>
> Signed-off-by: Sachi King <nakato@...ato.io>
This v2 version applied for fixes.
Yours,
Linus Walleij
Powered by blists - more mailing lists