No Subject

2000-12-11 Thread Heiko . Carstens
Recently I had some thoughts on how to realise CPU attachment and detachment in a running Linux system (based on the 2.4 kernel). CPU attachment and detachment would make sense on an S/390 when there are several Linuxes running, each in its own logical partition. This way a CPU could be

CPU attachent and detachment in a running Linux system

2000-12-11 Thread Heiko . Carstens
Recently I had some thoughts on how to realise CPU attachment and detachment in a running Linux system (based on the 2.4 kernel). CPU attachment and detachment would make sense on an S/390 when there are several Linuxes running, each in its own logical partition. This way a CPU could be

Re: CPU attachent and detachment in a running Linux system

2000-12-11 Thread Heiko . Carstens
sigp. To synchronize n CPUs one can create n kernel threads and give them a high priority to make sure they will be executed soon (e.g. by setting p-policy to SCHED_RR and p-rt_priority to a very high value). As soon as all CPUs are in synchronized state (with interrupts disabled) the

Re: CPU attachent and detachment in a running Linux system

2000-12-17 Thread Heiko . Carstens
Hi, I still wonder what you and other people think about the idea of an interface where the parts of the kernel with per-cpu dependencies should register two functions... Why not compile kernel with structeres big enough for 32 processors, and then just add CPUs up to the limit without

Re: CPU attachent and detachment in a running Linux system

2000-12-21 Thread Heiko . Carstens
Hi, That's a good point and it would probably work for attachment of cpus, but it won't work for detachment because there are some data structures that need to be updated if a cpu gets detached. For example it would be nice [...] So at least for detaching it would make sense to register

Re: [PATCH] swsusp: Disable nonboot CPUs before entering platform suspend

2007-03-09 Thread Heiko Carstens
On Wed, Mar 07, 2007 at 09:07:17PM +, Pavel Machek wrote: Hi! Prevent the WARN_ON() in arch/x86_64/kernel/acpi/sleep.c:init_low_mapping() from triggering by disabling nonboot CPUs before we finally enter the platform suspend. Signed-off-by: Rafael J. Wysocki [EMAIL PROTECTED]

Re: /sys/devices/system/cpu/cpuX/online are missing

2007-03-12 Thread Heiko Carstens
On Sun, Mar 11, 2007 at 10:26:52PM +0100, Giuliano Pochini wrote: Since 2.6.20 /sys/devices/system/cpu/cpuX/online isn't there anymore. The directories exist, though. I also tested linux-2.6.21rc3. I had a look at the archives and I found nothing about the removal of that file, which is

Re: /sys/devices/system/cpu/cpuX/online are missing

2007-03-13 Thread Heiko Carstens
On Tue, Mar 13, 2007 at 01:39:25AM +0100, Andreas Schwab wrote: Giuliano Pochini [EMAIL PROTECTED] writes: I had a look at arch/powerpc/kernel/smp.c but I'm not familiar at all with those parts of the kernel. See arch/powerpc/kernel/sysfs.c:topology_init. I don't think there is

Re: /sys/devices/system/cpu/cpuX/online are missing

2007-03-13 Thread Heiko Carstens
On Tue, Mar 13, 2007 at 10:03:50AM +0100, Heiko Carstens wrote: On Tue, Mar 13, 2007 at 01:39:25AM +0100, Andreas Schwab wrote: Giuliano Pochini [EMAIL PROTECTED] writes: I had a look at arch/powerpc/kernel/smp.c but I'm not familiar at all with those parts of the kernel. See

Re: [PATCH 11/13] sparc: have dma-mapping.h include generic/dma-mapping-broken in non-PCI case

2007-03-14 Thread Heiko Carstens
On Wed, Mar 14, 2007 at 09:16:44AM +, Al Viro wrote: Signed-off-by: Al Viro [EMAIL PROTECTED] --- include/asm-sparc/dma-mapping.h | 15 +-- 1 files changed, 1 insertions(+), 14 deletions(-) diff --git a/include/asm-sparc/dma-mapping.h b/include/asm-sparc/dma-mapping.h

Re: [RFC][PATCH] sys_fallocate() system call

2007-03-16 Thread Heiko Carstens
On Fri, Mar 16, 2007 at 08:01:01PM +0530, Amit K. Arora wrote: First of all, thanks for the overwhelming response! Based on the suggestions received, I have added a new parameter to the sys_fallocate() system call - an interger called mode, just after the fd. Now the system call looks like

Re: [RFC][PATCH] sys_fallocate() system call

2007-03-16 Thread Heiko Carstens
on s390, and thus the delay. While I try to get it right on s390(x), we thought of posting this patch, so that we can save some time. Parallely we will work on getting the patch work on s390, and probably it will come as a separate patch. +asmlinkage long sys_fallocate(int fd, int mode,

Re: [kvm-devel] [PATCH 0/15] KVM userspace interface updates

2007-03-16 Thread Heiko Carstens
On Sun, Mar 11, 2007 at 03:53:12PM +0200, Avi Kivity wrote: This patchset updates the kvm userspace interface to what I hope will be the long-term stable interface. Provisions are included for extending the interface later. The patches address performance and cleanliness concerns. Searching

Re: [kvm-devel] [PATCH 0/15] KVM userspace interface updates

2007-03-16 Thread Heiko Carstens
On Fri, Mar 16, 2007 at 09:03:08AM -0500, Anthony Liguori wrote: Heiko Carstens wrote: On Sun, Mar 11, 2007 at 03:53:12PM +0200, Avi Kivity wrote: This patchset updates the kvm userspace interface to what I hope will be the long-term stable interface. Provisions are included for extending

Re: [kvm-devel] [PATCH 08/15] KVM: Add method to check for backwards-compatible API extensions

2007-03-16 Thread Heiko Carstens
diff --git a/drivers/kvm/kvm_main.c b/drivers/kvm/kvm_main.c index 747966e..376538c 100644 --- a/drivers/kvm/kvm_main.c +++ b/drivers/kvm/kvm_main.c @@ -2416,6 +2416,12 @@ static long kvm_dev_ioctl(struct file *filp, r = 0; break; } + case

Re: [PATCH] iomap: make PCI iomap stuff excluded when PCI isn't configured

2007-02-10 Thread Heiko Carstens
On Sat, Feb 10, 2007 at 05:14:13PM -0500, Tejun Heo wrote: Heiko Carstens wrote: On Sat, Feb 10, 2007 at 12:43:16PM -0500, Tejun Heo wrote: \ Heiko, how about this? Does it fix s390? Unfortunately not. Now I get CC lib/iomap.o lib/iomap.c: In function 'devm_ioport_map_release': lib

Re: [patch] linux/io.h: forward declare struct pci_dev

2007-02-11 Thread Heiko Carstens
My current version: From 97f115834b5ebef4f04e0f18aaa10f78f43733a0 Mon Sep 17 00:00:00 2001 From: Al Viro [EMAIL PROTECTED] Date: Sat, 10 Feb 2007 23:41:09 -0500 Subject: [PATCH] sort the devres mess out Split the implementation-agnostic stuff in separate files. Make sure that targets

Re: -mm merge plans for 2.6.21

2007-02-11 Thread Heiko Carstens
On Sat, Feb 10, 2007 at 09:34:47PM +, Ralf Baechle wrote: On Sat, Feb 10, 2007 at 10:32:07AM +, David Woodhouse wrote: On Sat, 2007-02-10 at 11:22 +0100, Heiko Carstens wrote: Which remembers me that I think that MIPS is using the non-compat version of sys_epoll_pwait for compat

Re: [patch] add epoll compat code to kernel/compat.c ...

2007-02-11 Thread Heiko Carstens
On Sun, Feb 11, 2007 at 12:15:24PM -0800, Davide Libenzi wrote: Add epoll compat_ code to kernel/compat.c. IA64 and ARM-OABI are currently using their own version of epoll compat_ code and they could probably wire to the new common code. Patch over 2.6.20. + * epoll (fs/eventpoll.c) compat

Re: [RFC][PATCH] sys_fallocate() system call

2007-03-17 Thread Heiko Carstens
On Sat, Mar 17, 2007 at 05:07:06AM -0600, Matthew Wilcox wrote: On Sat, Mar 17, 2007 at 08:59:05PM +1100, Paul Mackerras wrote: ... but wouldn't work on 32-bit powerpc. :( We would end up with a pad argument between fd and offset, giving 7 arguments in all (counting the loff_t's as 2), but

Re: [kvm-devel] [PATCH 0/15] KVM userspace interface updates

2007-03-18 Thread Heiko Carstens
On Sun, Mar 18, 2007 at 07:20:57AM +0200, Avi Kivity wrote: Heiko Carstens wrote: On Sun, Mar 11, 2007 at 03:53:12PM +0200, Avi Kivity wrote: This patchset updates the kvm userspace interface to what I hope will be the long-term stable interface. Provisions are included for extending

Re: [RFC][PATCH] sys_fallocate() system call

2007-03-19 Thread Heiko Carstens
On Mon, Mar 19, 2007 at 02:54:04PM +0530, Amit K. Arora wrote: On Fri, Mar 16, 2007 at 04:21:03PM +0100, Heiko Carstens wrote: On Fri, Mar 16, 2007 at 08:01:01PM +0530, Amit K. Arora wrote: asmlinkage long sys_fallocate(int fd, int mode, loff_t offset, loff_t len) Currently we

Re: [kvm-devel] [PATCH 0/15] KVM userspace interface updates

2007-03-19 Thread Heiko Carstens
On Sun, Mar 18, 2007 at 12:42:00PM +0200, Avi Kivity wrote: Heiko Carstens wrote: In addition, if we would port kvm to s390, then we would need to make sure that each virtual cpu only gets executed from the thread that created it. That is simply because the upper half of our page tables

Re: [kvm-devel] [PATCH 0/15] KVM userspace interface updates

2007-03-19 Thread Heiko Carstens
On Mon, Mar 19, 2007 at 06:02:57PM +0200, Avi Kivity wrote: Heiko Carstens wrote: I agree with all of the above, and in addition, integration to the scheduler will allow us to reduce vcpu migration rate, and maybe do things like gang scheduling. But that doesn't mean it can be done now: we

[patch 0/6] s390 bug fixes for 2.6.21

2007-03-26 Thread Heiko Carstens
s390 bug fixes for 2.6.21 - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[patch 1/6] dasd: Work around gcc bug.

2007-03-26 Thread Heiko Carstens
-by: Heiko Carstens [EMAIL PROTECTED] --- drivers/s390/block/dasd_diag.c | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) Index: linux-2.6/drivers/s390/block/dasd_diag.c === --- linux-2.6.orig/drivers/s390/block

[patch 4/6] cio: Device status validity.

2007-03-26 Thread Heiko Carstens
From: Cornelia Huck [EMAIL PROTECTED] Only accumulate device status field in irb if it is valid. Cc: Martin Schwidefsky [EMAIL PROTECTED] Signed-off-by: Cornelia Huck [EMAIL PROTECTED] Signed-off-by: Heiko Carstens [EMAIL PROTECTED] --- drivers/s390/cio/device_status.c |6 +- 1 files

[patch 3/6] kprobes: Align probe address.

2007-03-26 Thread Heiko Carstens
PROTECTED] Signed-off-by: David Wilder [EMAIL PROTECTED] Signed-off-by: Heiko Carstens [EMAIL PROTECTED] --- arch/s390/kernel/kprobes.c |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: linux-2.6/arch/s390/kernel/kprobes.c

[patch 2/6] Fix TCP/UDP pseudo header checksum computation.

2007-03-26 Thread Heiko Carstens
From: Heiko Carstens [EMAIL PROTECTED] git commit f994aae1bd8e4813d59a2ed64d17585fe42d03fc changed the function declaration of csum_tcpudp_nofold. Argument types were changed from unsigned long to __be32 (unsigned int). Therefore we lost the implicit type conversion that zeroed the upper half

[patch 5/6] zcrypt: Fix possible dead lock in AP bus module.

2007-03-26 Thread Heiko Carstens
ap_scan_bus() or ap_queue_message() in process context. Cc: Martin Schwidefsky [EMAIL PROTECTED] Signed-off-by: Ralph Wuerthner [EMAIL PROTECTED] Signed-off-by: Heiko Carstens [EMAIL PROTECTED] --- drivers/s390/crypto/ap_bus.c | 26 +- 1 files changed, 13 insertions

[patch 6/6] zcrypt: Fix ap_poll_requests counter in lost requests error path.

2007-03-26 Thread Heiko Carstens
-by: Ralph Wuerthner [EMAIL PROTECTED] Signed-off-by: Heiko Carstens [EMAIL PROTECTED] --- drivers/s390/crypto/ap_bus.c |4 1 files changed, 4 insertions(+) Index: linux-2.6/drivers/s390/crypto/ap_bus.c === --- linux-2.6

Please pull git390 'for-linus' branch

2007-03-26 Thread Heiko Carstens
. Heiko Carstens (1): [S390] Fix TCP/UDP pseudo header checksum computation. Peter Oberparleiter (1): [S390] dasd: Work around gcc bug. Ralph Wuerthner (2): [S390] zcrypt: Fix possible dead lock in AP bus module. [S390] zcrypt: Fix ap_poll_requests counter in lost requests

[patch 0/8] s390 patches for 2.6.22

2007-03-26 Thread Heiko Carstens
Couple of patches that haven't been posted before and which should be merged in the 2.6.22 merge window. - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please

[patch 1/8] Processor degredation support.

2007-03-26 Thread Heiko Carstens
From: Heiko Carstens [EMAIL PROTECTED] Emit a warning if cpu capability changes e.g. because the cpus are overheating. The new cpu capability can be read via /proc/sysinfo. Signed-off-by: Martin Schwidefsky [EMAIL PROTECTED] Signed-off-by: Heiko Carstens [EMAIL PROTECTED] --- drivers/s390/char

[patch 4/8] cio: Clean up online_store.

2007-03-26 Thread Heiko Carstens
From: Cornelia Huck [EMAIL PROTECTED] Detangle the online_store code and make it more readable. Cc: Martin Schwidefsky [EMAIL PROTECTED] Signed-off-by: Cornelia Huck [EMAIL PROTECTED] Signed-off-by: Heiko Carstens [EMAIL PROTECTED] --- drivers/s390/cio/device.c | 109

[patch 3/8] Improved kernel stack overflow checking.

2007-03-26 Thread Heiko Carstens
to use the new stack checker. Signed-off-by: Martin Schwidefsky [EMAIL PROTECTED] Signed-off-by: Heiko Carstens [EMAIL PROTECTED] --- arch/s390/Makefile |2 ++ 1 files changed, 2 insertions(+) Index: linux-2.6/arch/s390/Makefile

[patch 7/8] dasd: Add ipldev parameter.

2007-03-26 Thread Heiko Carstens
From: Peter Oberparleiter [EMAIL PROTECTED] Specifying 'ipldev' in the dasd= kernel parameter will automatically activate the boot device for use by the dasd driver. Cc: Martin Schwidefsky [EMAIL PROTECTED] Signed-off-by: Peter Oberparleiter [EMAIL PROTECTED] Signed-off-by: Heiko Carstens [EMAIL

[patch 8/8] zfcpdump support.

2007-03-26 Thread Heiko Carstens
Schwidefsky [EMAIL PROTECTED] Signed-off-by: Heiko Carstens [EMAIL PROTECTED] --- Documentation/s390/zfcpdump.txt | 87 + arch/s390/Kconfig |8 arch/s390/Makefile |3 arch/s390/defconfig |1 arch/s390/kernel/head64.S | 72 arch

[patch 2/8] Get rid of console setup functions.

2007-03-26 Thread Heiko Carstens
From: Heiko Carstens [EMAIL PROTECTED] We get this: Section mismatch: reference to .init.text:con3270_consetup from .data between 'con3270' (at offset 0x45c8) and 'con3270_fn' Section mismatch: reference to .init.text:con3215_consetup from .data between

[patch 6/8] dasd: Add sysfs attribute status and generate uevents.

2007-03-26 Thread Heiko Carstens
) to do related processing. Cc: Martin Schwidefsky [EMAIL PROTECTED] Signed-off-by: Horst Hummel [EMAIL PROTECTED] Signed-off-by: Heiko Carstens [EMAIL PROTECTED] --- drivers/s390/block/dasd.c|3 ++ drivers/s390/block/dasd_devmap.c | 41 +++ 2 files

[patch 5/8] cio: Channel-path configure function.

2007-03-26 Thread Heiko Carstens
Oberparleiter [EMAIL PROTECTED] Signed-off-by: Martin Schwidefsky [EMAIL PROTECTED] Signed-off-by: Heiko Carstens [EMAIL PROTECTED] --- drivers/s390/char/Makefile|2 drivers/s390/char/sclp_chp.c | 196 + drivers/s390/cio/chp.c| 249

Re: [POWERPC] Mask 32-bit system call arguments to 32 bits on PPC64 in audit code

2007-02-22 Thread Heiko Carstens
/auditsc.c: case 4: /* socketcall */ return ((mask AUDIT_PERM_WRITE) ctx-argv[0] == SYS_BIND); So does the audit code assume that the high bits are cleared or is this a bug in the audit code? -- Heiko Carstens Linux on System z Development IBM Deutschland Entwicklung GmbH

Re: [PATCH] dma-mapping-broken.h: flesh-out DMA API stubs

2007-02-22 Thread Heiko Carstens
that depends on DMA (via e.g. CONFIG_HAS_DMA), so we don't have to compile in all the unused code. If that is is possible... -- Heiko Carstens Linux on System z Development IBM Deutschland Entwicklung GmbH Vorsitzender des Aufsichtsrats: Johann Weihen Geschaeftsfuehrung : Herbert Kircher Sitz der

Re: [PATCH] dma-mapping-broken.h: flesh-out DMA API stubs

2007-02-22 Thread Heiko Carstens
How about this for telling that an architecture doesn't support DMA? At least we could get rid of dma-mapping-broken.h and don't need to compile some afterwards dead code. Signed-off-by: Heiko Carstens [EMAIL PROTECTED] --- arch/s390/Kconfig |3 +++ drivers/base/Makefile

Re: [patch] s390: do not use _local_bh_enable()

2007-02-23 Thread Heiko Carstens
()/_local_bh_enable() pair is just a trick to prevent bottom halve execution. I think you can blame Martin for this ;) Probably both of these functions needs some comment I guess... and this one as well: bf6f6aa46feada857a52cb67d99a7c2fe4a70e87 (our new __udelay implementation). -- Heiko Carstens Linux on System

Re: [PATCH] dma-mapping-broken.h: flesh-out DMA API stubs

2007-02-23 Thread Heiko Carstens
On Fri, Feb 23, 2007 at 07:13:32AM +0100, Heiko Carstens wrote: How about this for telling that an architecture doesn't support DMA? At least we could get rid of dma-mapping-broken.h and don't need to compile some afterwards dead code. Signed-off-by: Heiko Carstens [EMAIL PROTECTED

[patch] Introduce CONFIG_HAS_DMA.

2007-02-26 Thread Heiko Carstens
From: Heiko Carstens [EMAIL PROTECTED] Architectures that don't support DMA can say so by adding a config NO_DMA to their Kconfig file. This will prevent compilation of some dma specific driver code. Also dma-mapping-broken.h isn't needed anymore on at least s390. This avoids compilation

timer/hrtimer cpu hotplug lockdep complaints

2007-02-27 Thread Heiko Carstens
lockdep tells us that we have a possible circular locking dependency. The output below is incomplete since our console driver deadlocked on del_timer()... 4Processor 4 spun down 4 4=== 4[ INFO: possible circular locking

Re: [POWERPC] Mask 32-bit system call arguments to 32 bits on PPC64 in audit code

2007-02-28 Thread Heiko Carstens
On Thu, Feb 22, 2007 at 12:20:40PM +0100, Heiko Carstens wrote: On Thu, Feb 08, 2007 at 06:59:16PM +, Linux Kernel Mailing List wrote: Commit: cfcd1705b61ecce1ab102b9593cf733fef314a19 Parent: 0e47e3cca100e7c8e8124378e4e44969c2e042fd Author: David Woodhouse [EMAIL PROTECTED

Re: [PATCH 5/5] Move definition of hard_smp_processor_id to asm/smp.h - alpha, m32r, powerpc, s390, sparc, sparc64, um

2007-03-01 Thread Heiko Carstens
On Thu, Mar 01, 2007 at 04:18:23PM +0900, Fernando Luis Vázquez Cao wrote: Move definition of hard_smp_processor_id to asm/smp.h on alpha, m32r, powerpc, s390, sparc, sparc64, and um architectures. Signed-off-by: Fernando Luis Vazquez Cao [EMAIL PROTECTED] --- diff -urNp

[patch] timer/hrtimer: take per cpu locks in sane order

2007-03-02 Thread Heiko Carstens
: Roman Zippel [EMAIL PROTECTED] Cc: John Stultz [EMAIL PROTECTED] Cc: Christian Borntraeger [EMAIL PROTECTED] Cc: Martin Schwidefsky [EMAIL PROTECTED] Signed-off-by: Heiko Carstens [EMAIL PROTECTED] --- kernel/hrtimer.c | 17 - kernel/timer.c | 16 2 files changed

Re: [patch] timer/hrtimer: take per cpu locks in sane order

2007-03-02 Thread Heiko Carstens
On Fri, Mar 02, 2007 at 02:04:33PM +0100, Ingo Molnar wrote: * Heiko Carstens [EMAIL PROTECTED] wrote: - spin_lock(new_base-lock); - spin_lock(old_base-lock); + /* +* If we take a lock from a different cpu, make sure we have always +* the same locking order

[patch] timer/hrtimer: take per cpu locks in sane order

2007-03-02 Thread Heiko Carstens
From: Heiko Carstens [EMAIL PROTECTED] Doing something like this on a two cpu system # echo 0 /sys/devices/system/cpu/cpu0/online # echo 1 /sys/devices/system/cpu/cpu0/online # echo 0 /sys/devices/system/cpu/cpu1/online will give me

Re: [patch] timer/hrtimer: take per cpu locks in sane order

2007-03-02 Thread Heiko Carstens
+/* + * double_timer_lock/unlock are used to ensure that on cpu hotplug the + * per cpu timer locks are always taken in the same order. + */ +static void __devinit double_timer_lock(tvec_base_t *base1, + tvec_base_t *base2, int ind) +

[patch] timer/hrtimer: take per cpu locks in sane order

2007-03-02 Thread Heiko Carstens
From: Heiko Carstens [EMAIL PROTECTED] Doing something like this on a two cpu system # echo 0 /sys/devices/system/cpu/cpu0/online # echo 1 /sys/devices/system/cpu/cpu0/online # echo 0 /sys/devices/system/cpu/cpu1/online will give me

Re: [S390] Use generic bug.

2007-03-06 Thread Heiko Carstens
On Mon, Mar 05, 2007 at 02:56:29PM -0800, David Miller wrote: From: Martin Schwidefsky [EMAIL PROTECTED] Date: Mon, 5 Mar 2007 23:43:54 +0100 + if (__builtin_constant_p(__ret_warn_on)) { \ + if (__ret_warn_on) \ +

Re: [patch 1/8] Processor degredation support.

2007-03-27 Thread Heiko Carstens
+++ linux-2.6/drivers/s390/char/sclp_confmgm.c Can we get less cyptic name? Would you like to see sclp_configuration_management.c? +static void sclp_conf_receiver_fn(struct evbuf_header *evbuf) +{ + struct conf_mgm_data *cdata; + + cdata = (struct conf_mgm_data *)(evbuf + 1);

Re: [QUESTION] check for mem in slab

2007-03-29 Thread Heiko Carstens
in file mm/slab.c and routine kmem_cache_init() I found there is no checking for allocated memory on line: /* 4) Replace the bootstrap head arrays */ { struct array_cache *ptr; ptr = kmalloc(sizeof(struct arraycache_init), GFP_KERNEL); -- no

Re: Interface for the new fallocate() system call

2007-03-30 Thread Heiko Carstens
On Thu, Mar 29, 2007 at 07:01:54PM +0200, Jan Engelhardt wrote: Hi, On Mar 29 2007 17:21, Amit K. Arora wrote: We need to come up with the best possible layout of arguments for the fallocate() system call. Various architectures have different requirements for how the arguments should look

Re: Interface for the new fallocate() system call

2007-03-30 Thread Heiko Carstens
and Russell have suggested another option of breaking each loff_t into two u32s. This will result in 6 arguments in total. Following think that this is a good alternative: Matthew Wilcox, Russell King, Heiko Carstens Following do not like this idea: Chris Wedgwood It's a bit weird

Re: Interface for the new fallocate() system call

2007-03-30 Thread Heiko Carstens
On Fri, Mar 30, 2007 at 02:14:17AM -0500, Jakub Jelinek wrote: On Thu, Mar 29, 2007 at 10:10:10AM -0700, Andrew Morton wrote: Platform: s390 -- s390 prefers following layout: int fallocate(int fd, loff_t offset, loff_t len, int mode) For details on why and

Re: Interface for the new fallocate() system call

2007-03-30 Thread Heiko Carstens
On Fri, Mar 30, 2007 at 12:44:49PM +0200, Jörn Engel wrote: On Fri, 30 March 2007 19:15:58 +1000, Paul Mackerras wrote: It does mean extra unnecessary work for 64-bit platforms, though... Wouldn't that work be confined to fallocate()? If I understand Heiko correctly, the alternative would

Re: [PATCH 8/9] clocksource: s390 initialize list value

2007-03-30 Thread Heiko Carstens
On Fri, Mar 30, 2007 at 11:45:49AM -0700, Daniel Walker wrote: Update arch/s390 with list initialization. Signed-Off-By: Daniel Walker [EMAIL PROTECTED] --- arch/s390/kernel/time.c |1 + 1 file changed, 1 insertion(+) Index: linux-2.6.20/arch/s390/kernel/time.c

Re: [PATCH 8/9] clocksource: s390 initialize list value

2007-03-30 Thread Heiko Carstens
On Fri, Mar 30, 2007 at 12:19:18PM -0700, Daniel Walker wrote: On Fri, 2007-03-30 at 21:09 +0200, Heiko Carstens wrote: On Fri, Mar 30, 2007 at 11:45:49AM -0700, Daniel Walker wrote: Update arch/s390 with list initialization. Signed-Off-By: Daniel Walker [EMAIL PROTECTED] [...] Why

Re: [patch 1/8] Processor degredation support.

2007-04-02 Thread Heiko Carstens
On Wed, Mar 28, 2007 at 08:41:45AM +, Pavel Machek wrote: On Wed 2007-03-28 08:54:43, Heiko Carstens wrote: +++ linux-2.6/drivers/s390/char/sclp_confmgm.c Can we get less cyptic name? Would you like to see sclp_configuration_management.c? No, but maybe sclp_manager.c

Re: [PATCHv3] kprobes: Introduce kprobe_handle_fault()

2008-01-08 Thread Heiko Carstens
+/* + * If it is a kprobe pagefault we can not be premptible so return before Missing 'e' in preemptible. However, the old code you removed had a lot of preempt_disable/enable calls that you removed. Hope you checked that preemption was always disabled already and the calls were not necessary

Re: [PATCHv4] kprobes: Introduce kprobe_handle_fault()

2008-01-09 Thread Heiko Carstens
arch/avr32/mm/fault.c | 21 + arch/ia64/mm/fault.c| 24 +--- arch/powerpc/mm/fault.c | 25 + arch/s390/mm/fault.c| 25 + arch/sparc64/mm/fault.c | 23 +--

Re: [patch 3/6] sclp: call sclp_init() from start_kernel().

2007-11-16 Thread Heiko Carstens
On Fri, Nov 16, 2007 at 04:09:42PM +0100, Bastian Blank wrote: On Fri, Nov 16, 2007 at 03:29:45PM +0100, Martin Schwidefsky wrote: #else static inline void acpi_early_init(void) { } #endif +#ifdef CONFIG_S390 +extern int sclp_init(void); +#else +static inline int sclp_init(void)

[PATCH 1/3] tty: Add the new termios2 ioctls to the compatible list.

2007-11-19 Thread Heiko Carstens
From: Heiko Carstens [EMAIL PROTECTED] Make them depend on TCGETS2. If that one is implemented the rest should be there as well. Cc: Alan Cox [EMAIL PROTECTED] Signed-off-by: Heiko Carstens [EMAIL PROTECTED] --- fs/compat_ioctl.c |6 ++ 1 file changed, 6 insertions(+) Index: linux-2.6

[PATCH 2/3] tty: Let architectures override the user/kernel macros.

2007-11-19 Thread Heiko Carstens
From: Heiko Carstens [EMAIL PROTECTED] Give architectures that support the new termios2 the possibilty to overide the user_termios_to_kernel_termios and kernel_termios_to_user_termios macros. As soon as all architectures that use the generic variant have been converted the ifdefs can go away

[PATCH 3/3] tty: s390 support for termios2.

2007-11-19 Thread Heiko Carstens
From: Heiko Carstens [EMAIL PROTECTED] Backend for s390. Cc: Alan Cox [EMAIL PROTECTED] Cc: Martin Schwidefsky [EMAIL PROTECTED] Signed-off-by: Heiko Carstens [EMAIL PROTECTED] --- include/asm-s390/ioctls.h |4 include/asm-s390/termbits.h |5 - include/asm-s390/termios.h

Re: [PATCH] Re: [BUG] 2.6.24-rc3 x86 make depends on s390 arch

2007-11-30 Thread Heiko Carstens
On Fri, Nov 30, 2007 at 04:33:19PM +0530, Jaswinder Singh wrote: This patch fixes s390 dependency for x86 Signed-off-by: Jaswinder Singh [EMAIL PROTECTED] Deleting random parts of the kernel tree is actually not supported. diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig index

Re: [BUG] 2.6.24-rc3 x86 make depends on s390 arch

2007-11-30 Thread Heiko Carstens
On Fri, Nov 30, 2007 at 01:44:56PM +0530, Jaswinder Singh wrote: 2.6.24-rc3 git kernel's x86 make depends on s390 arch: 1. HOSTLD scripts/kconfig/conf scripts/kconfig/conf -s arch/x86/Kconfig drivers/crypto/Kconfig:51: can't open file arch/s390/crypto/Kconfig make[2]: ***

Re: [PATCH] Re: [BUG] 2.6.24-rc3 x86 make depends on s390 arch

2007-11-30 Thread Heiko Carstens
diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig index 1330061..b699ed5 100644 --- a/arch/s390/Kconfig +++ b/arch/s390/Kconfig @@ -537,4 +537,6 @@ source security/Kconfig source crypto/Kconfig +source arch/s390/crypto/Kconfig + With this there's no dependency

Re: [PATCH] Re: [BUG] 2.6.24-rc3 x86 make depends on s390 arch

2007-11-30 Thread Heiko Carstens
On Fri, Nov 30, 2007 at 06:30:45PM +0530, Jaswinder Singh wrote: We have two options: 1. Either move arch/s390/crypto/Kconfig to drivers/crypto/Kconfig OR 2. In arch/s390/crypto/Kconfig , replace depends on S390 to depends on CRYPRO_HW I think 2nd option is better for everyone. 2)

Re: [PATCH] x86_64: some whitespace cleanups in paging code

2007-12-05 Thread Heiko Carstens
On Wed, Dec 05, 2007 at 03:40:12PM +0100, Joerg Roedel wrote: This patch does some whitespace cleanups in the paging code to fix some checkpatch.pl warnings of my formerly merged cleanup patches. ... - set_pmd(pmd + i,__pmd(addr | __PAGE_KERNEL_LARGE_EXEC)); +

Re: [patch 00/11] Text Edit Lock for 2.6.24-rc4-git3

2007-12-06 Thread Heiko Carstens
On Wed, Dec 05, 2007 at 09:02:46PM -0500, Mathieu Desnoyers wrote: Hi, Here is a repost of the text edit lock for 2.6.24-rc4-mm3. It is useful to coordinate modification of live kernel code patching. It includes a modification to kprobes (its first user) and is useful for the Immediate

Re: [PATCH 09/20] drivers/s390/: use LIST_HEAD instead of LIST_HEAD_INIT

2007-12-07 Thread Heiko Carstens
On Thu, Dec 06, 2007 at 11:19:41PM +0800, Denis Cheng wrote: single list_head variable initialized with LIST_HEAD_INIT could almost always can be replaced with LIST_HEAD declaration, this shrinks the code and looks better. Signed-off-by: Denis Cheng [EMAIL PROTECTED] ---

Re: [PATCH 39/59] drivers/s390: Add missing space

2007-11-20 Thread Heiko Carstens
On Mon, Nov 19, 2007 at 05:48:31PM -0800, Joe Perches wrote: Signed-off-by: Joe Perches [EMAIL PROTECTED] --- drivers/s390/char/monwriter.c |2 +- drivers/s390/char/vmlogrdr.c |2 +- drivers/s390/cio/chsc.c |2 +- drivers/s390/net/claw.c |2 +-

Re: [PATCH 05/59] arch/s390: Add missing space

2007-11-20 Thread Heiko Carstens
On Mon, Nov 19, 2007 at 05:47:57PM -0800, Joe Perches wrote: Signed-off-by: Joe Perches [EMAIL PROTECTED] --- arch/s390/crypto/aes_s390.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/s390/crypto/aes_s390.c b/arch/s390/crypto/aes_s390.c index

Re: [PATCHv4 2/6] x86x86-64 support for sys_indirect

2007-11-20 Thread Heiko Carstens
+#define INDIRECT_SYSCALL(regs) (regs)-rax +#define INDIRECT_SYSCALL32(regs) (regs)-eax + +#define CALL_INDIRECT(regs) \ + ({ extern long (*sys_call_table[]) (__u64, __u64, __u64, __u64, __u64, __u64); \ + sys_call_table[INDIRECT_SYSCALL(regs)] ((regs)-rdi, (regs)-rsi, \ +

Re: [PATCH 1/3] tty: Add the new termios2 ioctls to the compatible list.

2007-11-20 Thread Heiko Carstens
On Mon, Nov 19, 2007 at 11:02:49PM -0800, Andrew Morton wrote: On Mon, 19 Nov 2007 13:52:06 +0100 Heiko Carstens [EMAIL PROTECTED] wrote: Index: linux-2.6/fs/compat_ioctl.c === --- linux-2.6.orig/fs/compat_ioctl.c +++ linux

Re: [RFC] Proposed new directory layout for kvm and virtualization

2007-12-11 Thread Heiko Carstens
On Tue, Dec 11, 2007 at 11:47:39AM +0200, Avi Kivity wrote: KVM is due to receive support for multiple architectures (ppc, ia64, and s390, in addition to the existing x86), hopefully in time for the 2.6.25 merge window. It is awkward to place the new arch support in drivers/kvm/, so I'd

Re: [patch 2/2] Add the end-of-trace marker and the module list to WARN_ON()

2008-01-04 Thread Heiko Carstens
On Thu, Jan 03, 2008 at 10:27:28PM +0100, Arjan van de Ven wrote: Another issue is that, unlike oopses, WARN_ON() doesn't currently printk the helpful cut here line, nor the end of trace marker. Now that WARN_ON() is out of line, the size increase due to this is minimal and it's worth adding.

Re: [patch 2/2] Add the end-of-trace marker and the module list to WARN_ON()

2008-01-04 Thread Heiko Carstens
On Fri, Jan 04, 2008 at 06:50:42AM -0800, Arjan van de Ven wrote: Heiko Carstens wrote: On Thu, Jan 03, 2008 at 10:27:28PM +0100, Arjan van de Ven wrote: Another issue is that, unlike oopses, WARN_ON() doesn't currently printk the helpful cut here line, nor the end of trace marker. Now

Re: [PATCH] Bug fix for the s390 dcssblk driver

2007-10-21 Thread Heiko Carstens
On Sat, Oct 20, 2007 at 01:24:34PM -0400, emist wrote: Frans Pop wrote: emist wrote: The following patch fixes and issue in the s390 dcssblk driver. The issue is caused when an unsuccessful attempt is made in order to change a segment's type through the device attribute file shared. This

Re: [patch 0/1] remove header_ops bug in qeth driver

2007-10-22 Thread Heiko Carstens
On Fri, Oct 19, 2007 at 11:55:38PM +0200, Ursula Braun wrote: -- Remove qeth driver bug introduced by this commit: commit 3b04ddde02cf1b6f14f2697da5c20eca5715017f Author: Stephen Hemminger [EMAIL PROTECTED] Date: Tue Oct 9 01:40:57 2007 -0700 [NET]: Move hardware header operations

Re: [PATCH 02/10] [SG] Update block layer to use sg helpers

2007-10-22 Thread Heiko Carstens
On Mon, Oct 22, 2007 at 08:10:56PM +0200, Jens Axboe wrote: Signed-off-by: Jens Axboe [EMAIL PROTECTED] --- block/ll_rw_blk.c |8 ++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/block/ll_rw_blk.c b/block/ll_rw_blk.c index 8025d64..61c2e39 100644 ---

[PATCH] fix ll_rw_blk.c build on s390

2007-10-22 Thread Heiko Carstens
From: Heiko Carstens [EMAIL PROTECTED] CC block/ll_rw_blk.o block/ll_rw_blk.c: In function 'blk_rq_map_sg': block/ll_rw_blk.c:1357: error: implicit declaration of function 'sg_dma_len' block/ll_rw_blk.c:1357: error: lvalue required as left operand of assignment block/ll_rw_blk.c:1358

[PATCH] net: fix xfrm build - missing scatterlist.h include

2007-10-22 Thread Heiko Carstens
From: Heiko Carstens [EMAIL PROTECTED] net/xfrm/xfrm_algo.c: In function 'skb_icv_walk': net/xfrm/xfrm_algo.c:555: error: implicit declaration of function 'sg_set_page' make[2]: *** [net/xfrm/xfrm_algo.o] Error 1 Cc: David Miller [EMAIL PROTECTED] Cc: Jens Axboe [EMAIL PROTECTED] Signed-off

Re: [PATCH 04/10] [SG] Update drivers to use sg helpers

2007-10-23 Thread Heiko Carstens
On Mon, Oct 22, 2007 at 08:10:58PM +0200, Jens Axboe wrote: Signed-off-by: Jens Axboe [EMAIL PROTECTED] --- You forgot s390's zfcp driver. But unfortunately the trivial fix below doesn't work. No more I/O possible. Swen and/or Christof could you provide a correct fix for this please? Thanks!

Re: [PATCH 04/10] [SG] Update drivers to use sg helpers

2007-10-23 Thread Heiko Carstens
On Tue, Oct 23, 2007 at 09:14:07AM +0200, Jens Axboe wrote: On Tue, Oct 23 2007, Heiko Carstens wrote: On Mon, Oct 22, 2007 at 08:10:58PM +0200, Jens Axboe wrote: Signed-off-by: Jens Axboe [EMAIL PROTECTED] --- You forgot s390's zfcp driver. But unfortunately the trivial fix below

Re: [BUG] 2.6.23-git19 - S390x: Kernel panic while bringing up the network interface

2007-10-23 Thread Heiko Carstens
On Wed, Oct 24, 2007 at 08:59:06AM +0530, Kamalesh Babulal wrote: Hi, Kernel panic's while bringing up the network interface with the 2.6.23-git19 Setting network parameters: Ý OK ¨ Bringing up loopback interface: Ý OK ¨ Bringing up interface eth0: Ý002e2f72¨

[PATCH] sg: add missing sg_init_table calls to zfcp

2007-10-23 Thread Heiko Carstens
From: Heiko Carstens [EMAIL PROTECTED] CONFIG_DEBUG_SG reveals two missing sg_init_table calls. Add them. kernel BUG at include/linux/scatterlist.h:50! illegal operation: 0001 [#1] [...] Call Trace: ([0026f184] zfcp_ns_gid_pn_request+0x4c/0x2a0) [00276dd4

preempt rcu bug on s390

2008-02-09 Thread Heiko Carstens
Using CONFIG_PREEMPT_RCU and CONFIG_NO_IDLE_HZ on s390 my system always gets stuck when running with more than one cpu. When booting with four cpus I get all four cpus caught withing cpu_idle and not advancing anymore. However there is the init process which is waitung for synchronize_rcu() to

Re: preempt rcu bug on s390

2008-02-09 Thread Heiko Carstens
On Sat, Feb 09, 2008 at 06:07:11AM -0800, Paul E. McKenney wrote: On Sat, Feb 09, 2008 at 12:34:35PM +0100, Heiko Carstens wrote: Using CONFIG_PREEMPT_RCU and CONFIG_NO_IDLE_HZ on s390 my system always gets stuck when running with more than one cpu. When booting with four cpus I get all

Re: preempt rcu bug on s390

2008-02-10 Thread Heiko Carstens
Using CONFIG_PREEMPT_RCU and CONFIG_NO_IDLE_HZ on s390 my system always gets stuck when running with more than one cpu. When booting with four cpus I get all four cpus caught withing cpu_idle and not advancing anymore. However there is the init process which is waitung for

Re: [-next]: s390 *_irq() link errors

2012-09-27 Thread Heiko Carstens
. request_irq() and free_irq(). All of this started because I2C lost its HAS_IOMEM dependency. Can't we simply add an !S390 dependency instead and all is well? :) Something like below? From 24c68e72b6198b8412a8605fac7d9c90796502ac Mon Sep 17 00:00:00 2001 From: Heiko Carstens heiko.carst

Re: [PATCH 037/104] arch/s390: remove depends on CONFIG_EXPERIMENTAL

2012-11-06 Thread Heiko Carstens
Schwidefsky schwidef...@de.ibm.com CC: Heiko Carstens heiko.carst...@de.ibm.com Signed-off-by: Kees Cook keesc...@chromium.org --- arch/s390/Kconfig |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig index 5dba755..3c8a70e 100644

Re: Build regressions/improvements in v3.7-rc2

2012-10-23 Thread Heiko Carstens
On Mon, Oct 22, 2012 at 09:50:26PM +0200, Geert Uytterhoeven wrote: On Mon, Oct 22, 2012 at 9:47 PM, Geert Uytterhoeven ge...@linux-m68k.org wrote: JFYI, when comparing v3.7-rc2 to v3.7-rc1[3], the summaries are: - build errors: +4/-44 + arch/s390/include/asm/kvm_para.h: error:

  1   2   3   4   5   6   7   8   >