From: Grant Grundler Subject: Re: Yet another ccio fix idea? Date: Sun, 9 Mar 2008 11:46:12 -0600 Message-ID: <20080309174612.GA19976@colo.lackof.org> References: <47D3EC43.3070101@scarlet.be> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Grant Grundler , linux-parisc@vger.kernel.org, Kyle McMartin , Matthew Wilcox To: Joel Soete Return-path: In-Reply-To: <47D3EC43.3070101@scarlet.be> List-ID: List-Id: linux-parisc.vger.kernel.org On Sun, Mar 09, 2008 at 01:55:15PM +0000, Joel Soete wrote: > Hello Grant, > > Always tracking this ccio-dma bug, I figure out this stuff could be > helpfull: > --- a/drivers/parisc/ccio-dma.c 2008-03-09 12:55:00.000000000 +0000 > +++ b/drivers/parisc/ccio-dma.c 2008-03-09 12:55:21.000000000 +0000 > @@ -802,7 +802,7 @@ > * Hopefully someone figures out how to patch (NOP) the > * FDC/SYNC out at boot time. > */ > - asm volatile("fdc %%r0(%0)" : : "r" (pdir_ptr[7])); > + asm volatile("fdc %%r0(%0)" : : "r" (pdir_ptr)); > > What's your opinion? I think you are right. That's what sba_iommu.c is using on line 560. Have you tested this to see if it solves your problem? cheers, grant