diff options
author | Mason Huo <[email protected]> | 2023-04-04 11:29:08 +0800 |
---|---|---|
committer | Marc Zyngier <[email protected]> | 2023-04-08 11:19:47 +0100 |
commit | e80f0b6a2cf302b56b7d6d7ad3797aebc97fccb9 (patch) | |
tree | ec9d8deba1acd1cfce07b45ceed8daed7711ddd0 /lib/memory-notifier-error-inject.c | |
parent | 9dfc77917e3b82dc7f93d62cebf1ebb885e9cc6a (diff) |
irqchip/irq-sifive-plic: Add syscore callbacks for hibernation
The priority and enable registers of plic will be reset
during hibernation power cycle in poweroff mode,
add the syscore callbacks to save/restore those registers.
Signed-off-by: Mason Huo <[email protected]>
Reviewed-by: Ley Foon Tan <[email protected]>
Reviewed-by: Sia Jee Heng <[email protected]>
Reported-by: Dan Carpenter <[email protected]>
Link: https://lore.kernel.org/r/[email protected]/
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions