Re: [Xen-devel] [PATCH 2/2] xen/arm: Misc improvements to do_common_cpu_on()

2019-05-08 Thread Julien Grall
Hi Andrew, On 24/04/2019 19:10, Andrew Cooper wrote: * Use domain_vcpu() rather than opencoding the lookup. Amongst other things, domain_vcpu() is spectre-v1-safe. * Unlock the domain immediately after arch_set_info_guest() completes. There is no need for free_vcpu_guest_context()

[Xen-devel] [PATCH 2/2] xen/arm: Misc improvements to do_common_cpu_on()

2019-04-24 Thread Andrew Cooper
* Use domain_vcpu() rather than opencoding the lookup. Amongst other things, domain_vcpu() is spectre-v1-safe. * Unlock the domain immediately after arch_set_info_guest() completes. There is no need for free_vcpu_guest_context() to be within the critical region, and moving the call sim