Re: [PATCH] mm: Flush the TLB for a single address in a huge page

2015-07-24 Thread Martin Schwidefsky
On Thu, 23 Jul 2015 17:49:21 +0100 Catalin Marinas wrote: > On Thu, Jul 23, 2015 at 03:13:03PM +0100, Andrea Arcangeli wrote: > > On Thu, Jul 23, 2015 at 11:49:38AM +0100, Catalin Marinas wrote: > > > On Thu, Jul 23, 2015 at 12:05:21AM +0100, Dave Hansen wrote: > > > > On 07/22/2015 03:48 PM,

Re: [PATCH] mm: Flush the TLB for a single address in a huge page

2015-07-24 Thread Martin Schwidefsky
On Thu, 23 Jul 2015 17:49:21 +0100 Catalin Marinas catalin.mari...@arm.com wrote: On Thu, Jul 23, 2015 at 03:13:03PM +0100, Andrea Arcangeli wrote: On Thu, Jul 23, 2015 at 11:49:38AM +0100, Catalin Marinas wrote: On Thu, Jul 23, 2015 at 12:05:21AM +0100, Dave Hansen wrote: On 07/22/2015

[GIT PULL] s390 patches for 4.2-rc4

2015-07-20 Thread Martin Schwidefsky
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: Fast path fix for the thread_struct breakage. Martin Schwidefsky (1): s390: adapt entry.S to the move of thread_struct

Re: [PATCH] sched, s390: Fix the fallout of increasing the offset of 'thread_struct' within 'task_struct'

2015-07-20 Thread Martin Schwidefsky
On Mon, 20 Jul 2015 10:38:47 +0200 Ingo Molnar wrote: > > * Martin Schwidefsky wrote: > > > diff --git a/arch/s390/kernel/entry.S b/arch/s390/kernel/entry.S > > index 3238893..84062e7 100644 > > --- a/arch/s390/kernel/entry.S > > +++ b/arch/s390/kern

Re: [PATCH] s390, sched: Fix thread_struct move fallout to __switch_to()

2015-07-20 Thread Martin Schwidefsky
On Mon, 20 Jul 2015 10:20:04 +0200 Ingo Molnar wrote: > > * Heiko Carstens wrote: > > > Unfortunately not true. It breaks the build on s390 since a couple of > > displacements used in asm code now get too large: > > > > arch/s390/kernel/entry.S:181: Error: operand out of range > >

Re: [PATCH] sched, s390: Fix the fallout of increasing the offset of 'thread_struct' within 'task_struct'

2015-07-20 Thread Martin Schwidefsky
can fix this. > > There's also a traps.c build breakage reported below - and an RFC fix for it. This patch should fix it for good. -- >From 54b3c4b85572bf5acc698cfca15d2c9cad446c44 Mon Sep 17 00:00:00 2001 From: Martin Schwidefsky Date: Mon, 20 Jul 2015 10:01:46 +0200 Subject: [PATCH

Re: [PATCH] sched, s390: Fix the fallout of increasing the offset of 'thread_struct' within 'task_struct'

2015-07-20 Thread Martin Schwidefsky
. -- From 54b3c4b85572bf5acc698cfca15d2c9cad446c44 Mon Sep 17 00:00:00 2001 From: Martin Schwidefsky schwidef...@de.ibm.com Date: Mon, 20 Jul 2015 10:01:46 +0200 Subject: [PATCH] s390: adapt entry.S to the move of thread_struct git commit 0c8c0f03e3a292e031596484275c14cf39c0ab7a x86/fpu, sched: Dynamically

Re: [PATCH] sched, s390: Fix the fallout of increasing the offset of 'thread_struct' within 'task_struct'

2015-07-20 Thread Martin Schwidefsky
On Mon, 20 Jul 2015 10:38:47 +0200 Ingo Molnar mi...@kernel.org wrote: * Martin Schwidefsky schwidef...@de.ibm.com wrote: diff --git a/arch/s390/kernel/entry.S b/arch/s390/kernel/entry.S index 3238893..84062e7 100644 --- a/arch/s390/kernel/entry.S +++ b/arch/s390/kernel/entry.S

Re: [PATCH] s390, sched: Fix thread_struct move fallout to __switch_to()

2015-07-20 Thread Martin Schwidefsky
On Mon, 20 Jul 2015 10:20:04 +0200 Ingo Molnar mi...@kernel.org wrote: * Heiko Carstens heiko.carst...@de.ibm.com wrote: Unfortunately not true. It breaks the build on s390 since a couple of displacements used in asm code now get too large: arch/s390/kernel/entry.S:181: Error:

[GIT PULL] s390 patches for 4.2-rc4

2015-07-20 Thread Martin Schwidefsky
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: Fast path fix for the thread_struct breakage. Martin Schwidefsky (1): s390: adapt entry.S to the move of thread_struct

[GIT PULL] s390 patches for 4.2-rc3

2015-07-14 Thread Martin Schwidefsky
/zcrypt: enable s390 hwrng to seed kernel entropy Martin Schwidefsky (1): s390/sclp: clear upper register halves in _sclp_print_early Sebastian Ott (2): s390/sclp: fix compile error s390/oprofile: fix compile error Stefan Haberland (1): s390/dasd: fix kernel panic when

[GIT PULL] s390 patches for 4.2-rc3

2015-07-14 Thread Martin Schwidefsky
/zcrypt: enable s390 hwrng to seed kernel entropy Martin Schwidefsky (1): s390/sclp: clear upper register halves in _sclp_print_early Sebastian Ott (2): s390/sclp: fix compile error s390/oprofile: fix compile error Stefan Haberland (1): s390/dasd: fix kernel panic when

Re: [PATCH 0/4] s390/mm: Fixup hugepage sw-emulated code removal

2015-07-06 Thread Martin Schwidefsky
To have an architecture override for hugepages_supported is imho the cleaner approach compared to the HPAGE_SHIFT tricks. I would have preferred to use a __weak function but the #ifndef solution is fine with me as well. Acked-by: Martin Schwidefsky -- blue skies, Martin. "Reality continues to

Re: [PATCH 0/4] s390/mm: Fixup hugepage sw-emulated code removal

2015-07-06 Thread Martin Schwidefsky
tricks. I would have preferred to use a __weak function but the #ifndef solution is fine with me as well. Acked-by: Martin Schwidefsky schwidef...@de.ibm.com -- blue skies, Martin. Reality continues to ruin my life. - Calvin. -- To unsubscribe from this list: send the line unsubscribe linux

[GIT PULL] s390 patches for the 4.2 merge window #2

2015-06-30 Thread Martin Schwidefsky
handling of AP queues Martin Schwidefsky (2): s390/smp: fix sigp cpu detection loop s390/smp: cleanup core vs. cpu in the SCLP interface Michael Holzheu (3): s390/bpf: Fix backward jumps s390/kdump: fix REGSET_VX_LOW vector register ELF notes s390/kdump: fix nosmt kernel

[GIT PULL] s390 patches for the 4.2 merge window #2

2015-06-30 Thread Martin Schwidefsky
handling of AP queues Martin Schwidefsky (2): s390/smp: fix sigp cpu detection loop s390/smp: cleanup core vs. cpu in the SCLP interface Michael Holzheu (3): s390/bpf: Fix backward jumps s390/kdump: fix REGSET_VX_LOW vector register ELF notes s390/kdump: fix nosmt kernel

[GIT PULL] s390 patches for the 4.2 merge window

2015-06-23 Thread Martin Schwidefsky
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: Pretty boring for a merge window pull. One change in behaviour is the patch for dasd driver, the module which provides the

[GIT PULL] s390 patches for the 4.2 merge window

2015-06-23 Thread Martin Schwidefsky
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: Pretty boring for a merge window pull. One change in behaviour is the patch for dasd driver, the module which provides the

Re: [PATCH 0/2] Consolidate redundant register/stack access code

2015-06-16 Thread Martin Schwidefsky
On Mon, 15 Jun 2015 12:42:57 -0400 David Long wrote: > From: "David A. Long" > > Move duplicate and functionally equivalent code for accessing registers > and stack (CONFIG_HAVE_REGS_AND_STACK_ACCESS_API) from arch subdirs into > common kernel files. > > Note: Help regression testing s390,

Re: [PATCH 0/2] Consolidate redundant register/stack access code

2015-06-16 Thread Martin Schwidefsky
On Mon, 15 Jun 2015 12:42:57 -0400 David Long dave.l...@linaro.org wrote: From: David A. Long dave.l...@linaro.org Move duplicate and functionally equivalent code for accessing registers and stack (CONFIG_HAVE_REGS_AND_STACK_ACCESS_API) from arch subdirs into common kernel files. Note:

[GIT PULL] s390 patches for 4.1-rc5

2015-05-20 Thread Martin Schwidefsky
ing. Harald Freudenberger (1): s390/crypto: fix stckf loop Ingo Tuchscherer (2): s390/zcrypt: fixed ap poll timer behavior s390/zcrypt: Fix invalid domain handling during ap module unload Martin Schwidefsky (1): s390/mm: correct return value of pmd_pfn Michael Holzheu

[GIT PULL] s390 patches for 4.1-rc5

2015-05-20 Thread Martin Schwidefsky
. Harald Freudenberger (1): s390/crypto: fix stckf loop Ingo Tuchscherer (2): s390/zcrypt: fixed ap poll timer behavior s390/zcrypt: Fix invalid domain handling during ap module unload Martin Schwidefsky (1): s390/mm: correct return value of pmd_pfn Michael Holzheu (2

Re: [RFC kgr on klp 4/9] livepatch: add kgr infrastructure

2015-05-05 Thread Martin Schwidefsky
On Tue, 05 May 2015 15:27:19 +0200 Jiri Slaby wrote: > What I could do is to split them and make this setup: > > _TIF_WORK: > TIF_NOTIFY_RESUME 0 > TIF_SIGPENDING 1 > TIF_NEED_RESCHED2 > TIF_KGR_IN_PROGRESS_W 3 > TIF_UPROBE 7 > > _TIF_TRACE: >

Re: [RFC kgr on klp 4/9] livepatch: add kgr infrastructure

2015-05-05 Thread Martin Schwidefsky
On Tue, 05 May 2015 15:27:19 +0200 Jiri Slaby jsl...@suse.cz wrote: What I could do is to split them and make this setup: _TIF_WORK: TIF_NOTIFY_RESUME 0 TIF_SIGPENDING 1 TIF_NEED_RESCHED2 TIF_KGR_IN_PROGRESS_W 3 TIF_UPROBE 7 _TIF_TRACE:

Re: [RFC kgr on klp 4/9] livepatch: add kgr infrastructure

2015-05-04 Thread Martin Schwidefsky
On Mon, 4 May 2015 13:40:20 +0200 Jiri Slaby wrote: > This means: > * add a per-thread flag to indicate whether a task is in the old or in > the new universe, > * reset it in _slow_ paths of syscall's entry/exit, > * add helpers around the flag to sched.h, > * export the status in

Re: [RFC kgr on klp 4/9] livepatch: add kgr infrastructure

2015-05-04 Thread Martin Schwidefsky
On Mon, 4 May 2015 13:40:20 +0200 Jiri Slaby jsl...@suse.cz wrote: This means: * add a per-thread flag to indicate whether a task is in the old or in the new universe, * reset it in _slow_ paths of syscall's entry/exit, * add helpers around the flag to sched.h, * export the status in

[GIT PULL] s390 patches for 4.1-rc2

2015-04-28 Thread Martin Schwidefsky
Generator. Heiko Carstens (1): s390/bpf: add dependency to z196 features Martin Schwidefsky (3): s390/kvm: remove delayed reallocation of page tables for KVM s390/mm: correct transfer of dirty & young bits in __pmd_to_pte s390/mm: change swap pte encoding and pgtable cle

[GIT PULL] s390 patches for 4.1-rc2

2015-04-28 Thread Martin Schwidefsky
Generator. Heiko Carstens (1): s390/bpf: add dependency to z196 features Martin Schwidefsky (3): s390/kvm: remove delayed reallocation of page tables for KVM s390/mm: correct transfer of dirty young bits in __pmd_to_pte s390/mm: change swap pte encoding and pgtable cleanup

Re: [PATCH] s390: char: con3215: Free memory in error path

2015-04-20 Thread Martin Schwidefsky
On Sun, 19 Apr 2015 15:17:36 +0200 Christophe Jaillet wrote: > If one memory allocation fails, there is a memory leak. > > Signed-off-by: Christophe Jaillet > --- > drivers/s390/char/con3215.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/s390/char/con3215.c

[GIT PULL] s390 patches for the 4.1 merge window #2

2015-04-20 Thread Martin Schwidefsky
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: The big thing in this second merge for s390 is the new eBPF JIT from Michael which replaces the old 32-bit backend. The

Re: [PATCH] s390: char: con3215: Free memory in error path

2015-04-20 Thread Martin Schwidefsky
On Sun, 19 Apr 2015 15:17:36 +0200 Christophe Jaillet christophe.jail...@wanadoo.fr wrote: If one memory allocation fails, there is a memory leak. Signed-off-by: Christophe Jaillet christophe.jail...@wanadoo.fr --- drivers/s390/char/con3215.c | 2 ++ 1 file changed, 2 insertions(+)

[GIT PULL] s390 patches for the 4.1 merge window #2

2015-04-20 Thread Martin Schwidefsky
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: The big thing in this second merge for s390 is the new eBPF JIT from Michael which replaces the old 32-bit backend. The

[GIT PULL] s390 patches for the 4.1 merge window

2015-04-14 Thread Martin Schwidefsky
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: The major change in this merge is the removal of the support for 31-bit kernels. Naturally 31-bit user space will continue to

[GIT PULL] s390 patches for the 4.1 merge window

2015-04-14 Thread Martin Schwidefsky
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: The major change in this merge is the removal of the support for 31-bit kernels. Naturally 31-bit user space will continue to

[GIT PULL] s390 patches for 4.0-rc6

2015-03-26 Thread Martin Schwidefsky
. Heiko Carstens (2): s390/ftrace: fix compile error if CONFIG_KPROBES is disabled s390/smp: reenable smt after resume Hendrik Brueckner (1): s390/cpum_sf: add diagnostic sampling event only if it is authorized Martin Schwidefsky (1): s390/mm: limit STACK_RND_MASK

[GIT PULL] s390 patches for 4.0-rc6

2015-03-26 Thread Martin Schwidefsky
. Heiko Carstens (2): s390/ftrace: fix compile error if CONFIG_KPROBES is disabled s390/smp: reenable smt after resume Hendrik Brueckner (1): s390/cpum_sf: add diagnostic sampling event only if it is authorized Martin Schwidefsky (1): s390/mm: limit STACK_RND_MASK

[GIT PULL] s390 patches for 4.0.0-rc4

2015-03-09 Thread Martin Schwidefsky
to cpu_relax() Martin Schwidefsky (1): s390/mm: fix incorrect ASCE after crst_table_downgrade Sebastian Ott (4): s390/scm_block: fix off by one during cluster reservation s390/pci: fix possible information leak in mmio syscall s390/pci: fix [un]map_resources sequence

Re: [PATCH v4 08/10] s390: redefine randomize_et_dyn for ELF_ET_DYN_BASE

2015-03-09 Thread Martin Schwidefsky
same ET_DYN randomization on s390. > > Signed-off-by: Kees Cook > --- > arch/s390/include/asm/elf.h | 8 +--- > arch/s390/mm/mmap.c | 11 ++- > 2 files changed, 7 insertions(+), 12 deletions(-) Patch series including this patch works fine Acked-by: Marti

Re: [PATCH v4 06/10] s390: standardize mmap_rnd() usage

2015-03-09 Thread Martin Schwidefsky
h/s390/mm/mmap.c | 34 +++--- > 1 file changed, 23 insertions(+), 11 deletions(-) Patch series including this patch works fine Acked-by: Martin Schwidefsky -- blue skies, Martin. "Reality continues to ruin my life." - Calvin. -- To unsubscribe from this list

[GIT PULL] s390 patches for 4.0.0-rc4

2015-03-09 Thread Martin Schwidefsky
to cpu_relax() Martin Schwidefsky (1): s390/mm: fix incorrect ASCE after crst_table_downgrade Sebastian Ott (4): s390/scm_block: fix off by one during cluster reservation s390/pci: fix possible information leak in mmio syscall s390/pci: fix [un]map_resources sequence

Re: [PATCH v4 06/10] s390: standardize mmap_rnd() usage

2015-03-09 Thread Martin Schwidefsky
--- arch/s390/mm/mmap.c | 34 +++--- 1 file changed, 23 insertions(+), 11 deletions(-) Patch series including this patch works fine Acked-by: Martin Schwidefsky schwidef...@de.ibm.com -- blue skies, Martin. Reality continues to ruin my life. - Calvin

Re: [PATCH v4 08/10] s390: redefine randomize_et_dyn for ELF_ET_DYN_BASE

2015-03-09 Thread Martin Schwidefsky
Schwidefsky schwidef...@de.ibm.com -- blue skies, Martin. Reality continues to ruin my life. - Calvin. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo

[GIT PULL] s390 patches for the 3.20 merge window #2

2015-02-19 Thread Martin Schwidefsky
Schwidefsky (3): s390/vdso: fix clock_gettime for CLOCK_THREAD_CPUTIME_ID, -2 and -3 s390/mm: align 64-bit PIE binaries to 4GB s390/spinlock: disabled compare-and-delay by default arch/s390/include/asm/topology.h| 24 ++ arch/s390/kernel/cache.c| 25

[GIT PULL] s390 patches for the 3.20 merge window #2

2015-02-19 Thread Martin Schwidefsky
Schwidefsky (3): s390/vdso: fix clock_gettime for CLOCK_THREAD_CPUTIME_ID, -2 and -3 s390/mm: align 64-bit PIE binaries to 4GB s390/spinlock: disabled compare-and-delay by default arch/s390/include/asm/topology.h| 24 ++ arch/s390/kernel/cache.c| 25

[GIT PULL] s390 patches for the 3.20 merge window

2015-02-11 Thread Martin Schwidefsky
domain scanning problem (again) Joe Perches (1): s390: remove unnecessary KERN_CONT Martin Schwidefsky (6): s390: add z13 code generation support s390: avoid z13 cache aliasing s390: add SMT support s390: update default configuration s390/tape: remove redundant

[GIT PULL] s390 patches for the 3.20 merge window

2015-02-11 Thread Martin Schwidefsky
domain scanning problem (again) Joe Perches (1): s390: remove unnecessary KERN_CONT Martin Schwidefsky (6): s390: add z13 code generation support s390: avoid z13 cache aliasing s390: add SMT support s390: update default configuration s390/tape: remove redundant

Re: [RFC] [PATCH 0/3] sched: Support for real CPU runtime and SMT scaling

2015-02-03 Thread Martin Schwidefsky
On Sat, 31 Jan 2015 12:43:07 +0100 Peter Zijlstra wrote: > On Fri, Jan 30, 2015 at 03:02:39PM +0100, Philipp Hachtmann wrote: > > Hello, > > > > when using "real" processors the scheduler can make its decisions based > > on wall time. But CPUs under hypervisor control are sometimes > >

Re: [RFC] [PATCH 0/3] sched: Support for real CPU runtime and SMT scaling

2015-02-03 Thread Martin Schwidefsky
On Sat, 31 Jan 2015 12:43:07 +0100 Peter Zijlstra pet...@infradead.org wrote: On Fri, Jan 30, 2015 at 03:02:39PM +0100, Philipp Hachtmann wrote: Hello, when using real processors the scheduler can make its decisions based on wall time. But CPUs under hypervisor control are sometimes

Re: [PATCH 12/19] s390: expose number of page table levels

2015-01-30 Thread Martin Schwidefsky
On Fri, 30 Jan 2015 16:43:21 +0200 "Kirill A. Shutemov" wrote: > diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig > index 8d11babf9aa5..ddf9ebd4c254 100644 > --- a/arch/s390/Kconfig > +++ b/arch/s390/Kconfig > @@ -155,6 +155,11 @@ config S390 > config SCHED_OMIT_FRAME_POINTER > def_bool

Re: [PATCH 12/19] s390: expose number of page table levels

2015-01-30 Thread Martin Schwidefsky
On Fri, 30 Jan 2015 16:43:21 +0200 Kirill A. Shutemov kirill.shute...@linux.intel.com wrote: diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig index 8d11babf9aa5..ddf9ebd4c254 100644 --- a/arch/s390/Kconfig +++ b/arch/s390/Kconfig @@ -155,6 +155,11 @@ config S390 config

[GIT PULL] s390 patches for 3.19-rc6

2015-01-22 Thread Martin Schwidefsky
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: Five more bug fixes from Michael for the s390 BPF jit. Michael Holzheu (5): s390/bpf: Fix JMP_JGE_K (A >= K) and

[GIT PULL] s390 patches for 3.19-rc6

2015-01-22 Thread Martin Schwidefsky
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: Five more bug fixes from Michael for the s390 BPF jit. Michael Holzheu (5): s390/bpf: Fix JMP_JGE_K (A = K) and JMP_JGT_K

[GIT PULL] s390 patches for 3.19-rc5

2015-01-14 Thread Martin Schwidefsky
: wire up execveat syscall Jan Willeke (1): s390/uprobes: fix user space PER events Martin Schwidefsky (1): s390/mm: avoid using pmd_to_page for !USE_SPLIT_PMD_PTLOCKS Michael Holzheu (2): s390/bpf: Fix ALU_NEG (A = -A) s390/bpf: Fix JMP_JGE_X (A > X) and JMP_JGT_X (A &

[GIT PULL] s390 patches for 3.19-rc5

2015-01-14 Thread Martin Schwidefsky
: wire up execveat syscall Jan Willeke (1): s390/uprobes: fix user space PER events Martin Schwidefsky (1): s390/mm: avoid using pmd_to_page for !USE_SPLIT_PMD_PTLOCKS Michael Holzheu (2): s390/bpf: Fix ALU_NEG (A = -A) s390/bpf: Fix JMP_JGE_X (A X) and JMP_JGT_X (A = X

Re: [PATCH] s390: include: timex: Use macro CLOCK_STORE_SIZE instead of hard code number

2015-01-07 Thread Martin Schwidefsky
On Wed, 07 Jan 2015 22:45:11 +0800 Chen Gang S wrote: > On 01/05/2015 04:59 PM, Martin Schwidefsky wrote: > > On Sat, 03 Jan 2015 11:44:04 +0800 > > Chen Gang wrote: > > > >> > >> Thank you for your work. > >> > >> In honest,

Re: [PATCH 2/2] powerpc: add running_clock for powerpc to prevent spurious softlockup warnings

2015-01-07 Thread Martin Schwidefsky
On Tue, 06 Jan 2015 13:44:01 +1100 Cyril Bur wrote: > On Mon, 2015-01-05 at 14:10 -0800, Andrew Morton wrote: > > On Mon, 22 Dec 2014 16:06:04 +1100 Cyril Bur wrote: > > > > > On POWER8 virtualised kernels the VTB register can be read to have a view > > > of > > > time that only increases

Re: [PATCH 2/2] powerpc: add running_clock for powerpc to prevent spurious softlockup warnings

2015-01-07 Thread Martin Schwidefsky
On Tue, 06 Jan 2015 13:44:01 +1100 Cyril Bur cyril...@gmail.com wrote: On Mon, 2015-01-05 at 14:10 -0800, Andrew Morton wrote: On Mon, 22 Dec 2014 16:06:04 +1100 Cyril Bur cyril...@gmail.com wrote: On POWER8 virtualised kernels the VTB register can be read to have a view of time

Re: [PATCH] s390: include: timex: Use macro CLOCK_STORE_SIZE instead of hard code number

2015-01-07 Thread Martin Schwidefsky
On Wed, 07 Jan 2015 22:45:11 +0800 Chen Gang S gang.c...@sunrus.com.cn wrote: On 01/05/2015 04:59 PM, Martin Schwidefsky wrote: On Sat, 03 Jan 2015 11:44:04 +0800 Chen Gang gang.c...@sunrus.com.cn wrote: Thank you for your work. In honest, originally, I was not sure whether

Re: [PATCH] s390: include: timex: Use macro CLOCK_STORE_SIZE instead of hard code number

2015-01-05 Thread Martin Schwidefsky
On Sat, 03 Jan 2015 11:44:04 +0800 Chen Gang wrote: > > Thank you for your work. > > In honest, originally, I was not sure whether it would cause bug (do not > know gcc would generic incorrect code for it). :-) Even if the code happened to be correct it does not matter. The intention of the

Re: [PATCH] s390: include: timex: Use macro CLOCK_STORE_SIZE instead of hard code number

2015-01-05 Thread Martin Schwidefsky
On Sat, 03 Jan 2015 11:44:04 +0800 Chen Gang gang.c...@sunrus.com.cn wrote: Thank you for your work. In honest, originally, I was not sure whether it would cause bug (do not know gcc would generic incorrect code for it). :-) Even if the code happened to be correct it does not matter. The

Re: [PATCH 30/38] s390: drop pte_file()-related helpers

2014-12-30 Thread Martin Schwidefsky
On Mon, 29 Dec 2014 12:37:57 +0200 "Kirill A. Shutemov" wrote: > On Mon, Dec 29, 2014 at 11:07:27AM +0100, Martin Schwidefsky wrote: > > On Wed, 24 Dec 2014 14:22:38 +0200 > > "Kirill A. Shutemov" wrote: > > > > > We've replaced remap_file_pa

Re: [PATCH 30/38] s390: drop pte_file()-related helpers

2014-12-30 Thread Martin Schwidefsky
On Mon, 29 Dec 2014 12:37:57 +0200 Kirill A. Shutemov kir...@shutemov.name wrote: On Mon, Dec 29, 2014 at 11:07:27AM +0100, Martin Schwidefsky wrote: On Wed, 24 Dec 2014 14:22:38 +0200 Kirill A. Shutemov kirill.shute...@linux.intel.com wrote: We've replaced remap_file_pages(2

Re: [PATCH 30/38] s390: drop pte_file()-related helpers

2014-12-29 Thread Martin Schwidefsky
On Wed, 24 Dec 2014 14:22:38 +0200 "Kirill A. Shutemov" wrote: > We've replaced remap_file_pages(2) implementation with emulation. > Nobody creates non-linear mapping anymore. > > Signed-off-by: Kirill A. Shutemov > Cc: Martin Schwidefsky > Cc: Heiko Carste

Re: [PATCH] srcu: Isolate srcu sections using CONFIG_SRCU

2014-12-29 Thread Martin Schwidefsky
On Sat, 27 Dec 2014 12:17:43 -0500 Pranith Kumar wrote: > @@ -65,10 +65,13 @@ > #include > #include > #include > -#include > #include > #include > > +#if IS_ENABLED(CONFIG_KVM) > +#include > +#endif > + > #ifdef DEBUG > #define DBG(fmt...) udbg_printf(fmt) > #else I always

Re: [PATCH] s390: Initialize nr_devices count variable to -1

2014-12-29 Thread Martin Schwidefsky
On Sun, 28 Dec 2014 21:42:53 +0530 Aniroop Mathur wrote: > From: Aniroop Mathur > > This patch initializes nr_device count variable to -1 to avoid extra > subtraction operation performed everytime scm block device is set up. > > Signed-off-by: Aniroop Mathur > --- >

Re: [PATCH] s390: Initialize nr_devices count variable to -1

2014-12-29 Thread Martin Schwidefsky
On Sun, 28 Dec 2014 21:42:53 +0530 Aniroop Mathur aniroop.mat...@gmail.com wrote: From: Aniroop Mathur a.mat...@samsung.com This patch initializes nr_device count variable to -1 to avoid extra subtraction operation performed everytime scm block device is set up. Signed-off-by: Aniroop

Re: [PATCH] srcu: Isolate srcu sections using CONFIG_SRCU

2014-12-29 Thread Martin Schwidefsky
On Sat, 27 Dec 2014 12:17:43 -0500 Pranith Kumar bobby.pr...@gmail.com wrote: @@ -65,10 +65,13 @@ #include asm/kexec.h #include asm/mmu_context.h #include asm/code-patching.h -#include asm/kvm_ppc.h #include asm/hugetlb.h #include asm/epapr_hcalls.h +#if IS_ENABLED(CONFIG_KVM)

Re: [PATCH 30/38] s390: drop pte_file()-related helpers

2014-12-29 Thread Martin Schwidefsky
On Wed, 24 Dec 2014 14:22:38 +0200 Kirill A. Shutemov kirill.shute...@linux.intel.com wrote: We've replaced remap_file_pages(2) implementation with emulation. Nobody creates non-linear mapping anymore. Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com Cc: Martin Schwidefsky

[GIT PULL] s390 patches for the 3.19 merge window, 2nd try with diffstat

2014-12-10 Thread Martin Schwidefsky
off lockdep annotation Hendrik Brueckner (1): s390/cpum_sf: Remove initialization of PMU event index Markus Elfring (1): s390/pci: Deletion of unnecessary checks before the function call "debug_unregister" Martin Schwidefsky (12): s390/mm: pmdp_get_and_clear_full op

[GIT PULL] s390 patches for the 3.19 merge window

2014-12-10 Thread Martin Schwidefsky
off lockdep annotation Hendrik Brueckner (1): s390/cpum_sf: Remove initialization of PMU event index Markus Elfring (1): s390/pci: Deletion of unnecessary checks before the function call "debug_unregister" Martin Schwidefsky (12): s390/mm: pmdp_get_and_clear_full op

[GIT PULL] s390 patches for the 3.19 merge window

2014-12-10 Thread Martin Schwidefsky
off lockdep annotation Hendrik Brueckner (1): s390/cpum_sf: Remove initialization of PMU event index Markus Elfring (1): s390/pci: Deletion of unnecessary checks before the function call debug_unregister Martin Schwidefsky (12): s390/mm: pmdp_get_and_clear_full optimization

[GIT PULL] s390 patches for the 3.19 merge window, 2nd try with diffstat

2014-12-10 Thread Martin Schwidefsky
off lockdep annotation Hendrik Brueckner (1): s390/cpum_sf: Remove initialization of PMU event index Markus Elfring (1): s390/pci: Deletion of unnecessary checks before the function call debug_unregister Martin Schwidefsky (12): s390/mm: pmdp_get_and_clear_full optimization

Re: [RFC PATCH 07/30] cputime: Convert kcpustat to nsecs

2014-12-01 Thread Martin Schwidefsky
On Mon, 1 Dec 2014 18:15:36 +0100 (CET) Thomas Gleixner wrote: > On Mon, 1 Dec 2014, Martin Schwidefsky wrote: > > On Mon, 1 Dec 2014 17:10:34 +0100 > > Frederic Weisbecker wrote: > > > > > Speaking about the degradation in s390: > > > > >

Re: [RFC PATCH 24/30] cputime: Increment kcpustat directly on irqtime account

2014-12-01 Thread Martin Schwidefsky
On Mon, 1 Dec 2014 17:15:45 +0100 Frederic Weisbecker wrote: > On Mon, Dec 01, 2014 at 03:41:28PM +0100, Martin Schwidefsky wrote: > > On Fri, 28 Nov 2014 19:23:54 +0100 > > Frederic Weisbecker wrote: > > > > > The irqtime is accounted is nsecs and stored in &

Re: [RFC PATCH 07/30] cputime: Convert kcpustat to nsecs

2014-12-01 Thread Martin Schwidefsky
On Mon, 1 Dec 2014 17:10:34 +0100 Frederic Weisbecker wrote: > Speaking about the degradation in s390: > > s390 is really a special case. And it would be a shame if we prevent from a > real core cleanup just for this special case especially as it's fairly > possible > to keep a specific

Re: [RFC PATCH 24/30] cputime: Increment kcpustat directly on irqtime account

2014-12-01 Thread Martin Schwidefsky
On Fri, 28 Nov 2014 19:23:54 +0100 Frederic Weisbecker wrote: > The irqtime is accounted is nsecs and stored in > cpu_irq_time.hardirq_time and cpu_irq_time.softirq_time. Once the > accumulated amount reaches a new jiffy, this one gets accounted to the > kcpustat. > > This was necessary when

Re: [RFC PATCH 07/30] cputime: Convert kcpustat to nsecs

2014-12-01 Thread Martin Schwidefsky
On Fri, 28 Nov 2014 19:23:37 +0100 Frederic Weisbecker wrote: > Kernel cpu stats are stored in cputime_t which is an architecture > defined type, and hence a bit opaque and requiring accessors and mutators > for any operation. > > Converting them to nsecs simplifies the code a little bit.

Re: [RFC PATCH 03/30] cputime: Introduce nsecs_to_cputime64()

2014-12-01 Thread Martin Schwidefsky
On Fri, 28 Nov 2014 19:23:33 +0100 Frederic Weisbecker wrote: > This will be needed for the conversion of kernel stat to nsecs. > > Cc: Benjamin Herrenschmidt > Cc: Heiko Carstens > Cc: Ingo Molnar > Cc: Martin Schwidefsky > Cc: Oleg Nesterov > Cc: Paul Mackerr

Re: [RFC PATCH 06/30] s390: Introduce cputime64_to_nsecs()

2014-12-01 Thread Martin Schwidefsky
; Cc: Ingo Molnar > > Cc: Martin Schwidefsky > > Cc: Oleg Nesterov > > Cc: Paul Mackerras > > Cc: Peter Zijlstra > > Cc: Rik van Riel > > Cc: Thomas Gleixner > > Cc: Tony Luck > > Cc: Wu Fengguang > > Signed-off-by: Frederic Weisbecker &

[GIT PULL] s390 last minute patch for 3.18

2014-12-01 Thread Martin Schwidefsky
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: A single but important fix for the machine check handling. The big per-cpu cleanup from Christoph causes the code to do nothing

[GIT PULL] s390 last minute patch for 3.18

2014-12-01 Thread Martin Schwidefsky
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: A single but important fix for the machine check handling. The big per-cpu cleanup from Christoph causes the code to do nothing

Re: [RFC PATCH 06/30] s390: Introduce cputime64_to_nsecs()

2014-12-01 Thread Martin Schwidefsky
heiko.carst...@de.ibm.com Cc: Ingo Molnar mi...@kernel.org Cc: Martin Schwidefsky schwidef...@de.ibm.com Cc: Oleg Nesterov o...@redhat.com Cc: Paul Mackerras pau...@samba.org Cc: Peter Zijlstra pet...@infradead.org Cc: Rik van Riel r...@redhat.com Cc: Thomas Gleixner t...@linutronix.de

Re: [RFC PATCH 03/30] cputime: Introduce nsecs_to_cputime64()

2014-12-01 Thread Martin Schwidefsky
Schwidefsky schwidef...@de.ibm.com Cc: Oleg Nesterov o...@redhat.com Cc: Paul Mackerras pau...@samba.org Cc: Peter Zijlstra pet...@infradead.org Cc: Rik van Riel r...@redhat.com Cc: Thomas Gleixner t...@linutronix.de Cc: Tony Luck tony.l...@intel.com Cc: Wu Fengguang fengguang...@intel.com

Re: [RFC PATCH 07/30] cputime: Convert kcpustat to nsecs

2014-12-01 Thread Martin Schwidefsky
On Fri, 28 Nov 2014 19:23:37 +0100 Frederic Weisbecker fweis...@gmail.com wrote: Kernel cpu stats are stored in cputime_t which is an architecture defined type, and hence a bit opaque and requiring accessors and mutators for any operation. Converting them to nsecs simplifies the code a

Re: [RFC PATCH 24/30] cputime: Increment kcpustat directly on irqtime account

2014-12-01 Thread Martin Schwidefsky
On Fri, 28 Nov 2014 19:23:54 +0100 Frederic Weisbecker fweis...@gmail.com wrote: The irqtime is accounted is nsecs and stored in cpu_irq_time.hardirq_time and cpu_irq_time.softirq_time. Once the accumulated amount reaches a new jiffy, this one gets accounted to the kcpustat. This was

Re: [RFC PATCH 07/30] cputime: Convert kcpustat to nsecs

2014-12-01 Thread Martin Schwidefsky
On Mon, 1 Dec 2014 17:10:34 +0100 Frederic Weisbecker fweis...@gmail.com wrote: Speaking about the degradation in s390: s390 is really a special case. And it would be a shame if we prevent from a real core cleanup just for this special case especially as it's fairly possible to keep a

Re: [RFC PATCH 24/30] cputime: Increment kcpustat directly on irqtime account

2014-12-01 Thread Martin Schwidefsky
On Mon, 1 Dec 2014 17:15:45 +0100 Frederic Weisbecker fweis...@gmail.com wrote: On Mon, Dec 01, 2014 at 03:41:28PM +0100, Martin Schwidefsky wrote: On Fri, 28 Nov 2014 19:23:54 +0100 Frederic Weisbecker fweis...@gmail.com wrote: The irqtime is accounted is nsecs and stored

Re: [RFC PATCH 07/30] cputime: Convert kcpustat to nsecs

2014-12-01 Thread Martin Schwidefsky
On Mon, 1 Dec 2014 18:15:36 +0100 (CET) Thomas Gleixner t...@linutronix.de wrote: On Mon, 1 Dec 2014, Martin Schwidefsky wrote: On Mon, 1 Dec 2014 17:10:34 +0100 Frederic Weisbecker fweis...@gmail.com wrote: Speaking about the degradation in s390: s390 is really a special case

Re: compiler bug gcc4.6/4.7 with ACCESS_ONCE and workarounds

2014-11-12 Thread Martin Schwidefsky
On Tue, 11 Nov 2014 16:36:06 -0800 Linus Torvalds wrote: > On Tue, Nov 11, 2014 at 4:33 PM, Linus Torvalds > wrote: > > > > I guess as a workaround it is fine, as long as we don't lose sight of > > trying to eventually do a better job. > > Oh, and when it comes to the actual gcc bug - do you

Re: compiler bug gcc4.6/4.7 with ACCESS_ONCE and workarounds

2014-11-12 Thread Martin Schwidefsky
On Tue, 11 Nov 2014 16:36:06 -0800 Linus Torvalds torva...@linux-foundation.org wrote: On Tue, Nov 11, 2014 at 4:33 PM, Linus Torvalds torva...@linux-foundation.org wrote: I guess as a workaround it is fine, as long as we don't lose sight of trying to eventually do a better job. Oh,

[GIT PULL] s390 patches for 3.18-rc4

2014-11-04 Thread Martin Schwidefsky
Carstens (2): s390/vdso: fix stack corruption s390/ftrace: add ftrace_graph_is_dead() check Martin Schwidefsky (2): s390/time: use stck clock fast for do_account_vtime s390: update default configuration arch/s390/configs/default_defconfig | 36

[GIT PULL] s390 patches for 3.18-rc4

2014-11-04 Thread Martin Schwidefsky
Carstens (2): s390/vdso: fix stack corruption s390/ftrace: add ftrace_graph_is_dead() check Martin Schwidefsky (2): s390/time: use stck clock fast for do_account_vtime s390: update default configuration arch/s390/configs/default_defconfig | 36

Re: [PATCH v3 0/4] mm: new function to forbid zeropage mappings for a process

2014-10-23 Thread Martin Schwidefsky
On Wed, 22 Oct 2014 13:09:26 +0200 Dominik Dingel wrote: > s390 has the special notion of storage keys which are some sort of page flags > associated with physical pages and live outside of direct addressable memory. > These storage keys can be queried and changed with a special set of >

Re: [PATCH v3 0/4] mm: new function to forbid zeropage mappings for a process

2014-10-23 Thread Martin Schwidefsky
On Wed, 22 Oct 2014 13:09:26 +0200 Dominik Dingel din...@linux.vnet.ibm.com wrote: s390 has the special notion of storage keys which are some sort of page flags associated with physical pages and live outside of direct addressable memory. These storage keys can be queried and changed with a

Re: [PATCH 2/4] mm: introduce new VM_NOZEROPAGE flag

2014-10-21 Thread Martin Schwidefsky
On Mon, 20 Oct 2014 20:14:53 +0200 Paolo Bonzini wrote: > On 10/18/2014 06:28 PM, Dave Hansen wrote: > > > Currently it is an all or nothing thing, but for a future change we might > > > want to just > > > tag the guest memory instead of the complete user address space. > > > > I think it's a

Re: [PATCH 2/4] mm: introduce new VM_NOZEROPAGE flag

2014-10-21 Thread Martin Schwidefsky
On Mon, 20 Oct 2014 20:14:53 +0200 Paolo Bonzini pbonz...@redhat.com wrote: On 10/18/2014 06:28 PM, Dave Hansen wrote: Currently it is an all or nothing thing, but for a future change we might want to just tag the guest memory instead of the complete user address space. I think

Re: [RFC 5/5] x86,perf: Only allow rdpmc if a perf_event is mapped

2014-10-20 Thread Martin Schwidefsky
On Mon, 20 Oct 2014 10:48:13 +0200 Peter Zijlstra wrote: > > - cpumsf_pmu_event_idx is the same as power_pmu_event_idx. > > Oh cute, lets ask the s390 people, do you guys have a userspace > instruction to read the actual counter value? The "extract cpu counter" ECCTR instruction can be

[GIT PULL] s390 patches for 3.18-rc2

2014-10-20 Thread Martin Schwidefsky
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: One patch to enable the BPF system call and three more bug fixes. Dominik Dingel (1): s390/mm: fixing calls of

[GIT PULL] s390 patches for 3.18-rc2

2014-10-20 Thread Martin Schwidefsky
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: One patch to enable the BPF system call and three more bug fixes. Dominik Dingel (1): s390/mm: fixing calls of

Re: [RFC 5/5] x86,perf: Only allow rdpmc if a perf_event is mapped

2014-10-20 Thread Martin Schwidefsky
On Mon, 20 Oct 2014 10:48:13 +0200 Peter Zijlstra pet...@infradead.org wrote: - cpumsf_pmu_event_idx is the same as power_pmu_event_idx. Oh cute, lets ask the s390 people, do you guys have a userspace instruction to read the actual counter value? The extract cpu counter ECCTR instruction

<    3   4   5   6   7   8   9   10   11   12   >