Hi Ralf,
I am sorry if it is not clear from my last mail.
What I want to convey is,
"See MIPS Run" explains "window on physical memory (cached)" will start
@ 0x9000_0000_0000_0000.
You can see "See MIPS Run" page under suspect from this link
http://books.google.co.in/books?id=kk8G2gK4Tw8C&lpg=PP1&dq=see%20mips%20
run&pg=PA51#v=onepage&q=&f=false
How ever as you mentioned Linux source defines CAC_BASE
0x98000000_00000000
Thanks
Anoop
> -----Original Message-----
> From: Ralf Baechle [mailto:ralf@linux-mips.org]
> Sent: Wednesday, February 03, 2010 6:04 PM
> To: Anoop P.A.
> Cc: linux-mips@linux-mips.org
> Subject: Re: Cached Base address difference.
>
> On Wed, Feb 03, 2010 at 03:34:25AM -0800, Anoop P.A. wrote:
>
> > I am seeing a address conflict in asm-generic/spaces.h . in
spaces.h (
> > 64 bit)CAC_BASE has been defined as 0x9800000000000000 however see
mips
> > run says it is 0x9000000000000000
> >
http://books.google.co.in/books?id=kk8G2gK4Tw8C&lpg=PP1&dq=see%20mips%20
> > run&pg=PA51#v=onepage&q=&f=false
> >
> > Is this intentional?
>
> <asm/mach-generic/spaces.h> defines:
>
> #ifndef CAC_BASE
> #ifdef CONFIG_DMA_NONCOHERENT
> #define CAC_BASE _AC(0x9800000000000000, UL)
> #else
> #define CAC_BASE _AC(0xa800000000000000, UL)
> #endif
> #endif
>
> No 0x9000000000000000 anywhere - and it would be wrong because it
stands
> for uncached.
>
> Ralf
|