diff options
author | Yong-Xuan Wang <[email protected]> | 2024-04-15 14:49:04 +0800 |
---|---|---|
committer | Anup Patel <[email protected]> | 2024-05-31 09:47:08 +0530 |
commit | 2d707b4e37f9b0c37b8b2392f91b04c5b63ea538 (patch) | |
tree | 37df8d23932561926ad6acda8ebad1161a18cda8 /scripts/generate_rust_analyzer.py | |
parent | 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0 (diff) |
RISC-V: KVM: No need to use mask when hart-index-bit is 0
When the maximum hart number within groups is 1, hart-index-bit is set to
0. Consequently, there is no need to restore the hart ID from IMSIC
addresses and hart-index-bit settings. Currently, QEMU and kvmtool do not
pass correct hart-index-bit values when the maximum hart number is a
power of 2, thereby avoiding this issue. Corresponding patches for QEMU
and kvmtool will also be dispatched.
Fixes: 89d01306e34d ("RISC-V: KVM: Implement device interface for AIA irqchip")
Signed-off-by: Yong-Xuan Wang <[email protected]>
Reviewed-by: Andrew Jones <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions