Messages in this thread | | | Date | Mon, 29 Jun 2015 12:51:47 -0700 | From | "H. Peter Anvin" <> | Subject | Re: [PATCH] x86, msr: Allow read access to /dev/cpu/X/msr |
| |
On 06/28/2015 07:34 AM, Prarit Bhargava wrote: >> >> Seriously, though, it would be straightforward to make it handle a >> more general list, complete with non-architectural stuff (such as the >> upcoming PPERF in Skylake). > > Is it easier to blacklist MSRs we don't want generally exposed, or only expose > the ones that we think are safe? That's sort of a devil's advocate sort of > question ;) and I'm wondering what the shorter list is. >
The second is the only option. Blacklisting MSRs is not safe, as you have no idea what new MSRs might be introduced.
-hpa
| |