From: Tony Lindgren <tony@atomide.com>
To: Koen Kooi <k.kooi@student.utwente.nl>
Cc: "Woodruff, Richard" <r-woodruff2@ti.com>, linux-omap@vger.kernel.org
Subject: Re: public git l2 cache off.
Date: Tue, 6 May 2008 14:25:41 -0700 [thread overview]
Message-ID: <20080506212541.GB18682@atomide.com> (raw)
In-Reply-To: <137745C3-BCAB-4A39-8023-F255463194BF@student.utwente.nl>
* Koen Kooi <k.kooi@student.utwente.nl> [080506 10:02]:
>
> Op 6 mei 2008, om 18:51 heeft Woodruff, Richard het volgende geschreven:
> >> Beagleboard (omap3530)
> >>
> >>> I'll try the latest from here on SDP with this and see if it works.
> >>> There is also a difference in CR handling. I had submitted long
> >>> back a fix to Russell but let it get by me as I didn't have the time
> >>> to fix per his comments. I think our version was more correct then
> >>> the one in place but was still lacking a bit.
> >>>
> >>> [*] It seems possible you could have an issue depending on what your
> >>> boot loader is or isn't doing for you.
> >>
> >> U-boot (both 1.1.4 and 1.3.2) calls l2disable() before booting linux,
> >> so linux needs to enable it. I vote for removing the l2disable() in
> >> u-
> >> boot, but I can see that people might be stuck with broken binary
> >> bootloaders...
> >
> > Yes, this 'might' help for some users if it works. Traditionally
> > things usually have had some complications here at multiple levels
> > in both hardware and software. And yes not everyone can upgrade a
> > boot loader. However, with expanding boot from MMC/SD support
> > things are getting safer.
> >
> > The bit I was more worried about was the boot loader may not be
> > invalidating secure L2 tags correctly. The method to do this
> > correctly is a little different between EMU/HS and GP devices. Also
> > these base methods changed some between ES1 and ES2 of the chip. I
> > hope no one is using an ES1 anymore but I'm sure code remnants exist.
> >
> > The working code variants did some work in u-boot and some in the
> > kernel to handle these conditions. The current balance today in
> > working variants today has u-boot doing more work. This probably
> > merges with fewer conflicts with the arm-kernel. Last I checked u-
> > boot on Beagle was a based on an older version of the code and
> > probably even a wider range of versions exist in the community. As
> > such it's a good bet some of this is at the root of the problems you
> > are seeing.
>
> I'm currently using the u-boot Jason built (1.3.2 + beagle patches)
> which disables l2 cache before boot and I switch between 2.6.22-wtbu
> (which enables L2) and git HEAD (which doesn't enable L2).
Sounds like the bootloader should configure L2 cache and just leave
the C bit off for kernel looking at the "Cortex-A8 L2 cache handling at
startup?" thread on linux-arm-kernel. I guess the L2 configuration
is implementation specific and cannot be read from the ARM registers.
Regards,
Tony
>
> regards,
>
> Koen
>
>
> >
> >
> > It is important to keep x-loader/u-boot/kernel somewhat in sync for
> > some of these kinds of issues until the development process has
> > settled down and code matured.
> >
> > L2 cache is a huge performance boost on an OMAP3 so it's good to get
> > it. Also you really haven't validated your software if you're
> > running with it off.
> >
> > Regards,
> > Richard W.
> >
> > --
> > To unsubscribe from this list: send the line "unsubscribe linux-
> > omap" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at http://vger.kernel.org/majordomo-info.html
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2008-05-06 21:25 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-30 17:13 [PATCH 0/3] DMA clean-up for multi-boot Tony Lindgren
2008-04-30 17:13 ` [PATCH 1/3] ARM: OMAP: Make DMA channels dynamic " Tony Lindgren
2008-04-30 17:14 ` [PATCH 2/3] ARM: OMAP: Remove __REG access in DMA code Tony Lindgren
2008-04-30 17:14 ` [PATCH 3/3] ARM: OMAP: DMA clean-up Tony Lindgren
2008-04-30 18:00 ` [PATCH 0/3] DMA clean-up for multi-boot Gadiyar, Anand
2008-05-02 15:15 ` Gadiyar, Anand
2008-05-02 18:11 ` Tony Lindgren
2008-05-16 17:34 ` Tony Lindgren
2008-05-05 10:14 ` Jarkko Nikula
2008-05-05 23:27 ` public git l2 cache off Woodruff, Richard
2008-05-06 5:38 ` Koen Kooi
2008-05-06 6:58 ` Koen Kooi
2008-05-06 15:06 ` Woodruff, Richard
2008-05-06 16:20 ` Koen Kooi
2008-05-06 16:51 ` Woodruff, Richard
2008-05-06 17:01 ` Koen Kooi
2008-05-06 21:25 ` Tony Lindgren [this message]
2008-05-07 7:42 ` Syed Mohammed, Khasim
2008-05-07 10:51 ` Koen Kooi
2008-05-10 8:14 ` Dirk Behme
2008-05-06 18:13 ` Dirk Behme
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080506212541.GB18682@atomide.com \
--to=tony@atomide.com \
--cc=k.kooi@student.utwente.nl \
--cc=linux-omap@vger.kernel.org \
--cc=r-woodruff2@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.