Re: [Xen-devel] [PATCH v1 05/13] xen/arm: Add command line option to control SSBD mitigation

2018-06-12 Thread Julien Grall
Hi Stefano, On 12/06/18 00:15, Stefano Stabellini wrote: On Tue, 5 Jun 2018, Julien Grall wrote: /* * Assembly code may use the variable directly, so we need to make sure * it fits in a register. @@ -251,19 +286,17 @@ static bool has_ssbd_mitigation(const struct arm_cpu_capabilities

Re: [Xen-devel] [PATCH v1 05/13] xen/arm: Add command line option to control SSBD mitigation

2018-06-11 Thread Stefano Stabellini
On Tue, 5 Jun 2018, Julien Grall wrote: > On a system where the firmware implements ARCH_WORKAROUND_2, it may be > useful to either permanently enable or disable the workaround for cases > where the user decides that they'd rather not get a trap overhead, and > keep the mitigation permanently on

[Xen-devel] [PATCH v1 05/13] xen/arm: Add command line option to control SSBD mitigation

2018-06-05 Thread Julien Grall
On a system where the firmware implements ARCH_WORKAROUND_2, it may be useful to either permanently enable or disable the workaround for cases where the user decides that they'd rather not get a trap overhead, and keep the mitigation permanently on or off instead of switching it on exception