1. 09 8月, 2014 1 次提交
    • V
      kexec: load and relocate purgatory at kernel load time · 12db5562
      Vivek Goyal 提交于
      Load purgatory code in RAM and relocate it based on the location.
      Relocation code has been inspired by module relocation code and purgatory
      relocation code in kexec-tools.
      
      Also compute the checksums of loaded kexec segments and store them in
      purgatory.
      
      Arch independent code provides this functionality so that arch dependent
      bootloaders can make use of it.
      
      Helper functions are provided to get/set symbol values in purgatory which
      are used by bootloaders later to set things like stack and entry point of
      second kernel etc.
      Signed-off-by: NVivek Goyal <vgoyal@redhat.com>
      Cc: Borislav Petkov <bp@suse.de>
      Cc: Michael Kerrisk <mtk.manpages@gmail.com>
      Cc: Yinghai Lu <yinghai@kernel.org>
      Cc: Eric Biederman <ebiederm@xmission.com>
      Cc: H. Peter Anvin <hpa@zytor.com>
      Cc: Matthew Garrett <mjg59@srcf.ucam.org>
      Cc: Greg Kroah-Hartman <greg@kroah.com>
      Cc: Dave Young <dyoung@redhat.com>
      Cc: WANG Chao <chaowang@redhat.com>
      Cc: Baoquan He <bhe@redhat.com>
      Cc: Andy Lutomirski <luto@amacapital.net>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      12db5562
  2. 02 8月, 2014 2 次提交
  3. 31 7月, 2014 2 次提交
  4. 30 7月, 2014 2 次提交
    • J
      MIPS: BCM63xx: Sync MIPS counters during CPU bringup · fc264022
      Jonas Gorski 提交于
      We are using the mips counters as the clock source, so we need to ensure
      they are synced, else e.g. gettimeofday will return different values
      depending on which core it was run.
      
      Observed difference was about 8 seconds, causing ~8 seconds ping or time
      running backwards for some programs.
      Signed-off-by: NJonas Gorski <jogo@openwrt.org>
      Cc: linux-mips@linux-mips.org
      Cc: John Crispin <blogic@openwrt.org>
      Cc: Maxime Bizon <mbizon@freebox.fr>
      Cc: Florian Fainelli <florian@openwrt.org>
      Cc: Kevin Cernekee <cernekee@gmail.com>
      Patchwork: https://patchwork.linux-mips.org/patch/7265/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      fc264022
    • M
      MIPS: Alchemy: clock framework integration of onchip clocks · 47440229
      Manuel Lauss 提交于
      This patch introduces common clock framework integration for all
      configurable on-chip clocks on Alchemy chips:
      
      - 2 or 3 PLLs which generate integer multiples of the root rate 12MHz,
      - 6 dividers which take one of the 3 PLLs as input and divide their
        rate by either multiples of 2 or 1 (Au1300).
      - another bank of up to 6 muxes which take either one of the 6
        above dividers or one of the PLLs directly and divide their rate
        further by 1, 2, 3 or 4.
      - a few other sources which are used by onchip peripherals and are
        informational.
      
      This implementation will take the clock tree as it was set up
      by boot firmware: all in-kernel boards should continue to work
      without having to set up the clock tree in board code.
      
      CLK_IGNORE_DISABLED will be removed once all drivers have been
      converted.
      Signed-off-by: NManuel Lauss <manuel.lauss@gmail.com>
      Cc: Mike Turquette <mturquette@linaro.org>
      Cc: Linux-MIPS <linux-mips@linux-mips.org>
      Patchwork: https://patchwork.linux-mips.org/patch/7466/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      47440229
  5. 19 7月, 2014 1 次提交
  6. 26 6月, 2014 1 次提交
    • R
      MIPS: Lasat: Fix build error if CRC32 is not enabled. · 16f0bbbc
      Ralf Baechle 提交于
      Kconfig doesn't select CRC32 so it's possible to build a Lasat kernel
      without CONFIG_CRC32 resulting in a build error:
      
        LD      vmlinux
      arch/mips/built-in.o: In function `lasat_init_board_info':
      (.text+0x22c): undefined reference to `crc32_le'
      arch/mips/built-in.o: In function `lasat_write_eeprom_info':
      (.text+0x7fc): undefined reference to `crc32_le'
      make: *** [vmlinux] Error 1
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      16f0bbbc
  7. 02 6月, 2014 2 次提交
  8. 31 5月, 2014 3 次提交
  9. 30 5月, 2014 3 次提交
  10. 28 5月, 2014 4 次提交
    • P
      MIPS: include cpuidle Kconfig menu · c095ebaf
      Paul Burton 提交于
      This patch simply includes the cpuidle Kconfig entries in preparation
      for cpuidle drivers used on MIPS systems.
      Signed-off-by: NPaul Burton <paul.burton@imgtec.com>
      c095ebaf
    • P
      MIPS: smp-cps: hotplug support · 1d8f1f5a
      Paul Burton 提交于
      This patch adds support for offlining CPUs via hotplug when using the
      CONFIG_MIPS_CPS SMP implementation. When a CPU is offlined one of 2
      things will happen:
      
        - If the CPU is part of a core which implements the MT ASE and there
          is at least one other VPE online within that core then the VPE will
          be halted by settings its TCHalt bit.
      
        - Otherwise if supported the core will be powered down via the CPC.
      
        - Otherwise the CPU will hang by executing an infinite loop.
      
      Bringing CPUs back online is then a process of either clearing the
      appropriate VPEs TCHalt bit or powering up the appropriate core via the
      CPC. Throughout the process the struct core_boot_config vpe_mask field
      must be maintained such that mips_cps_boot_vpes will start & stop the
      correct VPEs.
      Signed-off-by: NPaul Burton <paul.burton@imgtec.com>
      1d8f1f5a
    • P
      MIPS: pm-cps: add PM state entry code for CPS systems · 3179d37e
      Paul Burton 提交于
      This patch adds code to generate entry & exit code for various low power
      states available on systems based around the MIPS Coherent Processing
      System architecture (ie. those with a Coherence Manager, Global
      Interrupt Controller & for >=CM2 a Cluster Power Controller). States
      supported are:
      
        - Non-coherent wait. This state first leaves the coherent domain and
          then executes a regular MIPS wait instruction. Power savings are
          found from the elimination of coherency interventions between the
          core and any other coherent requestors in the system.
      
        - Clock gated. This state leaves the coherent domain and then gates
          the clock input to the core. This removes all dynamic power from the
          core but leaves the core at the mercy of another to restart its
          clock. Register state is preserved, but the core can not service
          interrupts whilst its clock is gated.
      
        - Power gated. This deepest state removes all power input to the core.
          All register state is lost and the core will restart execution from
          its BEV when another core powers it back up. Because register state
          is lost this state requires cooperation with the CONFIG_MIPS_CPS SMP
          implementation in order for the core to exit the state successfully.
      
      The code will detect which states are available on the current system
      during boot & generate the entry/exit code for those states. This will
      be used by cpuidle & hotplug implementations.
      Signed-off-by: NPaul Burton <paul.burton@imgtec.com>
      3179d37e
    • T
      MIPS: SNI: Remove USE_GENERIC_EARLY_PRINTK_8250 · 5ec79bf9
      Thomas Bogendoerfer 提交于
      SNI RM code has its own EARLY_PRINTK support no need for some generic 8250
      stuff.
      Signed-off-by: NThomas Bogendoerfer <tsbogend@alpha.franken.de>
      Cc: linux-mips@linux-mips.org
      Patchwork: https://patchwork.linux-mips.org/patch/6715/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      5ec79bf9
  11. 24 5月, 2014 2 次提交
  12. 23 5月, 2014 1 次提交
  13. 02 5月, 2014 1 次提交
  14. 24 4月, 2014 1 次提交
  15. 08 4月, 2014 1 次提交
  16. 01 4月, 2014 4 次提交
  17. 31 3月, 2014 1 次提交
  18. 27 3月, 2014 8 次提交