lkml.org 
[lkml]   [2007]   [Mar]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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@redhat.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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-03-02 23:47    [W:0.090 / U:0.604 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site