1. 13 Feb, 2021 3 commits
  2. 11 Feb, 2021 3 commits
  3. 09 Feb, 2021 7 commits
  4. 04 Feb, 2021 9 commits
  5. 03 Feb, 2021 4 commits
  6. 27 Jan, 2021 6 commits
  7. 25 Jan, 2021 6 commits
  8. 22 Jan, 2021 2 commits
    • Arnd Bergmann's avatar
      MIPS: make kgdb depend on FPU support · 42b20995
      Arnd Bergmann authored
      kgdb fails to build when the FPU support is disabled:
      
      arch/mips/kernel/kgdb.c: In function 'dbg_set_reg':
      arch/mips/kernel/kgdb.c:147:35: error: 'struct thread_struct' has no member named 'fpu'
        147 |    memcpy((void *)&current->thread.fpu.fcr31, mem,
            |                                   ^
      arch/mips/kernel/kgdb.c:155:34: error: 'struct thread_struct' has no member named 'fpu'
        155 |   memcpy((void *)&current->thread.fpu.fpr[fp_reg], mem,
      
      This is only relevant for CONFIG_EXPERT=y, so disallowing it
      in Kconfig is an easier workaround than fixing it properly.
      Reported-by: default avatarkernel test robot <lkp@intel.com>
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
      42b20995
    • Arnd Bergmann's avatar
      MIPS: jazz: always allow little-endian builds · aadfe4b5
      Arnd Bergmann authored
      The kernel test robot keeps reporting the same bug when it
      shows up in new files after random unrelated patches:
      
      In file included from arch/mips/include/uapi/asm/byteorder.h:13,
                       from arch/mips/include/asm/bitops.h:20,
                       from include/linux/bitops.h:26,
                       from include/linux/kernel.h:12,
                       from include/linux/clk.h:13,
                       from drivers/base/regmap/regmap-mmio.c:7:
      include/linux/byteorder/big_endian.h:8:2: warning: #warning inconsistent configuration, needs CONFIG_CPU_BIG_ENDIAN [-Wcpp]
          8 | #warning inconsistent configuration, needs CONFIG_CPU_BIG_ENDIAN
            |  ^~~~~~~
      drivers/base/regmap/regmap-mmio.c: In function 'regmap_mmio_gen_context':
      >> drivers/base/regmap/regmap-mmio.c:274:2: error: duplicate case value
        274 |  case REGMAP_ENDIAN_NATIVE:
            |  ^~~~
      drivers/base/regmap/regmap-mmio.c:246:2: note: previously used here
        246 |  case REGMAP_ENDIAN_NATIVE:
      
      The problem is that some randconfig builds end up on the MIPS jazz
      platform with neither CONFIG_CPU_BIG_ENDIAN nor CONFIG_CPU_LITTLE_ENDIAN
      because no specific machine is selected. As it turns out, all jazz
      machines support little-endian kernels, so this can simply be allowed
      globally.
      Reported-by: default avatarkernel test robot <lkp@intel.com>
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
      aadfe4b5