[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <45E8A873.30604@garzik.org>
Date: Fri, 02 Mar 2007 17:42:59 -0500
From: Jeff Garzik <jeff@...zik.org>
To: Alan <alan@...rguk.ukuu.org.uk>
CC: linux-ide@...r.kernel.org, linux-kernel@...r.kernel.org,
akpm@...l.org, torvalds@...l.org
Subject: Re: [PATCH] libata-core: Fix simplex handling
Alan wrote:
> The initial simplex handling code is fooled if you suspend and resume.
> This also causes problems with some single channel controllers which
> claim to be simplex.
>
> The fix is fairly simple, instead of keeping a flag to remember if we
> gave away the simplex channel we remember the actual owner. As the owner
> is always part of the host_set we don't even need a refcount.
>
> Knowing the owner also means we can reassign simplex DMA channels in
> future hotplug code etc if we need to
>
> Signed-off-by: Alan Cox <alan@...hat.com>
> (and a signed-off for the patch I sent before while I remember)
applied
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists