Re: [PATCH 1/2] arm64: kvm: Save/restore MTE registers

2020-07-13 Thread kernel test robot
Hi Steven, I love your patch! Yet something to improve: [auto build test ERROR on v5.8-rc5] [cannot apply to kvmarm/next arm64/for-next/core arm-perf/for-next/perf next-20200713] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use

[PATCH 1/2] arm64: kvm: Save/restore MTE registers

2020-07-13 Thread Steven Price
Define the new system registers that MTE introduces and context switch them. Also hide the MTE feature from the ID register as it isn't supported in a VM yet. Signed-off-by: Steven Price --- arch/arm64/include/asm/kvm_host.h | 7 +++ arch/arm64/include/asm/sysreg.h | 3 ++-

Re: [RFC PATCH 1/2] arm64: kvm: Save/restore MTE registers

2020-06-18 Thread Steven Price
On 17/06/2020 15:05, Catalin Marinas wrote: On Wed, Jun 17, 2020 at 01:38:43PM +0100, Steven Price wrote: diff --git a/arch/arm64/kvm/hyp/sysreg-sr.c b/arch/arm64/kvm/hyp/sysreg-sr.c index 75b1925763f1..6ecee1528566 100644 --- a/arch/arm64/kvm/hyp/sysreg-sr.c +++

Re: [RFC PATCH 1/2] arm64: kvm: Save/restore MTE registers

2020-06-17 Thread Catalin Marinas
On Wed, Jun 17, 2020 at 01:38:43PM +0100, Steven Price wrote: > diff --git a/arch/arm64/kvm/hyp/sysreg-sr.c b/arch/arm64/kvm/hyp/sysreg-sr.c > index 75b1925763f1..6ecee1528566 100644 > --- a/arch/arm64/kvm/hyp/sysreg-sr.c > +++ b/arch/arm64/kvm/hyp/sysreg-sr.c > @@ -26,6 +26,12 @@ > static void

[RFC PATCH 1/2] arm64: kvm: Save/restore MTE registers

2020-06-17 Thread Steven Price
Define the new system registers that MTE introduces and context switch them. Also hide the MTE feature from the ID register as it isn't supported in a VM yet. Signed-off-by: Steven Price --- arch/arm64/include/asm/kvm_host.h | 7 +++ arch/arm64/kvm/hyp/sysreg-sr.c| 12