1. 28 10月, 2015 1 次提交
    • V
      ARC: smp: Introduce smp hook @init_early_smp for Master core · e55af4da
      Vineet Gupta 提交于
      This adds a platform agnostic early SMP init hook which is called on
      Master core before calling setup_processor()
      
        setup_arch()
           smp_init_cpus()
               smp_ops.init_early_smp()
           ...
           setup_processor()
      
      How this helps:
       - Used for one time init of certain SMP centric IP blocks, before
         calling setup_processor() which probes various bits of core,
         possibly including this block
      
       - Currently platforms need to call this IP block init from their
         init routines, which doesn't make sense as this is specific to ARC
         core and not platform and otherwise requires copy/paste in all
         (and hence a possible point of failure)
      
      e.g. MCIP init is called from 2 platforms currently (axs10x and sim)
      which will go away once we have this.
      
      This change only adds the hooks but they are empty for now. Next commit
      will populate them and remove the explicit init calls from platforms.
      Signed-off-by: NVineet Gupta <vgupta@synopsys.com>
      e55af4da
  2. 17 10月, 2015 1 次提交
  3. 04 8月, 2015 1 次提交
  4. 03 8月, 2015 1 次提交
  5. 13 7月, 2015 1 次提交
  6. 09 7月, 2015 1 次提交
  7. 22 6月, 2015 4 次提交
  8. 19 6月, 2015 2 次提交
  9. 13 4月, 2015 1 次提交
  10. 02 2月, 2015 1 次提交
  11. 13 10月, 2014 4 次提交
  12. 27 9月, 2014 1 次提交
  13. 16 1月, 2014 2 次提交
  14. 06 11月, 2013 1 次提交
  15. 10 10月, 2013 3 次提交
  16. 12 9月, 2013 1 次提交
    • N
      ARC: SMP failed to boot due to missing IVT setup · c3567f8a
      Noam Camus 提交于
      Commit 05b016ec "ARC: Setup Vector Table Base in early boot" moved
      the Interrupt vector Table setup out of arc_init_IRQ() which is called
      for all CPUs, to entry point of boot cpu only, breaking booting of others.
      
      Fix by adding the same to entry point of non-boot CPUs too.
      
      read_arc_build_cfg_regs() printing IVT Base Register didn't help the
      casue since it prints a synthetic value if zero which is totally bogus,
      so fix that to print the exact Register.
      
      [vgupta: Remove the now stale comment from header of arc_init_IRQ and
      also added the commentary for halt-on-reset]
      
      Cc: Gilad Ben-Yossef <gilad@benyossef.com>
      Cc: Cc: <stable@vger.kernel.org> #3.11
      Signed-off-by: NNoam Camus <noamc@ezchip.com>
      Signed-off-by: NVineet Gupta <vgupta@synopsys.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      c3567f8a
  17. 05 9月, 2013 1 次提交
  18. 27 6月, 2013 1 次提交
    • P
      arc: delete __cpuinit usage from all arc files · ce759956
      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)
      are flagged as __cpuinit  -- so if we remove the __cpuinit from
      arch specific callers, we will also get section mismatch warnings.
      As an intermediate step, we intend to turn the linux/init.h cpuinit
      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 arch/arc uses of the __cpuinit macros from
      all C files.  Currently arc does not have any __CPUINIT used in
      assembly files.
      
      [1] https://lkml.org/lkml/2013/5/20/589
      
      Cc: Vineet Gupta <vgupta@synopsys.com>
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: NVineet Gupta <vgupta@synopsys.com>
      ce759956
  19. 22 6月, 2013 1 次提交
  20. 07 5月, 2013 2 次提交
  21. 09 4月, 2013 3 次提交
  22. 11 3月, 2013 1 次提交
  23. 26 2月, 2013 1 次提交
  24. 16 2月, 2013 4 次提交