1. Jun 25, 2022
    • Anup Patel's avatar
      include: Bump-up version to 1.1 · 4489876e
      Anup Patel authored
      
      
      This patch updates OpenSBI version to 1.1 as part of
      release preparation.
      
      Signed-off-by: default avatarAnup Patel <apatel@ventanamicro.com>
      4489876e
    • Sergey Matyukevich's avatar
      lib: pmu: allow to use the highest available counter · 3f66465f
      Sergey Matyukevich authored
      
      
      OpenSBI explicitly assumes that there is no pmu hardware counter with
      index 1: hardware uses that bit for TM control. So OpenSBI filters
      out that index in sanity checks. However OpenSBI also excludes that
      counter when reports total amount of hardware counters to Linux. As
      a result, Linux uses incomplete counters mask excluding the highest
      available counter.
      
      Return accurate number of counters, update the firmware counter
      starting index, fix range checks that include num_hw_ctrs.
      
      The simple test is to make sure that there is no counter multiplexing
      in the following command:
      
      $ perf stat -e \
      	r8000000000000000,r8000000000000001,r8000000000000002,r8000000000000003, \
      	r8000000000000004,r8000000000000005,r8000000000000006,r8000000000000007, \
      	r8000000000000008,r8000000000000009,r800000000000000a,r800000000000000b, \
      	r800000000000000c,r800000000000000d,r800000000000000e,r800000000000000f  \
      	ls
      
      Note that 16 firmware events with 16 counters won't require multiplexing.
      
      Signed-off-by: default avatarSergey Matyukevich <geomatsi@gmail.com>
      Signed-off-by: default avatarAtish Patra <atishp@rivosinc.com>
      Reviewed-by: default avatarAtish Patra <atishp@rivosinc.com>
      3f66465f
  2. Jun 24, 2022
  3. Jun 22, 2022
  4. Jun 21, 2022
  5. Jun 13, 2022
  6. Jun 01, 2022
  7. May 30, 2022
  8. May 14, 2022
  9. May 13, 2022