From: Richard Henderson <richard.henderson@linaro.org>
To: Song Gao <gaosong@loongson.cn>, qemu-devel@nongnu.org
Cc: philmd@linaro.org, maobibo@loongson.cn, yangxiaojuan@loongson.cn
Subject: Re: [PATCH v1 1/6] target/loongarch: Fix loongarch_la464_initfn() misses setting LSPW.
Date: Thu, 10 Aug 2023 07:09:35 -0700 [thread overview]
Message-ID: <72c80cd0-9ce7-5610-c4c0-0d09b1f1e5ac@linaro.org> (raw)
In-Reply-To: <20230810124112.236640-2-gaosong@loongson.cn>
On 8/10/23 05:41, Song Gao wrote:
> Signed-off-by: Song Gao <gaosong@loongson.cn>
> ---
> target/loongarch/cpu.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/target/loongarch/cpu.c b/target/loongarch/cpu.c
> index dd1cd7d7d2..95e00a044c 100644
> --- a/target/loongarch/cpu.c
> +++ b/target/loongarch/cpu.c
> @@ -391,6 +391,7 @@ static void loongarch_la464_initfn(Object *obj)
> data = FIELD_DP32(data, CPUCFG2, LSX, 1),
> data = FIELD_DP32(data, CPUCFG2, LLFTP, 1);
> data = FIELD_DP32(data, CPUCFG2, LLFTP_VER, 1);
> + data = FIELD_DP32(data, CPUCFG2, LSPW, 1);
> data = FIELD_DP32(data, CPUCFG2, LAM, 1);
> env->cpucfg[2] = data;
>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
r~
next prev parent reply other threads:[~2023-08-10 14:10 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-10 12:41 [PATCH v1 0/6] Add some macros to check cpu features Song Gao
2023-08-10 12:41 ` [PATCH v1 1/6] target/loongarch: Fix loongarch_la464_initfn() misses setting LSPW Song Gao
2023-08-10 14:09 ` Richard Henderson [this message]
2023-08-10 12:41 ` [PATCH v1 2/6] target/loongarch: Add some checks before translating fpu instructions Song Gao
2023-08-10 15:03 ` Richard Henderson
2023-08-11 3:43 ` gaosong
2023-08-10 12:41 ` [PATCH v1 3/6] target/loongarch: Add REQUIRE_LSPW macro to check LSPW instructions Song Gao
2023-08-10 12:41 ` [PATCH v1 4/6] target/loongarch: Add REQUIRE_LAM macro to check atomic instructions Song Gao
2023-08-10 12:41 ` [PATCH v1 5/6] target/loongarch: Add REQUIRE_LSX macro to check LSX instructions Song Gao
2023-08-10 12:41 ` [PATCH v1 6/6] target/loongarch: Add REQUIRE_IOCSR macro to check IOCSR instructions Song Gao
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=72c80cd0-9ce7-5610-c4c0-0d09b1f1e5ac@linaro.org \
--to=richard.henderson@linaro.org \
--cc=gaosong@loongson.cn \
--cc=maobibo@loongson.cn \
--cc=philmd@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=yangxiaojuan@loongson.cn \
/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;
as well as URLs for NNTP newsgroup(s).