OpenSBI Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Anup Patel <apatel@ventanamicro.com>
To: opensbi@lists.infradead.org
Subject: [PATCH 00/11] HART Feature Improvements
Date: Fri, 29 Apr 2022 21:21:40 +0530	[thread overview]
Message-ID: <20220429155151.314788-1-apatel@ventanamicro.com> (raw)

This series does following improvements to OpenSBI hart features:
1) Add per-HART priv spec version
2) Remove redundant per-HART features
3) Convert HART features into HART extensions
4) Platform callback to populate HART extensions

These patches can also be found in the hart_feat_v1 brach at:
https://github.com/avpatel/opensbi.git

Anup Patel (11):
  lib: sbi: Detect and print privileged spec version
  lib: sbi: Remove 's' and 'u' from misa_string() output
  lib: sbi: Update the name of ISA string printed at boot time
  lib: sbi: Remove MCOUNTEREN and SCOUNTEREN hart features
  lib: sbi: Remove MCOUNTINHIBT hart feature
  lib: sbi: Remove MENVCFG hart feature
  lib: sbi: Fix AIA feature detection
  lib: sbi: Convert hart features into hart extensions
  lib: sbi: Detect hart features only once for each hart
  lib: sbi: Add sbi_hart_update_extension() function
  lib: sbi_platform: Add callback to populate HART extensions

 include/sbi/sbi_hart.h     |  61 ++++----
 include/sbi/sbi_platform.h |  18 +++
 lib/sbi/riscv_asm.c        |   2 +-
 lib/sbi/sbi_emulate_csr.c  |   4 +-
 lib/sbi/sbi_hart.c         | 288 +++++++++++++++++++++----------------
 lib/sbi/sbi_init.c         |   8 +-
 lib/sbi/sbi_pmu.c          |  19 +--
 lib/sbi/sbi_timer.c        |   6 +-
 lib/sbi/sbi_trap.c         |   4 +-
 lib/utils/fdt/fdt_pmu.c    |   2 +-
 10 files changed, 246 insertions(+), 166 deletions(-)

-- 
2.34.1



             reply	other threads:[~2022-04-29 15:51 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-29 15:51 Anup Patel [this message]
2022-04-29 15:51 ` [PATCH 01/11] lib: sbi: Detect and print privileged spec version Anup Patel
2022-05-04  1:42   ` Atish Patra
2022-05-07  4:57     ` Anup Patel
2022-04-29 15:51 ` [PATCH 02/11] lib: sbi: Remove 's' and 'u' from misa_string() output Anup Patel
2022-05-04  1:42   ` Atish Patra
2022-05-07  4:58     ` Anup Patel
2022-04-29 15:51 ` [PATCH 03/11] lib: sbi: Update the name of ISA string printed at boot time Anup Patel
2022-05-04  1:55   ` Atish Patra
2022-05-07  4:59     ` Anup Patel
2022-04-29 15:51 ` [PATCH 04/11] lib: sbi: Remove MCOUNTEREN and SCOUNTEREN hart features Anup Patel
2022-05-04  1:51   ` Atish Patra
2022-05-04  1:55     ` Atish Patra
2022-05-07  5:00     ` Anup Patel
2022-04-29 15:51 ` [PATCH 05/11] lib: sbi: Remove MCOUNTINHIBT hart feature Anup Patel
2022-05-04  1:56   ` Atish Patra
2022-05-07  5:00     ` Anup Patel
2022-04-29 15:51 ` [PATCH 06/11] lib: sbi: Remove MENVCFG " Anup Patel
2022-05-04  1:57   ` Atish Patra
2022-05-07  5:03     ` Anup Patel
2022-04-29 15:51 ` [PATCH 07/11] lib: sbi: Fix AIA feature detection Anup Patel
2022-05-04  1:57   ` Atish Patra
2022-05-07  5:03     ` Anup Patel
2022-04-29 15:51 ` [PATCH 08/11] lib: sbi: Convert hart features into hart extensions Anup Patel
2022-05-04  2:00   ` Atish Patra
2022-05-07  5:04     ` Anup Patel
2022-04-29 15:51 ` [PATCH 09/11] lib: sbi: Detect hart features only once for each hart Anup Patel
2022-05-04  2:01   ` Atish Patra
2022-05-07  5:04     ` Anup Patel
2022-04-29 15:51 ` [PATCH 10/11] lib: sbi: Add sbi_hart_update_extension() function Anup Patel
2022-05-04  2:02   ` Atish Patra
2022-05-07  5:04     ` Anup Patel
2022-04-29 15:51 ` [PATCH 11/11] lib: sbi_platform: Add callback to populate HART extensions Anup Patel
2022-05-04  2:05   ` Atish Patra
2022-05-07  5:05     ` Anup Patel
2022-05-05 16:30 ` [PATCH 00/11] HART Feature Improvements Xiang W
2022-05-06  3:21   ` Anup Patel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220429155151.314788-1-apatel@ventanamicro.com \
    --to=apatel@ventanamicro.com \
    --cc=opensbi@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox