[PATCH try#2] Blackfin arch: add some missing syscall

2007-09-22 Thread Bryan Wu
When compiling the Blackfin kernel, checksyscalls.pl will report lots of missing syscalls warnings. This patch will add some missing syscalls which make sense on Blackfin arch After appling this patch, toolchain should be rebuilt. Then recompiling the kernel with the new toolchain. [try #2] -

Re: RFC: A revised timerfd API

2007-09-22 Thread Thomas Gleixner
On Sat, 2007-09-22 at 18:07 +0200, Michael Kerrisk wrote: > Hello Bernd, > > Please don't trim the CC list when replying! I nearly did not see > your reply, and others will have missed it also. Yup. > On 9/22/07, Bernd Eckenfels <[EMAIL PROTECTED]> wrote: > > In article <[EMAIL PROTECTED]> you

Re: [PATCH] [9/50] i386: validate against ACPI motherboard resources

2007-09-22 Thread Robert Hancock
Yinghai Lu wrote: No! MMCONFIG will not work with acpi=off any more. I don't think this is unreasonable. The ACPI MCFG table is how we are supposed to learn about the area in the first place. If we can't get the table location via an approved mechanism, and can't validate it doesn't

Memory allocation problem with 2.6.22 after suspend/resume cycle

2007-09-22 Thread Christian P. Schmidt
Hi all, I'm having a strange problem, of course not reproducible. Sometimes after a suspend (to ram) and resume cycle, the kernel will try to free all memory. This means, all running applications are flushed to swap (as long as it is available), caches and buffers stay at around 15MB each. The

Re: RFC: A revised timerfd API

2007-09-22 Thread Michael Kerrisk
Hello Bernd, Please don't trim the CC list when replying! I nearly did not see your reply, and others will have missed it also. On 9/22/07, Bernd Eckenfels <[EMAIL PROTECTED]> wrote: > In article <[EMAIL PROTECTED]> you wrote: > > 1. This design stretches the POSIX timers API in strange > >

Re: [PATCH -mm -v3 1/2] i386/x86_64 boot: setup data

2007-09-22 Thread Jeremy Fitzhardinge
Huang, Ying wrote: > This patch add a field of 64-bit physical pointer to NULL terminated > single linked list of struct setup_data to real-mode kernel > header. This is used as a more extensible boot parameters passing > mechanism. > > This patch has been tested against 2.6.23-rc6-mm1 kernel on

[RFC PATCH] 2.6.22.6 user-mode linux: No need to new a stack for clone without CLONE_VM

2007-09-22 Thread lepton
Since we just call clone without CLONE_VM, it is no need to use anoymous mmap to get a new stack frame. Let's keep codes simple. Signed-off-by: Lepton Wu <[EMAIL PROTECTED]> diff -X linux-2.6.22.6-uml/Documentation/dontdiff -pru linux-2.6.22.6/arch/um/os-Linux/start_up.c

Re: Unfortunate infinite make recursion

2007-09-22 Thread Oleg Verych
* Sat, 22 Sep 2007 13:24:32 +0200 (CEST) [] > The make O=$PWD truncates the Makefile, making it necessary to run `git > checkout Makefile` - should you have git; or reextract the tarball > (should you /still/ have it). Well, can we catch this case somehow? Read-only source-tree for kbuild user,

Re: [PATCH v2] pcmcia: Convert io_req_t to use kio_addr_t

2007-09-22 Thread Olof Johansson
On Sat, Sep 22, 2007 at 12:25:51AM -0600, Matthew Wilcox wrote: > On Fri, Sep 21, 2007 at 11:39:36PM +0100, Alan Cox wrote: > > On Fri, 21 Sep 2007 17:15:16 -0500 > > Olof Johansson <[EMAIL PROTECTED]> wrote: > > > > > Convert the io_req_t members to kio_addr_t, to allow use on machines with > >

Re: 2.6.23-rc7 + radeonfb/s2ram

2007-09-22 Thread Mihai Donțu
On Saturday 22 September 2007, Mihai Donțu wrote: > Hi, > > Today, out of curiosity, I pulled 2.6.23-rc7 (leave on the edge in a quiet > weekend). > Anyway, it seems that radeonfb and my: > "01:05.0 VGA compatible controller: ATI Technologies Inc ATI Radeon XPRESS > 200M 5955 (PCIE)" > don't

Re: 2.6.23-rc6 : crash with RTL8187 USB

2007-09-22 Thread Paul Rolland (ポール・ロラン)
Hello, > [PATCH] mac80211: fix initialisation when built-in > http://article.gmane.org/gmane.linux.kernel.wireless.general/5710/match=patch+mac80211+initialisation > > [PATCH] cfg80211: fix initialisation if built-in >

Re: [patch 04/28] Add cmpxchg64 and cmpxchg64_local to powerpc

2007-09-22 Thread Mathieu Desnoyers
* Paul Mackerras ([EMAIL PROTECTED]) wrote: > Mathieu Desnoyers writes: > > > Make sure that at least cmpxchg64_local is available on all architectures > > to use > > for unsigned long long values. > > > > Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]> > > Acked-by: Paul Mackerras

Re: RFC: A revised timerfd API

2007-09-22 Thread Bernd Eckenfels
In article <[EMAIL PROTECTED]> you wrote: > 1. This design stretches the POSIX timers API in strange > ways. Maybe it is possible to reimplement the POSIX API in usermode using the kernel's FD implementation? (and drop the posix support from kernel) Gruss Bernd - To unsubscribe from this

Re: [linux-usb-devel] USB autosuspend and turning of usb pendrive leds

2007-09-22 Thread Alan Stern
On Sat, 22 Sep 2007, Hans de Goede wrote: > I'm afraid that that doesn't work for usb mass-storage devices. > > Here is what I did: > 1) kill hal > 2) insert usb stick -> led lights > 3): > echo -n 1 >/sys/bus/usb/devices/.../power/autosuspend > echo -n auto >

Re: [PATCH] [4/50] x86: add cpu codenames for Kconfig.cpu

2007-09-22 Thread Dave Jones
On Sat, Sep 22, 2007 at 08:57:24AM +0200, Sam Ravnborg wrote: > > This seems like yet another list that will need to be perpetually > > kept up to date, and given 99% of users don't know the codename > > of their core, just the marketing name, I question its value. > > As a bare minimum

Re: [linux-usb-devel] USB autosuspend and turning of usb pendrive leds

2007-09-22 Thread Hans de Goede
Alan Stern wrote: The correct answer is that HAL should top polling while the device is suspended. In kernels starting with 2.6.23-rc6, the correct way to enable autosuspend for a USB device is basically like this: echo D >/sys/bus/usb/devices/.../power/autosuspend echo auto

Re: 2.6.23-rc6-mm1 -- mkfs stuck in 'D'

2007-09-22 Thread Peter Zijlstra
On Sat, 22 Sep 2007 09:55:09 +0800 Fengguang Wu <[EMAIL PROTECTED]> wrote: > --- linux-2.6.22.orig/mm/page-writeback.c > +++ linux-2.6.22/mm/page-writeback.c > @@ -426,6 +426,14 @@ static void balance_dirty_pages(struct a > bdi_nr_writeback = bdi_stat(bdi, BDI_WRITEBACK); >

Re: RFC: A revised timerfd API

2007-09-22 Thread Michael Kerrisk
Davide, Andrew, Linus, et al. At the start of this thread (http://thread.gmane.org/gmane.linux.kernel/581115 ), I proposed 4 alternatives to Davide's original timerfd API. Based on the feedback in that thread (and one or two earlier comments): Let's dismiss option (a), since it is an unlovely

Re: RFC: A revised timerfd API

2007-09-22 Thread Michael Kerrisk
David Härdeman wrote: > On Tue, September 18, 2007 13:30, Thomas Gleixner wrote: timer_gettime(fd | POSIX_TIMER_FD, .); >> If we use the most significant bit for POSIX_TIMER_FD, we should be >> fine. > > I think alternative b) - three new syscalls, sounds better. > > The only

[PATCH -rc][RESEND] KVM: Fix virtualization menu help text

2007-09-22 Thread Avi Kivity
What guest drivers? Cc: Jan Engelhardt <[EMAIL PROTECTED]> Signed-off-by: Avi Kivity <[EMAIL PROTECTED]> --- An August 18 patch from Jan Engelhardt (06bfb7e) added help text for the virtualization menu. Unfortunately the text is misleading, as "guest drivers" are usually interpreted to mean

Re: Processes spinning forever, apparently in lock_timer_base()?

2007-09-22 Thread richard kennedy
On Fri, 2007-09-21 at 03:33 -0700, Andrew Morton wrote: > On Fri, 21 Sep 2007 11:25:41 +0100 richard kennedy <[EMAIL PROTECTED]> wrote: > > > > That's all a bit crappy if the wrong races happen and some other task is > > > somehow exceeding the dirty limits each time this task polls them. Seems

Re: Distributed storage. Security attributes and ducumentation update.

2007-09-22 Thread Evgeniy Polyakov
Hi Pavel. On Mon, Sep 17, 2007 at 06:22:30PM +, Pavel Machek ([EMAIL PROTECTED]) wrote: > > I'm pleased to announce third release of the distributed storage > > subsystem, which allows to form a storage on top of remote and local > > nodes, which in turn can be exported to another storage as

Unfortunate infinite make recursion

2007-09-22 Thread Jan Engelhardt
Hi, You can cause a recursion in kbuild/make with the following: make O=$PWD kernel/time.o make mrproper Of course no one would use O=$PWD (that's just the testcase), but this happened too often: /ws/linux/linux-2.6.23$ make O=/ws/linux/linux-2.6.23 kernel/time.o (Oops - should have been

2.6.22.6 + oprofile oops

2007-09-22 Thread Sami Farin
x86_64 SMP kernel v2.6.22.6 (not using callgraph). sometimes oprofile works for a longer time... but not this time. 2007-09-22 13:53:32.52723 <1>[ 3372.390188] Unable to handle kernel NULL pointer dereference at 0650 RIP: 2007-09-22 13:53:32.527245948 <1>[ 3372.390195] []

Re: [stable] [PATCH] 2.6.22.6 fix kernel panic on corrupted reiserfs directory

2007-09-22 Thread Oliver Pinter
[snap] Hi, When reading corrupted reiserfs directory data, d_reclen could be a negative number or a big positive number, this can lead to kernel panic or oop. The following patch adds a sanity check. (against 2.6.20.4) Signed-off-by: Lepton Wu <[EMAIL PROTECTED]> diff -X

Re: clockevents: fix resume logic

2007-09-22 Thread Rafael J. Wysocki
On Saturday, 22 September 2007 10:50, Thomas Gleixner wrote: > On Mon, 2007-09-17 at 18:37 +, Pavel Machek wrote: > > > That's a bit tricky because hitting the keyboard is what unsticks things. > > > And the video is black after resume-from-RAM (has always been thus) and we > > > > Ok, can

Re: [linux-pm] Re: [RFC][PATCH 1/2 -mm] kexec based hibernation -v3: kexec jump

2007-09-22 Thread Rafael J. Wysocki
On Saturday, 22 September 2007 01:47, Nigel Cunningham wrote: > Hi. > > On Saturday 22 September 2007 09:19:18 Kyle Moffett wrote: > > I think that in order for this to work, there would need to be some > > ABI whereby the resume-ing kernel can pass its entire ACPI state and > > a bunch of

Re: [linux-pm] Re: [RFC][PATCH 1/2 -mm] kexec based hibernation -v3: kexec jump

2007-09-22 Thread Rafael J. Wysocki
On Saturday, 22 September 2007 01:19, Kyle Moffett wrote: > On Sep 21, 2007, at 17:16:59, Jeremy Maitin-Shepard wrote: > > "Rafael J. Wysocki" <[EMAIL PROTECTED]> writes: > >> The ACPI platform firmware is allowed to preserve information > >> accross the hibernation-resume cycle, so this need

Re: memset as memzero

2007-09-22 Thread Cyrill Gorcunov
[Robert P. J. Day - Sat, Sep 22, 2007 at 05:55:04AM -0400] | On Sat, 22 Sep 2007, Cyrill Gorcunov wrote: | | > Thanks Robert for the answer, I'll mark this (clear_page) in my | > "must to take a look" list ;) | | there's already been a discussion about clear_page() as well: | |

Re: memset as memzero

2007-09-22 Thread Robert P. J. Day
On Sat, 22 Sep 2007, Cyrill Gorcunov wrote: > Thanks Robert for the answer, I'll mark this (clear_page) in my > "must to take a look" list ;) there's already been a discussion about clear_page() as well: http://lists.openwall.net/linux-kernel/2006/12/29/39 you might want to start there to

Re: [git] CFS-devel, group scheduler, fixes

2007-09-22 Thread Mike Galbraith
On Fri, 2007-09-21 at 20:27 -0700, Tong Li wrote: > Mike, > > Could you try this patch to see if it solves the latency problem? No, but it helps some when running two un-pinned busy loops, one at nice 0, and the other at nice 19. Yesterday I hit latencies of up to 1.2 _seconds_ doing this, and

Re: [PATCH] [34/50] i386: Fix argument signedness warnings

2007-09-22 Thread Jan Engelhardt
On Sep 22 2007 10:36, Satyam Sharma wrote: >> from arch/i386/boot/compressed/misc.c:14: >> include/asm/processor.h: In function $B!F(Jcpuid_count$B!G(J: > ^^ ^^ >> include/asm/processor.h:615: warning: pointer targets in passing

Re: [PATCH] [6/50] i386: clean up oops/bug reports

2007-09-22 Thread Jan Engelhardt
On Sep 21 2007 18:41, Chuck Ebbert wrote: >On 09/21/2007 06:32 PM, Andi Kleen wrote: >> From: Pavel Emelyanov <[EMAIL PROTECTED]> >> >> Typically the oops first lines look like this: >> >> BUG: unable to handle kernel NULL pointer dereference at virtual address >> >> printing eip: >>

Re: [PATCH] [4/50] x86: add cpu codenames for Kconfig.cpu

2007-09-22 Thread Jan Engelhardt
On Sep 22 2007 08:57, Sam Ravnborg wrote: >> >> This seems like yet another list that will need to be perpetually >> kept up to date, and given 99% of users don't know the codename >> of their core, just the marketing name, I question its value. > >As a bare minimum requirement the list

Re: [Patch 1/2] Trace code and documentation (resend)

2007-09-22 Thread Christoph Hellwig
On Fri, Sep 21, 2007 at 09:23:28PM -0700, David J. Wilder wrote: > My last posting was mangled by my mailer. I hope this one is better. > Also corrected Randy's concerns. > > Please see previous posting for more information: > http://lkml.org/lkml/2007/9/19/4 (PATCH 0/2) > > Note: this patch

Re: memset as memzero

2007-09-22 Thread Cyrill Gorcunov
[Robert P. J. Day - Sat, Sep 22, 2007 at 04:48:28AM -0400] | On Sat, 22 Sep 2007, Cyrill Gorcunov wrote: | | > Hi list, | > | > could anyone tell me why there is no official memzero function (or | > macros) in the kernel. As I see a lot of kernel parts calls for it | > (defying own macros as

Re: [PATCH] [8/45] x86_64: Use string instruction memcpy on AMD Fam11h

2007-09-22 Thread Jan Engelhardt
On Sep 21 2007 22:44, Andi Kleen wrote: >Subject: [PATCH] [8/45] x86_64: Use string instruction memcpy on AMD Fam11h > >--- linux.orig/arch/x86_64/kernel/setup.c >+++ linux/arch/x86_64/kernel/setup.c >@@ -575,7 +575,7 @@ static void __cpuinit init_amd(struct cp > level = cpuid_eax(1); >

Re: [PATCH] [32/45] x86_64: hide cond_syscall behind __KERNEL__

2007-09-22 Thread Christoph Hellwig
On Fri, Sep 21, 2007 at 10:45:14PM +0200, Andi Kleen wrote: > From: Mike Frysinger <[EMAIL PROTECTED]> > > This brings x86_64 into line with all other architectures by only defining > cond_syscall() when __KERNEL__ is defined. > > Signed-off-by: Mike Frysinger <[EMAIL PROTECTED]> >

Re: [PATCH] [24/45] x86: Introduce frame_pointer() and stack_pointer()

2007-09-22 Thread Christoph Hellwig
On Fri, Sep 21, 2007 at 10:45:06PM +0200, Andi Kleen wrote: > From: [EMAIL PROTECTED] > This patch defines frame_pointer() and stack_pointer() similar to the > already defined instruction_pointer(). Thus the oprofile code can be written > in a more readable fashion. Can we do these for all

Re: 2.6.23-rc6-mm1

2007-09-22 Thread Satyam Sharma
Hi Greg, On Tue, 18 Sep 2007, Greg KH wrote: > > On Tue, Sep 18, 2007 at 03:04:48PM +0530, Satyam Sharma wrote: > > > > But wait ... isn't that a statically-allocated kobject, which were > > supposed to be "naughty" in the first place? > > Yes it is, if you want to dynamically create it,

Re: [PATCH] change inotifyfs magic as the same magic is used for futexfs

2007-09-22 Thread Jan Engelhardt
On Sep 21 2007 08:53, Randy Dunlap wrote: >On Fri, 21 Sep 2007 17:35:43 +0400 Andrey Mirkin wrote: > >> From: Andrey Mirkin <[EMAIL PROTECTED]> >> >> Right now futexfs and inotifyfs have one magic 0xBAD1DEA, that looks a >> little >> bit confusing. >> Use 0xBAD1DEA as magic for futexfs and

Re: [PATCH] [19/50] Experimental: detect if SVM is disabled by BIOS

2007-09-22 Thread Joerg Roedel
I don't think we need this patch. When SVM is disabled KVM will tell on module load. Further with SVM-lock it will be possible to re-enable SVM even if it was disabled by BIOS using a key. In this case the user of SVM has to clear the capability bit you set in this patch for all cpus. On Sat, Sep

Re: [PATCH v2] pcmcia: Convert io_req_t to use kio_addr_t

2007-09-22 Thread Christoph Hellwig
On Sat, Sep 22, 2007 at 12:25:51AM -0600, Matthew Wilcox wrote: > > What about the formatting and field widths ? > > > > ulong would probably be a lot saner than kio_addr_t and yet more type > > obfuscation. > > I don't think anyone uses ioports > 32bit. Certainly i386 takes an int > port as

Re: memset as memzero

2007-09-22 Thread Robert P. J. Day
On Sat, 22 Sep 2007, Cyrill Gorcunov wrote: > Hi list, > > could anyone tell me why there is no official memzero function (or > macros) in the kernel. As I see a lot of kernel parts calls for it > (defying own macros as alias to memset). Maybe there is a special > reason not to do so? Actually my

Re: clockevents: fix resume logic

2007-09-22 Thread Thomas Gleixner
On Mon, 2007-09-17 at 18:37 +, Pavel Machek wrote: > > That's a bit tricky because hitting the keyboard is what unsticks things. > > And the video is black after resume-from-RAM (has always been thus) and we > > Ok, can we try to fix the video issue for you? That should make the >

[PATCH] include/linux/mutex.h: unclear reference to convention

2007-09-22 Thread Matti Linnanvuori
From: Matti Linnanvuori <[EMAIL PROTECTED]> Reference to two different conventions is unnecessarily unclear unless you know them already and requires seeking and reading another file for understanding. Signed-off-by: Matti Linnanvuori <[EMAIL PROTECTED]> --- ---

Re: 2.6.23-rc6-mm1

2007-09-22 Thread Satyam Sharma
> -static volatile int kgdb_hwbreak_sstep[NR_CPUS]; > +volatile int kgdb_hwbreak_sstep[NR_CPUS]; That looks fishy to me. Why is it volatile-qualified? And does that actually want to be a per-cpu var? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

memset as memzero

2007-09-22 Thread Cyrill Gorcunov
Hi list, could anyone tell me why there is no official memzero function (or macros) in the kernel. As I see a lot of kernel parts calls for it (defying own macros as alias to memset). Maybe there is a special reason not to do so? Actually my suggestion is to define _one_ general macros for this.

[RFC PATCH] 2.6.22.6 user-mode linux: before abort, we make it sure all children quit

2007-09-22 Thread lepton
In a stock 2.6.22.6 kernel, poweroff a user mode linux guest (2.6.22.6 running in skas0 mode) will halt the host linux. I think the reason is the kernel thread abort because of a bug. Then the sys_reboot in process of user mode linux guest is not trapped by the user mode linux kernel and is

[PATCH -mm] iseries_veth: Kill unused variable

2007-09-22 Thread Satyam Sharma
drivers/net/iseries_veth.c: In function 'veth_transmit_to_many': drivers/net/iseries_veth.c:1174: warning: unused variable 'port' Signed-off-by: Satyam Sharma <[EMAIL PROTECTED]> --- drivers/net/iseries_veth.c |1 - 1 file changed, 1 deletion(-) diff -ruNp a/drivers/net/iseries_veth.c

[PATCH -mm] mv643xx_eth: Remove redundant multiple initialization

2007-09-22 Thread Satyam Sharma
Of ethtool_ops->get_stats_count and ethtool_ops->get_ethtool_stats. Signed-off-by: Satyam Sharma <[EMAIL PROTECTED]> --- drivers/net/mv643xx_eth.c |2 -- 1 file changed, 2 deletions(-) diff -ruNp a/drivers/net/mv643xx_eth.c b/drivers/net/mv643xx_eth.c --- a/drivers/net/mv643xx_eth.c

[PATCH -mm] pasemi_mac: Build fix after recent netdev stats changes

2007-09-22 Thread Satyam Sharma
On Thu, 20 Sep 2007, Satyam Sharma wrote: > > BTW ppc64_defconfig didn't quite like 2.6.23-rc6-mm1 either ... > IIRC I got build failures in: > drivers/net/pasemi_mac.c [PATCH -mm] pasemi_mac: Build fix after recent netdev stats changes Unbreak the following: drivers/net/pasemi_mac.c: In

Re: 2.6.23-rc6-mm1: Build failures on ppc64_defconfig

2007-09-22 Thread Satyam Sharma
On Thu, 20 Sep 2007, Satyam Sharma wrote: > > BTW ppc64_defconfig didn't quite like 2.6.23-rc6-mm1 either ... > IIRC I got build failures in: > drivers/net/spider_net.c Fixing the above showed up another problem in another file of the same driver (drivers/net/spider_net_ethtool.c) [PATCH

Re: [patch 1/8] Immediate Values - Global Modules List and Module Mutex

2007-09-22 Thread Rusty Russell
On Fri, 2007-09-21 at 09:37 -0400, Mathieu Desnoyers wrote: > > Good points. Well I'd say hiding it all behind a friendly > > "immediate_set()" interface is the best option then. > > Then we can't benefit of the __init section to have the code removed > after boot. I don't see the point in doing

Re: [patch 7/7] Add documentation for extended crashkernel syntax

2007-09-22 Thread Bernhard Walle
* Pavel Machek <[EMAIL PROTECTED]> [2007-09-18 19:21]: > > This adds the documentation for the extended crashkernel syntax into > > Documentation/kdump/kdump.txt. > > Should you also update kernel-parameters.txt? Ok, I'll do. > > +For example: > > + > > +crashkernel=512M-2G:64M,2G-:128M > >

Re: [RFC PATCH] Add CRC checksum for RCU lists

2007-09-22 Thread Kyle Moffett
On Sep 21, 2007, at 17:32:08, Steven Rostedt wrote: On Fri, 21 Sep 2007, Paul E. McKenney wrote: On Thu, Sep 20, 2007 at 02:34:11PM -0400, Steven Rostedt wrote: -#define RCU_HEAD_INIT { .next = NULL, .func = NULL } +#ifdef CONFIG_RCU_CRC_HEADER_CHECK + +#define RCU_CRC_MAGIC 0xC4809168UL

Re: [PATCH] [19/50] Experimental: detect if SVM is disabled by BIOS

2007-09-22 Thread Sam Ravnborg
On Sat, Sep 22, 2007 at 12:32:18AM +0200, Andi Kleen wrote: > > Also allow to set svm lock. > > TBD double check, documentation, i386 support > > Signed-off-by: Andi Kleen <[EMAIL PROTECTED]> Could we have this patch tagged with x86 instead of "Experimental" in subject. Sam - To

Re: [PATCH] [9/50] i386: validate against ACPI motherboard resources

2007-09-22 Thread Yinghai Lu
On 9/21/07, Yinghai Lu <[EMAIL PROTECTED]> wrote: > On 9/21/07, Andi Kleen <[EMAIL PROTECTED]> wrote: > > > > From: Robert Hancock <[EMAIL PROTECTED]> > > > > This path adds validation of the MMCONFIG table against the ACPI reserved > > motherboard resources. If the MMCONFIG table is found to be

Re: [PATCH] [4/50] x86: add cpu codenames for Kconfig.cpu

2007-09-22 Thread Sam Ravnborg
On Fri, Sep 21, 2007 at 06:45:39PM -0400, Dave Jones wrote: > On Sat, Sep 22, 2007 at 12:32:02AM +0200, Andi Kleen wrote: > > > > +Select this for: > > + Pentiums (Pentium 4, Pentium D, Celeron, Celeron D) corename: > > + -Willamette > > + -Northwood > > +

Re: 2.6.23-rc6-mm1: Build failures on ppc64_defconfig

2007-09-22 Thread Satyam Sharma
On Thu, 20 Sep 2007, Satyam Sharma wrote: > > BTW ppc64_defconfig didn't quite like 2.6.23-rc6-mm1 either ... > IIRC I got build failures in: > drivers/net/spider_net.c [PATCH -mm] spider_net: Misc build fixes after recent netdev stats changes Unbreak the following:

Re: [PATCH] [9/50] i386: validate against ACPI motherboard resources

2007-09-22 Thread Yinghai Lu
On 9/21/07, Andi Kleen <[EMAIL PROTECTED]> wrote: > > From: Robert Hancock <[EMAIL PROTECTED]> > > This path adds validation of the MMCONFIG table against the ACPI reserved > motherboard resources. If the MMCONFIG table is found to be reserved in > ACPI, we don't bother checking the E820 table.

Re: 2.6.23-rc6-mm1: Build failures on ppc64_defconfig

2007-09-22 Thread Satyam Sharma
On Thu, 20 Sep 2007, Satyam Sharma wrote: > > BTW ppc64_defconfig didn't quite like 2.6.23-rc6-mm1 either ... > IIRC I got build failures in: > drivers/md/raid6int8.c This turned out to be a gcc bug -- I was using an old cross-compiler. - To unsubscribe from this list: send the line

Re: Distributed storage. Security attributes and ducumentation update.

2007-09-22 Thread Pavel Machek
Hi! > I'm pleased to announce third release of the distributed storage > subsystem, which allows to form a storage on top of remote and local > nodes, which in turn can be exported to another storage as a node to > form tree-like storages. How is this different from raid0/1 over nbd? Or raid0/1

Re: 2.6.23-rc6-mm1: Build failures on ppc64_defconfig

2007-09-22 Thread Satyam Sharma
On Thu, 20 Sep 2007, Satyam Sharma wrote: > > BTW ppc64_defconfig didn't quite like 2.6.23-rc6-mm1 either ... > IIRC I got build failures in: > drivers/ata/pata_scc.c http://lkml.org/lkml/2007/9/21/557 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Re: [patch 7/7] Add documentation for extended crashkernel syntax

2007-09-22 Thread Pavel Machek
Hi! > This adds the documentation for the extended crashkernel syntax into > Documentation/kdump/kdump.txt. Should you also update kernel-parameters.txt? > +For example: > + > +crashkernel=512M-2G:64M,2G-:128M > + > +This would mean: > + > +1) if the RAM is smaller than 512M, then don't

Re: clockevents: fix resume logic

2007-09-22 Thread Pavel Machek
Hi! > > Ok, here we are. The bad one uses C2 which stops the local apic on the > > VAIO. I suspect we end up in the suspend/resume with going into C2 > > without the broadcast active. > > > > Can you try to get the output of SysRq-Q during the "it needs help from > > keyboard" period ? > > > >

Re: [NFS] NFS on loopback locks up entire system(2.6.23-rc6)?

2007-09-22 Thread Chakri n
On 9/21/07, Trond Myklebust <[EMAIL PROTECTED]> wrote: > No. The requirement for 'hard' mounts is not that the server be up all > the time. The server can go up and down as it pleases: the client can > happily recover from that. > > The requirement is rather that nobody remove it permanently

Re: [PATCH 2/3] missing null termination in power supply uevent

2007-09-22 Thread Anton Vorontsov
On Thu, Sep 20, 2007 at 12:06:10PM -0700, Stephen Hemminger wrote: > Need to null terminate environment. Found by inspection > while looking for similar problems to platform uevent bug > > Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]> Much thanks, git-applymbox'ed to battery-2.6.git. I

Re: [PATCH v2] pcmcia: Convert io_req_t to use kio_addr_t

2007-09-22 Thread Matthew Wilcox
On Fri, Sep 21, 2007 at 11:39:36PM +0100, Alan Cox wrote: > On Fri, 21 Sep 2007 17:15:16 -0500 > Olof Johansson <[EMAIL PROTECTED]> wrote: > > > Convert the io_req_t members to kio_addr_t, to allow use on machines with > > more than 16 bits worth of IO ports (i.e. secondary busses on ppc64, etc).

Re: [PATCH v2] pcmcia: Convert io_req_t to use kio_addr_t

2007-09-22 Thread Matthew Wilcox
On Fri, Sep 21, 2007 at 11:39:36PM +0100, Alan Cox wrote: On Fri, 21 Sep 2007 17:15:16 -0500 Olof Johansson [EMAIL PROTECTED] wrote: Convert the io_req_t members to kio_addr_t, to allow use on machines with more than 16 bits worth of IO ports (i.e. secondary busses on ppc64, etc). What

Re: [PATCH 2/3] missing null termination in power supply uevent

2007-09-22 Thread Anton Vorontsov
On Thu, Sep 20, 2007 at 12:06:10PM -0700, Stephen Hemminger wrote: Need to null terminate environment. Found by inspection while looking for similar problems to platform uevent bug Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] Much thanks, git-applymbox'ed to battery-2.6.git. I suppose

Re: [NFS] NFS on loopback locks up entire system(2.6.23-rc6)?

2007-09-22 Thread Chakri n
On 9/21/07, Trond Myklebust [EMAIL PROTECTED] wrote: No. The requirement for 'hard' mounts is not that the server be up all the time. The server can go up and down as it pleases: the client can happily recover from that. The requirement is rather that nobody remove it permanently before the

Re: clockevents: fix resume logic

2007-09-22 Thread Pavel Machek
Hi! Ok, here we are. The bad one uses C2 which stops the local apic on the VAIO. I suspect we end up in the suspend/resume with going into C2 without the broadcast active. Can you try to get the output of SysRq-Q during the it needs help from keyboard period ? That's a bit

Re: [patch 7/7] Add documentation for extended crashkernel syntax

2007-09-22 Thread Pavel Machek
Hi! This adds the documentation for the extended crashkernel syntax into Documentation/kdump/kdump.txt. Should you also update kernel-parameters.txt? +For example: + +crashkernel=512M-2G:64M,2G-:128M + +This would mean: + +1) if the RAM is smaller than 512M, then don't reserve

Re: Distributed storage. Security attributes and ducumentation update.

2007-09-22 Thread Pavel Machek
Hi! I'm pleased to announce third release of the distributed storage subsystem, which allows to form a storage on top of remote and local nodes, which in turn can be exported to another storage as a node to form tree-like storages. How is this different from raid0/1 over nbd? Or raid0/1 over

Re: 2.6.23-rc6-mm1: Build failures on ppc64_defconfig

2007-09-22 Thread Satyam Sharma
On Thu, 20 Sep 2007, Satyam Sharma wrote: BTW ppc64_defconfig didn't quite like 2.6.23-rc6-mm1 either ... IIRC I got build failures in: drivers/ata/pata_scc.c http://lkml.org/lkml/2007/9/21/557 - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a

Re: 2.6.23-rc6-mm1: Build failures on ppc64_defconfig

2007-09-22 Thread Satyam Sharma
On Thu, 20 Sep 2007, Satyam Sharma wrote: BTW ppc64_defconfig didn't quite like 2.6.23-rc6-mm1 either ... IIRC I got build failures in: drivers/md/raid6int8.c This turned out to be a gcc bug -- I was using an old cross-compiler. - To unsubscribe from this list: send the line unsubscribe

Re: [PATCH] [9/50] i386: validate against ACPI motherboard resources

2007-09-22 Thread Yinghai Lu
On 9/21/07, Andi Kleen [EMAIL PROTECTED] wrote: From: Robert Hancock [EMAIL PROTECTED] This path adds validation of the MMCONFIG table against the ACPI reserved motherboard resources. If the MMCONFIG table is found to be reserved in ACPI, we don't bother checking the E820 table. The PCI

Re: 2.6.23-rc6-mm1: Build failures on ppc64_defconfig

2007-09-22 Thread Satyam Sharma
On Thu, 20 Sep 2007, Satyam Sharma wrote: BTW ppc64_defconfig didn't quite like 2.6.23-rc6-mm1 either ... IIRC I got build failures in: drivers/net/spider_net.c [PATCH -mm] spider_net: Misc build fixes after recent netdev stats changes Unbreak the following: drivers/net/spider_net.c:

Re: [PATCH] [4/50] x86: add cpu codenames for Kconfig.cpu

2007-09-22 Thread Sam Ravnborg
On Fri, Sep 21, 2007 at 06:45:39PM -0400, Dave Jones wrote: On Sat, Sep 22, 2007 at 12:32:02AM +0200, Andi Kleen wrote: +Select this for: + Pentiums (Pentium 4, Pentium D, Celeron, Celeron D) corename: + -Willamette + -Northwood + -Mobile

Re: [PATCH] [9/50] i386: validate against ACPI motherboard resources

2007-09-22 Thread Yinghai Lu
On 9/21/07, Yinghai Lu [EMAIL PROTECTED] wrote: On 9/21/07, Andi Kleen [EMAIL PROTECTED] wrote: From: Robert Hancock [EMAIL PROTECTED] This path adds validation of the MMCONFIG table against the ACPI reserved motherboard resources. If the MMCONFIG table is found to be reserved in

Re: [PATCH] [19/50] Experimental: detect if SVM is disabled by BIOS

2007-09-22 Thread Sam Ravnborg
On Sat, Sep 22, 2007 at 12:32:18AM +0200, Andi Kleen wrote: Also allow to set svm lock. TBD double check, documentation, i386 support Signed-off-by: Andi Kleen [EMAIL PROTECTED] Could we have this patch tagged with x86 instead of Experimental in subject. Sam - To unsubscribe

Re: [RFC PATCH] Add CRC checksum for RCU lists

2007-09-22 Thread Kyle Moffett
On Sep 21, 2007, at 17:32:08, Steven Rostedt wrote: On Fri, 21 Sep 2007, Paul E. McKenney wrote: On Thu, Sep 20, 2007 at 02:34:11PM -0400, Steven Rostedt wrote: -#define RCU_HEAD_INIT { .next = NULL, .func = NULL } +#ifdef CONFIG_RCU_CRC_HEADER_CHECK + +#define RCU_CRC_MAGIC 0xC4809168UL

Re: [patch 7/7] Add documentation for extended crashkernel syntax

2007-09-22 Thread Bernhard Walle
* Pavel Machek [EMAIL PROTECTED] [2007-09-18 19:21]: This adds the documentation for the extended crashkernel syntax into Documentation/kdump/kdump.txt. Should you also update kernel-parameters.txt? Ok, I'll do. +For example: + +crashkernel=512M-2G:64M,2G-:128M + +This would

Re: [patch 1/8] Immediate Values - Global Modules List and Module Mutex

2007-09-22 Thread Rusty Russell
On Fri, 2007-09-21 at 09:37 -0400, Mathieu Desnoyers wrote: Good points. Well I'd say hiding it all behind a friendly immediate_set() interface is the best option then. Then we can't benefit of the __init section to have the code removed after boot. I don't see the point in doing so.

Re: 2.6.23-rc6-mm1: Build failures on ppc64_defconfig

2007-09-22 Thread Satyam Sharma
On Thu, 20 Sep 2007, Satyam Sharma wrote: BTW ppc64_defconfig didn't quite like 2.6.23-rc6-mm1 either ... IIRC I got build failures in: drivers/net/spider_net.c Fixing the above showed up another problem in another file of the same driver (drivers/net/spider_net_ethtool.c) [PATCH -mm]

[PATCH -mm] pasemi_mac: Build fix after recent netdev stats changes

2007-09-22 Thread Satyam Sharma
On Thu, 20 Sep 2007, Satyam Sharma wrote: BTW ppc64_defconfig didn't quite like 2.6.23-rc6-mm1 either ... IIRC I got build failures in: drivers/net/pasemi_mac.c [PATCH -mm] pasemi_mac: Build fix after recent netdev stats changes Unbreak the following: drivers/net/pasemi_mac.c: In

[PATCH -mm] mv643xx_eth: Remove redundant multiple initialization

2007-09-22 Thread Satyam Sharma
Of ethtool_ops-get_stats_count and ethtool_ops-get_ethtool_stats. Signed-off-by: Satyam Sharma [EMAIL PROTECTED] --- drivers/net/mv643xx_eth.c |2 -- 1 file changed, 2 deletions(-) diff -ruNp a/drivers/net/mv643xx_eth.c b/drivers/net/mv643xx_eth.c --- a/drivers/net/mv643xx_eth.c

[PATCH -mm] iseries_veth: Kill unused variable

2007-09-22 Thread Satyam Sharma
drivers/net/iseries_veth.c: In function 'veth_transmit_to_many': drivers/net/iseries_veth.c:1174: warning: unused variable 'port' Signed-off-by: Satyam Sharma [EMAIL PROTECTED] --- drivers/net/iseries_veth.c |1 - 1 file changed, 1 deletion(-) diff -ruNp a/drivers/net/iseries_veth.c

[RFC PATCH] 2.6.22.6 user-mode linux: before abort, we make it sure all children quit

2007-09-22 Thread lepton
In a stock 2.6.22.6 kernel, poweroff a user mode linux guest (2.6.22.6 running in skas0 mode) will halt the host linux. I think the reason is the kernel thread abort because of a bug. Then the sys_reboot in process of user mode linux guest is not trapped by the user mode linux kernel and is

memset as memzero

2007-09-22 Thread Cyrill Gorcunov
Hi list, could anyone tell me why there is no official memzero function (or macros) in the kernel. As I see a lot of kernel parts calls for it (defying own macros as alias to memset). Maybe there is a special reason not to do so? Actually my suggestion is to define _one_ general macros for this.

Re: 2.6.23-rc6-mm1

2007-09-22 Thread Satyam Sharma
-static volatile int kgdb_hwbreak_sstep[NR_CPUS]; +volatile int kgdb_hwbreak_sstep[NR_CPUS]; That looks fishy to me. Why is it volatile-qualified? And does that actually want to be a per-cpu var? - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message

[PATCH] include/linux/mutex.h: unclear reference to convention

2007-09-22 Thread Matti Linnanvuori
From: Matti Linnanvuori [EMAIL PROTECTED] Reference to two different conventions is unnecessarily unclear unless you know them already and requires seeking and reading another file for understanding. Signed-off-by: Matti Linnanvuori [EMAIL PROTECTED] --- ---

Re: clockevents: fix resume logic

2007-09-22 Thread Thomas Gleixner
On Mon, 2007-09-17 at 18:37 +, Pavel Machek wrote: That's a bit tricky because hitting the keyboard is what unsticks things. And the video is black after resume-from-RAM (has always been thus) and we Ok, can we try to fix the video issue for you? That should make the development

Re: memset as memzero

2007-09-22 Thread Robert P. J. Day
On Sat, 22 Sep 2007, Cyrill Gorcunov wrote: Hi list, could anyone tell me why there is no official memzero function (or macros) in the kernel. As I see a lot of kernel parts calls for it (defying own macros as alias to memset). Maybe there is a special reason not to do so? Actually my

Re: [PATCH v2] pcmcia: Convert io_req_t to use kio_addr_t

2007-09-22 Thread Christoph Hellwig
On Sat, Sep 22, 2007 at 12:25:51AM -0600, Matthew Wilcox wrote: What about the formatting and field widths ? ulong would probably be a lot saner than kio_addr_t and yet more type obfuscation. I don't think anyone uses ioports 32bit. Certainly i386 takes an int port as parameter to

Re: [PATCH] [19/50] Experimental: detect if SVM is disabled by BIOS

2007-09-22 Thread Joerg Roedel
I don't think we need this patch. When SVM is disabled KVM will tell on module load. Further with SVM-lock it will be possible to re-enable SVM even if it was disabled by BIOS using a key. In this case the user of SVM has to clear the capability bit you set in this patch for all cpus. On Sat, Sep

Re: 2.6.23-rc6-mm1

2007-09-22 Thread Satyam Sharma
Hi Greg, On Tue, 18 Sep 2007, Greg KH wrote: On Tue, Sep 18, 2007 at 03:04:48PM +0530, Satyam Sharma wrote: But wait ... isn't that a statically-allocated kobject, which were supposed to be naughty in the first place? Yes it is, if you want to dynamically create it, please do.

Re: [PATCH] change inotifyfs magic as the same magic is used for futexfs

2007-09-22 Thread Jan Engelhardt
On Sep 21 2007 08:53, Randy Dunlap wrote: On Fri, 21 Sep 2007 17:35:43 +0400 Andrey Mirkin wrote: From: Andrey Mirkin [EMAIL PROTECTED] Right now futexfs and inotifyfs have one magic 0xBAD1DEA, that looks a little bit confusing. Use 0xBAD1DEA as magic for futexfs and 0x2BAD1DEA as magic

Re: [PATCH] [24/45] x86: Introduce frame_pointer() and stack_pointer()

2007-09-22 Thread Christoph Hellwig
On Fri, Sep 21, 2007 at 10:45:06PM +0200, Andi Kleen wrote: From: [EMAIL PROTECTED] This patch defines frame_pointer() and stack_pointer() similar to the already defined instruction_pointer(). Thus the oprofile code can be written in a more readable fashion. Can we do these for all

<    1   2   3   4   >