Re: [PATCH v6 14/38] KVM: arm64: Provide __flush_dcache_area at EL2

2021-03-22 Thread Will Deacon
On Fri, Mar 19, 2021 at 10:01:22AM +, Quentin Perret wrote: > We will need to do cache maintenance at EL2 soon, so compile a copy of > __flush_dcache_area at EL2, and provide a copy of arm64_ftr_reg_ctrel0 > as it is needed by the read_ctr macro. > > Signed-off-by: Quentin Perret > --- >

[PATCH v6 14/38] KVM: arm64: Provide __flush_dcache_area at EL2

2021-03-19 Thread Quentin Perret
We will need to do cache maintenance at EL2 soon, so compile a copy of __flush_dcache_area at EL2, and provide a copy of arm64_ftr_reg_ctrel0 as it is needed by the read_ctr macro. Signed-off-by: Quentin Perret --- arch/arm64/include/asm/kvm_cpufeature.h | 2 ++