[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen stable-4.7] Don't clear HCR_VM bit when updating VTTBR.
commit d166f07e0e3c607f6c991fce10ea5198cb6addc4 Author: Jun Sun <jsun@xxxxxxxxxx> AuthorDate: Mon Oct 10 12:27:56 2016 -0700 Commit: Stefano Stabellini <sstabellini@xxxxxxxxxx> CommitDate: Fri Mar 17 12:06:34 2017 -0700 Don't clear HCR_VM bit when updating VTTBR. Currently function p2m_restore_state() would clear HCR_VM bit, i.e., disabling stage2 translation, before updating VTTBR register. After some research and talking to ARM support, I got confirmed that this is not necessary. We are currently working on a new platform that would need this to be removed. The patch is tested on FVP foundation model. Signed-off-by: Jun Sun <jsun@xxxxxxxxxx> Acked-by: Steve Capper <steve.capper@xxxxxxxxxx> Acked-by: Stefano Stabellini <sstabellini@xxxxxxxxxx> --- xen/arch/arm/p2m.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/xen/arch/arm/p2m.c b/xen/arch/arm/p2m.c index 6a19c57..f0169aa 100644 --- a/xen/arch/arm/p2m.c +++ b/xen/arch/arm/p2m.c @@ -98,8 +98,6 @@ void p2m_restore_state(struct vcpu *n) register_t hcr; hcr = READ_SYSREG(HCR_EL2); - WRITE_SYSREG(hcr & ~HCR_VM, HCR_EL2); - isb(); p2m_load_VTTBR(n->domain); isb(); -- generated by git-patchbot for /home/xen/git/xen.git#stable-4.7 _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx https://lists.xenproject.org/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |