Re: What's needed for a PCIe card to be recognized?

2008-02-17 Thread Arjan van de Ven
On Sun, 17 Feb 2008 13:37:53 +0100 Hans J. Koch [EMAIL PROTECTED] wrote: Of course there's no driver for the wlan, but that's a different story ;) I replaced that unsupported Atheros 5007 card with an ipw3945, so I haven't got that problem. oh but then you have a MUCH bigger problem ;(

2.6.25-rc2, Problem running 'make install' as root with different gcc

2008-02-17 Thread Avi Kivity
Trying to install a built 2.5.25-rc2 on a machine with a different gcc installed fails with LDS arch/x86/vdso/vdso.lds cc1: fatal error: opening output file arch/x86/vdso/vdso.lds: Permission denied compilation terminated. make[1]: *** [arch/x86/vdso/vdso.lds] Error 1 make: ***

Re: [PATCH] x86: coding style fixes in arch/x86/lib/io_64.c

2008-02-17 Thread Ingo Molnar
* Paolo Ciarrocchi [EMAIL PROTECTED] wrote: [PATCH] x86: coding style fixes in arch/x86/lib/io_64.c This simple patch makes the file error free (according to checkpatch.pl) thanks, applied. (i fixed the other minor style problems in this file too, so that we have it all in a single

Re: PROBLEM: Corruption problems in pata_via for Via NanoBook owners (Cloudbook, EasyNote XS etc.)

2008-02-17 Thread Alan Cox
In 2.24 the device ID 0x581 for Vendor VIA was added to the pata_via driver causing some problems. Actually we've had the CX700 supported for a while and as Tejun has fixed other bugs related to it we know its being used and tested. The slave port is a bit quirky but that is purely in the way

[patch 0/2] x86: vmlinux.lds cleanup

2008-02-17 Thread Cyrill Gorcunov
This patch series replaces numeric constants in vmlinux.lds scripts to appropriate symbolic names. Any comments are highly appreciated. -- -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: [PATCH] ieee1394: sbp2: fix rescan-scsi-bus

2008-02-17 Thread James Bottomley
On Sun, 2008-02-17 at 14:57 +0100, Stefan Richter wrote: rescan-scsi-bus used to add SBP-2 targets which weren't there. Signed-off-by: Stefan Richter [EMAIL PROTECTED] --- drivers/ieee1394/sbp2.c |3 +++ 1 file changed, 3 insertions(+) Index: linux/drivers/ieee1394/sbp2.c

Re: USB regression (and other failures) in 2.6.2[45]*

2008-02-17 Thread Andrew Buehler
On 2/17/2008 2:20 AM, Paul Jackson wrote: Andrew wrote: (Since there are multiple Andrews on just the LKML, and at least two - one of whom is much more prominent than I am - in the direct address list for this discussion, I'm not sure whether or not this is a sufficient attribution. If it

Re: [PATCH 2/2] x86: coding style fixes arch/x86/lib/csum-wrappers_64.c

2008-02-17 Thread Ingo Molnar
* Paolo Ciarrocchi [EMAIL PROTECTED] wrote: [PATCH 2/2] x86: coding style fixes arch/x86/lib/csum-wrappers_64.c On top of the previous patch makes the file errors free according to checkpatch.pl thanks Paolo, applied. (i've folded the two patches - as long as a cleanup patch has no

Re: Geode GX/LX watchdog timer (RESEND)

2008-02-17 Thread Iain Paton
Adrian Bunk wrote: On Sun, Feb 17, 2008 at 03:46:01PM +0100, Arnd Hannemann wrote: Never tried to built it as a module. Probably there are issues with that. If I remember correctly I saw a patch in 2.6.25-rc which mentioned that using mfgpt in modules won't work. Does this apply to 2.6.24 as

Re: [PATCH] x86: fix cpu info in dmesg

2008-02-17 Thread Ingo Molnar
* Marcin Slusarz [EMAIL PROTECTED] wrote: I'm not sure whether it's the right fix, but it doesn't make sense to call print_cpu_info without leading printk... thanks, applied. Ingo -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

[PATCH] falconide: locking bugfix

2008-02-17 Thread Bartlomiej Zolnierkiewicz
commit 8ac4ce742c66100931b6f2d7a36b0df08bc721fe (ide: fix host drivers depending on ide_generic to probe for interfaces (take 2)) moved probing to falconide but forgot to take care of Atari specific locking - fix it. Cc: Geert Uytterhoeven [EMAIL PROTECTED] Cc: Michael Schmitz [EMAIL PROTECTED]

Re: [PATCH 3/3] sched: fix signedness warnings in sched.c

2008-02-17 Thread Ingo Molnar
* Harvey Harrison [EMAIL PROTECTED] wrote: Unsigned long values are always assigned to switch_count, make it unsigned long. kernel/sched.c:3897:15: warning: incorrect type in assignment (different signedness) kernel/sched.c:3897:15:expected long *switch_count kernel/sched.c:3897:15:

Re: [PATCH 1/3] sched: add declaration of sched_tail to sched.h

2008-02-17 Thread Ingo Molnar
* Harvey Harrison [EMAIL PROTECTED] wrote: Avoids sparse warnings: kernel/sched.c:2170:17: warning: symbol 'schedule_tail' was not declared. Should it be static? Avoids the need for an external declaration in arch/um/process.c thanks, applied. Ingo -- To unsubscribe from this

Re: [PATCH] More accessible usage of custom flags

2008-02-17 Thread Nicholas Marquez
On Feb 17, 2008 5:37 AM, Alexey Dobriyan [EMAIL PROTECTED] wrote: On Sat, Feb 16, 2008 at 09:52:51PM -0500, Nicholas Marquez wrote: I submitted this patch to the zen-sources Gentoo community and got much praise and has promptly been included. This kind of thing have very likely already

Re: [PATCH 0/2] for sched-devel.git

2008-02-17 Thread Ingo Molnar
* Peter Zijlstra [EMAIL PROTECTED] wrote: Hi Ingo, Would you stick these into sched-devel. The first patch should address the latency isolation issue. While the second rectifies a massive brainfart :-) hehe :-) applied. Ingo -- To unsubscribe from this list: send the line

xfsaild causing 30+ wakeups/s on an idle system since 2.6.25-rcX

2008-02-17 Thread Török Edwin
Hi, xfsaild is causing many wakeups, a quick investigation shows xfsaild_push is always returning 30 msecs timeout value. This is on an idle system, running only gnome, and gnome-terminal. I suggest changing the timeout logic in xfsaild to be more power consumption friendly. See below my

Re: [PATCH 1/5] x86: validate against acpi motherboard resources

2008-02-17 Thread Ingo Molnar
* Yinghai Lu [EMAIL PROTECTED] wrote: linus already apply the the patch to use MMCONFIG for extended config space only to mainline. the last two near 2.6.25-rc1. http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=a0ca9909609470ad779b9b9cc68ce96e975afff7

Re: [PATCH] 2.6.25-rc1-git2: GDT SCSI: change drivers/scsi/gdth.c into using pci_get device

2008-02-17 Thread Jeff Garzik
Boaz Harrosh wrote: On Sat, Feb 16 2008 at 18:37 +0200, Matthew Wilcox [EMAIL PROTECTED] wrote: On Wed, Feb 13, 2008 at 10:57:37AM +0200, Boaz Harrosh wrote: I still don't have a card for testing myself. Again anyone wants to send me a card. Intel people anybody home? Apparently Intel sold

Re: [REGRESSION 2.6.23] no vga console and no messages

2008-02-17 Thread Daniel Barkalow
On Sun, 17 Feb 2008, Frans Pop wrote: Daniel Barkalow wrote: For some reason I can't see and don't know how to debug, in 2.6.23 on my server I don't get the vga console, but only get the dummy console. Please check if this bug report matches the issue you are seeing:

Re: What's needed for a PCIe card to be recognized?

2008-02-17 Thread Hans J. Koch
Am Sun, 17 Feb 2008 07:29:27 -0800 schrieb Arjan van de Ven [EMAIL PROTECTED]: On Sun, 17 Feb 2008 13:37:53 +0100 Hans J. Koch [EMAIL PROTECTED] wrote: Of course there's no driver for the wlan, but that's a different story ;) I replaced that unsupported Atheros 5007 card with an

Re: USB regression (and other failures) in 2.6.2[45]*

2008-02-17 Thread Andrew Buehler
On 2/16/2008 10:35 PM, Alan Stern wrote: On Sat, 16 Feb 2008, Andrew Buehler wrote: Messages sent to my address directly are explicitly not filtered into the folders I have set up for various mailing lists, so that if someone does send me a heads up reply for a specific topic on a list to

Re: DMA mapping API on 32-bit X86 with CONFIG_HIGHMEM64G

2008-02-17 Thread Bill Waddington
On Tue, 12 Feb 2008 04:16:58 UTC, in fa.linux.kernel you wrote: I was looking at the out-of-tree driver for a PCI high-security module (from a vendor who shall remain nameless) today, as we had a problem reported where the device didn't work properly if the computer had more than 4GB of RAM

Re: [PATCH] x86_64: get apic_id later in acpi_numa_processor_affinity_init

2008-02-17 Thread Ingo Molnar
* Yinghai Lu [EMAIL PROTECTED] wrote: don't need get that at beginning. thanks, applied. Ingo -- 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

Re: USB regression (and other failures) in 2.6.2[45]*

2008-02-17 Thread Paul Jackson
Andrew B wrote: Windows, which is what I have to use for work purposes. aha -- my condolences ;) Take care. Your last reply made as much sense as we're likely to make of this one. Thanks. -- I won't rest till it's the best ... Programmer, Linux

Re: [PATCH 1/2] [x86] arch/x86/kernel/signal_32.c: replace !likely(x) by likely(!x)

2008-02-17 Thread Ingo Molnar
* Roel Kluin [EMAIL PROTECTED] wrote: - if (on_sig_stack(sp) !likely(on_sig_stack(sp - frame_size))) + if (on_sig_stack(sp) unlikely(!on_sig_stack(sp - frame_size))) hm, what's the purpose of this change? Ingo -- To unsubscribe from this list: send the line unsubscribe

Re: Timer cleanups

2008-02-17 Thread Thomas Gleixner
On Tue, 5 Feb 2008, Pavel Machek wrote: Add anotations, so that timertop produces nicer results. Relative expiry time can get negative, so it should be signed. Signed-off-by: Pavel Machek [EMAIL PROTECTED] Please do not mix patches for arch / generic code diff --git

[GIT pull] timer fixes for 2.6.25

2008-02-17 Thread Thomas Gleixner
Linus, please pull from ssh://master.kernel.org/pub/scm/linux/kernel/git/tglx/linux-2.6-hrt.git Thanks, tglx --- Pavel Machek (1): timer_list: print relative expiry time signed kernel/time/timer_list.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [PATCH 13/14] kernel/irq/spurious.c: Use time_* macros

2008-02-17 Thread Thomas Gleixner
On Thu, 14 Feb 2008, S.Çağlar Onur wrote: The functions time_before, time_before_eq, time_after, and time_after_eq are more robust for comparing jiffies against other values. So following patch implements usage of the time_after() macro, defined at linux/jiffies.h, which deals with

Re: [patch 2/2] x86: apic: Extended interrupt LVT support for AMD Barcelona (32bit)

2008-02-17 Thread Ingo Molnar
* Robert Richter [EMAIL PROTECTED] wrote: /* + * Setup extended LVT, AMD specific (K8, family 10h) + * + * Vector mappings are hard coded. On K8 only offset 0 (APIC500) and + * MCE interrupts are supported. Thus MCE offset must be set to 0. + */ thanks, applied. Ingo -- To

Re: PROBLEM: Corruption problems in pata_via for Via NanoBook owners (Cloudbook, EasyNote XS etc.)

2008-02-17 Thread Bartlomiej Zolnierkiewicz
Hi, On Sunday 17 February 2008, Andrew Smith wrote: One Line : Changes in 2.24 have rendered the ide handling on the Via NanoBook unstable resulting in data loss under heavy load. Keywords : modules, pata_via, viac82 Kernel version : 2.24 Environment : Packard Bell Easynote XS -

[PATCH] linux/hdsmart.h: fix goofups

2008-02-17 Thread Bartlomiej Zolnierkiewicz
Fix goofups of commit 76166952bbc81dda1c8a8c14e75a2aa06f6c052c (linux/hdsmart.h is not used by kernel code). Reported-by: Robert P. J. Day [EMAIL PROTECTED] Signed-off-by: Bartlomiej Zolnierkiewicz [EMAIL PROTECTED] --- include/linux/hdsmart.h |4 ++-- 1 file changed, 2 insertions(+), 2

Re: [PATCH 03/12] ide: add ide-4drives host driver

2008-02-17 Thread Bartlomiej Zolnierkiewicz
On Saturday 16 February 2008, Randy Dunlap wrote: [...] +You also need to use probe kernel paramater for ide-4drives driver parameter thanks, fixed in take 2 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a

Re: [PATCH 1/4] : More use DIV_ROUND_UP

2008-02-17 Thread Bartlomiej Zolnierkiewicz
On Saturday 16 February 2008, Julia Lawall wrote: From: Julia Lawall [EMAIL PROTECTED] The kernel.h macro DIV_ROUND_UP performs the computation (((n) + (d) - 1) / (d)) but is perhaps more readable. An extract of the semantic patch that makes this change is as follows:

Re: [PATCH 14/27] hwmon: fix section mismatch in coretemp

2008-02-17 Thread Mark M. Hoffman
Hi Sam: * Sam Ravnborg [EMAIL PROTECTED] [2008-02-17 13:22:51 +0100]: Fix following warning: WARNING: vmlinux.o(.text+0xebfd04): Section mismatch in reference from the function coretemp_cpu_callback() to the function .cpuinit.text:coretemp_device_add() coretemp_cpu_callback() are only

[PATCH] return useful error when accessing /proc/pid/maps

2008-02-17 Thread Jean-Marc Saffroy
Hello folks, Access to /proc/pid/maps is now restricted to legitimate users, but read(2) simply returns 0 instead of a more explicit error. The patch below fixes this. Signed-off-by: Jean-Marc Saffroy [EMAIL PROTECTED] --- Index: linux-2.6.24.2/fs/proc/base.c

Re: [PATCH] linux/hdsmart.h: fix goofups

2008-02-17 Thread Robert P. J. Day
On Sun, 17 Feb 2008, Bartlomiej Zolnierkiewicz wrote: Fix goofups of commit 76166952bbc81dda1c8a8c14e75a2aa06f6c052c (linux/hdsmart.h is not used by kernel code). Reported-by: Robert P. J. Day [EMAIL PROTECTED] Signed-off-by: Bartlomiej Zolnierkiewicz [EMAIL PROTECTED] ---

Re: [RFC][PATCH 7/7] CGroup API: Update cpusets to use cgroup structured file API

2008-02-17 Thread Paul Menage
On Feb 16, 2008 7:29 PM, Paul Jackson [EMAIL PROTECTED] wrote: From: Paul Jackson [EMAIL PROTECTED] Strip all trailing whitespace (such as carriage returns) when parsing integer writes to cgroup files, not just one trailing newline if present. Sounds like a good idea to me. Thanks for this.

Re: [PATCH] Configure out TSC support

2008-02-17 Thread Ingo Molnar
* Thomas Petazzoni [EMAIL PROTECTED] wrote: The following patch allows to remove the code needed to support the TSC timer on x86 32 bits. The TSC seems to be mandatory on x86 64 bits. The patch adds a X86_TSC_TIMER option to enable/disable the support. A X86_TSC option already exists,

Re: [PATCH] kprobes: remove sparse warnings from x86

2008-02-17 Thread Ingo Molnar
* Harvey Harrison [EMAIL PROTECTED] wrote: Ingo, could you take this in x86.git? yeah - and Thomas has beaten me at picking it up :-) Ingo -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: xfsaild causing 30+ wakeups/s on an idle system since 2.6.25-rcX

2008-02-17 Thread Oliver Pinter
On 2/17/08, Török Edwin [EMAIL PROTECTED] wrote: Hi, xfsaild is causing many wakeups, a quick investigation shows xfsaild_push is always returning 30 msecs timeout value. This is on an idle system, running only gnome, and gnome-terminal. I suggest changing the timeout logic in xfsaild to

Re: [PATCH 14/27] hwmon: fix section mismatch in coretemp

2008-02-17 Thread Sam Ravnborg
This rings a bell... hmmm, commit 59a35bafb223bbb0553ba1a3bb9280bda668a8d8. AFAICT the warning is a false positive, but whatever. Yes it is - the __refdata is there only to silence modpost. Applied to hwmon-2.6.git/testing, thanks. Thanks, Sam -- To unsubscribe from this list:

[PATCH] drivers/net/cs89x0.c: compilation warning fix

2008-02-17 Thread Leonardo Potenza
From: Leonardo Potenza [EMAIL PROTECTED] Suppress the warning message about the 'netcard_portlist' defined but not used. Signed-off-by: Leonardo Potenza [EMAIL PROTECTED] --- When building cs89x0 as a module, the following warning message is generated: drivers/net/cs89x0.c:198: warning:

Re: [PATCH] linux/hdsmart.h: fix goofups

2008-02-17 Thread Bartlomiej Zolnierkiewicz
On Sunday 17 February 2008, Robert P. J. Day wrote: On Sun, 17 Feb 2008, Bartlomiej Zolnierkiewicz wrote: Fix goofups of commit 76166952bbc81dda1c8a8c14e75a2aa06f6c052c (linux/hdsmart.h is not used by kernel code). Reported-by: Robert P. J. Day [EMAIL PROTECTED] Signed-off-by:

Re: Geode GX/LX watchdog timer (RESEND)

2008-02-17 Thread Andres Salomon
On Sun, 17 Feb 2008 16:10:09 + Iain Paton [EMAIL PROTECTED] wrote: Adrian Bunk wrote: On Sun, Feb 17, 2008 at 03:46:01PM +0100, Arnd Hannemann wrote: Never tried to built it as a module. Probably there are issues with that. If I remember correctly I saw a patch in 2.6.25-rc which

Re: [PATCH] linux/hdsmart.h: fix goofups

2008-02-17 Thread Adrian Bunk
On Sun, Feb 17, 2008 at 06:40:31PM +0100, Bartlomiej Zolnierkiewicz wrote: On Sunday 17 February 2008, Robert P. J. Day wrote: On Sun, 17 Feb 2008, Bartlomiej Zolnierkiewicz wrote: Fix goofups of commit 76166952bbc81dda1c8a8c14e75a2aa06f6c052c (linux/hdsmart.h is not used by kernel

Re: [REGRESSION 2.6.23] no vga console and no messages

2008-02-17 Thread Frans Pop
On Sunday 17 February 2008, Daniel Barkalow wrote: On Sun, 17 Feb 2008, Frans Pop wrote: Daniel Barkalow wrote: For some reason I can't see and don't know how to debug, in 2.6.23 on my server I don't get the vga console, but only get the dummy console. Please check if this bug

Re: [RFC][PATCH 7/7] CGroup API: Update cpusets to use cgroup structured file API

2008-02-17 Thread Paul Menage
On Feb 17, 2008 9:28 AM, Paul Jackson [EMAIL PROTECTED] wrote: I'm figuring it would be easiest if you just threw this little change into your hopper for the bigger changes you're making OK, will do. Paul -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of

[FIXED] Re: kernel 2.6.24{,.1} ahci problem, does not boot

2008-02-17 Thread Malte Schröder
Okay, I updated the BIOS and the problem disappeared. The mainboard is an Asus M2R32-MVP by the way. On Sat, 9 Feb 2008 13:30:21 +0100 Malte Schröder [EMAIL PROTECTED] wrote: Hello, on one of my machines neither 2.6.24 nor 2.6.24.1 work. The system is 64bit on Athlon X2 and ATI-Chipset

Re: [PATCH] linux/hdsmart.h: fix goofups

2008-02-17 Thread Bartlomiej Zolnierkiewicz
On Sunday 17 February 2008, Adrian Bunk wrote: On Sun, Feb 17, 2008 at 06:40:31PM +0100, Bartlomiej Zolnierkiewicz wrote: On Sunday 17 February 2008, Robert P. J. Day wrote: On Sun, 17 Feb 2008, Bartlomiej Zolnierkiewicz wrote: Fix goofups of commit

Re: [RFC][PATCH 7/7] CGroup API: Update cpusets to use cgroup structured file API

2008-02-17 Thread Paul Jackson
Strip all trailing whitespace (such as carriage returns) when parsing integer writes to cgroup files, not just one trailing newline if present. Sounds like a good idea to me. Thanks for this. I'm figuring it would be easiest if you just threw this little change into your hopper for the

Re: [PATCH] firewire: fw-sbp2: fix NULL pointer deref in slave_alloc

2008-02-17 Thread Stefan Richter
On 17 Feb, Stefan Richter wrote: Fix a kernel bug when running rescan-scsi-bus while a FireWire disk is connected: http://bugzilla.kernel.org/show_bug.cgi?id=10008 Signed-off-by: Stefan Richter [EMAIL PROTECTED] --- drivers/firewire/fw-sbp2.c |4 1 file changed, 4 insertions(+)

[PATCH 5/7] net/rxrpc: Use BUG_ON

2008-02-17 Thread Julia Lawall
From: Julia Lawall [EMAIL PROTECTED] if (...) BUG(); should be replaced with BUG_ON(...) when the test has no side-effects to allow a definition of BUG_ON that drops the code completely. The semantic patch that makes this change is as follows: (http://www.emn.fr/x-info/coccinelle/) // smpl @

[PATCH 6/7] sound: Use BUG_ON

2008-02-17 Thread Julia Lawall
From: Julia Lawall [EMAIL PROTECTED] if (...) BUG(); should be replaced with BUG_ON(...) when the test has no side-effects to allow a definition of BUG_ON that drops the code completely. The semantic patch that makes this change is as follows: (http://www.emn.fr/x-info/coccinelle/) // smpl @

[PATCH 7/7] net/9p/trans_virtio.c: Use BUG_ON

2008-02-17 Thread Julia Lawall
From: Julia Lawall [EMAIL PROTECTED] if (...) BUG(); should be replaced with BUG_ON(...) when the test has no side-effects to allow a definition of BUG_ON that drops the code completely. The semantic patch that makes this change is as follows: (http://www.emn.fr/x-info/coccinelle/) // smpl @

Re: [PATCH] ieee1394: sbp2: fix rescan-scsi-bus

2008-02-17 Thread Stefan Richter
James Bottomley wrote: On Sun, 2008-02-17 at 14:57 +0100, Stefan Richter wrote: rescan-scsi-bus used to add SBP-2 targets which weren't there. ... +++ linux/drivers/ieee1394/sbp2.c @@ -1974,6 +1974,9 @@ static int sbp2scsi_slave_alloc(struct s { struct sbp2_lu *lu = (struct sbp2_lu

Re: [PATCH] Configure out doublefault exception handler (Linux Tiny)

2008-02-17 Thread Ingo Molnar
* Thomas Petazzoni [EMAIL PROTECTED] wrote: Enclosed patch allows to configure out the doublefault exception handler. The original patch of Matt Mackall added the option in init/Kconfig, but because this is a x86-specific thing, I thought arch/x86/Kconfig would be a better place. Is that

Re: [REGRESSION 2.6.23] no vga console and no messages

2008-02-17 Thread Daniel Barkalow
On Sun, 17 Feb 2008, Frans Pop wrote: On Sunday 17 February 2008, Daniel Barkalow wrote: On Sun, 17 Feb 2008, Frans Pop wrote: Daniel Barkalow wrote: For some reason I can't see and don't know how to debug, in 2.6.23 on my server I don't get the vga console, but only get the dummy

Re: [PATCH] Configure out DMI scanning code v2 (Linux Tiny)

2008-02-17 Thread Ingo Molnar
* Andrew Morton [EMAIL PROTECTED] wrote: On Tue, 12 Feb 2008 12:56:45 -0600 Matt Mackall [EMAIL PROTECTED] wrote: On Tue, 2008-02-12 at 10:04 +0100, Thomas Petazzoni wrote: Turn CONFIG_DMI into a selectable option if EMBEDDED is defined, in order to be able to remove the DMI

Re: [PATCH 0/5] Make vsmp a paravirt client

2008-02-17 Thread Ingo Molnar
* Glauber Costa [EMAIL PROTECTED] wrote: This series of five patches turns the vsmp architecture support in x86_64 into a paravirt client. If PARAVIRT is on, the probe function vsmp_init() is run unconditionally, patching the necessary irq functions accordingly if running ontop of such

Re: [PATCH 3/5] [PATCH] call vsmp_init explicitly

2008-02-17 Thread Ingo Molnar
* Glauber Costa [EMAIL PROTECTED] wrote: --- a/arch/x86/kernel/setup_64.c +++ b/arch/x86/kernel/setup_64.c @@ -346,6 +346,10 @@ #endif if (efi_enabled) efi_init(); +#ifdef CONFIG_PARAVIRT + vsmp_init(); +#endif that #ifdef should be in setup.h, instead

Re: [PATCH 4/5] [PATCH] introduce paravirt helpers

2008-02-17 Thread Ingo Molnar
* Glauber Costa [EMAIL PROTECTED] wrote: config X86_VSMP bool Support for ScaleMP vSMP depends on X86_64 PCI - help + select PARAVIRT + help hm, what's the idea here? Ingo -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the

Re: [2.6.25-rc2] stack trace immediately before rebooting/switching off

2008-02-17 Thread Rafael J. Wysocki
On Sunday, 17 of February 2008, Andrey Borzenkov wrote: In 2.6.25 I get stack trace immediately before system is switched off or reboots. It is too fast to capture it on VGA; netconsole does not capture it either - probably network is already shutdown at this point. I do not have serial port

[PATCH resend] drivers/video/aty/radeon_base.c: compilation warning fix

2008-02-17 Thread Leonardo Potenza
From: Leonardo Potenza [EMAIL PROTECTED] Add a check for the sysfs_create_bin_file() return value. In case of error the framebuffer creation is not aborted, but a warning message is generated instead. Signed-off-by: Leonardo Potenza [EMAIL PROTECTED] --- The aim of this patch is to remove the

Re: [RFC] [PATCH] x86: Use ELF section to list CPU vendor specific code (Linux Tiny)

2008-02-17 Thread Ingo Molnar
* Thomas Petazzoni [EMAIL PROTECTED] wrote: Le Mon, 11 Feb 2008 16:54:30 -0800, H. Peter Anvin [EMAIL PROTECTED] a écrit : b) would be my first choice, and yes, it would be a good thing to have a generalized mechanism for this. For the registrant, it's pretty easy: just add a macro

Re: [PATCH] Add PCI_DEVICE_TABLE macro

2008-02-17 Thread Randy Dunlap
On Sun, 17 Feb 2008 13:10:05 +0100 Jonas Bonn wrote: The definitions of struct pci_device_id arrays should generally follow the same pattern across the entire kernel. This macro defines this array as static const and puts it into the __devinitconst section. Signed-off-by: Jonas Bonn [EMAIL

[PATCH 1/7] fs/affs/file.c: Use BUG_ON

2008-02-17 Thread Julia Lawall
From: Julia Lawall [EMAIL PROTECTED] if (...) BUG(); should be replaced with BUG_ON(...) when the test has no side-effects to allow a definition of BUG_ON that drops the code completely. The semantic patch that makes this change is as follows: (http://www.emn.fr/x-info/coccinelle/) // smpl @

Re: 2.6.25-rc2-mm1 (build failure)

2008-02-17 Thread Randy Dunlap
Rafael J. Wysocki wrote: On Sunday, 17 of February 2008, Randy Dunlap wrote: On Sat, 16 Feb 2008 00:25:22 -0800 Andrew Morton wrote: ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.25-rc2/2.6.25-rc2-mm1/ When SMP=n, x86_64 build gets: arch/x86/kernel/built-in.o: In

Re: [PATCH] linux/hdsmart.h: fix goofups

2008-02-17 Thread Robert P. J. Day
On Sun, 17 Feb 2008, Bartlomiej Zolnierkiewicz wrote: On Sunday 17 February 2008, Adrian Bunk wrote: On Sun, Feb 17, 2008 at 06:40:31PM +0100, Bartlomiej Zolnierkiewicz wrote: On Sunday 17 February 2008, Robert P. J. Day wrote: On Sun, 17 Feb 2008, Bartlomiej Zolnierkiewicz wrote:

[PATCH] firewire: fw-sbp2: fix NULL pointer deref in scsi_remove_device

2008-02-17 Thread Stefan Richter
I wrote: There is unfortunately another bug. If the user manually removes the scsi_device by writing into its delete sysfs attribute, the following will happen when the SBP-2 device is plugged out: BUG: unable to handle kernel NULL pointer dereference at 00b8 IP:

[PATCH 3/7] fs/ocfs2: Use BUG_ON

2008-02-17 Thread Julia Lawall
From: Julia Lawall [EMAIL PROTECTED] if (...) BUG(); should be replaced with BUG_ON(...) when the test has no side-effects to allow a definition of BUG_ON that drops the code completely. The semantic patch that makes this change is as follows: (http://www.emn.fr/x-info/coccinelle/) // smpl @

[PATCH 2/7] fs/ext{2,3,4}: Use BUG_ON

2008-02-17 Thread Julia Lawall
From: Julia Lawall [EMAIL PROTECTED] if (...) BUG(); should be replaced with BUG_ON(...) when the test has no side-effects to allow a definition of BUG_ON that drops the code completely. fs/ext2/balloc.c |3 +-- fs/ext2/dir.c|3 +-- fs/ext3/balloc.c |3 +-- fs/ext4/balloc.c |

[PATCH 4/7] fs/udf/truncate.c: Use BUG_ON

2008-02-17 Thread Julia Lawall
From: Julia Lawall [EMAIL PROTECTED] if (...) BUG(); should be replaced with BUG_ON(...) when the test has no side-effects to allow a definition of BUG_ON that drops the code completely. The semantic patch that makes this change is as follows: (http://www.emn.fr/x-info/coccinelle/) // smpl @

Re: [PATCH] x86 cleanup: suspend_asm_64.S - use X86_CR4_PGE instead of numeric value

2008-02-17 Thread Ingo Molnar
* Cyrill Gorcunov [EMAIL PROTECTED] wrote: By including asm/processor-flags.h we're allowed to use X86_CR4_PGE instead of numeric constant. md5 sums of compiled files are differ due to this inclusion but .text section remains the same. thanks Cyrill, picked it up. (the merged version is

Re: [PATCH 2/2] x86: coding style fixes arch/x86/lib/csum-wrappers_64.c

2008-02-17 Thread Paolo Ciarrocchi
On 2/17/08, Ingo Molnar [EMAIL PROTECTED] wrote: * Paolo Ciarrocchi [EMAIL PROTECTED] wrote: [PATCH 2/2] x86: coding style fixes arch/x86/lib/csum-wrappers_64.c On top of the previous patch makes the file errors free according to checkpatch.pl thanks Paolo, applied. (i've folded the

[PATCH 1/5] ide: remove PIO downgrade quirk

2008-02-17 Thread Bartlomiej Zolnierkiewicz
No need for it nowadays so remove quirk code from ide_get_best_pio_mode() and IDE_HFLAG_PIO_DOWNGRADE host flag. Signed-off-by: Bartlomiej Zolnierkiewicz [EMAIL PROTECTED] --- drivers/ide/ide-lib.c | 10 -- drivers/ide/pci/amd74xx.c |1 - drivers/ide/pci/via82cxxx.c |1

Re: [PATCH] x86 cleanup: suspend_asm_64.S - use X86_CR4_PGE instead of numeric value

2008-02-17 Thread Cyrill Gorcunov
[Ingo Molnar - Sun, Feb 17, 2008 at 07:17:16PM +0100] | | * Cyrill Gorcunov [EMAIL PROTECTED] wrote: | | By including asm/processor-flags.h we're allowed to use X86_CR4_PGE | instead of numeric constant. | | md5 sums of compiled files are differ due to this inclusion but .text | section

Re: What's needed for a PCIe card to be recognized?

2008-02-17 Thread Hans J. Koch
Am Sun, 17 Feb 2008 07:29:27 -0800 schrieb Arjan van de Ven [EMAIL PROTECTED]: On Sun, 17 Feb 2008 13:37:53 +0100 Hans J. Koch [EMAIL PROTECTED] wrote: Of course there's no driver for the wlan, but that's a different story ;) I replaced that unsupported Atheros 5007 card with an

[PATCH 3/5] ide: use ide_find_port() in legacy VLB host drivers

2008-02-17 Thread Bartlomiej Zolnierkiewicz
* Add IDE_HFLAG_QD_2ND_PORT host flag to indicate the need of skipping first ide_hwifs[] slot for the second port of QD65xx controller. * Handle this new host flag in ide_find_port_slot(). * Convert legacy VLB host drivers to use ide_find_port(). While at it: * Fix couple of printk()-s in

[PATCH 2/5] ide: merge ide_match_hwif() and ide_find_port()

2008-02-17 Thread Bartlomiej Zolnierkiewicz
* Change ide_match_hwif() argument from 'u8 bootable' to 'struct ide_port_info *d'. * Move ide_match_hwif() to ide-probe.c from setup-pci.c and rename it to ide_find_port_slot(). Update some comments while at it. * ide_find_port() can be now just a wrapper for ide_find_port_slot(). There

[PATCH 4/5] ide-generic: use ide_find_port()

2008-02-17 Thread Bartlomiej Zolnierkiewicz
There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz [EMAIL PROTECTED] --- drivers/ide/ide-generic.c | 17 + 1 file changed, 13 insertions(+), 4 deletions(-) Index: b/drivers/ide/ide-generic.c

[PATCH 5/5] ide: unexport ide_hwifs[]

2008-02-17 Thread Bartlomiej Zolnierkiewicz
All modular users have been fixed to not reference ide_hwifs[] directly. Signed-off-by: Bartlomiej Zolnierkiewicz [EMAIL PROTECTED] --- drivers/ide/ide.c |5 - 1 file changed, 5 deletions(-) Index: b/drivers/ide/ide.c ===

Re: [REGRESSION 2.6.23] no vga console and no messages

2008-02-17 Thread Daniel Barkalow
As far as I can tell, the only differences in either dmesg or lspci between the broken one and the working one are the phrasing of messages, not what's happening. Out of curiousity, what do you see for the Console: line when you boot? It's possible that the VGA console code somehow got broken

Re: [PATCH 0/2] x86 - Move laptop drivers out of x86 Kconfig

2008-02-17 Thread Ingo Molnar
* Carlos Corbacho [EMAIL PROTECTED] wrote: The following patch series moves the two laptop drivers from x86 Kconfig (i8k and toshiba) to drivers/char, which is where the source for them lives anyway. Given they are not x86 processor features, the x86 Kconfig menu is not really an

Re: [PATCH 0/2] x86 - Move laptop drivers out of x86 Kconfig

2008-02-17 Thread Ingo Molnar
* Carlos Corbacho [EMAIL PROTECTED] wrote: On Sunday 17 February 2008 18:20:08 Ingo Molnar wrote: i suspect this should be merged by the char driver tree which is affected by the addition of these new entries. Where is such a tree, and who's responsible for it though? I grep'ed

Re: [patch 2/2] x86: lds - Use THREAD_SIZE instead of numeric constant

2008-02-17 Thread Cyrill Gorcunov
[Sam Ravnborg - Sun, Feb 17, 2008 at 07:59:36PM +0100] | On Sun, Feb 17, 2008 at 06:17:18PM +0300, Cyrill Gorcunov wrote: | Though we use PDA for regular task stack but that | is not acceptable for init_task wich is special | one. We still have to allocate init_task's stack | in that manner. |

Re: [patch 2/2] x86: lds - Use THREAD_SIZE instead of numeric constant

2008-02-17 Thread Ingo Molnar
* Sam Ravnborg [EMAIL PROTECTED] wrote: On Sun, Feb 17, 2008 at 06:17:18PM +0300, Cyrill Gorcunov wrote: Though we use PDA for regular task stack but that is not acceptable for init_task wich is special one. We still have to allocate init_task's stack in that manner. hpa had some

Re: [patch 1/2] x86: lds - Use PAGE_SIZE instead of numeric constant

2008-02-17 Thread Ingo Molnar
* Sam Ravnborg [EMAIL PROTECTED] wrote: On Sun, Feb 17, 2008 at 06:17:17PM +0300, Cyrill Gorcunov wrote: It's much better to use PAGE_SIZE then magic 4096 (though it's almost synonym in most cases on x86 but not for *all* cases ;) Thanks Cyrill. Signed-off-by: Cyrill Gorcunov

Re: arch/x86/mm/ioremap unification grew by 10x

2008-02-17 Thread Ian Campbell
On Fri, 2008-02-15 at 17:17 -0600, Matt Mackall wrote: On Fri, 2008-02-15 at 15:21 -0600, Matt Mackall wrote: On Fri, 2008-02-15 at 21:32 +0100, Sam Ravnborg wrote: On Fri, Feb 15, 2008 at 02:25:54PM -0600, Matt Mackall wrote: In 2.6.24 defconfig, my build stats show ioremap_32.o was

Re: linux-next: first tree

2008-02-17 Thread Mark M. Hoffman
Hi Stephen: * Stephen Rothwell [EMAIL PROTECTED] [2008-02-15 00:35:37 +1100]: I have created the first cut of the linux-next tree at git://git.kernel.org/pub/scm/linux/kernel/git/sfr/linux-next.git. Things to know about this tree: It has two branches - master and stable. Stable is

Re: 2.6.25-rc1 xen pvops regression

2008-02-17 Thread Ian Campbell
On Fri, 2008-02-15 at 12:23 -0800, Joel Becker wrote: On Thu, Feb 14, 2008 at 06:50:52PM +1100, Jeremy Fitzhardinge wrote: I'm seeing the same problem, with no messages at all from xen other than domain crashed, restart disabled in xend.log. I got a different commit in my bisect,

Re: PCI Bursting with PIO

2008-02-17 Thread Robert Hancock
Dan Gora wrote: On Feb 15, 2008 10:00 PM, Robert Hancock [EMAIL PROTECTED] wrote: Well, in order for the CPU to batch up more writes you'd have to map the BAR as either write-combining or write-back. If it's not listed in /proc/mtrr it will be the default setting of uncacheable. Ok, this is

Re: [PATCH 0/2] x86 - Move laptop drivers out of x86 Kconfig

2008-02-17 Thread Carlos Corbacho
On Sunday 17 February 2008 18:20:08 Ingo Molnar wrote: i suspect this should be merged by the char driver tree which is affected by the addition of these new entries. Where is such a tree, and who's responsible for it though? I grep'ed MAINTAINERS and didn't turn up anyone. -Carlos --

Re: [patch 1/2] x86: lds - Use PAGE_SIZE instead of numeric constant

2008-02-17 Thread Sam Ravnborg
On Sun, Feb 17, 2008 at 06:17:17PM +0300, Cyrill Gorcunov wrote: It's much better to use PAGE_SIZE then magic 4096 (though it's almost synonym in most cases on x86 but not for *all* cases ;) Thanks Cyrill. Signed-off-by: Cyrill Gorcunov [EMAIL PROTECTED] Acked-by: Sam Ravnborg [EMAIL

Re: [patch 2/2] x86: lds - Use THREAD_SIZE instead of numeric constant

2008-02-17 Thread Sam Ravnborg
On Sun, Feb 17, 2008 at 06:17:18PM +0300, Cyrill Gorcunov wrote: Though we use PDA for regular task stack but that is not acceptable for init_task wich is special one. We still have to allocate init_task's stack in that manner. hpa had some comments about this particular alignment. If we keep

Re: arch/x86/mm/ioremap unification grew by 10x

2008-02-17 Thread Sam Ravnborg
On Sun, Feb 17, 2008 at 07:09:42PM +, Ian Campbell wrote: On Fri, 2008-02-15 at 17:17 -0600, Matt Mackall wrote: On Fri, 2008-02-15 at 15:21 -0600, Matt Mackall wrote: On Fri, 2008-02-15 at 21:32 +0100, Sam Ravnborg wrote: On Fri, Feb 15, 2008 at 02:25:54PM -0600, Matt Mackall

Re: [BUG] Linux 2.6.25-rc2 - Regression from 2.6.24-rc1-git1 softlockup while bootup on powerpc

2008-02-17 Thread Jens Axboe
On Sat, Feb 16 2008, Kamalesh Babulal wrote: Hi, The softlockup is seen from 2.6.25-rc1-git{1,3} and is visible in the 2.6.24-rc2 kernel, While booting up with the 2.6.25-rc1-git{1,3} and 2.6.25-rc2 kernel(s) on the powerbox Loading st.ko module BUG: soft lockup - CPU#1 stuck for 61s!

Re: [PATCH 4/7] fs/udf/truncate.c: Use BUG_ON

2008-02-17 Thread Marcin Slusarz
On Sun, Feb 17, 2008 at 06:56:18PM +0100, Julia Lawall wrote: From: Julia Lawall [EMAIL PROTECTED] if (...) BUG(); should be replaced with BUG_ON(...) when the test has no side-effects to allow a definition of BUG_ON that drops the code completely. The same change is in my patch which is

Re: [PATCH] modpost: Fix reversed symbol name order

2008-02-17 Thread Sam Ravnborg
On Sun, Feb 17, 2008 at 02:12:10PM +0100, Geert Uytterhoeven wrote: XXXINIT_TO_INIT and XXXEXIT_TO_EXIT warnings use the reversed symbol name order in the suggestion, e.g.: WARNING: vmlinux.o(.meminit.text+0x36c): Section mismatch in reference from the function free_area_init_core()

Re: 2.6.25-rc2 vdso_install breaks user make install

2008-02-17 Thread Sam Ravnborg
On Sat, Feb 16, 2008 at 12:36:10PM +0100, Sam Ravnborg wrote: On Fri, Feb 15, 2008 at 07:42:11PM -0800, Roland McGrath wrote: Perhaps it makes more sense to have vdso_install be a dependency of modules_install rather than install, since they both put things in /lib/modules. The installed

[PATCH 2/4] ide-disk: add missing printk() KERN_* levels

2008-02-17 Thread Bartlomiej Zolnierkiewicz
Signed-off-by: Bartlomiej Zolnierkiewicz [EMAIL PROTECTED] --- drivers/ide/ide-disk.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) Index: b/drivers/ide/ide-disk.c === --- a/drivers/ide/ide-disk.c +++

<    2   3   4   5   6   7   8   9   10   >