lkml.org 
[lkml]   [2019]   [Aug]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v2 0/4] Add support for updated vmware hypercall instruction
From
Date
Thomas,

On 8/23/19 10:13 AM, Thomas Hellström (VMware) wrote:
> Cc: Thomas Gleixner <tglx@linutronix.de>
> Cc: Ingo Molnar <mingo@redhat.com>
> Cc: Borislav Petkov <bp@alien8.de>
> Cc: "H. Peter Anvin" <hpa@zytor.com>
> Cc: <x86@kernel.org>
>
> VMware has started using "vmcall" / "vmmcall" instead of an inl instruction
> for the "backdoor" interface. This series detects support for those
> instructions.
> Outside of the platform code we use the "ALTERNATIVES" self-patching
> mechanism similarly to how this is done with KVM.
> Unfortunately we need two new x86 CPU feature flags for this, since we need
> the default instruction to be "inl". IIRC the vmmouse driver is used by
> other virtualization solutions than VMware, and those might break if
> they encounter any of the other instructions.
>
> v2:
> - Address various style review comments
> - Use mnemonics instead of bytecode in the ALTERNATIVE_2 macros
> - Use vmcall / vmmcall also for the High-Bandwidth port calls
> - Change the %edx argument to what vmcall / vmmcall expect (flags instead of
> port number). The port number is added in the default ALTERNATIVE_2 path.
> - Ack to merge the vmmouse patch from Dmitry.
> - Drop license update for now. Will get back with a freestanding patch.
Are you OK taking the above series through the x86 tree? In addition to
the ack from Dmitry to do this for the vmmouse patch, there's also an
ack from Dave to do the same for vmwgfx.

Thanks,
Thomas

\
 
 \ /
  Last update: 2019-08-27 10:34    [W:0.065 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site