All of lore.kernel.org
 help / color / mirror / Atom feed
From: Deepak Gupta <debug@rivosinc.com>
To: opensbi@lists.infradead.org
Subject: [PATCH v3 2/4] lib: sbi: Zicfilp/Zicfiss detection and elp cfi state reflect back in status
Date: Thu, 22 Aug 2024 11:14:10 -0700	[thread overview]
Message-ID: <Zsd/8kP6sJ4vGWiY@debug.ba.rivosinc.com> (raw)
In-Reply-To: <20240822174828.4031332-3-debug@rivosinc.com>

On Thu, Aug 22, 2024 at 10:48:26AM -0700, Deepak Gupta wrote:
>This patch adds support for zicfilp / zicfiss detection in sbi_hart.c
>If zicfilp and zicfiss are detected, this patch turns on menvcfg.LPE and
>menvcfg.SSE

Note to self.
Comment needs fixup. Turn on of LPE and SSE is via FWFT

>
>Zicfilp records status of hart's ELP state in *status csr. Missing landing pad
>sets MPELP in mstatus. When SBI is redirecting back to S/VS/HS, SPELP is
>set in sstatus/vsstatus.
>
>Signed-off-by: Deepak Gupta <debug@rivosinc.com>
>---


  reply	other threads:[~2024-08-22 18:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-22 17:48 [PATCH v3 0/4] zicfilp and zicfiss support in opensbi Deepak Gupta
2024-08-22 17:48 ` [PATCH v3 1/4] include: adding support for Zicfilp / Zicfiss encodings Deepak Gupta
2024-08-22 17:48 ` [PATCH v3 2/4] lib: sbi: Zicfilp/Zicfiss detection and elp cfi state reflect back in status Deepak Gupta
2024-08-22 18:14   ` Deepak Gupta [this message]
2024-08-22 17:48 ` [PATCH v3 3/4] lib: sbi: sw check exception delegation Deepak Gupta
2024-08-22 17:48 ` [PATCH v3 4/4] lib: sbi: fwft: implement landing pad and shadow stack fwft interface Deepak Gupta

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=Zsd/8kP6sJ4vGWiY@debug.ba.rivosinc.com \
    --to=debug@rivosinc.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.