No 100 HZ timer !

2001-04-09 Thread schwidefsky
Hi, seems like my first try with the complete patch hasn't made it through to the mailing list. This is the second try with only the common part of the patch. Here we go (again): --- I have a suggestion that might seem unusual at first but it is important for Linux on S/390. We are facing the

Re: No 100 HZ timer !

2001-04-10 Thread schwidefsky
>Just how would you do kernel/user CPU time accounting then ? It's currently done >on every timer tick, and doing it less often would make it useless. This part is architecture dependent. For S/390 I choose to do a "STCK" on every system entry/exit. Dunno if this can be done on other architectu

Re: No 100 HZ timer !

2001-04-10 Thread schwidefsky
>Its worth doing even on the ancient x86 boards with the PIT. It does require >some driver changes since > > >while(time_before(jiffies, we_explode)) > poll_things(); > >no longer works On S/390 we have a big advantage here. Driver code of this kind does not exist. That makes it a lo

Re: No 100 HZ timer !

2001-04-10 Thread schwidefsky
>> Just how would you do kernel/user CPU time accounting then ? It's currently done >> on every timer tick, and doing it less often would make it useless. > >On the contrary doing it less often but at the right time massively improves >its accuracy. You do it on reschedule. An rdtsc instruction

Re: No 100 HZ timer !

2001-04-10 Thread schwidefsky
>Does not sound very attractive all at all on non virtual machines (I see the point on >UML/VM): >making system entry/context switch/interrupts slower, making add_timer slower, just to >process a few less timer interrupts. That's like robbing the fast paths for a slow path. The system entry/exit

Re: No 100 HZ timer !

2001-04-10 Thread schwidefsky
>BTW. Why we need to redesign timers at all? The cost of timer interrupt >each 1/100 second is nearly zero (1000 instances on S/390 VM is not common >case - it is not reasonable to degradate performance of timers because of >this). The cost of the timer interrupts on a single image system is neg

Re: No 100 HZ timer !

2001-04-11 Thread schwidefsky
>f) As noted, the account timers (task user/system times) would be much >more accurate with the tick less approach. The cost is added code in >both the system call and the schedule path. > >Tentative conclusions: > >Currently we feel that the tick less approach is not acceptable due to >(f). W

bug in generic math-emu

2001-02-19 Thread schwidefsky
Hi, I found a bug in the generic floating point emulation code. The glibc math testcases showed errors for the nearbyint(0.5) test. The problem is in the _FP_FRAC_SRS_2 macro. The expression to find out if some 1 bits have been shifted out is wrong. Try the _FP_FRAC_SRS_2 macro with the followin

Memory management bug

2000-11-15 Thread schwidefsky
I think I spotted a problem in the memory management of some (all?) architectures in 2.4.0-test10. At the moment I am fighting with the 64bit backend for the new S/390 machines. I experienced infinite loops in do_check_pgt_cache because pgtable_cache_size indicated that a lot of pages are in th

Re: Memory management bug

2000-11-15 Thread schwidefsky
>> +extern pte_t empty_bad_pte_table[]; >> extern __inline__ void free_pte_fast(pte_t *pte) >> { >> + if (pte == empty_bad_pte_table) >> + return; > >I guess that should be BUG() instead of return, so that the callers can be >fixed. Not really. pte_free and pmd_free are cal

establish_pte and ipte

2000-11-15 Thread schwidefsky
After the rework of the page management in 2.4.0-test10 I tried again if we could make use of the "invalidate page table entry" (ipte) in the s390 backend. Thanks to the great work of you guys we are almost there. To be able to do that we would like to make the establish_pte an architecture depe

Re: Memory management bug

2000-11-16 Thread schwidefsky
>What happens if you just replace all places that would use a bad page >table with a BUG()? (Ie do _not_ add the bug to the place where you >added the test: by that time it's too late. I'm talking about the >places where the bad page tables are used, like in the error cases of >"get_pte_kernel_

Re: Memory management bug

2000-11-17 Thread schwidefsky
>> >> If they absolutely needs 4 pages for pmd pagetables due hardware constraints >> I'd recommend to use _four_ hardware pages for each softpage, not two. > >Yes. > >However, it definitely is an issue of making trade-offs. Most 64-bit MMU >models tend to have some flexibility in how you set up

Re: Memory management bug

2000-11-17 Thread schwidefsky
>> before I hit yet another BUG in swap_state.c:60. > >The bug in swap_state:60 shows a kernel bug in the VM or random memory >corruption. Make sure you can reproduce on x86 to be sure it's not a s390 >that is randomly corrupting memory. If you read the oops after the BUG message >with asm at ha

Re: Memory management bug

2000-11-21 Thread schwidefsky
>Agreed, that's almost sure _not_ random memory corruption of the page >structure. It looks like a VM bug (if you can reproduce trivially I'd give a >try to test8 too since test8 is rock solid for me while test10 lockups in VM >core at the second bonnie if using emulated highmem). I was lucky. S

plug problem in linux-2.4.0-test11

2000-11-29 Thread schwidefsky
Hi, I experienced disk hangs with linux-2.4.0-test11 on S/390 and after some debugging I found the cause. It the new method of unplugging block devices that doesn't go along with the S/390 disk driver: /* * remove the plug and let it rip.. */ static inline void __generic_unplug_device(request

Re: 2.4.0-test11 ext2 fs corruption

2000-11-29 Thread schwidefsky
>--- drivers/block/ll_rw_blk.c~ Wed Nov 29 01:30:22 2000 >+++ drivers/block/ll_rw_blk.c Wed Nov 29 01:33:00 2000 >@@ -684,7 +684,7 @@ >int max_segments = MAX_SEGMENTS; >struct request * req = NULL, *freereq = NULL; >int rw_ahead, max_sectors, el_ret; >- struct li

64 bit s390 and 2.4.0-test11 (was Memory management bug)

2000-12-07 Thread schwidefsky
Hi, good news (at least for us): linux on the 64 bit S/390 (aka zServer) is now running pretty stable. Our implementation of ptep_get_and_clear didn't clear the pte if the invalid bit was already set. But a swapped page has the invalid bit set too and in that case we didn't clear the pte. That

Re: Linux-2.4.0-test9-pre2

2000-09-19 Thread schwidefsky
>> Linus, > >> Where do architecture maintainers stand when they don't submit their >> problems to linux-kernel or the great Ted Bug List(tm)? > >Up against the wall so we can shoot them? > >:) So I am one of the guys who will be shot ... I wanted to do an update for the s/390 architecture sin

[patch 3/3] arch_rebalance_pgtables call

2007-11-12 Thread schwidefsky
From: Martin Schwidefsky <[EMAIL PROTECTED]> In order to change the layout of the page tables after an mmap has crossed the adress space limit of the current page table layout a architecture hook in get_unmapped_area is needed. The arguments are the address of the new mapping and the length

[patch 0/3] page table changes

2007-11-12 Thread schwidefsky
Hi Andrew, more than 2 weeks have passed since I posted my six page table patches to linux-kernel/linux-arch. Nobody complained so far (keeping fingers crossed..) and Ben has a use for the first two patches on powerpc as well. Next logical step would be to add the patches that affect common code to

[patch 2/3] CONFIG_HIGHPTE vs. sub-page page tables.

2007-11-12 Thread schwidefsky
From: Martin Schwidefsky <[EMAIL PROTECTED]> Background: I've implemented 1K/2K page tables for s390. These sub-page page tables are required to properly support the s390 virtualization instruction with KVM. The SIE instruction requires that the page tables have 256 page table e

[patch 1/3] add mm argument to pte/pmd/pud/pgd_free.

2007-11-12 Thread schwidefsky
From: Benjamin Herrenschmidt <[EMAIL PROTECTED]> From: Martin Schwidefsky <[EMAIL PROTECTED]> The pgd/pud/pmd/pte page table allocation functions get a mm_struct pointer as first argument. The free functions do not get the mm_struct argument. This is 1) asymmetrical and 2) to do mm

[GIT PULL] s390 patches for the 3.9-rc4

2013-03-18 Thread Martin Schwidefsky
ver have worked?". Heiko Carstens (3): s390/mm: fix vmemmap size calculation s390/mm: fix flush_tlb_kernel_range() drivers/i2c: remove !S390 dependency, add missing GENERIC_HARDIRQS dependencies Martin Schwidefsky (1): s390: critical section cleanup vs. machine checks

[GIT PULL] s390 regression patch for 3.8-rc8

2013-02-11 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 recent fix for the s390 sched_clock() function uncovered yet another bug in s390_next_ktime which causes an endless loop in KV

[GIT PULL] s390 patches for the 3.9-rc6

2013-04-03 Thread Martin Schwidefsky
pendencies s390/uaccess: fix clear_user_pt() s390/uaccess: fix page table walk s390/mm: provide emtpy check_pgt_cache() function Martin Schwidefsky (1): s390/3270: fix minor_start issue Sebastian Ott (1): s390/scm_block: fix printk format string Wei Yongjun (1): s390/sc

Re: [PATCH 3/7] dump_stack: consolidate dump_stack() implementations and unify their behaviors

2013-04-04 Thread Martin Schwidefsky
s reported by Fengguang Wu. For the s390 changes: Acked-by: Martin Schwidefsky -- 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.o

[GIT PULL] one s390 patch for 3.8-rc6

2013-01-29 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 update: Another transparent huge page fix, we need to define a s390 variant for pmdp_set_wrprotect to flush the TLB for the huge page corre

Re: [GIT PULL] KVM updates for the 3.9 merge window

2013-02-25 Thread Martin Schwidefsky
On Sun, 24 Feb 2013 16:05:31 -0800 Linus Torvalds wrote: > On Wed, Feb 20, 2013 at 5:17 PM, Marcelo Tosatti wrote: > > > > Please pull from > > > > git://git.kernel.org/pub/scm/virt/kvm/kvm.git tags/kvm-3.9-1 > > > > to receive the KVM updates for the 3.9 merge window [..] > > Ok, particularly

[GIT PULL] s390 patches for the 3.9 merge window

2013-02-21 Thread Martin Schwidefsky
s390/cleanup: rename SPP to LPP s390/module: Add missing R_390_NONE relocation type Ingo Tuchscherer (1): maintainer for s390 zcrypt component changed Martin Schwidefsky (6): s390/3270: readd tty3270_open s390/3270: fix initialization order in tty3270_alloc_view

Re: [RFC v2 PATCH 0/7] thp: transparent hugepages on s390

2012-08-31 Thread Martin Schwidefsky
On Thu, 30 Aug 2012 12:54:44 -0700 Andrew Morton wrote: > On Wed, 29 Aug 2012 17:32:57 +0200 > Gerald Schaefer wrote: > > > This patch series adds support for transparent hugepages on System z. > > Small changes to common code are necessary with regard to a different > > pgtable_t, tlb flushing

Re: [RFC v2 PATCH 1/7] thp: remove assumptions on pgtable_t type

2012-08-31 Thread Martin Schwidefsky
On Fri, 31 Aug 2012 10:59:38 +0530 "Aneesh Kumar K.V" wrote: > Gerald Schaefer writes: > > > The thp page table pre-allocation code currently assumes that pgtable_t > > is of type "struct page *". This may not be true for all architectures, > > so this patch removes that assumption by replacing

[GIT PULL] s390 patches for the 3.6-rc4

2012-08-31 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 a couple of s390 bug fixes for 3.5-rc4: Geert Uytterhoeven (1): s390: Always use "long" for ssize_t to match size_t Heiko Carstens (3): s39

Re: [PATCH 6/6] s390: Use generic percpu linux-2.6.git

2008-01-31 Thread Martin Schwidefsky
On Wed, 2008-01-30 at 22:53 +0100, Ingo Molnar wrote: > * [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > Change s390 percpu.h to use asm-generic/percpu.h > > do the s390 maintainer agree with this change (Acks please), and has it > been tested on s390? Now I'm confused. The patch has been a

Re: x86 arch updates also broke s390

2008-01-31 Thread Martin Schwidefsky
On Thu, 2008-01-31 at 02:33 +0200, Adrian Bunk wrote: > <-- snip --> > > ... > CC arch/s390/kernel/asm-offsets.s > In file included from > /home/bunk/linux/kernel-2.6/git/linux-2.6/arch/s390/kernel/asm-offsets.c:7: > /home/bunk/linux/kernel-2.6/git/linux-2.6/include/linux/sched.h: In > f

Re: x86 arch updates also broke s390

2008-02-01 Thread Martin Schwidefsky
--- Subject: [PATCH] Define GENERIC_LOCKBREAK. From: Martin Schwidefsky <[EMAIL PROTECTED]> Fix compile error: CC arch/s390/kernel/asm-offsets.s In file included from arch/s390/kernel/asm-offsets.c:7: include/linux/sched.h: In function 'spin_needbreak': include/linux/sched.h:

Re: [patch 2/3] CONFIG_HIGHPTE vs. sub-page page tables.

2008-02-04 Thread Martin Schwidefsky
On Sat, 2008-02-02 at 21:53 -0800, Andrew Morton wrote: > On Sun, 03 Feb 2008 16:37:00 +1100 Benjamin Herrenschmidt <[EMAIL PROTECTED]> > wrote: > > > Why dropping add-mm-argument-to-pte-pmd-pud-pgd_free.patch though ? > > I dropped the whole series. Sniff .. my patches .. ;-) > > It's a sane

Re: [patch 2/3] CONFIG_HIGHPTE vs. sub-page page tables.

2008-02-05 Thread Martin Schwidefsky
On Mon, 2008-02-04 at 02:51 -0800, Andrew Morton wrote: > > > Look: I can't fix *everyone's* stuff. This was a consequence of ongoing > > > unbounded churn in the x86 tree. If we can find a way of preventing those > > > guys (and everyone else) from trashing everyone else's stuff then we'd > > >

[patch 00/18] s390 bug fix patches.

2008-02-05 Thread Martin Schwidefsky
() in vmem code. [S390] dcss: Initialize workqueue before using it. Martin Schwidefsky (2): [S390] Define GENERIC_LOCKBREAK. [S390] Cleanup & optimize bitops. Peter Oberparleiter (2): [S390] cio: make sense id procedure work with partial hardware response [

[patch 01/18] cio: make sense id procedure work with partial hardware response

2008-02-05 Thread Martin Schwidefsky
leiter <[EMAIL PROTECTED]> Signed-off-by: Martin Schwidefsky <[EMAIL PROTECTED]> --- drivers/s390/cio/device_id.c | 107 +-- 1 file changed, 64 insertions(+), 43 deletions(-) Index: quilt-2.6/drivers/s3

[patch 02/18] cio: Clean up chsc response code handling.

2008-02-05 Thread Martin Schwidefsky
From: Cornelia Huck <[EMAIL PROTECTED]> This provides unified return codes for common response codes and also makes the debug feature messages more similar and informational. Signed-off-by: Cornelia Huck <[EMAIL PROTECTED]> Signed-off-by: Martin Schwidefsky <[EMAIL PROTECTED]>

[patch 05/18] DEBUG_PAGEALLOC support for s390.

2008-02-05 Thread Martin Schwidefsky
From: Heiko Carstens <[EMAIL PROTECTED]> Signed-off-by: Heiko Carstens <[EMAIL PROTECTED]> Signed-off-by: Martin Schwidefsky <[EMAIL PROTECTED]> --- arch/s390/Kconfig.debug |8 arch/s390/kernel/traps.c |5 - arch/s390/mm/init.

[patch 07/18] Fix smp_call_function_mask semantics.

2008-02-05 Thread Martin Schwidefsky
From: Heiko Carstens <[EMAIL PROTECTED]> Make sure func isn't called on the local cpu just like on all other architectures that implement this function. Signed-off-by: Heiko Carstens <[EMAIL PROTECTED]> Signed-off-by: Martin Schwidefsky <[EMAIL PROTECTED]> --- arch/s

[patch 03/18] cio: Update documentation.

2008-02-05 Thread Martin Schwidefsky
From: Cornelia Huck <[EMAIL PROTECTED]> Signed-off-by: Cornelia Huck <[EMAIL PROTECTED]> Signed-off-by: Martin Schwidefsky <[EMAIL PROTECTED]> --- Documentation/DocBook/s390-drivers.tmpl | 21 - 1 file changed, 16 insertions(+), 5 deletions(-)

[patch 10/18] Define GENERIC_LOCKBREAK.

2008-02-05 Thread Martin Schwidefsky
From: Martin Schwidefsky <[EMAIL PROTECTED]> Fix compile error: CC arch/s390/kernel/asm-offsets.s In file included from arch/s390/kernel/asm-offsets.c:7: include/linux/sched.h: In function 'spin_needbreak': include/linux/sched.h:1931: error: implicit declara

[patch 12/18] Implement ext2_find_next_bit.

2008-02-05 Thread Martin Schwidefsky
AIL PROTECTED]> Signed-off-by: Martin Schwidefsky <[EMAIL PROTECTED]> --- include/asm-s390/bitops.h | 43 +-- 1 file changed, 41 insertions(+), 2 deletions(-) Index: quilt-2.6/include/asm-s390/bitops.h ===

[patch 11/18] Cleanup & optimize bitops.

2008-02-05 Thread Martin Schwidefsky
From: Martin Schwidefsky <[EMAIL PROTECTED]> The bitops header is now a bit shorter and easier to understand since it uses less inline assembly. It requires some tricks to persuade the compiler to generate decent code. The ffz/ffs functions now use the _zb_findmap/_sb_findmap table as well

[patch 06/18] Fix linker script.

2008-02-05 Thread Martin Schwidefsky
From: Heiko Carstens <[EMAIL PROTECTED]> Fixes this warning: vmlinux: warning: allocated section `.text' not in segment Signed-off-by: Heiko Carstens <[EMAIL PROTECTED]> Signed-off-by: Martin Schwidefsky <[EMAIL PROTECTED]> --- arch/s390/kernel/vmlinux.lds.S |

[patch 08/18] Fix couple of section mismatches.

2008-02-05 Thread Martin Schwidefsky
From: Heiko Carstens <[EMAIL PROTECTED]> Fix couple of section mismatches. And since we touch the code anyway change the IPL code to use C99 initializers. Cc: Michael Holzheu <[EMAIL PROTECTED]> Signed-off-by: Heiko Carstens <[EMAIL PROTECTED]> Signed-off-by: Martin Schwidefsky

[patch 13/18] latencytop s390 support.

2008-02-05 Thread Martin Schwidefsky
From: Heiko Carstens <[EMAIL PROTECTED]> Cc: Holger Wolf <[EMAIL PROTECTED]> Signed-off-by: Heiko Carstens <[EMAIL PROTECTED]> Signed-off-by: Martin Schwidefsky <[EMAIL PROTECTED]> --- arch/s390/Kconfig |3 +++ arch/s390/ke

[patch 15/18] dasd: fix panic caused by alias device offline

2008-02-05 Thread Martin Schwidefsky
igned-off-by: Martin Schwidefsky <[EMAIL PROTECTED]> --- drivers/s390/block/dasd.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: quilt-2.6/drivers/s390/block/dasd.c === --- quilt-2.6.orig/drivers/s390/block/da

[patch 14/18] dasd: add ifcc handling

2008-02-05 Thread Martin Schwidefsky
From: Stefan Haberland <[EMAIL PROTECTED]> Adding interface control check (ifcc) handling in error recovery. First retry up to 255 times and if all retries fail try an alternate path if possible. Signed-off-by: Stefan Haberland <[EMAIL PROTECTED]> Signed-off-by: Martin Schwide

[patch 18/18] dcss: Initialize workqueue before using it.

2008-02-05 Thread Martin Schwidefsky
[<0001ac82>] kernel_thread_starter+0x6/0xc [<0001ac7c>] kernel_thread_starter+0x0/0xc INFO: lockdep is turned off. Cc: Gerald Schaefer <[EMAIL PROTECTED]> Cc: Carsten Otte <[EMAIL PROTECTED]> Signed-off-by: Heiko Carstens <[EMAIL PROTECTED]> Signed-

[patch 17/18] Remove BUILD_BUG_ON() in vmem code.

2008-02-05 Thread Martin Schwidefsky
ned-off-by: Martin Schwidefsky <[EMAIL PROTECTED]> --- arch/s390/kernel/setup.c |2 +- arch/s390/mm/vmem.c|3 +-- include/asm-s390/pgtable.h | 12 +--- 3 files changed, 11 insertions(+), 6 deletions(-) Index: quilt-2.6/

[patch 16/18] sclp_tty/sclp_vt220: Fix scheduling while atomic

2008-02-05 Thread Martin Schwidefsky
seems to be, that with a full console buffer, release_console_sem disables interrupts with spin_lock_irqsave and then calls the console function without enabling interrupts. __sclp_vt220_write checks for in_interrupt, to decide if it can schedule. It should check for in_atomic instead. The same is tr

[patch 04/18] cio: Add shutdown callback for ccwgroup.

2008-02-05 Thread Martin Schwidefsky
From: Cornelia Huck <[EMAIL PROTECTED]> This intendeds to make proper shutdown of qeth devices easier. Signed-off-by: Cornelia Huck <[EMAIL PROTECTED]> Signed-off-by: Martin Schwidefsky <[EMAIL PROTECTED]> --- drivers/s390/cio/ccwgroup.c | 12 include/asm-s390

Please pull git390 'for-linus' branch

2008-02-05 Thread Martin Schwidefsky
vmem code. [S390] dcss: Initialize workqueue before using it. Martin Schwidefsky (2): [S390] Define GENERIC_LOCKBREAK. [S390] Cleanup & optimize bitops. Peter Oberparleiter (2): [S390] cio: make sense id procedure work with partial hardware response [S390] consol

[patch 09/18] console: allow vt220 console to be the only console

2008-02-05 Thread Martin Schwidefsky
From: Peter Oberparleiter <[EMAIL PROTECTED]> Fix console detection logic to support configurations in which the vt220 console is the only available Linux console. Signed-off-by: Peter Oberparleiter <[EMAIL PROTECTED]> Signed-off-by: Martin Schwidefsky <[EMAIL PROTECTED]> ---

[GIT PULL] s390 patches for the 3.7-rc3

2012-10-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: Among the usual minor bug fixes the more interesting patches are the perf counters for the latest machine, the missing select to e

Re: linux-next: first tree

2008-02-14 Thread Martin Schwidefsky
On Fri, 2008-02-15 at 02:00 +1100, Stephen Rothwell wrote: > I would prefer that the trees be added by the subsystem maintainers and > they can tell me which branch represents their expectations for the next > kernel release (in this case 2.6.26). But thanks, hopefully you will have > prodded them

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

2012-07-31 Thread Martin Schwidefsky
defconfig s390/mm: make page faults killable s390/mm: fix fault handling for page table walk case s390/mm: rename user_mode variable to addressing_mode s390: make use of user_mode() macro where possible Martin Schwidefsky (1): s390/mm: downgrade page table after fork o

Re: [PATCH] s390: Add pmd_mknotpresent()

2012-10-29 Thread Martin Schwidefsky
On Sun, 28 Oct 2012 14:10:14 +0100 Ingo Molnar wrote: > > There's a related problem on s390: other THP implementations > have pmd_mknotpresent() while s390 not, resulting in: > > mm/huge_memory.c:1543:2: error: implicit declaration of function > 'pmd_mknotpresent' > > The (untested!) patch

Re: [update] Re: new execve/kernel_thread design

2012-10-29 Thread Martin Schwidefsky
On Fri, 26 Oct 2012 19:31:07 +0100 Al Viro wrote: > The situation got much better by now. More than a half of > architectures are done - alpha arm arm64 c6x hexagon ia64 m68k mips openrisc > parisc sparc tile um unicore32 and x86. > > Two more avait ACKs from maintainers - powerpc a

Re: [PATCH] s390: Add pmd_mknotpresent()

2012-10-29 Thread Martin Schwidefsky
On Mon, 29 Oct 2012 12:05:19 +0100 Ingo Molnar wrote: > > * Martin Schwidefsky wrote: > > > On Sun, 28 Oct 2012 14:10:14 +0100 > > Ingo Molnar wrote: > > > > > > > > There's a related problem on s390: other THP implementations > >

Re: [update] Re: new execve/kernel_thread design

2012-10-29 Thread Martin Schwidefsky
On Mon, 29 Oct 2012 13:25:21 + Al Viro wrote: > On Mon, Oct 29, 2012 at 08:53:39AM +0100, Martin Schwidefsky wrote: > > > Oops, sorry. I tested this weeks ago but it seems I never wrote a mail to > > indicate success. The current git kernel works just fine. > >

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 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) >

[GIT PULL] s390 patches for 3.12-rc5

2013-10-07 Thread Martin Schwidefsky
be able 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):

Re: [PATCH] mm: Fix XFS oops due to dirty pages without buffers on s390

2012-10-09 Thread Martin Schwidefsky
in PTE it is also marked dirty in do_wp_page() or > > do_page_fault(). When the dirty bit is cleared by clear_page_dirty_for_io(), > > the page gets writeprotected in page_mkclean(). So pagecache page is > > writeable > > if and only if it is dirty. > > Very interesting patc

Re: [GIT PULL] Disintegrate UAPI for s390 [ver #2]

2012-10-09 Thread Martin Schwidefsky
On Tue, 09 Oct 2012 10:15:52 +0100 David Howells wrote: > Can you merge the following branch into the s390 tree please. > > This is to complete part of the UAPI disintegration for which the preparatory > patches were pulled recently. > > Now that the fixups and the asm-generic chunk have been m

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

2012-10-10 Thread Martin Schwidefsky
gin at 1MB s390/vmalloc: have separate modules area s390/mm,vmem: fix vmem_add_mem()/vmem_remove_range() Martin Schwidefsky (2): s390: add support to start the kernel in 64 bit mode. s390/entry: fix svc number for TIF_SYSCALL system call restart Sebastian Ott (3): s3

Re: [PATCH] mm: Fix XFS oops due to dirty pages without buffers on s390

2012-10-19 Thread Martin Schwidefsky
On Tue, 9 Oct 2012 16:21:24 -0700 (PDT) Hugh Dickins wrote: > > > > I am seriously tempted to switch to pure software dirty bits by using > > page protection for writable but clean pages. The worry is the number of > > additional protection faults we would get. But as we do software dirty > > bi

[GIT PULL] s390 patches for the 3.7-rc5

2012-11-08 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 a couple of bug fixes. I keep the fingers crossed that we now got transparent huge pages ready for prime time. Cornelia Huck (1): s390: Move css l

Re: linux-next: manual merge of the kvm tree with the s390 tree

2013-01-02 Thread Martin Schwidefsky
Hi Stephen, On Thu, 3 Jan 2013 12:06:50 +1100 Stephen Rothwell wrote: > Today's linux-next merge of the kvm tree got conflicts in > arch/s390/include/asm/irq.h and arch/s390/kernel/irq.c between commit > bfb048f594d5 ("s390/irq: remove split irq fields from /proc/stat") from > the s390 tree and

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

2012-12-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 main patch is the function measurement blocks extension for PCI to do performance statistics and help with debugging. The othe

[GIT PULL] s390 patches for 3.7-rc6

2012-11-16 Thread Martin Schwidefsky
dd missing TASK_SIZE check to get_user_pages_fast() s390/gup: fix access_ok() usage in __get_user_pages_fast() s390/mm: have 16 byte aligned struct pages s390/3215: fix tty close handling Martin Schwidefsky (1): s390/signal: set correct address space control arch/s3

[GIT PULL] s390 patches for the 3.10-rc6

2013-06-13 Thread Martin Schwidefsky
s390/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/s

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: [ 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 Hutchings

[PATCH 5/9] dasd: Reduce amount of messages for specific errors

2013-06-03 Thread Martin Schwidefsky
Schwidefsky --- drivers/s390/block/dasd_erp.c |8 1 file changed, 8 insertions(+) diff --git a/drivers/s390/block/dasd_erp.c b/drivers/s390/block/dasd_erp.c index 3250cb4..8d11f77 100644 --- a/drivers/s390/block/dasd_erp.c +++ b/drivers/s390/block/dasd_erp.c @@ -159,6 +159,14

[PATCH 1/9] dasd: Clarify comment

2013-06-03 Thread Martin Schwidefsky
From: Hannes Reinecke dasd_cancel_req will never return 1, only 0. Signed-off-by: Hannes Reinecke Signed-off-by: Stefan Weinhuber Signed-off-by: Martin Schwidefsky --- drivers/s390/block/dasd.c |4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/s390/block

[PATCH 9/9] dasd: Fail all requests when DASD_FLAG_ABORTIO is set

2013-06-03 Thread Martin Schwidefsky
;. Signed-off-by: Hannes Reinecke Signed-off-by: Stefan Weinhuber Signed-off-by: Martin Schwidefsky --- arch/s390/include/uapi/asm/dasd.h |4 +++ drivers/s390/block/dasd.c | 13 ++-- drivers/s390/block/dasd_int.h |3 ++ drivers/s390/bl

[PATCH 0/9] dasd: implement block timeout

2013-06-03 Thread Martin Schwidefsky
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 block/blk-timeout.c look good to me, but I would like to request an acked-by from Jens for the

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

2013-06-03 Thread Martin Schwidefsky
by: Hannes 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..ef19

[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
einecke Signed-off-by: Stefan 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

[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
le 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(

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

2013-06-24 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 defaul

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/s3

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 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 > >>

[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 in

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

2013-07-03 Thread Martin Schwidefsky
/dasd: Add '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 Schwide

[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

[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 http://marc.info/?l=linux

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

2013-07-03 Thread Martin Schwidefsky
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 a

[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

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

  1   2   3   4   5   6   7   8   9   10   >