[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <160604923575.224052.1351706430622290182.b4-ty@kernel.org>
Date: Sun, 22 Nov 2020 12:47:48 +0000
From: Marc Zyngier <maz@...nel.org>
To: Xu Qiang <xuqiang36@...wei.com>, linux-kernel@...r.kernel.org,
tglx@...utronix.de
Cc: rui.xiang@...wei.com
Subject: Re: [PATCH -next] irq-chip/gic-v3-its: Fixed an issue where the ITS executes the residual commands in the queue again when the ITS wakes up from sleep mode.
On Sat, 7 Nov 2020 10:42:26 +0000, Xu Qiang wrote:
> On my platform, ITS_FLAGS_SAVE_SUSPEND_STATE is not set,thus do nothing
> in its suspend and resuse function.On the other hand,firmware stores
> GITS_CTRL,GITS_CBASER,GITS_CWRITER and GITS_BASER<n> in the suspend,
> and restores these registers in the resume. As a result, the ITS executes
> the residual commands in the queue.
>
> Memory corruption may occur in the following scenarios:
>
> [...]
Applied to irq/irqchip-next, thanks!
[1/1] irqchip/gic-v3-its: Unconditionally save/restore the ITS state on suspend
commit: a51f7296f38f498c6f186c82ae3aa25ae10bb266
Cheers,
M.
--
Without deviation from the norm, progress is not possible.
Powered by blists - more mailing lists