Re: [PATCH v2] Bitbanging i2c bus driver using the GPIO API

2007-03-11 Thread Wu, Bryan
On Sat, 2007-03-10 at 14:13 +0100, Haavard Skinnemoen wrote: This is a very simple bitbanging i2c bus driver utilizing the new arch-neutral GPIO API. Useful for chips that don't have a built-in i2c controller, additional i2c busses, or testing purposes. Sorry for missing this hot discussion.

Re: i.MX/MX1 SDHC fix/workaround of SD card recognition problems

2007-03-11 Thread Pavel Pisa
On Monday 12 March 2007 00:36, you wrote: Pavel Pisa wrote: The SDHC controllers cannot process shorter transfers. They has to be handled as longer ones, but it such case CRC error is evaluated. There was a case in the code still, where this error is not ignored as it should to be process

Re: [PATCH] [scsi]: Add offline state checking while dispatch a scsi cmd

2007-03-11 Thread Joe Jin
This is a bug actually in the megaraid. Aha, I'll track it. And this is a direct command submission path: it already passed both online check gates in this path *after* the device was offlined, so adding a third won't fix this. Yeah, I have notice that, however, from the logs, the

Re: [patch 2/3] fs: introduce perform_write aop

2007-03-11 Thread Mark Fasheh
On Sat, Mar 10, 2007 at 09:25:41AM +, Christoph Hellwig wrote: On Fri, Mar 09, 2007 at 03:33:01PM -0800, Mark Fasheh wrote: -kernel_write() as opposed to genericizing -perform_write() would be fine with me. Just so long as we get rid of -prepare_write and -commit_write in that other

Re: [PATCH] [scsi]: Add offline state checking while dispatch a scsi cmd

2007-03-11 Thread Joe Jin
The 2.6.9 base is very old in mainline terms. Are you sure the bug hasn't been fixed in mainline by other means? I cannot confirm if it have fixed in latest kernel, the server is a production system, it's hard to debug it and try reproduce. - To unsubscribe from this list: send the line

Re: [PATCH] [scsi]: Add offline state checking while dispatch a scsi cmd

2007-03-11 Thread Andrew Morton
On Mon, 12 Mar 2007 10:52:22 +0800 Joe Jin [EMAIL PROTECTED] wrote: The 2.6.9 base is very old in mainline terms. Are you sure the bug hasn't been fixed in mainline by other means? I cannot confirm if it have fixed in latest kernel, the server is a production system, it's hard to debug

RE: [git patches] libata fixes

2007-03-11 Thread Linus Torvalds
On Sun, 11 Mar 2007, Paul Rolland wrote: My machine is having two problems : the one you are describing above, which is due to a SIL controler being connected to one port of the ICH7 (at least, it seems to), and probing it goes timeout, but nothing is connected on it. Ok, so that's just a

Re: SATA resume slowness, e1000 MSI warning

2007-03-11 Thread Michael S. Tsirkin
Quoting Eric W. Biederman [EMAIL PROTECTED]: Subject: Re: SATA resume slowness, e1000 MSI warning Michael S. Tsirkin [EMAIL PROTECTED] writes: OK I guess. I gather we assume writing read-only registers has no side effects? Are there rumors circulating wrt to these? I haven't heard

Re: [ANNOUNCE] RSDL completely fair starvation free interactive cpu scheduler

2007-03-11 Thread Al Boldi
Con Kolivas wrote: On Monday 12 March 2007 08:52, Con Kolivas wrote: And thank you! I think I know what's going on now. I think each rotation is followed by another rotation before the higher priority task is getting a look in in schedule() to even get quota and add it to the runqueue

Re: [PATCH 1/2] xfs: use xfs_get_buf_noaddr for iclogs

2007-03-11 Thread David Chinner
On Wed, Mar 07, 2007 at 11:13:14AM +0100, Christoph Hellwig wrote: xfs_buf_get_noaddr. There's a subtile change because xfs_buf_get_empty returns the buffer locked, but xfs_buf_get_noaddr returns it unlocked. From my auditing and testing nothing in the log I/O code cares about this

Re: Null pointer in autofs4 (_spin_lock) in 2.6.21-rc2

2007-03-11 Thread Ian Kent
On Sun, 11 Mar 2007, Thomas Renninger wrote: On Thu, 2007-03-08 at 19:39 +0900, Ian Kent wrote: On Thu, 2007-03-08 at 11:12 +0100, Thomas Renninger wrote: On Thu, 2007-03-08 at 01:28 -0800, Andrew Morton wrote: On Thu, 08 Mar 2007 09:57:56 +0100 Thomas Renninger [EMAIL PROTECTED]

Re: [PATCH] kthread_should_stop_check_freeze (was: Re: [PATCH -mm 3/7] Freezer: Remove PF_NOFREEZE from rcutorture thread)

2007-03-11 Thread Paul E. McKenney
On Sun, Mar 11, 2007 at 06:49:08PM +0100, Rafael J. Wysocki wrote: On Saturday, 3 March 2007 18:32, Oleg Nesterov wrote: On 03/02, Paul E. McKenney wrote: On Sat, Mar 03, 2007 at 02:33:37AM +0300, Oleg Nesterov wrote: On 03/02, Paul E. McKenney wrote: One way to embed

Re: RSDL v0.30 cpu scheduler for ... 2.6.18.8 kernel

2007-03-11 Thread Con Kolivas
On Monday 12 March 2007 19:17, Vincent Fortier wrote: There are updated patches for 2.6.20, 2.6.20.2, 2.6.21-rc3 and 2.6.21-rc3-mm2 to bring RSDL up to version 0.30 for download here: Full patches: http://ck.kolivas.org/patches/staircase-deadline/2.6.20-sched-rsdl-0.30.p at ch

Re: 2.6.21-rc3-mm1

2007-03-11 Thread Paul E. McKenney
On Sun, Mar 11, 2007 at 06:02:31PM +0100, Michal Piotrowski wrote: On 10/03/07, Paul E. McKenney [EMAIL PROTECTED] wrote: On Fri, Mar 09, 2007 at 06:18:51PM -0800, Andrew Morton wrote: On Thu, 08 Mar 2007 21:50:29 +0100 Michal Piotrowski [EMAIL PROTECTED] wrote: Andrew Morton napisał(a):

Re: [ANNOUNCE] RSDL completely fair starvation free interactive cpu scheduler

2007-03-11 Thread Con Kolivas
On Monday 12 March 2007 15:42, Al Boldi wrote: Con Kolivas wrote: On Monday 12 March 2007 08:52, Con Kolivas wrote: And thank you! I think I know what's going on now. I think each rotation is followed by another rotation before the higher priority task is getting a look in in

Re: Style Question

2007-03-11 Thread Cong WANG
2007/3/12, Jan Engelhardt [EMAIL PROTECTED]: On Mar 11 2007 22:15, Cong WANG wrote: I have a question about coding style in linux kernel. In Documention/CodingStyle, it is said that Linux style for comments is the C89 /* ... */ style. Don't use C99-style // ... comments. _But_ I see a lot

Re: RSDL for 2.6.21-rc3- 0.29

2007-03-11 Thread Gene Heskett
On Sunday 11 March 2007, Con Kolivas wrote: On Sunday 11 March 2007 15:03, Matt Mackall wrote: On Sat, Mar 10, 2007 at 10:01:32PM -0600, Matt Mackall wrote: On Sun, Mar 11, 2007 at 01:28:22PM +1100, Con Kolivas wrote: Ok I don't think there's any actual accounting problem here per se

Re: Style Question

2007-03-11 Thread Jan Engelhardt
On Mar 12 2007 13:37, Cong WANG wrote: The following code is picked from drivers/kvm/kvm_main.c: static struct kvm_vcpu *vcpu_load(struct kvm *kvm, int vcpu_slot) { struct kvm_vcpu *vcpu = kvm-vcpus[vcpu_slot]; mutex_lock(vcpu-mutex); if (unlikely(!vcpu-vmcs)) {

Re: RSDL for 2.6.21-rc3- 0.29

2007-03-11 Thread Con Kolivas
Hi Gene. On Monday 12 March 2007 16:38, Gene Heskett wrote: I hate to say it Con, but this one seems to have broken the amanda-tar symbiosis. I haven't tried a plain 21-rc3, so the problem may exist there, and in fact it did for 21-rc1, but I don't recall if it was true for -rc2. But I

Re: Style Question

2007-03-11 Thread Nicholas Miell
On Mon, 2007-03-12 at 06:40 +0100, Jan Engelhardt wrote: On Mar 12 2007 13:37, Cong WANG wrote: The following code is picked from drivers/kvm/kvm_main.c: static struct kvm_vcpu *vcpu_load(struct kvm *kvm, int vcpu_slot) { struct kvm_vcpu *vcpu = kvm-vcpus[vcpu_slot];

Re: PROBLEM: Make nenuconfig does not save parameters.

2007-03-11 Thread Cyrill Gorcunov
On 3/11/07, Sam Ravnborg [EMAIL PROTECTED] wrote: [..snip..] | To make the conversion we should consider renaming from | current Load alternate to Open config file... | and likewise Save alternate to Save config file as... | | Comments? | | Sam [..snip...] I think that is

Re: Style Question

2007-03-11 Thread Randy.Dunlap
On Mon, 12 Mar 2007, Jan Engelhardt wrote: On Mar 12 2007 13:37, Cong WANG wrote: The following code is picked from drivers/kvm/kvm_main.c: static struct kvm_vcpu *vcpu_load(struct kvm *kvm, int vcpu_slot) { struct kvm_vcpu *vcpu = kvm-vcpus[vcpu_slot]; mutex_lock(vcpu-mutex);

Re: RSDL for 2.6.21-rc3- 0.29

2007-03-11 Thread Gene Heskett
On Monday 12 March 2007, Con Kolivas wrote: Hi Gene. On Monday 12 March 2007 16:38, Gene Heskett wrote: I hate to say it Con, but this one seems to have broken the amanda-tar symbiosis. I haven't tried a plain 21-rc3, so the problem may exist there, and in fact it did for 21-rc1, but I don't

[PATCH]Replace 0 with NULL when returning a pointer

2007-03-11 Thread Cong WANG
Use NULL to indicate we are returning a pointer rather than an integer and to eliminate some sparse warnings. Signed-off-by: Cong WANG [EMAIL PROTECTED] --- --- drivers/kvm/kvm_main.c.orig 2007-03-11 21:41:23.0 +0800 +++ drivers/kvm/kvm_main.c 2007-03-12 14:26:17.0 +0800 @@

[PATCH]Replace 0 with NULL when returning a pointer

2007-03-11 Thread Cong WANG
Use NULL to indicate we are returning a pointer rather than an integer and to eliminate some sparse warnings. Signed-off-by: Cong WANG [EMAIL PROTECTED] --- --- drivers/kvm/vmx.c.orig 2007-03-11 21:41:03.0 +0800 +++ drivers/kvm/vmx.c 2007-03-12 14:25:11.0 +0800 @@ -98,7

Re: [patch 3/8] per backing_dev dirty and writeback page accounting

2007-03-11 Thread David Chinner
On Tue, Mar 06, 2007 at 07:04:46PM +0100, Miklos Szeredi wrote: From: Andrew Morton [EMAIL PROTECTED] [EMAIL PROTECTED]: bugfix] Miklos Szeredi [EMAIL PROTECTED]: Changes: - updated to apply after clear_page_dirty_for_io() race fix This is needed for - balance_dirty_pages()

Re: [PATCH][RSDL-mm 0/7] RSDL cpu scheduler for 2.6.21-rc3-mm2

2007-03-11 Thread Radoslaw Szkodzinski
On 3/11/07, Gene Heskett [EMAIL PROTECTED] wrote: On Sunday 11 March 2007, Mike Galbraith wrote: Just to comment, I've been running one of the patches between 20-ck1 and this latest one, which is building as I type, but I also run gkrellm here, version 2.2.9. Since I have been running this

Re: [PATCH] two more device ids for dm9601 usbnet driver

2007-03-11 Thread Peter Korsgaard
Jon == Jon Dowland [EMAIL PROTECTED] writes: Hi, Jon This patch for the linux-usb-devel tree adds two more Jon product ids to the dm9601 driver. These ids were found on Jon rebadged dm9601 devices in the wild. Jon Signed-off-by: Jon Dowland [EMAIL PROTECTED] Acked-by: Peter Korsgaard

Re: 2.6.21-rc2-mm2: drivers/net/wireless/libertas/debugfs.c addr bogosity

2007-03-11 Thread Tony Breeds
On Fri, Mar 09, 2007 at 09:14:29AM -0800, Randy Dunlap wrote: Good to use FIELD_SIZEOF(), Thanks. but in general, we prefer to use it directly, not in yet another wrapper. I left the item_{size,addr} in place as it seemed to make the item[] more compact. I'm

Re: [git patches] libata fixes

2007-03-11 Thread Tejun Heo
Hello, Linus. Linus Torvalds wrote: On Sun, 11 Mar 2007, Paul Rolland wrote: My machine is having two problems : the one you are describing above, which is due to a SIL controler being connected to one port of the ICH7 (at least, it seems to), and probing it goes timeout, but nothing is

Re: [git patches] libata fixes

2007-03-11 Thread Tejun Heo
Of course I forgot to CC. :-) Quoting whole message for Justin. Tejun Heo wrote: Hello, Linus. Linus Torvalds wrote: On Sun, 11 Mar 2007, Paul Rolland wrote: My machine is having two problems : the one you are describing above, which is due to a SIL controler being connected to one port

Re: libata extension

2007-03-11 Thread Robert Hancock
Vitaliyi wrote: Good Day Say i want to implement extended set of ATA commands available to userspace for building diagnostic tools. I need 0x40 -- read verify and 0x32 -- write long with error handling, for example. I was trying ide driver through ioctl's, but seems it lack of functionality and

Re: [RFC PATCH 1/3] Add ability to keep track of callers of symbol_(get|put)

2007-03-11 Thread Andrew Morton
> On Sat, 10 Mar 2007 02:31:35 -0200 Mauro Carvalho Chehab <[EMAIL PROTECTED]> > wrote: > From: Trent Piepho <[EMAIL PROTECTED]> > > When a module uses symbol_get() to increase the ref count of another > module, there is no record what module called symbol_get(). A module > can > show up as

Re: [2/6] 2.6.21-rc2: known regressions

2007-03-11 Thread Ingo Molnar
* Pavel Machek <[EMAIL PROTECTED]> wrote: > > Probably tweaking the webpage doesnt help because people dont get > > there - as the results plainly show it. Maybe some more automation > > would be useful too, a tool that detects failed resume and tries all > > those options that makes sense on

Re: [RFC][PATCH 6/7] Account for the number of tasks within container

2007-03-11 Thread Pavel Emelianov
Paul Menage wrote: > On 3/6/07, Pavel Emelianov <[EMAIL PROTECTED]> wrote: >> The idea is: >> >> Task may be "the entity that allocates the resources" and "the >> entity that is a resource allocated". >> >> When task is the first entity it may move across containers >> (that is implemented in your

Re: [RFC][PATCH 1/7] Resource counters

2007-03-11 Thread Pavel Emelianov
Herbert Poetzl wrote: > On Wed, Mar 07, 2007 at 10:19:05AM +0300, Pavel Emelianov wrote: >> Balbir Singh wrote: >>> Pavel Emelianov wrote: Introduce generic structures and routines for resource accounting. Each resource accounting container is supposed to aggregate it,

Re: [RFC][PATCH 2/7] RSS controller core

2007-03-11 Thread Pavel Emelianov
Herbert Poetzl wrote: > On Tue, Mar 06, 2007 at 02:00:36PM -0800, Andrew Morton wrote: >> On Tue, 06 Mar 2007 17:55:29 +0300 >> Pavel Emelianov <[EMAIL PROTECTED]> wrote: >> >>> +struct rss_container { >>> + struct res_counter res; >>> + struct list_head page_list; >>> + struct

[BIG] Re: sched rsdl fix for 0.28

2007-03-11 Thread Nicolas Mailhot
Le dimanche 11 mars 2007 à 11:07 +1100, Con Kolivas a écrit : > sched rsdl fix Doesn't change a thing. Always breaks at the same place (though depending on hardware timings? the trace is not always the same). Pretty sure nothing happens before this failure -- Nicolas Mailhot signature.asc

Re: [BIG] Re: sched rsdl fix for 0.28

2007-03-11 Thread Con Kolivas
On Sunday 11 March 2007 20:10, Nicolas Mailhot wrote: > Le dimanche 11 mars 2007 à 11:07 +1100, Con Kolivas a écrit : > > sched rsdl fix > > Doesn't change a thing. Always breaks at the same place (though > depending on hardware timings? the trace is not always the same). Pretty > sure nothing

Re: [BIG] Re: sched rsdl fix for 0.28

2007-03-11 Thread Con Kolivas
On Sunday 11 March 2007 20:21, Con Kolivas wrote: > On Sunday 11 March 2007 20:10, Nicolas Mailhot wrote: > > Le dimanche 11 mars 2007 à 11:07 +1100, Con Kolivas a écrit : > > > sched rsdl fix > > > > Doesn't change a thing. Always breaks at the same place (though > > depending on hardware

Re: PROBLEM: "Make nenuconfig" does not save parameters.

2007-03-11 Thread Cyrill Gorcunov
[Sam Ravnborg - Sat, Mar 10, 2007 at 11:45:34PM +0100] | On Sat, Mar 10, 2007 at 10:34:41PM +0100, Jan Engelhardt wrote: | > | > On Mar 10 2007 22:27, Sam Ravnborg wrote: | > >On Sat, Mar 10, 2007 at 07:23:41PM +0100, Jan Engelhardt wrote: | > >> | > >> Whether the 'working config file path'

Re: Use of absolute timeouts for oneshot timers

2007-03-11 Thread Thomas Gleixner
On Sat, 2007-03-10 at 16:42 -0800, Jeremy Fitzhardinge wrote: > Thomas Gleixner wrote: > > It's simply enforced in NO_HZ, HIGHRES mode as we operate in absolute > > time, which is read back from the clocksource, even if we use a relative > > value for real hardware clock event devices to program

Re: [RFC][PATCH 5/7] Per-container OOM killer and page reclamation

2007-03-11 Thread Pavel Emelianov
Balbir Singh wrote: > Hi, Pavel, > > Please find my patch to add LRU behaviour to your latest RSS controller. Thanks for participation and additional testing :) I'll include this into next generation of patches. > Balbir Singh > Linux Technology Center > IBM, ISTL > > >

Re: [PATCH] [scsi]: Add offline state checking while dispatch a scsi cmd

2007-03-11 Thread Andrew Morton
> On Fri, 9 Mar 2007 09:40:40 +0800 Joe Jin <[EMAIL PROTECTED]> wrote: > > What's the error you're trying to fix? scsi_dispatch_cmd() is only > > called from scsi_request_fn() which already has an equivalent of this > > check in it just prior to calling dispatch. > > Yeah, I have saw the cheking

[RFC][PATCH 0/3] swsusp: Stop using page flags

2007-03-11 Thread Rafael J. Wysocki
Hi, The following three patches make swsusp use its own data structures for memory management instead of special page flags. Thus the page flags used so far by swsusp (PG_nosave, PG_nosave_free) can be used for other purposes and I believe there are some urgend needs of them. :-) Last week I

[RFC][PATCH 1/3] swsusp: Use inline functions for changing page flags

2007-03-11 Thread Rafael J. Wysocki
From: Rafael J. Wysocki <[EMAIL PROTECTED]> Replace direct invocations of SetPageNosave(), SetPageNosaveFree() etc. with calls to inline functions that can be changed in subsequent patches without modifying the code calling them. Signed-off-by: Rafael J. Wysocki <[EMAIL PROTECTED]> ---

[RFC][PATCH 3/3] mm: Remove unused page flags

2007-03-11 Thread Rafael J. Wysocki
From: Rafael J. Wysocki <[EMAIL PROTECTED]> Remove the two page flags that were previously used by swsusp and are no longer needed. Signed-off-by: Rafael J. Wysocki <[EMAIL PROTECTED]> --- include/linux/page-flags.h | 12 1 file changed, 12 deletions(-) Index:

[RFC][PATCH 2/3] swsusp: Do not use page flags

2007-03-11 Thread Rafael J. Wysocki
From: Rafael J. Wysocki <[EMAIL PROTECTED]> Make swsusp use memory bitmaps instead of page flags for marking 'nosave' and free pages. This allows us to 'recycle' two page flags that can be used for other purposes. Also, the memory needed to store the bitmaps is allocated when necessary (ie.

[PATCH] drivers/isdn/hardware/eicon/: remove unused header files

2007-03-11 Thread Armin Schindler
Hi all, as pointed out by Robert P. J. Day, here is a patch to remove unused header files from Eicon/Dialogic ISDN driver. Signed-off-by: Armin Schindler <[EMAIL PROTECTED]> --- diff -Nur linux-2.6.20.1.orig/drivers/isdn/hardware/eicon/dbgioctl.h

Re: [RFC][PATCH 0/3] swsusp: Stop using page flags

2007-03-11 Thread Peter Zijlstra
On Sun, 2007-03-11 at 11:17 +0100, Rafael J. Wysocki wrote: > Hi, > > The following three patches make swsusp use its own data structures for memory > management instead of special page flags. Thus the page flags used so far by > swsusp (PG_nosave, PG_nosave_free) can be used for other purposes

Re: SATA resume slowness, e1000 MSI warning

2007-03-11 Thread Eric W. Biederman
"Michael S. Tsirkin" <[EMAIL PROTECTED]> writes: >> The only case I can see which might trigger this is if we saved >> pci-X state and then didn't restore it because we could not find >> the capability on restore. > > Hmm. pci_save_pcix_state/pci_restore_pcix_state seem to only handle > regular

Linux 2.6.16.44-rc1

2007-03-11 Thread Adrian Bunk
Security fixes since 2.6.16.43: - CVE-2007-0005: Fix buffer overflow in Omnikey CardMan 4040 driver - CVE-2007-1000: [IPV6]: Handle np->opt being NULL in ipv6_getsockopt_sticky(). Location: ftp://ftp.kernel.org/pub/linux/kernel/people/bunk/linux-2.6.16.y/testing/ git tree:

Re: [PATCH 3/7] revoke: core code

2007-03-11 Thread Pekka Enberg
On Fri, 2007-03-09 at 10:15 +0200, Pekka J Enberg wrote: > > + again: > > + restart_addr = zap_page_range(vma, start_addr, end_addr - start_addr, > > + details); > > + > > + need_break = need_resched() || need_lockbreak(details->i_mmap_lock); > > + if

[PATCH 1/5] revoke: special mmap handling

2007-03-11 Thread Pekka J Enberg
From: Pekka Enberg <[EMAIL PROTECTED]> This adds special handling for revoked memory mappings. We want to raise SIGBUS when accessing revoked mappings and return ENODEV when trying to remap with mmap(2). Acked-by: Alan Cox <[EMAIL PROTECTED]> Signed-off-by: Pekka Enberg <[EMAIL PROTECTED]> ---

[PATCH 2/5] revoke: core code

2007-03-11 Thread Pekka J Enberg
From: Pekka Enberg <[EMAIL PROTECTED]> The revokeat(2) and frevoke(2) system calls invalidate open file descriptors and shared mappings of an inode. After an successful revocation, operations on file descriptors fail with the EBADF or ENXIO error code for regular and device files, respectively.

[PATCH 3/5] revoke: support for ext2 and ext3

2007-03-11 Thread Pekka J Enberg
From: Pekka Enberg <[EMAIL PROTECTED]> Add revoke support to ext2 and ext3 by wiring f_ops->revoke with generic_file_revoke. Signed-off-by: Pekka Enberg <[EMAIL PROTECTED]> --- fs/ext2/file.c |1 + fs/ext3/file.c |1 + 2 files changed, 2 insertions(+) Index: uml-2.6/fs/ext2/file.c

[PATCH 4/5] revoke: add documentation

2007-03-11 Thread Pekka J Enberg
From: Pekka Enberg <[EMAIL PROTECTED]> This documents revoke file operation in Documentation/filesystems/vfs.txt. Acked-by: Alan Cox <[EMAIL PROTECTED]> Signed-off-by: Pekka Enberg <[EMAIL PROTECTED]> --- Documentation/filesystems/vfs.txt |5 + 1 file changed, 5 insertions(+) Index:

[PATCH 5/5] revoke: wire up i386 system calls

2007-03-11 Thread Pekka J Enberg
From: Pekka Enberg <[EMAIL PROTECTED]> Make revokeat and frevoke system calls available to user-space on i386. Acked-by: Alan Cox <[EMAIL PROTECTED]> Signed-off-by: Pekka Enberg <[EMAIL PROTECTED]> --- arch/i386/kernel/syscall_table.S |3 +++ include/asm-i386/unistd.h|4 +++- 2

Re: SATA resume slowness, e1000 MSI warning

2007-03-11 Thread Michael S. Tsirkin
> Quoting Eric W. Biederman <[EMAIL PROTECTED]>: > Subject: Re: SATA resume slowness, e1000 MSI warning > > "Michael S. Tsirkin" <[EMAIL PROTECTED]> writes: > > >> The only case I can see which might trigger this is if we saved > >> pci-X state and then didn't restore it because we could not

Re: [PATCH] CIRRUS: Delete unused header file.

2007-03-11 Thread Robert P. J. Day
On Sat, 10 Mar 2007, Andrew Morton wrote: > > On Sat, 10 Mar 2007 17:27:44 -0500 (EST) "Robert P. J. Day" <[EMAIL > > PROTECTED]> wrote: > > > > Delete apparently unused header file > > sound/pci/cs46xx/imgs/cwcemb80.h. > > > > That patch series was rather a mess > > - Multiple patches with

Re: [PATCH][RSDL-mm 0/7] RSDL cpu scheduler for 2.6.21-rc3-mm2

2007-03-11 Thread Mike Galbraith
Hi Con, On Sun, 2007-03-11 at 14:57 +1100, Con Kolivas wrote: > What follows this email is a patch series for the latest version of the RSDL > cpu scheduler (ie v0.29). I have addressed all bugs that I am able to > reproduce in this version so if some people would be kind enough to test if >

Re: [PATCH][RSDL-mm 0/7] RSDL cpu scheduler for 2.6.21-rc3-mm2

2007-03-11 Thread Con Kolivas
On Sunday 11 March 2007 22:39, Mike Galbraith wrote: > Hi Con, > > On Sun, 2007-03-11 at 14:57 +1100, Con Kolivas wrote: > > What follows this email is a patch series for the latest version of the > > RSDL cpu scheduler (ie v0.29). I have addressed all bugs that I am able > > to reproduce in this

Re: [patch 2/9] signalfd/timerfd - signalfd core ...

2007-03-11 Thread Oleg Nesterov
On 03/10, Davide Libenzi wrote: > > +static void signalfd_put_sighand(struct signalfd_ctx *ctx, > + struct sighand_struct *sighand, > + unsigned long *flags) > +{ > + unlock_task_sighand(ctx->tsk, flags); > +} Note that

Re: [PATCH][RSDL-mm 0/7] RSDL cpu scheduler for 2.6.21-rc3-mm2

2007-03-11 Thread Mike Galbraith
On Sun, 2007-03-11 at 22:48 +1100, Con Kolivas wrote: > > Thanks for the report. I'm assuming you're describing a single hyperthread P4 > here in SMP mode so 2 logical cores. Can you elaborate on whether there is > any difference as to which cpu things are bound to as well? Can you also see >

Re: [PATCH][RSDL-mm 0/7] RSDL cpu scheduler for 2.6.21-rc3-mm2

2007-03-11 Thread Ingo Molnar
* Mike Galbraith <[EMAIL PROTECTED]> wrote: > > Full patch for 2.6.21-rc3-mm2: > > http://ck.kolivas.org/patches/staircase-deadline/2.6.21-rc3-mm2-rsdl-0.29.patch > > I'm seeing a cpu distribution problem running this on my P4 box. > With 2.6.21-rc3, X/Gforce maintain their ~50% cpu (remain

Re: [PATCH][RSDL-mm 0/7] RSDL cpu scheduler for 2.6.21-rc3-mm2

2007-03-11 Thread Mike Galbraith
On Sun, 2007-03-11 at 13:10 +0100, Ingo Molnar wrote: > * Mike Galbraith <[EMAIL PROTECTED]> wrote: > > > > Full patch for 2.6.21-rc3-mm2: > > > http://ck.kolivas.org/patches/staircase-deadline/2.6.21-rc3-mm2-rsdl-0.29.patch > > > > I'm seeing a cpu distribution problem running this on my P4

RE: [git patches] libata fixes

2007-03-11 Thread Paul Rolland
Hello, > It seems like IRQ is not getting through. The first IRQ > driven command is failing for you. H > Extract is : > ata7: PATA max UDMA/100 cmd 0x00019c00 ctl 0x00019882 bmdma > 0x00019400 irq 16 > ata8: PATA max UDMA/100 cmd 0x00019800 ctl

Re: libata extension

2007-03-11 Thread Alan Cox
> I believe you should be able to do this by sending ATA pass-through SCSI > commands into the device using SG_IO, without any kernel changes. It's > really the mechanism that's meant for this.. It should work, but Mark Lord reported some problems with READ_LONG on PIIX/ICH intel chipsets. I

[PATCH] driver core: fix device_add error path

2007-03-11 Thread Dmitriy Monakhov
Dmitriy Monakhov <[EMAIL PROTECTED]> writes: > Greg Kroah-Hartman <[EMAIL PROTECTED]> writes: > >> From: James Simmons <[EMAIL PROTECTED]> >> >> When a device fails to register the class symlinks where not cleaned up. >> This left a symlink in the /sys/class/"device"/ directory that pointed >> to

Re: 2.6.21-rc3-mm1 RSDL results

2007-03-11 Thread James Cloos
|> See: |> http://webcvs.freedesktop.org/mesa/Mesa/src/mesa/drivers/dri/r200/r200_ioctl.c?revision=1.37=markup OK. Mesa is in git, now, but that still applies. The gitweb url is: http://gitweb.freedesktop.org/?p=mesa/mesa.git and for the version of the above file in the master branch:

Re: 2.6.21-rc3-mm1 RSDL results

2007-03-11 Thread Con Kolivas
On Sunday 11 March 2007 23:38, James Cloos wrote: > |> See: > |> http://webcvs.freedesktop.org/mesa/Mesa/src/mesa/drivers/dri/r200/r200_i > |>octl.c?revision=1.37=markup > > OK. > > Mesa is in git, now, but that still applies. The gitweb url is: > > http://gitweb.freedesktop.org/?p=mesa/mesa.git

Locking interrupt handler in L1 cache

2007-03-11 Thread Parav Pandit
Hi, I have MPC 8548 Linux 2.6.x based firewall which will mostly do packet processing for 80% time. So obviously most of the time it will RX and TX packets through gianfar ethernet driver. I want to lock my interrupt handler of this driver in the L1 cache. 1. Is there any kernel API for locking

Re: libata extension

2007-03-11 Thread Bartlomiej Zolnierkiewicz
Hi, On Sunday 11 March 2007, Vitaliyi wrote: > Good Day > > Say i want to implement extended set of ATA commands available to > userspace for building diagnostic tools. > I need 0x40 -- read verify and 0x32 -- write long with error handling, Mark Lord is working on READ/WRITE_LONG support for

Re: [PATCH] lpfc: avoid double-free during PCI error failure

2007-03-11 Thread James Smart
ACK... Looks good... -- james s Linas Vepstas wrote: Bino, James, Please review, sign-off and forward upstream. --linas If a PCI error is detected that cannot be recovered from, there will be a double call of lpfc_pci_remove_one(), with the second call resulting in a null-pointer

Style Question

2007-03-11 Thread Cong WANG
Hi, list! I have a question about coding style in linux kernel. In Documention/CodingStyle, it is said that "Linux style for comments is the C89 "/* ... */" style. Don't use C99-style "// ..." comments." _But_ I see a lot of '//' style comments in current kernel code. Which is wrong? The

Re: Style Question

2007-03-11 Thread Bernd Petrovitsch
On Sun, 2007-03-11 at 22:15 +0800, Cong WANG wrote: [...] > Another question is about NULL. AFAIK, in user space, using NULL is > better than directly using 0 in C. In kernel, I know it used its own > NULL, which may be defined as ((void*)0), Userspace has the usually same definition. >

Re: [RFC][PATCH 2/7] RSS controller core

2007-03-11 Thread Herbert Poetzl
On Sun, Mar 11, 2007 at 12:08:16PM +0300, Pavel Emelianov wrote: > Herbert Poetzl wrote: >> On Tue, Mar 06, 2007 at 02:00:36PM -0800, Andrew Morton wrote: >>> On Tue, 06 Mar 2007 17:55:29 +0300 >>> Pavel Emelianov <[EMAIL PROTECTED]> wrote: >>> +struct rss_container { + struct

Re: [PATCH][RSDL-mm 0/7] RSDL cpu scheduler for 2.6.21-rc3-mm2

2007-03-11 Thread Gene Heskett
On Sunday 11 March 2007, Mike Galbraith wrote: >Hi Con, > >On Sun, 2007-03-11 at 14:57 +1100, Con Kolivas wrote: >> What follows this email is a patch series for the latest version of >> the RSDL cpu scheduler (ie v0.29). I have addressed all bugs that I am >> able to reproduce in this version so

Re: [RFC][PATCH 2/7] RSS controller core

2007-03-11 Thread Pavel Emelianov
Herbert Poetzl wrote: > On Sun, Mar 11, 2007 at 12:08:16PM +0300, Pavel Emelianov wrote: >> Herbert Poetzl wrote: >>> On Tue, Mar 06, 2007 at 02:00:36PM -0800, Andrew Morton wrote: On Tue, 06 Mar 2007 17:55:29 +0300 Pavel Emelianov <[EMAIL PROTECTED]> wrote: > +struct

Re: [patch 6/9] signalfd/timerfd - timerfd core ...

2007-03-11 Thread Thomas Gleixner
Davide, On Sat, 2007-03-10 at 18:22 -0800, Davide Libenzi wrote: Some remarks: > + > +asmlinkage long sys_timerfd(int ufd, int clockid, int tmrtype, > + const struct timespec __user *utmr) > +{ > + int error; > + struct timerfd_ctx *ctx; > + struct file

Re: Style Question

2007-03-11 Thread Robert Hancock
Cong WANG wrote: Hi, list! I have a question about coding style in linux kernel. In Documention/CodingStyle, it is said that "Linux style for comments is the C89 "/* ... */" style. Don't use C99-style "// ..." comments." _But_ I see a lot of '//' style comments in current kernel code. Which is

[PATCH] KVM: MMU: Fix host memory corruption on i386 with >= 4GB ram

2007-03-11 Thread Avi Kivity
PAGE_MASK is an unsigned long, so using it to mask physical addresses on i386 (which are 64-bit wide) leads to truncation. This can result in page->private of unrelated memory pages being modified, with disasterous results. Fix by not using PAGE_MASK for physical addresses; instead calculate the

[PATCH] KVM: MMU: Fix guest writes to nonpae pde

2007-03-11 Thread Avi Kivity
KVM shadow page tables are always in pae mode, regardless of the guest setting. This means that a guest pde (mapping 4MB of memory) is mapped to two shadow pdes (mapping 2MB each). When the guest writes to a pte or pde, we intercept the write and emulate it. We also remove any shadowed mappings

[PATCH 0/2] KVM: More fixes for 2.6.21-rc3

2007-03-11 Thread Avi Kivity
This patchset contains fixes I plan to submit pre 2.6.21: a fix for large memory 32-bit hosts, and a fix for non-pae 32-bit guests. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: [kvm-devel] [PATCH] KVM: MMU: Fix guest writes to nonpae pde

2007-03-11 Thread Ingo Molnar
* Avi Kivity <[EMAIL PROTECTED]> wrote: > KVM shadow page tables are always in pae mode, regardless of the guest > setting. This means that a guest pde (mapping 4MB of memory) is > mapped to two shadow pdes (mapping 2MB each). > > When the guest writes to a pte or pde, we intercept the write

Re: [kvm-devel] [PATCH] KVM: MMU: Fix host memory corruption on i386 with >= 4GB ram

2007-03-11 Thread Ingo Molnar
* Avi Kivity <[EMAIL PROTECTED]> wrote: > PAGE_MASK is an unsigned long, so using it to mask physical addresses > on i386 (which are 64-bit wide) leads to truncation. This can result > in page->private of unrelated memory pages being modified, with > disasterous results. > > Fix by not

[patch] KVM: always reload segment selectors

2007-03-11 Thread Ingo Molnar
Subject: [patch] KVM: always reload segment selectors From: Ingo Molnar <[EMAIL PROTECTED]> failed VM entry on VMX might still change %fs or %gs, thus make sure that KVM always reloads the segment selectors. This is crutial on both x86 and x86_64: x86 has __KERNEL_PDA in %fs on which things

Re: [patch] KVM: always reload segment selectors

2007-03-11 Thread Avi Kivity
Ingo Molnar wrote: Subject: [patch] KVM: always reload segment selectors From: Ingo Molnar <[EMAIL PROTECTED]> failed VM entry on VMX might still change %fs or %gs, thus make sure that KVM always reloads the segment selectors. This is crutial on both x86 and x86_64: x86 has __KERNEL_PDA in

[PATCH 0/15] KVM userspace interface updates

2007-03-11 Thread Avi Kivity
This patchset updates the kvm userspace interface to what I hope will be the long-term stable interface. Provisions are included for extending the interface later. The patches address performance and cleanliness concerns. One patch is missing -- I'd like the string pio transfers not to include

[PATCH 03/15] KVM: Initialize PIO I/O count

2007-03-11 Thread Avi Kivity
This allows userspace to ignore the io.rep field. No a big deal, but friendly. Signed-off-by: Avi Kivity <[EMAIL PROTECTED]> --- drivers/kvm/svm.c |1 + drivers/kvm/vmx.c |1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/kvm/svm.c b/drivers/kvm/svm.c index

[PATCH 04/15] KVM: Handle cpuid in the kernel instead of punting to userspace

2007-03-11 Thread Avi Kivity
KVM used to handle cpuid by letting userspace decide what values to return to the guest. We now handle cpuid completely in the kernel. We still let userspace decide which values the guest will see by having userspace set up the value table beforehand (this is necessary to allow management

[PATCH 01/15] KVM: Use a shared page for kernel/user communication when runing a vcpu

2007-03-11 Thread Avi Kivity
Instead of passing a 'struct kvm_run' back and forth between the kernel and userspace, allocate a page and allow the user to mmap() it. This reduces needless copying and makes the interface expandable by providing lots of free space. Signed-off-by: Avi Kivity <[EMAIL PROTECTED]> ---

[PATCH 12/15] KVM: Initialize the apic_base msr on svm too

2007-03-11 Thread Avi Kivity
Older userspace didn't care, but newer userspace (with the cpuid changes) does. Signed-off-by: Avi Kivity <[EMAIL PROTECTED]> --- drivers/kvm/svm.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/drivers/kvm/svm.c b/drivers/kvm/svm.c index 0311665..2396ada 100644 ---

[PATCH 07/15] KVM: Renumber ioctls

2007-03-11 Thread Avi Kivity
The recent changes have left the ioctl numbers in complete disarray. Signed-off-by: Avi Kivity <[EMAIL PROTECTED]> --- include/linux/kvm.h | 34 +- 1 files changed, 17 insertions(+), 17 deletions(-) diff --git a/include/linux/kvm.h b/include/linux/kvm.h index

[PATCH 06/15] KVM: Remove minor wart from KVM_CREATE_VCPU ioctl

2007-03-11 Thread Avi Kivity
That ioctl does not transfer any data, so it should be an _IO rather than an _IOW. Signed-off-by: Avi Kivity <[EMAIL PROTECTED]> --- include/linux/kvm.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/linux/kvm.h b/include/linux/kvm.h index c6dd4a7..d89189a

[PATCH 08/15] KVM: Add method to check for backwards-compatible API extensions

2007-03-11 Thread Avi Kivity
Signed-off-by: Avi Kivity <[EMAIL PROTECTED]> --- drivers/kvm/kvm_main.c |6 ++ include/linux/kvm.h|5 + 2 files changed, 11 insertions(+), 0 deletions(-) diff --git a/drivers/kvm/kvm_main.c b/drivers/kvm/kvm_main.c index 747966e..376538c 100644 --- a/drivers/kvm/kvm_main.c

[PATCH 14/15] KVM: Allow kernel to select size of mmap() buffer

2007-03-11 Thread Avi Kivity
This allows us to store offsets in the kernel/user kvm_run area, and be sure that userspace has them mapped. As offsets can be outside the kvm_run struct, userspace has no way of knowing how much to mmap. Signed-off-by: Avi Kivity <[EMAIL PROTECTED]> --- drivers/kvm/kvm_main.c |8 +++-

[PATCH 13/15] KVM: Add guest mode signal mask

2007-03-11 Thread Avi Kivity
Allow a special signal mask to be used while executing in guest mode. This allows signals to be used to interrupt a vcpu without requiring signal delivery to a userspace handler, which is quite expensive. Userspace still receives -EINTR and can get the signal via sigwait(). Signed-off-by: Avi

[PATCH 05/15] KVM: Remove the 'emulated' field from the userspace interface

2007-03-11 Thread Avi Kivity
We no longer emulate single instructions in userspace. Instead, we service mmio or pio requests. Signed-off-by: Avi Kivity <[EMAIL PROTECTED]> --- drivers/kvm/kvm_main.c |5 - include/linux/kvm.h|3 +-- 2 files changed, 1 insertions(+), 7 deletions(-) diff --git

[PATCH 11/15] KVM: Add a special exit reason when exiting due to an interrupt

2007-03-11 Thread Avi Kivity
This is redundant, as we also return -EINTR from the ioctl, but it allows us to examine the exit_reason field on resume without seeing old data. Signed-off-by: Avi Kivity <[EMAIL PROTECTED]> --- drivers/kvm/svm.c |2 ++ drivers/kvm/vmx.c |2 ++ include/linux/kvm.h |3 ++- 3 files

<    1   2   3   4   5   >