1. Dec 04, 2020
  2. Dec 01, 2020
  3. Nov 27, 2020
  4. Nov 10, 2020
    • Anup Patel's avatar
      lib: sbi: Improve boot prints in cold boot sequence · 48616b3d
      Anup Patel authored
      
      
      Currently, we have all boot prints at the end of cold boot sequence
      which means if there is any failure in cold boot sequence before
      boot prints then we don't get any print.
      
      This patch improves boot prints in cold boot sequence as follows:
      1. We divide the boot prints into multiple parts and print it
         from different locations after sbi_console_init()
      2. We throw an error print if there is any failure in cold boot
         sequence after sbi_console_init()
      
      Signed-off-by: default avatarAnup Patel <anup.patel@wdc.com>
      Reviewed-by: default avatarAtish Patra <atish.patra@wdc.com>
      48616b3d
  5. Nov 02, 2020
  6. Oct 27, 2020
  7. Oct 23, 2020
  8. Oct 21, 2020
  9. Oct 20, 2020
  10. Oct 18, 2020
  11. Oct 10, 2020
  12. Oct 02, 2020
  13. Sep 25, 2020
  14. Sep 16, 2020
    • Anup Patel's avatar
      platform: generic: Don't mark non-MMU HARTs as invalid · aaeca7eb
      Anup Patel authored
      
      
      Currently, the generic platform fw_platform_init() marks non-MMU
      HARTs (e.g. E-core on SiFive Unleashed) as invalid. This means
      such non-MMU HARTs won't be allowed to go ahead by sbi_init().
      
      The sbi_init() now has a check for next stage privilege mode when
      selecting coldboot HART. This check will force non-MMU HARTS (i.e.
      HARTs without S-mode) to proceed in warmboot path and wait in the
      HSM STOPPED state. This means we don't need to mark non-MMU HARTs
      as invalid in generic platform fw_platform_init().
      
      Signed-off-by: default avatarAnup Patel <anup.patel@wdc.com>
      Reviewed-by: default avatarAtish Patra <atish.patra@wdc.com>
      aaeca7eb
    • Anup Patel's avatar
      lib: sbi: Ensure coldboot HART supports next privilege mode · 172fa160
      Anup Patel authored
      
      
      The coldboot HART jumps to the next booting stage at the end of
      init_coldboot() so it is absolutely necessary for coldboot HART
      to support the privilege mode expected by the next booting stage.
      
      We extend the coldboot HART selection in sbi_init() to ensure that
      the selected coldboot HART always supports privilege mode specified
      in scratch space (i.e. scratch->next_mode). This will further help
      us allow E-core (without MMU) on SiFive Unleashed and PolarFire
      ICICLE boards to proceed further and wait in HSM STOPPED state.
      
      Signed-off-by: default avatarAnup Patel <anup.patel@wdc.com>
      Reviewed-by: default avatarAtish Patra <atish.patra@wdc.com>
      172fa160