1. Oct 06, 2023
  2. Oct 04, 2023
    • Inochi Amaoto's avatar
      platform: generic: thead: fix stale TLB entries for th1520/sg2042 · 3669153e
      Inochi Amaoto authored
      
      
      The TLB entries remain functional all the time once added in T-HEAD th1520
      and Sophgo sg2042 (even if the MMU is then disabled afterwards). If there
      are some stale TLB entries that contains the address of SBI, it will cause
      unexpected memory access and issue a illegal instruction error. To avoid
      this, a TLB flush is needed to drop these TLB entries before any memory
      access in the trap handler.
      
      To handle this workaroud, add a custom trap handler with executing TLB flush
      first in the T-HEAD platform to fix affected socs.
      
      Signed-off-by: default avatarInochi Amaoto <inochiama@outlook.com>
      Reviewed-by: default avatarAnup Patel <anup@brainfault.org>
      3669153e
  3. Sep 24, 2023
  4. Sep 22, 2023
  5. Sep 10, 2023
  6. Sep 06, 2023
  7. Aug 22, 2023
  8. Aug 18, 2023
  9. Aug 06, 2023