Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1725787 > unrolled thread

linux-next: manual merge of the s390 tree with Linus' tree

Started byStephen Rothwell <sfr@canb.auug.org.au>
First post2017-09-04 01:50 +0200
Last post2017-09-04 14:50 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  linux-next: manual merge of the s390 tree with Linus' tree Stephen Rothwell <sfr@canb.auug.org.au> - 2017-09-04 01:50 +0200
    Re: linux-next: manual merge of the s390 tree with Linus' tree Martin Schwidefsky <schwidefsky@de.ibm.com> - 2017-09-04 14:50 +0200

#1725787 — linux-next: manual merge of the s390 tree with Linus' tree

FromStephen Rothwell <sfr@canb.auug.org.au>
Date2017-09-04 01:50 +0200
Subjectlinux-next: manual merge of the s390 tree with Linus' tree
Message-ID<ulMOl-6mU-5@gated-at.bofh.it>
Hi all,

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

  arch/s390/include/asm/mmu_context.h

between commit:

  0b89ede62963 ("s390/mm: fork vs. 5 level page tabel")

from Linus' tree and commit:

  f1c1174fa099 ("s390/mm: use new mm defines instead of magic values")

from the s390 tree.

I fixed it up (see below) 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.

-- 
Cheers,
Stephen Rothwell

diff --cc arch/s390/include/asm/mmu_context.h
index 24bc41622a98,31eea6261488..000000000000
--- a/arch/s390/include/asm/mmu_context.h
+++ b/arch/s390/include/asm/mmu_context.h
@@@ -44,12 -45,7 +45,12 @@@ static inline int init_new_context(stru
  		mm->context.asce = __pa(mm->pgd) | _ASCE_TABLE_LENGTH |
  				   _ASCE_USER_BITS | _ASCE_TYPE_REGION3;
  		break;
 +	case -PAGE_SIZE:
 +		/* forked 5-level task, set new asce with new_mm->pgd */
 +		mm->context.asce = __pa(mm->pgd) | _ASCE_TABLE_LENGTH |
 +			_ASCE_USER_BITS | _ASCE_TYPE_REGION1;
 +		break;
- 	case 1UL << 53:
+ 	case _REGION1_SIZE:
  		/* forked 4-level task, set new asce with new mm->pgd */
  		mm->context.asce = __pa(mm->pgd) | _ASCE_TABLE_LENGTH |
  				   _ASCE_USER_BITS | _ASCE_TYPE_REGION2;

[toc] | [next] | [standalone]


#1726045

FromMartin Schwidefsky <schwidefsky@de.ibm.com>
Date2017-09-04 14:50 +0200
Message-ID<ulYZd-5A3-31@gated-at.bofh.it>
In reply to#1725787
On Mon, 4 Sep 2017 09:49:28 +1000
Stephen Rothwell <sfr@canb.auug.org.au> wrote:

> Hi all,
> 
> Today's linux-next merge of the s390 tree got a conflict in:
> 
>   arch/s390/include/asm/mmu_context.h
> 
> between commit:
> 
>   0b89ede62963 ("s390/mm: fork vs. 5 level page tabel")
> 
> from Linus' tree and commit:
> 
>   f1c1174fa099 ("s390/mm: use new mm defines instead of magic values")
> 
> from the s390 tree.
> 
> I fixed it up (see below) 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.
 
Fixup looks fine, thank you!

-- 
blue skies,
   Martin.

"Reality continues to ruin my life." - Calvin.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web