x86: drop MEMORY_GUARD
authorJan Beulich <jbeulich@suse.com>
Wed, 15 Dec 2021 09:23:51 +0000 (10:23 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 15 Dec 2021 09:23:51 +0000 (10:23 +0100)
commitfdf01494560219d10f92ce3419a5551e3ce5fe4f
treebb4fd155ddaa82874f7edc583f1547ed33321e18
parent163db6a72b660f0f3c9fe1d34e8f6b07ae6bd77d
x86: drop MEMORY_GUARD

The functions it guards are dead code. Worse, while intended to exist in
debug builds only, as of commit bacbf0cb7349 ("build: convert debug to
Kconfig") they also get compiled in release builds.

The remaining uses in show_stack_overflow() aren't really related to any
memory guarding anymore - with CET-SS support the stacks now get set up
the same in debug and release builds. Drop them as well; there's no harm
providing the information there in all cases.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/include/asm/config.h
xen/arch/x86/include/asm/mm.h
xen/arch/x86/mm.c
xen/arch/x86/traps.c