[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20151204101610.34582aa2@icelake>
Date: Fri, 4 Dec 2015 10:16:10 -0800
From: Jacob Pan <jacob.jun.pan@...ux.intel.com>
To: Borislav Petkov <bp@...en8.de>
Cc: Ingo Molnar <mingo@...nel.org>,
Paolo Bonzini <pbonzini@...hat.com>,
"H. Peter Anvin" <hpa@...or.com>,
Peter Zijlstra <peterz@...radead.org>,
Amy Wiles <amy.l.wiles@...el.com>,
"Rafael J. Wysocki" <rafael.j.wysocki@...el.com>,
LKML <linux-kernel@...r.kernel.org>,
Arnaldo Carvalho de Melo <acme@...nel.org>,
Ingo Molnar <mingo@...hat.com>,
Thomas Gleixner <tglx@...utronix.de>,
Hannes Reinecke <hare@...e.de>, jacob.jun.pan@...ux.intel.com
Subject: Re: [PATCH] x86/rapl: Do not load in a guest
On Fri, 4 Dec 2015 19:04:26 +0100
Borislav Petkov <bp@...en8.de> wrote:
> > This is good for the first level RAPL detection. The only way is to
> > base detection on known CPU models.
>
> ...and yet Hannes sees it on a minnowboard. CCed.
>
> The CPU model-based detection is ugly and does not always work, as
> you see.
CPU model detection is the first level checking. The error is about no
valid domains (e.g. counters not working). So the error on minnowboard
board could be a real problem if you expect to use RAPL.
Jacob
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists