1. 19 6月, 2013 1 次提交
  2. 07 6月, 2013 1 次提交
  3. 06 6月, 2013 3 次提交
    • M
      ARM: 7750/1: update legacy CPU ID in decompressor cache support jump table · ced2a3b8
      Marc C 提交于
      The previous mask values for the legacy ARM CPU IDs were conflicting
      with the CPU ID assignments for late-generation CPUs (like the
      Qualcomm MSM/QSD or Broadcom Brahma-15 processors). This change
      corrects the legacy ARM CPU ID value so that the jump table can
      fall-through to the appropriate cache maintenance / MMU functions.
      Signed-off-by: NMarc C <marc.ceeeee@gmail.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      ced2a3b8
    • A
      ARM: 7743/1: compressed/head.S: work around new binutils warning · da94a829
      Arnd Bergmann 提交于
      In August 2012, Matthew Gretton-Dann checked a change into binutils
      labelled "Error on obsolete & warn on deprecated registers", apparently as
      part of ARMv8 support. Apparently, this was supposed to emit the message
      "Warning: This coprocessor register access is deprecated in ARMv8" when
      using certain mcr/mrc instructions and building for ARMv8. Unfortunately,
      the message that is actually emitted appears to be '(null)', which is
      less helpful in comparison.
      
      Even more unfortunately, this is biting us on every single kernel
      build with a new gas, because arch/arm/boot/compressed/head.S and some
      other files in that directory are built with -march=all since kernel
      commit 80cec14a "[ARM] Add -march=all to assembly file build in
      arch/arm/boot/compressed" back in v2.6.28.
      
      This patch reverts Russell's nice solution and instead marks the head.S
      file to be built for armv7-a, which fortunately lets us build all
      instructions in that file without warnings even on the broken binutils.
      
      Without this patch, building anything results in:
      
      arch/arm/boot/compressed/head.S: Assembler messages:
      arch/arm/boot/compressed/head.S:565: Warning: (null)
      arch/arm/boot/compressed/head.S:676: Warning: (null)
      arch/arm/boot/compressed/head.S:698: Warning: (null)
      arch/arm/boot/compressed/head.S:722: Warning: (null)
      arch/arm/boot/compressed/head.S:726: Warning: (null)
      arch/arm/boot/compressed/head.S:957: Warning: (null)
      arch/arm/boot/compressed/head.S:996: Warning: (null)
      arch/arm/boot/compressed/head.S:997: Warning: (null)
      arch/arm/boot/compressed/head.S:1027: Warning: (null)
      arch/arm/boot/compressed/head.S:1035: Warning: (null)
      arch/arm/boot/compressed/head.S:1046: Warning: (null)
      arch/arm/boot/compressed/head.S:1060: Warning: (null)
      arch/arm/boot/compressed/head.S:1092: Warning: (null)
      arch/arm/boot/compressed/head.S:1094: Warning: (null)
      arch/arm/boot/compressed/head.S:1095: Warning: (null)
      arch/arm/boot/compressed/head.S:1102: Warning: (null)
      arch/arm/boot/compressed/head.S:1134: Warning: (null)
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Cc: stable@vger.kernel.org
      Cc: Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      da94a829
    • N
      ARM: 7737/1: fix kernel decompressor compilation error with CONFIG_DEBUG_SEMIHOSTING · 27523679
      Nicolas Pitre 提交于
      Selecting this option produces:
      
        AS      arch/arm/boot/compressed/debug.o
      arch/arm/boot/compressed/debug.S:4:33: fatal error: mach/debug-macro.S: No such file or directory
      compilation terminated.
      make[3]: *** [arch/arm/boot/compressed/debug.o] Error 1
      
      The semihosting support cannot be modelled into a senduart macro as
      it requires memory space for argument passing.  So the
      CONFIG_DEBUG_LL_INCLUDE may not have any sensible value and the include
      directive should be omitted.
      
      While at it, let's add proper semihosting output support to the
      decompressor.
      Signed-off-by: NNicolas Pitre <nico@linaro.org>
      Acked-by: NShawn Guo <shawn.guo@linaro.org>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      27523679
  4. 03 6月, 2013 4 次提交
  5. 24 5月, 2013 3 次提交
  6. 21 5月, 2013 3 次提交
  7. 20 5月, 2013 1 次提交
  8. 18 5月, 2013 1 次提交
  9. 16 5月, 2013 1 次提交
    • T
      ARM: dts: Fix musb interrupt for device tree booting · 304e71e0
      Tony Lindgren 提交于
      Commit ad871c10 (ARM: dts: OMAP: Add usb_otg and glue data to
      OMAP3+ boards) added support for MUSB on omap3 for device tree,
      but added the interrupts the wrong way probably as they were
      copied from the omap4.dtsi file. On omap3 we have TI specific
      interrupt controller, not GIC.
      
      Fix this by specifying the interrupt following the TI INTC
      binding.
      
      Without this fix MUSB won't work as it is trying to use
      irq0 instead of irq92.
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      304e71e0
  10. 14 5月, 2013 4 次提交
  11. 13 5月, 2013 2 次提交
  12. 10 5月, 2013 3 次提交
  13. 09 5月, 2013 5 次提交
  14. 30 4月, 2013 1 次提交
  15. 29 4月, 2013 5 次提交
  16. 27 4月, 2013 2 次提交
    • T
      ARM: dts: add mshc controller node for Exynos4x12 SoCs · 662478d0
      Thomas Abraham 提交于
      Commit 800974ac ("ARM: dts: Add board dts file for ODROID-X") includes a node
      to describe the board level properties for mshc controller. But the mshc
      controller node was not added in the Exynos4x12 dtsi file which resulted
      in the following warning when compiling the dtb files.
      
      Warning (reg_format): "reg" property in /mshc@12550000/slot@0 has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
      Warning (avoid_default_addr_size): Relying on default #address-cells value for /mshc@12550000/slot@0
      Warning (avoid_default_addr_size): Relying on default #size-cells value for /mshc@12550000/slot@0
      
      Fix this by adding the mshc controller node for Exynos4x12 SoCs.
      Signed-off-by: NThomas Abraham <thomas.abraham@linaro.org>
      Tested-by: NDongjin Kim <tobetter@gmail.com>
      Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      662478d0
    • D
      ARM: dts: Disable the RTC by default on exynos5 · 522ccdb6
      Doug Anderson 提交于
      This change makes the rtc on the exynos5250 and 5440 disabled by
      default to match exynos4.
      
      Ever since the common clock framework came in, exynos5250 boards
      have dumped lots of warnings in the boot log. It turns out that
      we don't see those on exynos4 since the rtc is disabled by default.
      While we need to get to the bottom of the problems with the RTC,
      it still makes sense to have the default state of the RTC on exynos
      boards match.
      
      For the record, warnings look like this:
        ------------[ cut here ]------------
        WARNING: at drivers/clk/clk.c:771 __clk_enable+0x34/0xb0()
        Modules linked in:
        [<80015bfc>] (unwind_backtrace+0x0/0xec) from [<804717f0>] (dump_stack+0x20/0x24)
        [<804717f0>] (dump_stack+0x20/0x24) from [<80023cd0>] (warn_slowpath_common+0x5c/0x7c)
        [<80023cd0>] (warn_slowpath_common+0x5c/0x7c) from [<80023d1c>] (warn_slowpath_null+0x2c/0x34)
        [<80023d1c>] (warn_slowpath_null+0x2c/0x34) from [<8035ddb0>] (__clk_enable+0x34/0xb0)
        [<8035ddb0>] (__clk_enable+0x34/0xb0) from [<8035de54>] (clk_enable+0x28/0x3c)
        [<8035de54>] (clk_enable+0x28/0x3c) from [<8031a160>] (s3c_rtc_probe+0xf4/0x434)
        [<8031a160>] (s3c_rtc_probe+0xf4/0x434) from [<8028e288>] (platform_drv_probe+0x24/0x28)
        [<8028e288>] (platform_drv_probe+0x24/0x28) from [<8028ce10>] (driver_probe_device+0xbc/0x22c)
        [<8028ce10>] (driver_probe_device+0xbc/0x22c) from [<8028cff8>] (__driver_attach+0x78/0x9c)
        [<8028cff8>] (__driver_attach+0x78/0x9c) from [<8028bdfc>] (bus_for_each_dev+0x64/0xac)
        [<8028bdfc>] (bus_for_each_dev+0x64/0xac) from [<8028c7e0>] (driver_attach+0x28/0x30)
        [<8028c7e0>] (driver_attach+0x28/0x30) from [<8028c43c>] (bus_add_driver+0xe0/0x234)
        [<8028c43c>] (bus_add_driver+0xe0/0x234) from [<8028d55c>] (driver_register+0xac/0x13c)
        [<8028d55c>] (driver_register+0xac/0x13c) from [<8028e4f4>] (platform_driver_register+0x54/0x68)
        [<8028e4f4>] (platform_driver_register+0x54/0x68) from [<8065c944>] (s3c_rtc_driver_init+0x14/0x1c)
        [<8065c944>] (s3c_rtc_driver_init+0x14/0x1c) from [<800086d8>] (do_one_initcall+0x60/0x138)
        [<800086d8>] (do_one_initcall+0x60/0x138) from [<80633a8c>] (kernel_init_freeable+0x108/0x1d0)
        [<80633a8c>] (kernel_init_freeable+0x108/0x1d0) from [<8046d2f8>] (kernel_init+0x1c/0xf4)
        [<8046d2f8>] (kernel_init+0x1c/0xf4) from [<8000e358>] (ret_from_fork+0x14/0x20)
        ---[ end trace 4bcdc801c868d73f ]---
      Signed-off-by: NDoug Anderson <dianders@chromium.org>
      Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      522ccdb6