1. 13 10月, 2010 1 次提交
  2. 08 10月, 2010 4 次提交
    • E
      cpuimx27: fix i2c bus selection · 4793ca40
      Eric Bénard 提交于
      Recent clean of i.MX devices registration changed the i2C bus number
      selected for our platform (Freescale start peripheral ID at 1, kernel
      now start it at 0 so i.MX27's i2c 1 is kernel's i2c 0).
      Without this fix, i2c is unusable on this platform.
      Signed-off-by: NEric Bénard <eric@eukrea.com>
      Acked-by: NUwe Kleine-König <u.kleine-koenig@pengutronix.de>
      Signed-off-by: NSascha Hauer <s.hauer@pengutronix.de>
      4793ca40
    • E
      cpuimx27: fix compile when ULPI is selected · 22377ec5
      Eric Bénard 提交于
      without this patch we get :
      arch/arm/mach-imx/built-in.o: In function `eukrea_cpuimx27_init':
      eukrea_mbimx27-baseboard.c:(.init.text+0x44c): undefined reference to `mxc_ulpi_access_ops'
      Signed-off-by: NEric Bénard <eric@eukrea.com>
      Signed-off-by: NSascha Hauer <s.hauer@pengutronix.de>
      22377ec5
    • T
      ARM: 6435/1: Fix HWCAP_TLS flag for ARM11MPCore/Cortex-A9 · c0bb5862
      Tony Lindgren 提交于
      Commit 14eff181 added proper
      detection for ARM11MPCore/Cortex-A9 instead of detecting them
      as ARMv7. However, it was missing the HWCAP_TLS flags.
      
      HWCAP_TLS is needed if support for earlier ARMv6 is compiled
      into the same kernel. Without HWCAP_TLS flags the userspace
      won't work unless nosmp is specified:
      
      Kernel panic - not syncing: Attempted to kill init!
      CPU0: stopping
      <c005d5e4>] (unwind_backtrace+0x0/0xec) from [<c004c2f8>] (do_IPI+0xfc/0x184)
      <c004c2f8>] (do_IPI+0xfc/0x184) from [<c03f25bc>] (__irq_svc+0x9c/0x160)
      Exception stack(0xc0565f80 to 0xc0565fc8)
      5f80: 00000001 c05772a0 00000000 00003a61 c0564000 c05cf500 c003603c c0578600
      5fa0: 80033ef0 410fc091 0000001f 00000000 00000000 c0565fc8 c00b91f8 c0057cb4
      5fc0: 20000013 ffffffff
      [<c03f25bc>] (__irq_svc+0x9c/0x160) from [<c0057cb4>] (default_idle+0x30/0x38)
      [<c0057cb4>] (default_idle+0x30/0x38) from [<c005829c>] (cpu_idle+0x9c/0xf8)
      [<c005829c>] (cpu_idle+0x9c/0xf8) from [<c0008d48>] (start_kernel+0x2a4/0x300)
      [<c0008d48>] (start_kernel+0x2a4/0x300) from [<80008084>] (0x80008084)
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      c0bb5862
    • A
      ARM: 6436/1: AT91: Fix power-saving in idle-mode on 926T processors · 5c189208
      Anders Larsen 提交于
      According to Atmel, their 926T processors (AT91 post RM9200) requires
      'Wait for Interrupt' mode be entered right after disabling the processor clock
      in order to minimise current consumption when idle, so do both provided we're
      not running on a 920T (an RM9200).
      
      Furthermore, get rid of the #ifndef CONFIG_DEBUG_KERNEL, since arch_idle()
      can be turned off completely with the kernel parameter 'nohlt'.
      
      Cc: Andrew Victor <avictor.za@gmail.com>
      Signed-off-by: NAnders Larsen <al@alarsen.net>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      5c189208
  3. 05 10月, 2010 4 次提交
    • R
      ARM: fix section mismatch warnings in Versatile Express · cdaf9a2f
      Russell King 提交于
      WARNING: vmlinux.o(.text+0xbf30): Section mismatch in reference from the function v2m_timer_init() to the function .init.text:sp804_clocksource_init()
      The function v2m_timer_init() references
      the function __init sp804_clocksource_init().
      This is often because v2m_timer_init lacks a __init
      annotation or the annotation of sp804_clocksource_init is wrong.
      
      WARNING: vmlinux.o(.text+0xbf3c): Section mismatch in reference from the function v2m_timer_init() to the function .init.text:sp804_clockevents_init()
      The function v2m_timer_init() references
      the function __init sp804_clockevents_init().
      This is often because v2m_timer_init lacks a __init
      annotation or the annotation of sp804_clockevents_init is wrong.
      
      WARNING: vmlinux.o(.text+0xc524): Section mismatch in reference from the function ct_ca9x4_init() to the function .init.text:l2x0_init()
      The function ct_ca9x4_init() references
      the function __init l2x0_init().
      This is often because ct_ca9x4_init lacks a __init
      annotation or the annotation of l2x0_init is wrong.
      
      WARNING: vmlinux.o(.text+0xc530): Section mismatch in reference from the function ct_ca9x4_init() to the function .init.text:clkdev_add_table()
      The function ct_ca9x4_init() references
      the function __init clkdev_add_table().
      This is often because ct_ca9x4_init lacks a __init
      annotation or the annotation of clkdev_add_table is wrong.
      
      WARNING: vmlinux.o(.text+0xc578): Section mismatch in reference from the function ct_ca9x4_init() to the (unknown reference) .init.data:(unknown)
      The function ct_ca9x4_init() references
      the (unknown reference) __initdata (unknown).
      This is often because ct_ca9x4_init lacks a __initdata
      annotation or the annotation of (unknown) is wrong.
      
      Fix these by making ct_ca9x4_init() and v2m_timer_init() both __init.
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      cdaf9a2f
    • W
      ARM: 6412/1: kprobes-decode: add support for MOVW instruction · ccdf2e1b
      Will Deacon 提交于
      The MOVW instruction moves a 16-bit immediate into the bottom halfword
      of the destination register.
      
      This patch ensures that kprobes leaves the 16-bit immediate intact, rather
      than assume a 12-bit immediate and mask out the upper 4 bits.
      Acked-by: NNicolas Pitre <nicolas.pitre@linaro.org>
      Signed-off-by: NWill Deacon <will.deacon@arm.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      ccdf2e1b
    • S
      ARM: 6419/1: mmu: Fix MT_MEMORY and MT_MEMORY_NONCACHED pte flags · 7f58217b
      Santosh Shilimkar 提交于
      The commit f1a2481c sets up the default flags for MT_MEMORY and
      MT_MEMORY_NONCACHED memory types. L_PTE_USER flag is wrongly
      set as default for these entries so remove it. Also adding
      the 'L_PTE_WRITE' flag so that these pages become read-write
      instead of just being read-only
      
      [this stops them being exposed to userspace, which is the main
      concern here --rmk]
      Reported-by: NCatalin Marinas <catalin.marinas@arm.com>
      Signed-off-by: NSantosh Shilimkar <santosh.shilimkar@ti.com>
      Acked-by: NCatalin Marinas <catalin.marinas@arm.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      7f58217b
    • W
      ARM: 6416/1: errata: faulty hazard checking in the Store Buffer may lead to data corruption · 475d92fc
      Will Deacon 提交于
      On the r2p0, r2p1 and r2p2 versions of the Cortex-A9, data corruption
      can occur under very rare conditions due to a store buffer optimisation.
      
      This workaround sets a bit in the diagnostic register of the Cortex-A9,
      disabling the optimisation and preventing the problem from occurring.
      Acked-by: NCatalin Marinas <catalin.marinas@arm.com>
      Signed-off-by: NWill Deacon <will.deacon@arm.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      475d92fc
  4. 02 10月, 2010 2 次提交
    • D
      MN10300: Fix flush_icache_range() · 57cf4f78
      David Howells 提交于
      flush_icache_range() is given virtual addresses to describe the region.  It
      deals with these by attempting to translate them through the current set of
      page tables.
      
      This is fine for userspace memory and vmalloc()'d areas as they are governed by
      page tables.  However, since the regions above 0x80000000 aren't translated
      through the page tables by the MMU, the kernel doesn't bother to set up page
      tables for them (see paging_init()).
      
      This means flush_icache_range() as it stands cannot be used to flush regions of
      the VM area between 0x80000000 and 0x9fffffff where the kernel resides if the
      data cache is operating in WriteBack mode.
      
      To fix this, make flush_icache_range() first check for addresses in the upper
      half of VM space and deal with them appropriately, before dealing with any
      range in the page table mapped area.
      
      Ordinarily, this is not a problem, but it has the capacity to make kprobes and
      kgdb malfunction.  It should not affect gdbstub, signal frame setup or module
      loading as gdb has its own flush functions, and the others take place in the
      page table mapped area only.
      Signed-off-by: NDavid Howells <dhowells@redhat.com>
      Acked-by: NAkira Takeuchi <takeuchi.akr@jp.panasonic.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      57cf4f78
    • A
      arch/m68k/mac/macboing.c: use unsigned long for irqflags · e53ced1b
      Andrew Morton 提交于
      Fix the warnings
      
        arch/m68k/mac/macboing.c: In function 'mac_mksound':
        arch/m68k/mac/macboing.c:189: warning: comparison of distinct pointer types lacks a cast
        arch/m68k/mac/macboing.c:211: warning: comparison of distinct pointer types lacks a cast
        arch/m68k/mac/macboing.c: In function 'mac_quadra_start_bell':
        arch/m68k/mac/macboing.c:241: warning: comparison of distinct pointer types lacks a cast
        arch/m68k/mac/macboing.c:263: warning: comparison of distinct pointer types lacks a cast
        arch/m68k/mac/macboing.c: In function 'mac_quadra_ring_bell':
        arch/m68k/mac/macboing.c:283: warning: comparison of distinct pointer types lacks a cast
      
      Cc: Geert Uytterhoeven <geert@linux-m68k.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      e53ced1b
  5. 01 10月, 2010 2 次提交
  6. 30 9月, 2010 1 次提交
  7. 29 9月, 2010 4 次提交
  8. 28 9月, 2010 8 次提交
  9. 27 9月, 2010 2 次提交
  10. 26 9月, 2010 2 次提交
  11. 25 9月, 2010 10 次提交