[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200610132131.GG14118@zn.tnic>
Date: Wed, 10 Jun 2020 15:21:31 +0200
From: Borislav Petkov <bp@...en8.de>
To: Peter Zijlstra <peterz@...radead.org>
Cc: X86 ML <x86@...nel.org>, Tom Lendacky <thomas.lendacky@....com>,
LKML <linux-kernel@...r.kernel.org>,
Eric Morton <Eric.Morton@....com>
Subject: Re: [PATCH 3/3] x86/msr: Add an MSR write callback
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.
https://people.kernel.org/tglx/notes-about-netiquette
Powered by blists - more mailing lists