diff options
author | Andre Przywara <andre.przywara@arm.com> | 2016-11-16 17:57:16 +0000 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2016-12-09 15:46:59 +0000 |
commit | 266068eabb1077adf7d74a66de6610e7a6205d02 (patch) | |
tree | d070029ff263a01a25fce431e08134e256c57f33 /fs/hfs | |
parent | fd5ebf99f814fadae0dd50893699ba17e1b4af42 (diff) |
KVM: arm/arm64: vgic-v2: Limit ITARGETSR bits to number of VCPUs
The GICv2 spec says in section 4.3.12 that a "CPU targets field bit that
corresponds to an unimplemented CPU interface is RAZ/WI."
Currently we allow the guest to write any value in there and it can
read that back.
Mask the written value with the proper CPU mask to be spec compliant.
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'fs/hfs')
0 files changed, 0 insertions, 0 deletions