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

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

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.

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

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

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:

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

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

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: [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: 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. > >> > >>

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().

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

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

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

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

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

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

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

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

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?

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

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

Fwd: Issue with arm-devel tree

2008-01-12 Thread Russell King
It might be a good idea if there was some co-ordination with people involved in the duplicate include removal work... [ARM] remove duplicate includes Signed-off-by: Lucas Woods <[EMAIL PROTECTED]> Acked-by: Lennert Buytenhek <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton

Re: [RFD] Incremental fsck

2008-01-12 Thread Theodore Tso
On Wed, Jan 09, 2008 at 02:52:14PM +0300, Al Boldi wrote: > > Ok, but let's look at this a bit more opportunistic / optimistic. > > Even after a black-out shutdown, the corruption is pretty minimal, using > ext3fs at least. > After a unclean shutdown, assuming you have decent hardware that

Re: rtl8187 rate control doesn't work

2008-01-12 Thread Hauke Mehrtens
I have tested kernel 2.6.24-rc7-git4 with the build in rtl8187 module and I have the same problem. I can't ping the AP if the rate is set to auto or to something higher than 11M. I have to set it to something less than 11M to be able to ping the AP. iwconfig shows a successful connection in both

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

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

2008-01-12 Thread Bartlomiej Zolnierkiewicz
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 > already applied patch 5 in this series but i'm submitting it still

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

2008-01-12 Thread Bartlomiej Zolnierkiewicz
On Friday 11 January 2008, Borislav Petkov wrote: > The driver used to test whether the flexible disk page has changed by > memcmp-ing > it with a cached copy of a previous version of the page from a different remo- > vable medium. Since, according to the SFF-8070i spec, the flexible disk page >

Re: [PATCH 07/21] ide-floppy: remove struct idefloppy_capacity_descriptor

2008-01-12 Thread Bartlomiej Zolnierkiewicz
On Friday 11 January 2008, Borislav Petkov wrote: > We test here for updated capacity descriptors by checking whether the media > has changed instead of memcmp-ing with a cached copy of the capacity > descriptors. > > Also: > > - remove one of 2 consecutive if (!i)-tests. > - start loop at 1 in

Re: [PATCH 04/21] ide-floppy: cleanup and unify debugging macro calls

2008-01-12 Thread Bartlomiej Zolnierkiewicz
On Friday 11 January 2008, Borislav Petkov wrote: > * some debug_log() calls were not using "ide-floppy: " prefix > > * a few used printk levels different than KERN_INFO (KERN_NOTICE > and KERN_ERR, which is the default one if no level is given) > > There should be no functional change

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

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 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: [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()

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

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

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

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

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. > > > + */ > > >

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

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

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

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

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

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

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

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; >> >> -/*

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; > > - /*

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

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

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

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

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

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

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

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 >

[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

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

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

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

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

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

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) > > +{ > > +

[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 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 (test_and_clear_bit(AS_MCTIME, >f_mapping->flags)) { > +

Re: [rfc][patch] reimplement nopfn callers with fault

2008-01-12 Thread Nick Piggin
On Fri, Jan 11, 2008 at 03:40:10PM +0100, Jes Sorensen wrote: > Nick Piggin wrote: > >Hi guys, > > > >I'd like to finally remove nopfn from the tree. So I would really like to > >get > >this patch into -mm soon (or broken out patches into appropriate trees). > > > >Anyway, I don't have a good way

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

2008-01-12 Thread Peter Zijlstra
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 > motivation is that an otherwise idle system takes about 3 ticks

[PATCH] x86: Fix singlestep handling in reenter_kprobe

2008-01-12 Thread Abhishek Sagar
Highlight peculiar cases in singles-step kprobe handling. In reenter_kprobe(), a breakpoint in KPROBE_HIT_SS case can only occur when single-stepping a breakpoint on which a probe was installed. Since such probes are single-stepped inline, identifying these cases is unambiguous. All other

Re: Lenovo ThinkPads need acpi_osi="Linux"

2008-01-12 Thread Len Brown
On Friday 11 January 2008 21:23, Henrique de Moraes Holschuh wrote: > While helping a user find out what happened to his mute key, I found out > that the Lenovo BIOSes need the OSI string Linux defined to behave properly > in Linux. > > Lenovo has been attempting to make things a bit easier for

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

2008-01-12 Thread Jean Delvare
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 name > > -> Linux name translation to the drivers

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

2008-01-12 Thread Jean Delvare
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]) { > > + if (strcmp(client->driver_name, id->name) ==

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

2008-01-12 Thread Alexander
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 cannot mount it.

Re: [PATCH 1/10] kconfig: update-po-config info

2008-01-12 Thread Sam Ravnborg
On Fri, Jan 11, 2008 at 11:40:00PM +0100, EGRY Gabor wrote: > > This patch adds tracking messages. > > Signed-off-by: Egry Gabor <[EMAIL PROTECTED]> > Reviewed-by: Sam Ravnborg <[EMAIL PROTECTED]> To anyone that try out this patch serie just a minor note. "make update-po-config" will fail if

Re: [PATCH 1/10] kconfig: update-po-config info

2008-01-12 Thread Sam Ravnborg
On Fri, Jan 11, 2008 at 11:40:00PM +0100, EGRY Gabor wrote: This patch adds tracking messages. Signed-off-by: Egry Gabor [EMAIL PROTECTED] Reviewed-by: Sam Ravnborg [EMAIL PROTECTED] To anyone that try out this patch serie just a minor note. make update-po-config will fail if applied on

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

2008-01-12 Thread Alexander
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 cannot mount it. All

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

2008-01-12 Thread Jean Delvare
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]) { + if (strcmp(client-driver_name, id-name) == 0) This

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

2008-01-12 Thread Jean Delvare
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 name - Linux name translation to the drivers

Re: Lenovo ThinkPads need acpi_osi=Linux

2008-01-12 Thread Len Brown
On Friday 11 January 2008 21:23, Henrique de Moraes Holschuh wrote: While helping a user find out what happened to his mute key, I found out that the Lenovo BIOSes need the OSI string Linux defined to behave properly in Linux. Lenovo has been attempting to make things a bit easier for Linux

[PATCH] x86: Fix singlestep handling in reenter_kprobe

2008-01-12 Thread Abhishek Sagar
Highlight peculiar cases in singles-step kprobe handling. In reenter_kprobe(), a breakpoint in KPROBE_HIT_SS case can only occur when single-stepping a breakpoint on which a probe was installed. Since such probes are single-stepped inline, identifying these cases is unambiguous. All other

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

2008-01-12 Thread Peter Zijlstra
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 motivation is that an otherwise idle system takes about 3 ticks per

Re: [rfc][patch] reimplement nopfn callers with fault

2008-01-12 Thread Nick Piggin
On Fri, Jan 11, 2008 at 03:40:10PM +0100, Jes Sorensen wrote: Nick Piggin wrote: Hi guys, I'd like to finally remove nopfn from the tree. So I would really like to get this patch into -mm soon (or broken out patches into appropriate trees). Anyway, I don't have a good way to compile

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

2008-01-12 Thread Peter Zijlstra
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 (test_and_clear_bit(AS_MCTIME, file-f_mapping-flags)) { +

<    1   2   3   4   >