Re: [PATCH 2/2] powercap/rapl: reduce warning level

From: Rafael J. Wysocki
Date: Thu Jun 16 2016 - 09:57:10 EST


On Monday, May 23, 2016 09:45:43 AM Jacob Pan wrote:
> Since RAPL interface is not architectual, its enumeration depends on poking
> MSRs instead of using CPUID method.
>
> In KVM guest, RAPL driver probe will fail and emit the following message
> for every CPU: no valid rapl domains found in package
>
> This patch limit the warning to debug only. Still return ENODEV so that RAPL
> does not run on KVM guest.
>
> Signed-off-by: Jacob Pan <jacob.jun.pan@xxxxxxxxxxxxxxx>

Applied, thanks!