Skip to contentSkip to conversation

s390 patches for 4.7-rc6

GIT PULL Martin Schwidefsky 1 participant 1 message Jun 29, 2016 s390

lore
Share & tools
lore
#0 lore raw

Hi Linus,

please pull from the 'for-linus' branch of

git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git for-linus

to receive the following updates:

Another two bug fixes for 4.7:

- The revert of patch which removed boot information for systems using an intermediate boot kernel, e.g. the SLES12 grub setup.

- A fix for an incorrect inline assembly constraint that causes broken code to be generated with gcc 4.8.5.

Martin Schwidefsky (1):
s390: fix test_fp_ctl inline assembly contraints

Michael Holzheu (1):
Revert "s390/kdump: Clear subchannel ID to signal non-CCW/SCSI IPL"

 arch/s390/include/asm/fpu/api.h | 2 +-
 arch/s390/kernel/ipl.c          | 7 -------
 2 files changed, 1 insertion(+), 8 deletions(-)
arch/s390/include/asm/fpu/api.h +1 -1
index 5e04f3c..8ae236b0 100644
@@ -22,7 +22,7 @@ static inline int test_fp_ctl(u32 fpc)
 		"	la	%0,0\n"
 		"1:\n"
 		EX_TABLE(0b,1b)
-		: "=d" (rc), "=d" (orig_fpc)
+		: "=d" (rc), "=&d" (orig_fpc)
 		: "d" (fpc), "0" (-EINVAL));
 	return rc;
 }
arch/s390/kernel/ipl.c +0 -7
index f20abdb..d14069d 100644
@@ -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();
 }