hvc console sleep under spinlock

Nathan Lynch nathanl at austin.ibm.com
Wed Oct 29 10:26:46 EST 2003


Anton Blanchard wrote:
> HVC console is calling copy_from_user inside a spinlock. Anyone want to
> have a stab at fixing it?

Would something like this suffice?  I haven't tested it with the
spinlock debug patch, but I have booted and run it with no apparent
problems.

Patch is against 2.5 ameslab bk.

Nathan
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: hvc_write.patch
Url: http://ozlabs.org/pipermail/linuxppc64-dev/attachments/20031028/3b3c821e/attachment.txt 


More information about the Linuxppc64-dev mailing list