From: Helge Deller <deller@gmx.de>
To: Sven Schnelle <svens@stackframe.org>
Cc: John David Anglin <dave.anglin@bell.net>,
linux-parisc@vger.kernel.org, linux-kernel@vger.kernel.org,
"James E.J. Bottomley" <James.Bottomley@HansenPartnership.com>
Subject: Re: [PATCH] parisc/entry: fix space adjustment on interruption
Date: Thu, 30 Oct 2025 15:21:15 +0100 [thread overview]
Message-ID: <4ee64e89-1e67-42b5-96e0-e79375c6f383@gmx.de> (raw)
In-Reply-To: <20251030075605.61854-1-svens@stackframe.org>
On 10/30/25 08:56, Sven Schnelle wrote:
> In wide mode, the IASQ contain the upper part of the GVA
> during interruption. This needs to be reversed before
> the space is used - otherwise it contains parts of IAOQ.
> See Page 2-13 "Processing Resources / Interruption Instruction
> Address Queues" in the Parisc 2.0 Architecture Manual page 2-13
> for an explanation.
>
> The IAOQ/IASQ space_adjust was skipped for other interruptions
> than itlb misses. However, the code in handle_interruption()
> checks whether iasq[0] contains a valid space. Due to the not
> masked out bits this match failed and the process was killed.
>
> Also add space_adjust for IAOQ1/IASQ1 so ptregs contains sane values.
>
> Signed-off-by: Sven Schnelle <svens@stackframe.org>
> ---
> arch/parisc/kernel/entry.S | 11 ++++++++---
> 1 file changed, 8 insertions(+), 3 deletions(-)
applied.
Thanks!
Helge
prev parent reply other threads:[~2025-10-30 14:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-30 7:56 Sven Schnelle
2025-10-30 14:21 ` Helge Deller [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=4ee64e89-1e67-42b5-96e0-e79375c6f383@gmx.de \
--to=deller@gmx.de \
--cc=James.Bottomley@HansenPartnership.com \
--cc=dave.anglin@bell.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-parisc@vger.kernel.org \
--cc=svens@stackframe.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 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®