Re: [PATCH] freezer.h uses task_struct fields

2006-12-08 Thread Dave Kleikamp
On Thu, 2006-12-07 at 22:13 -0800, Randy Dunlap wrote: From: Randy Dunlap [EMAIL PROTECTED] freezer.h uses task_struct fields so it should include sched.h. CC [M] fs/jfs/jfs_txnmgr.o In file included from fs/jfs/jfs_txnmgr.c:49: include/linux/freezer.h: In function 'frozen':

Re: Let's get rid of those annoying VFS is out of sync with lock manager messages (includes proposed patch)

2006-12-08 Thread Jesper Juhl
On 08/12/06, Neil Brown [EMAIL PROTECTED] wrote: On Thursday December 7, [EMAIL PROTECTED] wrote: So I took Neils patch, made the change Trond suggested and the result is below. Comments? Ok to merge? Yes, except that you need a changelog comment at the top. Possibly based very heavily

Re: Let's get rid of those annoying VFS is out of sync with lock manager messages (includes proposed patch)

2006-12-08 Thread Jesper Juhl
On 08/12/06, Jesper Juhl [EMAIL PROTECTED] wrote: On 08/12/06, Neil Brown [EMAIL PROTECTED] wrote: On Thursday December 7, [EMAIL PROTECTED] wrote: So I took Neils patch, made the change Trond suggested and the result is below. Comments? Ok to merge? Yes, except that you need a

Re: additional oom-killer tuneable worth submitting?

2006-12-08 Thread Alan
On Fri, 8 Dec 2006 16:58:29 +0300 Al Boldi [EMAIL PROTECTED] wrote: That is why we have no-overcommit support. Alan, I think you know that this isn't really true, due to shared-libs. Shared libraries are correctly handled by no-overcommit and in fact they have almost zero impact on out of

Re: [PATCH] freezer.h uses task_struct fields

2006-12-08 Thread Dave Kleikamp
Sorry. I had a misconfiguration in my mail client. My correct address is [EMAIL PROTECTED], not [EMAIL PROTECTED] Thanks, Shaggy -- David Kleikamp IBM Linux Technology Center - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED]

[PATCH] update MAINTAINERS with rtc-linux maling list info

2006-12-08 Thread Alessandro Zummo
subj says it all. --- MAINTAINERS |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux.orig/MAINTAINERS 2006-12-01 01:01:55.0 +0100 +++ linux/MAINTAINERS 2006-12-08 15:44:21.0 +0100 @@ -2513,7 +2513,7 @@ S:Maintained REAL TIME CLOCK (RTC)

dm_mirror and dm_mod modules incorrectly named and not found

2006-12-08 Thread Bernard Pidoux
Hi, In kernel 2.6.19 and 2.6.18.5 I am facing a problem with two modules not found : dm_mirror and dm_mod. (See my previous posting, for I am not able to suppress these dependencies even if I unselect the option in xconfig menu !). These two modules are part of Multiple devices driver support

[PATCH][resend] PNX8550 UART driver

2006-12-08 Thread Vitaly Wool
This patch adds UART support for PNX8330/8550/8950 Philips MIPS-based SoCs. Should be applied together with the PNX UART header fixup patch last sent yesterday (http://lkml.org/lkml/2006/12/7/147). This stuff has been basically approved by rmk before he quitted maintaining serial core but hasn't

[PATCH] [Bluetooth] Add support for another Kensington dongle

2006-12-08 Thread Olivier Galibert
Add the stupid sco fixup quirk to yet another Broadcom/Kensington device. --- drivers/bluetooth/hci_usb.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/bluetooth/hci_usb.c b/drivers/bluetooth/hci_usb.c index fdea58a..aeefec9 100644 ---

Re: [PATCH 0/3] New firewire stack

2006-12-08 Thread Stefan Richter
Pavel Machek wrote at linux-kernel: On Tue 05-12-06 17:05:30, Erik Mouw wrote: On Tue, Dec 05, 2006 at 10:13:55AM -0500, Kristian H?gsberg wrote: Marcel Holtmann wrote: can you please use drivers/firewire/ if you want to start clean or aiming at replacing drivers/ieee1394/. Using fw as an

[S390] more workqueue fixes.

2006-12-08 Thread Martin Schwidefsky
From: Martin Schwidefsky [EMAIL PROTECTED] [S390] more workqueue fixes. Signed-off-by: Martin Schwidefsky [EMAIL PROTECTED] --- drivers/s390/char/tape.h |3 +- drivers/s390/char/tape_34xx.c | 23 ++--- drivers/s390/char/tape_3590.c |7 +++---

[S390] add reset call handler to the ap bus.

2006-12-08 Thread Martin Schwidefsky
From: Ralph Wuerthner [EMAIL PROTECTED] [S390] add reset call handler to the ap bus. Signed-off-by: Ralph Wuerthner [EMAIL PROTECTED] Signed-off-by: Martin Schwidefsky [EMAIL PROTECTED] --- drivers/s390/crypto/ap_bus.c | 17 + 1 files changed, 17 insertions(+) diff -urpN

Re: [v4l-dvb-maintainer] [2.6 patch] cx88/saa7134: remove unused -DHAVE_VIDEO_BUF_DVB

2006-12-08 Thread Mauro Carvalho Chehab
Hi Mkrufky, Em Qui, 2006-12-07 às 18:26 +0100, Adrian Bunk escreveu: No, the configuration CONFIG_VIDEO_SAA7134=y CONFIG_VIDEO_SAA7134_DVB=n CONFIG_VIDEO_BUF_DVB=n builds fine in 2.6.19. Thanks, Adrian, for pointing out this inconsistency. The point here, seemed to be related

Re: additional oom-killer tuneable worth submitting?

2006-12-08 Thread Al Boldi
Alan wrote: Al Boldi [EMAIL PROTECTED] wrote: That is why we have no-overcommit support. Alan, I think you know that this isn't really true, due to shared-libs. Shared libraries are correctly handled by no-overcommit and in fact they have almost zero impact on out of memory questions

[S390] uaccess_pt: add missing down_read() and convert to is_init().

2006-12-08 Thread Martin Schwidefsky
From: Heiko Carstens [EMAIL PROTECTED] [S390] uaccess_pt: add missing down_read() and convert to is_init(). Doesn't seem to be a good idea to duplicate code :) Signed-off-by: Heiko Carstens [EMAIL PROTECTED] Signed-off-by: Martin Schwidefsky [EMAIL PROTECTED] --- arch/s390/lib/uaccess_pt.c |

Please pull git390 'for-linus' branch

2006-12-08 Thread Martin Schwidefsky
Please pull from 'for-linus' branch of git://git390.osdl.marist.edu/pub/scm/linux-2.6.git for-linus to receive the following updates: Documentation/s390/driver-model.txt |7 + arch/s390/Kconfig | 14 +- arch/s390/defconfig |1 -

[S390] Poison init section before freeing it.

2006-12-08 Thread Martin Schwidefsky
From: Heiko Carstens [EMAIL PROTECTED] [S390] Poison init section before freeing it. The data patterns should allow us to easily tell if somebody accesses initdata/code after it was freed. Same code as on various other architectures. Signed-off-by: Heiko Carstens [EMAIL PROTECTED]

Re: geode crypto is PCI device

2006-12-08 Thread Jordan Crouse
On 07/12/06 22:16 -0800, Randy Dunlap wrote: From: Randy Dunlap [EMAIL PROTECTED] This driver seems to be for a PCI device. Indeed it is. Nice catch. Signed-off-by: Randy Dunlap [EMAIL PROTECTED] Acked-by: Jordan Crouse [EMAIL PROTECTED] --- drivers/crypto/Kconfig |2 +- 1 file

Re: [PATCH][resend] fix PNX8550 serial breakage

2006-12-08 Thread Ralf Baechle
On Thu, Dec 07, 2006 at 06:24:39PM +0300, Vitaly Wool wrote: inlined is the patch (being resent) that fixes the serial header breakage for the PNX8550 MIPS platform. Patch seems broken: patching file include/linux/serial_ip3106.h The next patch would create the file

[S390] New DASD feature for ERP related logging

2006-12-08 Thread Martin Schwidefsky
From: Horst Hummel [EMAIL PROTECTED] [S390] New DASD feature for ERP related logging It is now possible to enable/disable ERP related logging without re-compile and re-ipl. A additional sysfs-attribute 'erplog' allows to switch the logging non-interruptive. Signed-off-by: Horst Hummel [EMAIL

[S390] runtime switch for qdio performance statistics

2006-12-08 Thread Martin Schwidefsky
From: Ursula Braun [EMAIL PROTECTED] [S390] runtime switch for qdio performance statistics Remove CONFIG_QETH_PERF_STATS and use a sysfs attribute instead. We want to have the ability to turn the statistics on/off at runtime. Signed-off-by: Ursula Braun [EMAIL PROTECTED] Signed-off-by: Martin

64-bit app on 32-bit kernel supported?

2006-12-08 Thread Srivatsa Vaddagiri
Somebody was asking this : Does any 32-bit Linux kernel support running 64-bit app on top of it (in a 64-bit platform that is)? AFAIK its not supported, but wanted to make sure .. -- Regards, vatsa - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message

Re: RFC: PCI quirks update for 2.6.16

2006-12-08 Thread Adrian Bunk
On Thu, Dec 07, 2006 at 09:32:17PM +0300, Sergey Vlasov wrote: On Thu, Dec 07, 2006 at 06:27:40PM +0100, Bauke Jan Douma wrote: ... I for one need this quirk to get both soundcards at all (which I need) -- no matter what indexing order. I don't question the need for this patch in mainline;

Re: [PATCH]Add notification for active Cell SPU tasks -- updated patch

2006-12-08 Thread Maynard Johnson
Subject: Enable SPU switch notification to detect currently active SPU tasks. From: Maynard Johnson [EMAIL PROTECTED] This patch adds to the capability of spu_switch_event_register to notify the caller of currently active SPU tasks. It also exports spu_switch_event_register and

Re: additional oom-killer tuneable worth submitting?

2006-12-08 Thread Alan
What I understood from Arjan is that the problem isn't swapspace, but rather that shared-libs are implement via a COW trick, which always overcommits, no matter what. The zero overcommit layer accounts address space not pages. Are you saying there is some new no-overcommit functionality in

BUG: scheduling while atomic

2006-12-08 Thread Christian
Hello lkml, while playing enemy-territory it sometimes hangs the X server and I need to hard-reset the machine. I managed to get a trace of the problem this time. The kernel is tainted with the binary NVIDIA driver. I hope someone from NVIDIA follows the list. I know that there will be no

Re: 64-bit app on 32-bit kernel supported?

2006-12-08 Thread Lennart Sorensen
On Fri, Dec 08, 2006 at 09:06:06PM +0530, Srivatsa Vaddagiri wrote: Somebody was asking this : Does any 32-bit Linux kernel support running 64-bit app on top of it (in a 64-bit platform that is)? AFAIK its not supported, but wanted to make sure .. You can run 32bit programs on many 64bit

Re: [git pull] Input patches for 2.6.19

2006-12-08 Thread Jiri Kosina
On Fri, 8 Dec 2006, Dmitry Torokhov wrote: b/drivers/usb/input/hid-core.c |7 b/drivers/usb/input/hid-input.c|4 b/drivers/usb/input/hid.h |1 OK, this is going to break the merge from Greg's tree of generic HID layer,

RFC: PCI quirks update for 2.6.16 (v2)

2006-12-08 Thread Adrian Bunk
Thanks for all the comments I've gotten so far. Below is my current stack of PCI quirks updates for 2.6.16.36. Does all of this look OK? TIA Adrian Adrian Bunk (1): revert the quirk_via_irq changes Bjorn Helgaas (1): PCI: quirk to disable e100 interrupt if RESET failed to Brice

Re: single bit errors on files stored on USB-HDDs via USB2/usb_storage

2006-12-08 Thread John Stoffel
Stefan == Stefan Richter [EMAIL PROTECTED] writes: Stefan Search for firmware updates from the manufacturer of the Stefan enclosure, of the bridge board, or of the bridge chip... if Stefan you didn't do so already. Some chips support firmware upload Stefan to an EEPROM, usually via a Windows

Re: What was in the x86 merge for .20

2006-12-08 Thread Muli Ben-Yehuda
On Fri, Dec 08, 2006 at 02:03:12PM +0100, Arkadiusz Miskiewicz wrote: On Friday 08 December 2006 13:51, Muli Ben-Yehuda wrote: On Fri, Dec 08, 2006 at 01:04:23PM +0100, Arkadiusz Miskiewicz wrote: On Friday 08 December 2006 04:01, Andi Kleen wrote: - Support for a Processor Data Area

parallel boot device initialisation (kernel-space not userspace)

2006-12-08 Thread Luke Kenneth Casson Leighton
hello darlings, well i actually followed the FAQ http://www.tux.org/lkml/#s3-17 on this one, and got to try 'do a search' bit, and when searches for 'parallel boot initialisation' came up with discussions about parallel ports, and articles on ibm developerworks about sysvinit, i made the decision

Re: [git patch] improve INTx toggle for PCI MSI

2006-12-08 Thread Daniel Barkalow
On Thu, 7 Dec 2006, Jeff Garzik wrote: it boots on ICH7 at least. It solves my problem (and doesn't break anything). -Daniel *This .sig left intentionally blank* - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More

Re: 2.6.19 file content corruption on ext3

2006-12-08 Thread Marc Haber
On Fri, Dec 08, 2006 at 10:38:12AM +0900, Fernando Luis Vázquez Cao wrote: Does the patch below help? http://marc.theaimsgroup.com/?l=linux-ext4m=116483980823714w=4 No, pkgcache.bin still getting corrupted within two hours of using 2.6.19. Greetings Marc, back to 2.6.18.3 for the time being

Re: parallel boot device initialisation (kernel-space not userspace)

2006-12-08 Thread Jiri Kosina
On Fri, 8 Dec 2006, Luke Kenneth Casson Leighton wrote: I Have A Great Idea(tm) and would like to describe it concisely to see if anyone likes it and hopefully hasn't thought of it before so i'm not consuming people's time. The idea is: parallel device initialisation of built-in modules,

Re: [PATCH] uml:

2006-12-08 Thread Jeff Dike
On Fri, Dec 08, 2006 at 11:20:34AM +0100, Peter Zijlstra wrote: fixup the work on stack and exit scope trouble by placing the work_struct in the uml_net_private data. Signed-off-by: Peter Zijlstra [EMAIL PROTECTED] Acked-by: Jeff Dike [EMAIL PROTECTED] -- Work email - jdike at linux dot

Re: [PATCH] uml problems with linux/io.h

2006-12-08 Thread Jeff Dike
On Fri, Dec 08, 2006 at 09:45:30AM +, Al Viro wrote: Remove useless includes of linux/io.h, don't even try to build iomap_copy on uml (it doesn't have readb() et.al., so...) Signed-off-by: Al Viro [EMAIL PROTECTED] --- crypto/blkcipher.c |1 - lib/Kconfig|5 +

Re: [PATCH] cpuset - rework cpuset_zone_allowed api

2006-12-08 Thread Paul Menage
On 12/8/06, Paul Jackson [EMAIL PROTECTED] wrote: -int __cpuset_zone_allowed(struct zone *z, gfp_t gfp_mask) +int __cpuset_zone_allowed_softwall(struct zone *z, gfp_t gfp_mask) { int node; /* node that zone z is on */ const struct cpuset *cs;/*

[PATCH] group xtime, xtime_lock, wall_to_monotonic, avenrun, calc_load_count fields together in ktimed

2006-12-08 Thread Eric Dumazet
This patch introduces a new structure called ktimed (Kernel Time Data), where some time keeping related variables are put together to share as few cache lines as possible. This avoid some false sharing, (since linker could put calc_load_count in a *random* cache line for example) I also

Re: additional oom-killer tuneable worth submitting?

2006-12-08 Thread Al Boldi
Alan wrote: What I understood from Arjan is that the problem isn't swapspace, but rather that shared-libs are implement via a COW trick, which always overcommits, no matter what. The zero overcommit layer accounts address space not pages. So OOM can still occur? Are you saying there is

Re: [NFS] [PATCH 002 of 13] knfsd: SUNRPC: allow creating an RPC service without registering with portmapper

2006-12-08 Thread Trond Myklebust
On Fri, 2006-12-08 at 23:01 +1100, NeilBrown wrote: From: Chuck Lever [EMAIL PROTECTED] Sometimes we need to create an RPC service but not register it with the local portmapper. NFSv4 delegation callback, for example. Change the svc_makesock() API to allow optionally creating temporary or

Re: What was in the x86 merge for .20

2006-12-08 Thread Siddha, Suresh B
On Fri, Dec 08, 2006 at 02:08:04AM -0800, Andrew Morton wrote: On Fri, 8 Dec 2006 04:01:25 +0100 Andi Kleen [EMAIL PROTECTED] wrote: [The merge already made it to Linus' tree. Sorry for sending this message late] Most of this is for both i386 and x86-64, unless when noted These

Re: What was in the x86 merge for .20

2006-12-08 Thread Andi Kleen
On Friday 08 December 2006 17:41, Siddha, Suresh B wrote: On Fri, Dec 08, 2006 at 02:08:04AM -0800, Andrew Morton wrote: On Fri, 8 Dec 2006 04:01:25 +0100 Andi Kleen [EMAIL PROTECTED] wrote: [The merge already made it to Linus' tree. Sorry for sending this message late] Most

[Patch] Add necessary #includes to asm-powerpc/spu.h

2006-12-08 Thread Maynard Johnson
Subject: Add necessary #includes to asm-powerpc/spu.h. From: Maynard Johnson [EMAIL PROTECTED] This patch adds a couple of #includes to asm-powerpc/spu.h to prevent compilation warnings that can occur when spu.h is included from a source file where fs.h and notifier.h have not been included

Re: What was in the x86 merge for .20

2006-12-08 Thread Andi Kleen
My old 4-way Intel Nocona-based SDV panics during boot with APIC mode must be flat on this system and I don't know how to make it stop. Help. Hmm, i had these patches for week and didn't change anything. Weird. It didn't do this with your tree in 2.6.19-rc6-mm1 or 2.6.19-rc6-mm2, both of

Linux slack space question

2006-12-08 Thread Maria Short
I have a question regarding how the Linux kernel handles slack space. I know that the ext3 filesystems typically use 1,2 or 4 KB blocks and if a file is not an even multiple of the block size then the last allocated block will not be completely filled, the remaining space is wasted as slack

Re: parallel boot device initialisation (kernel-space not userspace)

2006-12-08 Thread Luke Kenneth Casson Leighton
On Fri, Dec 08, 2006 at 05:38:47PM +0100, Jiri Kosina wrote: On Fri, 8 Dec 2006, Luke Kenneth Casson Leighton wrote: I Have A Great Idea(tm) and would like to describe it concisely to see if anyone likes it and hopefully hasn't thought of it before so i'm not consuming people's time.

Re: Linux slack space question

2006-12-08 Thread Bob Copeland
On 12/8/06, Maria Short [EMAIL PROTECTED] wrote: What I need is the code in the kernel that does that. I have been looking at http://lxr.linux.no/source/fs/ext3/inode.c but I could not find the specific code for partially filling the last block and placing an EOF at the end, leaving the rest to

Re: [Patch] Add necessary #includes to asm-powerpc/spu.h

2006-12-08 Thread Arnd Bergmann
On Friday 08 December 2006 18:10, Maynard Johnson wrote: #define _SPU_H #ifdef __KERNEL__ +#include linux/fs.h +#include linux/notifier.h #include linux/workqueue.h #include linux/sysdev.h Thanks for pointing this out. I'm fixing this in a different way though, with by adding

Re: [PATCH] lockd endianness annotations (rebased)

2006-12-08 Thread Trond Myklebust
On Fri, 2006-12-08 at 09:51 +, Al Viro wrote: Rebased to current tree. Trond, could you ACK that one? annotated, all places switched to keeping status net-endian. Signed-off-by: Al Viro [EMAIL PROTECTED] Acked-by: Trond Myklebust [EMAIL PROTECTED] --- fs/lockd/clntlock.c

Re: Upcall implementation in Linux

2006-12-08 Thread Steve French
Ar Gwe, 2006-08-11 am 12:13 +0800, ysgrifennodd Hsung-Pin Chang: Recently, I need to use upcalls in Linux to actively and snip However, I have some questions about upcall implementation. First, the user handler must be pinned into memory to

Re: [git pull] Input patches for 2.6.19

2006-12-08 Thread Greg KH
On Fri, Dec 08, 2006 at 02:06:42PM +0100, Marcel Holtmann wrote: Hi Jiri, Greg, should I prepare a new version of the generic HID patches against merged Linus' + Dmitry's trees and send them to you? yes please, because Linus already merged Dmitry's patches. I suggest

Re: What was in the x86 merge for .20

2006-12-08 Thread Andi Kleen
Something related (git tree fetched 1-2h ago) ? Probably. Please send your .config. # # Automatically generated make config: don't edit # Linux kernel version: 2.6.19 # Fri Dec 8 11:40:15 2006 # CONFIG_X86_32=y I built your config and it builds fine here with gcc 4.1/binutils

Re: NFS related BUGs at shutdown - do_exit() + lock held at task exit time - 2.6.17.8

2006-12-08 Thread Trond Myklebust
On Fri, 2006-12-08 at 12:41 +0100, Jesper Juhl wrote: Greetings, I just got a kernel crash when shutting down a webserver. Nothing made it to the logs, but I managed to get a photo of the dump on screen : http://www.kernel.org/pub/linux/kernel/people/juhl/images/2.6.17.8-kernel-crash.jpg It

Re: What was in the x86 merge for .20

2006-12-08 Thread Arkadiusz Miskiewicz
On Friday 08 December 2006 19:04, Andi Kleen wrote: Something related (git tree fetched 1-2h ago) ? Probably. Please send your .config. # # Automatically generated make config: don't edit # Linux kernel version: 2.6.19 # Fri Dec 8 11:40:15 2006 # CONFIG_X86_32=y I built

[PATCH 6/6] PCI-X relaxed ordering interface

2006-12-08 Thread Stephen Hemminger
Add an interface for set/clearing relaxed ordering Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] --- drivers/net/bnx2.c | 10 +--- drivers/net/tg3.c |4 --- drivers/pci/pci.c | 58 include/linux/pci.h |2 + 4 files

[patch 1/2] agpgart - allow user-populated memory types.

2006-12-08 Thread Thomas Hellström
This patch allows drm to populate an agpgart structure with pages of its own. It's needed for the new drm memory manager which dynamically flips pages in and out of AGP. The patch modifies the generic functions as well as the intel agp driver. The intel drm driver is currently the only one

[PATCH 2/6] e1000: use pcix_set_mmrbc

2006-12-08 Thread Stephen Hemminger
Use new pcix_set_mmrbc interface, this prevents possible data corruption on broken PCI-X chipsets. The E1000 PCI hardware wrappers are a nuisance. Untested on real hardware. Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] --- drivers/net/e1000/e1000_hw.c | 23 ++-

[PATCH 3/6] PCI Express get/set read request size

2006-12-08 Thread Stephen Hemminger
Add PCI infrastructure for setting read request size. The pcie_get_readrq is commented out because there are no drivers that need it. --- drivers/pci/pci.c | 65 +++- include/linux/pci.h |4 ++- 2 files changed, 67 insertions(+), 2

Re: -mm merge plans for 2.6.20

2006-12-08 Thread Steve French
akpm wrote: deprecate-smbfs-in-favour-of-cifs.patch deprecate-smbfs-in-favour-of-cifs-docs.patch Am still waiting to hear from sfrench on the appropriateness of this. smbfs deprecation is ok but there are a few things to consider: 1) Secure mounts: although more secure mounts are possible

[PATCH 4/6] MTHCA driver (infiniband) use new pci interfaces

2006-12-08 Thread Stephen Hemminger
Use new pci interfaces to set read request tuning values Untested because of lack of hardware. Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] --- drivers/infiniband/hw/mthca/mthca_main.c | 38 +++ 1 file changed, 9 insertions(+), 29 deletions(-) ---

[patch 2/2] agpgart - Remove unnecessary flushes.

2006-12-08 Thread Thomas Hellström
This patch is to speed up flipping of pages in and out of the AGP aperture as needed by the new drm memory manager. A number of global cache flushes are removed as well as some PCI posting flushes. The following guidelines have been used: 1) Memory that is only mapped uncached and that has

Re: What was in the x86 merge for .20

2006-12-08 Thread Siddha, Suresh B
On Fri, Dec 08, 2006 at 06:10:29PM +0100, Andi Kleen wrote: Yes please check the mainline git tree. Ok. I think I am the culprit :( Andi, Attached patch should fix the panic issue that Andrew encountered. Andrew, please confirm. Andi, if you are applying Ingo's genapic changes and reverting

[PATCH 0/6] PCI-X/PCI-Express read control interfaces

2006-12-08 Thread Stephen Hemminger
This patch set adds hooks to set PCI-X max read request size and PCI-Express read request size. It is important that this be a PCI subsystem function rather than a per device hack. That way, the PCI system quirks can be used if needed. -- - To unsubscribe from this list: send the line

[PATCH 1/6] PCI-X Max Read Byte Count interface

2006-12-08 Thread Stephen Hemminger
Add interface to allow setting PCI-X Max Memory Read Byte Count The get interface is commented out because there are no drivers that need it. The AMD 8131 chipset has a number of errata's related to PCI-X configuration. The BIOS sets initial value correctly, but if a device changes MMRBC it could

Re: [patch][rfc] rwsem: generic rwsem

2006-12-08 Thread David Howells
Nick Piggin [EMAIL PROTECTED] wrote: Look at how the counter works in the XADD-based version. That's the way it is *because* I'm using XADD. That's quite limiting. Not really. ll/sc architectures emulate xadd the same as they would emulate a spinlock. There is nothing suboptimal about

Re: [PATCH 3/3] WorkStruct: Use direct assignment rather than cmpxchg()

2006-12-08 Thread David Howells
Russell King [EMAIL PROTECTED] wrote: These are the constant versions, where the compiler can optimise the mask and word offset itself. So my inclusion of ARM is correct... Under some circumstances it will write to the target word when it wouldn't actually make a change: static

Re: [PATCH] netpoll: make arp replies through netpoll use mac address of sender

2006-12-08 Thread Neil Horman
On Fri, Dec 08, 2006 at 12:07:27AM -0800, David Miller wrote: From: Neil Horman [EMAIL PROTECTED] Date: Thu, 7 Dec 2006 14:45:53 -0500 Back in 2.4 arp requests that were recevied by netpoll were processed in netconsole_receive_skb, where they were responded to using the src mac of the

[PATCH] WorkStruct: Fix S390 driver workstruct usage

2006-12-08 Thread David Howells
Fix S390 driver workstruct reduction problems. Signed-Off-By: David Howells [EMAIL PROTECTED] --- drivers/s390/char/ctrlchar.c |9 + drivers/s390/char/tape.h |3 ++- drivers/s390/char/tape_34xx.c | 26 -- drivers/s390/char/tape_block.c | 13

[PATCH] WorkStruct: Fix ieee80211-softmac compile problem

2006-12-08 Thread David Howells
Fix ieee80211-softmac compile problem where it's using schedule_work() on a delayed_work struct. Signed-Off-By: David Howells [EMAIL PROTECTED] --- net/ieee80211/softmac/ieee80211softmac_assoc.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

Re: [PATCH] WorkStruct: Implement generic UP cmpxchg() where an arch doesn't support it

2006-12-08 Thread Russell King
On Thu, Dec 07, 2006 at 03:06:06PM +, Russell King wrote: On Wed, Dec 06, 2006 at 11:05:22AM -0800, Linus Torvalds wrote: On Wed, 6 Dec 2006, Christoph Lameter wrote: I'd really appreciate a cmpxchg that is generically available for all arches. It will allow lockless

Re: [PATCH] WorkStruct: Fix S390 driver workstruct usage

2006-12-08 Thread Martin Schwidefsky
On Fri, 2006-12-08 at 14:59 +, David Howells wrote: Fix S390 driver workstruct reduction problems. Bad timing. I just created similar patch and pushed it to git390. The only part it does not cover is the ctrlchar.c part. I hope you didn't spent too much time on this. -- blue skies,

Re: What's in git.git (stable)

2006-12-08 Thread Jakub Narebski
Junio C Hamano wrote: * The 'maint' branch has produced a new release 1.4.4.2 What happened to [ANNOUNCE] GIT 1.4.4.2 thread? -- Jakub Narebski Warsaw, Poland ShadeHawk on #git - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL

Re: [PATCH] WorkStruct: Implement generic UP cmpxchg() where an arch doesn't support it

2006-12-08 Thread Christoph Lameter
On Fri, 8 Dec 2006, Russell King wrote: I'm trying to suggest a better implementation for atomic ops rather than just bowing to this x86-centric cmpxchg is the best, everyone must implement it mentality. cmpxchg is the simplest solution to realize many other atomic operations and its widely

Re: [PATCH] WorkStruct: Implement generic UP cmpxchg() where an arch doesn't support it

2006-12-08 Thread Russell King
On Fri, Dec 08, 2006 at 08:06:23AM -0800, Christoph Lameter wrote: On Fri, 8 Dec 2006, Russell King wrote: I'm trying to suggest a better implementation for atomic ops rather than just bowing to this x86-centric cmpxchg is the best, everyone must implement it mentality. cmpxchg is the

Re: [PATCH] WorkStruct: Implement generic UP cmpxchg() where an arch doesn't support it

2006-12-08 Thread Christoph Lameter
On Fri, 8 Dec 2006, Russell King wrote: You're advocating cmpxchg is adopted by all architectures. It isn't available on many architectures, and those which it can be requires unnecessarily complicated coding. Not having cmpxchg is even worse because it requires the introduction and

Re: UML and fastcall/FASTCALL

2006-12-08 Thread Jeff Dike
On Fri, Dec 08, 2006 at 01:59:28PM +0100, Adrian Bunk wrote: UML on i386 is now the only case where fastcall/FASTCALL is not a noop. If i386 doesn't use it any more, then UML shouldn't either. The only reason there's support for it in UML is that I was copying i386.

Re: [PATCH] WorkStruct: Implement generic UP cmpxchg() where an arch doesn't support it

2006-12-08 Thread Russell King
On Fri, Dec 08, 2006 at 08:43:09AM -0800, Christoph Lameter wrote: On Fri, 8 Dec 2006, Russell King wrote: You're advocating cmpxchg is adopted by all architectures. It isn't available on many architectures, and those which it can be requires unnecessarily complicated coding. Not

Re: [PATCH] WorkStruct: Implement generic UP cmpxchg() where an arch doesn't support it

2006-12-08 Thread David Howells
Christoph Lameter [EMAIL PROTECTED] wrote: cmpxchg is the simplest solution to realize many other atomic operations and its widely available on a wide variety of platforms. But by no means all. Where it doesn't exist it can only be properly emulated by something such as LL/SC if they are

Re: [PATCH] WorkStruct: Implement generic UP cmpxchg() where an arch doesn't support it

2006-12-08 Thread Christoph Lameter
On Fri, 8 Dec 2006, Russell King wrote: Not having cmpxchg is even worse because it requires the introduction and maintenance of large sets of arch specific operations. Much more complex. And which bit of not available on many architectures have you not grasped yet? We discussed various

Re: [PATCH] WorkStruct: Implement generic UP cmpxchg() where an arch doesn't support it

2006-12-08 Thread Russell King
On Fri, Dec 08, 2006 at 08:53:22AM -0800, Christoph Lameter wrote: On Fri, 8 Dec 2006, Russell King wrote: Not having cmpxchg is even worse because it requires the introduction and maintenance of large sets of arch specific operations. Much more complex. And which bit of not

Re: [PATCH] WorkStruct: Implement generic UP cmpxchg() where an arch doesn't support it

2006-12-08 Thread Christoph Lameter
On Fri, 8 Dec 2006, David Howells wrote: It is the most universal atomic instruction that I know of. I think TAS-type things and XCHG-type things are more common. Huh? The most popular architectures are i386 x86_64 sparc ia64 etc which all have one or the other form of cmpxchg (some issues

Re: [PATCH] WorkStruct: Implement generic UP cmpxchg() where an arch doesn't support it

2006-12-08 Thread Russell King
On Fri, Dec 08, 2006 at 09:06:00AM -0800, Christoph Lameter wrote: On Fri, 8 Dec 2006, David Howells wrote: It is the most universal atomic instruction that I know of. I think TAS-type things and XCHG-type things are more common. Huh? The most popular architectures are i386 x86_64

Re: [PATCH] WorkStruct: Implement generic UP cmpxchg() where an arch doesn't support it

2006-12-08 Thread Christoph Lameter
On Fri, 8 Dec 2006, Russell King wrote: As proven previously the reverse is also true. And as shown previously the cheaper out of the two for all platforms is the LL/SC based implementation, where the architecture specific implementation can be _either_ LL/SC based or cmpxchg based depending

Re: RFC: PCI quirks update for 2.6.16

2006-12-08 Thread Adrian Bunk
On Thu, Dec 07, 2006 at 09:45:56PM +0100, Tomek Koprowski wrote: On Thursday 07 of December 2006 20:54, Jean Delvare wrote: Tomasz Koprowski (1): PCI: SMBus unhide on HP Compaq nx6110 Bug #6944 might be related to this one, so I'd not include it in 2.6.16-stable. Actually,

[PATCH] libata: fix oops with sparsemem

2006-12-08 Thread Arnd Bergmann
libata incorrectly passes NULL arguments to sg_set_buf, which crashes on powerpc64 when looking for the corresponding mem_section. This introduces a new ata_exec_nodma() wrapper that takes no buffer arguments and does not call sg_set_buf either. In order to make it easier to detect this sort of

Re: [PATCH] WorkStruct: Implement generic UP cmpxchg() where an arch doesn't support it

2006-12-08 Thread Linus Torvalds
On Fri, 8 Dec 2006, David Howells wrote: In fact I think more things have LL/SC than have CMPXCHG. But you cannot expose ll/sc to C, so that's a bogus argument. If you do ll/sc, you need to program in assembly language. Linus - To unsubscribe from this list: send the line

Re: [PATCH] WorkStruct: Fix S390 driver workstruct usage

2006-12-08 Thread Al Viro
On Fri, Dec 08, 2006 at 02:59:40PM +, David Howells wrote: diff --git a/drivers/s390/char/ctrlchar.c b/drivers/s390/char/ctrlchar.c index 49e9628..9fcfe3a 100644 --- a/drivers/s390/char/ctrlchar.c +++ b/drivers/s390/char/ctrlchar.c @@ -15,15 +15,16 @@ #include linux/ctype.h #include

Re: [PATCH] WorkStruct: Fix S390 driver workstruct usage

2006-12-08 Thread Al Viro
On Fri, Dec 08, 2006 at 05:33:43PM +, Al Viro wrote: [snip] my apologies if that got sent more than once ;-/ - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at

Loud POP from sound system during module init w/ 2.6.19

2006-12-08 Thread Ian E. Morgan
Since upgrading to 2.6.19, two of my boxes (one workstation, one notebook) started making a very loud (and scary) POP from the sound system when the alsa modules are loaded. Unloading and reloading the modules will generate another pop. I have removed any fiddling of mixer settings during module

Re: Linux slack space question

2006-12-08 Thread linux-os \(Dick Johnson\)
On Fri, 8 Dec 2006, Maria Short wrote: I have a question regarding how the Linux kernel handles slack space. I know that the ext3 filesystems typically use 1,2 or 4 KB blocks and if a file is not an even multiple of the block size then the last allocated block will not be completely filled,

[PATCH 5/6] QLA2 use pci read tuning interface

2006-12-08 Thread Stephen Hemminger
(Resend of earlier patch, driver name conflicts with porn filters) Use new PCI read tuning interface. This makes sure driver doesn't run into PCI chipset errata problems now or in future. Untested on real hardware. Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] ---

PPC compiler error (redefinition of 'struct bug_entry')

2006-12-08 Thread Meelis Roos
This if from todays git (2006-12-08): CC arch/ppc/kernel/asm-offsets.s In file included from arch/ppc/include/asm/bug.h:97, from include/linux/kernel.h:18, from include/asm/system.h:7, from include/linux/list.h:9, from

Re: [PATCH] efi is_memory_available ia64 hack build fix

2006-12-08 Thread Randy Dunlap
On Fri, 8 Dec 2006 02:53:12 -0800 Andrew Morton wrote: On Fri, 08 Dec 2006 02:33:36 -0800 Paul Jackson [EMAIL PROTECTED] wrote: The addition of an is_available_memory() routine to some arch i386 code, along with an extern for it in efi.h, caused the ia64 build to fail, which has the

[RFC] Cleanup slab headers / API to allow easy addition of new slab allocators

2006-12-08 Thread Christoph Lameter
This is a response to an earlier discussion on linux-mm about splitting slab.h components per allocator. Patch is against 2.6.19-git11. See http://marc.theaimsgroup.com/?l=linux-mmm=116469577431008w=2 This patch cleans up the slab header definitions. We define the common functions of slob and

[PATCH] fs/jfs: fix error due to PF_* undeclared

2006-12-08 Thread Richard Knutsson
CC [M] fs/jfs/jfs_txnmgr.o In file included from fs/jfs/jfs_txnmgr.c:49: include/linux/freezer.h: In function ‘frozen’: include/linux/freezer.h:9: error: dereferencing pointer to incomplete type include/linux/freezer.h:9: error: ‘PF_FROZEN’ undeclared (first use in this function) snip

Re: [PATCH] fs/jfs: fix error due to PF_* undeclared

2006-12-08 Thread Randy Dunlap
On Fri, 08 Dec 2006 19:56:20 +0100 Richard Knutsson wrote: CC [M] fs/jfs/jfs_txnmgr.o In file included from fs/jfs/jfs_txnmgr.c:49: include/linux/freezer.h: In function ‘frozen’: include/linux/freezer.h:9: error: dereferencing pointer to incomplete type include/linux/freezer.h:9: error:

Re: [patch 01/13] io-accounting: core statistics

2006-12-08 Thread Andrew Morton
On Fri, 08 Dec 2006 13:04:15 +0100 Eric Dumazet [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] a écrit : From: Andrew Morton [EMAIL PROTECTED] The present per-task IO accounting isn't very useful. It simply counts the number of bytes passed into read() and write(). So if a process reads

Re: NFS related BUGs at shutdown - do_exit() + lock held at task exit time - 2.6.17.8

2006-12-08 Thread Jesper Juhl
On 08/12/06, Trond Myklebust [EMAIL PROTECTED] wrote: On Fri, 2006-12-08 at 12:41 +0100, Jesper Juhl wrote: Greetings, I just got a kernel crash when shutting down a webserver. Nothing made it to the logs, but I managed to get a photo of the dump on screen :

Re: What was in the x86 merge for .20

2006-12-08 Thread Andi Kleen
binutils-2.17.50.0.8-1.i686 gcc-4.2.0-0.20061206r119598.2.i686 Hmm, that's not even a release -- afaik gcc 4.2 isn't out yet. Can you please do make arch/i386/math-emu/fpu_entry.i make arch/i386/math-emu/fpu_entry.s and send me the resulting .i and .s files privately? -Andi - To

<    1   2   3   4   5   6   7   8   >