1. 30 5月, 2014 1 次提交
    • J
      MIPS: KVM: Override guest kernel timer frequency directly · eda3d33c
      James Hogan 提交于
      The KVM_HOST_FREQ Kconfig symbol was used by KVM guest kernels to
      override the timer frequency calculation to a value based on the host
      frequency. Now that the KVM timer emulation is implemented independent
      of the host timer frequency and defaults to 100MHz, adjust the working
      of CONFIG_KVM_HOST_FREQ to match.
      
      The Kconfig symbol now specifies the guest timer frequency directly, and
      has been renamed accordingly to KVM_GUEST_TIMER_FREQ. It now defaults to
      100MHz too and the help text is updated to make it clear that a zero
      value will allow the normal timer frequency calculation to take place
      (based on the emulated RTC).
      Signed-off-by: NJames Hogan <james.hogan@imgtec.com>
      Cc: Paolo Bonzini <pbonzini@redhat.com>
      Cc: Gleb Natapov <gleb@kernel.org>
      Cc: kvm@vger.kernel.org
      Cc: linux-mips@linux-mips.org
      Cc: Sanjay Lal <sanjayl@kymasys.com>
      Acked-by: NRalf Baechle <ralf@linux-mips.org>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      eda3d33c
  2. 23 1月, 2014 2 次提交
  3. 19 9月, 2013 1 次提交
  4. 15 7月, 2013 1 次提交
    • P
      MIPS: Delete __cpuinit/__CPUINIT usage from MIPS code · 078a55fc
      Paul Gortmaker 提交于
      commit 3747069b25e419f6b51395f48127e9812abc3596 upstream.
      
      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.
      
      Here, we remove all the MIPS __cpuinit from C code and __CPUINIT
      from asm files.  MIPS is interesting in this respect, because there
      are also uasm users hiding behind their own renamed versions of the
      __cpuinit macros.
      
      [1] https://lkml.org/lkml/2013/5/20/589
      
      [ralf@linux-mips.org: Folded in Paul's followup fix.]
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      Cc: linux-mips@linux-mips.org
      Patchwork: https://patchwork.linux-mips.org/patch/5494/
      Patchwork: https://patchwork.linux-mips.org/patch/5495/
      Patchwork: https://patchwork.linux-mips.org/patch/5509/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      078a55fc
  5. 09 5月, 2013 2 次提交
    • S
      MIPS: Refactor GIC clocksource code. · dfa762e1
      Steven J. Hill 提交于
      Reorganize some of the GIC clocksource driver code. Below is a list of
      the various changes.
      
        * No longer select CSRC_GIC by default for Malta platform.
        * Limit choice for either the GIC or R4K clocksource, not both.
        * Change location in Makefile.
        * Created new 'gic_read_count' function in common 'irq-gic.c' file.
        * Change 'git_hpt_read' function in 'csrc-gic.c' to use new function.
        * Surround GIC specific code in Malta platform code with #ifdef's.
        * Only initialize the GIC clocksource if it was selected. Original
          code called it unconditionally if a GIC was found.
      Signed-off-by: NSteven J. Hill <Steven.Hill@imgtec.com>
      dfa762e1
    • S
      MIPS: Move 'gic_frequency' to common location. · 28ea2151
      Steven J. Hill 提交于
      Move the global variable 'gic_frequency' to be defined in the file
      'arch/mips/kernel/irq-gic.c' instead of defining it individually
      for each platform making use of the GIC. Also change the type to
      be an unsigned integer instead of signed.
      Signed-off-by: NSteven J. Hill <Steven.Hill@imgtec.com>
      28ea2151
  6. 08 5月, 2013 2 次提交
  7. 17 2月, 2013 1 次提交
  8. 01 2月, 2013 1 次提交
  9. 29 3月, 2012 1 次提交
  10. 09 6月, 2011 1 次提交
  11. 29 3月, 2011 1 次提交
  12. 15 8月, 2009 1 次提交
  13. 16 7月, 2008 5 次提交
  14. 06 6月, 2008 1 次提交
  15. 29 4月, 2008 2 次提交
  16. 12 3月, 2008 1 次提交
  17. 30 10月, 2007 1 次提交
  18. 23 10月, 2007 1 次提交
  19. 12 10月, 2007 6 次提交
  20. 01 8月, 2007 1 次提交
  21. 21 6月, 2007 1 次提交
  22. 15 6月, 2007 2 次提交
  23. 12 6月, 2007 1 次提交
  24. 07 6月, 2007 1 次提交
  25. 05 3月, 2007 1 次提交
  26. 09 1月, 2007 1 次提交