From: Paul Walmsley <pjw@kernel.org>
To: Jun Sun <jsun@junsun.net>
Cc: linux-riscv@lists.infradead.org, pjw@kernel.org,
palmer@dabbelt.com, aou@eecs.berkeley.edu, alex@ghiti.fr,
linux-kernel@vger.kernel.org, junyan.lin@spacemit.com
Subject: Re: [PATCH] riscv: cpufeature: remove _RO from use_hcontext for KVM=m
Date: Mon, 30 Nov 2026 18:31:35 -0700 (MST) [thread overview]
Message-ID: <51dcf7fc-8121-6d46-5d45-19fe9c15f8e2@kernel.org> (raw)
In-Reply-To: <20260609183250.41892-1-jsun@junsun.net>
On Tue, 9 Jun 2026, Jun Sun wrote:
> use_hcontext is in __ro_after_init but only referenced from KVM's
> __jump_table. With KVM=m, jump_label_init_ro() never sees it, so
> it is never sealed. Module load then tries to write to the RO key
> in jump_label_add_module() and oopses.
Looks like this isn't against mainline?
- Paul
prev parent reply other threads:[~2026-12-01 1:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-09 18:32 Jun Sun
2026-12-01 1:31 ` Paul Walmsley [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=51dcf7fc-8121-6d46-5d45-19fe9c15f8e2@kernel.org \
--to=pjw@kernel.org \
--cc=alex@ghiti.fr \
--cc=aou@eecs.berkeley.edu \
--cc=jsun@junsun.net \
--cc=junyan.lin@spacemit.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=palmer@dabbelt.com \
/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®