Re: [PATCH 09/20] drivers/s390/: use LIST_HEAD instead of LIST_HEAD_INIT

2007-12-07 Thread Heiko Carstens
On Thu, Dec 06, 2007 at 11:19:41PM +0800, Denis Cheng wrote: > single list_head variable initialized with LIST_HEAD_INIT could almost > always can be replaced with LIST_HEAD declaration, this shrinks the code > and looks better. > > Signed-off-by: Denis Cheng <[EMAIL PROTECTED]> > --- > drivers/s

Re: Add LZO compression support to cryptoapi

2007-12-07 Thread Herbert Xu
On Wed, Dec 05, 2007 at 12:24:16PM +0100, Zoltan Sogor wrote: > > I've modified the patch as you suggested and added an other patch which adds > a common compression test function (modifies deflate test case to use the > common function). Both applied to cryptodev-2.6. Thanks a lot Zoltan! --

Re: [PATCH 17/20] net/xfrm/xfrm_state.c: use LIST_HEAD instead of LIST_HEAD_INIT

2007-12-07 Thread David Miller
From: Denis Cheng <[EMAIL PROTECTED]> Date: Fri, 7 Dec 2007 00:09:43 +0800 > single list_head variable initialized with LIST_HEAD_INIT could almost > always can be replaced with LIST_HEAD declaration, this shrinks the code > and looks better. > > Signed-off-by: Denis Cheng <[EMAIL PROTECTED]> A

Re: [PATCH 16/20] net/x25/: use LIST_HEAD instead of LIST_HEAD_INIT

2007-12-07 Thread David Miller
From: Denis Cheng <[EMAIL PROTECTED]> Date: Fri, 7 Dec 2007 00:07:19 +0800 > single list_head variable initialized with LIST_HEAD_INIT could almost > always can be replaced with LIST_HEAD declaration, this shrinks the code > and looks better. > > Signed-off-by: Denis Cheng <[EMAIL PROTECTED]> A

Re: [PATCH 14/20] net/ipv4/cipso_ipv4.c: use LIST_HEAD instead of LIST_HEAD_INIT

2007-12-07 Thread David Miller
From: Denis Cheng <[EMAIL PROTECTED]> Date: Fri, 7 Dec 2007 00:04:36 +0800 > single list_head variable initialized with LIST_HEAD_INIT could almost > always can be replaced with LIST_HEAD declaration, this shrinks the code > and looks better. > > Signed-off-by: Denis Cheng <[EMAIL PROTECTED]> A

Re: Kernel 2.6.23.9 + mdadm 2.6.2-2 + Auto rebuild RAID1?

2007-12-07 Thread Jan Engelhardt
On Dec 7 2007 07:30, Nix wrote: >On 6 Dec 2007, Jan Engelhardt verbalised: >> On Dec 5 2007 19:29, Nix wrote: On Dec 1 2007 06:19, Justin Piszcz wrote: > RAID1, 0.90.03 superblocks (in order to be compatible with LILO, if > you use 1.x superblocks with LILO you can't boot) >

Re: [BUG] 2.6.23-rc3 can't see sd partitions on Alpha

2007-12-07 Thread Ingo Molnar
* Andrew Morton <[EMAIL PROTECTED]> wrote: > > # bad: [6f37ac793d6ba7b35d338f791974166f67fdd9ba] Merge branch 'master' of > > master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 > > git-bisect bad 6f37ac793d6ba7b35d338f791974166f67fdd9ba > > # good: [2f1f53bdc6531696934f6ee7bbdfa2ab4f4f62a

Re: sockets affected by IPsec always block (2.6.23)

2007-12-07 Thread Stefan Rompf
Am Freitag, 7. Dezember 2007 04:20 schrieb David Miller: > If IPSEC takes a long time to resolve, and we don't block, the > connect() can hard fail (we will just keep dropping the outgoing SYN > packet send attempts, eventually hitting the retry limit) in cases > where if we did block it would not

[GIT PULL] LED bugfix

2007-12-07 Thread Richard Purdie
Linus, Could you please pull from: git://git.o-hand.com/linux-rpurdie-leds for-linus This is an LED trigger locking fix for 2.6.24. This fixes the issues discussed in bug 9264, the change has been tested in -mm. Thanks, Richard drivers/leds/led-class.c|6 ++--- drivers/leds/led-trigge

Re: [patch] ext2: xip check fix

2007-12-07 Thread Jared Hulbert
> > I think so. The filemap_xip.c functionality doesn't work for Flash > > memory yet. Flash memory doesn't have struct pages to back it up with > > which this stuff depends on. > > Struct page is not the major issue. The primary problem is writing to > the media (and I am not a flash expert at a

Re: [PATCH] scheduler: fix x86 regression in native_sched_clock

2007-12-07 Thread Andrew Morton
On Fri, 7 Dec 2007 09:45:59 +0100 Ingo Molnar <[EMAIL PROTECTED]> wrote: > > * Stefano Brivio <[EMAIL PROTECTED]> wrote: > > > This patch fixes a regression introduced by: > > > > commit bb29ab26863c022743143f27956cc0ca362f258c > > Author: Ingo Molnar <[EMAIL PROTECTED]> > > Date: Mon Jul 9 1

Re: git guidance

2007-12-07 Thread Al Boldi
Andreas Ericsson wrote: > So, to get to the bottom of this, which of the following workflows is it > you want git to support? > > ### WORKFLOW A ### > edit, edit, edit > edit, edit, edit > edit, edit, edit > Oops I made a mistake and need to hop back to "current - 12". > edit, edit, edit > edit, ed

RE: ptrace API extensions for BTS

2007-12-07 Thread Metzger, Markus T
>From: Andi Kleen [mailto:[EMAIL PROTECTED] >Sent: Freitag, 7. Dezember 2007 12:18 >> I would like to settle the discussion and find an interface that >> everybody can agree to, so I can implement that interface and we can >> move forward with the patch. > >The most efficient interface would be z

Re: programs vanish with 2.6.22+

2007-12-07 Thread Guennadi Liakhovetski
On Fri, 7 Dec 2007, Markus wrote: > Hi again! > > The memtest ran 14 passes (~10h) without an error. > > I now have a 2.6.24-rc4 with some debug-options turned on, waiting for > something to happen... can I just leave it untill a window disappears > or do I need to manually enable something or

Re: ptrace API extensions for BTS

2007-12-07 Thread Andi Kleen
On Friday 07 December 2007 10:11:04 Metzger, Markus T wrote: > Roland, Andi, > > I would like to discuss the ptrace user interface for the BTS extension. > In previous emails, > Andi suggested a stream-like interface, but is also OK with an > array-like interface (as far as I understood). > Rolan

Re: [PATCH] scheduler: fix x86 regression in native_sched_clock

2007-12-07 Thread Andi Kleen
Thomas Gleixner <[EMAIL PROTECTED]> writes: > > Hmrpf. sched_clock() is used for the time stamp of the printks. We > need to find some better solution other than killing off the tsc > access completely. Doing it properly requires pretty much most of my old sched-clock ff patch. Complicated and not

Re: [BUG] 2.6.23-rc3 can't see sd partitions on Alpha

2007-12-07 Thread Andrew Morton
On Thu, 6 Dec 2007 23:07:08 -0600 (CST) [EMAIL PROTECTED] (Bob Tracy) wrote: > Andrew Morton wrote: > > commit 6f37ac793d6ba7b35d338f791974166f67fdd9ba > > Merge: 2f1f53b... d90bf5a... > > Author: Linus Torvalds <[EMAIL PROTECTED]> > > Date: Wed Nov 14 18:51:48 2007 -0800 > > > > Merge bran

Re: [PATCH 2.6.24-rc3] Fix /proc/net breakage

2007-12-07 Thread Andrew Morton
On Fri, 07 Dec 2007 04:51:37 + David Woodhouse <[EMAIL PROTECTED]> wrote: > On Mon, 2007-11-26 at 15:17 -0700, Eric W. Biederman wrote: > > Well I clearly goofed when I added the initial network namespace support > > for /proc/net. Currently things work but there are odd details visible > > t

broken suspend (sched related) [Was: 2.6.24-rc4-mm1]

2007-12-07 Thread Jiri Slaby
On 12/05/2007 06:17 AM, Andrew Morton wrote: > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.24-rc4/2.6.24-rc4-mm1/ > git-sched.patch breaks suspend here since -rc3-mm2. More precisely, this one: softlockup: automatically detect hung TASK_UNINTERRUPTIBLE tasks 2.6.24-rc

Re: [patch] x86: scale cyc_2_nsec according to CPU frequency

2007-12-07 Thread Guillaume Chazarain
Le Fri, 7 Dec 2007 14:55:25 +0100, Ingo Molnar <[EMAIL PROTECTED]> a écrit : > Firstly, we dont need the 'offset' anymore because cpu_clock() maintains > offsets itself. Yes, but a lower quality one. __update_rq_clock tries to compensate large jumping clocks with a jiffy resolution, while my off

Re: RFC: outb 0x80 in inb_p, outb_p harmful on some modern AMD64 with MCP51 laptops

2007-12-07 Thread David P. Reed
Andi Kleen wrote: Changing the delay instruction sequence from the outb to short jumps might be the safe thing. I don't think that makes sense to do on anything modern. The trouble is that the jumps will effectively execute near "infinitely fast" on any modern CPU compared to the bus. But the de

Re: [patch] x86: scale cyc_2_nsec according to CPU frequency

2007-12-07 Thread Ingo Molnar
* Guillaume Chazarain <[EMAIL PROTECTED]> wrote: > Le Fri, 7 Dec 2007 14:55:25 +0100, > Ingo Molnar <[EMAIL PROTECTED]> a ??crit : > > > Firstly, we dont need the 'offset' anymore because cpu_clock() > > maintains offsets itself. > > Yes, but a lower quality one. __update_rq_clock tries to com

Re: RFC: outb 0x80 in inb_p, outb_p harmful on some modern AMD64 with MCP51 laptops

2007-12-07 Thread Andi Kleen
> My machine in question, for example, needs no waiting within CMOS_READs > at all. And I doubt any other chip/device needs waiting that isn't I don't know about CMOS, but there were definitely some not too ancient systems (let's say not more than 10 years) who required IO delays in the floppy

Re: [PATCH] scheduler: fix x86 regression in native_sched_clock

2007-12-07 Thread Ingo Molnar
* Ingo Molnar <[EMAIL PROTECTED]> wrote: > third update. the cpufreq callbacks are not quite OK yet. fourth update - the cpufreq callbacks are back. This is a version that is supposed fix all known aspects of TSC and frequency-change weirdnesses. Ingo Index: linux/arch/arm/kernel/tim

Re: [BUG] 2.6.23-rc3 can't see sd partitions on Alpha

2007-12-07 Thread Bob Tracy
I wrote: > "git diff 2f1f53bdc6531696934f6ee7bbdfa2ab4f4f62a3 > 6f37ac793d6ba7b35d338f791974166f67fdd9ba" > produced a relatively short patch (18,437 bytes). The list of involved > files: > > (omitted) > > Current state of the source tree is the 6f37ac... version, so I'll start > backing out the

[GIT PULL] avr32 fixes for 2.6.24

2007-12-07 Thread Haavard Skinnemoen
Linus, Please pull from ssh://master.kernel.org/pub/scm/linux/kernel/git/hskinnemoen/avr32-2.6.git for-linus to receive the following updates. Yes, lots of complicated stuff has been changed here. There is currently a bug in the debug trap handling code which may cause a soft lockup while de

[PATCH -mm 2/6] powerpc: convert iommu to use the IOMMU helper

2007-12-07 Thread FUJITA Tomonori
This patch converts PPC's IOMMU to use the IOMMU helper functions. The IOMMU doesn't allocate a memory area spanning LLD's segment boundary anymore. iseries_hv_alloc and iseries_hv_map don't have proper device struct. 4GB boundary is used for them. Signed-off-by: FUJITA Tomonori <[EMAIL PROTECTED

[PATCH -mm 3/6] powerpc: remove DMA 4GB boundary protection

2007-12-07 Thread FUJITA Tomonori
Previously, during initialization of the IOMMU tables, the last entry at each 4GB boundary is marked as used since there are many adapters which cannot handle DMAing across any 4GB boundary. The IOMMU doesn't allocate a memory area spanning LLD's segment boundary anymore. The segment boundary of d

[PATCH -mm 0/6] fix iommu segment boundary problems (powerpc and x86)

2007-12-07 Thread FUJITA Tomonori
This patchset is a sequel to my patchset to fix iommu segment boundary problems: http://www.mail-archive.com/[EMAIL PROTECTED]/msg11919.html This adds new IOMMU helper functions for the free area management. These functions take care of LLD's segment boundary limit for IOMMUs. They are useful for

[PATCH -mm 5/6] x86: convert gart IOMMU to use the IOMMU helper

2007-12-07 Thread FUJITA Tomonori
This patch converts gart IOMMU to use the IOMMU helper functions. The IOMMU doesn't allocate a memory area spanning LLD's segment boundary anymore. Signed-off-by: FUJITA Tomonori <[EMAIL PROTECTED]> --- arch/x86/Kconfig |2 +- arch/x86/kernel/pci-gart_64.c | 41

[PATCH -mm 1/6] add IOMMU helper functions for the free area management

2007-12-07 Thread FUJITA Tomonori
This adds IOMMU helper functions for the free area management. These functions take care of LLD's segment boundary limit for IOMMUs. They would be useful for IOMMUs that use bitmap for the free area management. Signed-off-by: FUJITA Tomonori <[EMAIL PROTECTED]> --- include/linux/iommu-helper.h |

[PATCH -mm 6/6] kill __clear_bit_string and find_next_zero_string

2007-12-07 Thread FUJITA Tomonori
This kills unused __clear_bit_string and find_next_zero_string (they were used by only gart and calgary IOMMUs). Signed-off-by: FUJITA Tomonori <[EMAIL PROTECTED]> --- arch/x86/lib/Makefile_64|2 +- arch/x86/lib/bitstr_64.c| 28 include/asm-x86/bitops_64

[PATCH -mm 4/6] x86: convert calgary IOMMU to use the IOMMU helper

2007-12-07 Thread FUJITA Tomonori
This patch converts calgary IOMMU to use the IOMMU helper functions. The IOMMU doesn't allocate a memory area spanning LLD's segment boundary anymore. Signed-off-by: FUJITA Tomonori <[EMAIL PROTECTED]> --- arch/x86/Kconfig |3 +++ arch/x86/kernel/pci-calgary_64.c | 34 ++

Re: [PATCH] kexec: force x86_64 arches to boot kdump kernels on boot cpu

2007-12-07 Thread Neil Horman
On Fri, Dec 07, 2007 at 09:39:44AM -0500, Vivek Goyal wrote: > On Thu, Dec 06, 2007 at 07:10:23PM -0500, Neil Horman wrote: > > On Thu, Dec 06, 2007 at 05:11:43PM -0500, Vivek Goyal wrote: > > > On Thu, Dec 06, 2007 at 04:39:51PM -0500, Neil Horman wrote: > > > > On Fri, Nov 30, 2007 at 09:51:31AM

Re: [BUG] 2.6.23-rc3 can't see sd partitions on Alpha

2007-12-07 Thread Ingo Molnar
* Bob Tracy <[EMAIL PROTECTED]> wrote: > > Current state of the source tree is the 6f37ac... version, so I'll > > start backing out the above diffs in related groups and continue > > until I've got a working kernel. For lack of an obvious target, > > I'll start with the seemingly innocuous ch

Re: 2.6.23.8: OOM killer kills wrong jobs

2007-12-07 Thread Alan Cox
On Fri, 07 Dec 2007 10:25:23 +0100 Martin MOKREJŠ <[EMAIL PROTECTED]> wrote: > Hi, > first of all, sorry for not being up to date with how the OOM killer > works. I think there used to be a kernel config option to disable > OOM killer and instead kill the process which actually asks for the > me

Re: [PATCH] kexec: force x86_64 arches to boot kdump kernels on boot cpu

2007-12-07 Thread Vivek Goyal
On Thu, Dec 06, 2007 at 07:10:23PM -0500, Neil Horman wrote: > On Thu, Dec 06, 2007 at 05:11:43PM -0500, Vivek Goyal wrote: > > On Thu, Dec 06, 2007 at 04:39:51PM -0500, Neil Horman wrote: > > > On Fri, Nov 30, 2007 at 09:51:31AM -0500, Neil Horman wrote: > > > > On Fri, Nov 30, 2007 at 09:42:50AM

re: 2.6.23.8: OOM killer kills wrong jobs

2007-12-07 Thread Dan Kegel
Marting Mokreja wrote: > first of all, sorry for not being up to date with how the OOM killer > works. I think there used to be a kernel config option to disable > OOM killer and instead kill the process which actually asks for the > memory and supposedly caused the memory lack. That is what I woul

Re: [PATCH] kexec: force x86_64 arches to boot kdump kernels on boot cpu

2007-12-07 Thread Neil Horman
On Fri, Dec 07, 2007 at 01:22:04AM -0800, Yinghai Lu wrote: > On Dec 7, 2007 12:50 AM, Yinghai Lu <[EMAIL PROTECTED]> wrote: > > > > On Dec 6, 2007 4:33 PM, Eric W. Biederman <[EMAIL PROTECTED]> wrote: > ... > > > > > > My feel is that if it is for legacy interrupts only it should not be a > > > p

Re: [PATCH 4/4 -mm] kexec based hibernation -v7 : kimgcore

2007-12-07 Thread huang ying
On Dec 7, 2007 8:33 PM, Rafael J. Wysocki <[EMAIL PROTECTED]> wrote: > On Friday, 7 of December 2007, Huang, Ying wrote: > > This patch adds a file in proc file system to access the loaded > > kexec_image, which may contains the memory image of kexeced > > system. This can be used by kexec based hi

Re: question about sata-error on boot.

2007-12-07 Thread Hemmann, Volker Armin
Hi, On Mittwoch, 7. November 2007, Andrew Morton wrote: > > On Fri, 2 Nov 2007 19:34:20 +0100 "Hemmann, Volker Armin" > > <[EMAIL PROTECTED]> wrote: Hi, > > (cc linux-ide) > > > for some time (and I can't say for how long, but the board is less than a > > month old) I get this error on boot: > > >

Re: 2.6.24-rc4-mm1

2007-12-07 Thread Ilpo Järvinen
On Wed, 5 Dec 2007, David Miller wrote: > From: Reuben Farrelly <[EMAIL PROTECTED]> > Date: Thu, 06 Dec 2007 17:59:37 +1100 > > > On 5/12/2007 4:17 PM, Andrew Morton wrote: > > > - Lots of device IDs have been removed from the e1000 driver and moved > > > over > > > to e1000e. So if your e100

Possible EXT2 race

2007-12-07 Thread linux-os (Dick Johnson)
On linux-2.6.22.1, executing the following script while the mailer is writing to /var/spool/mail/linux-os. #!/bin/bash while true ; do >/var/spool/mail/linux-os; sleep 1; done ...will cause the following errors to occur. Dec 7 04:05:55 chaos kernel: sd 0:0:1:0: [sdb] Sense Key :

Re: everything in wait_for_completion, what is my system doing?

2007-12-07 Thread Bernd Schubert
Hello Andrew, thanks for your help! On Friday 07 December 2007 02:09:11 Andrew Morton wrote: > On Wed, 5 Dec 2007 21:44:54 +0100 > > Bernd Schubert <[EMAIL PROTECTED]> wrote: > > after scsi-recovery a system here went into some kind lock-up, everything > > seems to be in wait_for_completion(). Pl

[PATCH] kbuild: implement modules.order, take #2

2007-12-07 Thread Tejun Heo
When multiple built-in modules (especially drivers) provide the same capability, they're prioritized by link order specified by the order listed in Makefile. This implicit ordering is lost for loadable modules. When driver modules are loaded by udev, what comes first in modules.alias file is sele

Re: [RFC][POWERPC] Provide a way to protect 4k subpages when using 64k pages

2007-12-07 Thread Arnd Bergmann
On Friday 07 December 2007, Paul Mackerras wrote: > I have re-purposed the ioperm system call for this.  The old ioperm > system call never did anything (except return an ENOSYS error) and in > fact never could have actually been useful for anything on the PowerPC > architecture, so nothing ever us

Re: [PATCH] scheduler: fix x86 regression in native_sched_clock

2007-12-07 Thread Guillaume Chazarain
On Dec 7, 2007 12:18 PM, Guillaume Chazarain <[EMAIL PROTECTED]> wrote: > Any pointer to it? Nevermind, I found it ... in this same thread :-( -- Guillaume -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info

Re: NFSv2/3 broken exporting/mounting (permission denied) in 2.6.24-rc4

2007-12-07 Thread J. Bruce Fields
On Fri, Dec 07, 2007 at 11:54:38AM +0100, Mikael Pettersson wrote: > On Thu, 6 Dec 2007 21:20:41 -0500, Erez Zadok wrote: > > I get a "permission denied" when trying to mount a localhost nfsv2/3 > > exported volume, on v2.6.24-rc4-124-gf194d13. It works w/ nfsv4 mounting. > > It worked fine in 2.6

Re: [PATCH] kexec: force x86_64 arches to boot kdump kernels on boot cpu

2007-12-07 Thread Neil Horman
On Fri, Dec 07, 2007 at 10:16:23AM -0500, Vivek Goyal wrote: > On Fri, Dec 07, 2007 at 09:53:15AM -0500, Neil Horman wrote: > > On Fri, Dec 07, 2007 at 09:39:44AM -0500, Vivek Goyal wrote: > > > On Thu, Dec 06, 2007 at 07:10:23PM -0500, Neil Horman wrote: > > > > On Thu, Dec 06, 2007 at 05:11:43PM

RE: ptrace API extensions for BTS

2007-12-07 Thread Metzger, Markus T
>From: Andi Kleen [mailto:[EMAIL PROTECTED] >Sent: Freitag, 7. Dezember 2007 14:04 >With Out-of-order CPUs exact global metrics are pretty difficult. >At which point of the instruction execution would you measure? All I want to do is order the execution chunks of different threads. Taking two

Re: [Patch] net/xfrm/xfrm_policy.c: Some small improvements

2007-12-07 Thread Richard Knutsson
David Miller wrote: From: Richard Knutsson <[EMAIL PROTECTED]> Date: Thu, 06 Dec 2007 15:37:46 +0100 David Miller wrote: But this time I'll just let you know up front that I don't see much value in this patch. It is not a clear improvement to replace int's with bool's in my mind and t

Re: [PATCH] scheduler: fix x86 regression in native_sched_clock

2007-12-07 Thread Ingo Molnar
* Ingo Molnar <[EMAIL PROTECTED]> wrote: > > Stefano, could you try this ontop of a recent-ish Linus tree - does > > this resolve all issues? (without introducing new ones ;-) > > updated version attached below. third update. the cpufreq callbacks are not quite OK yet. Ingo Index: li

Re: [BUG] 2.6.23-rc3 can't see sd partitions on Alpha

2007-12-07 Thread Ingo Molnar
* Andrew Morton <[EMAIL PROTECTED]> wrote: > > then the test of whether I bisected correctly is as simple as > > applying the commit and seeing if things break, because I'm running > > on the kernel corresponding to > > 2f1f53bdc6531696934f6ee7bbdfa2ab4f4f62a3 right now. Let me give > > that

Re: [PATCH] scheduler: fix x86 regression in native_sched_clock

2007-12-07 Thread Ingo Molnar
* Nick Piggin <[EMAIL PROTECTED]> wrote: > My patch should fix the worst cpufreq sched_clock jumping issue I > think. but it degrades the precision of sched_clock() and has other problems as well. cpu_clock() is the right interface to use for such things. Ingo -- To unsubscribe from t

Re: [PATCH] scheduler: fix x86 regression in native_sched_clock

2007-12-07 Thread Nick Piggin
On Friday 07 December 2007 19:45, Ingo Molnar wrote: > * Stefano Brivio <[EMAIL PROTECTED]> wrote: > > This patch fixes a regression introduced by: > > > > commit bb29ab26863c022743143f27956cc0ca362f258c > > Author: Ingo Molnar <[EMAIL PROTECTED]> > > Date: Mon Jul 9 18:51:59 2007 +0200 > > > > T

[PATCH] depmod: sort output according to modules.order, take #2

2007-12-07 Thread Tejun Heo
Kbuild now generates and installs modules.order along with modules. This patch updates depmod such that it sorts module list according to the file before generating output files. Modules which aren't on modules.order are put after modules which are ordered by modules.order. This makes modprobe to

[PATCH] Add support for the S-35390A RTC chip.

2007-12-07 Thread Byron Bradley
This adds basic get/set time support for the Seiko Instruments S-35390A. This chip communicates using I2C and is used on the QNAP TS-109/TS-209 NAS devices. Signed-off-by: Byron Bradley <[EMAIL PROTECTED]> Tested-by: Tim Ellis <[EMAIL PROTECTED]> --- drivers/rtc/Kconfig |9 ++ drivers/r

Re: [PATCH] scheduler: fix x86 regression in native_sched_clock

2007-12-07 Thread Ingo Molnar
* Guillaume Chazarain <[EMAIL PROTECTED]> wrote: > I'll clean it up and resend it later. As I don't have the necessary > knowledge to do the tsc_{32,64}.c unification, should I copy paste > common functions into tsc_32.c and tsc_64.c to ease later unification > or should I start a common .c fi

Re: [PATCH x86/mm] x86 vDSO: canonicalize sysenter .eh_frame

2007-12-07 Thread Ingo Molnar
* Roland McGrath <[EMAIL PROTECTED]> wrote: > Some assembler versions automagically optimize .eh_frame contents, > changing their size. The CFI in sysenter.S was not using optimal > formatting, so it would be changed by newer/smarter assemblers. This > ran afoul of the wired constant for padd

Re: [PATCH] kexec: force x86_64 arches to boot kdump kernels on boot cpu

2007-12-07 Thread Yinghai Lu
On Dec 7, 2007 12:50 AM, Yinghai Lu <[EMAIL PROTECTED]> wrote: > > On Dec 6, 2007 4:33 PM, Eric W. Biederman <[EMAIL PROTECTED]> wrote: ... > > > > My feel is that if it is for legacy interrupts only it should not be a > > problem. > > Let's investigate and see if we can unconditionally enable thi

Bloggoo.com สร้างเว็บบล็อกแบบ เร็ว ฟรี ง่าย ทันทีตอนนี้เลย

2007-12-07 Thread Bloggoo.com
Dear linux-kernel@vger.kernel.org, [EMAIL PROTECTED] has sent you an invite to sign up at Bloggoo.com - http://bloggoo.com. "BlogGoo (www.bloggoo.com) จัดทำขึ้นเพื่อให้ผู้ใช้บริการได้มีพื้นที่ส่วนตัว ในการสร้างสรรค์งานเขียนต่างๆ ของตนเองอย่างอิสระ ทั้งบอกเล่าเรื่องราวส่วนตัว เหตุการณ์ที่เกิดข

Re: [PATCH 15/20] net/lapb/lapb_iface.c: use LIST_HEAD instead of LIST_HEAD_INIT

2007-12-07 Thread David Miller
From: Denis Cheng <[EMAIL PROTECTED]> Date: Fri, 7 Dec 2007 00:07:18 +0800 > single list_head variable initialized with LIST_HEAD_INIT could almost > always can be replaced with LIST_HEAD declaration, this shrinks the code > and looks better. > > Signed-off-by: Denis Cheng <[EMAIL PROTECTED]> A

Re: [PATCH] scheduler: fix x86 regression in native_sched_clock

2007-12-07 Thread Ingo Molnar
* Stefano Brivio <[EMAIL PROTECTED]> wrote: > This patch fixes a regression introduced by: > > commit bb29ab26863c022743143f27956cc0ca362f258c > Author: Ingo Molnar <[EMAIL PROTECTED]> > Date: Mon Jul 9 18:51:59 2007 +0200 > > This caused the jiffies counter to leap back and forth on cpufreq

Re: RFC: outb 0x80 in inb_p, outb_p harmful on some modern AMD64 with MCP51 laptops

2007-12-07 Thread Rene Herman
On 07-12-07 16:43, Rene Herman wrote: On 07-12-07 15:54, Andi Kleen wrote: My machine in question, for example, needs no waiting within CMOS_READs at all. And I doubt any other chip/device needs waiting that isn't I don't know about CMOS, but there were definitely some not too ancient sy

Re: Scheduler behaviour

2007-12-07 Thread Holger Wolf
Arjan van de Ven wrote: On Wed, 05 Dec 2007 21:15:30 +0100 Holger Wolf <[EMAIL PROTECTED]> wrote: We discovered performance degradation with dbench when using kernel 2.6.23 compared to kernel 2.6.22. In our case we booted a Linux in a IBM System z9 LPAR with 256MB of ram with 4 CPU's. This

Re: broken suspend (sched related) [Was: 2.6.24-rc4-mm1]

2007-12-07 Thread Ingo Molnar
* Jiri Slaby <[EMAIL PROTECTED]> wrote: > On 12/05/2007 06:17 AM, Andrew Morton wrote: > > > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.24-rc4/2.6.24-rc4-mm1/ > > > git-sched.patch > > breaks suspend here since -rc3-mm2. More precisely, this one: > softlockup: autom

Re: [PATCH] SCSI: make pcmcia directory use obj-y|m instead of subdir-y|m

2007-12-07 Thread Sam Ravnborg
On Fri, Dec 07, 2007 at 10:36:23PM +0900, Tejun Heo wrote: > subdir-y|m isn't supposed to contain modules or built-in components. > Change subdir-$(CONFIG_PCMCIA) to obj-$(CONFIG_PCMCIA). > > Signed-off-by: Tejun Heo <[EMAIL PROTECTED]> > Cc: Sam Ravnborg <[EMAIL PROTECTED]> > Cc: James Bottomley

Re: [patch-RFC 00/26] LTTng Kernel Trace Thread Flag

2007-12-07 Thread Mathieu Desnoyers
* Frank Ch. Eigler ([EMAIL PROTECTED]) wrote: > Mathieu Desnoyers <[EMAIL PROTECTED]> writes: > > > This is an RFC for addition of a new thread flag, TIF_KERNEL_TRACE, to each > > architecture to activate system-wide system call tracing. > > [...] > > Instead of creating a new flag, could you ove

[PATCH] SCSI: make pcmcia directory use obj-y|m instead of subdir-y|m

2007-12-07 Thread Tejun Heo
subdir-y|m isn't supposed to contain modules or built-in components. Change subdir-$(CONFIG_PCMCIA) to obj-$(CONFIG_PCMCIA). Signed-off-by: Tejun Heo <[EMAIL PROTECTED]> Cc: Sam Ravnborg <[EMAIL PROTECTED]> Cc: James Bottomley <[EMAIL PROTECTED]> --- drivers/scsi/Makefile |2 +- 1 file change

Re: [PATCH] kexec: force x86_64 arches to boot kdump kernels on boot cpu

2007-12-07 Thread Vivek Goyal
On Fri, Dec 07, 2007 at 09:53:15AM -0500, Neil Horman wrote: > On Fri, Dec 07, 2007 at 09:39:44AM -0500, Vivek Goyal wrote: > > On Thu, Dec 06, 2007 at 07:10:23PM -0500, Neil Horman wrote: > > > On Thu, Dec 06, 2007 at 05:11:43PM -0500, Vivek Goyal wrote: > > > > On Thu, Dec 06, 2007 at 04:39:51PM

Re: [PATCH] scheduler: fix x86 regression in native_sched_clock

2007-12-07 Thread Guillaume Chazarain
On Dec 7, 2007 12:13 PM, Nick Piggin <[EMAIL PROTECTED]> wrote: > My patch should fix the worst cpufreq sched_clock jumping issue > I think. Any pointer to it? Thanks. -- Guillaume -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROT

Re: [PATCH] scheduler: fix x86 regression in native_sched_clock

2007-12-07 Thread Ingo Molnar
* Nick Piggin <[EMAIL PROTECTED]> wrote: > > ah, printk_clock() still uses sched_clock(), not jiffies. So it's > > not the jiffies counter that goes back and forth, it's sched_clock() > > - so this is a printk timestamps anomaly, not related to jiffies. I > > thought we have fixed this bug in

Re: [PATCH] scheduler: fix x86 regression in native_sched_clock

2007-12-07 Thread Ingo Molnar
ok, here's a rollup of 11 patches that relate to this. I hoped we could wait with this for 2.6.25, but it seems more urgent as per Stefano's testing, as udelay() and drivers are affected as well. Stefano, could you try this ontop of a recent-ish Linus tree - does this resolve all issues? (with

Re: [PATCH] scheduler: fix x86 regression in native_sched_clock

2007-12-07 Thread Ingo Molnar
* Ingo Molnar <[EMAIL PROTECTED]> wrote: > > > - t = printk_clock(); > > > + t = cpu_clock(printk_cpu); > > > nanosec_rem = do_div(t, 10); > > > tlen = sprintf(tbuf, > > >

Re: [PATCH] scheduler: fix x86 regression in native_sched_clock

2007-12-07 Thread Ingo Molnar
* Andrew Morton <[EMAIL PROTECTED]> wrote: > > - t = printk_clock(); > > + t = cpu_clock(printk_cpu); > > nanosec_rem = do_div(t, 10); > > tlen = sprintf(tbuf, > >

Re: [PATCH 5/6] syslets: add generic syslets infrastructure

2007-12-07 Thread Evgeniy Polyakov
Hi Zach. On Thu, Dec 06, 2007 at 03:20:18PM -0800, Zach Brown ([EMAIL PROTECTED]) wrote: > +/* > + * XXX todo: > + * - do we need all this '*cur = current' nonsense? > + * - try to prevent userspace from submitting too much.. lazy user ptr read? > + * - explain how to deal with waiting threads

Re: New Address Family: Inter Process Networking (IPN)

2007-12-07 Thread Andi Kleen
> Stop making excuses, with minor adjustments we have the facilities to > meet your needs. There is no need for yet-another-protocol to do what I suspect they would be better of just using IP multicast. But the localhost latency penalty vs Unix Chris was talking about probably needs to be inves

Re: [PATCH] IB/ehca: Serialize HCA-related hCalls on POWER5

2007-12-07 Thread Arnd Bergmann
On Thursday 06 December 2007, Roland Dreier wrote: >  > Regarding the performance problem, have you checked whether converting all >  > your spin_lock_irqsave to spin_lock/spin_lock_irq improves your performance >  > on the older machines? Maybe it's already fast enough that way. > > It does seem

Re: Peculiar out-of-sync boot log lines

2007-12-07 Thread Sergei Shtylyov
Hello. Bartlomiej Zolnierkiewicz wrote: [PATCH] ide: DMA reporting and validity checking fixes (take 2) * ide_xfer_verbose() fixups: - beautify returned mode names - fix PIO5 reporting - make it return 'const char *' * Change printk() level from KERN_DEBUG to KERN_INFO in ide_find_d

Re: RFC: outb 0x80 in inb_p, outb_p harmful on some modern AMD64 with MCP51 laptops

2007-12-07 Thread Andi Kleen
> You don't need to. Port 0x80 historically is about 8uS so just udelay(8) > and make sure the initial default delay is conservative enough before the How would you make it conservative enough handling let's say a 6Ghz CPU that can execute multiple jumps per cycle? -Andi -- To unsubscribe from th

Re: git guidance

2007-12-07 Thread Andreas Ericsson
Al Boldi wrote: Johannes Schindelin wrote: Hi, Hi On Fri, 7 Dec 2007, Al Boldi wrote: You need to re-read the thread. I don't know why you write that, and then say thanks. Clearly, what you wrote originally, and what Andreas pointed out, were quite obvious indicators that git already does

Re: [patch] ext2: xip check fix

2007-12-07 Thread Carsten Otte
Jared Hulbert wrote: I think so. The filemap_xip.c functionality doesn't work for Flash memory yet. Flash memory doesn't have struct pages to back it up with which this stuff depends on. Struct page is not the major issue. The primary problem is writing to the media (and I am not a flash exper

Re: [PATCH] scheduler: fix x86 regression in native_sched_clock

2007-12-07 Thread Guillaume Chazarain
"Guillaume Chazarain" <[EMAIL PROTECTED]> wrote: > On Dec 7, 2007 6:51 AM, Thomas Gleixner <[EMAIL PROTECTED]> wrote: > > Hmrpf. sched_clock() is used for the time stamp of the printks. We > > need to find some better solution other than killing off the tsc > > access completely. > > Something li

Re: [PATCH 13/20] net/core/dev.c: use LIST_HEAD instead of LIST_HEAD_INIT

2007-12-07 Thread David Miller
From: Denis Cheng <[EMAIL PROTECTED]> Date: Fri, 7 Dec 2007 00:01:26 +0800 > single list_head variable initialized with LIST_HEAD_INIT could almost > always can be replaced with LIST_HEAD declaration, this shrinks the code > and looks better. > > Signed-off-by: Denis Cheng <[EMAIL PROTECTED]> A

ptrace API extensions for BTS

2007-12-07 Thread Metzger, Markus T
Roland, Andi, I would like to discuss the ptrace user interface for the BTS extension. In previous emails, Andi suggested a stream-like interface, but is also OK with an array-like interface (as far as I understood). Roland is dubious about the ptrace API additions. I would like to settle the di

Re: [PATCH] kexec: force x86_64 arches to boot kdump kernels on boot cpu

2007-12-07 Thread Yinghai Lu
On Dec 6, 2007 4:33 PM, Eric W. Biederman <[EMAIL PROTECTED]> wrote: > Vivek Goyal <[EMAIL PROTECTED]> writes: > > > > On Thu, Dec 06, 2007 at 04:39:51PM -0500, Neil Horman wrote: > >> On Fri, Nov 30, 2007 at 09:51:31AM -0500, Neil Horman wrote: > >> > On Fri, Nov 30, 2007 at 09:42:50AM -0500, Vive

Re: [PATCH 20/20] net/iucv/iucv.c: use LIST_HEAD instead of LIST_HEAD_INIT

2007-12-07 Thread David Miller
From: Denis Cheng <[EMAIL PROTECTED]> Date: Fri, 7 Dec 2007 00:13:25 +0800 > these three list_head are all local variables, but can also use LIST_HEAD. > > Signed-off-by: Denis Cheng <[EMAIL PROTECTED]> Applied. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the b

Re: [PATCH] scheduler: fix x86 regression in native_sched_clock

2007-12-07 Thread Ingo Molnar
* Guillaume Chazarain <[EMAIL PROTECTED]> wrote: > > Something like http://lkml.org/lkml/2007/3/16/291 that would need > > some refresh? > > And here is a refreshed one just for testing with 2.6-git. The 64 bit > part is a shamelessly untested copy/paste as I cannot test it. yeah, we can do s

[PATCH BUGFIX] hid: the `bit' in hidinput_mapping_quirks() is an out parameter

2007-12-07 Thread Fengguang Wu
Fix a panic, by changing hidinput_mapping_quirks(,, unsigned long *bit,) to hidinput_mapping_quirks(,, unsigned long **bit,) The `bit' in this function is an out parameter. Cc: Jiri Kosina <[EMAIL PROTECTED]> Signed-off-by: Fengguang Wu <[EMAIL PROTECTED]> --- drivers/hid/hid-i

[patch] x86: scale cyc_2_nsec according to CPU frequency

2007-12-07 Thread Ingo Molnar
* Guillaume Chazarain <[EMAIL PROTECTED]> wrote: > > > Hmrpf. sched_clock() is used for the time stamp of the printks. We > > > need to find some better solution other than killing off the tsc > > > access completely. > > > > Something like http://lkml.org/lkml/2007/3/16/291 that would need >

Re: ptrace API extensions for BTS

2007-12-07 Thread Andi Kleen
On Friday 07 December 2007 13:01:28 Metzger, Markus T wrote: > >From: Andi Kleen [mailto:[EMAIL PROTECTED] > >Sent: Freitag, 7. Dezember 2007 12:18 > > >> I would like to settle the discussion and find an interface that > >> everybody can agree to, so I can implement that interface and we can > >

Re: 2.6.24-rc3-git4 NFS crossmnt regression

2007-12-07 Thread Andrew Morton
On Thu, 6 Dec 2007 23:45:58 -0500 Shane <[EMAIL PROTECTED]> wrote: > Hi, > > The NFS crossmnt/nohide feature has been working beautifully > in 2.6.23. NFS in general has been really good in 2.6.23. Thanks! > > However, starting in 2.6.24-rc3-git4, I immediately get 'NFS Stale > file handle' mes

Re: programs vanish with 2.6.22+

2007-12-07 Thread Markus
Hi again! The memtest ran 14 passes (~10h) without an error. I now have a 2.6.24-rc4 with some debug-options turned on, waiting for something to happen... can I just leave it untill a window disappears or do I need to manually enable something or run some user-space app?! Markus -- To unsubsc

Re: [PATCH] scheduler: fix x86 regression in native_sched_clock

2007-12-07 Thread stefano . brivio
Quoting Nick Piggin <[EMAIL PROTECTED]>: On Friday 07 December 2007 19:45, Ingo Molnar wrote: ah, printk_clock() still uses sched_clock(), not jiffies. So it's not the jiffies counter that goes back and forth, it's sched_clock() - so this is a printk timestamps anomaly, not related to jiffies.

Re: [PATCH] scheduler: fix x86 regression in native_sched_clock

2007-12-07 Thread Andrew Morton
On Fri, 7 Dec 2007 11:40:13 +0100 Ingo Molnar <[EMAIL PROTECTED]> wrote: > > * Andrew Morton <[EMAIL PROTECTED]> wrote: > > > > - t = printk_clock(); > > > + t = cpu_clock(printk_cpu); > > > nanosec_rem = do_div(t, 100

Re: [PATCH 2.6.24-rc3] Fix /proc/net breakage

2007-12-07 Thread Denis V. Lunev
Andrew Morton wrote: > On Fri, 07 Dec 2007 04:51:37 + David Woodhouse <[EMAIL PROTECTED]> wrote: > >> On Mon, 2007-11-26 at 15:17 -0700, Eric W. Biederman wrote: >>> Well I clearly goofed when I added the initial network namespace support >>> for /proc/net. Currently things work but there are

Re: RFC: outb 0x80 in inb_p, outb_p harmful on some modern AMD64 with MCP51 laptops

2007-12-07 Thread Andi Kleen
Rene Herman <[EMAIL PROTECTED]> writes: > > If there are no sensible fixes, an 0x80/0xed choice could I assume be > hung of DMI or something (if that _is_ parsed soon enough). Another possibility would be to key this off DMI year (or existence of DMI year since old systems don't have it). I guess

Re: 2.6.24-rc4-mm1: VDSOSYM build error

2007-12-07 Thread Ingo Molnar
* Andrew Morton <[EMAIL PROTECTED]> wrote: > On Thu, 6 Dec 2007 18:28:25 -0500 > "Miles Lane" <[EMAIL PROTECTED]> wrote: > > > How can I find Roland's patches, so I can try backing them out? > > I looked in the broken out patches and only saw one related > > to VDSO. Backing it out did not help

Re: [PATCH] scheduler: fix x86 regression in native_sched_clock

2007-12-07 Thread Guillaume Chazarain
Le Fri, 7 Dec 2007 09:51:21 +0100, Ingo Molnar <[EMAIL PROTECTED]> a écrit : > yeah, we can do something like this in 2.6.25 - this will improve the > quality of sched_clock(). Thanks a lot for your interest! I'll clean it up and resend it later. As I don't have the necessary knowledge to do th

Re: [BUG] 2.6.23-rc3 can't see sd partitions on Alpha

2007-12-07 Thread Bob Tracy
Andrew Morton wrote: > On Thu, 6 Dec 2007 23:07:08 -0600 (CST) [EMAIL PROTECTED] (Bob Tracy) wrote: > > Andrew Morton wrote: > > > commit 6f37ac793d6ba7b35d338f791974166f67fdd9ba > > > Merge: 2f1f53b... d90bf5a... > > > Author: Linus Torvalds <[EMAIL PROTECTED]> > > > Date: Wed Nov 14 18:51:48 20

  1   2   3   4   >