aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorWei-Lin Chang <[email protected]>2025-06-25 08:47:09 +0000
committerMarc Zyngier <[email protected]>2025-06-26 07:01:45 +0000
commitaf040a9a296044fd4b748786c2516f172a7617f1 (patch)
treeea103ae0983c7fa8404d79d1238b16929bd617f8 /net/unix/af_unix.c
parentKVM: arm64: VHE: Centralize ISBs when returning to host (diff)
downloadkernel-af040a9a296044fd4b748786c2516f172a7617f1.tar.gz
kernel-af040a9a296044fd4b748786c2516f172a7617f1.zip
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] [maz: drop the level check from the original code] Signed-off-by: Marc Zyngier <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions