Re: [PATCH v6 2/2] KVM: x86/xen: update Xen CPUID Leaf 4 (tsc info) sub-leaves, if present

From: Sean Christopherson
Date: Wed Jan 04 2023 - 15:21:11 EST


On Wed, Jan 04, 2023, David Woodhouse wrote:
> On Wed, 2023-01-04 at 19:40 +0000, Sean Christopherson wrote:
> >
> > arch/x86/include/asm/xen/hypervisor.h also open codes the signature.  Rather than
> > add a KVM-specific define, what about putting in xen/cpuid.h?  (I've had a version
> > of this series sitting in my todo pile for far too long, sorry).
>
> xen/cpuid.h is an external header imported from Xen itself so in
> general I'd prefer to avoid modifying it unless we also send the
> changes upstream.

*sigh* Fool me once...

Can we shove it into arch/x86/include/asm/xen/hypervisor.h? Or is including
that in KVM too confusing/ugly?