Re: [PATCH 1/4] x86/vmware: Update platform detection code for VMCALL/VMMCALL hypercalls

From: Thomas HellstrÃm (VMware)
Date: Sun Aug 18 2019 - 15:46:56 EST


On 8/18/19 9:20 PM, Thomas Gleixner wrote:
On Sun, 18 Aug 2019, Thomas Hellström (VMware) wrote:

From: Thomas Hellstrom <thellstrom@xxxxxxxxxx>

Vmware has historically used an "inl" instruction for this, but recent
hardware versions support using VMCALL/VMMCALL instead, so use this method
if supported at platform detection time. We explicitly need to code
separate macro versions since the alternatives self-patching has not
been performed at platform detection time.

We also put tighter constraints on the assembly input parameters and update
the SPDX license info.
Can you please split the license stuff into a separate patch? You know, one
patch one thing. It's documented for a reason.

While at it could you please ask your legal folks whether that custom
license boilerplate can go away as well?

Sure, I'll drop that from the series for now.

Thanks,

/Thomas