RE: [PATCH] MIPS: Allocate exception vector on 64 KiB boundary

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

 



> From: Maxime Bizon [mailto:mbizon@xxxxxxxxxx] 
> Sent: Friday, February 13, 2009 5:44 AM
> To: David VomLehn (dvomlehn)
> Cc: linux-mips@xxxxxxxxxxxxxx; ralf@xxxxxxxxxxxxxx; David Daney
> Subject: Re: [PATCH] MIPS: Allocate exception vector on 64 
> KiB boundary
> 
> 
> On Fri, 2009-01-30 at 13:43 -0500, David VomLehn (dvomlehn) wrote:
> 
> > Fix problem with code that incorrectly modifies ebase.
> > 
> > Commit 566f74f6b2f8b85d5b8d6caaf97e5672cecd3e3e had a change that
> > incorrectly
> > modified ebase. This backs out the lines that modified 
> ebase and then
> > modified
> 
> I confirm this commit prevents my 4kec board from booting.
> 
> My c0_ebase is set to 0x90000000.
> 
> In trap_init() ebase is first set to CAC_BASE => 0x80000000, then
> 0x90000000 after adding c0_ebase offset.
> 
> set_uncached_handler() starts with uncached_ebase sets to
> KSEG1ADDR(ebase) => 0xb0000000, which is already the correct 
> value, but
> it then add the c0_ebase offset again => 0xc0000000 => boom.

Can you confirm that the patch fixes your problem?


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux