[PATCH fixed] Better document profile=

2007-10-16 Thread Russ Dill
Be more explicit on what the step/bucket size accomplishes. Signed-off-by: Russ Dill <[EMAIL PROTECTED]> --- Documentation/kernel-parameters.txt |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt

[PATCH 5/6] forcedeth: use NAPI for TX completion

2007-10-16 Thread Jeff Garzik
commit a7c00e796597b797ceac3c18e8b85c124196c5ab Author: Jeff Garzik <[EMAIL PROTECTED]> Date: Tue Oct 16 17:33:19 2007 -0400 [netdrvr] forcedeth: use NAPI for TX completion A hand-rolled TX poll & work limit system was already in place, so it was easy to convert the TX path to

[PATCH 6/6] [netdrvr] interrupt handling overhaul

2007-10-16 Thread Jeff Garzik
commit 4f97856cd73ad3ccee06f1856c60cb1ed8f44ceb Author: Jeff Garzik <[EMAIL PROTECTED]> Date: Tue Oct 16 19:48:15 2007 -0400 [netdrvr] interrupt handling overhaul * eliminate the work loops in the interrupt handlers. they are no longer needed, now that NAPI and other

[PATCH 4/6] forcedeth: unconditionally enable NAPI

2007-10-16 Thread Jeff Garzik
commit 8f61debaeb334bce0ccba1a1384d549a377c1e8e Author: Jeff Garzik <[EMAIL PROTECTED]> Date: Tue Oct 16 12:55:08 2007 -0400 [netdrvr] forcedeth: unconditionally enable NAPI Remove all !CONFIG_FORCEDETH_NAPI code, and the Kconfig option, enabling NAPI unconditionally.

[PATCH 3/6] forcedeth: eliminate some duplicate irq handling code

2007-10-16 Thread Jeff Garzik
commit c6ad879c65e6f91c7f61b86936e2ea39b16711da Author: Jeff Garzik <[EMAIL PROTECTED]> Date: Tue Oct 16 11:43:27 2007 -0400 [netdrvr] forcedeth: eliminate some duplicate irq handling code * nv_nic_irq_optimized() is the exactly same as nv_nic_irq(), save for three function

[PATCH 2/6] forcedeth: timer overhaul

2007-10-16 Thread Jeff Garzik
commit 160511126b6be7f15da33f7cab7374b12cb5 Author: Jeff Garzik <[EMAIL PROTECTED]> Date: Tue Oct 16 02:22:39 2007 -0400 [netdrvr] forcedeth: timer overhaul * remove np->in_shutdown, it mirrors netif_running() * convert stats timer to delayed workqueue *

[PATCH 1/6] forcedeth: internal simplifications; changelog removal

2007-10-16 Thread Jeff Garzik
commit 0aeb1f867bc76029f599f73ac757a50f7641ccc5 Author: Jeff Garzik <[EMAIL PROTECTED]> Date: Tue Oct 16 01:40:30 2007 -0400 [netdrvr] forcedeth: internal simplifications; changelog removal * remove changelog from source; its kept in git repository * consolidate

[PATCH 0/6] forcedeth interrupt and task overhaul, v2

2007-10-16 Thread Jeff Garzik
These six changes can be found in the 'fe' branch of git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/netdev-2.6.git [netdrvr] forcedeth: internal simplifications; changelog removal [netdrvr] forcedeth: timer overhaul [netdrvr] forcedeth: eliminate some duplicate irq

Re: LFENCE instruction (was: [rfc][patch 3/3] x86: optimise barriers)

2007-10-16 Thread Herbert Xu
Nick Piggin <[EMAIL PROTECTED]> wrote: > > Also, for non-wb memory. I don't think the Intel document referenced > says anything about this, but the AMD document says that loads can pass > loads (page 8, rule b). > > This is why our rmb() is still an lfence. BTW, Xen (in particular, the code in

[PATCH][resend]gx-suspmod.c use boot_cpu_data instead of current_cpu_data

2007-10-16 Thread Dave Young
in preemptible kernel will report BUG: using smp_processor_id() in preemptible, so use boot_cpu_data instead of current_cpu_data. discussion in : http://lkml.org/lkml/2007/7/25/32 Signed-off-by: Dave Young <[EMAIL PROTECTED]> --- arch/i386/kernel/cpu/cpufreq/gx-suspmod.c |4 ++-- 1 file

Re: [RFC PATCH 1/4] Refcount Based Cpu-Hotplug Implementation

2007-10-16 Thread Gautham R Shenoy
On Wed, Oct 17, 2007 at 10:47:41AM +1000, Rusty Russell wrote: > On Tuesday 16 October 2007 20:34:17 Gautham R Shenoy wrote: > > This patch implements a Refcount + Waitqueue based model for > > cpu-hotplug. > > Hi Gautham, Hi Rusty, > > I can't see where you re-initialize the

Re: What still uses the block layer?

2007-10-16 Thread Valdis . Kletnieks
On Mon, 15 Oct 2007 03:04:00 CDT, Rob Landley said: > I note that the eth0 and eth1 names are dynamically assigned on a first come > first serve basis (like scsi). This never causes me a problem because the > driver loading order is constant, and once you figure out that eth0 is > gigabit and

Re: [PATCH 2/3] [kexec-tools] Pass vmcoreinfo's address and size

2007-10-16 Thread Andrew Morton
On Wed, 17 Oct 2007 14:16:19 +0900 "Ken'ichi Ohmichi" <[EMAIL PROTECTED]> wrote: > Simon Horman wrote: > > On Wed, Aug 22, 2007 at 09:13:39PM +0900, Ken'ichi Ohmichi wrote: > >> [2/3] [kexec-tools] Pass vmcoreinfo's address and size > >> The patch is for kexec-tools-testing-20070330. > >>

[PATCH] Fix build breakage if !SYSFS

2007-10-16 Thread Dhaval Giani
On Tue, Oct 16, 2007 at 08:00:44PM +0100, Ralf Baechle wrote: > On Tue, Oct 16, 2007 at 11:10:16PM +0530, Dhaval Giani wrote: > > > On Tue, Oct 16, 2007 at 02:02:31PM +0100, Ralf Baechle wrote: > > > Changeset 5cb350baf580017da38199625b7365b1763d7180 causes build breakage > > > if sysfs support

Re: [PATCH] /proc Security Hooks

2007-10-16 Thread Arjan van de Ven
On Wed, 17 Oct 2007 07:13:57 +0200 Max Kellermann <[EMAIL PROTECTED]> wrote: > On 2007/10/16 21:54, Arjan van de Ven <[EMAIL PROTECTED]> wrote: > > On Tue, 16 Oct 2007 21:38:50 +0200 > > Max Kellermann <[EMAIL PROTECTED]> wrote: > > > This patch attempts to unify duplicated code found in modules

Re: [PATCH 2/3] [kexec-tools] Pass vmcoreinfo's address and size

2007-10-16 Thread Ken'ichi Ohmichi
Hi Simon, Simon Horman wrote: > On Wed, Aug 22, 2007 at 09:13:39PM +0900, Ken'ichi Ohmichi wrote: >> [2/3] [kexec-tools] Pass vmcoreinfo's address and size >> The patch is for kexec-tools-testing-20070330. >> (http://www.kernel.org/pub/linux/kernel/people/horms/kexec-tools/) >> kexec command

mtd: onenand_sim crashes

2007-10-16 Thread Randy Dunlap
on x86_64, 2.6.23-git7, no MTD devices. Same config file as mtd crash a few minutes earlier. loading onenand_sim a _second_ time crashes: OneNAND Manufacturer: Samsung (0xec) OneNAND 16MB 1.8V 16-bit (0x04) OneNAND version = 0x001e Lock scheme is Continuous Lock Scanning device for bad blocks

[PATCH] Better document profile=

2007-10-16 Thread Russ Dill
Be more explicit on what the step/bucket size accomplishes. Signed-off-by: Russ Dill <[EMAIL PROTECTED]> --- Documentation/kernel-parameters.txt |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt

Re: mtd: pnc2000 module crashes

2007-10-16 Thread Dave Young
>On 10/17/07, Randy Dunlap <[EMAIL PROTECTED]> wrote: > 2.6.23-git7, on x86_64, no MTD devices: > > modprobe pnc2000 crashes like so: > > Photron PNC-2000 flash mapping: 40 at bf00 > Unable to handle kernel paging request at bf00 RIP: > [] :map_funcs:simple_map_write+0x54/0x82

Re: [PATCH] /proc Security Hooks

2007-10-16 Thread Max Kellermann
On 2007/10/16 21:54, Arjan van de Ven <[EMAIL PROTECTED]> wrote: > On Tue, 16 Oct 2007 21:38:50 +0200 > Max Kellermann <[EMAIL PROTECTED]> wrote: > > This patch attempts to unify duplicated code found in modules like > > Linux VServer. > > can you please merge this patch only when you also merge

Re: [PATCH] [275/2many] MAINTAINERS - KDUMP

2007-10-16 Thread Joe Perches
On Wed, 2007-10-17 at 12:48 +0900, Simon Horman wrote: > Do you have a criteria for including files. A file or file pattern specific to a maintained "subsystem". Any time a subsystem file pattern matches a file, maintainers would be cc'd. The matching is non-exclusive. Multiple subsystems can

[PATCH] SPARC64: fix iommu sg chaining

2007-10-16 Thread FUJITA Tomonori
Commit 2c941a204070ab32d92d40318a3196a7fb994c00 looks incomplete. The helper functions like prepare_sg() need to support sg chaining too. Signed-off-by: FUJITA Tomonori <[EMAIL PROTECTED]> --- arch/sparc64/kernel/iommu.c|1 - arch/sparc64/kernel/iommu_common.c | 51

Re: [GIT PULL] ext4 update

2007-10-16 Thread david
On Wed, 17 Oct 2007, Theodore Ts'o wrote: Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git for_linus It has a number random cleanups and bug fixes, and two new features. The first is uninitialized block groups, which allows fast mke2fs

Re: [RFC patch] fallback to "no irq" hack for case of no pnp_irq allocated for 8250_pnp

2007-10-16 Thread Matthew Wilcox
On Wed, Oct 17, 2007 at 10:50:53AM +0800, Luming Yu wrote: > There is a "ttyS1 irq is -1" problem observed on tiger4 which cause > the serial port broken. > It is because that there is __no__ ACPI IRQ resource assigned for the > serial port. So the value of the IRQ for the port is never changed >

Re: Fix to "All wake-up devices are disabled after suspend-to disk" isn't yet included in mainline

2007-10-16 Thread Maxim Levitsky
On Wednesday 17 October 2007 05:48:02 Andrew Morton wrote: > On Wed, 17 Oct 2007 04:39:30 +0200 Maxim Levitsky <[EMAIL PROTECTED]> wrote: > > > A while ago I asked on LKML about the problem of loosing all wake device > > capabilities, after a suspend to disk > > (eg: I can't wake the system from

[GIT PULL] ext4 update

2007-10-16 Thread Theodore Ts'o
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git for_linus It has a number random cleanups and bug fixes, and two new features. The first is uninitialized block groups, which allows fast mke2fs operations plus as well as speeding up e2fsck by

Re: [GIT PATCH] SCSI updates for 2.6.24

2007-10-16 Thread FUJITA Tomonori
On Mon, 15 Oct 2007 00:09:41 -0400 James Bottomley <[EMAIL PROTECTED]> wrote: > This is the accumulated updates queued for 2.6.24. It contains the > usual slew of driver updates, plus some gdth and advansys rewrites. We > still have some outstanding bugs in gdth and fc4 for which I'm hoping to

[PATCH] setup vma->vm_page_prot by vm_get_page_prot()

2007-10-16 Thread Coly Li
This patch uses vm_get_page_prot() to setup vma->vm_page_prot. use-vm_read-write-exec-to-set-vm_page_prot.patch just only replaces "& 0x7" with "& (VM_READ|VM_WRITE|VM_EXEC)". This is a non-unified method, because there is a vm_get_page_prot() in mm/mmap.c and exported to kerenl. Though inside

Re: [RFC PATCH 0/4] Refcount Based Cpu-Hotplug Revisit.

2007-10-16 Thread Gautham R Shenoy
On Tue, Oct 16, 2007 at 07:23:38PM -0700, Linus Torvalds wrote: > > > On Wed, 17 Oct 2007, Dipankar Sarma wrote: > > > > Unless I am reading the patch wrongly, it seems cpu_hotplug_begin() is > > called > > while holding the cpu_add_remove_lock mutex. So, another CPU cannot come in > > and do

Re: [PATCH] swsusp: Use platform mode by default

2007-10-16 Thread Qi Yong
On Wed, Oct 17, 2007 at 10:46:12AM +0800, Qi Yong wrote: > On 12/05/2007, Linus Torvalds <[EMAIL PROTECTED]> wrote: > > > > > > On Fri, 11 May 2007, Rafael J. Wysocki wrote: > > > > > > We're working on fixing the breakage, but currently it's difficult, > > > because > > > none of my testboxes

Re: [PATCH 2/3] dma: redefine dma_flags_set/get_*() for sn-ia64

2007-10-16 Thread David Miller
From: Andrew Morton <[EMAIL PROTECTED]> Date: Tue, 16 Oct 2007 20:29:04 -0700 > So we take an `enum data_direction' and then wedge it into a word alongside > some extra flags? > > Can we do something nicer than that? Yes, I discussed this last time around, this type abuse stinks and it's

Re: Boot Failure with 2.6.23-rc10

2007-10-16 Thread Chris Holvenstot
Thank you, that worked great. Chris On Wed, 2007-10-17 at 05:06 +0200, Gabriel C wrote: > Chris Holvenstot wrote: > > Greetings - > > Hi, > > > > > This is likely something I am doing wrong (or stupid) but I have run > > through the build process a couple of times with the same result. >

Re: Fix to "All wake-up devices are disabled after suspend-to disk" isn't yet included in mainline

2007-10-16 Thread Andrew Morton
On Wed, 17 Oct 2007 04:39:30 +0200 Maxim Levitsky <[EMAIL PROTECTED]> wrote: > A while ago I asked on LKML about the problem of loosing all wake device > capabilities, after a suspend to disk > (eg: I can't wake the system from keyboard if I suspend to disk and then to > ram) > > I was

Re: [PATCH] [275/2many] MAINTAINERS - KDUMP

2007-10-16 Thread Simon Horman
On Tue, Oct 16, 2007 at 07:45:34PM -0700, Joe Perches wrote: > On Wed, 2007-10-17 at 11:19 +0900, Simon Horman wrote: > > > I take it that these changes got shelved or canned, > > as I still don't seem them in Linus' tree. > > I have all the changes kept up-to-date. > I still hope to get some

[PATCH try#2] Input/Touchscreen Driver: add support AD7877 touchscreen driver

2007-10-16 Thread Bryan Wu
From: Michael Hennerich <[EMAIL PROTECTED]> Subject: [PATCH try#2] Input/Touchscreen Driver: add support AD7877 touchscreen driver [try #2] Changelog: - move locking inside ad7877_enable and ad7877_disable - use setup_timer - use input_dev->dev.parent - fix unregister device - kill EV_KEY

Re: [PATCH] [275/2many] MAINTAINERS - KDUMP

2007-10-16 Thread Andrew Morton
On Tue, 16 Oct 2007 19:45:34 -0700 Joe Perches <[EMAIL PROTECTED]> wrote: > If one of the maintainers, Vivek Goyal or Haren Myneni, cared > to improve the kdump list of files, I'd happily accept it. meh. Bug-reporters only manage to cc the right mailing list 10% of the time even when it's

Re: [PATCH 3/3] document dma_flags_set/get_*()

2007-10-16 Thread Andrew Morton
On Tue, 16 Oct 2007 18:44:17 -0700 [EMAIL PROTECTED] wrote: > @@ -547,3 +547,41 @@ size is the size (and should be a page-sized multiple). > The return value will be either a pointer to the processor virtual > address of the memory, or an error (via PTR_ERR()) if any part of the > region is

Re: [Pcihpd-discuss] [PATCH 2/4] Fix PCIe hotplug for non-ACPI ExpressCard slots (version 2)

2007-10-16 Thread Matthew Wilcox
On Tue, Oct 16, 2007 at 09:54:42PM -0400, Mark Lord wrote: > if (rc) > goto err_out_free_ctrl_slot; > - } > + } else if (pciehp_force) > + pciehp_enable_slot(t_slot); > I find the construct if () { ... } else ...; to be a bit jarring. How

Re: [Pcihpd-discuss] [PATCH 1/4] Fix PCIe hotplug for non-ACPI ExpressCard slots (version 2)

2007-10-16 Thread Matthew Wilcox
On Tue, Oct 16, 2007 at 09:54:08PM -0400, Mark Lord wrote: > - t_slot->hpc_ops->get_adapter_status(t_slot, ); /* Check if slot > is occupied */ > + /* Check if slot is occupied */ > + t_slot->hpc_ops->get_adapter_status(t_slot, ); > if ((POWER_CTRL(ctrl->ctrlcap)) && !value) { >

Re: [PATCH 2/3] dma: redefine dma_flags_set/get_*() for sn-ia64

2007-10-16 Thread Andrew Morton
On Tue, 16 Oct 2007 18:43:16 -0700 [EMAIL PROTECTED] wrote: > @@ -153,7 +153,7 @@ EXPORT_SYMBOL(sn_dma_free_coherent); > * @dev: device to map for > * @cpu_addr: kernel virtual address of the region to map > * @size: size of the region > - * @direction: DMA direction > + * @flags: DMA

Re: [PATCH 1/3] dma: add dma_flags_set/get_*() interfaces

2007-10-16 Thread Andrew Morton
On Tue, 16 Oct 2007 18:41:28 -0700 [EMAIL PROTECTED] wrote: > +#define DMA_BARRIER_ATTR 0x1 > +#ifndef ARCH_USES_DMA_ATTRS > +static inline int dma_flags_set_attr(u32 attr, enum dma_data_direction dir) > +{ > + return dir; > +} This function takes an `enum dma_data_direction' as its

Re: [PATCH 4/6] Have zonelist contains structs with both a zone pointer and zone_idx

2007-10-16 Thread David Rientjes
On Fri, 28 Sep 2007, Mel Gorman wrote: > > Filtering zonelists requires very frequent use of zone_idx(). This is costly > as it involves a lookup of another structure and a substraction operation. As > the zone_idx is often required, it should be quickly accessible. The node > idx could also be

Re: [PATCH] missing include in mmc

2007-10-16 Thread David Brownell
> > > AFAICS, fallout from repacing include of blkdev.h with include of bio.h. > > > > Out of curiousity, which architecture(s) need this? > > Umm... IIRC, m32r had been the first build to step into that, at which point > the missing include had been added; the rest had reached that point

Re: Distinguishing releases from pre-rc snapshots

2007-10-16 Thread Pavel Roskin
On Tue, 2007-10-16 at 22:41 -0400, Rik van Riel wrote: > On Tue, 16 Oct 2007 22:22:43 -0400 > Pavel Roskin <[EMAIL PROTECTED]> wrote: > > > I'm trying to keep some external drivers up to date with the kernel, > > and the first two weeks after the release is the worst time for me. > > Consider

Re: Boot Failure with 2.6.23-rc10

2007-10-16 Thread Gabriel C
Chris Holvenstot wrote: > Greetings - Hi, > > This is likely something I am doing wrong (or stupid) but I have run > through the build process a couple of times with the same result. > > When booted, the following messages are displayed: > > Linux zimage kernel to big, try "make bzImage"

Re: Distinguishing releases from pre-rc snapshots

2007-10-16 Thread Dave Jones
On Tue, Oct 16, 2007 at 10:45:17PM -0400, Pavel Roskin wrote: > > On Tue, 2007-10-16 at 22:34 -0400, Dave Jones wrote: > > On Tue, Oct 16, 2007 at 10:22:43PM -0400, Pavel Roskin wrote: > > > > > It would be nice to establish a rule to increment the version number > > > immediately after

[RFC patch] fallback to "no irq" hack for case of no pnp_irq allocated for 8250_pnp

2007-10-16 Thread Luming Yu
Hello list, There is a "ttyS1 irq is -1" problem observed on tiger4 which cause the serial port broken. It is because that there is __no__ ACPI IRQ resource assigned for the serial port. So the value of the IRQ for the port is never changed since it got initialized to -1. The attached patch falls

Re: [PATCH] jiffies_round -> jiffies_round_relative conversion - ipw2100/ipw2200

2007-10-16 Thread Zhu Yi
On Mon, 2007-10-15 at 00:38 -0500, Anton Blanchard wrote: > > When rounding a relative timeout we need to use > round_jiffies_relative(). ACK. John, please apply this patch to wireless-2.6. Thanks. -yi - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Re: [PATCH] swsusp: Use platform mode by default

2007-10-16 Thread Linus Torvalds
On Wed, 17 Oct 2007, Qi Yong wrote: > > The key point is "fall back to shutdown _only_ if !ops, otherwise > don't touch hibernation_mode". And that solves my problem. Please, when resurrecting a five-month-old discussion, give more of the old context. I don't know about anybody else, but I

Re: hda-intel: no soundcard with current linus' git tree

2007-10-16 Thread Maxim Levitsky
On Wednesday 17 October 2007 00:18:42 Thomas Meyer wrote: > $ dmesg > > [schnipp] > > ACPI: PCI Interrupt :00:1b.0[A] -> GSI 22 (level, low) -> IRQ 21 > PCI: Enabling bus mastering for device :00:1b.0 > PCI: Setting latency timer of device :00:1b.0 to 64 > hda_codec: STAC922x, Apple

Re: [PATCH] [275/2many] MAINTAINERS - KDUMP

2007-10-16 Thread Joe Perches
On Wed, 2007-10-17 at 11:19 +0900, Simon Horman wrote: > I take it that these changes got shelved or canned, > as I still don't seem them in Linus' tree. I have all the changes kept up-to-date. I still hope to get some variant into a future release. > But just for the record, the file lists

Re: [PATCH] swsusp: Use platform mode by default

2007-10-16 Thread Qi Yong
On 12/05/2007, Linus Torvalds <[EMAIL PROTECTED]> wrote: > > > On Fri, 11 May 2007, Rafael J. Wysocki wrote: > > > > We're working on fixing the breakage, but currently it's difficult, because > > none of my testboxes has problems with the 'platform' hibernation and I > > cannot reproduce the

Re: Distinguishing releases from pre-rc snapshots

2007-10-16 Thread Pavel Roskin
On Tue, 2007-10-16 at 22:34 -0400, Dave Jones wrote: > On Tue, Oct 16, 2007 at 10:22:43PM -0400, Pavel Roskin wrote: > > > It would be nice to establish a rule to increment the version number > > immediately after the kernel release and have a suffix to indicate that > > it's a pre-rc

Re: Distinguishing releases from pre-rc snapshots

2007-10-16 Thread Rik van Riel
On Tue, 16 Oct 2007 22:22:43 -0400 Pavel Roskin <[EMAIL PROTECTED]> wrote: > I'm trying to keep some external drivers up to date with the kernel, > and the first two weeks after the release is the worst time for me. Consider this an incentive to submit your code for inclusion in the upstream

Re: [PATCH] Map volume and brightness events on thinkpads

2007-10-16 Thread Jesse Barnes
On Tuesday, October 16, 2007 2:18 am Henrique de Moraes Holschuh wrote: > On Tue, 16 Oct 2007, Jesse Barnes wrote: > > On Tuesday, October 16, 2007 1:36 am Henrique de Moraes Holschuh wrote: > > > You want ACPI video to just pass the messages to userspace when > > > X.org is driving the

Fix to "All wake-up devices are disabled after suspend-to disk" isn't yet included in mainline

2007-10-16 Thread Maxim Levitsky
Hi, A while ago I asked on LKML about the problem of loosing all wake device capabilities, after a suspend to disk (eg: I can't wake the system from keyboard if I suspend to disk and then to ram) I was provided with the patch that fixes this problem completely. The merge window is open, but I

Re: error: Eeek! page_mapcount(page) went negative! (-1) with different process and kernels

2007-10-16 Thread Dave Jones
On Wed, Oct 17, 2007 at 01:03:02AM +0200, Arnaud Fontaine wrote: > > "Dave" == Dave Jones <[EMAIL PROTECTED]> writes: > > Dave> Many of these that I've seen have turned out to be a hardware > Dave> problem. Try running memtest86+ on that machine for a while. > Dave> It

Re: [PATCH] swsusp: Use platform mode by default

2007-10-16 Thread Qi Yong
On 14/05/2007, Stefan Seyfried <[EMAIL PROTECTED]> wrote: > On Fri, May 11, 2007 at 03:51:38PM -0700, Linus Torvalds wrote: > > > > > > On Fri, 11 May 2007, Rafael J. Wysocki wrote: > > > > > > Just to clarify, the change in question isn't new. It was introduced by > > > the > > > commit

Re: Distinguishing releases from pre-rc snapshots

2007-10-16 Thread Dave Jones
On Tue, Oct 16, 2007 at 10:22:43PM -0400, Pavel Roskin wrote: > It would be nice to establish a rule to increment the version number > immediately after the kernel release and have a suffix to indicate that > it's a pre-rc version. "rc0" is my personal favorite. fwiw, rc0 is also what the

Re: [PATCH 2/3] [kexec-tools] Pass vmcoreinfo's address and size

2007-10-16 Thread Simon Horman
On Wed, Aug 22, 2007 at 09:13:39PM +0900, Ken'ichi Ohmichi wrote: > > [2/3] [kexec-tools] Pass vmcoreinfo's address and size > The patch is for kexec-tools-testing-20070330. > (http://www.kernel.org/pub/linux/kernel/people/horms/kexec-tools/) > kexec command gets the address and size of the

Re: [RFC PATCH 0/4] Refcount Based Cpu-Hotplug Revisit.

2007-10-16 Thread Linus Torvalds
On Wed, 17 Oct 2007, Dipankar Sarma wrote: > > Unless I am reading the patch wrongly, it seems cpu_hotplug_begin() is called > while holding the cpu_add_remove_lock mutex. So, another CPU cannot come in > and do the same until _cpu_down() is over. Ahh, in that case I take back that objection,

Re: [patch] sched: fix improper load balance across sched domain

2007-10-16 Thread Siddha, Suresh B
On Tue, Oct 16, 2007 at 12:07:06PM -0700, Ken Chen wrote: > We recently discovered a nasty performance bug in the kernel CPU load > balancer where we were hit by 50% performance regression. > > When tasks are assigned to a subset of CPUs that span across > sched_domains (either ccNUMA node or the

Re: [PATCH] fix adbhid mismerge

2007-10-16 Thread Linus Torvalds
On Tue, 16 Oct 2007, Linus Torvalds wrote: > > I don't think you did anything wrong. You used both --full-history > (implicitly: git-whatchanged) and you made sure to see the diffs for both > sides of any merge (-m), and that means that you should see every single > diff involved. Btw, if

Distinguishing releases from pre-rc snapshots

2007-10-16 Thread Pavel Roskin
Hello! I'm trying to keep some external drivers up to date with the kernel, and the first two weeks after the release is the worst time for me. There is no way to distinguish the current git kernel from the latest release. It's only after rc1 is released that I can use preprocessor to check

Re: [PATCH] [275/2many] MAINTAINERS - KDUMP

2007-10-16 Thread Simon Horman
On Sun, Aug 12, 2007 at 11:30:38PM -0700, [EMAIL PROTECTED] wrote: > Add file pattern to MAINTAINER entry > > Signed-off-by: Joe Perches <[EMAIL PROTECTED]> > > diff --git a/MAINTAINERS b/MAINTAINERS > index 1ea2c63..d61676a 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -2634,6 +2634,7 @@

Re: [RFC PATCH 0/4] Refcount Based Cpu-Hotplug Revisit.

2007-10-16 Thread Dipankar Sarma
On Tue, Oct 16, 2007 at 10:20:37AM -0700, Linus Torvalds wrote: > On Tue, 16 Oct 2007, Gautham R Shenoy wrote: > > Well, afaik, the patch series is fairly clean, and I'm obviously perfectly > happy with the approach, so I have no objections. > > But it looks buggy. This: > > +static

Re: [PATCH] ssb: Fix regression in 2.6.23-git3 due to change in calling add_uevent_var

2007-10-16 Thread John W. Linville
On Sat, Oct 13, 2007 at 11:46:47PM -0500, Larry Finger wrote: > In commit 7eff2e7a8b65c25920207324e56611150eb1cd9a, the calling sequence > for add_uevent_var was changed, but the ssb driver was not modified, which > leads to a "Unable to handle kernel paging request" oops. This patch fixes > the

Re: [PATCH] missing include in mmc

2007-10-16 Thread Al Viro
On Tue, Oct 16, 2007 at 05:25:51PM -0700, David Brownell wrote: > > From [EMAIL PROTECTED] Tue Oct 16 17:18:43 2007 > > Date: Wed, 17 Oct 2007 01:09:07 +0100 > > From: Al Viro <[EMAIL PROTECTED]> > > To: Linus Torvalds <[EMAIL PROTECTED]> > > Cc: [EMAIL PROTECTED], linux-kernel@vger.kernel.org >

Re: [PATCH -mm -v5 0/3] i386/x86_64 boot: 32-bit boot protocol

2007-10-16 Thread Huang, Ying
On Fri, 2007-10-12 at 13:52 +0800, Huang, Ying wrote: > Known Issues: > > - Where is safe to place the linked list of setup_data? Because the > length of the linked list of setup_data is variable, it can not be > copied into BSS segment of kernel as that of "zero page". We must > find a

[PATCH 4/4] Fix PCIe hotplug for non-ACPI ExpressCard slots (version 2)

2007-10-16 Thread Mark Lord
Make use of the previously split out pcie_init_enable_events() function to reinitialize the hotplug hardware on resume from suspend, but only when pciehp_force==1. Otherwise behaviour is unmodified. Signed-off-by: Mark Lord <[EMAIL PROTECTED]> --- --- old/drivers/pci/hotplug/pciehp_ctrl.c

[PATCH 2/4] Fix PCIe hotplug for non-ACPI ExpressCard slots (version 2)

2007-10-16 Thread Mark Lord
Fix pciehp_probe() to deal with pre-inserted ExpressCard cards, but only when pciehp_force==1. Otherwise behaviour is unmodified. Signed-off-by: Mark Lord <[EMAIL PROTECTED]> --- --- old/drivers/pci/hotplug/pciehp_ctrl.c 2007-10-16 21:14:44.0 -0400 +++

[PATCH 3/4] Fix PCIe hotplug for non-ACPI ExpressCard slots (version 2)

2007-10-16 Thread Mark Lord
Split out the hotplug hardware initialization code from pcie_init() into pcie_init_enable_events(), without changing any functionality. Signed-off-by: Mark Lord <[EMAIL PROTECTED]> --- --- old/drivers/pci/hotplug/pciehp_hpc.c2007-10-16 21:14:44.0 -0400 +++

[PATCH 1/4] Fix PCIe hotplug for non-ACPI ExpressCard slots (version 2)

2007-10-16 Thread Mark Lord
Whitespace and other cosmetic fixes so that checkpatch.pl is happy with the remainder of patches in this series. Signed-off-by: Mark Lord <[EMAIL PROTECTED]> --- --- old/drivers/pci/hotplug/pciehp_core.c 2007-10-12 12:43:44.0 -0400 +++ linux/drivers/pci/hotplug/pciehp_core.c

[PATCH 0/4] Fix PCIe hotplug for non-ACPI ExpressCard slots (version 2)

2007-10-16 Thread Mark Lord
Original single patch is now broken out into tiny pieces for easier review. Also, valuable feedback from Ted has been incorporated, to avoid any possible side effects on regular use of the PCIe hotplug stuff (when used without pciehp_force=1 mod parm). * * * Fix PCIe Hotplug so that it works

Re: [patch][rfc] rewrite ramdisk

2007-10-16 Thread Nick Piggin
On Wednesday 17 October 2007 11:13, Eric W. Biederman wrote: > Nick Piggin <[EMAIL PROTECTED]> writes: > > We have 2 problems. First is that, for testing/consistency, we > > don't want BLKFLSBUF to throw out the data. Maybe hardly anything > > uses BLKFLSBUF now, so it could be just a minor

[PATCH 3/3] document dma_flags_set/get_*()

2007-10-16 Thread akepner
Document the dma_flags_set/get_*() interfaces. Signed-off-by: Arthur Kepner <[EMAIL PROTECTED]> --- DMA-API.txt | 38 ++ 1 files changed, 38 insertions(+) diff --git a/Documentation/DMA-API.txt b/Documentation/DMA-API.txt index b939ebb..00919b0 100644

[PATCH 2/3] dma: redefine dma_flags_set/get_*() for sn-ia64

2007-10-16 Thread akepner
Redefine dma_flags_set/get_*() for sn-ia64. dma_flags_set_attr() "borrows" bits from the dma_map_* routines' direction arguments (renamed "flags"). It uses the borrowed bits to pass additional attributes. dma_flags_get_dir() and dma_flags_get_attr() return the direction and attributes that

[PATCH 1/3] dma: add dma_flags_set/get_*() interfaces

2007-10-16 Thread akepner
Introduce the dma_flags_set/get_*() interfaces and give them default implementations. Architectures which allow DMA to be reordered between a device and host memory (within a NUMA interconnect) can redefine these to allow a driver to explicitly synchronize DMA from the device when necessary.

Re: [linux-usb-devel] usb+sysfs: duplicate filename 'bInterfaceNumber'

2007-10-16 Thread Dave Young
>On 10/17/07, Matthew Dharm <[EMAIL PROTECTED]> wrote: > On Tue, Oct 16, 2007 at 02:04:43PM -0400, Alan Stern wrote: > > On Tue, 16 Oct 2007, Matthew Dharm wrote: > > > > > I haven't looked at this code at all, but neither approach feels right to > > > me. > > > > > > How does this work at all?

Re: [PATCH] fix adbhid mismerge

2007-10-16 Thread Linus Torvalds
On Wed, 17 Oct 2007, Al Viro wrote: > > Something really odd has happened: the last couple of changesets > have > - int up_flag; > + int keycode, up_flag; > and > - int up_flag; > + int up_flag, key; > in another, both in adb_input_keycode(). Even with -m passed to

[git patches] net driver fixes (mostly)

2007-10-16 Thread Jeff Garzik
Mostly fixes, except a couple things from Stephen H and myself. Please pull from 'upstream-linus' branch of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6.git upstream-linus to receive the following updates: drivers/net/3c59x.c |8 +- drivers/net/Kconfig

Re: [PATCH] tokenring/3c359.c: fixed array index problem

2007-10-16 Thread Jeff Garzik
Marcus Meissner wrote: Hi, I tried to send this to netdev and various maintainers, but they seem not to have seen it. Please add to -mm and have it merged somewhere. The xl_laa array is just 6 bytes long, so we should substract 10 from the index, like is also done some lines above already.

Re: [patch][rfc] rewrite ramdisk

2007-10-16 Thread Eric W. Biederman
Nick Piggin <[EMAIL PROTECTED]> writes: > On Wednesday 17 October 2007 09:48, Eric W. Biederman wrote: >> Nick Piggin <[EMAIL PROTECTED]> writes: >> > On Wednesday 17 October 2007 07:28, Theodore Tso wrote: >> >> On Tue, Oct 16, 2007 at 05:47:12PM +1000, Nick Piggin wrote: >> >> > + /* >>

Re: Regression: GRUB from openSUSE 10.2 doesn't boot current -git

2007-10-16 Thread Randy Dunlap
On Wed, 17 Oct 2007 02:33:19 +0200 Rafael J. Wysocki wrote: > Hi, > > As stated in the subject, I cannot boot the current -git (most recent commit > 821f3eff7cdb9d6c7076effabd46c96c322daed1) using GRUB on x86-64 openSUSE 10.2. > > The GRUB says that the kernel image is too big and doesn't fit

Re: arcmsr changelog differs from diffs

2007-10-16 Thread Björn Steinbrink
On 2007.10.17 00:07:19 +0200, Hans-Peter Jansen wrote: > Hi Jeff, > > while browsing through Linus' current check ins, I stumbled upon: > > [SCSI] arcmsr: irq handler fixes, cleanups, micro-opts: > > --8<-- > 488a5c8a9a3b67ae117784cd0d73bef53a73d57d > drivers/scsi/arcmsr/arcmsr_hba.c |2 +-

Re: [RFC PATCH 1/4] Refcount Based Cpu-Hotplug Implementation

2007-10-16 Thread Rusty Russell
On Tuesday 16 October 2007 20:34:17 Gautham R Shenoy wrote: > This patch implements a Refcount + Waitqueue based model for > cpu-hotplug. Hi Gautham, I can't see where you re-initialize the completion. > +static void cpu_hotplug_begin(void) > +{ > + mutex_lock(_hotplug.lock); > +

Re: LFENCE instruction (was: [rfc][patch 3/3] x86: optimise barriers)

2007-10-16 Thread Mikulas Patocka
> > You already must not place any data structures into WC memory --- for > > example, spinlocks wouldn't work there. > > What do you mean "already"? I mean "in current kernel" (I checked it in 2.6.22) > If we already have drivers loading data from > WC memory, then rmb() needs to order them,

[PATCH] trivial: fix do_sys_open() prototype

2007-10-16 Thread Jason Uhlenkott
Fix an argument name in do_sys_open()'s prototype. Signed-off-by: Jason Uhlenkott <[EMAIL PROTECTED]> Index: linux/include/linux/fs.h === --- linux.orig/include/linux/fs.h 2007-10-16 15:19:26.632794062 -0700 +++

Re: [PATCH] missing include in mmc

2007-10-16 Thread David Brownell
> From [EMAIL PROTECTED] Tue Oct 16 17:18:43 2007 > Date: Wed, 17 Oct 2007 01:09:07 +0100 > From: Al Viro <[EMAIL PROTECTED]> > To: Linus Torvalds <[EMAIL PROTECTED]> > Cc: [EMAIL PROTECTED], linux-kernel@vger.kernel.org > Subject: [PATCH] missing include in mmc > > AFAICS, fallout from repacing

Re: ioctl32: Unknown cmd

2007-10-16 Thread Andi Kleen
David Miller <[EMAIL PROTECTED]> writes: > From: Arnd Bergmann <[EMAIL PROTECTED]> > Date: Tue, 16 Oct 2007 21:50:35 +0200 > > > The one point where it is expected to have changed now is when you > > try to do these ioctls on something that is not a block device. Are > > you sure that the files

Re: [patch][rfc] rewrite ramdisk

2007-10-16 Thread Nick Piggin
On Wednesday 17 October 2007 09:48, Eric W. Biederman wrote: > Nick Piggin <[EMAIL PROTECTED]> writes: > > On Wednesday 17 October 2007 07:28, Theodore Tso wrote: > >> On Tue, Oct 16, 2007 at 05:47:12PM +1000, Nick Piggin wrote: > >> > +/* > >> > + * ram device BLKFLSBUF has

Re: [PATCH] sched: Rationalize sys_sched_rr_get_interval()

2007-10-16 Thread Peter Williams
Jarek Poplawski wrote: On 16-10-2007 03:16, Peter Williams wrote: ... I'd suggest that we modify sched_rr_get_interval() to return -EINVAL (with *interval set to zero) if the target task is not SCHED_RR. That way we can save a lot of unnecessary code. I'll work on a patch. ... I like this

Regression: GRUB from openSUSE 10.2 doesn't boot current -git

2007-10-16 Thread Rafael J. Wysocki
Hi, As stated in the subject, I cannot boot the current -git (most recent commit 821f3eff7cdb9d6c7076effabd46c96c322daed1) using GRUB on x86-64 openSUSE 10.2. The GRUB says that the kernel image is too big and doesn't fit into memory, but the kernel has been built and installed in exactly the

Re: 2.6.23-git10 make bzImage problem

2007-10-16 Thread Sid Boyce
Sid Boyce wrote: When booted, it complains that kernel size is too big, but size OK for a bzImage, not for zImage as is returned by the file command, -git9 was OK, x86_64 SMP kernel on two 64x2 boxes. I shall supplymy .config if needed, but they are the same as for -git9. # l

[PATCH] missing include in mmc

2007-10-16 Thread Al Viro
AFAICS, fallout from repacing include of blkdev.h with include of bio.h. Signed-off-by: Al Viro <[EMAIL PROTECTED]> --- diff --git a/drivers/mmc/host/mmc_spi.c b/drivers/mmc/host/mmc_spi.c index 71b986b..7ae18ea 100644 --- a/drivers/mmc/host/mmc_spi.c +++ b/drivers/mmc/host/mmc_spi.c @@ -30,6

Re: [patch] CFS scheduler, -v19

2007-10-16 Thread Markus
Well, I am now running a 2.6.22 (without cfs) and could now see it once (within a month...) that exactly the same message from konqueror was produced. So I think its a general problem of konqueror that was hidden and somehow its triggered much more often with the cfs. I just wonder why nobody

[PATCH] fix adbhid mismerge

2007-10-16 Thread Al Viro
Something really odd has happened: the last couple of changesets have - int up_flag; + int keycode, up_flag; and - int up_flag; + int up_flag, key; in another, both in adb_input_keycode(). Even with -m passed to git-whatchanged there's no sign of anything in that

Re: OOM killer gripe (was Re: What still uses the block layer?)

2007-10-16 Thread Rob Landley
On Tuesday 16 October 2007 5:28:59 am Alan Cox wrote: > > I'm sure somebody will eventually write an OLS paper or something on the > > advisability of making swapping decisions with 4k granularity when disks > > really want bigger I/O transactions. > > Funnily enough someone thought of that many

Re: [PATCHSET 3/4] sysfs: divorce sysfs from kobject and driver model

2007-10-16 Thread Eric W. Biederman
[EMAIL PROTECTED] writes: > | No. The "other" device namespace I would construct on machine B to > | look just like the device namespace that existed on machine A. > | Making /sys/devices/block/sda would still be 8:0. > | > | So to be very clear on machine B when talking about disk-1 I would

Re: [git pull] scheduler updates for v2.6.24

2007-10-16 Thread Gabriel C
Dmitry Adamushko wrote: > [ cc'ed Srivatsa ] > > On 17/10/2007, Gabriel C <[EMAIL PROTECTED]> wrote: >> Ingo Molnar wrote: >> [15692.917111] BUG: unable to handle kernel NULL pointer dereference at >> virtual address 0044 >> ... >> [15692.917629] EFLAGS: 00010046 (2.6.23-g65a6ec0d #330) >>

  1   2   3   4   5   6   7   8   9   10   >