aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/lib/kdoc/kdoc_parser.py
diff options
context:
space:
mode:
authorYong-Xuan Wang <yongxuan.wang@sifive.com>2024-10-29 16:55:39 +0800
committerAnup Patel <anup@brainfault.org>2024-11-05 13:27:28 +0530
commit60821fb4dd7345e5662094accf0a52845306de8c (patch)
treee60736235399fd3b4d376d9d181be140096130c1 /scripts/lib/kdoc/kdoc_parser.py
parentRISC-V: KVM: Use NACL HFENCEs for KVM request based HFENCEs (diff)
downloadlinux-rng-60821fb4dd7345e5662094accf0a52845306de8c.tar.xz
linux-rng-60821fb4dd7345e5662094accf0a52845306de8c.zip
RISC-V: KVM: Fix APLIC in_clrip and clripnum write emulation
In the section "4.7 Precise effects on interrupt-pending bits" of the RISC-V AIA specification defines that: "If the source mode is Level1 or Level0 and the interrupt domain is configured in MSI delivery mode (domaincfg.DM = 1): The pending bit is cleared whenever the rectified input value is low, when the interrupt is forwarded by MSI, or by a relevant write to an in_clrip register or to clripnum." Update the aplic_write_pending() to match the spec. Fixes: d8dd9f113e16 ("RISC-V: KVM: Fix APLIC setipnum_le/be write emulation") Signed-off-by: Yong-Xuan Wang <yongxuan.wang@sifive.com> Reviewed-by: Vincent Chen <vincent.chen@sifive.com> Reviewed-by: Anup Patel <anup@brainfault.org> Link: https://lore.kernel.org/r/20241029085542.30541-1-yongxuan.wang@sifive.com Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions