Re: [PATCH 2/6] x86/prot-key: Split PKRU infrastructure out of asm/processor.h

2023-01-09 Thread Jan Beulich
On 09.01.2023 15:57, Andrew Cooper wrote: > On 21/12/2021 11:28 am, Jan Beulich wrote: >> On 16.12.2021 10:54, Andrew Cooper wrote: >>> --- /dev/null >>> +++ b/xen/arch/x86/include/asm/prot-key.h >>> @@ -0,0 +1,45 @@ >>> +/

Re: [PATCH 2/6] x86/prot-key: Split PKRU infrastructure out of asm/processor.h

2023-01-09 Thread Andrew Cooper
On 21/12/2021 11:28 am, Jan Beulich wrote: > On 16.12.2021 10:54, Andrew Cooper wrote: >> --- /dev/null >> +++ b/xen/arch/x86/include/asm/prot-key.h >> @@ -0,0 +1,45 @@ >> +/** >> + * arch/x86/include/asm/spec_ctrl.h >> + *

Re: [PATCH 2/6] x86/prot-key: Split PKRU infrastructure out of asm/processor.h

2021-12-21 Thread Jan Beulich
On 16.12.2021 10:54, Andrew Cooper wrote: > asm/processor.h is in desperate need of splitting up, and protection key > functionality in only used in the emulator and pagewalk. Introduce a new > asm/prot-key.h and move the relevant content over. > > Rename the PKRU_* constants to drop the user par

[PATCH 2/6] x86/prot-key: Split PKRU infrastructure out of asm/processor.h

2021-12-16 Thread Andrew Cooper
asm/processor.h is in desperate need of splitting up, and protection key functionality in only used in the emulator and pagewalk. Introduce a new asm/prot-key.h and move the relevant content over. Rename the PKRU_* constants to drop the user part and to use the architectural terminology. Drop th