Re: [PATCH v6 1/6] arch/x86/kvm: Refactor l1d flush lifecycle management

2020-05-14 Thread Singh, Balbir
On Wed, 2020-05-13 at 15:53 +0200, Thomas Gleixner wrote: > > > Balbir Singh writes: > > +++ b/arch/x86/kernel/l1d_flush.c > > @@ -0,0 +1,36 @@ > > Lacks > > +// SPDX-License-Identifier: GPL-2.0-only > Agreed, it should match the license in arch/x86/kvm/vmx/vmx.c Thanks, Balbir

Re: [PATCH v6 1/6] arch/x86/kvm: Refactor l1d flush lifecycle management

2020-05-14 Thread Singh, Balbir
On Wed, 2020-05-13 at 15:35 +0200, Thomas Gleixner wrote: > CAUTION: This email originated from outside of the organization. Do > not click links or open attachments unless you can confirm the sender > and know the content is safe. > > > > Balbir Singh writes: > > > Subject: [PATCH v6 1/6]

Re: [PATCH v6 1/6] arch/x86/kvm: Refactor l1d flush lifecycle management

2020-05-13 Thread Thomas Gleixner
Balbir Singh writes: > +++ b/arch/x86/kernel/l1d_flush.c > @@ -0,0 +1,36 @@ Lacks +// SPDX-License-Identifier: GPL-2.0-only

Re: [PATCH v6 1/6] arch/x86/kvm: Refactor l1d flush lifecycle management

2020-05-13 Thread Thomas Gleixner
Balbir Singh writes: > Subject: [PATCH v6 1/6] arch/x86/kvm: Refactor arch/x86/kvm: is really not the correct subsystem prefix... I'll fix it up this time.

[PATCH v6 1/6] arch/x86/kvm: Refactor l1d flush lifecycle management

2020-05-09 Thread Balbir Singh
Split out the allocation and free routines to be used in a follow up set of patches (to reuse for L1D flushing). Signed-off-by: Balbir Singh Reviewed-by: Kees Cook --- arch/x86/include/asm/cacheflush.h | 3 +++ arch/x86/kernel/Makefile | 1 + arch/x86/kernel/l1d_flush.c | 36