1. 03 Jul, 2023 1 commit
    • Huacai Chen's avatar
      MIPS: Loongson: Fix cpu_probe_loongson() again · 65fee014
      Huacai Chen authored
      Commit 7db5e9e9 ("MIPS: loongson64: fix FTLB configuration")
      move decode_configs() from the beginning of cpu_probe_loongson() to the
      end in order to fix FTLB configuration. However, it breaks the CPUCFG
      decoding because decode_configs() use "c->options = xxxx" rather than
      "c->options |= xxxx", all information get from CPUCFG by decode_cpucfg()
      is lost.
      
      This causes error when creating a KVM guest on Loongson-3A4000:
      Exception Code: 4 not handled @ PC: 0000000087ad5981, inst: 0xcb7a1898 BadVaddr: 0x0 Status: 0x0
      
      Fix this by moving the c->cputype setting to the beginning and moving
      decode_configs() after that.
      
      Fixes: 7db5e9e9 ("MIPS: loongson64: fix FTLB configuration")
      Cc: stable@vger.kernel.org
      Cc: Huang Pei <huangpei@loongson.cn>
      Signed-off-by: default avatarHuacai Chen <chenhuacai@loongson.cn>
      Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
      65fee014
  2. 26 Jun, 2023 2 commits
  3. 23 Jun, 2023 11 commits
  4. 21 Jun, 2023 12 commits
  5. 20 Jun, 2023 5 commits
  6. 09 Jun, 2023 9 commits