Re: [PATCH v2 64/70] x86: Introduce helpers/checks for endbr64 instructions

2022-02-15 Thread Jan Beulich
On 14.02.2022 13:51, Andrew Cooper wrote: > ... to prevent the optimiser creating unsafe code. See the code comment for > full details. > > Signed-off-by: Andrew Cooper Reviewed-by: Jan Beulich

Re: [PATCH v2 64/70] x86: Introduce helpers/checks for endbr64 instructions

2022-02-14 Thread Andrew Cooper
On 14/02/2022 12:51, Andrew Cooper wrote: > ... to prevent the optimiser creating unsafe code. See the code comment for > full details. > > Signed-off-by: Andrew Cooper From review in the follow-up series, I've merged this delta: diff --git a/xen/arch/x86/include/asm/endbr.h b/xen/arch/x86/incl

[PATCH v2 64/70] x86: Introduce helpers/checks for endbr64 instructions

2022-02-14 Thread Andrew Cooper
... to prevent the optimiser creating unsafe code. See the code comment for full details. Signed-off-by: Andrew Cooper --- CC: Jan Beulich CC: Roger Pau Monné CC: Wei Liu v2: * Fix include to let the header be standalone * Add earlyclobber to asm v1.1: * New --- xen/arch/x86/include/asm/