On Tue, Feb 22, 2022 at 04:46:42PM +0100, Vitaly Kuznetsov wrote: > CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you can confirm the sender and know the content is safe. > > > > It has been proven on practice that at least Windows Server 2019 tries > using HVCALL_SEND_IPI_EX in 'XMM fast' mode when it has more than 64 vCPUs > and it needs to send an IPI to a vCPU > 63. Similarly to other XMM Fast > hypercalls (HVCALL_FLUSH_VIRTUAL_ADDRESS_{LIST,SPACE}{,_EX}), this > information is missing in TLFS as of 6.0b. Currently, KVM returns an error > (HV_STATUS_INVALID_HYPERCALL_INPUT) and Windows crashes. > > Note, HVCALL_SEND_IPI is a 'standard' fast hypercall (not 'XMM fast') as > all its parameters fit into RDX:R8 and this is handled by KVM correctly. > > Fixes: d8f5537a8816 ("KVM: hyper-v: Advertise support for fast XMM hypercalls") > Signed-off-by: Vitaly Kuznetsov <vkuznets@xxxxxxxxxx> Reviewed-by: Siddharth Chandrasekaran <sidcha@xxxxxxxxx> Amazon Development Center Germany GmbH Krausenstr. 38 10117 Berlin Geschaeftsfuehrung: Christian Schlaeger, Jonathan Weiss Eingetragen am Amtsgericht Charlottenburg unter HRB 149173 B Sitz: Berlin Ust-ID: DE 289 237 879