1. 13 Nov, 2018 5 commits
    • Olof Johansson's avatar
      RISC-V: Silence some module warnings on 32-bit · ef3a6140
      Olof Johansson authored
      
      
      Fixes:
      
      arch/riscv/kernel/module.c: In function 'apply_r_riscv_32_rela':
      ./include/linux/kern_levels.h:5:18: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 3 has type 'Elf32_Addr' {aka 'unsigned int'} [-Wformat=]
      arch/riscv/kernel/module.c:23:27: note: format string is defined here
      arch/riscv/kernel/module.c: In function 'apply_r_riscv_pcrel_hi20_rela':
      ./include/linux/kern_levels.h:5:18: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 3 has type 'Elf32_Addr' {aka 'unsigned int'} [-Wformat=]
      arch/riscv/kernel/module.c:104:23: note: format string is defined here
      arch/riscv/kernel/module.c: In function 'apply_r_riscv_hi20_rela':
      ./include/linux/kern_levels.h:5:18: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 3 has type 'Elf32_Addr' {aka 'unsigned int'} [-Wformat=]
      arch/riscv/kernel/module.c:146:23: note: format string is defined here
      arch/riscv/kernel/module.c: In function 'apply_r_riscv_got_hi20_rela':
      ./include/linux/kern_levels.h:5:18: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 3 has type 'Elf32_Addr' {aka 'unsigned int'} [-Wformat=]
      arch/riscv/kernel/module.c:190:60: note: format string is defined here
      arch/riscv/kernel/module.c: In function 'apply_r_riscv_call_plt_rela':
      ./include/linux/kern_levels.h:5:18: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 3 has type 'Elf32_Addr' {aka 'unsigned int'} [-Wformat=]
      arch/riscv/kernel/module.c:214:24: note: format string is defined here
      arch/riscv/kernel/module.c: In function 'apply_r_riscv_call_rela':
      ./include/linux/kern_levels.h:5:18: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 3 has type 'Elf32_Addr' {aka 'unsigned int'} [-Wformat=]
      arch/riscv/kernel/module.c:236:23: note: format string is defined here
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      Signed-off-by: default avatarPalmer Dabbelt <palmer@sifive.com>
      ef3a6140
    • Olof Johansson's avatar
      RISC-V: lib: Fix build error for 64-bit · 85d90b91
      Olof Johansson authored
      Fixes the following build error from tinyconfig:
      
      riscv64-unknown-linux-gnu-ld: kernel/sched/fair.o: in function `.L8':
      fair.c:(.text+0x70): undefined reference to `__lshrti3'
      riscv64-unknown-linux-gnu-ld: kernel/time/clocksource.o: in function `.L0 ':
      clocksource.c:(.text+0x334): undefined reference to `__lshrti3'
      
      Fixes: 7f47c73b
      
       ("RISC-V: Build tishift only on 64-bit")
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      Signed-off-by: default avatarPalmer Dabbelt <palmer@sifive.com>
      85d90b91
    • David Abdurachmanov's avatar
      riscv: add missing vdso_install target · f157d411
      David Abdurachmanov authored
      
      
      Building kernel 4.20 for Fedora as RPM fails, because riscv is missing
      vdso_install target in arch/riscv/Makefile.
      Signed-off-by: default avatarDavid Abdurachmanov <david.abdurachmanov@gmail.com>
      Signed-off-by: default avatarPalmer Dabbelt <palmer@sifive.com>
      f157d411
    • David Abdurachmanov's avatar
      riscv: fix spacing in struct pt_regs · 10febb3e
      David Abdurachmanov authored
      
      
      Replace 8 spaces with tab to match styling.
      Signed-off-by: default avatarDavid Abdurachmanov <david.abdurachmanov@gmail.com>
      Signed-off-by: default avatarPalmer Dabbelt <palmer@sifive.com>
      10febb3e
    • Anup Patel's avatar
      RISC-V: defconfig: Enable printk timestamps · 4ab49461
      Anup Patel authored
      
      
      The printk timestamps are very useful information to visually see
      where kernel is spending time during boot. It also helps us see
      the timing of hotplug events at runtime.
      
      This patch enables printk timestamps in RISC-V defconfig so that
      we have it enabled by default (similar to other architectures
      such as x86_64, arm64, etc).
      Signed-off-by: default avatarAnup Patel <anup@brainfault.org>
      Acked-by: default avatarOlof Johansson <olof@lixom.net>
      Signed-off-by: default avatarPalmer Dabbelt <palmer@sifive.com>
      4ab49461
  2. 02 Nov, 2018 1 commit
  3. 31 Oct, 2018 8 commits
  4. 23 Oct, 2018 26 commits