lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070726130635.GA28375@linux-sh.org>
Date:	Thu, 26 Jul 2007 22:06:35 +0900
From:	Paul Mundt <lethal@...ux-sh.org>
To:	Peter Bortas <bortas@...il.com>
Cc:	Marcus Comstedt <marcus@...pp.se>,
	Adrian McMenamin <adrianmcmenamin@...il.com>,
	Andrew Morton <akpm@...ux-foundation.org>,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Fix DMA on Dreamcast

On Thu, Jul 26, 2007 at 02:59:51PM +0200, Peter Bortas wrote:
> On 7/26/07, Marcus Comstedt <marcus@...pp.se> wrote:
> > "Peter Bortas" <bortas@...il.com> writes:
> > > On 7/21/07, Adrian McMenamin <adrianmcmenamin@...il.com> wrote:
> > >> On 21/07/07, Peter Bortas <bortas@...il.com> wrote:
> > >> > Sidenote: Does Linux handle the Dreamcast DMA errata?
> > >>
> > >> You need to explain what you mean (at least to me!).
> > >>
> > >> If you mean will it degrade gracefully - not without this patch if set
> > >> to the (correct) defconfig. With iffy settings it will.
> > >
> > > If I remember correctly (and that's a big if since I last looked at it
> > > in 2001) some revisions of the Dreamcast hardware would sporadically
> > > lock up if you scheduled a new DMA request to quickly after a previous
> > > one, even if you checked the ready bit. It's worked around by a delay
> > > of X microseconds as recommended by Sega engineers. I don't remember
> > > the value of X, nor where exactly in the flow this workaround should
> > > be applied.
> > >
> > > Adding Marcus in case he has a better memory than me.
> >
> > I don't remeber any such delay.  Are you sure you're not thinking
> > about the G2 bus problem (where accesses need to be programatically
> > serialized, whether they are PIO or DMA)?
> 
> In that case my memory is worse than I thought. I'll see if I can dig
> up my old notes.
> 
We've never hit any problems with the SH DMAC, so it would be interesting
if you had some more information on this. The G2 problems are well known
and documented, and the driver takes care of those issues already.

Is this problem specifically an SH7091 errata, or have you heard of it
happening on normal SH7750 parts also? SH7091 is unfortunately not very
well documented ;-)
-
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ