Kernel 4.14.81-151 wont compile with KVM enables
Closed this issue · 5 comments
Hi folks,
the spectre/meltdown patches seem to break KVM support.
Kernel 4.14.81-151.tar.gz wont compile.
Build 4.14.69-148.tar.gz works well.
CHK include/generated/compile.h
AS arch/arm/mm/proc-v7.o
arch/arm/mm/proc-v7.S: Assembler messages:
arch/arm/mm/proc-v7.S:622: Error: symbol `cpu_ca15_switch_mm' is already defined
scripts/Makefile.build:429: recipe for target 'arch/arm/mm/proc-v7.o' failed
make[1]: *** [arch/arm/mm/proc-v7.o] Error 1
Makefile:1039: recipe for target 'arch/arm/mm' failed
make: *** [arch/arm/mm] Error 2
make: *** Waiting for unfinished jobs....
make: *** wait: No child processes. Stop.
Dierk
Does 4.14.83 builds ?
Hi Mauro,
also the actual kernel from https://github.com/hardkernel wont compile (same errors).
Appling patches 82 + 83 to the actual cloned kernel succeed, but the kernel also wont compile.
Kernels from original Linux repository compile but dont come up with kvm, because
the "cpu ist in wrong mode" when booting (no HYP mode). Code for adressing secure mode
in the exynos cpu seems to be missing.
Dierk
Please try this patch and let me know if it works
Hi Mauro,
the patch workeon both kernels (4.14.81 and 4.14.83) and the kernels now compile flawless.
When running these kernels everrything including KVM works fine.
Should be commited to source.
Dierk