Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1286917

Re: [PATCH] powercap, intel_rapl.c, fix BIOS lock check

From Jacob Pan <jacob.jun.pan@linux.intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH] powercap, intel_rapl.c, fix BIOS lock check
Date 2015-12-09 00:40 +0100
Message-ID <qDA1r-qu-3@gated-at.bofh.it> (permalink)
References <qDvl8-5U7-31@gated-at.bofh.it>
Organization OTC

Show all headers | View raw


On Tue,  8 Dec 2015 13:33:22 -0500
Prarit Bhargava <prarit@redhat.com> wrote:

> Intel RAPL initialized on several systems where the BIOS lock bit (msr
> 0x610, bit 63) was set.  This occured because the return value of
> rapl_read_data_raw() was being checked, rather than the value of the
> variable passed in, locked.
> 
> This patch properly implments the rapl_read_data_raw() call to check
> the variable locked, and now the Intel RAPL driver outputs the
> warning:
> 
> 	intel_rapl: RAPL package 0 domain package locked by BIOS
> 
> and does not initialize for the package.
Looks good to me.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] powercap, intel_rapl.c, fix BIOS lock check Prarit Bhargava <prarit@redhat.com> - 2015-12-08 19:40 +0100
  Re: [PATCH] powercap, intel_rapl.c, fix BIOS lock check Jacob Pan <jacob.jun.pan@linux.intel.com> - 2015-12-09 00:40 +0100
  Re: [PATCH] powercap, intel_rapl.c, fix BIOS lock check Seiichi Ikarashi <s.ikarashi@jp.fujitsu.com> - 2015-12-09 01:30 +0100
    Re: [PATCH] powercap, intel_rapl.c, fix BIOS lock check Prarit Bhargava <prarit@redhat.com> - 2015-12-09 14:30 +0100

csiph-web