All of lore.kernel.org
 help / color / mirror / Atom feed
* FAILED: patch "[PATCH] Revert "s390/kdump: Clear subchannel ID to signal" failed to apply to 4.4-stable tree
@ 2016-07-25  0:57 gregkh
  2016-07-26 11:43 ` [PATCH] Revert "s390/kdump: Clear subchannel ID to signal non-CCW/SCSI IPL" Michael Holzheu
  0 siblings, 1 reply; 5+ messages in thread
From: gregkh @ 2016-07-25  0:57 UTC (permalink / raw)
  To: holzheu, heiko.carstens, maier, schwidefsky; +Cc: stable


The patch below does not apply to the 4.4-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>.

thanks,

greg k-h

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

>From 5419447e2142d6ed68c9f5c1a28630b3a290a845 Mon Sep 17 00:00:00 2001
From: Michael Holzheu <holzheu@linux.vnet.ibm.com>
Date: Mon, 13 Jun 2016 17:03:48 +0200
Subject: [PATCH] Revert "s390/kdump: Clear subchannel ID to signal
 non-CCW/SCSI IPL"

This reverts commit 852ffd0f4e23248b47531058e531066a988434b5.

There are use cases where an intermediate boot kernel (1) uses kexec
to boot the final production kernel (2). For this scenario we should
provide the original boot information to the production kernel (2).
Therefore clearing the boot information during kexec() should not
be done.

Cc: stable@vger.kernel.org # v3.17+
Reported-by: Steffen Maier <maier@linux.vnet.ibm.com>
Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>

diff --git a/arch/s390/kernel/ipl.c b/arch/s390/kernel/ipl.c
index f20abdb5630a..d14069d4b88d 100644
--- a/arch/s390/kernel/ipl.c
+++ b/arch/s390/kernel/ipl.c
@@ -2064,12 +2064,5 @@ void s390_reset_system(void)
 	S390_lowcore.program_new_psw.addr =
 		(unsigned long) s390_base_pgm_handler;
 
-	/*
-	 * Clear subchannel ID and number to signal new kernel that no CCW or
-	 * SCSI IPL has been done (for kexec and kdump)
-	 */
-	S390_lowcore.subchannel_id = 0;
-	S390_lowcore.subchannel_nr = 0;
-
 	do_reset_calls();
 }


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

* [PATCH] Revert "s390/kdump: Clear subchannel ID to signal non-CCW/SCSI IPL"
  2016-07-25  0:57 FAILED: patch "[PATCH] Revert "s390/kdump: Clear subchannel ID to signal" failed to apply to 4.4-stable tree gregkh
@ 2016-07-26 11:43 ` Michael Holzheu
  2016-07-26 11:51   ` Michael Holzheu
  0 siblings, 1 reply; 5+ messages in thread
From: Michael Holzheu @ 2016-07-26 11:43 UTC (permalink / raw)
  To: stable; +Cc: heiko.carstens, maier, schwidefsky

commit 723cacbd9dc79582e562c123a0bacf8bfc69e72a upstream.

This reverts commit 852ffd0f4e23248b47531058e531066a988434b5.

There are use cases where an intermediate boot kernel (1) uses kexec
to boot the final production kernel (2). For this scenario we should
provide the original boot information to the production kernel (2).
Therefore clearing the boot information during kexec() should not
be done.

Cc: stable@vger.kernel.org # v3.17+
Reported-by: Steffen Maier <maier@linux.vnet.ibm.com>
Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com
---
* Requested versions for stable: v3.17 - v4.4
* Changes for v3.17 - v4.4 stable:
  - Refresh patch to fit to new context
---
 arch/s390/kernel/ipl.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/arch/s390/kernel/ipl.c b/arch/s390/kernel/ipl.c
index b1f0a90..42570d8 100644
--- a/arch/s390/kernel/ipl.c
+++ b/arch/s390/kernel/ipl.c
@@ -2070,13 +2070,6 @@ void s390_reset_system(void (*fn_pre)(void),
 	S390_lowcore.program_new_psw.addr =
 		PSW_ADDR_AMODE | (unsigned long) s390_base_pgm_handler;
 
-	/*
-	 * Clear subchannel ID and number to signal new kernel that no
CCW or
-	 * SCSI IPL has been done (for kexec and kdump)
-	 */
-	S390_lowcore.subchannel_id = 0;
-	S390_lowcore.subchannel_nr = 0;
-
 	/* Store status at absolute zero */
 	store_status();
 
-- 
2.6.6


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

* Re: [PATCH] Revert "s390/kdump: Clear subchannel ID to signal non-CCW/SCSI IPL"
  2016-07-26 11:43 ` [PATCH] Revert "s390/kdump: Clear subchannel ID to signal non-CCW/SCSI IPL" Michael Holzheu
@ 2016-07-26 11:51   ` Michael Holzheu
  2016-08-14 15:15     ` Greg KH
  0 siblings, 1 reply; 5+ messages in thread
From: Michael Holzheu @ 2016-07-26 11:51 UTC (permalink / raw)
  To: stable; +Cc: heiko.carstens, maier, schwidefsky

My mailer re-formatted the patch. Sorry for that.

Second try:

This reverts commit 852ffd0f4e23248b47531058e531066a988434b5.

There are use cases where an intermediate boot kernel (1) uses kexec
to boot the final production kernel (2). For this scenario we should
provide the original boot information to the production kernel (2).
Therefore clearing the boot information during kexec() should not
be done.

Cc: stable@vger.kernel.org # v3.17+
Reported-by: Steffen Maier <maier@linux.vnet.ibm.com>
Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com
---
* Requested versions for stable: v3.17 - v4.4
* Changes for v3.17 - v4.4 stable:
  - Refresh patch to fit to new context
---
 arch/s390/kernel/ipl.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/arch/s390/kernel/ipl.c b/arch/s390/kernel/ipl.c
index b1f0a90..42570d8 100644
--- a/arch/s390/kernel/ipl.c
+++ b/arch/s390/kernel/ipl.c
@@ -2070,13 +2070,6 @@ void s390_reset_system(void (*fn_pre)(void),
 	S390_lowcore.program_new_psw.addr =
 		PSW_ADDR_AMODE | (unsigned long) s390_base_pgm_handler;
 
-	/*
-	 * Clear subchannel ID and number to signal new kernel that no CCW or
-	 * SCSI IPL has been done (for kexec and kdump)
-	 */
-	S390_lowcore.subchannel_id = 0;
-	S390_lowcore.subchannel_nr = 0;
-
 	/* Store status at absolute zero */
 	store_status();
 
-- 
2.6.6



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

* Re: [PATCH] Revert "s390/kdump: Clear subchannel ID to signal non-CCW/SCSI IPL"
  2016-07-26 11:51   ` Michael Holzheu
@ 2016-08-14 15:15     ` Greg KH
  2016-08-15 13:17       ` Michael Holzheu
  0 siblings, 1 reply; 5+ messages in thread
From: Greg KH @ 2016-08-14 15:15 UTC (permalink / raw)
  To: Michael Holzheu; +Cc: stable, heiko.carstens, maier, schwidefsky

On Tue, Jul 26, 2016 at 01:51:32PM +0200, Michael Holzheu wrote:
> My mailer re-formatted the patch. Sorry for that.
> 
> Second try:
> 
> This reverts commit 852ffd0f4e23248b47531058e531066a988434b5.
> 
> There are use cases where an intermediate boot kernel (1) uses kexec
> to boot the final production kernel (2). For this scenario we should
> provide the original boot information to the production kernel (2).
> Therefore clearing the boot information during kexec() should not
> be done.
> 
> Cc: stable@vger.kernel.org # v3.17+
> Reported-by: Steffen Maier <maier@linux.vnet.ibm.com>
> Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
> Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com>
> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com
> ---
> * Requested versions for stable: v3.17 - v4.4
> * Changes for v3.17 - v4.4 stable:
>   - Refresh patch to fit to new context

Please always remind us what the upstream commit was for the patch (it
was 5419447e2142d6ed68c9f5c1a28630b3a290a845, right?)

thanks,

greg k-h

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

* Re: [PATCH] Revert "s390/kdump: Clear subchannel ID to signal non-CCW/SCSI IPL"
  2016-08-14 15:15     ` Greg KH
@ 2016-08-15 13:17       ` Michael Holzheu
  0 siblings, 0 replies; 5+ messages in thread
From: Michael Holzheu @ 2016-08-15 13:17 UTC (permalink / raw)
  To: Greg KH; +Cc: stable, heiko.carstens, maier, schwidefsky

Am Sun, 14 Aug 2016 17:15:59 +0200
schrieb Greg KH <greg@kroah.com>:

> On Tue, Jul 26, 2016 at 01:51:32PM +0200, Michael Holzheu wrote:
> > My mailer re-formatted the patch. Sorry for that.
> > 
> > Second try:
> > 
> > This reverts commit 852ffd0f4e23248b47531058e531066a988434b5.
> > 
> > There are use cases where an intermediate boot kernel (1) uses kexec
> > to boot the final production kernel (2). For this scenario we should
> > provide the original boot information to the production kernel (2).
> > Therefore clearing the boot information during kexec() should not
> > be done.
> > 
> > Cc: stable@vger.kernel.org # v3.17+
> > Reported-by: Steffen Maier <maier@linux.vnet.ibm.com>
> > Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
> > Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com>
> > Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com
> > ---
> > * Requested versions for stable: v3.17 - v4.4
> > * Changes for v3.17 - v4.4 stable:
> >   - Refresh patch to fit to new context
> 
> Please always remind us what the upstream commit was for the patch (it
> was 5419447e2142d6ed68c9f5c1a28630b3a290a845, right?)

Correct!

Sorry for the trouble...
Michael


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

end of thread, other threads:[~2016-08-15 13:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-25  0:57 FAILED: patch "[PATCH] Revert "s390/kdump: Clear subchannel ID to signal" failed to apply to 4.4-stable tree gregkh
2016-07-26 11:43 ` [PATCH] Revert "s390/kdump: Clear subchannel ID to signal non-CCW/SCSI IPL" Michael Holzheu
2016-07-26 11:51   ` Michael Holzheu
2016-08-14 15:15     ` Greg KH
2016-08-15 13:17       ` Michael Holzheu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.