public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
* FAILED: patch "[PATCH] parisc: Fix asm operand number out of range build error in" failed to apply to 6.1-stable tree
@ 2023-12-09 12:33 gregkh
  2023-12-10 16:43 ` Helge Deller
  0 siblings, 1 reply; 5+ messages in thread
From: gregkh @ 2023-12-09 12:33 UTC (permalink / raw)
  To: deller, lkft; +Cc: stable


The patch below does not apply to the 6.1-stable tree.
If someone wants it applied there, or to any other stable or longterm
tree, then please email the backport, including the original git commit
id to <stable@vger.kernel.org>.

To reproduce the conflict and resubmit, you may use the following commands:

git fetch https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ linux-6.1.y
git checkout FETCH_HEAD
git cherry-pick -x 487635756198cad563feb47539c6a37ea57f1dae
# <resolve conflicts, build, test, etc.>
git commit -s
git send-email --to '<stable@vger.kernel.org>' --in-reply-to '2023120949-waged-entail-7b6b@gregkh' --subject-prefix 'PATCH 6.1.y' HEAD^..

Possible dependencies:

487635756198 ("parisc: Fix asm operand number out of range build error in bug table")
43266838515d ("parisc: Reduce size of the bug_table on 64-bit kernel by half")
fe76a1349f23 ("parisc: Use natural CPU alignment for bug_table")

thanks,

greg k-h

------------------ original commit in Linus's tree ------------------

From 487635756198cad563feb47539c6a37ea57f1dae Mon Sep 17 00:00:00 2001
From: Helge Deller <deller@gmx.de>
Date: Mon, 27 Nov 2023 10:39:26 +0100
Subject: [PATCH] parisc: Fix asm operand number out of range build error in
 bug table

Build is broken if CONFIG_DEBUG_BUGVERBOSE=n.
Fix it be using the correct asm operand number.

Signed-off-by: Helge Deller <deller@gmx.de>
Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
Fixes: fe76a1349f23 ("parisc: Use natural CPU alignment for bug_table")
Cc: stable@vger.kernel.org   # v6.0+

diff --git a/arch/parisc/include/asm/bug.h b/arch/parisc/include/asm/bug.h
index 1641ff9a8b83..833555f74ffa 100644
--- a/arch/parisc/include/asm/bug.h
+++ b/arch/parisc/include/asm/bug.h
@@ -71,7 +71,7 @@
 		asm volatile("\n"					\
 			     "1:\t" PARISC_BUG_BREAK_ASM "\n"		\
 			     "\t.pushsection __bug_table,\"a\"\n"	\
-			     "\t.align %2\n"				\
+			     "\t.align 4\n"				\
 			     "2:\t" __BUG_REL(1b) "\n"			\
 			     "\t.short %0\n"				\
 			     "\t.blockz %1-4-2\n"			\


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: FAILED: patch "[PATCH] parisc: Fix asm operand number out of range build error in" failed to apply to 6.1-stable tree
  2023-12-09 12:33 FAILED: patch "[PATCH] parisc: Fix asm operand number out of range build error in" failed to apply to 6.1-stable tree gregkh
@ 2023-12-10 16:43 ` Helge Deller
  2023-12-11  6:44   ` Greg KH
  0 siblings, 1 reply; 5+ messages in thread
From: Helge Deller @ 2023-12-10 16:43 UTC (permalink / raw)
  To: gregkh, lkft; +Cc: stable

On 12/9/23 13:33, gregkh@linuxfoundation.org wrote:
>
> The patch below does not apply to the 6.1-stable tree.
> If someone wants it applied there, or to any other stable or longterm
> tree, then please email the backport, including the original git commit
> id to <stable@vger.kernel.org>.

Right, it does not apply, and does NOT need to be backported.

So, please just ignore/drop it for 6.1 and 6.6 stable series.

Thanks!
Helge

>
> To reproduce the conflict and resubmit, you may use the following commands:
>
> git fetch https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ linux-6.1.y
> git checkout FETCH_HEAD
> git cherry-pick -x 487635756198cad563feb47539c6a37ea57f1dae
> # <resolve conflicts, build, test, etc.>
> git commit -s
> git send-email --to '<stable@vger.kernel.org>' --in-reply-to '2023120949-waged-entail-7b6b@gregkh' --subject-prefix 'PATCH 6.1.y' HEAD^..
>
> Possible dependencies:
>
> 487635756198 ("parisc: Fix asm operand number out of range build error in bug table")
> 43266838515d ("parisc: Reduce size of the bug_table on 64-bit kernel by half")
> fe76a1349f23 ("parisc: Use natural CPU alignment for bug_table")
>
> thanks,
>
> greg k-h
>
> ------------------ original commit in Linus's tree ------------------
>
>  From 487635756198cad563feb47539c6a37ea57f1dae Mon Sep 17 00:00:00 2001
> From: Helge Deller <deller@gmx.de>
> Date: Mon, 27 Nov 2023 10:39:26 +0100
> Subject: [PATCH] parisc: Fix asm operand number out of range build error in
>   bug table
>
> Build is broken if CONFIG_DEBUG_BUGVERBOSE=n.
> Fix it be using the correct asm operand number.
>
> Signed-off-by: Helge Deller <deller@gmx.de>
> Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
> Fixes: fe76a1349f23 ("parisc: Use natural CPU alignment for bug_table")
> Cc: stable@vger.kernel.org   # v6.0+
>
> diff --git a/arch/parisc/include/asm/bug.h b/arch/parisc/include/asm/bug.h
> index 1641ff9a8b83..833555f74ffa 100644
> --- a/arch/parisc/include/asm/bug.h
> +++ b/arch/parisc/include/asm/bug.h
> @@ -71,7 +71,7 @@
>   		asm volatile("\n"					\
>   			     "1:\t" PARISC_BUG_BREAK_ASM "\n"		\
>   			     "\t.pushsection __bug_table,\"a\"\n"	\
> -			     "\t.align %2\n"				\
> +			     "\t.align 4\n"				\
>   			     "2:\t" __BUG_REL(1b) "\n"			\
>   			     "\t.short %0\n"				\
>   			     "\t.blockz %1-4-2\n"			\
>


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: FAILED: patch "[PATCH] parisc: Fix asm operand number out of range build error in" failed to apply to 6.1-stable tree
  2023-12-10 16:43 ` Helge Deller
@ 2023-12-11  6:44   ` Greg KH
  2023-12-11 14:56     ` Helge Deller
  0 siblings, 1 reply; 5+ messages in thread
From: Greg KH @ 2023-12-11  6:44 UTC (permalink / raw)
  To: Helge Deller; +Cc: lkft, stable

On Sun, Dec 10, 2023 at 05:43:53PM +0100, Helge Deller wrote:
> On 12/9/23 13:33, gregkh@linuxfoundation.org wrote:
> > 
> > The patch below does not apply to the 6.1-stable tree.
> > If someone wants it applied there, or to any other stable or longterm
> > tree, then please email the backport, including the original git commit
> > id to <stable@vger.kernel.org>.
> 
> Right, it does not apply, and does NOT need to be backported.

Are you sure?

I ask because:

> > Fixes: fe76a1349f23 ("parisc: Use natural CPU alignment for bug_table")
> > Cc: stable@vger.kernel.org   # v6.0+

Both of those lines imply that yes, it should be backported.  Are they
incorrect?

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: FAILED: patch "[PATCH] parisc: Fix asm operand number out of range build error in" failed to apply to 6.1-stable tree
  2023-12-11  6:44   ` Greg KH
@ 2023-12-11 14:56     ` Helge Deller
  2023-12-11 16:48       ` Greg KH
  0 siblings, 1 reply; 5+ messages in thread
From: Helge Deller @ 2023-12-11 14:56 UTC (permalink / raw)
  To: Greg KH; +Cc: lkft, stable

Hi Greg,

On 12/11/23 07:44, Greg KH wrote:
> On Sun, Dec 10, 2023 at 05:43:53PM +0100, Helge Deller wrote:
>> On 12/9/23 13:33, gregkh@linuxfoundation.org wrote:
>>>
>>> The patch below does not apply to the 6.1-stable tree.
>>> If someone wants it applied there, or to any other stable or longterm
>>> tree, then please email the backport, including the original git commit
>>> id to <stable@vger.kernel.org>.
>>
>> Right, it does not apply, and does NOT need to be backported.
>
> Are you sure?
>
> I ask because:
>
>>> Fixes: fe76a1349f23 ("parisc: Use natural CPU alignment for bug_table")
>>> Cc: stable@vger.kernel.org   # v6.0+
>
> Both of those lines imply that yes, it should be backported.  Are they
> incorrect?

Oh, I added a wrong "Fixes:" tag in the upstream commit. Instead it should be:
Fixes: 43266838515d ("parisc: Reduce size of the bug_table on 64-bit kernel by half")
but this commit was originally not tagged for stable series.

I see Sasha pulled it nevertheless into stable-rc series, together with this commit
here: "parisc: Fix asm operand number out of range build error in".

So, either we keep both (as it is currently in stable-rc), or we drop both:
* parisc: Reduce size of the bug_table on 64-bit kernel by half
* parisc: Fix asm operand number out of range build error in

I'm fine with either option.

Helge

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: FAILED: patch "[PATCH] parisc: Fix asm operand number out of range build error in" failed to apply to 6.1-stable tree
  2023-12-11 14:56     ` Helge Deller
@ 2023-12-11 16:48       ` Greg KH
  0 siblings, 0 replies; 5+ messages in thread
From: Greg KH @ 2023-12-11 16:48 UTC (permalink / raw)
  To: Helge Deller; +Cc: lkft, stable

On Mon, Dec 11, 2023 at 03:56:47PM +0100, Helge Deller wrote:
> Hi Greg,
> 
> On 12/11/23 07:44, Greg KH wrote:
> > On Sun, Dec 10, 2023 at 05:43:53PM +0100, Helge Deller wrote:
> > > On 12/9/23 13:33, gregkh@linuxfoundation.org wrote:
> > > > 
> > > > The patch below does not apply to the 6.1-stable tree.
> > > > If someone wants it applied there, or to any other stable or longterm
> > > > tree, then please email the backport, including the original git commit
> > > > id to <stable@vger.kernel.org>.
> > > 
> > > Right, it does not apply, and does NOT need to be backported.
> > 
> > Are you sure?
> > 
> > I ask because:
> > 
> > > > Fixes: fe76a1349f23 ("parisc: Use natural CPU alignment for bug_table")
> > > > Cc: stable@vger.kernel.org   # v6.0+
> > 
> > Both of those lines imply that yes, it should be backported.  Are they
> > incorrect?
> 
> Oh, I added a wrong "Fixes:" tag in the upstream commit. Instead it should be:
> Fixes: 43266838515d ("parisc: Reduce size of the bug_table on 64-bit kernel by half")
> but this commit was originally not tagged for stable series.
> 
> I see Sasha pulled it nevertheless into stable-rc series, together with this commit
> here: "parisc: Fix asm operand number out of range build error in".
> 
> So, either we keep both (as it is currently in stable-rc), or we drop both:
> * parisc: Reduce size of the bug_table on 64-bit kernel by half
> * parisc: Fix asm operand number out of range build error in
> 
> I'm fine with either option.

I'll keep what we have in the stable queue, thanks for checking.

greg k-h

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-12-11 16:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-09 12:33 FAILED: patch "[PATCH] parisc: Fix asm operand number out of range build error in" failed to apply to 6.1-stable tree gregkh
2023-12-10 16:43 ` Helge Deller
2023-12-11  6:44   ` Greg KH
2023-12-11 14:56     ` Helge Deller
2023-12-11 16:48       ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox