From: Andreas Schwab <schwab@suse.de>
To: opensbi@lists.infradead.org
Subject: [PATCH Zisslpcfi 2/2] lib: sbi: zsslpcfi detection and elp cfi state reflect back in status
Date: Wed, 21 Dec 2022 14:59:54 +0100 [thread overview]
Message-ID: <mvmwn6kn9gl.fsf@suse.de> (raw)
In-Reply-To: <CAEUhbmVbzA5UhFnV+Z_eDVBd1BizjyYjrzoJ7ymT4c=Vx6FjiQ@mail.gmail.com> (Bin Meng's message of "Wed, 21 Dec 2022 21:43:24 +0800")
On Dez 21 2022, Bin Meng wrote:
>> @@ -693,6 +704,16 @@ __mhpm_skip:
>> SBI_HART_EXT_SMSTATEEN, true);
>> }
>>
>> + if (hfeatures->priv_version >= SBI_HART_PRIV_VER_1_12) {
>> + val = csr_read_allowed(CSR_SSP, (unsigned long)&trap);
>> + ssp_exist = trap.cause?0:1;
ssp_exist = trap.cause == 0;
--
Andreas Schwab, SUSE Labs, schwab at suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
next prev parent reply other threads:[~2022-12-21 13:59 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-12 3:08 [PATCH Zisslpcfi 0/2] Support for zisslpcfi in opensbi Deepak Gupta
2022-12-12 3:08 ` [PATCH Zisslpcfi 1/2] include: adding support for zsslpcfi encodings Deepak Gupta
2022-12-21 13:39 ` Bin Meng
2022-12-12 3:08 ` [PATCH Zisslpcfi 2/2] lib: sbi: zsslpcfi detection and elp cfi state reflect back in status Deepak Gupta
2022-12-21 13:43 ` Bin Meng
2022-12-21 13:59 ` Andreas Schwab [this message]
2022-12-21 20:01 ` Deepak Gupta
2022-12-21 18:41 ` Deepak Gupta
2022-12-22 1:29 ` Bin Meng
2022-12-12 5:33 ` [PATCH Zisslpcfi 0/2] Support for zisslpcfi in opensbi 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=mvmwn6kn9gl.fsf@suse.de \
--to=schwab@suse.de \
--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