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

2013-11-18 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 second set of s390 patches for the 3.13 merge window. The handling of the PCI hotplug notifications has been improved, the

Re: [PATCH 2/2] s390/mm,tlb: race of lazy TLB flush vs. recreation of TLB entries

2013-11-18 Thread Martin Schwidefsky
On Fri, 15 Nov 2013 13:46:07 + Catalin Marinas wrote: > On 15 November 2013 13:29, Martin Schwidefsky wrote: > > On Fri, 15 Nov 2013 11:57:01 + > > Catalin Marinas wrote: > > > >> On Fri, Nov 15, 2013 at 11:17:36AM +, Martin Schwidefsky wrote: >

Re: [PATCH 2/2] s390/mm,tlb: race of lazy TLB flush vs. recreation of TLB entries

2013-11-18 Thread Martin Schwidefsky
On Fri, 15 Nov 2013 13:46:07 + Catalin Marinas catalin.mari...@arm.com wrote: On 15 November 2013 13:29, Martin Schwidefsky schwidef...@de.ibm.com wrote: On Fri, 15 Nov 2013 11:57:01 + Catalin Marinas catalin.mari...@arm.com wrote: On Fri, Nov 15, 2013 at 11:17:36AM +, Martin

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

2013-11-18 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 second set of s390 patches for the 3.13 merge window. The handling of the PCI hotplug notifications has been improved, the

Re: [PATCH 2/2] s390/mm,tlb: race of lazy TLB flush vs. recreation of TLB entries

2013-11-15 Thread Martin Schwidefsky
On Fri, 15 Nov 2013 11:57:01 + Catalin Marinas wrote: > On Fri, Nov 15, 2013 at 11:17:36AM +, Martin Schwidefsky wrote: > > On Fri, 15 Nov 2013 12:10:00 +0100 > > Martin Schwidefsky wrote: > > > > > On Fri, 15 Nov 2013 10:44:37 + > > > Ca

Re: [PATCH 2/2] s390/mm,tlb: race of lazy TLB flush vs. recreation of TLB entries

2013-11-15 Thread Martin Schwidefsky
On Fri, 15 Nov 2013 12:10:00 +0100 Martin Schwidefsky wrote: > On Fri, 15 Nov 2013 10:44:37 + > Catalin Marinas wrote: > > > On Thu, Nov 14, 2013 at 04:33:59PM +, Martin Schwidefsky wrote: > > > On Thu, 14 Nov 2013 13:22:23 + > > > Catalin Marinas

Re: [PATCH 2/2] s390/mm,tlb: race of lazy TLB flush vs. recreation of TLB entries

2013-11-15 Thread Martin Schwidefsky
On Fri, 15 Nov 2013 10:44:37 + Catalin Marinas wrote: > On Thu, Nov 14, 2013 at 04:33:59PM +, Martin Schwidefsky wrote: > > On Thu, 14 Nov 2013 13:22:23 + > > Catalin Marinas wrote: > > > > > On Thu, Nov 14, 2013 at 08:10:07AM +, Martin Schwidefsky

Re: [PATCH 2/2] s390/mm,tlb: race of lazy TLB flush vs. recreation of TLB entries

2013-11-15 Thread Martin Schwidefsky
On Thu, 14 Nov 2013 09:10:07 +0100 Martin Schwidefsky wrote: > On Wed, 13 Nov 2013 16:16:35 + > Catalin Marinas wrote: > > > On 13 November 2013 08:16, Martin Schwidefsky > > wrote: > > > diff --git a/arch/s390/include/asm/mmu_context.h > > >

Re: [PATCH 2/2] s390/mm,tlb: race of lazy TLB flush vs. recreation of TLB entries

2013-11-15 Thread Martin Schwidefsky
On Thu, 14 Nov 2013 09:10:07 +0100 Martin Schwidefsky schwidef...@de.ibm.com wrote: On Wed, 13 Nov 2013 16:16:35 + Catalin Marinas catalin.mari...@arm.com wrote: On 13 November 2013 08:16, Martin Schwidefsky schwidef...@de.ibm.com wrote: diff --git a/arch/s390/include/asm

Re: [PATCH 2/2] s390/mm,tlb: race of lazy TLB flush vs. recreation of TLB entries

2013-11-15 Thread Martin Schwidefsky
On Fri, 15 Nov 2013 10:44:37 + Catalin Marinas catalin.mari...@arm.com wrote: On Thu, Nov 14, 2013 at 04:33:59PM +, Martin Schwidefsky wrote: On Thu, 14 Nov 2013 13:22:23 + Catalin Marinas catalin.mari...@arm.com wrote: On Thu, Nov 14, 2013 at 08:10:07AM +, Martin

Re: [PATCH 2/2] s390/mm,tlb: race of lazy TLB flush vs. recreation of TLB entries

2013-11-15 Thread Martin Schwidefsky
On Fri, 15 Nov 2013 12:10:00 +0100 Martin Schwidefsky schwidef...@de.ibm.com wrote: On Fri, 15 Nov 2013 10:44:37 + Catalin Marinas catalin.mari...@arm.com wrote: On Thu, Nov 14, 2013 at 04:33:59PM +, Martin Schwidefsky wrote: On Thu, 14 Nov 2013 13:22:23 + Catalin Marinas

Re: [PATCH 2/2] s390/mm,tlb: race of lazy TLB flush vs. recreation of TLB entries

2013-11-15 Thread Martin Schwidefsky
On Fri, 15 Nov 2013 11:57:01 + Catalin Marinas catalin.mari...@arm.com wrote: On Fri, Nov 15, 2013 at 11:17:36AM +, Martin Schwidefsky wrote: On Fri, 15 Nov 2013 12:10:00 +0100 Martin Schwidefsky schwidef...@de.ibm.com wrote: On Fri, 15 Nov 2013 10:44:37 + Catalin

Re: [PATCH 2/2] s390/mm,tlb: race of lazy TLB flush vs. recreation of TLB entries

2013-11-14 Thread Martin Schwidefsky
On Thu, 14 Nov 2013 13:22:23 + Catalin Marinas wrote: > On Thu, Nov 14, 2013 at 08:10:07AM +, Martin Schwidefsky wrote: > > On Wed, 13 Nov 2013 16:16:35 + > > Catalin Marinas wrote: > > > > > On 13 November 2013 08:16, Martin Schwidefsky > >

Re: [PATCH 2/2] s390/mm,tlb: race of lazy TLB flush vs. recreation of TLB entries

2013-11-14 Thread Martin Schwidefsky
On Wed, 13 Nov 2013 16:16:35 + Catalin Marinas wrote: > On 13 November 2013 08:16, Martin Schwidefsky wrote: > > diff --git a/arch/s390/include/asm/mmu_context.h > > b/arch/s390/include/asm/mmu_context.h > > index 5d1f950..e91afeb 100644 > > --- a/arch/s39

Re: [PATCH 1/2] sched/mm: add finish_switch_mm function

2013-11-14 Thread Martin Schwidefsky
On Wed, 13 Nov 2013 17:03:58 + Catalin Marinas wrote: > On Wed, Nov 13, 2013 at 04:05:56PM +, Martin Schwidefsky wrote: > > On Wed, 13 Nov 2013 12:19:09 + > > Catalin Marinas wrote: > > > On Wed, Nov 13, 2013 at 11:41:43AM +, Peter Zijlstra wrote: >

Re: [PATCH 1/2] sched/mm: add finish_switch_mm function

2013-11-14 Thread Martin Schwidefsky
On Wed, 13 Nov 2013 17:03:58 + Catalin Marinas catalin.mari...@arm.com wrote: On Wed, Nov 13, 2013 at 04:05:56PM +, Martin Schwidefsky wrote: On Wed, 13 Nov 2013 12:19:09 + Catalin Marinas catalin.mari...@arm.com wrote: On Wed, Nov 13, 2013 at 11:41:43AM +, Peter Zijlstra

Re: [PATCH 2/2] s390/mm,tlb: race of lazy TLB flush vs. recreation of TLB entries

2013-11-14 Thread Martin Schwidefsky
On Wed, 13 Nov 2013 16:16:35 + Catalin Marinas catalin.mari...@arm.com wrote: On 13 November 2013 08:16, Martin Schwidefsky schwidef...@de.ibm.com wrote: diff --git a/arch/s390/include/asm/mmu_context.h b/arch/s390/include/asm/mmu_context.h index 5d1f950..e91afeb 100644 --- a/arch

Re: [PATCH 2/2] s390/mm,tlb: race of lazy TLB flush vs. recreation of TLB entries

2013-11-14 Thread Martin Schwidefsky
On Thu, 14 Nov 2013 13:22:23 + Catalin Marinas catalin.mari...@arm.com wrote: On Thu, Nov 14, 2013 at 08:10:07AM +, Martin Schwidefsky wrote: On Wed, 13 Nov 2013 16:16:35 + Catalin Marinas catalin.mari...@arm.com wrote: On 13 November 2013 08:16, Martin Schwidefsky schwidef

Re: [PATCH 1/2] sched/mm: add finish_switch_mm function

2013-11-13 Thread Martin Schwidefsky
On Wed, 13 Nov 2013 12:19:09 + Catalin Marinas wrote: > On Wed, Nov 13, 2013 at 11:41:43AM +, Peter Zijlstra wrote: > > On Wed, Nov 13, 2013 at 09:16:13AM +0100, Martin Schwidefsky wrote: > > > The switch_mm function is called with the task_lock and/or with > > &

Re: [PATCH 1/2] sched/mm: add finish_switch_mm function

2013-11-13 Thread Martin Schwidefsky
On Wed, 13 Nov 2013 12:41:43 +0100 Peter Zijlstra wrote: > On Wed, Nov 13, 2013 at 09:16:13AM +0100, Martin Schwidefsky wrote: > > The switch_mm function is called with the task_lock and/or with > > request queue lock. Add finish_switch_mm to allow an architecture > > to ex

[PATCH 0/2] sched: finish_switch_mm hook

2013-11-13 Thread Martin Schwidefsky
Hi, in order to implement TLB flushing on s390 in a way that is 100% compliant with the architecture I would like to introcude a new hook to the scheduler. In concept it pairs with the switch_mm function and is called after all locks have been released to complete the switch_mm operation. The use

[PATCH 2/2] s390/mm,tlb: race of lazy TLB flush vs. recreation of TLB entries

2013-11-13 Thread Martin Schwidefsky
of the PTE modification. To do that the number of concurrent TLB flushers for an mm is tracked in the upper 16 bits of the attach_count and finish_switch_mm is used to wait for the end of the flush operation if required. Signed-off-by: Martin Schwidefsky --- arch/s390/include/asm/mmu_contex

[PATCH 1/2] sched/mm: add finish_switch_mm function

2013-11-13 Thread Martin Schwidefsky
of TLB flush operations. Signed-off-by: Martin Schwidefsky --- include/linux/mmu_context.h |6 ++ kernel/sched/core.c |7 +-- mm/mmu_context.c|3 +-- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/include/linux/mmu_context.h b/include/linux

[PATCH 1/2] sched/mm: add finish_switch_mm function

2013-11-13 Thread Martin Schwidefsky
of TLB flush operations. Signed-off-by: Martin Schwidefsky schwidef...@de.ibm.com --- include/linux/mmu_context.h |6 ++ kernel/sched/core.c |7 +-- mm/mmu_context.c|3 +-- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/include/linux

[PATCH 0/2] sched: finish_switch_mm hook

2013-11-13 Thread Martin Schwidefsky
Hi, in order to implement TLB flushing on s390 in a way that is 100% compliant with the architecture I would like to introcude a new hook to the scheduler. In concept it pairs with the switch_mm function and is called after all locks have been released to complete the switch_mm operation. The use

[PATCH 2/2] s390/mm,tlb: race of lazy TLB flush vs. recreation of TLB entries

2013-11-13 Thread Martin Schwidefsky
modification. To do that the number of concurrent TLB flushers for an mm is tracked in the upper 16 bits of the attach_count and finish_switch_mm is used to wait for the end of the flush operation if required. Signed-off-by: Martin Schwidefsky schwidef...@de.ibm.com --- arch/s390/include/asm

Re: [PATCH 1/2] sched/mm: add finish_switch_mm function

2013-11-13 Thread Martin Schwidefsky
On Wed, 13 Nov 2013 12:41:43 +0100 Peter Zijlstra pet...@infradead.org wrote: On Wed, Nov 13, 2013 at 09:16:13AM +0100, Martin Schwidefsky wrote: The switch_mm function is called with the task_lock and/or with request queue lock. Add finish_switch_mm to allow an architecture to execute

Re: [PATCH 1/2] sched/mm: add finish_switch_mm function

2013-11-13 Thread Martin Schwidefsky
On Wed, 13 Nov 2013 12:19:09 + Catalin Marinas catalin.mari...@arm.com wrote: On Wed, Nov 13, 2013 at 11:41:43AM +, Peter Zijlstra wrote: On Wed, Nov 13, 2013 at 09:16:13AM +0100, Martin Schwidefsky wrote: The switch_mm function is called with the task_lock and/or with request

[GIT PULL] s390 patches for the 3.13 merge window

2013-11-07 Thread Martin Schwidefsky
/crypto: fix aes_s390 crypto module unload problem Joe Perches (1): s390: convert use of typedef ctl_table to struct ctl_table Martin Schwidefsky (10): s390/uaccess: always run the kernel in home space s390/bpf,jit: fix prolog oddity s390/mm: do not initialize storage keys

[GIT PULL] s390 patches for the 3.13 merge window

2013-11-07 Thread Martin Schwidefsky
/crypto: fix aes_s390 crypto module unload problem Joe Perches (1): s390: convert use of typedef ctl_table to struct ctl_table Martin Schwidefsky (10): s390/uaccess: always run the kernel in home space s390/bpf,jit: fix prolog oddity s390/mm: do not initialize storage keys

Re: [RFC][PATCH v5 01/14] sched: add a new arch_sd_local_flags for sched_domain init

2013-11-06 Thread Martin Schwidefsky
On Tue, 5 Nov 2013 23:27:52 +0100 Peter Zijlstra wrote: > On Tue, Nov 05, 2013 at 03:57:23PM +0100, Vincent Guittot wrote: > > Your proposal looks fine for me. It's clearly better to move in one > > place the configuration of sched_domain fields. Have you already got > > an idea about how to let

Re: [RFC][PATCH v5 01/14] sched: add a new arch_sd_local_flags for sched_domain init

2013-11-06 Thread Martin Schwidefsky
On Tue, 5 Nov 2013 23:27:52 +0100 Peter Zijlstra pet...@infradead.org wrote: On Tue, Nov 05, 2013 at 03:57:23PM +0100, Vincent Guittot wrote: Your proposal looks fine for me. It's clearly better to move in one place the configuration of sched_domain fields. Have you already got an idea

[GIT PULL] s390 patches for 3.12-rc7

2013-10-23 Thread Martin Schwidefsky
and the store-clock-fast patch where we have been to optimistic with an optimization. Heiko Carstens (2): s390/compat,signal: fix return value of copy_siginfo_(to|from)_user32() s390/vmlogrdr: fix array access in vmlogrdr_open() Martin Schwidefsky (2): s390/mm,kvm: fix software dirty

[GIT PULL] s390 patches for 3.12-rc7

2013-10-23 Thread Martin Schwidefsky
and the store-clock-fast patch where we have been to optimistic with an optimization. Heiko Carstens (2): s390/compat,signal: fix return value of copy_siginfo_(to|from)_user32() s390/vmlogrdr: fix array access in vmlogrdr_open() Martin Schwidefsky (2): s390/mm,kvm: fix software dirty

Re: [PATCH] s390: Remove unused variable in copy_from_realmem()

2013-10-15 Thread Martin Schwidefsky
On Tue, 15 Oct 2013 08:50:11 +0200 Geert Uytterhoeven wrote: > arch/s390/kernel/crash_dump.c: In function 'copy_from_realmem': > arch/s390/kernel/crash_dump.c:48:6: warning: unused variable 'rc' > [-Wunused-variable] > > Introduced by commit 4d3b0664a0d0c0dc7501cfbd067f74226aeca510 ("s390:

Re: [PATCH] s390: Remove unused variable in copy_from_realmem()

2013-10-15 Thread Martin Schwidefsky
On Tue, 15 Oct 2013 08:50:11 +0200 Geert Uytterhoeven ge...@linux-m68k.org wrote: arch/s390/kernel/crash_dump.c: In function 'copy_from_realmem': arch/s390/kernel/crash_dump.c:48:6: warning: unused variable 'rc' [-Wunused-variable] Introduced by commit

[GIT PULL] s390 patches for 3.12-rc5

2013-10-07 Thread Martin Schwidefsky
to copy from virtual memory. Christian Borntraeger (1): s390/sclp: properly detect line mode console Heiko Carstens (1): s390/kprobes: add exrl to list of prohibited opcodes Martin Schwidefsky (1): s390: fix system call restart after inferior call Michael Holzheu (1): s390

[GIT PULL] s390 patches for 3.12-rc5

2013-10-07 Thread Martin Schwidefsky
to copy from virtual memory. Christian Borntraeger (1): s390/sclp: properly detect line mode console Heiko Carstens (1): s390/kprobes: add exrl to list of prohibited opcodes Martin Schwidefsky (1): s390: fix system call restart after inferior call Michael Holzheu (1): s390

Re: [PATCH RFC 04/77] PCI/MSI/s390: Remove superfluous check of MSI type

2013-10-04 Thread Martin Schwidefsky
e) > int rc; > > pr_debug("%s: requesting %d MSI-X interrupts...", __func__, nvec); > - if (type != PCI_CAP_ID_MSIX && type != PCI_CAP_ID_MSI) > - return -EINVAL; > if (type == PCI_CAP_ID_MSI && nvec > 1) >

Re: [PATCH RFC 03/77] PCI/MSI/s390: Fix single MSI only check

2013-10-04 Thread Martin Schwidefsky
msi_vecs = min(nvec, ZPCI_MSI_VEC_MAX); > msi_vecs = min_t(unsigned int, msi_vecs, CONFIG_PCI_NR_MSI); > Acked-by: Martin Schwidefsky -- blue skies, Martin. "Reality continues to ruin my life." - Calvin. -- To unsubscribe from this list: send the line &quo

Re: [PATCH RFC 03/77] PCI/MSI/s390: Fix single MSI only check

2013-10-04 Thread Martin Schwidefsky
, msi_vecs, CONFIG_PCI_NR_MSI); 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-kernel in the body of a message to majord...@vger.kernel.org More majordomo

Re: [PATCH RFC 04/77] PCI/MSI/s390: Remove superfluous check of MSI type

2013-10-04 Thread Martin Schwidefsky
; pr_debug(%s: requesting %d MSI-X interrupts..., __func__, nvec); - if (type != PCI_CAP_ID_MSIX type != PCI_CAP_ID_MSI) - return -EINVAL; if (type == PCI_CAP_ID_MSI nvec 1) return 1; msi_vecs = min(nvec, ZPCI_MSI_VEC_MAX); Acked-by: Martin Schwidefsky

[GIT PULL] s390 patches for 3.11-rc5

2013-08-05 Thread Martin Schwidefsky
s390: add support for IBM zBC12 machine s390/perf: fix compile error (undefined reference sie_exit) Martin Schwidefsky (1): s390/bitops: fix find_next_bit_left Stefan Haberland (1): s390/dasd: fix hanging devices after path events arch/s390/Kconfig

[GIT PULL] s390 patches for 3.11-rc5

2013-08-05 Thread Martin Schwidefsky
s390: add support for IBM zBC12 machine s390/perf: fix compile error (undefined reference sie_exit) Martin Schwidefsky (1): s390/bitops: fix find_next_bit_left Stefan Haberland (1): s390/dasd: fix hanging devices after path events arch/s390/Kconfig

Re: [PATCH 1/2] mm: add support for discard of unused ptes

2013-07-31 Thread Martin Schwidefsky
On Tue, 30 Jul 2013 13:44:22 -0700 Andrew Morton wrote: > On Thu, 25 Jul 2013 10:54:20 +0200 Martin Schwidefsky > wrote: > > > From: Konstantin Weitz > > > > In a virtualized environment and given an appropriate interface the guest > > can mark pa

Re: [PATCH 1/2] mm: add support for discard of unused ptes

2013-07-31 Thread Martin Schwidefsky
On Tue, 30 Jul 2013 13:44:22 -0700 Andrew Morton a...@linux-foundation.org wrote: On Thu, 25 Jul 2013 10:54:20 +0200 Martin Schwidefsky schwidef...@de.ibm.com wrote: From: Konstantin Weitz konstantin.we...@gmail.com In a virtualized environment and given an appropriate interface

[RFC][PATCH 0/2] s390/kvm: add kvm support for guest page hinting v2

2013-07-25 Thread Martin Schwidefsky
v1->v2: - found a way to simplify the common code patch Linux on s390 as a guest under z/VM has been using the guest page hinting interface (alias collaborative memory management) for a long time. The full version with volatile states has been deemed to be too complicated (see the old discussion

[PATCH 1/2] mm: add support for discard of unused ptes

2013-07-25 Thread Martin Schwidefsky
of the pte. This patch adds the primitive 'pte_unused' and code to the host swap out handler so that pages marked as unused by all mappers are not swapped out but discarded instead, thus saving one IO for swap out and potentially another one for swap in. [ Martin Schwidefsky: patch reordering and simp

[PATCH 2/2] s390/kvm: support collaborative memory management

2013-07-25 Thread Martin Schwidefsky
list of unused invalid pages is processed to reclaim swap space of not yet accessed unused pages. [ Martin Schwidefsky: patch reordering and cleanup ] Signed-off-by: Konstantin Weitz Signed-off-by: Martin Schwidefsky --- arch/s390/include/asm/kvm_host.h |5 ++- arch/s390/include/asm

[PATCH 1/2] mm: add support for discard of unused ptes

2013-07-25 Thread Martin Schwidefsky
is a property of the pte. This patch adds the primitive 'pte_unused' and code to the host swap out handler so that pages marked as unused by all mappers are not swapped out but discarded instead, thus saving one IO for swap out and potentially another one for swap in. [ Martin Schwidefsky: patch reordering

[PATCH 2/2] s390/kvm: support collaborative memory management

2013-07-25 Thread Martin Schwidefsky
. Further, a CPU provided list of unused invalid pages is processed to reclaim swap space of not yet accessed unused pages. [ Martin Schwidefsky: patch reordering and cleanup ] Signed-off-by: Konstantin Weitz konstantin.we...@gmail.com Signed-off-by: Martin Schwidefsky schwidef...@de.ibm.com

[RFC][PATCH 0/2] s390/kvm: add kvm support for guest page hinting v2

2013-07-25 Thread Martin Schwidefsky
v1-v2: - found a way to simplify the common code patch Linux on s390 as a guest under z/VM has been using the guest page hinting interface (alias collaborative memory management) for a long time. The full version with volatile states has been deemed to be too complicated (see the old discussion

[GIT PULL] s390 patches for the 3.11-rc2

2013-07-19 Thread Martin Schwidefsky
Hi Linus, not enough please pull requests? Well, here is what I have pending, won't do much for you commit counter though.. 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: An update for

Re: [PATCH v7 0/5] kdump: Allow ELF header creation in new kernel

2013-07-19 Thread Martin Schwidefsky
On Fri, 19 Jul 2013 09:35:18 -0400 Vivek Goyal wrote: > On Fri, Jul 19, 2013 at 08:50:20AM +0200, Martin Schwidefsky wrote: > > On Thu, 18 Jul 2013 09:35:41 -0400 > > Vivek Goyal wrote: > > > > > On Thu, Jul 18, 2013 at 12:47:54PM +0200, Martin Schwidefsky wrote:

Re: [PATCH v7 0/5] kdump: Allow ELF header creation in new kernel

2013-07-19 Thread Martin Schwidefsky
On Thu, 18 Jul 2013 09:35:41 -0400 Vivek Goyal wrote: > On Thu, Jul 18, 2013 at 12:47:54PM +0200, Martin Schwidefsky wrote: > > On Thu, 18 Jul 2013 12:40:04 +0200 > > Michael Holzheu wrote: > > > > > On Wed, 17 Jul 2013 17:42:07 -0400 > > > Vivek Goy

Re: [PATCH v7 0/5] kdump: Allow ELF header creation in new kernel

2013-07-19 Thread Martin Schwidefsky
On Thu, 18 Jul 2013 09:35:41 -0400 Vivek Goyal vgo...@redhat.com wrote: On Thu, Jul 18, 2013 at 12:47:54PM +0200, Martin Schwidefsky wrote: On Thu, 18 Jul 2013 12:40:04 +0200 Michael Holzheu holz...@linux.vnet.ibm.com wrote: On Wed, 17 Jul 2013 17:42:07 -0400 Vivek Goyal vgo

Re: [PATCH v7 0/5] kdump: Allow ELF header creation in new kernel

2013-07-19 Thread Martin Schwidefsky
On Fri, 19 Jul 2013 09:35:18 -0400 Vivek Goyal vgo...@redhat.com wrote: On Fri, Jul 19, 2013 at 08:50:20AM +0200, Martin Schwidefsky wrote: On Thu, 18 Jul 2013 09:35:41 -0400 Vivek Goyal vgo...@redhat.com wrote: On Thu, Jul 18, 2013 at 12:47:54PM +0200, Martin Schwidefsky wrote

[GIT PULL] s390 patches for the 3.11-rc2

2013-07-19 Thread Martin Schwidefsky
Hi Linus, not enough please pull requests? Well, here is what I have pending, won't do much for you commit counter though.. 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: An update for

Re: [PATCH v7 0/5] kdump: Allow ELF header creation in new kernel

2013-07-18 Thread Martin Schwidefsky
; > Ok this is not our preferred solution but we can't expect that life is > always easy ;-) > > Our s390 kernel maintainer Martin Schwidefsky agreed to send the following > two patches upstream for 3.11: > > * s390/kdump: Disable mmap for s390 > * s390/kdump: Allow copy_oldm

Re: [PATCH v7 0/5] kdump: Allow ELF header creation in new kernel

2013-07-18 Thread Martin Schwidefsky
. For mmap(), let us disable it on s390. And rest of the cleanups w.r.t ELF header swap etc, let us now target that for 3.12. Sounds reasonable? Hi Vivek, Ok this is not our preferred solution but we can't expect that life is always easy ;-) Our s390 kernel maintainer Martin Schwidefsky

Re: [PATCH v6 3/5] vmcore: Introduce remap_oldmem_pfn_range()

2013-07-15 Thread Martin Schwidefsky
On Sat, 13 Jul 2013 01:02:50 +0900 HATAYAMA Daisuke wrote: > (2013/07/10 20:00), Michael Holzheu wrote: > > On Wed, 10 Jul 2013 18:50:18 +0900 > > HATAYAMA Daisuke wrote: > > > > [snip] > > > >> (2013/07/10 17:42), Michael Holzheu wrote: > >>> My suggestion is to add the WARN_ONCE() for #ifndef

Re: [PATCH v6 3/5] vmcore: Introduce remap_oldmem_pfn_range()

2013-07-15 Thread Martin Schwidefsky
On Sat, 13 Jul 2013 01:02:50 +0900 HATAYAMA Daisuke d.hatay...@jp.fujitsu.com wrote: (2013/07/10 20:00), Michael Holzheu wrote: On Wed, 10 Jul 2013 18:50:18 +0900 HATAYAMA Daisuke d.hatay...@jp.fujitsu.com wrote: [snip] (2013/07/10 17:42), Michael Holzheu wrote: My suggestion is to

[PATCH 2/2] s390/kvm: support collaborative memory management

2013-07-03 Thread Martin Schwidefsky
list of unused invalid pages is processed to reclaim swap space of not yet accessed unused pages. [ Martin Schwidefsky: patch reordering and cleanup ] Signed-off-by: Konstantin Weitz Signed-off-by: Martin Schwidefsky --- arch/s390/include/asm/kvm_host.h |8 +++- arch/s390/include/asm

[PATCH 1/2] mm: add support for discard of unused ptes

2013-07-03 Thread Martin Schwidefsky
of the pte. This patch adds the primitive 'pte_unused' and code to the host swap out handler so that pages marked as unused by all mappers are not swapped out but discarded instead, thus saving one IO for swap out and potentially another one for swap in. [ Martin Schwidefsky: patch reordering and cleanup

[RFC][PATCH 0/2] s390/kvm: add kvm support for guest page hinting

2013-07-03 Thread Martin Schwidefsky
Linux on s390 as a guest under z/VM has been using the guest page hinting interface (alias collaborative memory management) for a long time. The full version with volatile states has been deemed to be too complicated (see the old discussion about guest page hinting e.g. on

[PATCH] tsacct: optimize acct_update_integrals

2013-07-03 Thread Martin Schwidefsky
The conversion of a cputime to micro seconds can be done without the detour via jiffies. This avoids unnecessary and costly calculations, e.g. on s390 a 64-bit division and a multiplication can be replaced with a simple shift. Signed-off-by: Martin Schwidefsky --- kernel/tsacct.c |5

[GIT PULL] s390 patches for the 3.11 merge window #1

2013-07-03 Thread Martin Schwidefsky
'timeout' attribute s390/dasd: Fail all requests when DASD_FLAG_ABORTIO is set Heiko Carstens (1): s390/smp: get rid of generic_smp_call_function_interrupt Hendrik Brueckner (1): s390/hwsampler: Updated misleading member names in hws_data_entry Martin Schwidefsky (4): s390

[GIT PULL] s390 patches for the 3.11 merge window #1

2013-07-03 Thread Martin Schwidefsky
'timeout' attribute s390/dasd: Fail all requests when DASD_FLAG_ABORTIO is set Heiko Carstens (1): s390/smp: get rid of generic_smp_call_function_interrupt Hendrik Brueckner (1): s390/hwsampler: Updated misleading member names in hws_data_entry Martin Schwidefsky (4): s390

[PATCH] tsacct: optimize acct_update_integrals

2013-07-03 Thread Martin Schwidefsky
The conversion of a cputime to micro seconds can be done without the detour via jiffies. This avoids unnecessary and costly calculations, e.g. on s390 a 64-bit division and a multiplication can be replaced with a simple shift. Signed-off-by: Martin Schwidefsky schwidef...@de.ibm.com --- kernel

[RFC][PATCH 0/2] s390/kvm: add kvm support for guest page hinting

2013-07-03 Thread Martin Schwidefsky
Linux on s390 as a guest under z/VM has been using the guest page hinting interface (alias collaborative memory management) for a long time. The full version with volatile states has been deemed to be too complicated (see the old discussion about guest page hinting e.g. on

[PATCH 1/2] mm: add support for discard of unused ptes

2013-07-03 Thread Martin Schwidefsky
is a property of the pte. This patch adds the primitive 'pte_unused' and code to the host swap out handler so that pages marked as unused by all mappers are not swapped out but discarded instead, thus saving one IO for swap out and potentially another one for swap in. [ Martin Schwidefsky: patch reordering

[PATCH 2/2] s390/kvm: support collaborative memory management

2013-07-03 Thread Martin Schwidefsky
. Further, a CPU provided list of unused invalid pages is processed to reclaim swap space of not yet accessed unused pages. [ Martin Schwidefsky: patch reordering and cleanup ] Signed-off-by: Konstantin Weitz konstantin.we...@gmail.com Signed-off-by: Martin Schwidefsky schwidef...@de.ibm.com

Re: [PATCH 0/9] dasd: implement block timeout

2013-07-01 Thread Martin Schwidefsky
On Mon, 1 Jul 2013 11:47:52 +0200 Jens Axboe wrote: > On Mon, Jul 01 2013, Martin Schwidefsky wrote: > > On Mon, 17 Jun 2013 09:22:15 +0200 > > Martin Schwidefsky wrote: > > > > > On Mon, 3 Jun 2013 17:03:13 +0200 > > > Martin Schwidefsky wrote: >

Re: [PATCH 0/9] dasd: implement block timeout

2013-07-01 Thread Martin Schwidefsky
On Mon, 17 Jun 2013 09:22:15 +0200 Martin Schwidefsky wrote: > On Mon, 3 Jun 2013 17:03:13 +0200 > Martin Schwidefsky wrote: > > > This is a re-send of a patch series Hannes sent last january. Stefan > > looked at the patches and our tests went well, so I guess this is r

Re: [PATCH 0/9] dasd: implement block timeout

2013-07-01 Thread Martin Schwidefsky
On Mon, 17 Jun 2013 09:22:15 +0200 Martin Schwidefsky schwidef...@de.ibm.com wrote: On Mon, 3 Jun 2013 17:03:13 +0200 Martin Schwidefsky schwidef...@de.ibm.com wrote: This is a re-send of a patch series Hannes sent last january. Stefan looked at the patches and our tests went well, so I

Re: [PATCH 0/9] dasd: implement block timeout

2013-07-01 Thread Martin Schwidefsky
On Mon, 1 Jul 2013 11:47:52 +0200 Jens Axboe ax...@kernel.dk wrote: On Mon, Jul 01 2013, Martin Schwidefsky wrote: On Mon, 17 Jun 2013 09:22:15 +0200 Martin Schwidefsky schwidef...@de.ibm.com wrote: On Mon, 3 Jun 2013 17:03:13 +0200 Martin Schwidefsky schwidef...@de.ibm.com wrote

Re: [GIT PULL] s390 patches for the 3.9-rc6

2013-06-28 Thread Martin Schwidefsky
Hi Grant, On Tue, 25 Jun 2013 15:18:21 +0100 Grant Likely wrote: > On Tue, Jun 25, 2013 at 3:12 PM, Martin Schwidefsky > wrote: > > On Tue, 25 Jun 2013 14:30:20 +0100 > > Grant Likely wrote: > > > >> Have you looked at irq_domain? It was created to solve that

Re: [GIT PULL] s390 patches for the 3.9-rc6

2013-06-28 Thread Martin Schwidefsky
Hi Grant, On Tue, 25 Jun 2013 15:18:21 +0100 Grant Likely grant.lik...@secretlab.ca wrote: On Tue, Jun 25, 2013 at 3:12 PM, Martin Schwidefsky schwidef...@de.ibm.com wrote: On Tue, 25 Jun 2013 14:30:20 +0100 Grant Likely grant.lik...@secretlab.ca wrote: Have you looked at irq_domain

[GIT PULL] s390 patches for the 3.10-rc8

2013-06-25 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 couple of last-minute fixes: a build regression for !SMP, a recent memory detection patch caused kdump to break, a regression

Re: [GIT PULL] s390 patches for the 3.9-rc6

2013-06-25 Thread Martin Schwidefsky
On Tue, 25 Jun 2013 14:30:20 +0100 Grant Likely wrote: > On Tue, Jun 25, 2013 at 2:11 PM, Martin Schwidefsky > wrote: > > On Tue, 25 Jun 2013 13:42:23 +0100 > > Grant Likely wrote: > > > >> On Tue, Jun 25, 2013 at 1:15 PM, Martin Schwidefsky > >>

Re: [GIT PULL] s390 patches for the 3.9-rc6

2013-06-25 Thread Martin Schwidefsky
On Tue, 25 Jun 2013 13:42:23 +0100 Grant Likely wrote: > On Tue, Jun 25, 2013 at 1:15 PM, Martin Schwidefsky > wrote: > > On Tue, 25 Jun 2013 13:09:51 +0100 > > Grant Likely wrote: > > > >> On Wed, Apr 3, 2013 at 4:25 PM, Martin Schwidefsky > >> wr

Re: [GIT PULL] s390 patches for the 3.9-rc6

2013-06-25 Thread Martin Schwidefsky
On Tue, 25 Jun 2013 13:09:51 +0100 Grant Likely wrote: > On Wed, Apr 3, 2013 at 4:25 PM, Martin Schwidefsky > wrote: > > Hi Linus, > > > > please pull from the 'for-linus' branch of > > > > git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.g

Re: [Suggestion] arch: s390: mm: the warnings with allmodconfig and "EXTRA_CFLAGS=-W"

2013-06-25 Thread Martin Schwidefsky
On Tue, 25 Jun 2013 09:54:41 +0800 Chen Gang wrote: > Hello Maintainers: > > When allmodconfig for " IBM zSeries model z800 and z900" > > It will report the related warnings ("EXTRA_CFLAGS=-W"): > mm/slub.c:1875:1: warning: ‘deactivate_slab’ uses dynamic stack allocation > [enabled by

Re: [Suggestion] arch: s390: mm: the warnings with allmodconfig and EXTRA_CFLAGS=-W

2013-06-25 Thread Martin Schwidefsky
On Tue, 25 Jun 2013 09:54:41 +0800 Chen Gang gang.c...@asianux.com wrote: Hello Maintainers: When allmodconfig for IBM zSeries model z800 and z900 It will report the related warnings (EXTRA_CFLAGS=-W): mm/slub.c:1875:1: warning: ‘deactivate_slab’ uses dynamic stack allocation

Re: [GIT PULL] s390 patches for the 3.9-rc6

2013-06-25 Thread Martin Schwidefsky
On Tue, 25 Jun 2013 13:09:51 +0100 Grant Likely grant.lik...@secretlab.ca wrote: On Wed, Apr 3, 2013 at 4:25 PM, Martin Schwidefsky schwidef...@de.ibm.com wrote: Hi Linus, please pull from the 'for-linus' branch of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git

Re: [GIT PULL] s390 patches for the 3.9-rc6

2013-06-25 Thread Martin Schwidefsky
On Tue, 25 Jun 2013 13:42:23 +0100 Grant Likely grant.lik...@secretlab.ca wrote: On Tue, Jun 25, 2013 at 1:15 PM, Martin Schwidefsky schwidef...@de.ibm.com wrote: On Tue, 25 Jun 2013 13:09:51 +0100 Grant Likely grant.lik...@secretlab.ca wrote: On Wed, Apr 3, 2013 at 4:25 PM, Martin

Re: [GIT PULL] s390 patches for the 3.9-rc6

2013-06-25 Thread Martin Schwidefsky
On Tue, 25 Jun 2013 14:30:20 +0100 Grant Likely grant.lik...@secretlab.ca wrote: On Tue, Jun 25, 2013 at 2:11 PM, Martin Schwidefsky schwidef...@de.ibm.com wrote: On Tue, 25 Jun 2013 13:42:23 +0100 Grant Likely grant.lik...@secretlab.ca wrote: On Tue, Jun 25, 2013 at 1:15 PM, Martin

[GIT PULL] s390 patches for the 3.10-rc8

2013-06-25 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 couple of last-minute fixes: a build regression for !SMP, a recent memory detection patch caused kdump to break, a regression

Re: [ 13/48] s390/pci: Implement IRQ functions if !PCI

2013-06-19 Thread Martin Schwidefsky
On Tue, 18 Jun 2013 18:35:40 +0100 Ben Hutchings wrote: > On Tue, Jun 18, 2013 at 09:17:39AM -0700, Greg Kroah-Hartman wrote: > > From: Greg Kroah-Hartman > > > > 3.9-stable review patch. If anyone has any objections, please let me know. > > > > -- > > > > From: Ben

Re: [ 13/48] s390/pci: Implement IRQ functions if !PCI

2013-06-19 Thread Martin Schwidefsky
On Tue, 18 Jun 2013 18:35:40 +0100 Ben Hutchings b...@decadent.org.uk wrote: On Tue, Jun 18, 2013 at 09:17:39AM -0700, Greg Kroah-Hartman wrote: From: Greg Kroah-Hartman gre...@linuxfoundation.org 3.9-stable review patch. If anyone has any objections, please let me know.

Re: [PATCH 0/9] dasd: implement block timeout

2013-06-17 Thread Martin Schwidefsky
On Mon, 3 Jun 2013 17:03:13 +0200 Martin Schwidefsky wrote: > This is a re-send of a patch series Hannes sent last january. Stefan > looked at the patches and our tests went well, so I guess this is ready > for upstream integration. > > The changes to block/blk-core.c and bloc

Re: [PATCH 0/9] dasd: implement block timeout

2013-06-17 Thread Martin Schwidefsky
On Mon, 3 Jun 2013 17:03:13 +0200 Martin Schwidefsky schwidef...@de.ibm.com wrote: This is a re-send of a patch series Hannes sent last january. Stefan looked at the patches and our tests went well, so I guess this is ready for upstream integration. The changes to block/blk-core.c

[GIT PULL] s390 patches for the 3.10-rc6

2013-06-13 Thread Martin Schwidefsky
/pgtable: make pgste lock an explicit barrier Martin Schwidefsky (1): s390/dumpstack: fix address ranges for asynchronous and panic stack Peter Oberparleiter (1): s390/sclp: fix new line detection arch/s390/include/asm/pgtable.h | 32 ++-- arch/s390/kernel

[GIT PULL] s390 patches for the 3.10-rc6

2013-06-13 Thread Martin Schwidefsky
/pgtable: make pgste lock an explicit barrier Martin Schwidefsky (1): s390/dumpstack: fix address ranges for asynchronous and panic stack Peter Oberparleiter (1): s390/sclp: fix new line detection arch/s390/include/asm/pgtable.h | 32 ++-- arch/s390/kernel

[PATCH 2/9] dasd: make number of retries configurable

2013-06-03 Thread Martin Schwidefsky
From: Hannes Reinecke Instead of having the number of retries hard-coded in the various functions we should be using a default retry value, which can be modified via sysfs. Signed-off-by: Hannes Reinecke Signed-off-by: Stefan Weinhuber Signed-off-by: Martin Schwidefsky --- drivers/s390

[PATCH 3/9] dasd: process all requests in the device tasklet

2013-06-03 Thread Martin Schwidefsky
to have requests _after_ the first request which already have expired. So we need to check all requests in the device tasklet. Signed-off-by: Hannes Reinecke Signed-off-by: Stefan Weinhuber Signed-off-by: Martin Schwidefsky --- drivers/s390/block/dasd.c |4 ++-- 1 file changed, 2 insertions(+), 2

[PATCH 7/9] block: check for timeout function in blk_rq_timed_out()

2013-06-03 Thread Martin Schwidefsky
From: Hannes Reinecke rq_timed_out_fn might have been unset while the request was in flight, so we need to check for it in blk_rq_timed_out(). Cc: Jens Axboe Signed-off-by: Hannes Reinecke Signed-off-by: Stefan Weinhuber Signed-off-by: Martin Schwidefsky --- block/blk-timeout.c |5

[PATCH 4/9] dasd: Implement block timeout handling

2013-06-03 Thread Martin Schwidefsky
DASD driver queues. Signed-off-by: Hannes Reinecke Acked-by: Stefan Weinhuber Signed-off-by: Stefan Weinhuber Signed-off-by: Martin Schwidefsky --- drivers/s390/block/dasd.c | 76 drivers/s390/block/dasd_diag.c |5 ++- drivers/s390/block

[PATCH 8/9] dasd: Add 'timeout' attribute

2013-06-03 Thread Martin Schwidefsky
Weinhuber Signed-off-by: Martin Schwidefsky --- drivers/s390/block/dasd.c|2 ++ drivers/s390/block/dasd_devmap.c | 56 ++ drivers/s390/block/dasd_int.h|4 +++ 3 files changed, 62 insertions(+) diff --git a/drivers/s390/block/dasd.c b

[PATCH 6/9] block,dasd: detailed I/O errors

2013-06-03 Thread Martin Schwidefsky
Reinecke Signed-off-by: Stefan Weinhuber Signed-off-by: Martin Schwidefsky --- block/blk-core.c |3 +++ drivers/s390/block/dasd.c | 16 +--- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/block/blk-core.c b/block/blk-core.c index 33c33bc..ef19bf2 100644

<    5   6   7   8   9   10   11   12   13   14   >