[PATCH 0/7] Add class iteration api and convert semaphore to mutex

2008-01-12 Thread Dave Young
This series do three things: 1.[PATCH 1/7] Add some class iteration functions in driver core: class_for_each_device class_find_device class_for_each_child class_find_child 2.[PATCH {2,3,4,5,6}/7] Make the drivers with class iterating to use class iteration api. 3.[PATCH 7/7]

Re: [PATCH 2/2][RFC][BUG] msync: updating ctime and mtime at syncing

2008-01-12 Thread Peter Zijlstra
On Sat, 2008-01-12 at 10:36 +0100, Peter Zijlstra wrote: On Fri, 2008-01-11 at 03:44 +0300, Anton Salikhmetov wrote: +/* + * Update the ctime and mtime stamps after checking if they are to be updated. + */ +void mapped_file_update_time(struct file *file) +{ + if

Re: 2.6.24-rc7, intel audio: alsa doesn't say a beep

2008-01-12 Thread Harald Dunkel
Takashi Iwai wrote: At Thu, 10 Jan 2008 23:02:53 +0100, Harald Dunkel wrote: Takashi Iwai wrote: Hm... Just to be sure, try the patch below. It's a clean up patch that I'd like to apply later. Sorry, no sound. OK, but I'd like to know whether this makes no regression to rc6. Could you

[PATCH 1/7] driver-core : add class iteration api

2008-01-12 Thread Dave Young
Add the following class iteration functions for driver use: class_for_each_device class_find_device class_for_each_child class_find_child Signed-off-by: Dave Young [EMAIL PROTECTED] --- drivers/base/class.c | 159 + include/linux/device.h |

Re: [RFC][PATCH] per-task I/O throttling

2008-01-12 Thread Peter Zijlstra
On Fri, 2008-01-11 at 23:57 -0500, [EMAIL PROTECTED] wrote: On Fri, 11 Jan 2008 17:32:49 +0100, Andrea Righi said: The interesting feature is that it allows to set a priority for each process container, but AFAIK it doesn't allow to partition the bandwidth between different containers

[PATCH 2/7] ieee1394 : use class iteration api

2008-01-12 Thread Dave Young
Convert to use the class iteration api. Signed-off-by: Dave Young [EMAIL PROTECTED] --- drivers/ieee1394/nodemgr.c | 319 + 1 file changed, 178 insertions(+), 141 deletions(-) diff -upr linux/drivers/ieee1394/nodemgr.c

[PATCH 3/7] power supply : use class iteration api

2008-01-12 Thread Dave Young
Convert to use the class iteration api. Signed-off-by: Dave Young [EMAIL PROTECTED] --- drivers/power/apm_power.c | 116 ++ drivers/power/power_supply_core.c | 72 --- 2 files changed, 106 insertions(+), 82 deletions(-) diff

Re: 2.6.24-rc4 hwmon it87 probe fails

2008-01-12 Thread Jean Delvare
Hi Bjorn, Sorry for the late answer. On Wed, 2 Jan 2008 11:30:55 -0700, Bjorn Helgaas wrote: Even if the BIOS does not declare an IT87xxF as an independent device, there may be AML that uses the chip internally. For example, the BIOS could declare a thermal zone with a _TMP method, and the

[PATCH 4/7] rtc : use class iteration api

2008-01-12 Thread Dave Young
Convert to use the class iteration api. Signed-off-by: Dave Young [EMAIL PROTECTED] --- drivers/rtc/interface.c | 22 -- 1 file changed, 12 insertions(+), 10 deletions(-) diff -upr linux/drivers/rtc/interface.c linux.new/drivers/rtc/interface.c ---

[PATCH 5/7] scsi : use class iteration api

2008-01-12 Thread Dave Young
Convert to use the class iteration api. Signed-off-by: Dave Young [EMAIL PROTECTED] --- drivers/scsi/hosts.c | 26 +++--- 1 file changed, 15 insertions(+), 11 deletions(-) diff -upr linux/drivers/scsi/hosts.c linux.new/drivers/scsi/hosts.c --- linux/drivers/scsi/hosts.c

[PATCH 6/7] spi : use class iteration api

2008-01-12 Thread Dave Young
Convert to use the class iteration api. Signed-off-by: Dave Young [EMAIL PROTECTED] --- drivers/spi/spi.c | 26 -- 1 file changed, 16 insertions(+), 10 deletions(-) diff -upr linux/drivers/spi/spi.c linux.new/drivers/spi/spi.c --- linux/drivers/spi/spi.c

Re: 2.6.24-rc4 hwmon it87 probe fails

2008-01-12 Thread Jean Delvare
Hi Robert, On Wed, 19 Dec 2007 19:09:54 -0600, Robert Hancock wrote: It's quite possible that the BIOS accesses the device either from ACPI AML or possibly even from SMI. In that case it would be quite reasonable for the BIOS to reserve that region to prevent another driver from loading

Re: [PATCH] x86-64: disable the GART early v2

2008-01-12 Thread Yinghai Lu
please check the one against x86.git it will use fix e820 for gart. YH [PATCH] x86-64: fix e820 for GART or disable the GART early For K8 system: 4G RAM with memory hole remapping enabled, or more than 4G RAM installed. when try to use kexec second kernel, and the first doesn't include

[PATCH 7/7] driver-core : convert semaphore to mutex in struct class

2008-01-12 Thread Dave Young
Convert the class semaphore to mutex. Signed-off-by: Dave Young [EMAIL PROTECTED] --- drivers/base/class.c | 38 +++--- drivers/base/core.c| 18 -- include/linux/device.h |3 ++- 3 files changed, 29 insertions(+), 30 deletions(-)

Re: The ext3 way of journalling

2008-01-12 Thread Matthias Schniedermeyer
On 12.01.2008 18:10, TimC wrote: Bodo Eggert [EMAIL PROTECTED] said on Sat, 12 Jan 2008 02:41:17 +0100 (CET): On Fri, 11 Jan 2008, Lennart Sorensen wrote: On Fri, Jan 11, 2008 at 05:22:45PM +0100, Bodo Eggert wrote: What can happen if someone does tune2fs -Lroot /dev/usbstick and

Re: [RFD] Incremental fsck

2008-01-12 Thread Al Boldi
Bodo Eggert wrote: Al Boldi [EMAIL PROTECTED] wrote: Even after a black-out shutdown, the corruption is pretty minimal, using ext3fs at least. So let's take advantage of this fact and do an optimistic fsck, to assure integrity per-dir, and assume no external corruption. Then we release

Re: [PATCH 0/5] USB Kconfig: Reorganize USB Kconfig Menu

2008-01-12 Thread Al Boldi
Greg KH wrote: On Sat, Jan 05, 2008 at 06:40:38PM +0300, Al Boldi wrote: Reorganize USB Kconfig Menu, and move USB_GADGET out into the Device Driver Menu. ?This helps the USB Kconfig Menu to be more logical/usable. Patchset against 2.6.23 So what was the final verdict in this patch set?

Re: [PATCH 1/7] driver-core : add class iteration api

2008-01-12 Thread Stefan Richter
Dave Young wrote: Add the following class iteration functions for driver use: Thanks Dave. I will check the ieee1394 part in detail later. ... +/** + * class_find_device - device iterator for locating a particular device + * @class: the class we're iterating + * @data: data for the match

Re: [RFC][PATCH] per-task I/O throttling

2008-01-12 Thread Balbir Singh
* Peter Zijlstra [EMAIL PROTECTED] [2008-01-12 10:46:37]: On Fri, 2008-01-11 at 23:57 -0500, [EMAIL PROTECTED] wrote: On Fri, 11 Jan 2008 17:32:49 +0100, Andrea Righi said: The interesting feature is that it allows to set a priority for each process container, but AFAIK it doesn't

Re: [RFC][PATCH] per-task I/O throttling

2008-01-12 Thread Peter Zijlstra
On Sat, 2008-01-12 at 16:27 +0530, Balbir Singh wrote: * Peter Zijlstra [EMAIL PROTECTED] [2008-01-12 10:46:37]: On Fri, 2008-01-11 at 23:57 -0500, [EMAIL PROTECTED] wrote: On Fri, 11 Jan 2008 17:32:49 +0100, Andrea Righi said: The interesting feature is that it allows to set a

Re: [PATCH 2/7] ieee1394 : use class iteration api

2008-01-12 Thread Stefan Richter
Dave Young wrote: +++ linux.new/drivers/ieee1394/nodemgr.c 2008-01-12 15:20:27.0 +0800 ... static void nodemgr_remove_uds(struct node_entry *ne) { struct device *dev; - struct unit_directory *tmp, *ud; + struct unit_directory *ud; - /* Iteration over

Re: [alsa-devel] PNP_DRIVER_RES_DISABLE breaks swsusp at least with snd_cs4236

2008-01-12 Thread Pierre Ossman
On Sat, 12 Jan 2008 02:23:27 +0100 Rene Herman [EMAIL PROTECTED] wrote: Pavel, Rafael -- the attached fixes snd-cs4236 not coming back to life for Ondrej after hibernation due to the PNP_DRIVER_RES_DO_NOT_CHANGE test triggering in pnp_bus_resume() and keeping the card in a suspended state.

Re: [PATCH 2/7] ieee1394 : use class iteration api

2008-01-12 Thread Stefan Richter
Dave Young wrote: +++ linux.new/drivers/ieee1394/nodemgr.c 2008-01-12 15:20:27.0 +0800 ... static void nodemgr_remove_uds(struct node_entry *ne) { struct device *dev; -struct unit_directory *tmp, *ud; +struct unit_directory *ud; -/* Iteration over

Re: [PATCH 0/4] PM: Do not destroy/create devices while suspended (rev. 2)

2008-01-12 Thread Rafael J. Wysocki
On Saturday, 12 of January 2008, Andrew Morton wrote: On Fri, 11 Jan 2008 16:46:13 -0800 Andrew Morton [EMAIL PROTECTED] wrote: The first patch in the series introduces such a mechanism. The remaining three patches modify the MSR, x86-64 MCE and cpuid drivers in accordance with

[PATCH][RFC] security: call security_file_permission from rw_verify_area

2008-01-12 Thread James Morris
Please review. Tested with SELinux in enforcing mode. --- All instances of rw_verify_area() are followed by a call to security_file_permission(), so just call the latter from the former. Signed-off-by: James Morris [EMAIL PROTECTED] --- fs/compat.c |4 --- fs/read_write.c | 63

Re: [PATCH] x86_64: cleanup setup_node_zones called by paging_init v2

2008-01-12 Thread Yinghai Lu
On Wednesday 09 January 2008 11:19:01 am Christoph Lameter wrote: On Wed, 9 Jan 2008, Yinghai Lu wrote: Christoph's x86: 64-bit, make sparsemem vmemmap the only memory model is in x86.git mm so we could remove setup_node_zones because it is not needed by SPARSEMEM please check the

Re: [PATCH 0/4] PM: Do not destroy/create devices while suspended (rev. 2)

2008-01-12 Thread Rafael J. Wysocki
On Saturday, 12 of January 2008, Greg KH wrote: On Fri, Jan 11, 2008 at 10:11:52PM -0500, Alan Stern wrote: On Fri, 11 Jan 2008, Greg KH wrote: On Fri, Jan 11, 2008 at 04:49:04PM -0800, Andrew Morton wrote: err, no. pm-introduce-destroy_suspended_device.patch demolishes

Re: [PATCH 001/001] ipv4: enable use of 240/4 address space

2008-01-12 Thread Jan Engelhardt
On Jan 11 2008 17:49, David Miller wrote: From: Vince Fuller [EMAIL PROTECTED] Date: Fri, 11 Jan 2008 09:29:15 -0800 I leave it up to you, the developers, to decide if you want to use these patches. Vince, please just ignore these turkeys who are dismissing your patch and respin it against

[PATCH] firewire vs. ieee1394: clarify MAINTAINERS

2008-01-12 Thread Stefan Richter
Maintainers like to receive less mail, and submitters like to have to Cc less recipients. Signed-off-by: Stefan Richter [EMAIL PROTECTED] --- MAINTAINERS |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Index: linux/MAINTAINERS

Re: [PATCH] SH/Dreamcast - add support for GD-Rom CDROM drive on SEGA Dreamcast

2008-01-12 Thread Jens Axboe
On Fri, Jan 11 2008, Adrian McMenamin wrote: On Thu, 2008-01-10 at 23:25 +, Adrian McMenamin wrote: From: Adrian McMenamin [EMAIL PROTECTED] This patch adds support for the GD-Rom drive, SEGA's proprietary implementation of an IDE CD Rom for the SEGA Dreamcast. This driver

Re: [PATCH 0/3] block: remove end_{queued|dequeued}_request()

2008-01-12 Thread Jens Axboe
On Fri, Jan 11 2008, Kiyoshi Ueda wrote: Hi Jens, This patch set removes end_queued_request() and end_dequeued_request(), which became identical by the blk-end-request patch set. They just calls __blk_end_request() actually, so users of them are converted to call __blk_end_request()

[PATCH] kconfig: multibyte character support for lxdialog

2008-01-12 Thread EGRY Gabor
UTF-8 support for lxdialog with wchar. The installed wide ncurses (ncursesw) is optional. Signed-off-by: Egry Gabor [EMAIL PROTECTED] --- kbuild-szilard/scripts/kconfig/lxdialog/check-lxdialog.sh |6 kbuild-szilard/scripts/kconfig/lxdialog/checklist.c | 13 -

Re: [PATCH] Assign IRQs to HPET Timers

2008-01-12 Thread Balbir Singh
* Balaji Rao [EMAIL PROTECTED] [2008-01-12 00:36:11]: Assign an IRQ to HPET Timer devices when interrupt enable is requested. This now makes the HPET userspace API work. A more detailed changelog will better help understand the nature and origin of the problem and how to reproduce it.

Re: [PATCH 2/2][RFC][BUG] msync: updating ctime and mtime at syncing

2008-01-12 Thread Anton Salikhmetov
2008/1/12, Peter Zijlstra [EMAIL PROTECTED]: On Fri, 2008-01-11 at 03:44 +0300, Anton Salikhmetov wrote: +/* + * Update the ctime and mtime stamps after checking if they are to be updated. + */ +void mapped_file_update_time(struct file *file) +{ + if

Re: [PATCH 2/2][RFC][BUG] msync: updating ctime and mtime at syncing

2008-01-12 Thread Anton Salikhmetov
2008/1/12, Peter Zijlstra [EMAIL PROTECTED]: On Sat, 2008-01-12 at 10:36 +0100, Peter Zijlstra wrote: On Fri, 2008-01-11 at 03:44 +0300, Anton Salikhmetov wrote: +/* + * Update the ctime and mtime stamps after checking if they are to be updated. + */ +void

Re: [patch] split MMC_CAP_4_BIT_DATA

2008-01-12 Thread Robin Getz
On Fri 11 Jan 2008 12:52, Robin Getz pondered: On Fri 11 Jan 2008 04:35, Pierre Ossman pondered: On Fri, 11 Jan 2008 04:08:53 -0500 Mike Frysinger [EMAIL PROTECTED] wrote: On Jan 11, 2008 3:40 AM, Pierre Ossman [EMAIL PROTECTED] wrote: So it's far more probable that you've

Re: [PATCH 2/2][RFC][BUG] msync: updating ctime and mtime at syncing

2008-01-12 Thread Peter Zijlstra
On Sat, 2008-01-12 at 15:38 +0300, Anton Salikhmetov wrote: 2008/1/12, Peter Zijlstra [EMAIL PROTECTED]: On Sat, 2008-01-12 at 10:36 +0100, Peter Zijlstra wrote: On Fri, 2008-01-11 at 03:44 +0300, Anton Salikhmetov wrote: +/* + * Update the ctime and mtime stamps after checking

Re: [PATCH 10/16] udf: create common function for changing free space counter

2008-01-12 Thread Marcin Slusarz
On Fri, Jan 11, 2008 at 12:24:49AM +0100, Jan Kara wrote: On Thu 10-01-08 23:06:26, [EMAIL PROTECTED] wrote: Signed-off-by: Marcin Slusarz [EMAIL PROTECTED] CC: Jan Kara [EMAIL PROTECTED] CC: Christoph Hellwig [EMAIL PROTECTED] Just two minor comment... --- fs/udf/balloc.c | 49

Re: [PATCH] SH/Dreamcast - add support for GD-Rom CDROM drive on SEGA Dreamcast

2008-01-12 Thread Andrew Morton
On Fri, 11 Jan 2008 21:56:49 + Adrian McMenamin [EMAIL PROTECTED] wrote: On Thu, 2008-01-10 at 23:25 +, Adrian McMenamin wrote: From: Adrian McMenamin [EMAIL PROTECTED] This patch adds support for the GD-Rom drive, SEGA's proprietary implementation of an IDE CD Rom for the

Re: [alsa-devel] PNP_DRIVER_RES_DISABLE breaks swsusp at least with snd_cs4236

2008-01-12 Thread Rene Herman
On 12-01-08 12:12, Pierre Ossman wrote: On Sat, 12 Jan 2008 02:23:27 +0100 Rene Herman [EMAIL PROTECTED] wrote: Pavel, Rafael -- the attached fixes snd-cs4236 not coming back to life for Ondrej after hibernation due to the PNP_DRIVER_RES_DO_NOT_CHANGE test triggering in pnp_bus_resume() and

Re: [PATCH 2/2][RFC][BUG] msync: updating ctime and mtime at syncing

2008-01-12 Thread Anton Salikhmetov
2008/1/12, Peter Zijlstra [EMAIL PROTECTED]: On Sat, 2008-01-12 at 15:38 +0300, Anton Salikhmetov wrote: 2008/1/12, Peter Zijlstra [EMAIL PROTECTED]: On Sat, 2008-01-12 at 10:36 +0100, Peter Zijlstra wrote: On Fri, 2008-01-11 at 03:44 +0300, Anton Salikhmetov wrote: +/*

Re: [PATCH] kconfig: multibyte character support for lxdialog

2008-01-12 Thread Sam Ravnborg
On Sat, Jan 12, 2008 at 01:01:55PM +0100, EGRY Gabor wrote: UTF-8 support for lxdialog with wchar. The installed wide ncurses (ncursesw) is optional. Building this on my 64 bit box with ncursesw support I saw several warnings. Adding the following to dialog.h decreased the number: #ifdef

Re: [PATCH] SH/Dreamcast - add support for GD-Rom CDROM drive on SEGA Dreamcast

2008-01-12 Thread Adrian McMenamin
On Sat, 2008-01-12 at 05:36 -0800, Andrew Morton wrote: On Fri, 11 Jan 2008 21:56:49 + Adrian McMenamin [EMAIL PROTECTED] wrote: On Thu, 2008-01-10 at 23:25 +, Adrian McMenamin wrote: From: Adrian McMenamin [EMAIL PROTECTED] This patch adds support for the GD-Rom drive,

Re: [Patch v2] Make PCI extended config space (MMCONFIG) a driver opt-in

2008-01-12 Thread Ivan Kokshaysky
On Fri, Jan 11, 2008 at 04:26:38PM -0800, Greg KH wrote: One typical problem is that on Intel(r) 3 Series Experss Chipset Family MMCONFIG probing of the BAR #2 (frame buffer address) of integrated graphics device locks up the machine (depending on BIOS settings, of course). This happens

Re: The ext3 way of journalling

2008-01-12 Thread Theodore Tso
On Thu, Jan 10, 2008 at 03:41:11PM +0200, Tuomo Valkonen wrote: On 2008-01-10 08:16 -0500, Theodore Tso wrote: It displays just the right time. On boot anyway. (Linux has had some serious problems keeping the time after the switch from 2.6.7 to 2.6.14, advanding even 15 minutes a day --

Re: PCI Failed to allocate mem for PCI ROM

2008-01-12 Thread Ivan Kokshaysky
On Sat, Jan 12, 2008 at 12:27:05AM -0700, Grant Grundler wrote: Looking at setup-bus.c:pci_bridge_check_ranges(), I'm concluding that: [7] is IO Range. [8] is MMIO [9] is Prefetchable MMIO [10] no clue...maybe used by host PCI bus controllers. #10 is for cardbus bridges, IIRC. 0x10 is

Re: Huawei EC321 CDMA PCCARD support broken

2008-01-12 Thread 张韡武
在 2008-01-08二的 07:27 +0100,Matthias Urlichs写道: Hi, A lot of google searches reflect that, the latest kernel supporting Huawei EC321 CDMA PCCARD is 2.6.17. My version (2.6.22-14 on Ubuntu) doesn't work. This is probably because ... [ 3804.14]

Re: [alsa-devel] PNP_DRIVER_RES_DISABLE breaks swsusp at least with snd_cs4236

2008-01-12 Thread Pierre Ossman
On Sat, 12 Jan 2008 14:39:47 +0100 Rene Herman [EMAIL PROTECTED] wrote: On 12-01-08 12:12, Pierre Ossman wrote: I'm a bit confused here. Bjorn Helgaas wanted to remove the pnp_start/stop_dev() calls completely, and you want them called all the time. :) Wanted where? Haven't seen a

Re: [patch] split MMC_CAP_4_BIT_DATA

2008-01-12 Thread Bryan Wu
On Jan 12, 2008 9:02 PM, Robin Getz [EMAIL PROTECTED] wrote: On Fri 11 Jan 2008 12:52, Robin Getz pondered: On Fri 11 Jan 2008 04:35, Pierre Ossman pondered: On Fri, 11 Jan 2008 04:08:53 -0500 Mike Frysinger [EMAIL PROTECTED] wrote: On Jan 11, 2008 3:40 AM, Pierre Ossman [EMAIL

Re: rtl8187 rate control doesn't work

2008-01-12 Thread Stefano Brivio
On Sat, 12 Jan 2008 15:44:30 +0100 Hauke Mehrtens [EMAIL PROTECTED] wrote: I have tested kernel 2.6.24-rc7-git4 with the build in rtl8187 module and I have the same problem. Could you please try the wireless-2.6 kernel tree? I think it's fixed there. Details on how to download that can be

Re: [patch] split MMC_CAP_4_BIT_DATA

2008-01-12 Thread Pierre Ossman
On Sat, 12 Jan 2008 08:02:37 -0500 Robin Getz [EMAIL PROTECTED] wrote: According to the HW folks - it is exactly as Pierre indicated - in theory it should work, 4-bit MMC requires usage of different set of commands as compared to 4-bit SD, so it should be just software - although no one

Re: [Patch v2] Make PCI extended config space (MMCONFIG) a driver opt-in

2008-01-12 Thread Arjan van de Ven
On Sat, 12 Jan 2008 17:40:30 +0300 Ivan Kokshaysky [EMAIL PROTECTED] wrote: e. Ivan, you posted one a while ago, but never seemed to get any confirmation if it helped or not. Should I use that and drop Arjan's? Actually I'm strongly against Arjan's patch. First, it's based on

Re: Lenovo ThinkPads need acpi_osi=Linux

2008-01-12 Thread Alan Cox
Now, what should we do about it? Add a quirk to always define the Linux OSI string on ThinkPads (based on DMI information)? All IBM ones (which won't have BIOS revisions anymore, anyway) deal well with it, and Lenovo ones seem to benefit from it. If Lenovo systems do the right thing then I

Re: [i2c] [PATCH 0/5] Version 17, series to add device tree naming to i2c

2008-01-12 Thread Jon Smirl
On 1/12/08, Jean Delvare [EMAIL PROTECTED] wrote: On Fri, 11 Jan 2008 15:16:57 -0500, Jon Smirl wrote: On 1/11/08, Jean Delvare [EMAIL PROTECTED] wrote: Secondly, it promotes OF device names as acceptable aliases. This I don't think I agree with. While I see some value in moving the OF

Re: [Patch v2] Make PCI extended config space (MMCONFIG) a driver opt-in

2008-01-12 Thread Ivan Kokshaysky
On Sat, Jan 12, 2008 at 07:46:32AM -0800, Arjan van de Ven wrote: Ivan Kokshaysky [EMAIL PROTECTED] wrote: Actually I'm strongly against Arjan's patch. First, it's based on assumption that the MMCONFIG thing is sort of fundamentally broken on some systems, but none of the facts we have so

Re: [i2c] [PATCH 1/5] Implement module aliasing for i2c to translate from device tree names

2008-01-12 Thread Jon Smirl
On 1/12/08, Jean Delvare [EMAIL PROTECTED] wrote: Hi Jon, On Fri, 11 Jan 2008 20:20:15 +0100, Jean Delvare wrote: +{ + /* only powerpc drivers implement the id_table, +* it is empty on other platforms */ + if (id) { + while (id-name[0]) { +

Re: [alsa-devel] PNP_DRIVER_RES_DISABLE breaks swsusp at least with snd_cs4236

2008-01-12 Thread Ondrej Zary
On Saturday 12 January 2008 16:21:50 Pierre Ossman wrote: On Sat, 12 Jan 2008 14:39:47 +0100 Rene Herman [EMAIL PROTECTED] wrote: On 12-01-08 12:12, Pierre Ossman wrote: I'm a bit confused here. Bjorn Helgaas wanted to remove the pnp_start/stop_dev() calls completely, and you want them

Re: [PATCH/RFC] synchronize_rcu(): high latency on idle system

2008-01-12 Thread Paul E. McKenney
On Sat, Jan 12, 2008 at 10:23:11AM +0100, Peter Zijlstra wrote: On Fri, 2008-01-11 at 20:26 -0500, Benjamin LaHaise wrote: Hello folks, I'd like to put the patch below out for comments to see if folks think the approach is a valid fix to reduce the latency of synchronize_rcu(). The

Re: [alsa-devel] PNP_DRIVER_RES_DISABLE breaks swsusp at least with snd_cs4236

2008-01-12 Thread Rene Herman
On 12-01-08 16:21, Pierre Ossman wrote: Ah, sorry. It was a different thread. Look for a mail with the subject PNP: do not stop/start devices in suspend/resume path in the LKML och linux-pm archives. Right, and I see that the removal of start/stop is already in -mm. That's not going to

Re: [PATCH/RFC] synchronize_rcu(): high latency on idle system

2008-01-12 Thread Andi Kleen
On Saturday 12 January 2008 10:23:11 Peter Zijlstra wrote: On Fri, 2008-01-11 at 20:26 -0500, Benjamin LaHaise wrote: Hello folks, I'd like to put the patch below out for comments to see if folks think the approach is a valid fix to reduce the latency of synchronize_rcu(). The

Re: 2.6.24-rc7, intel audio: alsa doesn't say a beep

2008-01-12 Thread Daniel Hazelton
On Saturday 12 January 2008 04:41:21 Harald Dunkel wrote: Takashi Iwai wrote: At Thu, 10 Jan 2008 23:02:53 +0100, Harald Dunkel wrote: Takashi Iwai wrote: Hm... Just to be sure, try the patch below. It's a clean up patch that I'd like to apply later. Sorry, no sound. OK, but

Re: [Patch v2] Make PCI extended config space (MMCONFIG) a driver opt-in

2008-01-12 Thread Arjan van de Ven
On Sat, 12 Jan 2008 17:40:30 +0300 Ivan Kokshaysky [EMAIL PROTECTED] wrote: --- a/arch/x86/pci/mmconfig_32.c +++ b/arch/x86/pci/mmconfig_32.c @@ -30,10 +30,6 @@ static u32 get_base_addr(unsigned int seg, int bus, unsigned devfn) struct acpi_mcfg_allocation *cfg; int cfg_num; -

Re: [PATCH/RFC] synchronize_rcu(): high latency on idle system

2008-01-12 Thread Benjamin LaHaise
On Sat, Jan 12, 2008 at 03:37:59AM +0100, Andi Kleen wrote: And yes, the network stack shouldn't call synchronize_rcu() quite so much, but fixing that is a little more involved. ... but the correct solution. There has to be at least 1 synchronize_rcu() or equivalent in the

Re: [RFC][PATCH] per-task I/O throttling

2008-01-12 Thread Andrea Righi
Peter Zijlstra wrote: On Sat, 2008-01-12 at 16:27 +0530, Balbir Singh wrote: * Peter Zijlstra [EMAIL PROTECTED] [2008-01-12 10:46:37]: On Fri, 2008-01-11 at 23:57 -0500, [EMAIL PROTECTED] wrote: On Fri, 11 Jan 2008 17:32:49 +0100, Andrea Righi said: The interesting feature is that it allows

[PATCH PREEMPT_RT] Compilation fix for PPC

2008-01-12 Thread Sripathi Kodi
Hi, 2.6.24-rc5-rt1 won't compile on PPC if CONFIG_SMP is turned off. CC arch/powerpc/kernel/pmc.o In file included from include/asm/tlb.h:62, from arch/powerpc/mm/mem.c:44: include/asm-generic/tlb.h: In function ‘tlb_gather_mmu’: include/asm-generic/tlb.h:58: error:

Updatedb hangs Kernel 2.6.22.9-cfs-v22

2008-01-12 Thread Renato S. Yamane
Hi, I can't use updatedb in Debian Etch (stable) using customized Kernel 2.6.22.9-cfs-v22. When I ran updatedb, after ~1 minute my system hangs and caps lock LED is blinking. No log is registered. .config is attached. Regards, Renato S. Yamane # # Automatically generated make config: don't

Re: [Patch v2] Make PCI extended config space (MMCONFIG) a driver opt-in

2008-01-12 Thread Matthew Wilcox
On Sat, Jan 12, 2008 at 09:45:57AM -0800, Arjan van de Ven wrote: btw this is my main objection to your patch; it intertwines the conf1 and mmconfig code even more. When (and I'm saying when not if) systems arrive that only have MMCONFIG for some of the devices, we'll have to detangle this

Re: rtl8187 rate control doesn't work

2008-01-12 Thread Hauke Mehrtens
I have tried wireless-2.6 and I have the same problem. If the rate goes over 11M no TCP/IP traffic goes through the wireless connecting. If rate is set to auto and the rate control algorithm changes it to something less than 11M TCP/IP traffic goes through, but if it is more than 11M no TCP/IP

Re: [patch 0/8] Series to improve the x86 backtracing code

2008-01-12 Thread Linus Torvalds
On Fri, 11 Jan 2008, Arjan van de Ven wrote: this patch series improves the x86 backtracing code in the following ways: I heartily approve of this series. Good jorb. Especially the fact that you also fixed x86-64, which has been a total disaster in this area. Linus

Re: Updatedb hangs Kernel 2.6.22.9-cfs-v22

2008-01-12 Thread Ray Lee
On Jan 12, 2008 10:03 AM, Renato S. Yamane [EMAIL PROTECTED] wrote: Hi, I can't use updatedb in Debian Etch (stable) using customized Kernel 2.6.22.9-cfs-v22. When I ran updatedb, after ~1 minute my system hangs and caps lock LED is blinking. No log is registered. Please switch out of X11

Re: [PATCH/RFC] synchronize_rcu(): high latency on idle system

2008-01-12 Thread Andi Kleen
On Saturday 12 January 2008 18:51:35 Benjamin LaHaise wrote: On Sat, Jan 12, 2008 at 03:37:59AM +0100, Andi Kleen wrote: And yes, the network stack shouldn't call synchronize_rcu() quite so much, but fixing that is a little more involved. ... but the correct solution. There

Re: Updatedb hangs Kernel 2.6.22.9-cfs-v22

2008-01-12 Thread Dhaval Giani
On Sat, Jan 12, 2008 at 04:03:43PM -0200, Renato S. Yamane wrote: Hi, I can't use updatedb in Debian Etch (stable) using customized Kernel 2.6.22.9-cfs-v22. Hi, Can you see if it happens with the latest CFS backport. Its been updated quite a bit since then. You can find it at

Re: Usage semantics of atomic_set ( )

2008-01-12 Thread Vineet Gupta
What operations are you using to implement spinlocks? The cpu provides atomic exchange instruction (atomic Read/write semantics) which forms the back end of spin lock code. __raw_spin_trylock( ) atomically swaps the lock memory with a reg (set to 1) Using a pool of spinlocks rather that

Re: [alsa-devel] PNP_DRIVER_RES_DISABLE breaks swsusp at least with snd_cs4236

2008-01-12 Thread Rafael J. Wysocki
On Saturday, 12 of January 2008, Rene Herman wrote: On 12-01-08 16:21, Pierre Ossman wrote: Ah, sorry. It was a different thread. Look for a mail with the subject PNP: do not stop/start devices in suspend/resume path in the LKML och linux-pm archives. Right, and I see that the

Re: [PATCH] SH/Dreamcast - add support for GD-Rom CDROM drive on SEGA Dreamcast

2008-01-12 Thread Andrew Morton
On Sat, 12 Jan 2008 14:14:01 + Adrian McMenamin [EMAIL PROTECTED] wrote: + spin_command-cmd[0] = 0x70; + spin_command-cmd[2] = 0x1f; + spin_command-buflen = 0; + gd.pending = 1; + gdrom_packetcommand(gd.cd_info, spin_command); + /* 60 second timeout */ +

Re: [alsa-devel] PNP_DRIVER_RES_DISABLE breaks swsusp at least with snd_cs4236

2008-01-12 Thread Rafael J. Wysocki
On Saturday, 12 of January 2008, Rene Herman wrote: On 12-01-08 12:12, Pierre Ossman wrote: On Sat, 12 Jan 2008 02:23:27 +0100 Rene Herman [EMAIL PROTECTED] wrote: Pavel, Rafael -- the attached fixes snd-cs4236 not coming back to life for Ondrej after hibernation due to the

Top 10 kernel oopses for the week ending January 12th, 2008

2008-01-12 Thread Arjan van de Ven
The http://www.kerneloops.org website collects kernel oops and warning reports from various mailing lists and bugzillas as well as with a client users can install to auto-submit oopses. Below is a top 10 list of the oopses collected in the last 7 days. (Reports prior to 2.6.23 have been omitted

Re: The ext3 way of journalling

2008-01-12 Thread Andrey Vul
On Jan 12, 2008 10:06 AM, Theodore Tso [EMAIL PROTECTED] wrote: [snip] Unfortunately Ubuntu users [snip] fit this demographic hugely, and Ubuntu refuses to fix this problem[1], so it's been personally very vexing, because the users complain to *me*, and I can't fix the problem, because it's a

Re: PROBLEM REMAINS: [sata_nv ADMA breaks ATAPI] Crash on accessing DVD-RAM

2008-01-12 Thread Robert Hancock
Alexander wrote: Robert Hancock wrote: There's this patch which was intended to fix it: http://lkml.org/lkml/2007/11/22/148 I applied this patch to 2.6.24-rc7. Now at boot time my DVD-RW is normaly detected as: sr0: scsi3-mmc drive: 48x/48x writer dvd-ram cd/rw xa/form2 cdda tray But I

Re: [PATCH 0/5] USB Kconfig: Reorganize USB Kconfig Menu

2008-01-12 Thread Greg KH
On Sat, Jan 12, 2008 at 01:20:46PM +0300, Al Boldi wrote: Greg KH wrote: On Sat, Jan 05, 2008 at 06:40:38PM +0300, Al Boldi wrote: Reorganize USB Kconfig Menu, and move USB_GADGET out into the Device Driver Menu. ?This helps the USB Kconfig Menu to be more logical/usable. Patchset

Re: new runtime scsi warnings in 2.6.24-rc6+git

2008-01-12 Thread Rafael J. Wysocki
On Friday, 4 of January 2008, Meelis Roos wrote: Todays git gives the following warning during bootup on a Intel 845+PATA PC (using libata to drive PATA): Driver 'sd' needs updating - please use bus_type methods Driver 'sr' needs updating - please use bus_type methods They are due to

Re: rtl8187 rate control doesn't work

2008-01-12 Thread Stefano Brivio
On Sat, 12 Jan 2008 19:23:53 +0100 Hauke Mehrtens [EMAIL PROTECTED] wrote: I have tried wireless-2.6 and I have the same problem. If the rate goes over 11M no TCP/IP traffic goes through the wireless connecting. If rate is set to auto and the rate control algorithm changes it to something

nosmp/maxcpus=0 or 1 - TSC unstable

2008-01-12 Thread dean gaudet
if i boot an x86 64-bit 2.6.24-rc7 kernel with nosmp, maxcpus=0 or 1 it still disables TSC :) Marking TSC unstable due to TSCs unsynchronized this is an opteron 2xx box which does have two cpus and no clock-divide in halt or cpufreq enabled so TSC should be fine with only one cpu. pretty sure

Re: [PATCH] Only print SCSI data direction warning once for a command

2008-01-12 Thread James Bottomley
On Wed, 2008-01-02 at 07:03 +0100, Andi Kleen wrote: When I use cdparanoia my logs get spammed a lot by printk: 464 messages suppressed. sg_write: data in/out 30576/30576 bytes for SCSI command 0xbe--guessing data in; program cdparanoia not setting count and/or reply_len properly

[PATCH] PM: Acquire device locks on suspend (rev. 4)

2008-01-12 Thread Rafael J. Wysocki
Hi Greg, Please drop gregkh-driver-pm-acquire-device-locks-prior-to-suspending.patch that deadlocks suspend and hibernation on some systems, and apply the appended $subject patch (which provides the equivalent functionality and introduces safeguards against deadlocking in the relevant cases)

[PATCH] [RESEND] Assign IRQs to HPET Timers

2008-01-12 Thread Balaji Rao
The userspace API for the HPET (see Documentation/hpet.txt) did not work. The HPET_IE_ON ioctl was failing as there was no IRQ assigned to the timer device. This patch fixes it by allocating IRQs to timer blocks in the HPET. arch/x86/kernel/hpet.c | 13 + drivers/char/hpet.c|

Re: [PATCH 8/8] ide: add -cable_detect method to ide_hwif_t

2008-01-12 Thread Sergei Shtylyov
Hello. Bartlomiej Zolnierkiewicz wrote: * Add -cable_detect method to ide_hwif_t. * Call the new method in ide_init_port() if: - the host supports UDMA modes UDMA2 ('hwif-ultra_mask 78') - DMA initialization was successful (if hwif-dma_base is not set ide_init_port() sets

Re: [PATCH 1/7] driver-core : add class iteration api

2008-01-12 Thread Jarek Poplawski
On Sat, Jan 12, 2008 at 05:47:54PM +0800, Dave Young wrote: Add the following class iteration functions for driver use: class_for_each_device class_find_device class_for_each_child class_find_child Signed-off-by: Dave Young [EMAIL PROTECTED] --- drivers/base/class.c | 159

-mm: pnp-do-not-stop-start-devices-in-suspend-resume-path.patch breaks resuming isapnp cards

2008-01-12 Thread Rene Herman
Hi Andrew. pnp-do-not-stop-start-devices-in-suspend-resume-path.patch in current -mm breaks resuming isapnp cards from hibernation. They need the pnp_start_dev to enable the device again after hibernation. They don't really need the pnp_stop_dev() which the above mentioned patch also

[PATCH] input: psmouse: fix input_dev leak in lifebook driver

2008-01-12 Thread Andres Salomon
The lifebook driver may register a second input device, but it never unregisters it. This fixes that. Signed-off-by: Andres Salomon [EMAIL PROTECTED] --- drivers/input/mouse/lifebook.c |7 ++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/drivers/input/mouse/lifebook.c

[PATCH] input: check return value of input_register_device() in hil_ptr.c's init

2008-01-12 Thread Andres Salomon
Signed-off-by: Andres Salomon [EMAIL PROTECTED] --- drivers/input/mouse/hil_ptr.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/drivers/input/mouse/hil_ptr.c b/drivers/input/mouse/hil_ptr.c index 27f88fb..de8b836 100644 --- a/drivers/input/mouse/hil_ptr.c +++

[PATCH] input: psmouse: fix potential input register race in psmouse_connect()

2008-01-12 Thread Andres Salomon
If we successfully call input_register_device() in psmouse_connect but sysfs_create_group() fails, we'll enter the error path without ever having called input_unregister_device() (potentially leaking memory, or creating a race condition if something else attempts to access the new input device).

[PATCH] serial: remove too much work for irq printk

2008-01-12 Thread Benjamin LaHaise
When using kvm with a serial console, the serial driver will print out too much work for irq4 on any heavy activity (ie vi on a file repainting the terminal). This message is entirely spurious, as output continues to work fine. Remove the message as it corrupts screen output and is far too

Re: new runtime scsi warnings in 2.6.24-rc6+git

2008-01-12 Thread James Bottomley
On Sat, 2008-01-12 at 20:58 +0100, Rafael J. Wysocki wrote: On Friday, 4 of January 2008, Meelis Roos wrote: Todays git gives the following warning during bootup on a Intel 845+PATA PC (using libata to drive PATA): Driver 'sd' needs updating - please use bus_type methods Driver 'sr'

Re: [PATCH 00/21] ide-floppy redux v2

2008-01-12 Thread Bartlomiej Zolnierkiewicz
Hi, On Saturday 12 January 2008, Bartlomiej Zolnierkiewicz wrote: On Friday 11 January 2008, Borislav Petkov wrote: Hi Bart, here's the second version of the ide-floppy refactoring trail. All the patches are based on the version of your quilt tree from the 05.01. Also, you've

Re: [PATCH 06/21] ide-floppy: remove struct idefloppy_flexible_disk_page

2008-01-12 Thread Bartlomiej Zolnierkiewicz
On Saturday 12 January 2008, Bartlomiej Zolnierkiewicz wrote: [...] - header = (idefloppy_mode_parameter_header_t *) pc.buffer; - floppy-wp = header-wp; + floppy-wp = pc.buffer[3] 0x80; This is not an equivalent transformation: header-wp is 0 or 1 pc.buffer[3] 0x80 is 0 or

Re: [PATCH 11/21] ide-floppy: fix comments formatting

2008-01-12 Thread Bartlomiej Zolnierkiewicz
On Friday 11 January 2008, Borislav Petkov wrote: That is, - remove unnecessary comments - shorten comments - shorten lines longer 80 columns - cleanup whitespace - add a missing loglevel KERN_ to a printk-call - fix misc checkpatch warnings Majority of this patch consists of checkpatch.pl

Re: [PATCH 12/21] ide-floppy: factor out ioctl handlers from idefloppy_ioctl()

2008-01-12 Thread Bartlomiej Zolnierkiewicz
On Friday 11 January 2008, Borislav Petkov wrote: By passing idefloppy_floppy_t *floppy to the factored out functions, we get rid of (almost) all local vars so stack usage should be at minimum here. Also, we merge idefloppy_begin_format() into idefloppy_format_start() since it is its only

Re: [PATCH 20/21] ide-floppy: merge idefloppy_{input,output}_buffers

2008-01-12 Thread Bartlomiej Zolnierkiewicz
On Friday 11 January 2008, Borislav Petkov wrote: We merge idefloppy_{input,output}_buffers() into idefloppy_io_buffers() by introducing a 4th arg. called direction. According to its value we atapi_input_bytes() or atapi_output_bytes(). Also, simplify the interrupt This change is fine but ...

Re: [PATCH 14/21] ide-floppy: mv idefloppy_{should_,}report_error

2008-01-12 Thread Bartlomiej Zolnierkiewicz
On Friday 11 January 2008, Borislav Petkov wrote: In addition to shortening the function name, move the printk-call into the function thereby saving some code lines. Also, make the function out_of_line since it is not on a performance critical path. Signed-off-by: Borislav Petkov [EMAIL

<    1   2   3   4   >