在 2020/11/8 0:54, Marc Zyngier 写道:
[dropping Jason, whose email address has been bouncing for weeks now]Hisi Ascend platform
On 2020-11-07 10:42, Xu Qiang wrote:
On my platform, ITS_FLAGS_SAVE_SUSPEND_STATE is not set,thus do nothing
Which platform?
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.
Which firmware are you using? I just had a look at the trusted firmware source
code, and while it definitely does something that *looks* like what you are
describing, it doesn't re-enable the ITS on resume.
So what are you running?
I am using ATF. Since ITS_FLAGS_SAVE_SUSPEND_STATE is not set,ITS
driver of OS will
not re-enable ITS in th resume. To make ITS work properly, we changed
the ATF code
to re-enable ITS on resume.