On 26/05/2023 4:00 pm, Alejandro Vallejo wrote: > Expose AutoIBRS to HVM guests, because they can just use it. Make sure > writes to EFER:AIBRSE are gated on the feature being exposed. Also hide > EFER:AIBRSE from PV guests as they have no say in the matter. > > Signed-off-by: Alejandro Vallejo <alejandro.vall...@cloud.com>
It's worth saying "EFER is fully switched by VMRUN, so there's nothing further for Xen to do in order for HVM guests to use AutoIBRS". We can in principle support AutoIBRS on PV guests, but it's fine not to for now. This patch probably wants reordering to #2, because it is entirely independent of what Xen is doing with AutoIBRS for spec safety. It will need a minor rebase over the bit name shortening, but otherwise Reviewed-by: Andrew Cooper <andrew.coop...@citrix.com>