1. 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
  2. 08 Jul, 2011 2 commits
  3. 07 Jul, 2011 1 commit
    • Stephen Boyd's avatar
      ARM: 6993/1: platsmp: Allow secondary cpu hotplug with maxcpus=1 · 7fa22bd5
      Stephen Boyd authored
      If an ARM system has multiple cpus in the same socket and the
      kernel is booted with maxcpus=1, secondary cpus are possible but
      not present due to how platform_smp_prepare_cpus() is called.
      Since most typical ARM processors don't actually support physical
      hotplug, initialize the present map to be equal to the possible
      map in generic ARM SMP code. Also, always call
      platform_smp_prepare_cpus() as long as max_cpus is non-zero (0
      means no SMP) to allow platform code to do any SMP setup.
      
      After applying this patch it's possible to boot an ARM system
      with maxcpus=1 on the command line and then hotplug in secondary
      cpus via sysfs. This is more in line with how x86 does things.
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      Cc: Paul Mundt <lethal@linux-sh.org>
      Cc: Kukjin Kim <kgene.kim@samsung.com>
      Cc: David Brown <davidb@codeaurora.org>
      Cc: Tony Lindgren <tony@atomide.com>
      Cc: Srinidhi Kasagar <srinidhi.kasagar@stericsson.com>
      Cc: Linus Walleij <linus.walleij@stericsson.com>
      Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
      7fa22bd5
  4. 06 Jul, 2011 5 commits
  5. 29 Jun, 2011 5 commits
  6. 02 Jun, 2011 1 commit
    • Russell King's avatar
      ARM: Allow SoCs to enable scatterlist chaining · 74facffe
      Russell King authored
      Allow SoCs to enable the scatterlist chaining support, which allows
      scatterlist tables to be broken up into smaller allocations.
      
      As support for this feature depends on the implementation details of
      the users of the scatterlists, we can't enable this globally without
      auditing all the users, which is a very big task.  Instead, let SoCs
      progressively switch over to using this.
      
      SoC drivers using scatterlists and SoC DMA implementations need
      auditing before this option can be enabled for the SoC.
      Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
      74facffe
  7. 01 Jun, 2011 17 commits
  8. 31 May, 2011 8 commits