Skip to contentSkip to conversation

linux-next: manual merge of the kvms390 tree with the s390 tree

PATCH Stephen Rothwell 3 participants 3 messages Jun 14, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi all,

Today's linux-next merge of the kvms390 tree got a conflict in:

arch/s390/hypfs/hypfs_diag.c

between commit:

6c22c9863760 ("s390: avoid extable collisions")

from the s390 tree and commit:

e65f30e0cb29 ("s390: hypfs: Move diag implementation and data definitions")

from the kvms390 tree.

I fixed it up (using the kvms390 version and then adding the following patch) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts.

From: Stephen Rothwell <[email protected]>
Date: Tue, 14 Jun 2016 14:47:33 +1000
Subject: [PATCH] s390: merge fix up for __diag204 move

---
 arch/s390/kernel/diag.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/s390/kernel/diag.c +1 -1
index a44faf4a0454..2289d6f8bec0 100644
@@ -169,7 +169,7 @@ static inline int __diag204(unsigned long subcode, unsigned long size, void *add
 
 	asm volatile(
 		"	diag	%2,%0,0x204\n"
-		"0:\n"
+		"0:	nopr	%%r7\n"
 		EX_TABLE(0b,0b)
 		: "+d" (_subcode), "+d" (_size) : "d" (addr) : "memory");
 	if (_subcode)
Signature · 5 lines
2.8.1

-- 
Cheers,
Stephen Rothwell
#1 lore raw
Quoted 37 lines · Stephen Rothwell

Hi all,

Today's linux-next merge of the kvms390 tree got a conflict in:

arch/s390/hypfs/hypfs_diag.c

between commit:

6c22c9863760 ("s390: avoid extable collisions")

from the s390 tree and commit:

e65f30e0cb29 ("s390: hypfs: Move diag implementation and data definitions")

from the kvms390 tree.

I fixed it up (using the kvms390 version and then adding the following patch) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts.

From: Stephen Rothwell <[email protected]>
Date: Tue, 14 Jun 2016 14:47:33 +1000
Subject: [PATCH] s390: merge fix up for __diag204 move

---
 arch/s390/kernel/diag.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/s390/kernel/diag.c +0 -0
index a44faf4a0454..2289d6f8bec0 100644

arch/s390/kernel/diag.c static inline int __diag204(unsigned long subcode, unsigned long size, void *add · line 175

Quoted 8 lines
arch/s390/kernel/diag.c +1 -1
@@ -169,7 +169,7 @@ static inline int __diag204(unsigned long subcode, unsigned long size, void *add
 
 	asm volatile(
 		"	diag	%2,%0,0x204\n"
-		"0:\n"
+		"0:	nopr	%%r7\n"
 		EX_TABLE(0b,0b)
 		: "+d" (_subcode), "+d" (_size) : "d" (addr) : "memory");
 	if (_subcode)

The patch looks good. Thank you!

#2 lore raw
In reply to Stephen Rothwell
Quoted 38 lines · Stephen Rothwell

Hi all,

Today's linux-next merge of the kvms390 tree got a conflict in:

arch/s390/hypfs/hypfs_diag.c

between commit:

6c22c9863760 ("s390: avoid extable collisions")

from the s390 tree and commit:

e65f30e0cb29 ("s390: hypfs: Move diag implementation and data definitions")

from the kvms390 tree.

I fixed it up (using the kvms390 version and then adding the following patch) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts.

From: Stephen Rothwell <[email protected]>
Date: Tue, 14 Jun 2016 14:47:33 +1000
Subject: [PATCH] s390: merge fix up for __diag204 move

---
 arch/s390/kernel/diag.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/s390/kernel/diag.c +0 -0
index a44faf4a0454..2289d6f8bec0 100644

arch/s390/kernel/diag.c static inline int __diag204(unsigned long subcode, unsigned long size, void *add · line 175

Quoted 8 lines
arch/s390/kernel/diag.c +1 -1
@@ -169,7 +169,7 @@ static inline int __diag204(unsigned long subcode, unsigned long size, void *add
 
 	asm volatile(
 		"	diag	%2,%0,0x204\n"
-		"0:\n"
+		"0:	nopr	%%r7\n"
 		EX_TABLE(0b,0b)
 		: "+d" (_subcode), "+d" (_size) : "d" (addr) : "memory");
 	if (_subcode)

Yes, thanks. This conflict (and the other preexisting one) will move soon to Paolos KVM tree as I plan to submit my first pull request soon.

Christian