From: armando.visconti@st.com (Armando VISCONTI)
To: linux-arm-kernel@lists.infradead.org
Subject: PL310 and QoS logic
Date: Mon, 02 Aug 2010 16:44:44 +0200 [thread overview]
Message-ID: <4C56D9DC.9010008@st.com> (raw)
Catalin, All,
I work on the SPEAr1300 SoC, which is a device based on Cortex A9 MP
(r1p1) and
is using a PL310 L2 cache controller.
We are using the Linux version 2.6.35 and we have also ported some
patches coming
from you.
Even with this latest version of kernel we are not able to make the L2
cache working.
It looks like that we are having a problem particularly when using it in
combination
with MP.
Just to add a very important information, the situation looks to clearly
stabilize
when we set the bit9 of PL310 Auxiliary Control Register to '1'. THis
bit is reserved,
and ARM support told us to avoid setting it.
In fact, this bit when set seems to disable a QoS logic whose purpose
is to avoid issues
for which one core is not able to release a semaphore because the other
core is
continuously trying to take it. So, this QoS logic has been introduce
inside the
PL310 to set a kind of priority (a QoS).
Strangely enough this issue looks exactly what we are seeing.
It explains all of our observations.
So, it seems that for us writing this bit9 to '1' has the effect of
enabling (and not disabling) the QoS logic.
Have you ever heard an issue like that?
Thx,
Armando
next reply other threads:[~2010-08-02 14:44 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-02 14:44 Armando VISCONTI [this message]
2010-10-06 8:48 ` PL310 and QoS logic shiraz hashim
2010-10-27 13:09 ` shiraz hashim
2010-10-27 13:33 ` Catalin Marinas
2010-10-27 17:35 ` shiraz hashim
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=4C56D9DC.9010008@st.com \
--to=armando.visconti@st.com \
--cc=linux-arm-kernel@lists.infradead.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).