Re: [PATCH 3/3] x86/msr: Add an MSR write callback

Borislav Petkov
2020-06-10T13:21:52Z

On Wed, Jun 10, 2020 at 02:32:26PM +0200, Peter Zijlstra wrote:
> We cache a whole bunch of MSRs in kernel. Why is this one special?

If the others need the post-write handling, they should be added there
too. I did it with this one only as a start.

> If you write using the stupid msr device, you get to keep all pieces.

Yes, the tainting-on-write is the next thing that goes ontop of this.

--
Regards/Gruss,
Boris.