Re: [GIT PULL] s390 patches for 4.20 #2

2018-11-09 Thread pr-tracker-bot
The pull request you sent on Fri, 9 Nov 2018 08:14:02 +0100:

> git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git s390-4.20-2

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/3541833fd1f264e7579e573a6586a1b665da37db

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker


Re: [GIT PULL] s390 patches for 4.20 #2

2018-11-09 Thread pr-tracker-bot
The pull request you sent on Fri, 9 Nov 2018 08:14:02 +0100:

> git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git s390-4.20-2

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/3541833fd1f264e7579e573a6586a1b665da37db

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker


Re: [GIT PULL] s390 patches for 4.20 #2

2018-11-09 Thread Martin Schwidefsky
On Fri, 9 Nov 2018 06:39:07 -0600
Linus Torvalds  wrote:

> On Fri, Nov 9, 2018 at 1:14 AM Martin Schwidefsky
>  wrote:
> >
> > s390 updates for 4.20-rc2  
> 
> Pulled.
> 
> >  - A fix for the pgtable_bytes misaccounting on s390. The patch changes
> >common code part in regard to page table folding and adds extra
> >checks to mm_[inc|dec]_nr_[pmds|puds].  
> 
> Ugh. This is somewhat invasive, I worry  that some header include or
> architecture doesn't pick up on the subtle __PAGETABLE_XYZ_FOLDED
> things (if you don't get the includes, the mm_xyz_folded() maros will
> be mis-defined.
> 
> Has this been in linux-next or any other wide testing? The changes
> aren't _new_, but...

Just checked linux-next, the first version that picked up the patches
is 2018-11-19. The one dated 2018-10-19 does not have them.

Bad timing, no wider testing has been done. The bug itself shows up
as a false warning, nothing really breaks. I would understand if you
prefer not to have them in the official tree at this time.

-- 
blue skies,
   Martin.

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



Re: [GIT PULL] s390 patches for 4.20 #2

2018-11-09 Thread Martin Schwidefsky
On Fri, 9 Nov 2018 06:39:07 -0600
Linus Torvalds  wrote:

> On Fri, Nov 9, 2018 at 1:14 AM Martin Schwidefsky
>  wrote:
> >
> > s390 updates for 4.20-rc2  
> 
> Pulled.
> 
> >  - A fix for the pgtable_bytes misaccounting on s390. The patch changes
> >common code part in regard to page table folding and adds extra
> >checks to mm_[inc|dec]_nr_[pmds|puds].  
> 
> Ugh. This is somewhat invasive, I worry  that some header include or
> architecture doesn't pick up on the subtle __PAGETABLE_XYZ_FOLDED
> things (if you don't get the includes, the mm_xyz_folded() maros will
> be mis-defined.
> 
> Has this been in linux-next or any other wide testing? The changes
> aren't _new_, but...

Just checked linux-next, the first version that picked up the patches
is 2018-11-19. The one dated 2018-10-19 does not have them.

Bad timing, no wider testing has been done. The bug itself shows up
as a false warning, nothing really breaks. I would understand if you
prefer not to have them in the official tree at this time.

-- 
blue skies,
   Martin.

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



Re: [GIT PULL] s390 patches for 4.20 #2

2018-11-09 Thread Linus Torvalds
On Fri, Nov 9, 2018 at 1:14 AM Martin Schwidefsky
 wrote:
>
> s390 updates for 4.20-rc2

Pulled.

>  - A fix for the pgtable_bytes misaccounting on s390. The patch changes
>common code part in regard to page table folding and adds extra
>checks to mm_[inc|dec]_nr_[pmds|puds].

Ugh. This is somewhat invasive, I worry  that some header include or
architecture doesn't pick up on the subtle __PAGETABLE_XYZ_FOLDED
things (if you don't get the includes, the mm_xyz_folded() maros will
be mis-defined.

Has this been in linux-next or any other wide testing? The changes
aren't _new_, but...

 Linus


Re: [GIT PULL] s390 patches for 4.20 #2

2018-11-09 Thread Linus Torvalds
On Fri, Nov 9, 2018 at 1:14 AM Martin Schwidefsky
 wrote:
>
> s390 updates for 4.20-rc2

Pulled.

>  - A fix for the pgtable_bytes misaccounting on s390. The patch changes
>common code part in regard to page table folding and adds extra
>checks to mm_[inc|dec]_nr_[pmds|puds].

Ugh. This is somewhat invasive, I worry  that some header include or
architecture doesn't pick up on the subtle __PAGETABLE_XYZ_FOLDED
things (if you don't get the includes, the mm_xyz_folded() maros will
be mis-defined.

Has this been in linux-next or any other wide testing? The changes
aren't _new_, but...

 Linus


[GIT PULL] s390 patches for 4.20 #2

2018-11-08 Thread Martin Schwidefsky
Hi Linus,

please pull s390 fixes for 4.20-rc2

The following changes since commit e5f6d9afa3415104e402cd69288bb03f7165eeba:

  Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc (2018-10-25 
18:14:31 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git s390-4.20-2

for you to fetch changes up to 0bb2ae1b26e1fb7543ec7474cdd374ac4b88c4da:

  s390/perf: Change CPUM_CF return code in event init function (2018-11-08 
07:58:16 +0100)


s390 updates for 4.20-rc2

 - A fix for the pgtable_bytes misaccounting on s390. The patch changes
   common code part in regard to page table folding and adds extra
   checks to mm_[inc|dec]_nr_[pmds|puds].

 - Add FORCE for all build targets using if_changed

 - Use non-loadable phdr for the .vmlinux.info section to avoid
   a segment overlap that confuses kexec

 - Cleanup the attribute definition for the diagnostic sampling

 - Increase stack size for CONFIG_KASAN=y builds

 - Export __node_distance to fix a build error

 - Correct return code of a PMU event init function

 - An update for the default configs


Heiko Carstens (1):
  s390: update defconfigs

Justin M. Forbes (1):
  s390/mm: Fix ERROR: "__node_distance" undefined!

Martin Schwidefsky (4):
  mm: make the __PAGETABLE_PxD_FOLDED defines non-empty
  mm: introduce mm_[p4d|pud|pmd]_folded
  mm: add mm_pxd_folded checks to pgtable_bytes accounting functions
  s390/mm: fix mis-accounting of pgtable_bytes

Thomas Richter (2):
  s390/cpum_sf: Rework attribute definition for diagnostic sampling
  s390/perf: Change CPUM_CF return code in event init function

Vasily Gorbik (4):
  s390/decompressor: add missing FORCE to build targets
  s390/vdso: add missing FORCE to build targets
  s390: avoid vmlinux segments overlap
  s390/kasan: increase instrumented stack size to 64k

 arch/arm/include/asm/pgtable-2level.h|  2 +-
 arch/m68k/include/asm/pgtable_mm.h   |  4 +-
 arch/microblaze/include/asm/pgtable.h|  2 +-
 arch/nds32/include/asm/pgtable.h |  2 +-
 arch/parisc/include/asm/pgtable.h|  2 +-
 arch/s390/Makefile   |  2 +-
 arch/s390/boot/compressed/Makefile   | 16 +++
 arch/s390/configs/debug_defconfig| 14 --
 arch/s390/configs/performance_defconfig  | 13 +-
 arch/s390/defconfig  | 79 +---
 arch/s390/include/asm/mmu_context.h  |  5 --
 arch/s390/include/asm/pgalloc.h  |  6 +--
 arch/s390/include/asm/pgtable.h  | 18 
 arch/s390/include/asm/thread_info.h  |  2 +-
 arch/s390/include/asm/tlb.h  |  6 +--
 arch/s390/kernel/entry.S |  6 +--
 arch/s390/kernel/perf_cpum_cf.c  |  2 +-
 arch/s390/kernel/perf_cpum_sf.c  | 33 +++--
 arch/s390/kernel/vdso32/Makefile |  6 +--
 arch/s390/kernel/vdso64/Makefile |  6 +--
 arch/s390/kernel/vmlinux.lds.S   |  4 +-
 arch/s390/mm/pgalloc.c   |  1 +
 arch/s390/numa/numa.c|  1 +
 include/asm-generic/4level-fixup.h   |  2 +-
 include/asm-generic/5level-fixup.h   |  2 +-
 include/asm-generic/pgtable-nop4d-hack.h |  2 +-
 include/asm-generic/pgtable-nop4d.h  |  2 +-
 include/asm-generic/pgtable-nopmd.h  |  2 +-
 include/asm-generic/pgtable-nopud.h  |  2 +-
 include/asm-generic/pgtable.h| 16 +++
 include/linux/mm.h   |  8 
 31 files changed, 175 insertions(+), 93 deletions(-)

diff --git a/arch/arm/include/asm/pgtable-2level.h 
b/arch/arm/include/asm/pgtable-2level.h
index 92fd2c8..12659ce 100644
--- a/arch/arm/include/asm/pgtable-2level.h
+++ b/arch/arm/include/asm/pgtable-2level.h
@@ -10,7 +10,7 @@
 #ifndef _ASM_PGTABLE_2LEVEL_H
 #define _ASM_PGTABLE_2LEVEL_H
 
-#define __PAGETABLE_PMD_FOLDED
+#define __PAGETABLE_PMD_FOLDED 1
 
 /*
  * Hardware-wise, we have a two level page table structure, where the first
diff --git a/arch/m68k/include/asm/pgtable_mm.h 
b/arch/m68k/include/asm/pgtable_mm.h
index 6181e41..fe3ddd7 100644
--- a/arch/m68k/include/asm/pgtable_mm.h
+++ b/arch/m68k/include/asm/pgtable_mm.h
@@ -55,12 +55,12 @@
  */
 #ifdef CONFIG_SUN3
 #define PTRS_PER_PTE   16
-#define __PAGETABLE_PMD_FOLDED
+#define __PAGETABLE_PMD_FOLDED 1
 #define PTRS_PER_PMD   1
 #define PTRS_PER_PGD   2048
 #elif defined(CONFIG_COLDFIRE)
 #define PTRS_PER_PTE   512
-#define __PAGETABLE_PMD_FOLDED
+#define __PAGETABLE_PMD_FOLDED 1
 #define PTRS_PER_PMD   1
 #define PTRS_PER_PGD   1024
 #else
diff --git a/arch/microblaze/include/asm/pgtable.h 
b/arch/microblaze/include/asm/pgtable.h
index f64ebb9..e14b662 100644
--- a/arch/microblaze/include/asm/pgtable.h
+++ b/arch/microblaze/include/asm/pgtable.h
@@ -63,7 +63,7 @@ extern int mem_init_done;
 
 #include 
 

[GIT PULL] s390 patches for 4.20 #2

2018-11-08 Thread Martin Schwidefsky
Hi Linus,

please pull s390 fixes for 4.20-rc2

The following changes since commit e5f6d9afa3415104e402cd69288bb03f7165eeba:

  Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc (2018-10-25 
18:14:31 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git s390-4.20-2

for you to fetch changes up to 0bb2ae1b26e1fb7543ec7474cdd374ac4b88c4da:

  s390/perf: Change CPUM_CF return code in event init function (2018-11-08 
07:58:16 +0100)


s390 updates for 4.20-rc2

 - A fix for the pgtable_bytes misaccounting on s390. The patch changes
   common code part in regard to page table folding and adds extra
   checks to mm_[inc|dec]_nr_[pmds|puds].

 - Add FORCE for all build targets using if_changed

 - Use non-loadable phdr for the .vmlinux.info section to avoid
   a segment overlap that confuses kexec

 - Cleanup the attribute definition for the diagnostic sampling

 - Increase stack size for CONFIG_KASAN=y builds

 - Export __node_distance to fix a build error

 - Correct return code of a PMU event init function

 - An update for the default configs


Heiko Carstens (1):
  s390: update defconfigs

Justin M. Forbes (1):
  s390/mm: Fix ERROR: "__node_distance" undefined!

Martin Schwidefsky (4):
  mm: make the __PAGETABLE_PxD_FOLDED defines non-empty
  mm: introduce mm_[p4d|pud|pmd]_folded
  mm: add mm_pxd_folded checks to pgtable_bytes accounting functions
  s390/mm: fix mis-accounting of pgtable_bytes

Thomas Richter (2):
  s390/cpum_sf: Rework attribute definition for diagnostic sampling
  s390/perf: Change CPUM_CF return code in event init function

Vasily Gorbik (4):
  s390/decompressor: add missing FORCE to build targets
  s390/vdso: add missing FORCE to build targets
  s390: avoid vmlinux segments overlap
  s390/kasan: increase instrumented stack size to 64k

 arch/arm/include/asm/pgtable-2level.h|  2 +-
 arch/m68k/include/asm/pgtable_mm.h   |  4 +-
 arch/microblaze/include/asm/pgtable.h|  2 +-
 arch/nds32/include/asm/pgtable.h |  2 +-
 arch/parisc/include/asm/pgtable.h|  2 +-
 arch/s390/Makefile   |  2 +-
 arch/s390/boot/compressed/Makefile   | 16 +++
 arch/s390/configs/debug_defconfig| 14 --
 arch/s390/configs/performance_defconfig  | 13 +-
 arch/s390/defconfig  | 79 +---
 arch/s390/include/asm/mmu_context.h  |  5 --
 arch/s390/include/asm/pgalloc.h  |  6 +--
 arch/s390/include/asm/pgtable.h  | 18 
 arch/s390/include/asm/thread_info.h  |  2 +-
 arch/s390/include/asm/tlb.h  |  6 +--
 arch/s390/kernel/entry.S |  6 +--
 arch/s390/kernel/perf_cpum_cf.c  |  2 +-
 arch/s390/kernel/perf_cpum_sf.c  | 33 +++--
 arch/s390/kernel/vdso32/Makefile |  6 +--
 arch/s390/kernel/vdso64/Makefile |  6 +--
 arch/s390/kernel/vmlinux.lds.S   |  4 +-
 arch/s390/mm/pgalloc.c   |  1 +
 arch/s390/numa/numa.c|  1 +
 include/asm-generic/4level-fixup.h   |  2 +-
 include/asm-generic/5level-fixup.h   |  2 +-
 include/asm-generic/pgtable-nop4d-hack.h |  2 +-
 include/asm-generic/pgtable-nop4d.h  |  2 +-
 include/asm-generic/pgtable-nopmd.h  |  2 +-
 include/asm-generic/pgtable-nopud.h  |  2 +-
 include/asm-generic/pgtable.h| 16 +++
 include/linux/mm.h   |  8 
 31 files changed, 175 insertions(+), 93 deletions(-)

diff --git a/arch/arm/include/asm/pgtable-2level.h 
b/arch/arm/include/asm/pgtable-2level.h
index 92fd2c8..12659ce 100644
--- a/arch/arm/include/asm/pgtable-2level.h
+++ b/arch/arm/include/asm/pgtable-2level.h
@@ -10,7 +10,7 @@
 #ifndef _ASM_PGTABLE_2LEVEL_H
 #define _ASM_PGTABLE_2LEVEL_H
 
-#define __PAGETABLE_PMD_FOLDED
+#define __PAGETABLE_PMD_FOLDED 1
 
 /*
  * Hardware-wise, we have a two level page table structure, where the first
diff --git a/arch/m68k/include/asm/pgtable_mm.h 
b/arch/m68k/include/asm/pgtable_mm.h
index 6181e41..fe3ddd7 100644
--- a/arch/m68k/include/asm/pgtable_mm.h
+++ b/arch/m68k/include/asm/pgtable_mm.h
@@ -55,12 +55,12 @@
  */
 #ifdef CONFIG_SUN3
 #define PTRS_PER_PTE   16
-#define __PAGETABLE_PMD_FOLDED
+#define __PAGETABLE_PMD_FOLDED 1
 #define PTRS_PER_PMD   1
 #define PTRS_PER_PGD   2048
 #elif defined(CONFIG_COLDFIRE)
 #define PTRS_PER_PTE   512
-#define __PAGETABLE_PMD_FOLDED
+#define __PAGETABLE_PMD_FOLDED 1
 #define PTRS_PER_PMD   1
 #define PTRS_PER_PGD   1024
 #else
diff --git a/arch/microblaze/include/asm/pgtable.h 
b/arch/microblaze/include/asm/pgtable.h
index f64ebb9..e14b662 100644
--- a/arch/microblaze/include/asm/pgtable.h
+++ b/arch/microblaze/include/asm/pgtable.h
@@ -63,7 +63,7 @@ extern int mem_init_done;
 
 #include