[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130516200011.GA31393@pd.tnic>
Date: Thu, 16 May 2013 22:00:11 +0200
From: Borislav Petkov <bp@...en8.de>
To: Gleb Natapov <gleb@...hat.com>
Cc: Peter Zijlstra <peterz@...radead.org>,
Josh Boyer <jwboyer@...hat.com>,
Ingo Molnar <mingo@...hat.com>,
Arnaldo Carvalho de Melo <acme@...stprotocols.net>,
x86@...nel.org, linux-kernel@...r.kernel.org,
Robert Richter <rric@...nel.org>
Subject: Re: Drop WARN on AMD lack of perfctrs
On Thu, May 16, 2013 at 10:31:37PM +0300, Gleb Natapov wrote:
> Actually it looks like it is the opposite: CPUID crap indicates
> it got no perf, but the code expects this cpu model to have it.
Yep, AFAICT the code should look at cpu_has_perfctr_core already in
amd_pmu_init() and exit if the CPUID bit is not set.
Robert?
--
Regards/Gruss,
Boris.
Sent from a fat crate under my desk. Formatting is fine.
-
-
--
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