stable-rc build: 3 warnings 3 failures (stable-rc/v4.4.68-29-geca6664)
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 7 lines · Olof's autobuilder
-------------------------------------------------------------------------------
Failed defconfigs:
arm64.allmodconfig
arm64.defconfig
arm64.nosmp_defconfig
Quoted 8 lines
-------------------------------------------------------------------------------
Errors:
arm64.allmodconfig:
/work/build/batch/arch/arm64/include/asm/kvm_emulate.h:223:16: error: 'ESR_ELx_SYS64_ISS_RT_MASK' undeclared (first use in this function) /work/build/batch/arch/arm64/include/asm/kvm_emulate.h:223:46: error: 'ESR_ELx_SYS64_ISS_RT_SHIFT' undeclared (first use in this function) /work/build/batch/arch/arm64/include/asm/kvm_emulate.h:223:16: error: 'ESR_ELx_SYS64_ISS_RT_MASK' undeclared (first use in this function)
This is evidently caused by the backport of c667186f1c01 ("arm64: KVM: Fix decoding of Rt/Rt2 when trapping AArch32 CP accesses")
The missing constants were added in linux-4.9 by 9dbd5bb25c56 ("arm64: Refactor sysinstr exception handling")
I don't think that commit is something we want backported as well as it is part of a longer series, but we could simply add the two lines to arch/arm64/include/asm/esr.h:
+#define ESR_ELx_SYS64_ISS_RT_SHIFT 5
+#define ESR_ELx_SYS64_ISS_RT_MASK (UL(0x1f) << ESR_ELx_SYS64_ISS_RT_SHIFT)
Arnd
Quoted 29 lines · Arnd Bergmann
Quoted 7 lines · Olof's autobuilder
-------------------------------------------------------------------------------
Failed defconfigs:
arm64.allmodconfig
arm64.defconfig
arm64.nosmp_defconfigQuoted 8 lines
-------------------------------------------------------------------------------
Errors:
arm64.allmodconfig:
/work/build/batch/arch/arm64/include/asm/kvm_emulate.h:223:16: error: 'ESR_ELx_SYS64_ISS_RT_MASK' undeclared (first use in this function) /work/build/batch/arch/arm64/include/asm/kvm_emulate.h:223:46: error: 'ESR_ELx_SYS64_ISS_RT_SHIFT' undeclared (first use in this function) /work/build/batch/arch/arm64/include/asm/kvm_emulate.h:223:16: error: 'ESR_ELx_SYS64_ISS_RT_MASK' undeclared (first use in this function)This is evidently caused by the backport of
c667186f1c01("arm64: KVM: Fix decoding of Rt/Rt2 when trapping AArch32 CP accesses")The missing constants were added in linux-4.9 by
9dbd5bb25c56("arm64: Refactor sysinstr exception handling")I don't think that commit is something we want backported as well as it is part of a longer series, but we could simply add the two lines to
arch/arm64/include/asm/esr.h:
Review
Quoted 2 lines
(quoted diff) +2
-0+#define ESR_ELx_SYS64_ISS_RT_SHIFT 5 +#define ESR_ELx_SYS64_ISS_RT_MASK (UL(0x1f) << ESR_ELx_SYS64_ISS_RT_SHIFT)
That seems like a good fix, but Marc has asked to have this patch dropped from v4.4 stable for now and will provide a backport later.
Thanks,
-Christoffer
Quoted 35 lines · Christoffer Dall
Quoted 34 lines · Arnd Bergmann
Quoted 11 lines · Olof's autobuilder
-------------------------------------------------------------------------------
Failed defconfigs:
arm64.allmodconfig
arm64.defconfig
arm64.nosmp_defconfig-------------------------------------------------------------------------------
Errors:
Quoted 10 lines
arm64.allmodconfig:
/work/build/batch/arch/arm64/include/asm/kvm_emulate.h:223:16:
error: 'ESR_ELx_SYS64_ISS_RT_MASK' undeclared (first use in this function) /work/build/batch/arch/arm64/include/asm/kvm_emulate.h:223:46:
error: 'ESR_ELx_SYS64_ISS_RT_SHIFT' undeclared (first use in this function) /work/build/batch/arch/arm64/include/asm/kvm_emulate.h:223:16:
error: 'ESR_ELx_SYS64_ISS_RT_MASK' undeclared (first use in this function)This is evidently caused by the backport of
c667186f1c01("arm64: KVM: Fix decoding of Rt/Rt2 when trapping AArch32 CP accesses")The missing constants were added in linux-4.9 by
9dbd5bb25c56("arm64: Refactor sysinstr exception handling")I don't think that commit is something we want backported as well as it is part of a longer series, but we could simply add the two lines to
arch/arm64/include/asm/esr.h:
Quoted 7 lines
Quoted 4 lines
(quoted diff) +2
-0+#define ESR_ELx_SYS64_ISS_RT_SHIFT 5 +#define ESR_ELx_SYS64_ISS_RT_MASK (UL(0x1f) <<
ESR_ELx_SYS64_ISS_RT_SHIFT)That seems like a good fix, but Marc has asked to have this patch dropped from v4.4 stable for now and will provide a backport later.
Sorry, I missed this earlier. I've just sent Greg an updated patch.
Thanks,
M.
Signature · 1 line
Jazz is not dead. It just smells funny.