Re: [PATCH] sata_via: fix resource-managed iomap conversion

2007-02-12 Thread Markus Trippelsdorf
On Mon, Feb 12, 2007 at 10:51:44AM -0800, Tejun Heo wrote: > Conversion to resource-managed iomap was buggy causing init failures > on both vt6420 and 6421 - BAR5 wasn't mapped for both controllers > while on vt6420 sata_via tried to map BAR0-4 twice. Fix it. > > DO NOT APPLY YET. > --- >

Re: [PATCH 1/7] containers (V7): Generic container system abstracted from cpusets code

2007-02-12 Thread Paul Menage
On 2/12/07, Srivatsa Vaddagiri <[EMAIL PROTECTED]> wrote: On Mon, Feb 12, 2007 at 12:15:22AM -0800, [EMAIL PROTECTED] wrote: > +void container_fork(struct task_struct *child) > +{ > + task_lock(current); Can't this be just rcu_read_lock()? In this particular patch (which is an almost

Re: [PATCH x86 for review III] [10/29] i386: don't include bugs.h

2007-02-12 Thread Andi Kleen
> > Index: linux/arch/i386/kernel/alternative.c > > === > > --- linux.orig/arch/i386/kernel/alternative.c > > +++ linux/arch/i386/kernel/alternative.c > > @@ -4,7 +4,6 @@ > > #include > > #include > > #include > > -#include >

Re: [ANNOUNCE] d80211 based driver for Intel PRO/Wireless 3945ABG

2007-02-12 Thread James Ketrenos
Hesse, Christian wrote: On Saturday 10 February 2007 14:23, Hesse, Christian wrote: On Friday 09 February 2007 22:12, James Ketrenos wrote: We are pleased to announce the availability of a new driver for the Intel PRO/Wireless 3945ABG Network Connection adapter. ... Oh, I forgot one note:

[PATCH 3/3] Introducing cpuidle: Basic documentation for cpuidle

2007-02-12 Thread Venkatesh Pallipadi
Documentation for cpuidle infrastructure Signed-off-by: Venkatesh Pallipadi <[EMAIL PROTECTED]> Signed-off-by: Adam Belay <[EMAIL PROTECTED]> Signed-off-by: Shaohua Li <[EMAIL PROTECTED]> Index: linux-2.6.21-rc-mm/Documentation/cpuidle/core.txt

Re: Which CPU for VIA C7/Esther?

2007-02-12 Thread Kyle McMartin
On Mon, Feb 12, 2007 at 06:37:38PM +0100, Mark de Vries wrote: > I've been googeling for about an hour now and can't find an answer to: > What type of CPU should I select when compiling a recent 2.6 kernel if I > have a VIA Esther CPU? > stepping: 9 config MVIAC3_2 bool "VIA C3-2

[PATCH 2/3] Introducing cpuidle: Hookup ACPI C-states driver with cpuidle

2007-02-12 Thread Venkatesh Pallipadi
Hookup ACPI C-states onto generic cpuidle infrastructure. drivers/acpi/procesor_idle.c is now a ACPI C-states driver that registers as a driver in cpuidle infrastructure and the policy part is removed from drivers/acpi/processor_idle.c. We use governor in cpuidle instead. Signed-off-by: Shaohua

[PATCH 1/3] Introducing cpuidle: core cpuidle infrastructure

2007-02-12 Thread Venkatesh Pallipadi
Introducing 'cpuidle', a new CPU power management infrastructure to manage idle CPUs in a clean and efficient manner. cpuidle separates out the drivers that can provide support for multiple types of idle states and policy governors that decide on what idle state to use at run time. A cpuidle

[PATCH] Kconfig: FAULT_INJECTION can be selected only if LOCKDEP is enabled.

2007-02-12 Thread Paolo 'Blaisorblade' Giarrusso
There is no prompt for STACKTRACE, so it is enabled only when 'select'ed. FAULT_INJECTION depends on it, while LOCKDEP selects it. So FAULT_INJECTION becomes visible in Kconfig only when LOCKDEP is enabled. Signed-off-by: Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]> Index:

Re: [QUESTION] file access time in millisecond?

2007-02-12 Thread Jeff Chua
On 12 Feb 2007 10:01:24 GMT, Miquel van Smoorenburg <[EMAIL PROTECTED]> Check out /usr/include/bits/stat.h Mike, Thanks for the pointer. Got it. But as I mentioned to Andi, it doesn't work with my filesystems (ext2, reiserfs). But at least it save me from upgrading my glibc! Thanks, Jeff.

Re: SATA-performance: Linux vs. FreeBSD

2007-02-12 Thread Alan
On Mon, 12 Feb 2007 18:56:29 +0100 "Martin A. Fink" <[EMAIL PROTECTED]> wrote: > I have to store big amounts of data coming from 2 digital cameras to disk. > Thus I have to write blocks of around 1 MB at 30 to 50 frames per second for > a long period of time. So it is important for me that the

Looking at space used by objects in slab allocator

2007-02-12 Thread William Cohen
After last week's experiment reducing size of task_struct on I was curious to see what things are using up memory on the system and which structs have the largest impact on the space used. /proc/slabinfo provides information about the number objects allocated and their sizes. With one line script

Re: [QUESTION] file access time in millisecond?

2007-02-12 Thread Jeff Chua
On 2/12/07, Andi Kleen <[EMAIL PROTECTED]> wrote: It should be always available in padding, even on older glibc. Given a sufficiently new kernel. The bigger problem is getting a file system that supports it. Manpages are often outdated. Andi, Ok, found it. Thanks. You're right. ext2,

[PATCH] sata_via: fix resource-managed iomap conversion

2007-02-12 Thread Tejun Heo
Conversion to resource-managed iomap was buggy causing init failures on both vt6420 and 6421 - BAR5 wasn't mapped for both controllers while on vt6420 sata_via tried to map BAR0-4 twice. Fix it. DO NOT APPLY YET. --- Markus, does this fix your problem? diff --git a/drivers/ata/sata_via.c

Re: somebody dropped a (warning) bomb

2007-02-12 Thread linux-os \(Dick Johnson\)
On Fri, 9 Feb 2007, Jan Engelhardt wrote: > > On Feb 9 2007 15:29, linux-os (Dick Johnson) wrote: >>> >>> I was referring to "absolute memory", not the offset magic that assembler >>> allows. After all, (reg+relativeOffset) will yield an absolute address. >>> What I was out at: for machines that

Re: [PATCH 6/7] containers (V7): BeanCounters over generic process containers

2007-02-12 Thread Paul Menage
On 2/12/07, Srivatsa Vaddagiri <[EMAIL PROTECTED]> wrote: On Mon, Feb 12, 2007 at 12:15:27AM -0800, [EMAIL PROTECTED] wrote: > This patch implements the BeanCounter resource control abstraction > over generic process containers. Forgive my confusion, but do we really need two-levels of resource

Re: [PATCH] drivers/isdn/gigaset: new M101 driver

2007-02-12 Thread Greg KH
On Sun, Feb 04, 2007 at 01:26:48AM +0100, Tilman Schmidt wrote: > Am 03.02.2007 17:09 schrieb Greg KH: > > On Thu, Feb 01, 2007 at 05:13:45PM -0800, Andrew Morton wrote: > >>> +/* dummy to shut up framework warning */ > >>> +static void gigaset_device_release(struct device *dev) > >>> +{ > >>> +

I need an answer from Torvalds

2007-02-12 Thread RIck Hohensee
So, Linus, when I get done porting 1.2.13 to my assembler-in-Bash, do you want me calling it "Linux"? The scheduler will be a bit more nimble, of course, there will be a 3-stack Forth-like interface to kernelspace, and the meta-superuser will run in Forreal Mode, the true 32-bit-unprotected

/proc/acpi/ac_adapter/AC is missing after latest ACPI merge

2007-02-12 Thread Ismail Dönmez
Hi all, After latest ACPI merge /proc/acpi/ac_adapter/AC has gone fishing : [~]> ls -al /proc/acpi/ac_adapter/ dr-xr-xr-x 2 root root 0 Şub 12 20:44 ADP1 [~]> ls -al /proc/acpi/ac_adapter/ADP1 -r--r--r-- 1 root root 0 Şub 12 20:44 state This at least breaks HAL which thinks AC is always

Re: [PATCH 3/7] containers (V7): Add generic multi-subsystem API to containers

2007-02-12 Thread Paul Menage
On 2/12/07, Srivatsa Vaddagiri <[EMAIL PROTECTED]> wrote: On Mon, Feb 12, 2007 at 12:15:24AM -0800, [EMAIL PROTECTED] wrote: > +/* > + * Call css_get() to hold a reference on the container; following a > + * return of 0, this container subsystem state object is guaranteed > + * not to be

Re: gigaset build broken on current linux-2.6.git

2007-02-12 Thread Greg KH
On Mon, Feb 12, 2007 at 01:16:59AM -0500, Jeff Garzik wrote: > On Sun, Feb 11, 2007 at 10:47:27AM -0800, Greg KH wrote: > > It's in my queue and is on track to get in before 2.6.21-rc1 is out. > > It breaks the build for everyone, please fast-forward the merging of > this. It's now in Linus's

Re: [RFC 0/28] Patches to pass vfsmount to LSM inode security hooks

2007-02-12 Thread J. Bruce Fields
On Tue, Feb 06, 2007 at 10:37:37AM +, Christoph Hellwig wrote: > On Tue, Feb 06, 2007 at 09:26:14PM +1100, Neil Brown wrote: > > What would be the benefit of having private non-visible vfsmounts? > > Sounds like a recipe for confusion? > > > > It is possible that mountd might start doing

Re: [PATCH 3/7] containers (V7): Add generic multi-subsystem API to containers

2007-02-12 Thread Paul Menage
On 2/12/07, Cedric Le Goater <[EMAIL PROTECTED]> wrote: >> +#include > > I did have a problem with this include. On s390 it didn't exist so I've > just been running without it (with no problems). A quick 'find' > suggests it only exists on x86_64, so I'd expect failures on all other > arches.

[PATCH 2/3] fs/: Move eCryptfs & Unionfs config options into a sub-menu

2007-02-12 Thread Josef 'Jeff' Sipek
Using The Misc filesystems sub-menu for layered/stackable filesystems only makes it harder for users to find eCryptfs/Unionfs. Additionally, the menu can be easily turned into a menuconfig, which could be used to turn on any VFS/VM functionality required by layered filesystems (there is none at

[PATCH 3/3] Unionfs: Documentation update

2007-02-12 Thread Josef 'Jeff' Sipek
From: Erez Zadok <[EMAIL PROTECTED]> Be little gentler & updated the URLs Signed-off-by: Erez Zadok <[EMAIL PROTECTED]> Signed-off-by: Josef 'Jeff' Sipek <[EMAIL PROTECTED]> --- Documentation/filesystems/unionfs/00-INDEX |8 -- Documentation/filesystems/unionfs/issues.txt | 23

[PATCH 1/3] fs/unionfs/: Use __roundup_pow_of_two instead of custom rounding code

2007-02-12 Thread Josef 'Jeff' Sipek
Signed-off-by: Josef 'Jeff' Sipek <[EMAIL PROTECTED]> --- fs/unionfs/rdstate.c | 11 ++- fs/unionfs/union.h |1 + 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/fs/unionfs/rdstate.c b/fs/unionfs/rdstate.c index 16ce1bf..e240285 100644 --- a/fs/unionfs/rdstate.c +++

[GIT PULL -mm] Unionfs updates/cleanups

2007-02-12 Thread Josef 'Jeff' Sipek
The following patches (also available though the git tree) fix few cleanliness issues with Unionfs. You can pull from 'master' branch of git://git.kernel.org/pub/scm/linux/kernel/git/jsipek/unionfs.git to receive the following: Erez Zadok (1): Unionfs: Documentation update Josef 'Jeff'

Re: [PATCH] input: extend EV_LED

2007-02-12 Thread Dmitry Torokhov
On 2/11/07, Németh Márton <[EMAIL PROTECTED]> wrote: Extend EV_LED handling code so that it can handle not only two states (on/off) but also others. For example a LED can blink using hardware acceleration. The code changed so that it is similar to the code at EV_SND. Hi, I am not sure we

Re: [RFC PATCH] add filesystem subtype support

2007-02-12 Thread Jan Engelhardt
Hi, On Feb 12 2007 12:50, Miklos Szeredi wrote: >Index: linux/fs/filesystems.c >=== >--- linux.orig/fs/filesystems.c2007-02-12 12:42:55.0 +0100 >+++ linux/fs/filesystems.c 2007-02-12 12:43:00.0 +0100 >@@

Re: [PATCH] ecryptfs lower file handling code issues

2007-02-12 Thread Dmitriy Monakhov
Dmitriy Monakhov <[EMAIL PROTECTED]> writes: > eCryptfs lower file handling code has several issues: > - Retval from prepare_write()/commit_writ() was't checked to equality > to AOP_TRUNCATED_PAGE. > - In some places page was't unmapped and unlocked after error. it is easy to retproduce:

Re: SATA-performance: Linux vs. FreeBSD

2007-02-12 Thread Stefan Richter
Martin A. Fink wrote: > This means, that the CPU is only 7.3 of 52.8 seconds working. ... > It looks like > the SATA driver simply blocks the CPU while doing whatever... The system sleeps while waiting for the disk (actually, for the SATA host port) to be done with its work. As Andi explained,

Re: SATA-performance: Linux vs. FreeBSD

2007-02-12 Thread Ray Lee
On 2/12/07, Martin A. Fink <[EMAIL PROTECTED]> wrote: Am Montag, 12. Februar 2007 19:41 schrieben Sie: I have to store big amounts of data coming from 2 digital cameras to disk. Thus I have to write blocks of around 1 MB at 30 to 50 frames per second for a long period of time. So it is important

Re: CPU load

2007-02-12 Thread malc
On Mon, 12 Feb 2007, Andrew Burgess wrote: On 12/02/07, Vassili Karpov <[EMAIL PROTECTED]> wrote: How does the kernel calculates the value it places in `/proc/stat' at 4th position (i.e. "idle: twiddling thumbs")? .. Later small kernel module was developed that tried to time how much time

Re: CPU load

2007-02-12 Thread malc
On Mon, 12 Feb 2007, Con Kolivas wrote: On 12/02/07, Vassili Karpov <[EMAIL PROTECTED]> wrote: Hello, [..snip..] The kernel looks at what is using cpu _only_ during the timer interrupt. Which means if your HZ is 1000 it looks at what is running at precisely the moment those 1000 timer

Re:[BUG] 2.6.20 Oopses in xfrm_audit_log

2007-02-12 Thread Joy Latten
>i upgraded to vanilla kernel 2.6.20 and while i was using strongswan >2.8.2 to setup an IPSEC VPN i got the following kernel Ooops. >I had successfully established the same tunnel a few times, but key >renegotiation caused a problem ( both ends did not renegotiate at the >same time so the

Re: [PATCH x86 for review III] [10/29] i386: don't include bugs.h

2007-02-12 Thread Jörn Engel
On Mon, 12 February 2007 17:51:30 +0100, Andi Kleen wrote: > > From: Andrew Morton <[EMAIL PROTECTED]> > > That stupid non-inlined-static function in bugs.h causes: > > include/asm/bugs.h:186: warning: 'check_bugs' defined but not used > > But fortunately the include isn't needed. > > Cc:

Re: Documenting MS_RELATIME

2007-02-12 Thread Jörn Engel
On Mon, 12 February 2007 18:49:39 +0100, Jan Engelhardt wrote: > On Feb 12 2007 10:40, Dave Jones wrote: > > > >The one problem with noatime is that mutt's 'new mail arrived' breaks > > Just why does not it use mtime then to check for New Mail Arrived, like > bash does? Just a guess: because it

Re: SATA-performance: Linux vs. FreeBSD

2007-02-12 Thread Martin A. Fink
Am Montag, 12. Februar 2007 19:41 schrieben Sie: > "Martin A. Fink" <[EMAIL PROTECTED]> writes: > > Your mailer seems to be broken. It drops cc. > > > > If you call fsync in BSD then you get what you expect. anything that is still > > not on disk will be written. Afterwards fsync returns... So

Re: [PATCH] serial driver PMC MSP71xx, kernel linux-mips.git mast er

2007-02-12 Thread Sergei Shtylyov
Hello. Marc St-Jean wrote: >> > Fourth attempt at the serial driver patch for the PMC-Sierra MSP71xx >>device. I think you need to submit your patch to Andrew Morton since it requires a patch from his tree. OK, will do. In fact, since the serial drivers are not maintained

Re: Documenting MS_RELATIME

2007-02-12 Thread Jan Engelhardt
Hi, On Feb 12 2007 10:40, Dave Jones wrote: > > > Whilst on the subject of RELATIME, is there any good reason why > > > not to make this a default mount option ? > > > > Ubuntu has been shipping with noatime as the default for some time > > now, with no obvious problems (I'm running Ubuntu). I

Which CPU for VIA C7/Esther?

2007-02-12 Thread Mark de Vries
Hi, I've been googeling for about an hour now and can't find an answer to: What type of CPU should I select when compiling a recent 2.6 kernel if I have a VIA Esther CPU? Please CC me, I'm not on the list. Thanks & Regards, Mark. ~$ cat /proc/cpuinfo processor : 0 vendor_id :

Re: [PATCH] serial driver PMC MSP71xx, kernel linux-mips.git mast er

2007-02-12 Thread Marc St-Jean
Sergei Shtylyov wrote: > Hello. > > Marc St-Jean wrote: > > >> > Fourth attempt at the serial driver patch for the PMC-Sierra MSP71xx > >>device. > > I think you need to submit your patch to Andrew Morton since it > requires a patch from his tree. OK, will do. > >> > @@ -1383,6

Re: SATA-performance: Linux vs. FreeBSD

2007-02-12 Thread Martin A. Fink
System Details: dmesg: (parts) Bootdata ok (command line is root=/dev/sda7 vga=0x31aresume=/dev/sda5 splash=silent) Linux version 2.6.18.2-34-default ([EMAIL PROTECTED]) (gcc version 4.1.2 20061115 (prerelease) (SUSE Linux)) #1 SMP Mon Nov 27 11:46:27 UTC 2006 ... Using ACPI (MADT) for SMP

Re: SATA-performance: Linux vs. FreeBSD

2007-02-12 Thread Andi Kleen
"Martin A. Fink" <[EMAIL PROTECTED]> writes: Your mailer seems to be broken. It drops cc. > > If you call fsync in BSD then you get what you expect. anything that is still > not on disk will be written. Afterwards fsync returns... So this should be > the same like with linux?! Not

2.6.20: Rebuild after trivial patch rebuilds way too much

2007-02-12 Thread Andrey Borzenkov
Is not it too much fore a trivial two lines patch to a single file? {pts/1}% stg import ~/patch/Re_2_6_20_rc6_libata_PATA_ATAPI_CDROM_is_not_working.patch Importing patch "Re_2_6_20_rc6_libata_PATA_ATAPI_CDROM_is_not_working.patch"... done Now at patch

Re: [q] kbuild for private asm-offsets (Re: [PATCH 6/10] lguest code: the little linux hypervisor.)

2007-02-12 Thread Andi Kleen
> If you will have time for newbie, to explain in a few words, what is it need > for (whole idea, or key detail), and, maybe, why it is generated so ... > interestingly: > > asm-offsets.c -> *.s -> *.h > (but this looks like interconnecting C and assembler, obviously) > > I will

Re: [take35 0/10] kevent: Generic event handling mechanism.

2007-02-12 Thread Andrew Morton
> On Mon, 12 Feb 2007 13:35:10 +0300 Evgeniy Polyakov <[EMAIL PROTECTED]> wrote: > Andrew, do you consider kevent for inclusion or declining? I haven't had time to think about it in the past month or two, sorry. However we might as well get it back in there for review-and-test - please send a

Re: unfixed regression in 2.6.20-rc6 (since 2.6.19)

2007-02-12 Thread Rainer Weikusat
Greg KH <[EMAIL PROTECTED]> writes: > On Mon, Feb 12, 2007 at 03:30:22PM +0100, Rainer Weikusat wrote: [...] >> If you want to fix it only if you can claim to have written the code, >> fine. > > I do not claim I have rewritten the code, if you look, you get full > authorship credit for this fix,

Re: [IA64] swiotlb abstraction (e.g. for Xen)

2007-02-12 Thread Christoph Hellwig
On Mon, Feb 12, 2007 at 07:30:55AM +, Jan Beulich wrote: > > As the topic says - the goal is to support Xen. But yes, I was afraid someone > would > claim this make the code look ugly. And no, I currently don't have ideas to > address > any of your comments without breaking functionality on

Re: [patches] [PATCH 2.6.21 review I] [4/25] x86: kernel-mode faults pollute current->thead

2007-02-12 Thread Jan Beulich
>Yup. How does this patch look to you? We set error_code and trap_no >for userspace faults and kernel faults which call die(). We don't set >them for kernelspace faults which are fixed up. That seems a reasonable approach. Thanks, Jan - To unsubscribe from this list: send the line

[PATCH x86 for review III] [13/29] i386: geode configuration fixes

2007-02-12 Thread Andi Kleen
From: TAKADA Yoshihito <[EMAIL PROTECTED]> Original code doesn't write back to CCR4 register. This patch reflects a value of a register. Cc: Jordan Crouse <[EMAIL PROTECTED]> Acked-by: Alan Cox <[EMAIL PROTECTED]> Cc: Andi Kleen <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL

[PATCH x86 for review III] [12/29] x86_64: 32-bit ptrace mangles sixth system call argument

2007-02-12 Thread Andi Kleen
From: Jeff Dike <[EMAIL PROTECTED]> The 32-bit sysenter entry point mangles the sixth system call argument for both 32-bit and 64-bit ptrace. In both cases, strace shows the frame pointer (ebp) as the sixth argument. Here's a snippet of a 64-bit strace of a 32-bit test program which calls mmap

[PATCH x86 for review III] [16/29] i386: Remove fastcall in paravirt.[ch]

2007-02-12 Thread Andi Kleen
Not needed because fastcall is always default now Signed-off-by: Andi Kleen <[EMAIL PROTECTED]> --- arch/i386/kernel/paravirt.c | 102 - include/asm-i386/paravirt.h | 136 ++-- 2 files changed, 119 insertions(+), 119

[PATCH x86 for review III] [1/29] i386: avoid gcc extension

2007-02-12 Thread Andi Kleen
From: Randy Dunlap <[EMAIL PROTECTED]> setcc() in math-emu is written as a gcc extension statement expression macro that returns a value. However, it's not used that way and it's not needed like that, so just make it a do-while non-extension macro so that we don't use an extension when it's not

[PATCH x86 for review III] [4/29] x86_64: clean up sparsemem memory_present call

2007-02-12 Thread Andi Kleen
From: "Bob Picco" <[EMAIL PROTECTED]> Eliminate arch specific memory_present call x86_64 NUMA by utilizing sparse_memory_present_with_active_regions. Acked-by: Mel Gorman <[EMAIL PROTECTED]> Signed-off-by: Bob Picco <[EMAIL PROTECTED]> Signed-off-by: Andi Kleen <[EMAIL PROTECTED]> Cc: Andi

Re: CPU load

2007-02-12 Thread Andrew Burgess
On 12/02/07, Vassili Karpov <[EMAIL PROTECTED]> wrote: > > How does the kernel calculates the value it places in `/proc/stat' at > 4th position (i.e. "idle: twiddling thumbs")? > .. > > Later small kernel module was developed that tried to time how much > time is spent in the idle handler inside

[PATCH x86 for review III] [15/29] x86_64: Fix wrong gcc check in bitops.h

2007-02-12 Thread Andi Kleen
gcc 5.0 will likely not have the constraint problem Signed-off-by: Andi Kleen <[EMAIL PROTECTED]> --- include/asm-x86_64/bitops.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux/include/asm-x86_64/bitops.h

[PATCH x86 for review III] [10/29] i386: don't include bugs.h

2007-02-12 Thread Andi Kleen
From: Andrew Morton <[EMAIL PROTECTED]> That stupid non-inlined-static function in bugs.h causes: include/asm/bugs.h:186: warning: 'check_bugs' defined but not used But fortunately the include isn't needed. Cc: Andi Kleen <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>

[PATCH x86 for review III] [2/29] i386: support Classic MediaGXm

2007-02-12 Thread Andi Kleen
From: takada <[EMAIL PROTECTED]> I hope to support "classic" MediaGXm in kernel. The DIR1 register of MediaGXm( or Geode) shows the following values for identify CPU. For example, My MediaGXm shows 0x42. We can read National Semiconductor's datasheet without any NDAs.

[PATCH x86 for review III] [9/29] x86_64: Minor patch for compilation warning in x86_64 signal code

2007-02-12 Thread Andi Kleen
From: Evgeniy Polyakov <[EMAIL PROTECTED]> If DEBUG_SIG is enbaled in source code, ia32_signal.c compiles with warning due to wrong format string. Attached patch fixes that. It is quite minor update, since by default DEBUG_SIG is not enabled and can not be turned on without code modification.

[PATCH x86 for review III] [6/29] i386: Remove unused kernel config option X86_XADD

2007-02-12 Thread Andi Kleen
From: "Robert P. J. Day" <[EMAIL PROTECTED]> Remove the unused kernel config option X86_XADD, which is unused in any source or header file. Signed-off-by: Robert P. J. Day <[EMAIL PROTECTED]> Signed-off-by: Andi Kleen <[EMAIL PROTECTED]> Cc: Andi Kleen <[EMAIL PROTECTED]> Signed-off-by: Andrew

[PATCH x86 for review III] [3/29] i386: entry.S END/ENDPROC annotations

2007-02-12 Thread Andi Kleen
From: "Jan Beulich" <[EMAIL PROTECTED]> Annotate i386/kernel/entry.S with END/ENDPROC to assist disassemblers and other analysis tools. Signed-off-by: Jan Beulich <[EMAIL PROTECTED]> Signed-off-by: Andi Kleen <[EMAIL PROTECTED]> Cc: Andi Kleen <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton

Re: NAK new drivers without proper power management?

2007-02-12 Thread Pavel Machek
Hi! > > > > "If the device requires that, implement .suspend and .resume or at least > > > > > > > define .suspend that will always return -ENOSYS (then people will know > > > > they > > >

[PATCH x86 for review III] [19/29] x86: Enable NMI watchdog for AMD Family 0x10 CPUs

2007-02-12 Thread Andi Kleen
For i386/x86-64. Straight forward -- just reuse the Family 0xf code. Signed-off-by: Andi Kleen <[EMAIL PROTECTED]> --- arch/i386/kernel/nmi.c |6 -- arch/x86_64/kernel/nmi.c |2 +- 2 files changed, 5 insertions(+), 3 deletions(-) Index: linux/arch/i386/kernel/nmi.c

[PATCH x86 for review III] [11/29] i386: add option to show more code in oops reports

2007-02-12 Thread Andi Kleen
From: Chuck Ebbert <[EMAIL PROTECTED]> Sometimes developers need to see more object code in an oops report, e.g. when kernel may be corrupted at runtime. Add the "code_bytes" option for this. Signed-off-by: Chuck Ebbert <[EMAIL PROTECTED]> Signed-off-by: Andi Kleen <[EMAIL PROTECTED]> Cc: Andi

[PATCH x86 for review III] [17/29] x86: Add new CPUID bits for AMD Family 10 CPUs in /proc/cpuinfo

2007-02-12 Thread Andi Kleen
Just various new acronyms. The new popcnt bit is in the middle of Intel space. This looks a little weird, but I've been assured it's ok. Also I fixed RDTSCP for i386 which was at the wrong place. For i386 and x86-64. Signed-off-by: Andi Kleen <[EMAIL PROTECTED]> ---

[PATCH x86 for review III] [26/29] i386: Move mce_disabled to asm/mce.h

2007-02-12 Thread Andi Kleen
From: Rusty Russell <[EMAIL PROTECTED]> Allows external actors to disable mce. Signed-off-by: Rusty Russell <[EMAIL PROTECTED]> Signed-off-by: Andi Kleen <[EMAIL PROTECTED]> === --- arch/i386/kernel/cpu/mcheck/mce.h |2 +-

[PATCH x86 for review III] [29/29] x86: Unify pcspeaker platform device code between i386/x86-64

2007-02-12 Thread Andi Kleen
Trivial cleanup. Only change is that it is always compiled in now on x86-64 like on i386. Signed-off-by: Andi Kleen <[EMAIL PROTECTED]> --- arch/i386/kernel/Makefile|1 + arch/i386/kernel/pcspeaker.c | 20 arch/i386/kernel/setup.c | 26

[PATCH x86 for review III] [28/29] i386: Remove extern declaration from mm/discontig.c, put in header.

2007-02-12 Thread Andi Kleen
From: Rusty Russell <[EMAIL PROTECTED]> Extern declarations belong in headers. Times, they are a'changin. Signed-off-by: Rusty Russell <[EMAIL PROTECTED]> Signed-off-by: Andi Kleen <[EMAIL PROTECTED]> === ---

[PATCH x86 for review III] [25/29] i386: paravirt unhandled fallthrough

2007-02-12 Thread Andi Kleen
From: Rusty Russell <[EMAIL PROTECTED]> The current code simply calls "start_kernel" directly if we're under a hypervisor and no paravirt_ops backend wants us, because paravirt.c registers that as a backend. This was always a vain hope; start_kernel won't get far without setup. It's also

[PATCH x86 for review III] [7/29] x86_64: update IO-APIC dest field to 8-bit for xAPIC

2007-02-12 Thread Andi Kleen
From: Benjamin Romer <[EMAIL PROTECTED]> On the Unisys ES7000/ONE system, we encountered a problem where performing a kexec reboot or dump on any cell other than cell 0 causes the system timer to stop working, resulting in a hang during timer calibration in the new kernel. We traced the problem

[PATCH x86 for review III] [23/29] x86: Don't require the vDSO for handling a.out signals

2007-02-12 Thread Andi Kleen
and in other strange binfmts. vDSO is not necessarily mapped there. Signed-off-by: Andi Kleen <[EMAIL PROTECTED]> --- arch/i386/kernel/signal.c |6 +- arch/x86_64/ia32/ia32_signal.c |7 ++- fs/binfmt_elf.c|3 ++- include/linux/binfmts.h|1 +

[PATCH x86 for review III] [21/29] i386: Fix warning in cpu initialization

2007-02-12 Thread Andi Kleen
Fix bogus warning linux/arch/i386/kernel/cpu/transmeta.c:12: warning: ‘cpu_freq’ may be used uninitialized in this function Signed-off-by: Andi Kleen <[EMAIL PROTECTED]> --- arch/i386/kernel/cpu/transmeta.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index:

Re: NAK new drivers without proper power management?

2007-02-12 Thread Pavel Machek
Hi! > > > > > Neither am I. I'm just asking that new drivers have power management > > > > > as > > > > > standard. > > > > > > > What if the hardware doesn't support power management ? > > > > > > You would still want to do the cleanup and configuration that you'd do > > > for module

[PATCH x86 for review III] [20/29] i386: Fix warning in microcode.c

2007-02-12 Thread Andi Kleen
Fix bogus gcc warning linux/arch/i386/kernel/microcode.c:387: warning: ‘new_mc’ may be used uninitialized in this function Signed-off-by: Andi Kleen <[EMAIL PROTECTED]> --- arch/i386/kernel/microcode.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index:

[PATCH x86 for review III] [24/29] x86_64: -mm merge plans for 2.6.21

2007-02-12 Thread Andi Kleen
From: Ralf Baechle <[EMAIL PROTECTED]> On Sat, Feb 10, 2007 at 11:22:05AM +0100, Heiko Carstens wrote: > Which remembers me that I think that MIPS is using the non-compat version > of sys_epoll_pwait for compat syscalls. But maybe MIPS doesn't need a compat > syscall for some reason. Dunno.

[PATCH x86 for review III] [18/29] i386: Add L3 cache support to AMD CPUID4 emulation

2007-02-12 Thread Andi Kleen
With that an L3 cache is correctly reported in the cache information in /sys Signed-off-by: Andi Kleen <[EMAIL PROTECTED]> --- arch/i386/kernel/cpu/intel_cacheinfo.c | 65 + 1 file changed, 50 insertions(+), 15 deletions(-) Index:

[PATCH x86 for review III] [27/29] i386: Rename cpu_gdt_descr and remove extern declaration from smpboot.c

2007-02-12 Thread Andi Kleen
From: Rusty Russell <[EMAIL PROTECTED]> When I implemented the DECLARE_PER_CPU(var) macros, I was careful that people couldn't use "var" in a non-percpu context, by prepending percpu__. I never considered that this would allow them to overload the same name for a per-cpu and a non-percpu

[PATCH x86 for review III] [8/29] x86_64: avoid warning message livelock

2007-02-12 Thread Andi Kleen
From: Roland Dreier <[EMAIL PROTECTED]> I've seen my box paralyzed by an endless spew of rtc: lost some interrupts at 1024Hz. messages on the serial console. What seems to be happening is that something real causes an interrupt to be lost and triggers the message. But then printing the

Re: [patches] [PATCH 2.6.21 review I] [4/25] x86: kernel-mode faults pollute current->thead

2007-02-12 Thread Jeff Dike
On Mon, Feb 12, 2007 at 09:32:10AM +, Jan Beulich wrote: > This breaks consumers of notify_die() relying on the proper trap number being > passed, as the call to notify_die() from die() currently reads > current->thread.trap_no. Rats, good point. > Also, you seem to leave other places where

[PATCH x86 for review III] [5/29] i386: arch/i386/kernel/alternative.c should #include

2007-02-12 Thread Andi Kleen
From: Adrian Bunk <[EMAIL PROTECTED]> Every file should include the headers containing the prototypes for its global functions. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> Signed-off-by: Andi Kleen <[EMAIL PROTECTED]> ---

Re: [PATCH] atomic.h : atomic_add_unless as inline. Remove system.h atomic.h circular dependency

2007-02-12 Thread Mathieu Desnoyers
atomic_add_unless as inline. Remove system.h atomic.h circular dependency. I agree (with Andi Kleen) this typeof is not needed and more error prone. All the original atomic.h code that uses cmpxchg (which includes the atomic_add_unless) uses defines instead of inline functions, probably to

Re: Found trivial error in linux-headers-2.6.17-11-generic/include/linux/tty.h

2007-02-12 Thread Randy Dunlap
On Mon, 12 Feb 2007 12:42:22 +0100 Milan Markovic wrote: > I upgraded the kernel on my Kubuntu 6.10 to 2.6.17-11-generic and had > a lot of trouble compiling my softmodem driver. > Apparently it was, among others, because of a mistake in kernel-headers > this is what I've found in tty.h > > $

Re: [PATCH 10/10] atomic.h : Add atomic64 cmpxchg, xchg and add_unless to x86_64

2007-02-12 Thread Mathieu Desnoyers
* Andi Kleen ([EMAIL PROTECTED]) wrote: > Mathieu Desnoyers <[EMAIL PROTECTED]> writes: > > > > /** > > @@ -402,7 +405,7 @@ static __inline__ long atomic64_sub_return(long i, > > atomic64_t *v) > > */ > > #define atomic_add_unless(v, a, u) \ > > ({

Re: [Cbe-oss-dev] [RFC, PATCH] CELL Oprofile SPU profiling updated patch

2007-02-12 Thread Carl Love
On Sun, 2007-02-11 at 16:46 -0600, Milton Miller wrote: [cut] > > As far as I understand, you are providing access to a completely new > hardware that is related to the PMU hardware by the fact that it > collects a program counter. It doesn't use the PMU counters nor the > PMU event

Re: SATA-performance: Linux vs. FreeBSD

2007-02-12 Thread Martin A. Fink
Some more info: :~> strace -c -T -o trace.out dd if=/dev/zero of=test.txt bs=10MB count=200 200+0 Datensätze ein 200+0 Datensätze aus 20 bytes (2,0 GB) copied, 52,8632 seconds, 37,8 MB/s test.txt: % time seconds usecs/call callserrors syscall -- --- ---

Re: unfixed regression in 2.6.20-rc6 (since 2.6.19)

2007-02-12 Thread Greg KH
On Mon, Feb 12, 2007 at 03:30:22PM +0100, Rainer Weikusat wrote: > Greg KH <[EMAIL PROTECTED]> writes: > > On Tue, Jan 30, 2007 at 06:40:10PM +0100, Rainer Weikusat wrote: > >> Greg KH <[EMAIL PROTECTED]> writes: > >> > >> [...] > >> > >> > Rainer's problem is a real bug in the USB driver code,

Re: 2.6.20 "IRQ handler type mismatch for IRQ 4"

2007-02-12 Thread Alan
> > This is all scary and generally not needed spew but handy for debug. > > > > Looks like a PCMCIA layer bug. It should be respecting IRQ assignment > > (not just allocation) by other resource configuration layers. > > Ah thanks for taking a look. I was slowly getting the impression from older

Re: [ipw3945-devel] [ANNOUNCE] d80211 based driver for Intel PRO/Wireless 3945ABG

2007-02-12 Thread dragoran
Hesse, Christian wrote: On Saturday 10 February 2007 14:23, Hesse, Christian wrote: On Friday 09 February 2007 22:12, James Ketrenos wrote: We are pleased to announce the availability of a new driver for the Intel PRO/Wireless 3945ABG Network Connection adapter. Wow, great news

Re: [PATCH] Ban module license tag string termination trick

2007-02-12 Thread Alan
> Closed modules are allowed only because an exception was made > in the licencing. That didn't have to happen at all. Closed modules This statement is false. Sorry but the law and my legal advice recommend that I jump in and repeat the correction every time people repeat this myth. As one of

Re: md: md6_raid5 crash 2.6.20

2007-02-12 Thread Andrew Burgess
>However >this "kernel BUG" is something newly introduced in 2.6.20 which should >be fixed in 2.6.20.1. Patch is below. I am using raid6. Am I at risk after applying this patch? Thanks for your time! - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Re: SATA-performance: Linux vs. FreeBSD

2007-02-12 Thread Martin A. Fink
Am Montag, 12. Februar 2007 18:04 schrieb Andi Kleen: > "Martin A. Fink" <[EMAIL PROTECTED]> writes: > > > > What I did: > > I wrote blocks of 1 MB size to file. Each 1 GB I made a fsync and took the > > time. For those tests with filesystems I wrote files of 1 GB size, otherwise > > I just

Re: somebody dropped a (warning) bomb

2007-02-12 Thread Linus Torvalds
On Mon, 12 Feb 2007, Sergei Organov wrote: > > Why strlen() should be allowed to be called with an incompatible pointer > type? My point is that gcc should issue *different warning*, -- the same > warning it issues here: I agree that "strlen()" per se isn't different. The issue is not that

Re: Sata_via problems in a Vintage2-AE1

2007-02-12 Thread Leopold Palomo-Avellaneda
A Dilluns 12 Febrer 2007 10:11, Jean Delvare va escriure: > Le Samedi 10 Février 2007 15:45, Tejun Heo a écrit : > > [cc'ing Alan and Jean, Hi!] > > > > Leopold Palomo Avellaneda wrote: > > > A Divendres 09 Febrer 2007 18:13, Leopold Palomo Avellaneda va escriure: > > >> A Divendres 09 Febrer 2007

Re: High CPU usage with sata_nv

2007-02-12 Thread Tejun Heo
ris wrote: Tejun Heo gmail.com> writes: iowait != cpu busy. Your cpu idleness stays above 80%. Ok .. but one of my CPU core are at 99% usage htop report this So how to solve this problem ? The red part of cpu usage bar represents 'iowait' not cpu usage. Fire up both

Re: SATA-performance: Linux vs. FreeBSD

2007-02-12 Thread Andi Kleen
"Martin A. Fink" <[EMAIL PROTECTED]> writes: > > What I did: > I wrote blocks of 1 MB size to file. Each 1 GB I made a fsync and took the > time. For those tests with filesystems I wrote files of 1 GB size, otherwise > I just wrote to the raw device. Newer Linux versions depending on the disk

Re: [PATCH 1/8] lguest: Kconfig and headers

2007-02-12 Thread James Morris
FWIW, I've set up an unofficial git tree with these patches, and will try and track changes as they're posted. git://git.infradead.org/~jmorris/lguest-testing.git Use the 'current' branch. - James -- James Morris <[EMAIL PROTECTED]> - To unsubscribe from this list: send the line

Re: NAK new drivers without proper power management?

2007-02-12 Thread Geert Uytterhoeven
On Mon, 12 Feb 2007, Pavel Machek wrote: > > > "If the device requires that, implement .suspend and .resume or at least > > > > > define .suspend that will always return -ENOSYS (then people will know > > > they > >

Re: [PATCH 3/7] containers (V7): Add generic multi-subsystem API to containers

2007-02-12 Thread Cedric Le Goater
>> +#include > > I did have a problem with this include. On s390 it didn't exist so I've > just been running without it (with no problems). A quick 'find' > suggests it only exists on x86_64, so I'd expect failures on all other > arches. confirmed on x86 also. C. - To unsubscribe from this

Re: [PATCH 5/8] lguest: trivial guest network driver

2007-02-12 Thread Herbert Xu
On Mon, Feb 12, 2007 at 02:52:01PM +1100, Rusty Russell wrote: > > +static void skb_to_dma(const struct sk_buff *skb, unsigned int len, > +struct lguest_dma *dma) > +{ > + unsigned int i, seg; > + > + for (i = seg = 0; i < len; seg++, i += rest_of_page(skb->data + i)) {

<    1   2   3   4   5   6   7   8   9   >