1. 01 9月, 2014 1 次提交
  2. 12 12月, 2013 1 次提交
  3. 15 7月, 2013 1 次提交
    • P
      arm: delete __cpuinit/__CPUINIT usage from all ARM users · 8bd26e3a
      Paul Gortmaker 提交于
      The __cpuinit type of throwaway sections might have made sense
      some time ago when RAM was more constrained, but now the savings
      do not offset the cost and complications.  For example, the fix in
      commit 5e427ec2 ("x86: Fix bit corruption at CPU resume time")
      is a good example of the nasty type of bugs that can be created
      with improper use of the various __init prefixes.
      
      After a discussion on LKML[1] it was decided that cpuinit should go
      the way of devinit and be phased out.  Once all the users are gone,
      we can then finally remove the macros themselves from linux/init.h.
      
      Note that some harmless section mismatch warnings may result, since
      notify_cpu_starting() and cpu_up() are arch independent (kernel/cpu.c)
      and are flagged as __cpuinit  -- so if we remove the __cpuinit from
      the arch specific callers, we will also get section mismatch warnings.
      As an intermediate step, we intend to turn the linux/init.h cpuinit
      related content into no-ops as early as possible, since that will get
      rid of these warnings.  In any case, they are temporary and harmless.
      
      This removes all the ARM uses of the __cpuinit macros from C code,
      and all __CPUINIT from assembly code.  It also had two ".previous"
      section statements that were paired off against __CPUINIT
      (aka .section ".cpuinit.text") that also get removed here.
      
      [1] https://lkml.org/lkml/2013/5/20/589
      
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: Will Deacon <will.deacon@arm.com>
      Cc: linux-arm-kernel@lists.infradead.org
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      8bd26e3a
  4. 12 5月, 2013 1 次提交
  5. 12 4月, 2013 1 次提交
    • S
      ARM: imx: do not bring up unavailable cores · dc13ba29
      Shawn Guo 提交于
      The i.MX6 Quad can be fused as i.MX6 Dual chip, and similarly i.MX6
      DualLite can be fused as i.MX6 Solo.  The actual number of available
      cores can be found out from SCU.
      
      Since we do not reflect the fusing thing in device tree, the function
      arm_dt_init_cpu_maps() will always call set_cpu_possible(true) for 4
      cores on i.MX6 Quad/Dual and 2 cores for i.MX6 DualLite/Solo.  This
      causes failures when kernel tries to bring those unavailable cores
      online.  For example, the following failure message will be seen when
      booting an i.MX6 Solo chip.
      
        CPU1: failed to come online
      
      Though kernel will still boot fine, the message is somehow annoying.
      Let's get rid of it by calling set_cpu_possible(false) on those
      unavailable cores.
      
      While at it, the set_cpu_possible(true) for available cores is removed,
      since it's already been done in arm_dt_init_cpu_maps().
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      dc13ba29
  6. 27 3月, 2013 1 次提交
  7. 30 1月, 2013 1 次提交
  8. 14 1月, 2013 1 次提交
    • S
      ARM: imx: disable cpu in .cpu_kill hook · 83757664
      Shawn Guo 提交于
      It's buggy to disable the cpu that is being hot-unplugged in .cpu_die
      hook which runs on the cpu itself.  Instead, it should be done in
      .cpu_kill which runs on the thread (another cpu) that asks for shutting
      down the cpu.  Move imx_enable_cpu(cpu, false) call into .cpu_kill
      hook, and leave the cpu to be hot-unplugged in WFI within .cpu_die,
      so that we can get a more stable cpu hot-plug operation.
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      83757664
  9. 13 1月, 2013 1 次提交
    • R
      irqchip: Move ARM gic.h to include/linux/irqchip/arm-gic.h · 520f7bd7
      Rob Herring 提交于
      Now that we have GIC moved to drivers/irqchip and all GIC DT init for
      platforms using irqchip_init, move gic.h and update the remaining
      includes.
      Signed-off-by: NRob Herring <rob.herring@calxeda.com>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: Anton Vorontsov <avorontsov@mvista.com>
      Cc: Kukjin Kim <kgene.kim@samsung.com>
      Cc: Sascha Hauer <kernel@pengutronix.de>
      Cc: David Brown <davidb@codeaurora.org>
      Cc: Daniel Walker <dwalker@fifo99.com>
      Cc: Bryan Huntsman <bryanh@codeaurora.org>
      Cc: Tony Lindgren <tony@atomide.com>
      Cc: Paul Mundt <lethal@linux-sh.org>
      Cc: Magnus Damm <magnus.damm@gmail.com>
      Cc: Viresh Kumar <viresh.linux@gmail.com>
      Cc: Shiraz Hashim <shiraz.hashim@st.com>
      Cc: Stephen Warren <swarren@wwwdotorg.org>
      Cc: Srinidhi Kasagar <srinidhi.kasagar@stericsson.com>
      Cc: Linus Walleij <linus.walleij@linaro.org>
      Cc: Samuel Ortiz <sameo@linux.intel.com>
      520f7bd7
  10. 11 1月, 2013 1 次提交
  11. 15 10月, 2012 2 次提交
  12. 14 9月, 2012 1 次提交
  13. 31 10月, 2011 1 次提交