1. 24 6月, 2013 1 次提交
    • E
      ARM: mvebu: fix length of ethernet registers in mv78260 dtsi · cdd8e498
      Ezequiel Garcia 提交于
      The length of the registers area for the Marvell 370/XP Ethernet controller
      was incorrect in the .dtsi: 0x2500, while it should have been 0x4000.
      This problem wasn't noticed because there used to be a static mapping for
      all the MMIO register region set up by ->map_io().
      
      The register length was fixed in all the other device tree files,
      except from the armada-xp-mv78260.dtsi, in the following commit:
      
        commit cf8088c5
        Author: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
        Date:   Tue May 21 12:33:27 2013 +0200
      
          arm: mvebu: fix length of Ethernet registers area in .dtsi
      
      This commit fixes a kernel panic in mvneta_probe(), when the kernel
      tries to access the unmapped registers:
      
      [  163.639092] mvneta d0070000.ethernet eth0: mac: 6e:3c:4f:87:17:2e
      [  163.646962] mvneta d0074000.ethernet eth1: mac: 6a:04:4e:6f:f5:ef
      [  163.654853] mvneta d0030000.ethernet eth2: mac: 2a:99:19:19:fc:4c
      [  163.661258] Unable to handle kernel paging request at virtual address f011bcf0
      [  163.668523] pgd = c0004000
      [  163.671237] [f011bcf0] *pgd=2f006811, *pte=00000000, *ppte=00000000
      [  163.677565] Internal error: Oops: 807 [#1] SMP ARM
      [  163.682370] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.10.0-rc6-01850-gba0682e #11
      [  163.690046] task: ef04c000 ti: ef03e000 task.ti: ef03e000
      [  163.695467] PC is at mvneta_probe+0x34c/0xabc
      [...]
      Signed-off-by: NEzequiel Garcia <ezequiel.garcia@free-electrons.com>
      Acked-by: NThomas Petazzoni <thomas.petazzoni@free-electrons.com>
      Signed-off-by: NJason Cooper <jason@lakedaemon.net>
      cdd8e498
  2. 18 6月, 2013 2 次提交
  3. 17 6月, 2013 1 次提交
  4. 13 6月, 2013 1 次提交
  5. 07 6月, 2013 1 次提交
  6. 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
  7. 03 6月, 2013 4 次提交
  8. 31 5月, 2013 1 次提交
  9. 28 5月, 2013 2 次提交
  10. 24 5月, 2013 3 次提交
  11. 21 5月, 2013 3 次提交
  12. 20 5月, 2013 1 次提交
  13. 18 5月, 2013 3 次提交
  14. 17 5月, 2013 4 次提交
  15. 16 5月, 2013 2 次提交
    • 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
    • S
      arm: dts: am33xx: Remove "ti,no_idle_on_suspend" property. · 4425fb13
      Sourav Poddar 提交于
      The "ti,no_idle_on_suspend" property was required to keep ocmcram clocks
      running during idle.
      
      But commit 72bb6f9b (ARM: OMAP: omap_device: don't attempt late suspend
      if no driver bound), added in v3.6 should prevent any automatic clock
      gating for devices without drivers bound.  Since there is no driver for
      the OCM RAM block, we are not affected by the automatic idle on suspend
      anyways which means "ti,no_idle_on_suspend" can be safely removed since
      there are no users for it.
      
      Cc: Benoit Cousson <b-cousson@ti.com>
      Cc: Santosh Shilimkar <santosh.shilimkar@ti.com>
      Cc: Felipe Balbi <balbi@ti.com>
      Cc: Rajendra nayak <rnayak@ti.com>
      Signed-off-by: NSourav Poddar <sourav.poddar@ti.com>
      Reviewed-by: NFelipe Balbi <balbi@ti.com>
      Signed-off-by: NKevin Hilman <khilman@linaro.org>
      4425fb13
  16. 14 5月, 2013 4 次提交
  17. 13 5月, 2013 2 次提交
  18. 10 5月, 2013 2 次提交