x86/mm: Do verify W^X at boot up
authorPeter Zijlstra <peterz@infradead.org>
Tue, 25 Oct 2022 19:39:43 +0000 (21:39 +0200)
committerDave Hansen <dave.hansen@linux.intel.com>
Thu, 15 Dec 2022 18:37:26 +0000 (10:37 -0800)
commit414ebf148cb5c5fa727ec51fdb69c4ab82dccf3b
treec0c41d604c46ba3cbea06c35177e812bb2d7cadb
parenteb7d389d5b2b3c453332abc41c3eea73290cc006
x86/mm: Do verify W^X at boot up

Straight up revert of commit:

  a970174d7a10 ("x86/mm: Do not verify W^X at boot up")

now that the root cause has been fixed.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20221025201058.011279208@infradead.org
arch/x86/mm/pat/set_memory.c