Re: [PATCH] PM / arch: x86: Rework the MSR_IA32_ENERGY_PERF_BIAS handling

From: Rafael J. Wysocki
Date: Thu Mar 21 2019 - 05:29:04 EST


On Thu, Mar 21, 2019 at 10:21 AM Borislav Petkov <bp@xxxxxxx> wrote:
>
> On Thu, Mar 21, 2019 at 08:58:07AM +0100, Peter Zijlstra wrote:
> > So I hate /dev/msr with a passion. It is absolute atrocious crap.
> >
> > Please, just make a real interface for this if it is important.
>
> Yeah, and we will start converting everything using /dev/msr to real
> interfaces and then taint on MSR write because, this should not have
> been allowed in the first place.

So as I've just said, I'm going to add a sysfs knob for adjusting EPB,
but I'd rather not do that in this patch.

This stuff doesn't work as intended right now, so let's fix it first
and then extend, OK?