[PATCH 0/13] cxgb3 - driver updates

2007-08-10 Thread divy
Hi Jeff, I'm submitting a patch series for inclusion in netdev#upstream. Here is a brief description: - MAC hang workaround update - Modify max HW Rx coalescing size - Log SGE doorbell Fifo overflow - Use Tx immediate data for offload packets whenever possible - RDMA

[PATCH 0/13] cxgb3 - driver updates

2007-08-10 Thread divy
Hi Jeff, I'm submitting a patch series for inclusion in netdev#upstream. Here is a brief description: - MAC hang workaround update - Modify max HW Rx coalescing size - Log SGE doorbell Fifo overflow - Use Tx immediate data for offload packets whenever possible - RDMA

Re: [PATCH] do not export /usr/include/scsi in make headers_install

2007-08-10 Thread David Woodhouse
On Mon, 2007-08-06 at 15:02 +0200, Olaf Hering wrote: > On Mon, Aug 06, Christoph Hellwig wrote: > > > On Mon, Aug 06, 2007 at 02:45:46PM +0200, Olaf Hering wrote: > > > > > > glibc and make headers_install_all provide /usr/include/scsi > > > One of them has to go. > > > > > > A quick diff shows

Re: [SCSI] aic94xx: new driver

2007-08-10 Thread David Woodhouse
On Sat, 2007-08-11 at 04:49 +0100, Christoph Hellwig wrote: > On Fri, Aug 10, 2007 at 11:09:22PM +0800, David Woodhouse wrote: > > The files in /usr/include/scsi are actually shipped by glibc, and most > > distributions use glibc's version instead of the one from the kernel -- > > so this additiona

[PATCH 12/13] cxgb3 - log and clear PEX errors

2007-08-10 Thread Divy Le Ray
From: Divy Le Ray <[EMAIL PROTECTED]> Clear pciE PEX errors late at module load time. Log details when PEX errors occur. Signed-off-by: Divy Le Ray <[EMAIL PROTECTED]> --- drivers/net/cxgb3/t3_hw.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/drivers/net/cxgb3/t

Re: Documentation files in html format?

2007-08-10 Thread Stefan Richter
Rene Herman wrote: > On 08/10/2007 10:12 PM, Sam Ravnborg wrote: > >>> What primary requirements does in-tree Linux kernel documentation have >>> to fulfill in general? >> >> Skipping the obvious ones such as correct, up-to-date etc. >> o Readable as-is >> o Grepable >> o buildable as structured d

[PATCH 13/13] cxgb3 - test MSI capabilities

2007-08-10 Thread Divy Le Ray
From: Divy Le Ray <[EMAIL PROTECTED]> Check that the HW in really in MSI/MSI-X mode when it was succesfully enabled. Signed-off-by: Divy Le Ray <[EMAIL PROTECTED]> --- drivers/net/cxgb3/cxgb3_main.c | 42 drivers/net/cxgb3/regs.h |4 2 f

[PATCH 11/13] cxgb3 - Firmware update

2007-08-10 Thread Divy Le Ray
From: Divy Le Ray <[EMAIL PROTECTED]> Update firmware version Allow the driver to be up and running with older FW image Signed-off-by: Divy Le Ray <[EMAIL PROTECTED]> --- drivers/net/cxgb3/common.h |2 +- drivers/net/cxgb3/cxgb3_main.c |9 + drivers/net/cxgb3/t3_hw.c |

[PATCH 6/13] cxgb3 - tighten checks on TID values

2007-08-10 Thread Divy Le Ray
From: Divy Le Ray <[EMAIL PROTECTED]> Enforce validity checks on connection ids Signed-off-by: Divy Le Ray <[EMAIL PROTECTED]> --- drivers/net/cxgb3/cxgb3_defs.h| 20 ++-- drivers/net/cxgb3/cxgb3_offload.c | 28 +++- 2 files changed, 41 insertions

[PATCH 10/13] cxgb3 - engine microcode update

2007-08-10 Thread Divy Le Ray
From: Divy Le Ray <[EMAIL PROTECTED]> Load microcode engine when the interface is configured up. Bump up version to 1.1.0. Allow the driver to be and running with older microcode images. Allow ethtool to log the microcode version. Signed-off-by: Divy Le Ray <[EMAIL PROTECTED]> --- drivers/net/c

[PATCH 9/13] cxgb3 - Update internal memory management

2007-08-10 Thread Divy Le Ray
From: Divy Le Ray <[EMAIL PROTECTED]> Set PM1 internal memory to round robin mode Signed-off-by: Divy Le Ray <[EMAIL PROTECTED]> --- drivers/net/cxgb3/regs.h |2 ++ drivers/net/cxgb3/t3_hw.c |2 ++ 2 files changed, 4 insertions(+), 0 deletions(-) diff --git a/drivers/net/cxgb3/regs.h

[PATCH 8/13] cxgb3 - log adapter derial number

2007-08-10 Thread Divy Le Ray
From: Divy Le Ray <[EMAIL PROTECTED]> Log HW serial number when cxgb3 module is loaded. Signed-off-by: Divy Le Ray <[EMAIL PROTECTED]> --- drivers/net/cxgb3/common.h |2 ++ drivers/net/cxgb3/cxgb3_main.c |6 -- drivers/net/cxgb3/t3_hw.c |3 ++- 3 files changed, 8 insert

[PATCH 4/13] cxgb3 - use immediate data for offload Tx

2007-08-10 Thread Divy Le Ray
From: Divy Le Ray <[EMAIL PROTECTED]> Send small TX_DATA work requests as immediate data even when there are fragments. Signed-off-by: Divy Le Ray <[EMAIL PROTECTED]> --- drivers/net/cxgb3/sge.c | 17 +++-- 1 files changed, 11 insertions(+), 6 deletions(-) diff --git a/drivers/ne

[PATCH 5/13] cxgb3 - Expose HW memory page info

2007-08-10 Thread Divy Le Ray
From: Divy Le Ray <[EMAIL PROTECTED]> Let the RDMA driver get HW page info to work around HW issues. Assign explicit enum values. Signed-off-by: Divy Le Ray <[EMAIL PROTECTED]> --- drivers/net/cxgb3/cxgb3_ctl_defs.h | 52 +--- drivers/net/cxgb3/cxgb3_offload.c

[PATCH 7/13] cxgb3 - Fatal error update

2007-08-10 Thread Divy Le Ray
From: Divy Le Ray <[EMAIL PROTECTED]> Stop the MAC when a fatal error is detected. Signed-off-by: Divy Le Ray <[EMAIL PROTECTED]> --- drivers/net/cxgb3/cxgb3_main.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/drivers/net/cxgb3/cxgb3_main.c b/drivers/net/cxgb3/cxg

[PATCH 2/13] cxgb3 - Update rx coalescing length

2007-08-10 Thread Divy Le Ray
From: Divy Le Ray <[EMAIL PROTECTED]> Set max Rx coalescing length to 12288 Signed-off-by: Divy Le Ray <[EMAIL PROTECTED]> --- drivers/net/cxgb3/common.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/cxgb3/common.h b/drivers/net/cxgb3/common.h index c46c2

[PATCH 3/13] cxgb3 - SGE doorbell overflow warning

2007-08-10 Thread Divy Le Ray
From: Divy Le Ray <[EMAIL PROTECTED]> Log doorbell Fifo overflow Signed-off-by: Divy Le Ray <[EMAIL PROTECTED]> --- drivers/net/cxgb3/regs.h |8 drivers/net/cxgb3/sge.c |4 2 files changed, 12 insertions(+), 0 deletions(-) diff --git a/drivers/net/cxgb3/regs.h b/drivers/

[PATCH 1/13] cxgb3 - MAC workaround update

2007-08-10 Thread Divy Le Ray
From: Divy Le Ray <[EMAIL PROTECTED]> Update the MAC workaround to deal with switches that do not honor pause frames. Signed-off-by: Divy Le Ray <[EMAIL PROTECTED]> --- drivers/net/cxgb3/common.h |1 + drivers/net/cxgb3/xgmac.c | 22 +++--- 2 files changed, 12 insertions(

Re: [PATCH 0/2] writeback dirty inodes fixes

2007-08-10 Thread Fengguang Wu
On Sat, Aug 11, 2007 at 02:02:02PM +0800, Fengguang Wu wrote: > Andrew, > > Now the patches are simplified and rebased to 2.6.23-rc2-mm2. > > The following two patches should be put immediately after > writeback-fix-periodic-superblock-dirty-inode-flushing.patch: > > writeback: fix time orderin

Re: Software based ECC ?

2007-08-10 Thread Valdis . Kletnieks
On Fri, 10 Aug 2007 23:16:45 +0200, roland said: > http://pdos.csail.mit.edu/papers/softecc:ddopson-meng/softecc_ddopson-meng.pdf > > "SoftECC : A System for Software Memory Integrity Checking" > > Is it possible to implement something like this within the Linux virtual > memory subsystem ? Any

[PATCH 2/2] writeback: fix ntfs with sb_has_dirty_inodes()

2007-08-10 Thread Fengguang Wu
NTFS's if-condition on dirty inodes is not complete. Fix it with sb_has_dirty_inodes(). Cc: Anton Altaparmakov <[EMAIL PROTECTED]> Cc: Ken Chen <[EMAIL PROTECTED]> Cc: Andrew Morton <[EMAIL PROTECTED]> Signed-off-by: Fengguang Wu <[EMAIL PROTECTED]> --- --- fs/fs-writeback.c |9 - fs

[PATCH 0/2] writeback dirty inodes fixes

2007-08-10 Thread Fengguang Wu
Andrew, Now the patches are simplified and rebased to 2.6.23-rc2-mm2. The following two patches should be put immediately after writeback-fix-periodic-superblock-dirty-inode-flushing.patch: writeback: fix time ordering of the per superblock inode lists 8 writeback: fix ntfs with sb_has_dirt

[PATCH 1/2] writeback: fix time ordering of the per superblock inode lists 8

2007-08-10 Thread Fengguang Wu
Fix the time ordering bug re-introduced by writeback-fix-periodic-superblock-dirty-inode-flushing.patch. It works by never move not-yet-expired dirty inodes from s_dirty to s_io, *only to* move them back. The move-inodes-back-and-forth thing is a mess. Cc: Ken Chen <[EMAIL PROTECTED]> Cc: Andrew

Re: CFS review

2007-08-10 Thread Willy Tarreau
On Sat, Aug 11, 2007 at 12:50:08AM +0200, Roman Zippel wrote: > Hi, > > On Fri, 10 Aug 2007, Ingo Molnar wrote: > > > achieve that. It probably wont make a real difference, but it's really > > easy for you to send and it's still very useful when one tries to > > eliminate possibilities and when

Re: Documentation files in html format?

2007-08-10 Thread Willy Tarreau
On Sat, Aug 11, 2007 at 01:08:30AM +0200, Sam Ravnborg wrote: > > > > The problem I have with asciidoc is that it's a nightmare to get it > > to work. It's what GIT uses, and after spending a whole day trying > > to *build* that thing, I finally resigned and asked Junio if he could > > publish the

Re: CFS review

2007-08-10 Thread Willy Tarreau
On Fri, Aug 10, 2007 at 11:15:55PM +0200, Roman Zippel wrote: > Hi, > > On Fri, 10 Aug 2007, Willy Tarreau wrote: > > > fortunately all bug reporters are not like you. It's amazing how long > > you can resist sending a simple bug report to a developer! > > I'm more amazed how long Ingo can resis

Re: [PATCH 00/23] per device dirty throttling -v8

2007-08-10 Thread Valdis . Kletnieks
On Fri, 10 Aug 2007 00:04:45 EDT, Bill Davidsen said: > > I never imagined that itwas the 20%+ hit that is being described, and > > with so little impact, or I would have switched to it across the board > > years ago. > > > To get that magnitude you need slow disk with very fast CPU. It helps

Re: [patch 3/4] Enable link power management for ata drivers

2007-08-10 Thread Valdis . Kletnieks
On Thu, 09 Aug 2007 14:24:16 PDT, Kristen Carlson Accardi said: > +++ 2.6-git/drivers/ata/libata-scsi.c > @@ -2904,6 +2976,52 @@ void ata_scsi_simulate(struct ata_device > + if ((dev->horkage & ATA_HORKAGE_IPM) || > + !(dev->flags & ATA_DFLAG_IPM)) { > +

Re: Serial ports rearranged in 2.6.22?

2007-08-10 Thread Yinghai Lu
On 8/10/07, Michael Mauch <[EMAIL PROTECTED]> wrote: > Hi, > > until 2.6.21, I had the normal assignments for ttyS0 and ttyS1: > > 00:08: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A > 00:09: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A > > With 2.6.22 I get the names <-> ports/irqs the other way around: >

Re: 2.6.23-rc2-mm1: rcutorture xtime usage

2007-08-10 Thread Paul E. McKenney
On Fri, Aug 10, 2007 at 05:29:49PM -0700, Paul E. McKenney wrote: > > Errmmm... No joy. > > ERROR: "cpu_clock" [kernel/rcutorture.ko] undefined! > > Turns out that cpu_clock also ain't exported, and rcutorture.c is > a module. Would adding an EXPORT_SYMBOL_GPL() as in the patch below > b

Re: early boot lockup with 2.6.23-rc1

2007-08-10 Thread Mikko Rapeli
On Fri, Aug 10, 2007 at 10:20:31PM +0300, Mikko Rapeli wrote: > I've bisected thus far, if it helps: Bisect came to this conclusion: git-bisect start # good: [4eb6bf6bfb580afaf1e1a1d30cba17a078530cf4] lots-of-architectures: enable arbitary speed tty support git-bisect good 4eb6bf6bfb580afaf1e1a1

Re: [PATCH 1/24] make atomic_read() behave consistently on alpha

2007-08-10 Thread Valdis . Kletnieks
On Sat, 11 Aug 2007 02:38:40 +0200, Segher Boessenkool said: > >> That means GCC cannot compile Linux; it already optimises > >> some accesses to scalars to smaller accesses when it knows > >> it is allowed to. Not often though, since it hardly ever > >> helps in the cost model it employs. > > > >

Re: [PATCH 6/24] make atomic_read() behave consistently on frv

2007-08-10 Thread Paul E. McKenney
On Sat, Aug 11, 2007 at 08:54:46AM +0800, Herbert Xu wrote: > Chris Snook <[EMAIL PROTECTED]> wrote: > > > > cpu_relax() contains a barrier, so it should do the right thing. For > > non-smp architectures, I'm concerned about interacting with interrupt > > handlers. Some drivers do use atomic_*

Re: [SCSI] aic94xx: new driver

2007-08-10 Thread Christoph Hellwig
On Fri, Aug 10, 2007 at 11:09:22PM +0800, David Woodhouse wrote: > The files in /usr/include/scsi are actually shipped by glibc, and most > distributions use glibc's version instead of the one from the kernel -- > so this additional userspace interface is automatically incompatible > with most peop

Re: [PATCH 3/20] Introduce MS_KERNMOUNT flag

2007-08-10 Thread Christoph Hellwig
On Fri, Aug 10, 2007 at 03:47:55PM +0400, [EMAIL PROTECTED] wrote: > This flag tells the .get_sb callback that this is a kern_mount() call > so that it can trust *data pointer to be valid in-kernel one. If this > flag is passed from the user process, it is cleared since the *data > pointer is not a

Re: [PATCH 0/7] Modify lguest32 to make room for lguest64

2007-08-10 Thread Rusty Russell
On Wed, 2007-08-08 at 20:32 -0400, Steven Rostedt wrote: > Hi all, > > I've been working on lguest64 and in order to do this, I had to move > a lot of the i386 specific out of the way. Well, the lguest64 port > is still not ready to display, but before Rusty makes too many changes > I would like

Re: [2.6 patch] cpqphp_ctrl.c: remove dead code

2007-08-10 Thread Christoph Hellwig
On Thu, Aug 09, 2007 at 03:47:02PM -0700, Kristen Carlson Accardi wrote: > fine by me - let's NAK this patch (and all future ones for this driver) until > someone with hardware steps up to maintain this driver. Eventually it > will just die I guess. Very bad idea. For example I sent a patch ag

[RFC] Adding a TIF_KERNEL_TRACE to thread_info.h, s390 and ia64 8 bit limit

2007-08-10 Thread Mathieu Desnoyers
Hi, I would like to add a TIF_KERNEL_TRACE that would have the same effect as TIF_SYSCALL_TRACE, which is to call into do_syscall_trace when enabled. It would be enabled by setting it in each thread info structure (and protected against racy thread creation with proper flag copy from the parent th

Re: [PATCH 5/7] Change lguest launcher to use asm generic include

2007-08-10 Thread Rusty Russell
On Wed, 2007-08-08 at 20:32 -0400, Steven Rostedt wrote: > plain text document attachment > (0005-Change-lguest-launcher-to-use-asm-generic-include-instead-of-explicitly.txt) > Have the lguest launcher include e820.h via asm/e820.h instead of explicitly > saying i386. > > Signed-off-by: Steven Ros

2.6.23-rc2-mm2 build error on MIPS and ARM

2007-08-10 Thread Mathieu Desnoyers
Hi Andrew, I got the following errors when building 2.6.23-rc2-mm2 on both mips and arm. Both errors are very much alike. MIPS: /opt/crosstool/gcc-3.4.5-glibc-2.3.6/mips-unknown-linux-gnu/lib/gcc/mips-unknown-linux-gnu/3.4.5/include -D__KERNEL__ -Iinclude -Iinclude2 -I/home/compudj/git/linux-

Re: [PATCH 00/25] move handling of setuid/gid bits from VFS into individual setattr functions (RESEND)

2007-08-10 Thread Christoph Hellwig
On Fri, Aug 10, 2007 at 04:47:52PM -0400, Jeff Layton wrote: > attr->ia_valid after the setattr operation returns. If either ATTR_KILL_* > bit is set then BUG(). The helper function already clears those bits > so anything using it should automatically be ok. We'd have to fix > up NFS and a few othe

Process stuck in md_wakeup_thread

2007-08-10 Thread Russ Dill
On 2.6.22 from debian (stock), I have a process (dpkg) stuck with the following calltrace: SysRq : Show Blocked State freesibling task PCstack pid father child younger older dpkg D 0003 0 26040 20765 (NOTLB)

Re: [lm-sensors] 2.6.23-rc1 regression: hwmon/w83627ehf: wrong fan speed

2007-08-10 Thread David Hubbard
Hi Stefan, (Replying to everyone on the list, sorry!) On 8/10/07, Stefan Richter <[EMAIL PROTECTED]> wrote: > Should I hardwire correct dividers or pulse per rev in sensors.conf or > is the driver supposed to work the correct dividers out --- like it did > before 2.6.23-rc? The dividers are read-

Re: Disk spin down issue on shut down/suspend to disk

2007-08-10 Thread Robert Hancock
Thomas Renninger wrote: On Thu, 2007-08-09 at 15:16 +, Pavel Machek wrote: Hi! firmwarekit-discuss <[EMAIL PROTECTED]> (added to CC list) see: http://linuxfirmwarekit.org/ But if I understand this problem right, this won't be easy. The ACPI tables are just parsed with system ("iasl ...")

Re: [PATCH 3/4] Embed zone_id information within the zonelist->zones pointer

2007-08-10 Thread Andi Kleen
On Friday 10 August 2007 21:02, Christoph Lameter wrote: > On Fri, 10 Aug 2007, Andi Kleen wrote: > > > x86_64 does not support ZONE_HIGHMEM. > > > > I also plan to eliminate ZONE_DMA soon (and replace all its users > > with a new allocator that sits outside the normal fallback lists) > > Halleluja

Re: [PATCH 6/24] make atomic_read() behave consistently on frv

2007-08-10 Thread Herbert Xu
Chris Snook <[EMAIL PROTECTED]> wrote: > > cpu_relax() contains a barrier, so it should do the right thing. For > non-smp architectures, I'm concerned about interacting with interrupt > handlers. Some drivers do use atomic_* operations. What problems with interrupt handlers? Access to int/lon

[PATCH] x86: make io-apic not connected pin print complete

2007-08-10 Thread Yinghai Lu
[PATCH] x86: make io-apic not connected pin print complete normally will have two segment not connected pin pin0, and pin after 15... so need to print out "not connected\n" for previous segment, before print out connected pins info... Signed-off-by: Yinghai Lu <[EMAIL PROTECTED]> diff --git a/a

Re: [PATCH 1/24] make atomic_read() behave consistently on alpha

2007-08-10 Thread Segher Boessenkool
That means GCC cannot compile Linux; it already optimises some accesses to scalars to smaller accesses when it knows it is allowed to. Not often though, since it hardly ever helps in the cost model it employs. Please give an example code snippet + gcc version + arch to back this up. u

Re: [PATCH 1/24] make atomic_read() behave consistently on alpha

2007-08-10 Thread Herbert Xu
On Sat, Aug 11, 2007 at 02:38:40AM +0200, Segher Boessenkool wrote: > >>That means GCC cannot compile Linux; it already optimises > >>some accesses to scalars to smaller accesses when it knows > >>it is allowed to. Not often though, since it hardly ever > >>helps in the cost model it employs. > >

[PATCH] Make rcutorture RNG use locally grown entropy

2007-08-10 Thread Paul E. McKenney
This patch converts rcutorture's random-number generator from get_random_bytes() (which has locking issues in some builds with patches) to instead use local-to-rcutorture statistical counters. This involves reading other CPUs' statistics, so the frequency of entropy addition is simultaneously decr

Re: [PATCH 1/24] make atomic_read() behave consistently on alpha

2007-08-10 Thread Segher Boessenkool
That means GCC cannot compile Linux; it already optimises some accesses to scalars to smaller accesses when it knows it is allowed to. Not often though, since it hardly ever helps in the cost model it employs. Please give an example code snippet + gcc version + arch to back this up. u

Re: [PATCH 9/24] make atomic_read() behave consistently on ia64

2007-08-10 Thread Paul Mackerras
Chris Snook writes: > I'll do this for the whole patchset. Stay tuned for the resubmit. Could you incorporate Segher's patch to turn atomic_{read,set} into asm on powerpc? Segher claims that using asm is really the only reliable way to ensure that gcc does what we want, and he seems to have a p

Re: [PATCH] powerpc: Implement atomic{,64}_{read,write}() without volatile

2007-08-10 Thread Paul Mackerras
Segher Boessenkool writes: > Instead, use asm() like all other atomic operations already do. > > Also use inline functions instead of macros; this actually > improves code generation (some code becomes a little smaller, > probably because of improved alias information -- just a few > hundred byte

Re: CFS review

2007-08-10 Thread Ingo Molnar
* Ingo Molnar <[EMAIL PROTECTED]> wrote: > * Roman Zippel <[EMAIL PROTECTED]> wrote: > > > Well, I've sent him the stuff now... > > received it - thanks alot, looking at it! everything looks good in your debug output and the TSC dump data, except for the wait_runtime values, they are quite ou

Re: 2.6.23-rc2-mm1: rcutorture xtime usage

2007-08-10 Thread Paul E. McKenney
On Fri, Aug 10, 2007 at 01:30:55PM -0700, Paul E. McKenney wrote: > On Fri, Aug 10, 2007 at 10:12:12AM -0700, Andrew Morton wrote: > > On Fri, 10 Aug 2007 08:12:08 -0700 "Paul E. McKenney" <[EMAIL PROTECTED]> > > wrote: > > > > > > One used to use sched_clock() for this, then get frowned at. Now

[PATCHv2] Fix to keep watchdog disabled by default for i386/x86_64

2007-08-10 Thread Daniel Gollub
Fixed wrong expression which enabled watchdogs even if nmi_watchdog kernel parameter wasn't set. This regression got slightly introduced with commit b7471c6da94d30d3deadc55986cc38d1ff57f9ca. Introduced NMI_DISABLED (-1) which allows to switch the value of NMI_DEFAULT without breaking the APIC N

[PATCH] powerpc: Implement atomic{,64}_{read,write}() without volatile

2007-08-10 Thread Segher Boessenkool
Instead, use asm() like all other atomic operations already do. Also use inline functions instead of macros; this actually improves code generation (some code becomes a little smaller, probably because of improved alias information -- just a few hundred bytes total on a default kernel build, nothi

Re: Use of directories to hold root?

2007-08-10 Thread H. Peter Anvin
Jan Engelhardt wrote: > On Aug 10 2007 17:24, Mark Cannon wrote: >> You pass the kernel the root option to specify the root partition. >> Is there a way to identify a directory in that partition that holds the >> root or something equivalent to this? > > No, but you can use pivot_root. Or better

Re: [patch 1/2] spinlock: lockbreak cleanup

2007-08-10 Thread Andi Kleen
Nick, These two patches make my P4 (single socket HT) test box not boot. I dropped them for now. Some oopses -Andi NMI Watchdog detected LOCKUP on CPU 1 CPU 1 Modules linked in: Pid: 1648, comm: sh Not tainted 2.6.23-rc2-git3 #472 RIP: 0010:[] [] _spin_lock+0x10/0x18 RSP: 0018:81000112

Re: [PATCH 1/24] make atomic_read() behave consistently on alpha

2007-08-10 Thread Herbert Xu
On Fri, Aug 10, 2007 at 10:07:27PM +0200, Segher Boessenkool wrote: > > That means GCC cannot compile Linux; it already optimises > some accesses to scalars to smaller accesses when it knows > it is allowed to. Not often though, since it hardly ever > helps in the cost model it employs. Please g

RE: [PATCH 9/24] make atomic_read() behave consistently on ia64

2007-08-10 Thread Luck, Tony
> Here are the functions in which they occur in the object file. You > may have to chase down some inlining to find the function that > actually uses atomic_*(). Ignore this ... Andreas' patch was only two lines so I thought I'd "save time" by just hand-editing the source over on my build machine.

Re: [PATCH] Fix to keep watchdog disabled by default for i386/x86_64

2007-08-10 Thread Andi Kleen
> +#deifne NMI_DEFAULT NMI_DISABLED Actually tested? -Andi - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: Documentation files in html format?

2007-08-10 Thread Rene Herman
On 08/10/2007 10:12 PM, Sam Ravnborg wrote: What primary requirements does in-tree Linux kernel documentation have to fulfill in general? Skipping the obvious ones such as correct, up-to-date etc. o Readable as-is o Grepable o buildable as structured documents or almost like a single book o Ea

Re: [PATCH 1/4] Add ETHTOOL_[GS]FLAGS sub-ioctls

2007-08-10 Thread Rick Jones
David Miller wrote: From: Ben Greear <[EMAIL PROTECTED]> Date: Fri, 10 Aug 2007 15:40:02 -0700 For GSO on output, is there a generic fallback for any driver that does not specifically implement GSO? Absolutely, in fact that's mainly what it's there for. I don't think there is any issue. T

Re: [PATCH 02/10] mm: system wide ALLOC_NO_WATERMARK

2007-08-10 Thread Daniel Phillips
On 8/10/07, Christoph Lameter <[EMAIL PROTECTED]> wrote: > The idea of adding code to deal with "I have no memory" situations > in a kernel that based on have as much memory as possible in use at all > times is plainly the wrong approach. No. It is you who have read the patches wrongly, because w

Re: [v4l-dvb-maintainer] [2.6 patch] dvb_frontend_ioctl(): fix check-after-use

2007-08-10 Thread Trent Piepho
On Fri, 10 Aug 2007, Markus Rechberger wrote: > On 8/1/07, Manu Abraham <[EMAIL PROTECTED]> wrote: > > On 7/31/07, Adrian Bunk <[EMAIL PROTECTED]> wrote: > > > The Coverity checker spotted that we have already oops'ed if "fe" was > > NULL. > > > > > > --- linux-2.6.23-rc1-mm1/drivers/media/dvb/dvb-

Re: [PATCH 9/24] make atomic_read() behave consistently on ia64

2007-08-10 Thread Chris Snook
Linus Torvalds wrote: On Fri, 10 Aug 2007, Luck, Tony wrote: Here are the functions in which they occur in the object file. You may have to chase down some inlining to find the function that actually uses atomic_*(). Could you just make the "atomic_read()" and "atomic_set()" functions be inl

RE: [PATCH 9/24] make atomic_read() behave consistently on ia64

2007-08-10 Thread Linus Torvalds
On Fri, 10 Aug 2007, Luck, Tony wrote: > > Here are the functions in which they occur in the object file. You > may have to chase down some inlining to find the function that > actually uses atomic_*(). Could you just make the "atomic_read()" and "atomic_set()" functions be inline functions in

Re: Documentation files in html format?

2007-08-10 Thread Sam Ravnborg
> > The problem I have with asciidoc is that it's a nightmare to get it > to work. It's what GIT uses, and after spending a whole day trying > to *build* that thing, I finally resigned and asked Junio if he could > publish the pre-formatted manpages himself, which he agreed to. Bit uses in additi

[PATCH] powerfc fix for assembler -g

2007-08-10 Thread Roland McGrath
ppc64 does the unusual thing of using #include on a compiler-generated assembly file (lparmap.s) from an assembly source file (head_64.S). This runs afoul of my recent patch to pass -gdwarf2 to the assembler under CONFIG_DEBUG_INFO. This patch avoids the problem by disabling DWARF generation (-g0)

RE: [PATCH 9/24] make atomic_read() behave consistently on ia64

2007-08-10 Thread Luck, Tony
> Possibly. Either that or we've uncovered some latent bugs. Maybe a > combination of the two. Can you list those 19 changes so we can evaluate them? Here are the functions in which they occur in the object file. You may have to chase down some inlining to find the function that actually uses

Re: Noatime vs relatime

2007-08-10 Thread Rene Herman
On 08/10/2007 05:10 PM, Matti Aarnio wrote: On Fri, Aug 10, 2007 at 07:26:46AM -0700, Vlad wrote: ... "Warning: Atime will be disabled by default in future kernel versions, but you will still be able to turn it on when configuring the kernel." This should give a heads-up to the 0.001% of peop

Re: early boot lockup with 2.6.23-rc1

2007-08-10 Thread H. Peter Anvin
Mikko Rapeli wrote: > > Oops, I was wrong and bad enough to think nesting #ifdef's would work; > 2.6.23-rc2 with query_mca() to query_edd() in arch/i386/boot/main.c > commented out works. > > Sorry about that one. > OK, good. That would be consistent with the current analysis. Let me know wha

Re: CFS review

2007-08-10 Thread Roman Zippel
Hi, On Fri, 10 Aug 2007, Ingo Molnar wrote: > achieve that. It probably wont make a real difference, but it's really > easy for you to send and it's still very useful when one tries to > eliminate possibilities and when one wants to concentrate on the > remaining possibilities alone. The thin

Re: [PATCH 1/4] Add ETHTOOL_[GS]FLAGS sub-ioctls

2007-08-10 Thread David Miller
From: Ben Greear <[EMAIL PROTECTED]> Date: Fri, 10 Aug 2007 15:40:02 -0700 > For GSO on output, is there a generic fallback for any driver that > does not specifically implement GSO? Absolutely, in fact that's mainly what it's there for. I don't think there is any issue. The knob is there via e

Re: Partition information lost on reboot.

2007-08-10 Thread Rene Herman
On 08/10/2007 02:30 PM, Michal Piotrowski wrote: [Adding linux-scsi and Adaptec support to CC] On 10/08/07, Jegadeesh <[EMAIL PROTECTED]> wrote: Hi, I have a scsi disk on Adaptec ASC-29320 U320. I have created a linux partition and ext3 filesystem over it. Now the problem is, whenever the mac

Re: [PATCH 9/24] make atomic_read() behave consistently on ia64

2007-08-10 Thread Chris Snook
Luck, Tony wrote: Use atomic64_read to read an atomic64_t. Thanks Andreas! Chris: This bug is why the 8-byte loads got changed to 4-byte + sign-extend by your change to atomic_read(). I figured as much. Thanks for confirming this. With this applied together with shuffling the volatile fro

Re: 2.6.23-rc1 regression: hwmon/w83627ehf: wrong fan speed

2007-08-10 Thread Stefan Richter
I wrote: > # sensors > w83627ehf-isa-0290 > Adapter: ISA adapter > VCore: +0.95 V (min = +0.00 V, max = +1.74 V) > in1: +12.30 V (min = +1.64 V, max = +3.22 V) ALARM > AVCC: +3.28 V (min = +1.89 V, max = +1.94 V) ALARM > 3VCC: +3.26 V (min = +0.18 V, max = +0.72 V) AL

Re: [PATCH 1/4] Add ETHTOOL_[GS]FLAGS sub-ioctls

2007-08-10 Thread Ben Greear
David Miller wrote: From: Ben Greear <[EMAIL PROTECTED]> I believe LRO is going to have to be disabled for routing/bridging, so the stack will probably need to become aware of it at some point... The packet will be GSO'd on output I believe, so it won't break anything. Alternatively, we cou

Re: early boot lockup with 2.6.23-rc1

2007-08-10 Thread Mikko Rapeli
On Fri, Aug 10, 2007 at 10:20:31PM +0300, Mikko Rapeli wrote: > On Fri, Aug 10, 2007 at 09:45:31AM -0700, H. Peter Anvin wrote: > > Let me get this straight... "edd=skipmbr" boots fine, but commenting out > > the call to query_edd() didn't? Could you please try that (and, I > > guess, only that),

Re: 2.6.23-rc2-mm2

2007-08-10 Thread John W. Linville
On Fri, Aug 10, 2007 at 01:20:19PM -0700, Andrew Morton wrote: > git-wireless now has the usual git catastrophe when merging it against the > recently-discovered net-2.6.24 tree, so I'll need to do something about > that first. I have rebased the wireless-dev tree, and the mm-master branch there

RE: [PATCH 9/24] make atomic_read() behave consistently on ia64

2007-08-10 Thread Luck, Tony
> Use atomic64_read to read an atomic64_t. Thanks Andreas! Chris: This bug is why the 8-byte loads got changed to 4-byte + sign-extend by your change to atomic_read(). With this applied together with shuffling the volatile from the declaration to the usage (in both atomic_read() and atomic_set()

Re: serial patches from -mm

2007-08-10 Thread Andrew Morton
On Fri, 10 Aug 2007 14:38:35 -0700 Andrew Morton <[EMAIL PROTECTED]> wrote: > > I'll send these > > dont-optimise-away-baud-rate-changes-when-bother-is-used.patch > serial-add-support-for-ite-887x-chips.patch > serial_txx9-fix-modem-control-line-handling.patch > serial_txx9-cleanup-includes.patc

[PATCH] Fix to keep watchdog disabled by default for i386/x86_64

2007-08-10 Thread Daniel Gollub
Fixed wrong expression which enabled watchdogs even if nmi_watchdog kernel parameter wasn't set. This regression got slightly introduced with commit b7471c6da94d30d3deadc55986cc38d1ff57f9ca. Introduced NMI_DISABLED (-1) which allows to switch the value of NMI_DEFAULT without breaking the APIC N

Re: 2.6.23-rc1 regression: hwmon/w83627ehf: wrong fan speed

2007-08-10 Thread Stefan Richter
Jean Delvare wrote: > I just tried 2.6.23-rc2 on a system where I use the w83627ehf hardware > monitoring driver, and was not able to reproduce the problem you > described. Fan speeds are reported properly for me. Which I kind of > expected, as I tested all my w83627ehf patches on this system befor

BUG: when using 'brctl stp'

2007-08-10 Thread Daniel K.
I get this on the latest GIT, it was also present shortly after -rc1. I have not tested with earlier kernels. # brctl stp br0 on [ 169.672008] BUG: sleeping function called from invalid context at kernel/mutex.c:86 [ 169.672532] in_atomic():1, irqs_disabled():0 [ 169.672832] [ 169.672832] C

Re: [PATCH] flush icache before set_pte() on ia64 take9 [2/2] flush icache at set_pte

2007-08-10 Thread KAMEZAWA Hiroyuki
On Fri, 10 Aug 2007 11:17:30 -0700 "Luck, Tony" <[EMAIL PROTECTED]> wrote: > 1) In arch/ia64/mm/init.c: __ia64_sync_icache_dcache() > > - if (!pte_exec(pte)) > - return; /* not an executable page... */ > + BUG_ON(!pte_exec(pte)); > > In this latest ver

Re: Software based ECC ?

2007-08-10 Thread Alan Cox
On Fri, 10 Aug 2007 23:16:45 +0200 "roland" <[EMAIL PROTECTED]> wrote: > Hello ! > > since ECC (speaking in terms of ram/memory) is some widespread hardware > technology > within server/enterprise computing for protection of memory failure, i > wonder: > > Can`t this be done in software, too ?

Re: [PATCH 1/4] Add ETHTOOL_[GS]FLAGS sub-ioctls

2007-08-10 Thread David Miller
From: Ben Greear <[EMAIL PROTECTED]> Date: Fri, 10 Aug 2007 14:11:24 -0700 > Jeff Garzik wrote: > > > This patch copies Auke in adding NETIF_F_LRO. Is that just for > > temporary merging, or does the net core really not touch it at all? > > > > Because, logically, if NETIF_F_LRO exists nowhere

Re: [PATCH 00/16] Permit filesystem local caching [try #3]

2007-08-10 Thread Casey Schaufler
--- David Howells <[EMAIL PROTECTED]> wrote: > These patches add local caching for network filesystems such as NFS and AFS. > > FS-Cache now runs fully asynchronously as required by Trond Myklebust for > NFS. > > -- > Changes: > [try #3]: > > (*) Added missing file to CacheFiles patch. > >

[PATCH 25/25 -v2] add paravirtualization support for x86_64

2007-08-10 Thread Glauber de Oliveira Costa
This is finally, the patch we were all looking for. This patch adds a paravirt.h header with the definition of paravirt_ops struct. Also, it defines a bunch of inline functions that will replace, or hook, the other calls. Every one of those functions adds an entry in the parainstructions section (s

[PATCH 15/25 -v2] introducing paravirt_activate_mm

2007-08-10 Thread Glauber de Oliveira Costa
This function/macro will allow a paravirt guest to be notified we changed the current task cr3, and act upon it. It's up to them Signed-off-by: Glauber de Oliveira Costa <[EMAIL PROTECTED]> Signed-off-by: Steven Rostedt <[EMAIL PROTECTED]> --- include/asm-x86_64/mmu_context.h | 17 +

[PATCH 9/25 -v2] report ring kernel is running without paravirt

2007-08-10 Thread Glauber de Oliveira Costa
When paravirtualization is disabled, the kernel is always running at ring 0. So report it in the appropriate macro Signed-off-by: Glauber de Oliveira Costa <[EMAIL PROTECTED]> Signed-off-by: Steven Rostedt <[EMAIL PROTECTED]> --- include/asm-x86_64/segment.h |4 1 files changed, 4 insert

[PATCH 20/25 -v2] replace syscall_init

2007-08-10 Thread Glauber de Oliveira Costa
This patch replaces syscall_init by x86_64_syscall_init. The former will be later replaced by a paravirt replacement in case paravirt is on Signed-off-by: Glauber de Oliveira Costa <[EMAIL PROTECTED]> Signed-off-by: Steven Rostedt <[EMAIL PROTECTED]> --- arch/x86_64/kernel/setup64.c |8 ++

[PATCH 24/25 -v2] paravirt hooks for arch initialization

2007-08-10 Thread Glauber de Oliveira Costa
This patch add paravirtualization hooks in the arch initialization process. paravirt_arch_setup() lets the guest issue any specific initialization routine Also, there is memory_setup(), so guests can handle it their way. [ updates from v1 * Don't use a separate ebda pv hook (Jeremy/Andi) *

[PATCH 17/25 -v2] introduce paravirt_release_pgd()

2007-08-10 Thread Glauber de Oliveira Costa
This patch introduces a new macro/function that informs a paravirt guest when its page table is not more in use, and can be released. In case we're not paravirt, just do nothing. Signed-off-by: Glauber de Oliveira Costa <[EMAIL PROTECTED]> Signed-off-by: Steven Rostedt <[EMAIL PROTECTED]> --- inc

[PATCH 22/25 -v2] turn priviled operation into a macro

2007-08-10 Thread Glauber de Oliveira Costa
under paravirt, read cr2 cannot be issued directly anymore. So wrap it in a macro, defined to the operation itself in case paravirt is off, but to something else if we have paravirt in the game Signed-off-by: Glauber de Oliveira Costa <[EMAIL PROTECTED]> Signed-off-by: Steven Rostedt <[EMAIL PROTE

[PATCH 23/25 -v2] provide paravirt patching function

2007-08-10 Thread Glauber de Oliveira Costa
This patch introduces apply_paravirt(), a function that shall be called by i386/alternative.c to apply replacements to paravirt_functions. It is defined to an do-nothing function if paravirt is not enabled. Signed-off-by: Glauber de Oliveira Costa <[EMAIL PROTECTED]> Signed-off-by: Steven Rostedt

[PATCH 16/25 -v2] turn page operations into native versions

2007-08-10 Thread Glauber de Oliveira Costa
This patch turns the page operations (set and make a page table) into native_ versions. The operations itself will be later overriden by paravirt. Signed-off-by: Glauber de Oliveira Costa <[EMAIL PROTECTED]> Signed-off-by: Steven Rostedt <[EMAIL PROTECTED]> --- include/asm-x86_64/page.h | 36 ++

[PATCH 7/25 -v2] interrupt related native paravirt functions.

2007-08-10 Thread Glauber de Oliveira Costa
The interrupt initialization routine becomes native_init_IRQ and will be overriden later in case paravirt is on. [ updates from v1 * After a talk with Jeremy Fitzhardinge, it turned out that making the interrupt vector global was not a good idea. So it is removed in this patch ] Signed-o

  1   2   3   4   5   >