https://github.com/torvalds/linux
Revision d727be7bbf7b68ccc18a3278469325d8f486d75b authored by Atish Patra on 03 April 2020, 01:46:09 UTC, committed by Marc Zyngier on 17 April 2020, 07:59:28 UTC
As per the PLIC specification, maximum priority threshold value is 0x7
not 0xF. Even though it doesn't cause any error in qemu/hifive unleashed,
there may be some implementation which checks the upper bound resulting in
an illegal access.

Fixes: ccbe80bad571 ("irqchip/sifive-plic: Enable/Disable external interrupts upon cpu online/offline")
Signed-off-by: Atish Patra <atish.patra@wdc.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20200403014609.71831-1-atish.patra@wdc.com
1 parent 3688b0d
History
Tip revision: d727be7bbf7b68ccc18a3278469325d8f486d75b authored by Atish Patra on 03 April 2020, 01:46:09 UTC
irqchip/sifive-plic: Fix maximum priority threshold value
Tip revision: d727be7
File Mode Size
include
.gitignore -rw-r--r-- 94 bytes
Kconfig -rw-r--r-- 7.1 KB
Makefile -rw-r--r-- 2.9 KB
default_cpio_list -rw-r--r-- 153 bytes
gen_init_cpio.c -rw-r--r-- 12.8 KB
gen_initramfs.sh -rwxr-xr-x 5.7 KB
initramfs_data.S -rw-r--r-- 1.2 KB

back to top