Re: [PATCH v2 2/6] x86: reduce CET-SS related #ifdef-ary

2020-10-13 Thread Jan Beulich
On 13.10.2020 13:40, Andrew Cooper wrote: > (Interestingly, zero length > alternatives do appear to compile, and this is clearly a bug.) Why? The replacement code may be intended to be all NOPs. Jan

Re: [PATCH v2 2/6] x86: reduce CET-SS related #ifdef-ary

2020-10-13 Thread Andrew Cooper
On 28/09/2020 13:37, Jan Beulich wrote: > On 28.09.2020 14:30, Jan Beulich wrote: >> Commit b586a81b7a90 ("x86/CET: Fix build following c/s 43b98e7190") had >> to introduce a number of #ifdef-s to make the build work with older tool >> chains. Introduce an assembler macro covering for tool chains n

Re: [PATCH v2 2/6] x86: reduce CET-SS related #ifdef-ary

2020-10-13 Thread Jan Beulich
On 13.10.2020 13:20, Andrew Cooper wrote: > On 28/09/2020 13:30, Jan Beulich wrote: >> Commit b586a81b7a90 ("x86/CET: Fix build following c/s 43b98e7190") had >> to introduce a number of #ifdef-s to make the build work with older tool >> chains. Introduce an assembler macro covering for tool chains

Re: [PATCH v2 2/6] x86: reduce CET-SS related #ifdef-ary

2020-10-13 Thread Andrew Cooper
On 28/09/2020 13:30, Jan Beulich wrote: > Commit b586a81b7a90 ("x86/CET: Fix build following c/s 43b98e7190") had > to introduce a number of #ifdef-s to make the build work with older tool > chains. Introduce an assembler macro covering for tool chains not > knowing of CET-SS, allowing some conditi

Re: [PATCH v2 2/6] x86: reduce CET-SS related #ifdef-ary

2020-09-28 Thread Jan Beulich
On 28.09.2020 14:30, Jan Beulich wrote: > Commit b586a81b7a90 ("x86/CET: Fix build following c/s 43b98e7190") had > to introduce a number of #ifdef-s to make the build work with older tool > chains. Introduce an assembler macro covering for tool chains not > knowing of CET-SS, allowing some conditi

[PATCH v2 2/6] x86: reduce CET-SS related #ifdef-ary

2020-09-28 Thread Jan Beulich
Commit b586a81b7a90 ("x86/CET: Fix build following c/s 43b98e7190") had to introduce a number of #ifdef-s to make the build work with older tool chains. Introduce an assembler macro covering for tool chains not knowing of CET-SS, allowing some conditionals where just SETSSBSY is the problem to be d