Thread (1 message) 1 message, 1 author, 2014-12-23

[PATCH v5 09/19] arm/arm64: KVM: make the value of ICC_SRE_EL1 a per-VM variable

DORMANTno replies REVIEWED: 1 (0M)

From: Marc Zyngier <hidden>
Date: 2014-12-23 12:14:20

1 review trailer.

On Mon, Dec 08 2014 at 12:37:44 PM, Andre Przywara [off-list ref] wrote:
ICC_SRE_EL1 is a system register allowing msr/mrs accesses to the
GIC CPU interface for EL1 (guests). Currently we force it to 0, but
for proper GICv3 support we have to allow guests to use it (depending
on their selected virtual GIC model).
So add ICC_SRE_EL1 to the list of saved/restored registers on a
world switch, but actually disallow a guest to change it by only
restoring a fixed, once-initialized value.
This value depends on the GIC model userland has chosen for a guest.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Christoffer Dall <redacted>
Acked-by: Marc Zyngier <redacted>

	M.
-- 
Jazz is not dead. It just smells funny.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help