8e936e9871
The reads to APLIC in_clrip[x] registers returns rectified input values
of the interrupt sources.
A rectified input value of an interrupt source is defined by the section
"4.5.2 Source configurations (sourcecfg[1]–sourcecfg[1023])" of the
RISC-V AIA specification as:
rectified input value = (incoming wire value) XOR (source is inverted)
Update the riscv_aplic_input() implementation to match the above.
Cc: stable@vger.kernel.org
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
aia.c | ||
aia_aplic.c | ||
aia_device.c | ||
aia_imsic.c | ||
main.c | ||
mmu.c | ||
tlb.c | ||
vcpu.c | ||
vcpu_exit.c | ||
vcpu_fp.c | ||
vcpu_insn.c | ||
vcpu_onereg.c | ||
vcpu_pmu.c | ||
vcpu_sbi.c | ||
vcpu_sbi_base.c | ||
vcpu_sbi_hsm.c | ||
vcpu_sbi_pmu.c | ||
vcpu_sbi_replace.c | ||
vcpu_sbi_sta.c | ||
vcpu_sbi_v01.c | ||
vcpu_switch.S | ||
vcpu_timer.c | ||
vcpu_vector.c | ||
vm.c | ||
vmid.c |