1. Jun 19, 2020
  2. Jun 18, 2020
  3. Jun 17, 2020
    • Huaqi Fang's avatar
      platform: Update Nuclei ux600 platform support · 518e85cc
      Huaqi Fang authored
      
      
      Changes are made to support our FPGA evaluation board,
      it has DDR memory(0xA0000000-0xB0000000).
      
      * Adapt the config.mk to match FPGA evaluation board DDR memory address
      * Since the RISC-V CPU core frequency of FPGA might change, so we use the
        fixed TIMER frequency to measure the real CPU core frequency.
      * And the UART baudrate has to set to 57600bps for Nuclei FPGA evaluation
        board when CPU core frequency is about 8MHz, otherwise the UART input
        will not work correctly.
      
      Signed-off-by: default avatarHuaqi Fang <578567190@qq.com>
      Reviewed-by: default avatarAnup Patel <anup.patel@wdc.com>
      518e85cc
  4. Jun 15, 2020
    • Alexandre Ghiti's avatar
      platform/lib: Allow the OS to map the regions that are protected by PMP · 6966ad0a
      Alexandre Ghiti authored
      
      
      This is achieved by removing the 'no-map' property from the
      'reserved-memory' node when PMP is present, otherwise we keep it as it
      offers a small protection if the OS does not map this region at all.
      A new callback in platform_override is introduced and allows to fixup the
      device-tree. It is used here to override this new default behaviour on
      SiFive Fu540 platforms that has an erratum that prevents S-mode software
      to access a PMP protected region using 1GB page table mapping.
      
      If PMP is present, telling the OS not to map the reserved regions does not
      add much protection since it only avoids access to regions that are already
      protected by PMP. But by not allowing the OS to map those regions, it
      creates holes in the OS system memory map and prevents the use of
      hugepages which would generate, among other benefits, less TLB miss.
      
      Signed-off-by: default avatarAlexandre Ghiti <alex@ghiti.fr>
      Reviewed-by: default avatarAtish Patra <atish.patra@wdc.com>
      Reviewed-by: default avatarAnup Patel <anup.patel@wdc.com>
      6966ad0a
    • Anup Patel's avatar
      lib: Fix __sbi_hfence_gvma_vmid_gpa() and __sbi_hfence_vvma_asid_va() · e2c3f01a
      Anup Patel authored
      
      
      The arguments/parameters of __sbi_hfence_gvma_vmid_gpa() and
      __sbi_hfence_vvma_asid_va() functions are swapped so we fix it.
      
      Currently, we did not face any issues because QEMU does a full
      TLB flush for all HFENCE instructions.
      
      We also improve documentation of HFENCE.GVMA and HFENCE.VVMA
      instruction encoding.
      
      Signed-off-by: default avatarAnup Patel <anup.patel@wdc.com>
      Reviewed-by: default avatarAtish Patra <atish.patra@wdc.com>
      e2c3f01a
  5. Jun 10, 2020
  6. Jun 08, 2020
  7. Jun 05, 2020
  8. May 23, 2020
  9. May 19, 2020
  10. May 18, 2020
  11. May 16, 2020
  12. May 10, 2020