Re: [PATCH 2/5] revoke: core code

2007-03-16 Thread Andrew Morton
On Fri, 16 Mar 2007 22:37:57 +0200 Pekka Enberg [EMAIL PROTECTED] wrote: What we could do is add a I am revoked flag to struct file which blocks any future -readpage, -readpages, and -direct_IO on the file. Alternatively, we could change the -f_mapping to point to an address space that has

Re: [PATCH RESEND 2/2] Fix some kallsyms_lookup() vs rmmod races

2007-03-16 Thread Andrew Morton
On Fri, 16 Mar 2007 17:16:39 + Paulo Marques [EMAIL PROTECTED] wrote: Does freeze_processes() / unfreeze_processes() solve this by only freezing processes that have voluntarily scheduled (opposed to just being preempted)? It goes much much further than that. Those processes need to

Re: [Xen-devel] Re: [patch 21/26] Xen-paravirt_ops: Use the hvc console infrastructure for Xen console

2007-03-16 Thread Andrew Morton
On Fri, 16 Mar 2007 10:31:49 + Keir Fraser [EMAIL PROTECTED] wrote: On 16/3/07 09:58, Ingo Molnar [EMAIL PROTECTED] wrote: These mb()'s are pretty standard for lock-free producer/consumer rings. Write descriptor /then/ write the updated producer. Read the producer /then/ read any

Re: [PATCH/RFC] replace get_scheduled_cycles with sched_clock paravirt_op

2007-03-16 Thread Andrew Morton
On Wed, 14 Mar 2007 12:07:14 -0700 Jeremy Fitzhardinge [EMAIL PROTECTED] wrote: Subject: Add a sched_clock paravirt_op The tsc-based get_scheduled_cycles interface is not a good match for Xen's runstate accounting, which reports everything in nanoseconds. This patch replaces this

Re: [PATCH RESEND 2/2] Fix some kallsyms_lookup() vs rmmod races

2007-03-16 Thread Andrew Morton
On Fri, 16 Mar 2007 20:27:29 + Paulo Marques [EMAIL PROTECTED] wrote: Andrew Morton wrote: On Fri, 16 Mar 2007 17:16:39 + Paulo Marques [EMAIL PROTECTED] wrote: Does freeze_processes() / unfreeze_processes() solve this by only freezing processes that have voluntarily scheduled

Re: + kvm-fix-asm-constraint-for-lldt-instruction.patch added to -mm tree

2007-02-10 Thread Andrew Morton
On Sat, 10 Feb 2007 19:32:30 +0200 S.Çağlar Onur [EMAIL PROTECTED] wrote: Hi; 31 Oca 2007 Çar tarihinde, [EMAIL PROTECTED] şunları yazmıştı: The patch titled kvm: Fix asm constraint for lldt instruction has been added to the -mmtree. Its filename is

Re: [RFC] [PATCH] To list all active probes in the system---Take-2

2007-02-12 Thread Andrew Morton
On Thu, 08 Feb 2007 17:16:15 +0530 Srinivasa Ds [EMAIL PROTECTED] wrote: + if (p-pre_handler == pre_handler_kretprobe) This breaks on sparc64: kernel/kprobes.c: In function `report_probe': kernel/kprobes.c:826: error: `pre_handler_kretprobe' undeclared (first use in this function) - To

Re: - rdmsr_on_cpu-wrmsr_on_cpu.patch removed from -mm tree

2007-02-12 Thread Andrew Morton
: Andi Kleen [EMAIL PROTECTED] Acked-by: Dave Jones [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- arch/i386/lib/Makefile |2 arch/i386/lib/msr-on-cpu.c | 70 + arch/x86_64/lib/Makefile |2 arch/x86_64/lib/msr-on-cpu.c

Re: Regress for 8139too in 2.6.20

2007-02-12 Thread Andrew Morton
On Sun, 11 Feb 2007 18:03:33 -0600 Larry Finger [EMAIL PROTECTED] wrote: In kernel version 2.6.20, my network interface, a Uniden PCN 300 PCMCIA card that uses the 8139too driver fails to initialize with Yenta and 8139too as modules. It worked correctly in 2.6.19. Using git bisect, the bad

Re: - rdmsr_on_cpu-wrmsr_on_cpu.patch removed from -mm tree

2007-02-12 Thread Andrew Morton
On Mon, 12 Feb 2007 23:24:44 +0100 Andi Kleen [EMAIL PROTECTED] wrote: I backed out x86_64-mm-msr-on-cpu.patch (again) and went with Alexey's second version (again). It works fine. I think I'll just drop the thing. Nuisance:gain seems to be out of order It hasn't caused me any

Re: [PATCH] build errors: uevent with CONFIG_SYSFS=n

2007-02-12 Thread Andrew Morton
On Mon, 12 Feb 2007 14:29:19 -0800 Randy Dunlap [EMAIL PROTECTED] wrote: Here's a patch, tested both ways (SYSFS=y, SYSFS=n). --- From: Randy Dunlap [EMAIL PROTECTED] Fix source files to build with CONFIG_SYSFS=n. module_subsys is not available. erk. Can we get some stubs in the header

Re: build error: allnoconfig fails on mincore/swapper_space

2007-02-12 Thread Andrew Morton
On Mon, 12 Feb 2007 14:50:40 -0800 Randy Dunlap [EMAIL PROTECTED] wrote: 2.6.20-git8 on x86_64: LD init/built-in.o LD .tmp_vmlinux1 mm/built-in.o: In function `sys_mincore': (.text+0xe584): undefined reference to `swapper_space' make: *** [.tmp_vmlinux1] Error 1 oops.

Re: [PATCH] drivers/scsi/aic7xxx_old: Convert to generic boolean-values

2007-02-12 Thread Andrew Morton
On Sat, 10 Feb 2007 12:27:42 -0600 James Bottomley [EMAIL PROTECTED] wrote: When discussion about TRUE and FALSE came up a long time a go in the context of the mid layer we agreed to strip the defined constants out of that code and just go with 1 and 0 inline ... because the code was pretty

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 new

Re: 2.6.20-git8 fails compile -- net/built-in.o __ipv6_addr_type

2007-02-12 Thread Andrew Morton
On Mon, 12 Feb 2007 20:10:13 -0500 (EST) Pete Clements [EMAIL PROTECTED] wrote: 2.6.20-git8 fails compile: CHK include/linux/compile.h UPD include/linux/compile.h CC init/version.o LD init/built-in.o LD .tmp_vmlinux1 net/built-in.o: In function

Re: [PATCH 12/22] elevate write count files are open()ed

2007-02-12 Thread Andrew Morton
On Fri, 09 Feb 2007 14:53:37 -0800 Dave Hansen [EMAIL PROTECTED] wrote: diff -puN fs/file_table.c~14-24-tricky-elevate-write-count-files-are-open-ed fs/file_table.c --- lxc/fs/file_table.c~14-24-tricky-elevate-write-count-files-are-open-ed 2007-02-09 14:26:54.0 -0800 +++

Re: [PATCH mm] cfag12864b: fix crash when built-in and no parport present

2007-02-12 Thread Andrew Morton
On Sat, 10 Feb 2007 20:51:23 +0100 Miguel Ojeda [EMAIL PROTECTED] wrote: Andrew, Daniel who reported the crash has tested this patch and says that it works fine avoiding it, so you can merge. drivers-add-lcd-support-fix-crash-when-built-in-and-no-parport-present.patch Signed-off-by: Miguel

Re: [PATCH v4] Fix rmmod/read/write races in /proc entries

2007-02-12 Thread Andrew Morton
On Sun, 11 Feb 2007 23:23:30 +0300 Alexey Dobriyan [EMAIL PROTECTED] wrote: [PATCH v4] Fix rmmod/read/write races in /proc entries This: static ssize_t proc_file_write(struct file *file, const char __user *buffer, size_t count, loff_t *ppos) { struct inode *inode =

Re: [PATCH 12/22] elevate write count files are open()ed

2007-02-13 Thread Andrew Morton
On Tue, 13 Feb 2007 08:58:16 -0800 Dave Hansen [EMAIL PROTECTED] wrote: yipes. A new mount-wide spin_lock/unlock for each for-writing open() and close(). Can we have a microbenchmark on this please? Yeah, I'll schedule some dbench time on a NUMA machine. dbench doesn't do open() a

Re: Please pull x86 updates

2007-02-13 Thread Andrew Morton
On Tue, 13 Feb 2007 13:40:56 +0100 Andi Kleen [EMAIL PROTECTED] wrote: Linux please pull from git://one.firstfloor.org/home/andi/git/linux-2.6 This is not all, but I pruned lots of stuff that still wasn't quite ready. Less is more I guess. I guess this means that hrtimersdynticks

Re: [patch 05/11] syslets: core code

2007-02-13 Thread Andrew Morton
On Tue, 13 Feb 2007 23:24:43 +0100 Ingo Molnar [EMAIL PROTECTED] wrote: If it's only a few pages you don't need any resource accounting. If it's more then it's nasty to steal the users quota. I think plain gup() would be better. get_user_pages() would have to be limited in some way -

Re: 2.6.20 new perfmon code base + libpfm + pfmon

2007-02-13 Thread Andrew Morton
On Tue, 13 Feb 2007 10:48:39 -0800 Stephane Eranian [EMAIL PROTECTED] wrote: I have released another version of the perfmon new code base package. Can we have a bug push to get this merged up please? - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a

Re: [RESEND][PATCH] 9p: add write-cache support to loose cache mode

2007-02-13 Thread Andrew Morton
On Tue, 13 Feb 2007 17:55:31 -0600 Eric Van Hensbergen [EMAIL PROTECTED] wrote: +int v9fs_prepare_write(struct file *file, struct page *page, +unsigned from, unsigned to) +{ + if (!PageUptodate(page)) { + if (to - from != PAGE_CACHE_SIZE) { +

Re: [RESEND][PATCH] 9p: add write-cache support to loose cache mode

2007-02-13 Thread Andrew Morton
On Tue, 13 Feb 2007 17:55:31 -0600 Eric Van Hensbergen [EMAIL PROTECTED] wrote: +static int v9fs_vfs_writepage(struct page *page, struct writeback_control *wbc) +{ + char *buffer = NULL; + struct address_space *mapping = page-mapping; + int retval = -EIO; + loff_t offset

Re: [RESEND][PATCH] 9p: add write-cache support to loose cache mode

2007-02-13 Thread Andrew Morton
On Tue, 13 Feb 2007 17:55:31 -0600 Eric Van Hensbergen [EMAIL PROTECTED] wrote: +static ssize_t +v9fs_file_write(struct file *filp, const char __user * data, + size_t count, loff_t * offset) +{ + struct inode *inode = filp-f_path.dentry-d_inode; + + ssize_t ret; + +

Re: [RESEND][PATCH] 9p: add write-cache support to loose cache mode

2007-02-13 Thread Andrew Morton
On Tue, 13 Feb 2007 20:07:44 -0600 Eric Van Hensbergen [EMAIL PROTECTED] wrote: On 2/13/07, Andrew Morton [EMAIL PROTECTED] wrote: On Tue, 13 Feb 2007 17:55:31 -0600 Eric Van Hensbergen [EMAIL PROTECTED] wrote: +int v9fs_prepare_write(struct file *file, struct page *page

Re: [RESEND][PATCH] 9p: add write-cache support to loose cache mode

2007-02-13 Thread Andrew Morton
On Wed, 14 Feb 2007 14:05:44 +1100 Nick Piggin [EMAIL PROTECTED] wrote: libfs.c is wrong. Nick has fixes, but they got tangled up in other stuff. Yeah. 1/9 in that series should be applied on its own and sent upstream. Need me to resend? Yes please. - To unsubscribe from this list: send

Re: [PATCH] 8250: make probing for TXEN bug a config option

2007-02-13 Thread Andrew Morton
On Tue, 26 Dec 2006 19:43:17 +0300 Vitaly Wool [EMAIL PROTECTED] wrote: ^^^ Sorry. Hello Andrew, probing for UART_BUG_TXEN in 8250 driver leads to weird effects on some ARM boards (pnx4008 for instance). That is, the driver detects UART_BUG_TXEN (though it apparently

Re: [PATCH] 8250: make probing for TXEN bug a config option

2007-02-14 Thread Andrew Morton
On Wed, 14 Feb 2007 11:37:52 +0300 Vitaly Wool [EMAIL PROTECTED] wrote: On 2/14/07, Andrew Morton [EMAIL PROTECTED] wrote: I think this should be a module option/boot parameter, not a config-time option. Hmm, why? I can't think of a platform where one 8250-compatible UART

Re: [PATCH] 8250: make probing for TXEN bug a config option

2007-02-14 Thread Andrew Morton
On Wed, 14 Feb 2007 05:41:53 -0800 Vitaly Wool [EMAIL PROTECTED] wrote: On 2/14/07, Andrew Morton [EMAIL PROTECTED] wrote: On Wed, 14 Feb 2007 11:37:52 +0300 Vitaly Wool [EMAIL PROTECTED] wrote: Hmm, why? I can't think of a platform where one 8250-compatible UART is problematic

Re: [PATCH] knfsd: Stop NFSD writes from being broken into lots of little writes to filesystem.

2007-02-14 Thread Andrew Morton
On Tue, 13 Feb 2007 17:11:19 +1100 Nick Piggin [EMAIL PROTECTED] wrote: NeilBrown wrote: Another nfsd patch for 2.6.21... ### Comments for Changeset When NFSD receives a write request, the data is typically in a number of 1448 byte segments and writev is used to collect them

Re: [PATCH 1/2] VM: invalidate_inode_pages2_range() should not exit early

2007-02-14 Thread Andrew Morton
On Mon, 12 Feb 2007 23:43:35 -0800 Trond Myklebust [EMAIL PROTECTED] wrote: From: Trond Myklebust [EMAIL PROTECTED] Fix invalidate_inode_pages2_range() so that it does not immediately exit just because a single page in the specified range could not be removed. One man's fix is another

Re: [PATCH 2/2] VM: invalidate_inode_pages2_range() shouldn't fail on page dirty...

2007-02-14 Thread Andrew Morton
On Mon, 12 Feb 2007 23:43:38 -0800 Trond Myklebust [EMAIL PROTECTED] wrote: From: Trond Myklebust [EMAIL PROTECTED] invalidate_inode_pages2() should not try to fix races between direct_IO and mmap(). It should only be trying to clear out pages that were dirty before the direct_IO write (see

Re: 2.6.20 new perfmon code base + libpfm + pfmon

2007-02-14 Thread Andrew Morton
On Wed, 14 Feb 2007 10:29:32 -0800 Stephane Eranian [EMAIL PROTECTED] wrote: On Tue, Feb 13, 2007 at 02:05:33PM -0800, Andrew Morton wrote: On Tue, 13 Feb 2007 10:48:39 -0800 Stephane Eranian [EMAIL PROTECTED] wrote: I have released another version of the perfmon new code base package

Re: [PATCH] aio: fix kernel bug when page is temporally busy

2007-02-14 Thread Andrew Morton
On Wed, 14 Feb 2007 20:51:33 +0300 Ananiev, Leonid I [EMAIL PROTECTED] wrote: Fix kernel bug when IO page is temporally busy: invalidate_inode_pages2_range() returns EIOCBRETRY but not EIO. invalidate_inode_pages2() returns EIO as earlier. Signed-off-by: Leonid Ananiev [EMAIL PROTECTED]

Re: [patch 4/4] ipmi: add new IPMI nmi watchdog handling

2007-02-14 Thread Andrew Morton
On Wed, 14 Feb 2007 14:12:57 -0600 Corey Minyard [EMAIL PROTECTED] wrote: Convert over to the new NMI handling for getting IPMI watchdog timeouts via an NMI. This add config options to know if there is the ability to receive NMIs and if it has an NMI post processing call. Then it modifies

Re: [patch 4/4] ipmi: add new IPMI nmi watchdog handling

2007-02-14 Thread Andrew Morton
On Thu, 15 Feb 2007 15:05:56 +1100 Paul Mackerras [EMAIL PROTECTED] wrote: Andrew Morton writes: This is all fairly unpleasant. What architecture is preventing us from using DIE_NMI_POST on all architectures which support ipmi? ia64? It would be better to simply require that all

Re: [PATCH] Optimize generic get_unaligned / put_unaligned implementations.

2007-02-14 Thread Andrew Morton
On Wed, 14 Feb 2007 21:42:26 + Ralf Baechle [EMAIL PROTECTED] wrote: Time for a little bit of dead horse flogging. On Mon, Mar 06, 2006 at 05:05:52PM -0800, Andrew Morton wrote: --- a/include/asm-generic/unaligned.h +++ b/include/asm-generic/unaligned.h @@ -78,7 +78,7 @@ static

Re: [PATCH 0/6] MODSIGN: Kernel module signing

2007-02-14 Thread Andrew Morton
On Wed, 14 Feb 2007 19:09:38 + David Howells [EMAIL PROTECTED] wrote: These patches provide a GPG-based kernel module signing facility. Their use is not fully automated within the confines of the kernel build process because it needs provision of keys from outside of the kernel before

Re: [PATCH 07/10] local_t : powerpc extension

2007-02-14 Thread Andrew Morton
On Sun, 11 Feb 2007 14:18:12 -0500 Mathieu Desnoyers [EMAIL PROTECTED] wrote: local_t : powerpc extension This diff contains changes which are also present in [PATCH 07/10] atomic.h : Add atomic64 cmpxchg, xchg and add_unless to powerpc, resulting in rather a mess. I dropped the duplicated

Re: [PATCH 00/05] Linux Kernel Markers - kernel 2.6.20

2007-02-14 Thread Andrew Morton
On Sun, 11 Feb 2007 15:03:22 -0500 Mathieu Desnoyers [EMAIL PROTECTED] wrote: You will find, in the following posts, the latest revision of the Linux Kernel Markers. looks for the documentation And what can I do with these markers? And once I've done it, are there any userspace applications

Re: [PATCH 05/05] Linux Kernel Markers, non optimized architectures

2007-02-14 Thread Andrew Morton
On Sun, 11 Feb 2007 15:03:27 -0500 Mathieu Desnoyers [EMAIL PROTECTED] wrote: Linux Kernel Markers, non optimized architectures This patch also includes marker code for non optimized architectures. I think once we've done this we can nuke CONFIG_MARKERS_ENABLE_OPTIMIZATION? (Please, let it

Re: [PATCH 02/05] Linux Kernel Markers, architecture independant code.

2007-02-14 Thread Andrew Morton
On Sun, 11 Feb 2007 15:03:24 -0500 Mathieu Desnoyers [EMAIL PROTECTED] wrote: Linux Kernel Markers, architecture independant code. Signed-off-by: Mathieu Desnoyers [EMAIL PROTECTED] ... + +#ifndef MARK +#define MARK GEN_MARK +#define MARK_ENABLE_TYPE GEN_MARK_ENABLE_TYPE +#define

Re: [PATCH 1/1] Fabric7 VIOC driver source code

2007-02-14 Thread Andrew Morton
On Wed, 07 Feb 2007 13:07:40 -0800 Sriram Chidambaram [EMAIL PROTECTED] wrote: This patch provides the Fabric7 VIOC driver source code. This git mbox patch is built against git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/netdev-2.6.git The patch can be pulled from

Re: [patch 19/31] clockevents: i386 drivers

2007-02-15 Thread Andrew Morton
On Wed, 13 Dec 2006 14:02:11 +0100 Ingo Molnar [EMAIL PROTECTED] wrote: Add clockevent drivers for i386: lapic (local) and PIT (global). Update the timer IRQ to call into the PIT driver's event handler and the lapic-timer IRQ to call into the lapic clockevent driver. The assignement of

Re: [patch 3/4] ipmi: add pci remove handling

2007-02-15 Thread Andrew Morton
On Wed, 14 Feb 2007 14:06:24 -0600 Corey Minyard [EMAIL PROTECTED] wrote: Add pci_remove handling to the driver, so it will clean up if the device is hot-removed. Signed-off-by: Corey Minyard [EMAIL PROTECTED] Index: linux-2.6.19/drivers/char/ipmi/ipmi_si_intf.c

Re: [BUG] at drivers/char/vt.c:3332 do_blank_screen() on resume

2007-02-15 Thread Andrew Morton
On Thu, 15 Feb 2007 11:40:32 +0100 Pavel Machek [EMAIL PROTECTED] wrote: Contact fbcon people... There aren't any, basically. Since Tony disappeared James has been helping out but doesn't have a lot of time. So we're pretty much on our own with problems in this area. - To unsubscribe from

Re: [uml-devel] x86_64: fix 2.6.18 regression - PTRACE_OLDSETOPTIONS should be accepted

2007-02-14 Thread Andrew Morton
On Thu, 15 Feb 2007 04:43:41 +0100 Blaisorblade [EMAIL PROTECTED] wrote: I sent an equivalent patch in earlier today: Doh! Interesting this timing... Index: linux-2.6/arch/x86_64/ia32/ptrace32.c === ---

Re: [PATCH] Add PM_TRACE x86_64 support.

2007-02-15 Thread Andrew Morton
On Thu, 08 Feb 2007 13:08:06 +1100 Nigel Cunningham [EMAIL PROTECTED] wrote: This patch add x86_64 support for PM_TRACE, and shifts per-arch code to the appropriate subdirectories. ia64 allmodconfig: include/linux/resume-trace.h:4:30: asm/resume-trace.h: No such file or directory

Re: 2.6.20-mm1 [kernel BUG at mm/swap.c:442]

2007-02-15 Thread Andrew Morton
On Thu, 15 Feb 2007 09:28:23 -0500 (EST) James Morris [EMAIL PROTECTED] wrote: Hit a BUG() via lvm: Scanning logical volumes Reading all physical volumes. This may take a while... Found volume group VolGroup00 using metadata type lvm2 Activating logical volumes [ 75.215078]

Re: [PATCH] Optimize generic get_unaligned / put_unaligned implementations.

2007-02-15 Thread Andrew Morton
On Thu, 15 Feb 2007 14:34:41 + Ralf Baechle [EMAIL PROTECTED] wrote: On Wed, Feb 14, 2007 at 08:39:03PM -0800, Andrew Morton wrote: Can someone please tell us how this magic works? (And it does appear to work). It seems to assuming that the compiler will assume that members

Re: 2.6.20-mm1

2007-02-15 Thread Andrew Morton
On Thu, 15 Feb 2007 15:37:20 +0100 Michal Piotrowski [EMAIL PROTECTED] wrote: Andrew Morton napisa__(a): Temporarily at http://userweb.kernel.org/~akpm/2.6.20-mm1/ Will appear later at ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.20/2.6.20-mm1

Re: [PATCH] do_basic_setup: implicit declaration of function ‘init_irq_proc'

2007-02-15 Thread Andrew Morton
On Thu, 15 Feb 2007 16:06:23 +0100 (CET) Geert Uytterhoeven [EMAIL PROTECTED] wrote: Add missing #include linux/irq.h, which caused | init/main.c: In function ‘do_basic_setup’: | init/main.c:705: warning: implicit declaration of function ‘init_irq_proc’ Signed-off-by: Geert Uytterhoeven

Re: [PATCH 00/05] Linux Kernel Markers - kernel 2.6.20

2007-02-15 Thread Andrew Morton
On 15 Feb 2007 10:28:57 -0500 [EMAIL PROTECTED] (Frank Ch. Eigler) wrote: akpm wrote: [...] And what can I do with these markers? And once I've done it, are there any userspace applications I can use to get the data out in human-usable form? [...] The LTTng user-space programs

Re: [patch 4/4] ipmi: add new IPMI nmi watchdog handling

2007-02-15 Thread Andrew Morton
On Thu, 15 Feb 2007 09:49:15 -0600 Corey Minyard [EMAIL PROTECTED] wrote: So I see the following options besides what's already there: 1) add asm/kdebug.h and DIE_NMI_POST to everything that might have an IPMI implementation. 2) use CONFIG_X86 to tell if NMI will work, since that's the

Re: sparse chokes on arch/i386/kernel/i8253.c (was: 2.6.20-mm1)

2007-02-15 Thread Andrew Morton
On Thu, 15 Feb 2007 17:01:27 +0100 Tilman Schmidt [EMAIL PROTECTED] wrote: Trying to build 2.6.20-mm1 on i386 with C=1, sparse 0.2 chokes on arch/i386/kernel/i8253.c: CHECK arch/i386/kernel/i8253.c linux/marker.h: No such file or directory include/linux/jiffies.h:18:5: warning:

Re: [PATCH] MAINTAINERS: mark framebuffer as Orphan

2007-02-15 Thread Andrew Morton
On Thu, 15 Feb 2007 13:25:49 -0800 Randy Dunlap [EMAIL PROTECTED] wrote: From: Randy Dunlap [EMAIL PROTECTED] Are we ready to do this? I'd love for Tony to return, but he's been missing for awhile now. So this give us the following major areas that are marked as Orphan: Firmware loader

Re: 2.6.20-mm1

2007-02-15 Thread Andrew Morton
On Thu, 15 Feb 2007 22:30:17 +0100 J.A. Magall__n [EMAIL PROTECTED] wrote: On Thu, 15 Feb 2007 05:14:08 -0800, Andrew Morton [EMAIL PROTECTED] wrote: Temporarily at http://userweb.kernel.org/~akpm/2.6.20-mm1/ Will appear later at ftp://ftp.kernel.org/pub/linux/kernel

Re: [PATCH] Optimize generic get_unaligned / put_unaligned implementations.

2007-02-15 Thread Andrew Morton
On Thu, 15 Feb 2007 22:18:39 + Ralf Baechle [EMAIL PROTECTED] wrote: On Thu, Feb 15, 2007 at 01:53:58PM -0800, Andrew Morton wrote: The whole union thing was only needed to get rid of a warning but Marcel's solution does the same thing by attaching the packed keyword to the entire

Re: sparse chokes on arch/i386/kernel/i8253.c (was: 2.6.20-mm1)

2007-02-15 Thread Andrew Morton
On Thu, 15 Feb 2007 17:46:56 -0500 Mathieu Desnoyers [EMAIL PROTECTED] wrote: Me too. It's due to the linux-kernel-markers patches. Mathieu, can you take a look please? I will give a deeper look in sparse, but I should say up front that I add this to the root build tree Makefile :

Re: [-mm patch] pci_iomap_regions error handling fix (was Re: 2.6.20-mm1)

2007-02-15 Thread Andrew Morton
On Fri, 16 Feb 2007 16:41:59 + Frederik Deweerdt [EMAIL PROTECTED] wrote: On Thu, Feb 15, 2007 at 05:14:08AM -0800, Andrew Morton wrote: Temporarily at http://userweb.kernel.org/~akpm/2.6.20-mm1/ Hi, It appears that the pcim_iomap_regions() function doesn't get the error

Re: 2.6.20-mm1

2007-02-15 Thread Andrew Morton
On Fri, 16 Feb 2007 00:24:35 +0100 Michal Piotrowski [EMAIL PROTECTED] wrote: Andrew Morton napisa__(a): On Thu, 15 Feb 2007 15:37:20 +0100 Michal Piotrowski [EMAIL PROTECTED] wrote: Andrew Morton napisa__(a): Temporarily at http://userweb.kernel.org/~akpm/2.6.20-mm1

Re: [PATCH] sparse chokes on arch/i386/kernel/i8253.c

2007-02-15 Thread Andrew Morton
On Thu, 15 Feb 2007 19:23:47 -0500 Mathieu Desnoyers [EMAIL PROTECTED] wrote: sparse chokes on arch/i386/kernel/i8253.c Here is a marker fix that puts the correct -i include/linux/marker.h in the top level Makefile so sparse works correctly. The tricky part is to keep the kernel compiling

Re: [patch 1/3] Input: psmouse - create PS/2 protocol options for Kconfig

2007-02-15 Thread Andrew Morton
On Thu, 15 Feb 2007 05:08:21 -0500 Andres Salomon [EMAIL PROTECTED] wrote: Initial framework for disabling PS/2 protocol extensions. The current protocols can only be disabled if CONFIG_EMBEDDED is selected. No source files are changed, merely build stuff. ugleee. What benefit do we get

Re: sparse chokes on arch/i386/kernel/i8253.c (was: 2.6.20-mm1)

2007-02-15 Thread Andrew Morton
On Thu, 15 Feb 2007 19:37:39 -0500 Mathieu Desnoyers [EMAIL PROTECTED] wrote: For what reason was that change made? It was made so that we can use the markers in C code without actually including marker.h everywhere. I am sure someone has a better way to do it : I would be happy to use

Re: [patch 1/3] Input: psmouse - create PS/2 protocol options for Kconfig

2007-02-15 Thread Andrew Morton
On Thu, 15 Feb 2007 19:55:29 -0500 Andres Salomon [EMAIL PROTECTED] wrote: Andrew Morton wrote: On Thu, 15 Feb 2007 05:08:21 -0500 Andres Salomon [EMAIL PROTECTED] wrote: Initial framework for disabling PS/2 protocol extensions. The current protocols can only be disabled

Re: [PATCH] Optimize generic get_unaligned / put_unaligned implementations.

2007-02-15 Thread Andrew Morton
On Fri, 16 Feb 2007 00:43:17 + Ralf Baechle [EMAIL PROTECTED] wrote: On Thu, Feb 15, 2007 at 03:38:23PM -0800, Andrew Morton wrote: hm. So if I have struct bar { unsigned long b; } __attribute__((packed)); struct foo { unsigned long u

Re: [PATCH] sparse chokes on arch/i386/kernel/i8253.c

2007-02-15 Thread Andrew Morton
On Thu, 15 Feb 2007 19:58:04 -0500 Mathieu Desnoyers [EMAIL PROTECTED] wrote: --- a/Makefile +++ b/Makefile @@ -309,7 +309,8 @@ AFLAGS_KERNEL = LINUXINCLUDE:= -Iinclude \ $(if $(KBUILD_SRC),-Iinclude2 -I$(srctree)/include) \ -include

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

2007-02-15 Thread Andrew Morton
On Thu, 15 Feb 2007 13:26:29 -0600 Marc St-Jean [EMAIL PROTECTED] wrote: + status = *(volatile u32 *)up-port.private_data; It distresses me that this patch uses a variable which this patch doesn't initialise anywhere. It isn't complete. The sub-driver code whch sets up

Re: [PATCH] Don't probe for DDC on VBE1.2

2007-02-15 Thread Andrew Morton
On Thu, 15 Feb 2007 08:29:49 -0800 (PST) Zwane Mwaikambo [EMAIL PROTECTED] wrote: VBE1.2 doesn't support function 15h (DDC) resulting in a 'hang' whilst uncompressing kernel with some video cards. Make sure we check VBE version before fiddling around with DDC.

Re: 2.6.20-mm1

2007-02-15 Thread Andrew Morton
On Fri, 16 Feb 2007 00:39:12 +0100 J.A. Magallón [EMAIL PROTECTED] wrote: ee1394 usblp evdev CPU:1 EIP:0060:[c0195f12]Tainted: P VLI EFLAGS: 00010246 (2.6.20-jam01 #1) EIP is at sysfs_lookup+0x5b/0x20a eax: f6707118 ebx: f6b33e5c ecx: f6917d38 edx:

Re: [PATCH] Don't probe for DDC on VBE1.2

2007-02-15 Thread Andrew Morton
On Thu, 15 Feb 2007 21:35:35 -0800 (PST) Zwane Mwaikambo [EMAIL PROTECTED] wrote: On Thu, 15 Feb 2007, Andrew Morton wrote: This makes the long-suffering-but-vigorously-defended Vaio come up with a black display. Everything's working OK otherwise. Sort of a Black Screen of Life. I

Re: [PATCH] Don't probe for DDC on VBE1.2

2007-02-15 Thread Andrew Morton
On Thu, 15 Feb 2007 21:45:06 -0800 Andrew Morton [EMAIL PROTECTED] wrote: On Thu, 15 Feb 2007 21:35:35 -0800 (PST) Zwane Mwaikambo [EMAIL PROTECTED] wrote: On Thu, 15 Feb 2007, Andrew Morton wrote: This makes the long-suffering-but-vigorously-defended Vaio come up with a black

Re: possible bug in page allocation mechanism

2007-02-15 Thread Andrew Morton
On Thu, 15 Feb 2007 14:11:42 -0800 (PST) Tim Cullen [EMAIL PROTECTED] wrote: There appears to be a inconsistenancy with reference counts on pages allocated with alloc_pages when order is greater than zero. In buffered_rmqueue when order != 0 then __rmqueue is called. This returns a page

Re: e1000_intr in request_irq faults in 2.6.20-git

2007-02-15 Thread Andrew Morton
On Thu, 15 Feb 2007 18:10:53 -0800 Brandeburg, Jesse [EMAIL PROTECTED] wrote: @@ -1431,6 +1427,10 @@ e1000_open(struct net_device *netdev) e1000_update_mng_vlan(adapter); } + err = e1000_request_irq(adapter); + if (err) + goto

Re: [PATCH] Don't probe for DDC on VBE1.2

2007-02-15 Thread Andrew Morton
On Thu, 15 Feb 2007 21:59:06 -0800 (PST) Zwane Mwaikambo [EMAIL PROTECTED] wrote: On Thu, 15 Feb 2007, Andrew Morton wrote: On Thu, 15 Feb 2007 21:45:06 -0800 Andrew Morton [EMAIL PROTECTED] wrote: On Thu, 15 Feb 2007 21:35:35 -0800 (PST) Zwane Mwaikambo [EMAIL PROTECTED] wrote

Re: [patch 10/21] Xen-paravirt: add hooks to intercept mm creation and destruction

2007-02-15 Thread Andrew Morton
On Thu, 15 Feb 2007 18:24:59 -0800 Jeremy Fitzhardinge [EMAIL PROTECTED] wrote: Add hooks to allow a paravirt implementation to track the lifetime of an mm. --- a/arch/i386/kernel/paravirt.c +++ b/arch/i386/kernel/paravirt.c @@ -706,6 +706,10 @@ struct paravirt_ops paravirt_ops = {

Re: [patch 11/21] Xen-paravirt: Add apply_to_page_range() which applies a function to a pte range.

2007-02-15 Thread Andrew Morton
On Thu, 15 Feb 2007 18:25:00 -0800 Jeremy Fitzhardinge [EMAIL PROTECTED] wrote: Add a new mm function apply_to_page_range() which applies a given function to every pte in a given virtual address range in a given mm structure. This is a generic alternative to cut-and-pasting the Linux

Re: [patch 12/21] Xen-paravirt: Allocate and free vmalloc areas

2007-02-15 Thread Andrew Morton
On Thu, 15 Feb 2007 18:25:01 -0800 Jeremy Fitzhardinge [EMAIL PROTECTED] wrote: +void lock_vm_area(struct vm_struct *area) +{ + unsigned long i; + char c; + + /* + * Prevent context switch to a lazy mm that doesn't have this area + * mapped into its page tables. +

Re: [patch 17/21] Xen-paravirt: Add the Xen virtual console driver.

2007-02-15 Thread Andrew Morton
On Thu, 15 Feb 2007 18:25:06 -0800 Jeremy Fitzhardinge [EMAIL PROTECTED] wrote: === --- a/arch/i386/kernel/early_printk.c +++ b/arch/i386/kernel/early_printk.c @@ -1,2 +1,4 @@ +#ifndef CONFIG_XEN #include

Re: [patch 18/21] Xen-paravirt: Add Xen grant table support

2007-02-15 Thread Andrew Morton
On Thu, 15 Feb 2007 18:25:07 -0800 Jeremy Fitzhardinge [EMAIL PROTECTED] wrote: +int gnttab_grant_foreign_access(domid_t domid, unsigned long frame, + int readonly) +{ + int ref; + + if (unlikely((ref = get_free_entry()) == -1)) + return

Re: [patch 00/21] Xen-paravirt: Xen guest implementation for paravirt_ops interface

2007-02-15 Thread Andrew Morton
On Thu, 15 Feb 2007 18:24:49 -0800 Jeremy Fitzhardinge [EMAIL PROTECTED] wrote: This patch series implements the Linux Xen guest in terms of the paravirt-ops interface. The whole patchset exports 67 symbols to modules. How come? Are they all needed? - To unsubscribe from this list: send the

Re: [patch 14/21] Xen-paravirt: Add XEN config options and disable unsupported config options.

2007-02-15 Thread Andrew Morton
On Thu, 15 Feb 2007 22:14:45 -0800 Dan Hecht [EMAIL PROTECTED] wrote: config PREEMPT bool Preemptible Kernel (Low-Latency Desktop) + depends on !XEN help This option reduces the latency of the kernel by making all kernel code (that is not executing in a critical

Re: [patch 11/21] Xen-paravirt: Add apply_to_page_range() which applies a function to a pte range.

2007-02-15 Thread Andrew Morton
On Thu, 15 Feb 2007 23:06:45 -0800 Jeremy Fitzhardinge [EMAIL PROTECTED] wrote: Andrew Morton wrote: On Thu, 15 Feb 2007 18:25:00 -0800 Jeremy Fitzhardinge [EMAIL PROTECTED] wrote: Add a new mm function apply_to_page_range()[...] There was some discussion about this sort

Re: [patch 12/21] Xen-paravirt: Allocate and free vmalloc areas

2007-02-15 Thread Andrew Morton
On Thu, 15 Feb 2007 23:08:02 -0800 Jeremy Fitzhardinge [EMAIL PROTECTED] wrote: Andrew Morton wrote: This won't work when CONFIG_PREEMPT=y. The pagefault handler will see in_atomic() and will scram. Is there some other way to get the pagetable populated for the address range

Re: [patch 12/21] Xen-paravirt: Allocate and free vmalloc areas

2007-02-15 Thread Andrew Morton
On Thu, 15 Feb 2007 23:30:57 -0800 Jeremy Fitzhardinge [EMAIL PROTECTED] wrote: If you really need to run atomically, that gets ugly. Even of one were to run handle_mm_fault() by hand, it still needs to allocate memory. Two ugly options might be: a) touch all the pages, then go

Re: [patch 14/21] Xen-paravirt: Add XEN config options and disableunsupported config options.

2007-02-16 Thread Andrew Morton
On Fri, 16 Feb 2007 02:00:39 -0800 Christian Limpach [EMAIL PROTECTED] wrote: Jeremy Fitzhardinge wrote: Andrew Morton wrote: On Thu, 15 Feb 2007 22:14:45 -0800 Dan Hecht [EMAIL PROTECTED] wrote: config PREEMPT bool Preemptible Kernel (Low-Latency Desktop

Re: [patch 14/21] Xen-paravirt: Add XEN config options and disableunsupported config options.

2007-02-16 Thread Andrew Morton
On Fri, 16 Feb 2007 10:47:11 + Keir Fraser [EMAIL PROTECTED] wrote: On 16/2/07 10:09, Andrew Morton [EMAIL PROTECTED] wrote: Are the places where the domU code references machine addresses splattered all over the code? If not, they can just be wrapped with preempt_disable

Re: Using kevent for event logging?

2007-02-16 Thread Andrew Morton
On Fri, 16 Feb 2007 15:57:08 +0100 Michael Holzheu [EMAIL PROTECTED] wrote: Hallo Evgeniy, On s390 we are looking for a good mechanism to notify userspace about kernel events. Currently such events are handled with printks in most cases. There are automation tools, which want to

Re: [PATCH] Don't probe for DDC on VBE1.2

2007-02-16 Thread Andrew Morton
On Fri, 16 Feb 2007 06:39:45 -0800 (PST) Zwane Mwaikambo [EMAIL PROTECTED] wrote: On Thu, 15 Feb 2007, Andrew Morton wrote: It's not an X problem - the screen is black immediately upon loading the kernel. But I guess you knew that and you're just after display info: http

Re: [PATCH] Move include linux/marker.h to kernel.h

2007-02-16 Thread Andrew Morton
On Fri, 16 Feb 2007 13:05:13 -0500 Mathieu Desnoyers [EMAIL PROTECTED] wrote: Move include linux/marker.h to kernel.h * Andrew Morton ([EMAIL PROTECTED]) wrote: Oh. One could whack [include linux/marker.h] in kernel.h: pretty much everything includes that. But it'd be better

Re: 2.6.20-mm1 - undefined reference to `delete_module' on x86

2007-02-16 Thread Andrew Morton
On Fri, 16 Feb 2007 11:14:17 -0600 Steve Fox [EMAIL PROTECTED] wrote: Full log at http://test.kernel.org/abat/71719/debug/test.log.0 Config at http://test.kernel.org/abat/71719/build/dotconfig CHK include/linux/compile.h UPD include/linux/compile.h CC init/version.o

Re: [PATCH] 9p: add write-cache support to loose cache mode (take 3)

2007-02-16 Thread Andrew Morton
On Fri, 16 Feb 2007 09:37:01 -0600 Eric Van Hensbergen [EMAIL PROTECTED] wrote: +static int v9fs_vfs_writepage(struct page *page, struct writeback_control *wbc) +{ + char *buffer = NULL; + struct address_space *mapping = page-mapping; + int retval = -EIO; + loff_t offset

Re: [BUG?] register_blkdev: failed to get major for device mapper

2007-02-16 Thread Andrew Morton
On Fri, 16 Feb 2007 14:37:28 +0100 Rolf Eike Beer [EMAIL PROTECTED] wrote: I can't bring up my machine with root LVM anymore using x86_64. The same machine from same kernel tree boots fine as x86. The error message is quoted in subject. The tree is at 86a71dbd3e81e8870d0f0e56b87875f57e58222b

Re: [PATCH] nfs: init req_lock in nfs_alloc_inode

2007-02-16 Thread Andrew Morton
On Fri, 16 Feb 2007 11:05:32 -0600 [EMAIL PROTECTED] (Olof Johansson) wrote: + nfsi-req_lock = SPIN_LOCK_UNLOCKED; This can confound lockdep. Please use spin_lock_init(). - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED]

Re: [PATCH] 9p: add write-cache support to loose cache mode (take 4)

2007-02-16 Thread Andrew Morton
On Fri, 16 Feb 2007 18:46:59 -0600 Eric Van Hensbergen [EMAIL PROTECTED] wrote: Loose cache mode was added primarily to asssist exclusive, read-only mounts (like venti) -- however, there is also a case for using loose write cacheing in support of read/write exclusive mounts. This feature is

Re: [PATCH] nfs: init req_lock in nfs_alloc_inode

2007-02-16 Thread Andrew Morton
On Fri, 16 Feb 2007 11:05:32 -0600 [EMAIL PROTECTED] (Olof Johansson) wrote: Seems like req_lock is never initialized. CONFIG_DEBUG_SPINLOCK reported: BUG: spinlock bad magic on CPU#0, mount/1073 lock: c0007fdca108, .magic: , .owner: /24576, .owner_cpu: 0 Call Trace:

Re: [PATCH] Remove stack hard limit on ia64

2007-02-16 Thread Andrew Morton
On Fri, 16 Feb 2007 23:06:54 +0100 Olaf Hering [EMAIL PROTECTED] wrote: From: [EMAIL PROTECTED] Un-Breaks pthreads, since Oct 2003. Oh come on, that's not a changelog. I refuse to believe that nobody has used pthreads on ia64 for the past three years. Index:

Re: [PATCH] drivers/scsi/aic7xxx_old: Convert to generic boolean-values

2007-02-16 Thread Andrew Morton
On Fri, 16 Feb 2007 10:42:12 -0600 James Bottomley [EMAIL PROTECTED] wrote: On Mon, 2007-02-12 at 12:27 -0800, Andrew Morton wrote: Given that we now have a standard kernel-wide, c99-friendly way of expressing true and false, I'd suggest that this decision can be revisited. Because

Re: [PATCH] drivers/scsi/aic7xxx_old: Convert to generic boolean-values

2007-02-16 Thread Andrew Morton
On Fri, 16 Feb 2007 12:42:27 -0600 James Bottomley [EMAIL PROTECTED] wrote: On Fri, 2007-02-16 at 10:34 -0800, Andrew Morton wrote: On Fri, 16 Feb 2007 10:42:12 -0600 James Bottomley [EMAIL PROTECTED] wrote: On Mon, 2007-02-12 at 12:27 -0800, Andrew Morton wrote: Given that we now

<    2   3   4   5   6   7   8   9   10   11   >