Skip to content
  1. Feb 12, 2013
  2. Jan 24, 2013
  3. Jan 23, 2013
  4. Jan 22, 2013
  5. Jan 19, 2013
  6. Jan 18, 2013
  7. Jan 17, 2013
  8. Jan 14, 2013
  9. Jan 12, 2013
  10. Jan 11, 2013
    • Shawn Guo's avatar
      ARM: imx: fix build error with !CONFIG_SMP · aec99b7b
      Shawn Guo authored
      
      
      Commit 68b25325 (ARM: imx: select HAVE_IMX_SRC when SMP is enabled)
      introduces a build error with imx_v6_v7_defconfig when CONFIG_SMP is
      deselected.
      
        LINK    vmlinux
        LD      vmlinux.o
        MODPOST vmlinux.o
        GEN     .version
        CHK     include/generated/compile.h
        UPD     include/generated/compile.h
        CC      init/version.o
        LD      init/built-in.o
      arch/arm/mach-imx/built-in.o: In function `imx6q_restart':
      platform-ahci-imx.c:(.text+0x448c): undefined reference to `imx_src_prepare_restart'
      arch/arm/mach-imx/built-in.o: In function `imx6q_pm_enter':
      platform-ahci-imx.c:(.text+0x4544): undefined reference to `imx_set_cpu_jump'
      arch/arm/mach-imx/built-in.o: In function `imx6q_init_irq':
      platform-ahci-imx.c:(.init.text+0xbef0): undefined reference to `imx_src_init'
      make[1]: *** [vmlinux] Error 1
      
      While the commit adds 'def_bool y if SMP' for HAVE_IMX_SRC, it should
      not remove 'select HAVE_IMX_SRC' from SOC_IMX6Q, as the IMX6Q UP build
      also needs HAVE_IMX_SRC.  Add the HAVE_IMX_SRC select back for SOC_IMX6Q
      to fix above build error.
      
      Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
      aec99b7b
    • Marc Zyngier's avatar
      ARM: virt: simplify __hyp_stub_install epilog · d0172347
      Marc Zyngier authored
      
      
      __hyp_stub_install duplicates quite a bit of safe_svcmode_maskall
      by forcing the CPU back to SVC. This is unnecessary, as
      safe_svcmode_maskall is called just after.
      
      Furthermore, the way we build SPSR_hyp is buggy as we fail to mask
      the interrupts, leading to interesting behaviours on TC2 + UEFI.
      
      The fix is to simply remove this code and rely on safe_svcmode_maskall
      to do the right thing.
      
      Cc: <stable@vger.kernel.org>
      Reviewed-by: default avatarDave Martin <dave.martin@linaro.org>
      Reported-by: default avatarHarry Liebel <harry.liebel@arm.com>
      Signed-off-by: default avatarMarc Zyngier <marc.zyngier@arm.com>
      Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
      d0172347