From: "Radim Krčmář" <rkrcmar@ventanamicro.com>
To: <cp0613@linux.alibaba.com>
Cc: <anup@brainfault.org>, <guoren@kernel.org>,
<opensbi@lists.infradead.org>,
"opensbi" <opensbi-bounces@lists.infradead.org>
Subject: Re: [PATCH v3] lib: sbi: Enable Ssqosid Ext using mstateen0
Date: Tue, 11 Nov 2025 11:18:21 +0100 [thread overview]
Message-ID: <DE5SEKPHV34G.18XMB4JDT7M0O@ventanamicro.com> (raw)
In-Reply-To: <20251111094938.1492-1-cp0613@linux.alibaba.com>
2025-11-11T17:49:36+08:00, <cp0613@linux.alibaba.com>:
> On 2025-11-10 02:41 PM, Radim Krčmář wrote:
>> > so there is no need to consider the execution
>> > situation in M-mode, it is only necessary to enable the relevant permissions.
>>
>> The execution of M-mode is affected by srmcfg, so we have to be
>> extremely careful about isolation in opensbi too, especially when
>> juggling multiple domains.
>>
>> (I think we might be fine now, but having opensbi switch to a srmcfg
>> that isn't controlled by S-mode will result in a lot less headaches...)
>>
>> Thanks.
>
> Indeed, strictly speaking, the execution of M-mode is also affected by srmcfg.
> When dealing with multiple domains, attention needs to be paid to isolation and
> context switching issues. I understand your point of view.
>
> However, I wonder if it could be done in a later stage of the work, because there
> is currently a draft specification smmtt[1] that is also related to this. This
> extension involves multiple Supervisor Domains, and at this time, it is necessary
> to implement context switching of srmcfg between different domains.
I agree that we can return to that issue later, as it's not clearly
buggy for now. For this patch, I would just like to fix the condition.
Thanks.
--
opensbi mailing list
opensbi@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/opensbi
prev parent reply other threads:[~2025-11-11 10:18 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-07 8:32 [PATCH v3] lib: sbi: Enable Ssqosid Ext using mstateen0 cp0613
2025-11-07 11:13 ` Radim Krčmář
2025-11-08 11:22 ` cp0613
2025-11-10 8:32 ` Radim Krčmář
2025-11-10 12:31 ` cp0613
2025-11-10 14:41 ` Radim Krčmář
2025-11-11 9:49 ` cp0613
2025-11-11 10:18 ` Radim Krčmář [this message]
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=DE5SEKPHV34G.18XMB4JDT7M0O@ventanamicro.com \
--to=rkrcmar@ventanamicro.com \
--cc=anup@brainfault.org \
--cc=cp0613@linux.alibaba.com \
--cc=guoren@kernel.org \
--cc=opensbi-bounces@lists.infradead.org \
--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.