Cache Enabling

bhupinder sahran bhup_sah at yahoo.com
Tue Nov 12 15:40:53 EST 2002


hi
U will have to play with ur bat registers.
U can map ur devices non cachable through bat
registers.

u will be having a function in arch/ppc/kernel/(ur
arch)setup.c  .

see there & use the bats
if still have problem send me ur setup file

thanx
Bhupi
Linux+Hypertransport --->Silicon
www.gdatech.com




--- deepesh at india.tejasnetworks.com wrote:
>
> I had enabled the Data Cache. I forgot to mention
> that.
>
> Deepesh
>
>
>
>
> On Mon, 11 Nov 2002 deepesh at india.tejasnetworks.com
> wrote:
>
> >
> >
> > Dear All,
> >
> >
> > I am using Power PC. The system which I am using
> takes 2 minutes more than
> > usual for the software in the system to come up
> without cache
> > enabling. These 2 minutes are really crucial.
> > But there are problems when I enabled cache. The
> devices which I am using
> > are mmapped. I do not want cache to be enabled for
> the memory mapped
> > devices. When cache is enabled, none of the
> mmapped devices work in the
> > usual way. How do I selectively disable the cache
> for the mmapped devices?
> >
> >
> > Thank you,
> > Deepesh
> >
> >
>
> --
>
> D.Deepesh
> R&D Engineer,
> Tejas Networks
>
>
>


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list