From: Xi Ruoyao <xry111@xry111.site>
To: Tiezhu Yang <yangtiezhu@loongson.cn>,
Huacai Chen <chenhuacai@kernel.org>
Cc: loongarch@lists.linux.dev, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] LoongArch: Enable generic CPU vulnerabilites support
Date: Tue, 24 Sep 2024 15:48:06 +0800 [thread overview]
Message-ID: <5154cb18303e4b902bb4f58e66f3dc22fedc4672.camel@xry111.site> (raw)
In-Reply-To: <20240924062001.31029-1-yangtiezhu@loongson.cn>
On Tue, 2024-09-24 at 14:20 +0800, Tiezhu Yang wrote:
> Currently, many architectures support generic CPU vulnerabilites,
> such as x86, arm64 and riscv:
>
> commit 61dc0f555b5c ("x86/cpu: Implement CPU vulnerabilites sysfs functions")
> commit 61ae1321f06c ("arm64: enable generic CPU vulnerabilites support")
> commit 0e3f3649d44b ("riscv: Enable generic CPU vulnerabilites support")
>
> All LoongArch CPUs (not only LS3A5000)
There will be other LoongArch CPUs (some may be even not designed by
Loongson Technology). So to me we should match the CPUCFG.PRID value
and report "Unknown: No mitigations" for unknown models, instead of
being too optimistic and report "Not Affected" for them.
--
Xi Ruoyao <xry111@xry111.site>
School of Aerospace Science and Technology, Xidian University
prev parent reply other threads:[~2024-09-24 7:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-24 6:20 Tiezhu Yang
2024-09-24 7:48 ` Xi Ruoyao [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=5154cb18303e4b902bb4f58e66f3dc22fedc4672.camel@xry111.site \
--to=xry111@xry111.site \
--cc=chenhuacai@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=loongarch@lists.linux.dev \
--cc=yangtiezhu@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
all inboxes | Powered by JetHome®