s390: fix tlb_gather_mmu fallout
Subsystems (3)
PATCH 1/1 s390: fix tlb_gather_mmu fallout
Hi Stephen,
could you please add the compile fix below to linux-next?
From 263466205a86ff8103a465f45f649b14ac5b1218 Mon Sep 17 00:00:00 2001
From: Heiko Carstens <[email protected]>
Date: Wed, 21 Aug 2013 16:46:25 +0200
Subject: [PATCH] s390: fix tlb_gather_mmu fallout
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
With commit 2b047252 "Fix TLB gather virtual address range invalidation corner cases" tlb_gather_mmu() got a new argument.
There is however a patch in the kvm/linux-next tree "KVM: s390: allow sie enablement for multi-threaded programs" which now causes breakage in linux-next:
arch/s390/mm/pgtable.c: In function ‘s390_enable_sie’:arch/s390/mm/pgtable.c:1175:2: error: too few arguments to function ‘tlb_gather_mmu’
So let's fix just this.
--- arch/s390/mm/pgtable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/s390/mm/pgtable.c +1 -1
@@ -1172,7 +1172,7 @@ int s390_enable_sie(void)thp_split_mm (mm);/* Reallocate the page tables with pgstes */ mm->context.has_pgste =1 ; -tlb_gather_mmu (&tlb, mm,0 ); +tlb_gather_mmu (&tlb, mm,0 ,TASK_SIZE );page_table_realloc (&tlb, mm,0 ,TASK_SIZE );tlb_finish_mmu (&tlb,0 ,-1 );up_write (&mm->mmap_sem);
Signature · 1 line
1.8.2.3
Hi Heiko,
Quoted 2 lines · On Wed, 21 Aug 2013 17:12:33 +0200 Heiko Carstens <[email protected]>…
could you please add the compile fix below to linux-next?
I will add it to the kvm tree merge from today.
cc'd the kvm tree maintainers as one they will need to tell Linus about this semantic conflict when they ask him to pull their tree.
[Patch recreated below for reference]
From: Heiko Carstens <[email protected]>
Date: Wed, 21 Aug 2013 16:46:25 +0200
Subject: [PATCH] s390: fix tlb_gather_mmu fallout
With commit 2b047252 "Fix TLB gather virtual address range invalidation corner cases" tlb_gather_mmu() got a new argument.
There is however a patch in the kvm/linux-next tree "KVM: s390: allow sie enablement for multi-threaded programs" which now causes breakage in linux-next:
arch/s390/mm/pgtable.c: In function ‘s390_enable_sie’:arch/s390/mm/pgtable.c:1175:2: error: too few arguments to function ‘tlb_gather_mmu’
So let's fix just this.
--- arch/s390/mm/pgtable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/s390/mm/pgtable.c +1 -1
@@ -1172,7 +1172,7 @@ int s390_enable_sie(void)thp_split_mm (mm);/* Reallocate the page tables with pgstes */ mm->context.has_pgste =1 ; -tlb_gather_mmu (&tlb, mm,0 ); +tlb_gather_mmu (&tlb, mm,0 ,TASK_SIZE );page_table_realloc (&tlb, mm,0 ,TASK_SIZE );tlb_finish_mmu (&tlb,0 ,-1 );up_write (&mm->mmap_sem);
Signature · 5 lines
1.8.2.3 -- Cheers, Stephen Rothwell [email protected]