On 3/22/2021 2:13 AM, Kirill A. Shutemov wrote:
On Tue, Mar 16, 2021 at 08:10:33AM -0700, Yu-cheng Yu wrote:
The x86 family of processors do not directly create read-only and Dirty
PTEs.  These PTEs are created by software.  One such case is that kernel
read-only pages are historically setup as Dirty.

New processors that support Shadow Stack regard read-only and Dirty PTEs as
shadow stack pages.  This results in ambiguity between shadow stack and
kernel read-only pages.  To resolve this, removed Dirty from kernel read-
only pages.

Signed-off-by: Yu-cheng Yu <yu-cheng...@intel.com>
Cc: "H. Peter Anvin" <h...@zytor.com>
Cc: Kees Cook <keesc...@chromium.org>
Cc: Thomas Gleixner <t...@linutronix.de>
Cc: Dave Hansen <dave.han...@linux.intel.com>
Cc: Christoph Hellwig <h...@lst.de>
Cc: Andy Lutomirski <l...@kernel.org>
Cc: Ingo Molnar <mi...@redhat.com>
Cc: Borislav Petkov <b...@alien8.de>
Cc: Peter Zijlstra <pet...@infradead.org>

Looks good to me.

Reviewed-by: Kirill A. Shutemov <kirill.shute...@linux.intel.com>


Thanks for reviewing.

Yu-cheng

Reply via email to