diff options
| author | Nick Hu <nick.hu@sifive.com> | 2025-12-02 09:07:40 +0300 |
|---|---|---|
| committer | Thomas Gleixner <tglx@linutronix.de> | 2025-12-16 00:44:33 +0300 |
| commit | f48b4bd0915bf61ac12b8c65c7939ebd03bc8abf (patch) | |
| tree | 3490120214044bf9235581a18affd44d6b1fdeaf /tools/lib/python/kdoc/parse_data_structs.py | |
| parent | 97232dc43e83987e2c5fc2fb875b31c745ac9c01 (diff) | |
| download | linux-f48b4bd0915bf61ac12b8c65c7939ebd03bc8abf.tar.xz | |
irqchip/riscv-imsic: Add a CPU pm notifier to restore the IMSIC on exit
The IMSIC might be reset when the system enters a low power state, but on
exit nothing restores the registers, which prevents interrupt delivery.
Solve this by registering a CPU power management notifier, which restores
the IMSIC on exit.
Signed-off-by: Nick Hu <nick.hu@sifive.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Yong-Xuan Wang <yongxuan.wang@sifive.com>
Reviewed-by: Cyan Yang <cyan.yang@sifive.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Reviewed-by: Nutty Liu <liujingqi@lanxincomputing.com>
Link: https://patch.msgid.link/20251202-preserve-aplic-imsic-v3-1-1844fbf1fe92@sifive.com
Diffstat (limited to 'tools/lib/python/kdoc/parse_data_structs.py')
0 files changed, 0 insertions, 0 deletions
