[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] x86/msr: handle IA32_THERM_STATUS


  • To: Jan Beulich <jbeulich@xxxxxxxx>
  • From: Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Date: Thu, 15 Oct 2020 13:08:57 +0200
  • Authentication-results: esa4.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none
  • Cc: <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>
  • Delivery-date: Thu, 15 Oct 2020 11:09:16 +0000
  • Ironport-sdr: SF8DQ8roVFA1JEZRIUkOaBBj7ruw/HnVxSo7hJJpchqbQxrDLtBMVVk2VeuSJCz/bmRFgHwZtD J8fyO+S5JviaBlplwc4cAKCEcXK5iXffZve5nYFk2eJN2dIr4mFr4gzwDR8wxBQwlwwUa9jnrC WRiM0+RHPoy+m+jTk1rIU57wcjXC5aO9PWVXZtgLe88YK4YGzb7ruIXLa7x78Fd/HhdehmnzJZ lFr9ZRZ8TRGut61o+xmxv1h6Mw0uLXprRWnOg2Lr8qwYeGhPjlRiKpv7SBpjzL9Omvxlx93CSI a9o=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On Wed, Oct 14, 2020 at 02:17:15PM +0200, Jan Beulich wrote:
> On 07.10.2020 12:20, Roger Pau Monne wrote:
> > --- a/xen/arch/x86/msr.c
> > +++ b/xen/arch/x86/msr.c
> > @@ -253,6 +253,12 @@ int guest_rdmsr(struct vcpu *v, uint32_t msr, uint64_t 
> > *val)
> >              break;
> >          goto gp_fault;
> >  
> > +    case MSR_IA32_THERM_STATUS:
> > +        if ( cp->x86_vendor != X86_VENDOR_INTEL )
> > +            goto gp_fault;
> > +        *val = 0;
> > +        break;
> 
> I've been puzzled while applying this: The upper patch context doesn't
> match what's been in master for about the last month, and hence I
> wonder what version of the tree you created this patch against. In any
> event please double check that I didn't screw it up.

I had this applied on top of:

https://lore.kernel.org/xen-devel/20201006162327.93055-1-roger.pau@xxxxxxxxxx/

Which I will reply to now because I'm not sure how to proceed there.

Thanks for fixing the context and applied.

Roger.



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.