From ee16fea0791030eaa67fc291f1ec32a6daee61f3 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Tue, 18 Sep 2012 10:00:56 +0000 Subject: [PATCH] disable VFPv4 probing This will make the kernel crash on systems using qemu < 1.1.0. Until fixed disable VPFv4 capability probing. SVN-Revision: 33458 --- .../patches-3.3/002-disable_fmrx_instr.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 target/linux/realview/patches-3.3/002-disable_fmrx_instr.patch diff --git a/target/linux/realview/patches-3.3/002-disable_fmrx_instr.patch b/target/linux/realview/patches-3.3/002-disable_fmrx_instr.patch new file mode 100644 index 0000000000..329e29fa26 --- /dev/null +++ b/target/linux/realview/patches-3.3/002-disable_fmrx_instr.patch @@ -0,0 +1,13 @@ +--- a/arch/arm/vfp/vfpmodule.c ++++ b/arch/arm/vfp/vfpmodule.c +@@ -622,8 +622,10 @@ static int __init vfp_init(void) + if ((fmrx(MVFR1) & 0x000fff00) == 0x00011100) + elf_hwcap |= HWCAP_NEON; + #endif ++#if 0 + if ((fmrx(MVFR1) & 0xf0000000) == 0x10000000) + elf_hwcap |= HWCAP_VFPv4; ++#endif + } + } + return 0; -- 2.30.2