Re: [PATCH] xen/x86: public: add TSC defines for cpuid leaf 4

2023-01-25 Thread Krister Johansen
On Wed, Jan 25, 2023 at 07:57:16AM +0100, Jan Beulich wrote: > On 24.01.2023 23:35, Krister Johansen wrote: > > --- a/xen/include/public/arch-x86/cpuid.h > > +++ b/xen/include/public/arch-x86/cpuid.h > > @@ -71,6 +71,12 @@ > > * EDX: shift amount for tsc->ns conversion > > *

Re: [PATCH] xen/x86: public: add TSC defines for cpuid leaf 4

2023-01-24 Thread Jan Beulich
On 24.01.2023 23:35, Krister Johansen wrote: > --- a/xen/include/public/arch-x86/cpuid.h > +++ b/xen/include/public/arch-x86/cpuid.h > @@ -71,6 +71,12 @@ > * EDX: shift amount for tsc->ns conversion > * Sub-leaf 2: EAX: host tsc frequency in kHz > */ > +#define

[PATCH] xen/x86: public: add TSC defines for cpuid leaf 4

2023-01-24 Thread Krister Johansen
Cpuid leaf 4 contains information about how the state of the tsc, its mode, and some additional information. A commit that is queued for linux would like to use this to determine whether the tsc mode has been set to 'no emulation' in order to make some decisions about which clocksource is more