All of lore.kernel.org
 help / color / mirror / Atom feed
From: Leo Liang <ycliang@andestech.com>
To: Yao Zi <ziyao@disroot.org>
Cc: Rick Chen <rick@andestech.com>, Tom Rini <trini@konsulko.com>,
	Wei Fu <wefu@redhat.com>, Yixun Lan <dlan@gentoo.org>,
	Ilias Apalodimas <ilias.apalodimas@linaro.org>,
	Maksim Kiselev <bigunclemax@gmail.com>,
	Jaehoon Chung <jh80.chung@samsung.com>,
	Jerome Forissier <jerome.forissier@linaro.org>,
	Sughosh Ganu <sughosh.ganu@linaro.org>, <u-boot@lists.denx.de>,
	Han Gao <rabenda.cn@gmail.com>, Han Gao <gaohan@iscas.ac.cn>
Subject: Re: [PATCH 2/5] riscv: cpu: th1520: Support cache enabling/disabling in M mode only
Date: Mon, 2 Jun 2025 18:48:52 +0800	[thread overview]
Message-ID: <aD2BlEJ_nuvaGi1K@swlinux02> (raw)
In-Reply-To: <20250530094851.57198-3-ziyao@disroot.org>

On Fri, May 30, 2025 at 09:48:48AM +0000, Yao Zi wrote:
> [EXTERNAL MAIL]
> 
> These operations rely on a customized M-mode CSR, MHCR, which isn't
> available when running in S mode.
> 
> Let's fallback to the generic weak stub when running in S mode to avoid
> illegal accesses.
> 
> Signed-off-by: Yao Zi <ziyao@disroot.org>
> ---
>  arch/riscv/cpu/th1520/cache.c | 2 ++
>  1 file changed, 2 insertions(+)

Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>

  reply	other threads:[~2025-06-02 10:49 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-30  9:48 [PATCH 0/5] Convert Lichee Pi 4A to use S-Mode proper U-Boot Yao Zi
2025-05-30  9:48 ` [PATCH 1/5] riscv: cpu: th1520: Build spl.c for SPL only Yao Zi
2025-06-02 10:18   ` Leo Liang
2025-05-30  9:48 ` [PATCH 2/5] riscv: cpu: th1520: Support cache enabling/disabling in M mode only Yao Zi
2025-06-02 10:48   ` Leo Liang [this message]
2025-05-30  9:48 ` [PATCH 3/5] riscv: dts: th1520: Prepare binman configuration for loading OpenSBI Yao Zi
2025-06-03  3:23   ` Leo Liang
2025-05-30  9:48 ` [PATCH 4/5] board: thead: licheepi4a: Run proper U-Boot in S-Mode Yao Zi
2025-06-03  3:23   ` Leo Liang
2025-05-30  9:48 ` [PATCH 5/5] doc: thead: lpi4a: Update for S-Mode proper U-Boot support Yao Zi
2025-06-03  3:24   ` Leo Liang
2025-06-12 11:42 ` [PATCH 0/5] Convert Lichee Pi 4A to use S-Mode proper U-Boot Tom Plant
2025-06-26 21:56 ` Ricardo B. Marlière

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=aD2BlEJ_nuvaGi1K@swlinux02 \
    --to=ycliang@andestech.com \
    --cc=bigunclemax@gmail.com \
    --cc=dlan@gentoo.org \
    --cc=gaohan@iscas.ac.cn \
    --cc=ilias.apalodimas@linaro.org \
    --cc=jerome.forissier@linaro.org \
    --cc=jh80.chung@samsung.com \
    --cc=rabenda.cn@gmail.com \
    --cc=rick@andestech.com \
    --cc=sughosh.ganu@linaro.org \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=wefu@redhat.com \
    --cc=ziyao@disroot.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.