Re: [Patch 2/2] powerpc: i2c-isa: add access check to legacy ioports

2008-02-13 Thread Christian Krafft
when probing i2c-pca-isa writes to legacy ioports, which crashes the kernel if there is no device at that port. This patch adds a check_legacy_ioport call, so probe failes gracefully and thus prevents the oops. Signed-off-by: Christian Krafft <[EMAIL PROTECTED]> Index: linux.git/drive

Re: [Patch 0/2] powerpc: avoid userspace poking to legacy ioports

2008-02-13 Thread Christian Krafft
sensors_detect crashes kernel on PowerPC, as it pokes directly to memory. This patch adds a check_legacy_ioports to read_port and write_port. It will now return ENXIO, instead of oopsing. Signed-off-by: Christian Krafft <[EMAIL PROTECTED]> Index: linux.git/drivers/char

[Patch 0/2] add check_legacy_ioport calls to prevent oops

2008-02-13 Thread Christian Krafft
Hi, the following two patches prevent kernel from crashing on powerpc. The surrounding ifdefs will be obsolete, if check_legacy_ioport becomes generic code. -- Mit freundlichen Gruessen, kind regards, Christian Krafft IBM Systems & Technology Group, Linux Kernel Development IT Specia

Re: [Cbe-oss-dev] [patch 1/5] spu_manage: use newer physical-id

2007-08-28 Thread Christian Krafft
_id. Sorry for the late answer, wasn't on cc and had to receive all mails of the last 6 month once again :-( Can you check if the patch below is working with celleb device tree ? -- Subject: spu_manage: fix spu_unit_number for celleb device tree From: Christian Krafft <[EMAIL PROTECT

Re: [patch] nfs: fix locking in nfs/inode.c in nfs_free_open_context

2007-07-27 Thread Christian Krafft
Hi Trond, On Thu, 26 Jul 2007 20:00:47 +0200 Christian Krafft <[EMAIL PROTECTED]> wrote: > > Indeed, and it also compiles ;-) > I started a test run using this patch, we'll see in a few hours ... > Scripts were running over night, no hang occurred. Would be great to se

Re: [patch] nfs: fix locking in nfs/inode.c in nfs_free_open_context

2007-07-26 Thread Christian Krafft
eed, and it also compiles ;-) I started a test run using this patch, we'll see in a few hours ... -- Mit freundlichen Gruessen, kind regards, Christian Krafft IBM Systems & Technology Group, Linux Kernel Development IT Specialist Vorsitzender des Aufsichtsrats: Martin Jetter Gescha

Re: [patch] nfs: fix locking in nfs/inode.c in nfs_free_open_context

2007-07-26 Thread Christian Krafft
On Thu, 26 Jul 2007 13:23:37 +0200 Arnd Bergmann <[EMAIL PROTECTED]> wrote: > On Wednesday 25 July 2007, Trond Myklebust wrote: > > > > On Wed, 2007-07-25 at 17:08 +0200, Christian Krafft wrote: > > > > > Obviously the locking code in nfs_free_open_context i

[patch] nfs: fix locking in nfs/inode.c in nfs_free_open_context

2007-07-25 Thread Christian Krafft
From: Christian Krafft <[EMAIL PROTECTED]> While running some tests on a server using NFS root I found some locking problems. The scripts I am using can be found under at http://localhorst.gotdns.org/parabelboi/nfs/ Please note, I am using rpm to generate read load. I found no better

Re: [Cbe-oss-dev] [RFC, PATCH 4/4] Add support to OProfile for profiling Cell BE SPUs -- update

2007-01-30 Thread Christian Krafft
ent to the code that will summarize the above > paragraph. > [snip] > > ___ > cbe-oss-dev mailing list > [EMAIL PROTECTED] > https://ozlabs.org/mailman/listinfo/cbe-oss-dev -- Mit freundlichen GrĂ¼ssen, kind regards, Christian Krafft