Re: HPMC bus timeout on C3600

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> On Fri, Jan 02, 2009 at 04:14:12PM -0500, John David Anglin wrote:
> > > On Fri, Jan 02, 2009 at 09:46:44PM +0100, Guy Martin wrote:
> > > > OS HPMC handler length needs to be in bytes, not in words.
> > > > Signed-off-by: Guy Martin <gmsoft@xxxxxxxxxxxx>
> > > > 
> > > > -	length = os_hpmc_end - os_hpmc;
> > > > +	length = (os_hpmc_end - os_hpmc) * sizeof(u32);
> > > >  	ivap[7] = length;
> > > 
> > > Ick. I wonder if I screwed that up when I fixed the function descriptor
> > > breakage...
> > 
> > The fix doesn't seem right.  Probably, os_hpmc and os_hpmc_end are
> > pointing to function descriptors.
> > 
> 
> I think we've been over this before ;-)

Looking at traps.o for a 64-bit build, I see the references are:

0000000000000048 R_PARISC_DLTIND21L  os_hpmc_end
0000000000000050 R_PARISC_DLTIND14R  os_hpmc_end
0000000000000058 R_PARISC_DLTIND21L  os_hpmc
000000000000005c R_PARISC_DLTIND14R  os_hpmc

Wonder what the DLT is pointing to.

Dave
-- 
J. David Anglin                                  dave.anglin@xxxxxxxxxxxxxx
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)
--
To unsubscribe from this list: send the line "unsubscribe linux-parisc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux SoC]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux