Re: [PATCH v2 4/5] prctl: Hook L1D flushing in via prctl

2020-07-29 Thread Singh, Balbir
On 29/7/20 11:14 pm, Tom Lendacky wrote: > > > On 7/28/20 7:11 PM, Balbir Singh wrote: >> Use the existing PR_GET/SET_SPECULATION_CTRL API to expose the L1D >> flush capability. For L1D flushing PR_SPEC_FORCE_DISABLE and >> PR_SPEC_DISABLE_NOEXEC are not supported. >> >> There is also no seccomp

Re: [PATCH v2 4/5] prctl: Hook L1D flushing in via prctl

2020-07-29 Thread Tom Lendacky
On 7/28/20 7:11 PM, Balbir Singh wrote: > Use the existing PR_GET/SET_SPECULATION_CTRL API to expose the L1D > flush capability. For L1D flushing PR_SPEC_FORCE_DISABLE and > PR_SPEC_DISABLE_NOEXEC are not supported. > > There is also no seccomp integration for the feature. > > Signed-off-by:

[PATCH v2 4/5] prctl: Hook L1D flushing in via prctl

2020-07-28 Thread Balbir Singh
Use the existing PR_GET/SET_SPECULATION_CTRL API to expose the L1D flush capability. For L1D flushing PR_SPEC_FORCE_DISABLE and PR_SPEC_DISABLE_NOEXEC are not supported. There is also no seccomp integration for the feature. Signed-off-by: Balbir Singh --- arch/x86/kernel/cpu/bugs.c | 54