Re: [PATCH 4/7] hvc_console: Fix race between hvc_close and hvc_remove

2010-03-20 Thread Amit Shah
On (Sun) Mar 21 2010 [08:04:39], Benjamin Herrenschmidt wrote: > On Fri, 2010-03-19 at 08:18 -0700, Greg Kroah-Hartman wrote: > > From: Amit Shah > > > > Alan pointed out a race in the code where hvc_remove is invoked. The > > recent virtio_console work is the first user of hvc_remove(). > > Thi

[PATCH 2/4] panic: Allow taint flag for warnings to be changed from TAINT_WARN

2010-03-20 Thread Ben Hutchings
WARN() is used in some places to report firmware or hardware bugs that are then worked-around. These bugs do not affect the stability of the kernel and should not set the usual TAINT_WARN flag. To allow for this, add WARN_TAINT() and WARN_TAINT_ONCE() macros that take a taint flag as argument. A

Re: [PATCH] Macintosh: fix brace and trailing statement coding style issues in adb-iop.c This is a patch to the adb-iop.c file that cleans up brace and trailing statement warnings found by the checkpa

2010-03-20 Thread Brad Boyer
This driver is for m68k based Macintosh systems, not PowerPC based ones. I'm copying the linux-m68k list on this reply so it is seen there as well. Brad Boyer f...@allandria.com On Tue, Mar 09, 2010 at 01:46:20PM -0800, Michael Beardsworth wrote: > From: Michael Beardsworth > >

Re: 2.6.34-rc2 fails to boot on powerpc

2010-03-20 Thread Benjamin Herrenschmidt
On Sat, 2010-03-20 at 22:05 +0530, Sachin Sant wrote: > 2.6.34-rc2 fails to boot on number of PowerPC boxes. The boot > hangs with the following messages : Appears to be a regression in hvc_console caused by e74d098c66543d0731de62eb747ccd5b636a6f4c. I'm working on it. Cheers, Ben. > /sbin/fsck.e

Re: [PATCH 4/7] hvc_console: Fix race between hvc_close and hvc_remove

2010-03-20 Thread Benjamin Herrenschmidt
On Fri, 2010-03-19 at 08:18 -0700, Greg Kroah-Hartman wrote: > From: Amit Shah > > Alan pointed out a race in the code where hvc_remove is invoked. The > recent virtio_console work is the first user of hvc_remove(). This causes hangs during boot on pseries machines. Haven't had a chance to track

2.6.34-rc2 fails to boot on powerpc

2010-03-20 Thread Sachin Sant
2.6.34-rc2 fails to boot on number of PowerPC boxes. The boot hangs with the following messages : /sbin/fsck.ext3 (1) -- /] fsck.ext3 -a /dev/sda5 /dev/sda5: clean, 726435/3948544 files, 9655477/15773808 blocks fsck succeeded. Mounting root device read-write. Mounting root /dev/sda5 mount -o rw

[PATCH 09/24] macintosh: fix dangling pointers

2010-03-20 Thread Wolfram Sang
Fix I2C-drivers which missed setting clientdata to NULL before freeing the structure it points to. Also fix drivers which do this _after_ the structure was freed already. Signed-off-by: Wolfram Sang Cc: Colin Leroy Cc: Benjamin Herrenschmidt --- Found using coccinelle, then reviewed. Full patc

hvc_console breakage

2010-03-20 Thread Anton Blanchard
Hi, I haven't tracked down why, but e74d098c66543d0731de62eb747ccd5b636a6f4c (hvc_console: Fix race between hvc_close and hvc_remove) is causing my PowerPC box to hang during boot, right when init starts. Anton ___ Linuxppc-dev mailing list Linuxppc-de