[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4ee64e89-1e67-42b5-96e0-e79375c6f383@gmx.de>
Date: Thu, 30 Oct 2025 15:21:15 +0100
From: Helge Deller <deller@....de>
To: Sven Schnelle <svens@...ckframe.org>
Cc: John David Anglin <dave.anglin@...l.net>, linux-parisc@...r.kernel.org,
 linux-kernel@...r.kernel.org,
 "James E.J. Bottomley" <James.Bottomley@...senPartnership.com>
Subject: Re: [PATCH] parisc/entry: fix space adjustment on interruption
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@...ckframe.org>
> ---
>   arch/parisc/kernel/entry.S | 11 ++++++++---
>   1 file changed, 8 insertions(+), 3 deletions(-)
applied.
Thanks!
Helge
Powered by blists - more mailing lists
 
