1. Jul 26, 2019
    • Anup Patel's avatar
      lib: Allow compiling without FP support · 0f18b3fe
      Anup Patel authored
      
      
      Currently, we mandate 'F' and 'D' extension in riscv_fp.h so that
      misaligned load/store emulation has access to FP registers.
      
      The above is too restrictive and we should certainly allow compilation
      for soft-FP toolchains and explicit PLATFORM_RISCV_ISA not having 'F'
      and 'D' extensions.
      
      This patch extends riscv_fp.h and misaligned load/store emulation to
      allow compiling OpenSBI without FP support.
      
      Signed-off-by: default avatarAnup Patel <anup.patel@wdc.com>
      Reviewed-by: default avatarBin Meng <bmeng.cn@gmail.com>
      0f18b3fe
  2. Jul 25, 2019
  3. Jul 24, 2019
  4. Jul 22, 2019
  5. Jul 02, 2019
  6. Jul 01, 2019
  7. Jun 30, 2019
  8. Jun 29, 2019
  9. Jun 24, 2019
  10. Jun 19, 2019
  11. Jun 17, 2019
  12. Jun 12, 2019
  13. May 31, 2019
  14. May 24, 2019
  15. 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
  16. May 10, 2019