public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Rebecca Cran" <rebecca@bsdio.com>
To: devel@edk2.groups.io, ardb@kernel.org,
	Rebecca Cran <rebecca@quicinc.com>
Cc: Nhi Pham <nhi@amperemail.onmicrosoft.com>,
	nhi@os.amperecomputing.com, patches@amperecomputing.com,
	quic_llindhol@quicinc.com, ardb+tianocore@kernel.org,
	Tinh Nguyen <tinhnguyen@os.amperecomputing.com>
Subject: Re: [edk2-devel] [edk2-platforms][PATCH 1/1] AmpereAltraPkg: Update ArmPlatformLib to work with changed ARM_CORE_INFO
Date: Tue, 17 Jan 2023 11:21:52 -0700	[thread overview]
Message-ID: <923d3222-775c-f0e8-b4c1-4c10f122ad0a@bsdio.com> (raw)
In-Reply-To: <CAMj1kXEoVXgJD8g4rh0G+0gC0b68rV4iHxjs8Ah9xcBmjkspDQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1421 bytes --]

On 1/17/23 09:40, Ard Biesheuvel wrote:

> On Tue, 17 Jan 2023 at 13:55, Rebecca Cran<rebecca@quicinc.com>  wrote:
>> I was under the impression that this is becoming a more standard format?
>>
> If this is not defined in an ARM spec somewhere, we shouldn't add it
> to ArmPkg at this point.

 From what I've found, the ARM specs such as the Arm Architecture 
Reference Manual for A-profile architecture don't define the meaning of 
the affinity fields? That appears to be left up to the individual Arm 
core TRMs.

For example, the Cortex-X2 TRM says:

Affinity level 0. This is the affinity level that is most significant 
for determining PE behavior. Higher affinity
levels are increasingly less significant in determining PE behavior. The 
assigned value of the MPIDR.{Aff2,
Aff1, Aff0} or AArch64-MPIDR_EL1.{Aff3, Aff2, Aff1, Aff0} set of fields 
of each PE must be unique within the
system as a whole.
0b00000000
Only one thread.


Affinity level 1. See the description of Aff0 for more information.
Value read from the CPUID configuration pins. Identification number for 
each CPU in an cluster counting from
zero.


Affinity level 2. See the description of Aff0 for more information.
The value will be determined by the CLUSTERIDAFF2 configuration pins.


Affinity level 3. See the description of Aff0 for more information.
The value will be determined by the CLUSTERIDAFF3 configuration pins.


-- 
Rebecca Cran

[-- Attachment #2: Type: text/html, Size: 6506 bytes --]

  reply	other threads:[~2023-01-17 18:21 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-13  4:21 [edk2-platforms][PATCH 1/1] AmpereAltraPkg: Update ArmPlatformLib to work with changed ARM_CORE_INFO Nhi Pham
2023-01-13 14:40 ` [edk2-devel] " Rebecca Cran
2023-01-17  9:53   ` Nhi Pham
2023-01-17 12:55     ` Rebecca Cran
2023-01-17 16:40       ` Ard Biesheuvel
2023-01-17 18:21         ` Rebecca Cran [this message]
2023-01-31  6:35           ` Nhi Pham
2023-02-15 11:28             ` Leif Lindholm

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-list 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=923d3222-775c-f0e8-b4c1-4c10f122ad0a@bsdio.com \
    --to=devel@edk2.groups.io \
    /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