From: Konrad Dybcio <konrad.dybcio@linaro.org>
To: lkml <linux-kernel@vger.kernel.org>,
dt <devicetree@vger.kernel.org>, Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>
Subject: Qualcomm Kryo core compatibles
Date: Wed, 8 Mar 2023 11:44:38 +0100 [thread overview]
Message-ID: <197ea188-c59d-6c53-77fd-3a0551ef8e70@linaro.org> (raw)
Hi!
I was recently debating what to do about Qualcomm Kryo compatibles.
There are basically 3 cases:
1. Falkor/"real Kryo" - the (never shipped?) server platform & MSM8996
This one's easy, it's actually Kryo so it should stay Kryo.
2. Fake Kryo ("customized" Arm Cortex cores) (MSM8998-SM8x50)
This one's tough.. Qualcomm marketing material seems to sometimes say
Cortex, sometimes Kryo, sometimes "customized Cortex".. They do use
their own arm IMPLEMENTER_ID in the MIDR_EL1 register and their
PART_NUM values are not Arm-stock, but these cores don't seem to be
any special.. Maybe some irq lines are routed differently? Not sure.
My proposition here is to do:
"qcom,kryoXXX", "arm,cortex-ABC"
or
"qcom,kryoXXX-PQR", "arm,cortex-ABC"
where PQR is one of:
- silver (LITTLE cores)
- gold (big cores)
- gold_plus (prime core(s))
3. Arm cores modified within Arm implementation-defined allowance (SC8280XP+)
These cores report Arm IMPLEMENTER_IDs and actual Arm PART_NUMs, which would
suggest they're bone stock Arm Cortex cores, with some Qualcomm-iness coming
as part of implementation details which are.. expected since Cortex allows for
some IMPLEMENTATION DEFINED things. The only non-obvious part here is that
the REVISION field they report does not always seem covered by the Arm TRMs.
In this case I think going with
"arm,cortex-ABC"
is fine.. I already did this for 8550 and 8280xp and Rob seems to have liked it.
So, I suppose the real question is what to do about 2., should they stay as
they are, or maybe my proposition seems attractive?
Konrad
next reply other threads:[~2023-03-08 10:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-08 10:44 Konrad Dybcio [this message]
2023-03-10 22:39 ` Rob Herring
2023-03-11 0:03 ` Konrad Dybcio
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=197ea188-c59d-6c53-77fd-3a0551ef8e70@linaro.org \
--to=konrad.dybcio@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh+dt@kernel.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
all inboxes | Powered by JetHome®