Re: [PATCH] x86/xen: add call of speculative_store_bypass_ht_init() to pv paths

From: Boris Ostrovsky
Date: Thu Jun 21 2018 - 09:02:38 EST


On 06/21/2018 04:43 AM, Juergen Gross wrote:
> Commit 1f50ddb4f4189243c05926b842dc1a0332195f31 ("x86/speculation:
> Handle HT correctly on AMD") added speculative_store_bypass_ht_init()
> to the per-cpu initialization sequence.
>
> speculative_store_bypass_ht_init() needs to be called on each cpu for
> pv guests, too.
>
> Reported-by: Brian Woods <brian.woods@xxxxxxx>
> Fixes: 1f50ddb4f4189243c05926b842dc1a0332195f31 ("x86/speculation: Handle HT correctly on AMD")
> Cc: <stable@xxxxxxxxxxxxxxx>
> Signed-off-by: Juergen Gross <jgross@xxxxxxxx>
> Tested-by: Brian Woods <brian.woods@xxxxxxx>
>



Reviewed-by: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>