x86/HVM: permit CLFLUSH{,OPT} on execute-only code segments
authorJan Beulich <jbeulich@suse.com>
Fri, 10 Dec 2021 13:03:56 +0000 (14:03 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 10 Dec 2021 13:03:56 +0000 (14:03 +0100)
commitdf3e1a5efe700a9f59eced801cac73f9fd02a0e2
tree3977158d92559819feb058fe673b258a30e63c9c
parentc6cec7af287aa31123e259b90247b20ef3a7e1a7
x86/HVM: permit CLFLUSH{,OPT} on execute-only code segments

Both SDM and PM explicitly permit this.

Fixes: 52dba7bd0b36 ("x86emul: generalize wbinvd() hook")
Reported-by: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Paul Durrant <paul@xen.org>
xen/arch/x86/hvm/emulate.c