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

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

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

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 >

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

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

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

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

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

[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

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

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

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

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

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) > >

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

[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

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.

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

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.

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

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

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

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.

[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

[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,

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:

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

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

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

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.

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

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. > > > > > > ---

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

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

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

[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

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

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

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

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

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

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

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

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)

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

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

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 >

[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

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

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]

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

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

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

[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

[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]> ---

[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

[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 ]

[PATCH 14/25 -v2] get rid of inline asm for load_cr3

2007-08-10 Thread Glauber de Oliveira Costa
Besides not elegant, it is now even forbidden, since it can break paravirtualized guests. load_cr3 should call write_cr3() instead. Signed-off-by: Glauber de Oliveira Costa <[EMAIL PROTECTED]> Signed-off-by: Steven Rostedt <[EMAIL PROTECTED]> --- include/asm-x86_64/mmu_context.h |2 +- 1

[PATCH 21/25 -v2] export cpu_gdt_descr

2007-08-10 Thread Glauber de Oliveira Costa
With paravirualization, hypervisors needs to handle the gdt, that was right to this point only used at very early inialization code. Hypervisors are commonly modules, so make it an export [ updates from v1 * make it an EXPORT_SYMBOL_GPL. Suggested by Arjan van de Ven ] Signed-off-by:

[PATCH 19/25 -v2] time-related functions paravirt provisions

2007-08-10 Thread Glauber de Oliveira Costa
This patch add provisions for time related functions so they can be later replaced by paravirt versions. it basically encloses {g,s}et_wallclock inside the already existent functions update_persistent_clock and read_persistent_clock, and defines {s,g}et_wallclock to the core of such functions.

[PATCH 13/25 -v2] add native functions for descriptors handling

2007-08-10 Thread Glauber de Oliveira Costa
This patch turns the basic descriptor handling into native_ functions. It is basically write_idt, load_idt, write_gdt, load_gdt, set_ldt, store_tr, load_tls, and the ones for updating a single entry. In the process of doing that, we change the definition of load_LDT_nolock, and caller sites have

[PATCH 12/25 -v2] turn msr.h functions into native versions

2007-08-10 Thread Glauber de Oliveira Costa
This patch turns makes the basic operations in msr.h out of native ones. Those operations are: rdmsr, wrmsr, rdtsc, rdtscp, rdpmc, and cpuid. After they are turned into functions, some call sites need casts, and so we provide them. There is also a fixup needed in the functions located in the

[PATCH 18/25 -v2] turn priviled operations into macros in entry.S

2007-08-10 Thread Glauber de Oliveira Costa
With paravirt on, we cannot issue operations like swapgs, sysretq, iretq, cli, sti. So they have to be changed into macros, that will be later properly replaced for the paravirt case. The sysretq is a little bit more complicated, and is replaced by a sequence of three instructions. It is

[PATCH 11/25 -v2] native versions for set pagetables

2007-08-10 Thread Glauber de Oliveira Costa
This patch turns the set_p{te,md,ud,gd} functions into their native_ versions. There is no need to patch any caller. Also, it adds pte_update() and pte_update_defer() calls whenever we modify a page table entry. This last part was coded to match i386 as close as possible. Pieces of the header

[PATCH 10/25 -v2] export math_state_restore

2007-08-10 Thread Glauber de Oliveira Costa
Export math_state_restore symbol, so it can be used for hypervisors. They are commonly loaded as modules. Signed-off-by: Glauber de Oliveira Costa <[EMAIL PROTECTED]> Signed-off-by: Steven Rostedt <[EMAIL PROTECTED]> --- arch/x86_64/kernel/traps.c |1 + 1 files changed, 1 insertions(+), 0

[PATCH 2/25 -v2] tlb flushing routines

2007-08-10 Thread Glauber de Oliveira Costa
This patch turns the flush_tlb routines into native versions. In case paravirt is not defined, the natives are defined into the actually used ones. flush_tlb_others() goes in smp.c, unless smp is not in the game Signed-off-by: Glauber de Oliveira Costa <[EMAIL PROTECTED]> Signed-off-by: Steven

[PATCH 3/25 -v2] irq_flags / halt routines

2007-08-10 Thread Glauber de Oliveira Costa
This patch turns the irq_flags and halt routines into the native versions. [ updates from v1 Move raw_irqs_disabled_flags outside of the PARAVIRT ifdef to avoid increasing the mess, suggested by Andi Kleen ] Signed-off-by: Glauber de Oliveira Costa <[EMAIL PROTECTED]> Signed-off-by: Steven

[PATCH 4/25 -v2] Add debugreg/load_rsp native hooks

2007-08-10 Thread Glauber de Oliveira Costa
This patch adds native hooks for debugreg handling functions, and for the native load_rsp0 function. The later also have its call sites patched. Signed-off-by: Glauber de Oliveira Costa <[EMAIL PROTECTED]> Signed-off-by: Steven Rostedt <[EMAIL PROTECTED]> --- arch/x86_64/kernel/process.c |

[PATCH 8/25 -v2] use macro for sti/cli in spinlock definitions

2007-08-10 Thread Glauber de Oliveira Costa
This patch switches the cli and sti instructions into macros. In this header, they're just defined to the instructions they refer to. Later on, when paravirt is defined, they will be defined to something with paravirt abilities. Signed-off-by: Glauber de Oliveira Costa <[EMAIL PROTECTED]>

[PATCH 0/25 -v2] paravirt_ops for x86_64, second round

2007-08-10 Thread Glauber de Oliveira Costa
Here is an slightly updated version of the paravirt_ops patch. If your comments and criticism were welcome before, now it's even more! There are some issues that are _not_ addressed in this revision, and here are the causes: * split debugreg into multiple functions, suggested by Andi: - Me and

[PATCH 5/25 -v2] native versions for system.h functions

2007-08-10 Thread Glauber de Oliveira Costa
This patch adds the native hook for the functions in system.h They are the read/write_crX, clts and wbinvd. The later, also gets its call sites patched. Signed-off-by: Glauber de Oliveira Costa <[EMAIL PROTECTED]> Signed-off-by: Steven Rostedt <[EMAIL PROTECTED]> --- arch/x86_64/kernel/tce.c

[PATCH 6/25 -v2] add native_apic read and write functions, as well as boot clocks ones

2007-08-10 Thread Glauber de Oliveira Costa
Time for the apic handling functions to get their native counterparts. Also, put the native hook for the boot clocks functions in the apic.h header Signed-off-by: Glauber de Oliveira Costa <[EMAIL PROTECTED]> Signed-off-by: Steven Rostedt <[EMAIL PROTECTED]> --- arch/x86_64/kernel/apic.c|

[PATCH 1/25 -v2] header file move

2007-08-10 Thread Glauber de Oliveira Costa
Later on, the paravirt_ops patch will deference the vm_area_struct in asm/pgtable.h. It means this define must be after the struct definition Signed-off-by: Glauber de Oliveira Costa <[EMAIL PROTECTED]> Signed-off-by: Steven Rostedt <[EMAIL PROTECTED]> --- include/linux/mm.h | 14

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

2007-08-10 Thread Andreas Schwab
"Luck, Tony" <[EMAIL PROTECTED]> writes: >> That's distressing. I'm about to resubmit with a volatile cast in >> atomic_set as well, since people expect that behavior and I've been >> shown a legitimate case where it could matter. Does the assembly look >> right with that cast in

Serial ports rearranged in 2.6.22?

2007-08-10 Thread Michael Mauch
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: 00:08: ttyS0 at I/O 0x2f8 (irq = 3) is a 16550A 00:09: ttyS1 at

[patch 1/6] serial: don't optimise away baud rate changes when BOTHER is used

2007-08-10 Thread akpm
From: David Woodhouse <[EMAIL PROTECTED]> The uart_set_termios() function will bail out early without bothering to touch the hardware, if it decides that nothing "relevant" has changed. Unfortunately, its idea of "relevant" doesn't include c_[io]speed. So if the baud rate bits are BOTHER and

[patch 4/6] serial_txx9: cleanup includes

2007-08-10 Thread akpm
From: Atsushi Nemoto <[EMAIL PROTECTED]> Do not include some header files already indluded by serial_core.h. Signed-off-by: Atsushi Nemoto <[EMAIL PROTECTED]> Cc: Ralf Baechle <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> --- drivers/serial/serial_txx9.c |4 1

[patch 6/6] Add blacklisting capability to serial_pci to avoid misdetection of serial ports

2007-08-10 Thread akpm
From: Christian Schmidt <[EMAIL PROTECTED]> The serial_pci driver tries to guess serial ports on unknown devices based on the PCI class (modem or serial). On certain softmodems (AC'97 modems) this can lead to the recognition of non-existing serial ports. This patch adds a blacklist of PCI IDs

[patch 2/6] serial: add support for ITE 887x chips

2007-08-10 Thread akpm
From: Niels de Vos <[EMAIL PROTECTED]> Add support for the it887x-chips (PCI) manufactured by ITE. Signed-off-by: Niels de Vos <[EMAIL PROTECTED]> Cc: Russell King <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> --- drivers/serial/8250_pci.c | 159

[patch 3/6] serial_txx9: Fix modem control line handling

2007-08-10 Thread akpm
From: Atsushi Nemoto <[EMAIL PROTECTED]> This chip does not have modem control lines. Return TIOCM_CAR and TIOCM_DSR always on get_mctrl() and ajust some bits in termios cflag. Signed-off-by: Atsushi Nemoto <[EMAIL PROTECTED]> Cc: Ralf Baechle <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton

  1   2   3   4   5   6   7   8   9   10   >