Skip to contentSkip to conversation

Patch "Revert "s390/kdump: Clear subchannel ID to signal non-CCW/SCSI IPL"" has been added to the 4.6-stable tree

PATCH [email protected] 1 participant 1 message Jul 25, 2016

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

Revert "s390/kdump: Clear subchannel ID to signal non-CCW/SCSI IPL"

to the 4.6-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
revert-s390-kdump-clear-subchannel-id-to-signal-non-ccw-scsi-ipl.patch
and it can be found in the queue-4.6 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From 5419447e2142d6ed68c9f5c1a28630b3a290a845 Mon Sep 17 00:00:00 2001

From: Michael Holzheu <[email protected]>
Date: Mon, 13 Jun 2016 17:03:48 +0200
Subject: Revert "s390/kdump: Clear subchannel ID to signal non-CCW/SCSI IPL"

From: Michael Holzheu <[email protected]>

commit 5419447e2142d6ed68c9f5c1a28630b3a290a845 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.

---
 arch/s390/kernel/ipl.c |    7 -------
 1 file changed, 7 deletions(-)
arch/s390/kernel/ipl.c +0 -7
@@ -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();
 }

Patches currently in stable-queue which might be from [email protected] are

queue-4.6/revert-s390-kdump-clear-subchannel-id-to-signal-non-ccw-scsi-ipl.patch