1. May 01, 2020
  2. Apr 30, 2020
  3. Apr 29, 2020
  4. Apr 27, 2020
  5. Apr 20, 2020
  6. Apr 19, 2020
  7. Apr 17, 2020
  8. Apr 06, 2020
  9. Mar 28, 2020
  10. Mar 26, 2020
  11. Mar 24, 2020
  12. Mar 21, 2020
    • Atish Patra's avatar
      lib: Check MSIP bit after returning from WFI · 9a74a64a
      Atish Patra authored
      Commit 71d2b837 (lib: Move all coldboot wait APIs to sbi_init.c)
      caused a regression while moving the code from sbi_hart.c to sbi_init.c.
      
      As per original commit text, WFI can be implemented as a NOP according
      to the RISC-V privilege specification. Software should ensure that
      relevant interrupt pending bits are set. Otherwise, loop back to WFI.
      Fix the regression by applying the original patch to sbi_init.c.
      
      Fixes: 71d2b837
      
       ("lib: Move all coldboot wait APIs to sbi_init.c")
      
      Signed-off-by: default avatarAtish Patra <atish.patra@wdc.com>
      Reviewed-by: default avatarAnup Patel <anup.patel@wdc.com>
      9a74a64a