1. Jun 12, 2019
  2. May 31, 2019
  3. May 24, 2019
  4. May 21, 2019
    • Anup Patel's avatar
      lib: Flush everything when remote TLB flush range is too large · 4e2cd478
      Anup Patel authored
      
      
      On latest Linux kernel (i.e. 5.2-rc1), we get large TLB flush
      request for user space addresses (typically, start=x and end=-1).
      This is caused by Linux kernel commit a21344dfc6 ("riscv: fix
      sbi_remote_sfence_vma{,_asid}").
      
      It's not practical to execute large number of sfence instructions
      for a large TLB flush range because it takes too much time and
      eventually causes CPU stall in Linux kernel.
      
      This patch addresses above issue by upgrading TLB flush range to
      TLB flush all whenever TLB flush range is greater than 1GB.
      
      Signed-off-by: default avatarAnup Patel <anup.patel@wdc.com>
      Reviewed-by: default avatarAtish Patra <atish.patra@wdc.com>
      4e2cd478
  5. May 10, 2019
  6. May 06, 2019
  7. Apr 30, 2019
    • Karsten Merker's avatar
      Makefile: explicitly disable PIE · f9643f34
      Karsten Merker authored
      
      
      The various available RISC-V toolchains differ in their default
      configuration regarding PIE, e.g. the buildroot RISC-V toolchain
      has PIE disabled by default while the Debian toolchain has it
      enabled by default.
      
      OpenSBI currently doesn't support being built with PIE enabled,
      therefore disable it explicitly by passing "-fno-pie -no-pie" in
      CFLAGS.
      
      Signed-off-by: default avatarKarsten Merker <merker@debian.org>
      Acked-by: default avatarAnup Patel <anup.patel@wdc.com>
      f9643f34
  8. Apr 26, 2019
  9. Apr 25, 2019
  10. Apr 24, 2019
  11. Apr 22, 2019
  12. Apr 15, 2019
  13. Apr 10, 2019
  14. Apr 09, 2019
    • Anup Patel's avatar
      TOP: Allow building platform out-of-tree · 54f31e82
      Anup Patel authored
      
      
      This patch extends our current build-system for building platform
      sources which are not part of OpenSBI sources.
      
      For example:
      
      Let's say we have out-of-tree ABC platform sources. We place these
      sources under <XYZ>/ABC directory along with its config.mk and
      objects.mk.
      
      To build out-of-tree ABC platform from OpenSBI directory:
      $ make PLATFORM_DIR=<XYZ>/ABC
      OR
      $ make PLATFORM_DIR=<XYZ> PLATFORM=ABC
      
      To build out-of-tree ABC platform from <XYZ>/ABC directory:
      $ make PLATFORM_DIR=<XYZ>/ABC -C <path_to_opensbi>
      OR
      $ make PLATFORM_DIR=<XYZ> PLATFORM=ABC -C <path_to_opensbi>
      
      Signed-off-by: default avatarAnup Patel <anup.patel@wdc.com>
      Reviewed-by: default avatarAlistair Francis <alistair.francis@wdc.com>
      54f31e82
  15. Apr 06, 2019
  16. Apr 04, 2019
  17. Apr 03, 2019