diff options
author | Wei-Lin Chang <r09922117@csie.ntu.edu.tw> | 2025-06-25 16:47:09 +0800 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2025-06-26 08:01:45 +0100 |
commit | af040a9a296044fd4b748786c2516f172a7617f1 (patch) | |
tree | ea103ae0983c7fa8404d79d1238b16929bd617f8 /scripts/extract-fwblobs | |
parent | 04c5355b2a94ff3191ce63ab035fb7f04d036869 (diff) |
KVM: arm64: nv: Fix MI line level calculation in vgic_v3_nested_update_mi()
The state of the vcpu's MI line should be asserted when its
ICH_HCR_EL2.En is set and ICH_MISR_EL2 is non-zero. Using bitwise AND
(&=) directly for this calculation will not give us the correct result
when the LSB of the vcpu's ICH_MISR_EL2 isn't set. Correct this by
directly computing the line level with a logical AND operation.
Signed-off-by: Wei-Lin Chang <r09922117@csie.ntu.edu.tw>
Link: https://lore.kernel.org/r/20250625084709.3968844-1-r09922117@csie.ntu.edu.tw
[maz: drop the level check from the original code]
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'scripts/extract-fwblobs')
0 files changed, 0 insertions, 0 deletions