Re: [PATCH 0/4] MSR: MSR: MSR Whitelist and Batch Introduction
From: Borislav Petkov
Date: Mon Feb 29 2016 - 12:22:18 EST
On Mon, Feb 29, 2016 at 01:31:44PM -0300, Henrique de Moraes Holschuh wrote:
> Fully agreed. That said, it would be nice to have a patchset (intended
> mostly for stable/LTS backporting) that restricts MSR access to a *static*
> whitelist that allows only the minimal access required by the current crop
> of general use utilities like powertop, turbostat, etc.
As I said before, if people want to shoot themselves in the foot, we
can't stop them.
However, we should start converting those tools away from msr.ko and
towards proper OS interfaces instead. And not a short list it is (this
only in the kernel repo) ... :-\
$ git grep -lE "cpu/.*/msr" | uniq
ECO tip #101: Trim your mails when you reply.