aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-memcpy.c
diff options
context:
space:
mode:
authorJianmin Lv <[email protected]>2023-06-14 19:59:34 +0800
committerMarc Zyngier <[email protected]>2023-06-16 12:59:28 +0100
commit1d7471b4e0ebba5a4bf9db4ade43619e8f2d333d (patch)
treef7be040106c71e447566e5565c73b2130883917c /lib/test_fortify/write_overflow-memcpy.c
parent783422e704ca0fa41cb2fe9ed79e46b6fe7eae29 (diff)
irqchip/loongson-liointc: Fix IRQ trigger polarity
For the INT_POLARITY register of Loongson-2K series IRQ controller, '0' indicates high level or rising edge triggered, '1' indicates low level or falling edge triggered, and we can find out the information from the Loongson 2K1000LA User Manual v1.0, Table 9-2, Section 9.3 (中断寄存器描述 / Description of the Interrupt Registers). For Loongson-3 CPU series, setting INT_POLARITY register is not supported and writting it has no effect. So trigger polarity setting shouled be fixed for Loongson-2K CPU series. Fixes: 17343d0b4039 ("irqchip/loongson-liointc: Support to set IRQ type for ACPI path") Cc: [email protected] Reviewed-by: Huacai Chen <[email protected]> Co-developed-by: Chong Qiao <[email protected]> Signed-off-by: Chong Qiao <[email protected]> Signed-off-by: Jianmin Lv <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-memcpy.c')
0 files changed, 0 insertions, 0 deletions