1. 20 Sep, 2011 6 commits
  2. 28 Aug, 2011 1 commit
  3. 12 Aug, 2011 3 commits
  4. 10 Aug, 2011 1 commit
    • Lennert Buytenhek's avatar
      ARM: pxa: fix logic error in PJ4 iWMMXt handling · 392ba787
      Lennert Buytenhek authored
      This got added in:
      
      	commit ef6c8445
      
      
      	Author: Haojian Zhuang <haojian.zhuang@marvell.com>
      	Date:   Wed Nov 24 11:54:25 2010 +0800
      
      	    ARM: pxa: add iwmmx support for PJ4
      
      which does:
      
      -       mrc     p15, 0, r2, c15, c1, 0
      -       orr     r2, r2, #0x3                    @ enable access to CP0 and CP1
      -       mcr     p15, 0, r2, c15, c1, 0
      +       @ enable access to CP0 and CP1
      +       XSC(mrc p15, 0, r2, c15, c1, 0)
      +       XSC(orr r2, r2, #0x3)
      +       XSC(mcr p15, 0, r2, c15, c1, 0)
      
      but then later does:
      
      -       mrc     p15, 0, r4, c15, c1, 0
      -       orr     r4, r4, #0x3                    @ enable access to CP0 and CP1
      -       mcr     p15, 0, r4, c15, c1, 0
      +       @ enable access to CP0 and CP1
      +       XSC(mrc p15, 0, r4, c15, c1, 0)
      +       XSC(orr r4, r4, #0xf)
      +       XSC(mcr p15, 0, r4, c15, c1, 0)
      Signed-off-by: default avatarLennert Buytenhek <buytenh@laptop.org>
      Acked-by Haojian <haojian.zhuang@gmail.com>
      Signed-off-by: default avatarEric Miao <eric.y.miao@gmail.com>
      392ba787
  5. 07 Aug, 2011 1 commit
  6. 04 Aug, 2011 2 commits
  7. 03 Aug, 2011 1 commit
    • Len Brown's avatar
      cpuidle: stop depending on pm_idle · a0bfa137
      Len Brown authored
      
      
      cpuidle users should call cpuidle_call_idle() directly
      rather than via (pm_idle)() function pointer.
      
      Architecture may choose to continue using (pm_idle)(),
      but cpuidle need not depend on it:
      
        my_arch_cpu_idle()
      	...
      	if(cpuidle_call_idle())
      		pm_idle();
      
      cc: Kevin Hilman <khilman@deeprootsystems.com>
      cc: Paul Mundt <lethal@linux-sh.org>
      cc: x86@kernel.org
      Acked-by: default avatarH. Peter Anvin <hpa@linux.intel.com>
      Signed-off-by: default avatarLen Brown <len.brown@intel.com>
      a0bfa137
  8. 28 Jul, 2011 1 commit
    • Grant Likely's avatar
      irq: add irq_domain translation infrastructure · 08a543ad
      Grant Likely authored
      
      
      This patch adds irq_domain infrastructure for translating from
      hardware irq numbers to linux irqs.  This is particularly important
      for architectures adding device tree support because the current
      implementation (excluding PowerPC and SPARC) cannot handle
      translation for more than a single interrupt controller.  irq_domain
      supports device tree translation for any number of interrupt
      controllers.
      
      This patch converts x86, Microblaze, ARM and MIPS to use irq_domain
      for device tree irq translation.  x86 is untested beyond compiling it,
      irq_domain is enabled for MIPS and Microblaze, but the old behaviour is
      preserved until the core code is modified to actually register an
      irq_domain yet.  On ARM it works and is required for much of the new
      ARM device tree board support.
      
      PowerPC has /not/ been converted to use this new infrastructure.  It
      is still missing some features before it can replace the virq
      infrastructure already in powerpc (see documentation on
      irq_domain_map/unmap for details).  Followup patches will add the
      missing pieces and migrate PowerPC to use irq_domain.
      
      SPARC has its own method of managing interrupts from the device tree
      and is unaffected by this change.
      Acked-by: default avatarRalf Baechle <ralf@linux-mips.org>
      Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
      08a543ad
  9. 26 Jul, 2011 1 commit
  10. 24 Jul, 2011 1 commit
  11. 22 Jul, 2011 1 commit
    • Ralf Baechle's avatar
      PCI: Make the struct pci_dev * argument of pci_fixup_irqs const. · d5341942
      Ralf Baechle authored
      
      
      Aside of the usual motivation for constification,  this function has a
      history of being abused a hook for interrupt and other fixups so I turned
      this function const ages ago in the MIPS code but it should be done
      treewide.
      
      Due to function pointer passing in varous places a few other functions
      had to be constified as well.
      Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      To: Anton Vorontsov <avorontsov@mvista.com>
      To: Chris Metcalf <cmetcalf@tilera.com>
      To: Colin Cross <ccross@android.com>
      Acked-by: default avatar"David S. Miller" <davem@davemloft.net>
      To: Eric Miao <eric.y.miao@gmail.com>
      To: Erik Gilling <konkers@android.com>
      Acked-by: default avatarGuan Xuetao <gxt@mprc.pku.edu.cn>
      To: "H. Peter Anvin" <hpa@zytor.com>
      To: Imre Kaloz <kaloz@openwrt.org>
      To: Ingo Molnar <mingo@redhat.com>
      To: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
      To: Jesse Barnes <jbarnes@virtuousgeek.org>
      To: Krzysztof Halasa <khc@pm.waw.pl>
      To: Lennert Buytenhek <kernel@wantstofly.org>
      To: Matt Turner <mattst88@gmail.com>
      To: Nicolas Pitre <nico@fluxnic.net>
      To: Olof Johansson <olof@lixom.net>
      Acked-by: default avatarPaul Mundt <lethal@linux-sh.org>
      To: Richard Henderson <rth@twiddle.net>
      To: Russell King <linux@arm.linux.org.uk>
      To: Thomas Gleixner <tglx@linutronix.de>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: linux-alpha@vger.kernel.org
      Cc: linux-arm-kernel@lists.infradead.org
      Cc: linux-kernel@vger.kernel.org
      Cc: linux-mips@linux-mips.org
      Cc: linux-pci@vger.kernel.org
      Cc: linux-sh@vger.kernel.org
      Cc: linux-tegra@vger.kernel.org
      Cc: sparclinux@vger.kernel.org
      Cc: x86@kernel.org
      Signed-off-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
      d5341942
  12. 21 Jul, 2011 3 commits
  13. 19 Jul, 2011 1 commit
    • Dave Martin's avatar
      ARM: 6999/1: head, zImage: Always Enter the kernel in ARM state · 540b5738
      Dave Martin authored
      
      
      Currently, the documented kernel entry requirements are not
      explicit about whether the kernel should be entered in ARM or
      Thumb, leading to an ambiguitity about how to enter Thumb-2
      kernels.  As a result, the kernel is reliant on the zImage
      decompressor to enter the kernel proper in the correct instruction
      set state.
      
      This patch changes the boot entry protocol for head.S and Image to
      be the same as for zImage: in all cases, the kernel is now entered
      in ARM.
      
      Documentation/arm/Booting is updated to reflect this new policy.
      
      A different rule will be needed for Cortex-M class CPUs as and when
      support for those lands in mainline, since these CPUs don't support
      the ARM instruction set at all: a note is added to the effect that
      the kernel must be entered in Thumb on such systems.
      Signed-off-by: default avatarDave Martin <dave.martin@linaro.org>
      Acked-by: default avatarNicolas Pitre <nicolas.pitre@linaro.org>
      Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
      540b5738
  14. 18 Jul, 2011 1 commit
  15. 13 Jul, 2011 16 commits