[GIT PULL] Remove the use of magic macros for boot_params/screen_info

2007-10-16 Thread H. Peter Anvin
Hi Linus, Please pull: git://git.kernel.org/pub/scm/linux/kernel/git/hpa/linux-2.6-x86setup.git master This patch removes all uses of magic macros to access the former zeropage, now the boot_params structure, as well as the screen_info structure. The equivalent (pre-x86-merge) of the boot_pa

[PATCH] hotplug cpu: migrate a task within its cpuset whitespace fix

2007-10-16 Thread Paul Jackson
From: Paul Jackson <[EMAIL PROTECTED]> Fix indentation and spacing. Signed-off-by: Paul Jackson <[EMAIL PROTECTED]> Cc: Cliff Wickman <[EMAIL PROTECTED]> Cc: Oleg Nesterov <[EMAIL PROTECTED]> Cc: Christoph Lameter <[EMAIL PROTECTED]> Cc: Ingo Molnar <[EMAIL PROTECTED]> --- This fix applies to a

[PATCH] cpuset sched_load_balance kmalloc fix

2007-10-16 Thread Paul Jackson
From: Paul Jackson <[EMAIL PROTECTED]> Properly check return value of kmalloc'd dynamic sched domain cpumasks, and fallback to a non-kmalloc'd default (one large sched domain) if kmalloc fails. Signed-off-by: Paul Jackson <[EMAIL PROTECTED]> --- This fix applies to and goes anywhere after the p

Re: 2.6.23-git-10 Build Failure on powerpc - asm-powerpc/dma_mapping.h

2007-10-16 Thread Olof Johansson
Hi, On Wed, Oct 17, 2007 at 11:50:49AM +0530, Kamalesh Babulal wrote: > Build fails on the powerpc fails with 2.6.23-git10 This was fixed by 33ff910f0f466184ffc3514628f18403dcd86761. -Olof - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EM

Re: Syba 8-Port Serial Card Unidentified By Kernel

2007-10-16 Thread Andrey Panin
On 289, 10 16, 2007 at 03:03:34PM -0400, Chris Bergeron wrote: > Andrey Panin wrote: >> On 284, 10 11, 2007 at 01:02:12PM -0400, Chris Bergeron wrote: >> >>> Andrey Panin wrote: >>> On 278, 10 05, 2007 at 05:31:05PM -0400, Chris Bergeron wrote: > Hello all, >

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

2007-10-16 Thread Henrique de Moraes Holschuh
On Tue, 16 Oct 2007, Jesse Barnes wrote: > However, since we already have userspace code in place handling the > input layer case, why not just go with it? It's fairly straightforward > and already works in some distros. That is answered in the thread, as well... -- "One disk to rule them a

Re: ioctl32: Unknown cmd

2007-10-16 Thread Geert Uytterhoeven
On Tue, 16 Oct 2007, Arnd Bergmann wrote: > On Tuesday 16 October 2007, Geert Uytterhoeven wrote: > > The recent (post 2.6.23) changes to compat_ioctl made the reporting of > > unsupported ioctls more verbose. E.g. on the PS3 I get: > > > > | ioctl32(cdrom_id:608): Unknown cmd fd(3) cmd(5331){

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

2007-10-16 Thread Jesse Barnes
On Tuesday, October 16, 2007 11:25 pm Henrique de Moraes Holschuh wrote: > On Tue, 16 Oct 2007, Jesse Barnes wrote: > > > Last time the issue was brought up (and I do believe it was > > > because of thinkpad-acpi :-) ), he made it clear that any events > > > you are to act upon are fine in input, b

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

2007-10-16 Thread Rusty Russell
On Wednesday 17 October 2007 15:37:54 Gautham R Shenoy wrote: > 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, >

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

2007-10-16 Thread Henrique de Moraes Holschuh
On Tue, 16 Oct 2007, Jesse Barnes wrote: > > Last time the issue was brought up (and I do believe it was because > > of thinkpad-acpi :-) ), he made it clear that any events you are to > > act upon are fine in input, but events that are just notifications > > (i.e. the firmware already did the acti

2.6.23-git-10 Build Failure on powerpc - asm-powerpc/dma_mapping.h

2007-10-16 Thread Kamalesh Babulal
Hi, Build fails on the powerpc fails with 2.6.23-git10 CC init/main.o In file included from include/linux/dma-mapping.h:42, from include/linux/dmaengine.h:29, from include/linux/skbuff.h:29, from include/linux/netlink.h:155,

Re: Revised signalfd man-page

2007-10-16 Thread Michael Kerrisk
Hi Davide, Davide Libenzi wrote: > On Mon, 15 Oct 2007, Michael Kerrisk wrote: > >> Hi Davide, >> >> There were two questions that you overlooked in my earlier draft of the >> signalfd man page. I've revised one of the questions slightly. Could you >> look at these please: > > I think I alread

Re: Distinguishing releases from pre-rc snapshots

2007-10-16 Thread Frans Pop
Pavel Roskin 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. 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 preproc

Re: suspicious ALSA empty commit

2007-10-16 Thread Jaroslav Kysela
On Tue, 16 Oct 2007, Linus Torvalds wrote: > On Tue, 16 Oct 2007, David Miller wrote: > > > > While scanning over today's updates in Linus's tree, I noticed > > the following commit has no changes, and this does not appear > > to be intentional. > > Interesting. You're right, I didn't notice. I

RE: onenand_sim crashes

2007-10-16 Thread Kyungmin Park
Hi, Thank you for point out. There is a bug. It frees the static variable. Please see the attached patch. Thank you, Kyungmin Park > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of Randy Dunlap > Sent: Wednesday, October 17, 2007 2:15 PM > To: lkml

Re: What still uses the block layer?

2007-10-16 Thread david
On Wed, 17 Oct 2007, [EMAIL PROTECTED] wrote: 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 yo

Re: [PATCH] /proc Security Hooks

2007-10-16 Thread Greg KH
On Wed, Oct 17, 2007 at 07:13:57AM +0200, Max Kellermann 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 like > > > Linu

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

2007-10-16 Thread Jeff Garzik
Jeff Garzik wrote: 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 Note the change from the previous 'fe-lock' branch, which is now left as-is on kernel.org, but not being updated. - To unsubscribe from this list: sen

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

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

[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 * retri

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

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

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 dr

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

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

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 eth1

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. > >> (http://

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

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 l

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 gets

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 Cre

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

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 t

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 in

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

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

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 allow

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 vm

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 has

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 confusi

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 provided

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 var

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

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 utterl

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 occ

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, &value); /* Check if slot > is occupied */ > + /* Check if slot is occupied */ > + t_slot->hpc_ops->get_adapter_status(t_slot, &value); > if ((POWER_CTRL(ctrl->ctrlcap)) &&

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 direct

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 seco

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

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 th

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 t

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

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 s

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 seem

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 repor

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

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 kern

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 backlight?

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 st

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 doe

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 9185cfa9

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 Fed

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 vmcore

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 an

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 LINUX

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 @@ L

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 void

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 pr

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 saf

[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 +++ linux/drivers/pci/hotplug/pc

[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 +++ linux/drivers/pci/hotpl

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

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

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 proble

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

[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? Ev

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

  1   2   3   4   5   6   >