Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: Zhaobo (Bob, ERC) <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Signed-off-by: Gleb Natapov <[email protected]>
- Loading branch information