Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 6545eae3 authored by Marc Zyngier's avatar Marc Zyngier Committed by Gleb Natapov
Browse files

ARM: KVM: vgic: fix GICD_ICFGRn access



All the code in handle_mmio_cfg_reg() assumes the offset has
been shifted right to accomodate for the 2:1 bit compression,
but this is only done when getting the register address.

Shift the offset early so the code works mostly unchanged.

Reported-by: default avatarZhaobo (Bob, ERC) <zhaobo@huawei.com>
Signed-off-by: default avatarMarc Zyngier <marc.zyngier@arm.com>
Signed-off-by: default avatarGleb Natapov <gleb@redhat.com>
parent 986af8e0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment