1. 15 5月, 2014 1 次提交
  2. 30 10月, 2013 1 次提交
    • J
      MIPS: mm: Use scratch for PGD when !CONFIG_MIPS_PGD_C0_CONTEXT · f4ae17aa
      Jayachandran C 提交于
      Allow usage of scratch register for current pgd even when
      MIPS_PGD_C0_CONTEXT is not configured. MIPS_PGD_C0_CONTEXT is set
      for 64r2 platforms to indicate availability of Xcontext for saving
      cpuid, thus freeing Context to be used for saving PGD. This option
      was also tied to using a scratch register for storing PGD.
      
      This commit will allow usage of scratch register to store the current
      pgd if one can be allocated for the platform, even when
      MIPS_PGD_C0_CONTEXT is not set. The cpuid will be kept in the CP0
      Context register in this case.
      
      The code to store the current pgd for the TLB miss handler is now
      generated in all cases. When scratch register is available, the PGD
      is also stored in the scratch register.
      Signed-off-by: NJayachandran C <jchandra@broadcom.com>
      Cc: linux-mips@linux-mips.org
      Cc: Hauke Mehrtens <hauke@hauke-m.de>
      Patchwork: https://patchwork.linux-mips.org/patch/5906/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      f4ae17aa
  3. 26 8月, 2013 1 次提交
  4. 01 7月, 2013 1 次提交