irqchip/loongson-liointc: Save/restore int_edge/int_pol registers during S3/S4
authorHuacai Chen <chenhuacai@loongson.cn>
Wed, 7 Dec 2022 14:06:43 +0000 (22:06 +0800)
committerMarc Zyngier <maz@kernel.org>
Sun, 5 Feb 2023 10:55:19 +0000 (10:55 +0000)
commitfc98adb9a8435cdb4e8349138ac0b728df80ade9
tree051ae11b3867a4da0aa7b4d11a281032c40b4f26
parente740604232dc5c3097808f3e91fd02d9316010c5
irqchip/loongson-liointc: Save/restore int_edge/int_pol registers during S3/S4

If int_edge/int_pol registers are configured to not be the default values, we
should save/restore them during S3/S4.

Signed-off-by: Yingkun Meng <mengyingkun@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20221207140643.1600743-1-chenhuacai@loongson.cn
drivers/irqchip/irq-loongson-liointc.c