Hi,
I'm looking for good examples for manifests, both for S-EL1 SPs and for Hafnium itself. I've seen a few examples, but I'd like to make sure I'm doing the right thing. What hardware can be described? How is memory, secure and non-secure, described? Is HW_CONFIG used by Hafnium? If so, when and what is the format?
Thanks, Jens
Hi Jens,
Here are some examples, particularly for FVP platform:
1. S-EL1 partition: https://git.trustedfirmware.org/plugins/gitiles/TF-A/tf-a-tests/+/refs/heads... 2. SPMC manifest as consumed by SPMD: https://git.trustedfirmware.org/plugins/gitiles/TF-A/trusted-firmware-a/+/re... 3. Manifest binding document: https://trustedfirmware-a.readthedocs.io/en/latest/components/ffa-manifest-b...
Please note HW_CONFIG device tree is not consumed by SPM. However, certain fields in SPM manifest describe the CPU topology necessary to boot SPMC on secondary cores.
Thanks, Madhukar ________________________________ From: Jens Wiklander via Hafnium hafnium@lists.trustedfirmware.org Sent: Thursday, July 10, 2025 1:06 PM To: hafnium@lists.trustedfirmware.org hafnium@lists.trustedfirmware.org Subject: [Hafnium] Hafnium and S-EL1 manifests
Hi,
I'm looking for good examples for manifests, both for S-EL1 SPs and for Hafnium itself. I've seen a few examples, but I'd like to make sure I'm doing the right thing. What hardware can be described? How is memory, secure and non-secure, described? Is HW_CONFIG used by Hafnium? If so, when and what is the format?
Thanks, Jens -- Hafnium mailing list -- hafnium@lists.trustedfirmware.org To unsubscribe send an email to hafnium-leave@lists.trustedfirmware.org
Hi Madhukar,
On Mon, Jul 14, 2025 at 6:16 PM Madhukar Pappireddy Madhukar.Pappireddy@arm.com wrote:
Hi Jens,
Here are some examples, particularly for FVP platform:
S-EL1 partition: https://git.trustedfirmware.org/plugins/gitiles/TF-A/tf-a-tests/+/refs/heads... SPMC manifest as consumed by SPMD: https://git.trustedfirmware.org/plugins/gitiles/TF-A/trusted-firmware-a/+/re...
Great, just what I was looking for.
Manifest binding document: https://trustedfirmware-a.readthedocs.io/en/latest/components/ffa-manifest-b...
Please note HW_CONFIG device tree is not consumed by SPM. However, certain fields in SPM manifest describe the CPU topology necessary to boot SPMC on secondary cores.
https://trustedfirmware-a.readthedocs.io/en/latest/components/secure-partiti... Says: "X1 holds the HW_CONFIG physical address"
Cheers, Jens
Thanks, Madhukar ________________________________ From: Jens Wiklander via Hafnium hafnium@lists.trustedfirmware.org Sent: Thursday, July 10, 2025 1:06 PM To: hafnium@lists.trustedfirmware.org hafnium@lists.trustedfirmware.org Subject: [Hafnium] Hafnium and S-EL1 manifests
Hi,
I'm looking for good examples for manifests, both for S-EL1 SPs and for Hafnium itself. I've seen a few examples, but I'd like to make sure I'm doing the right thing. What hardware can be described? How is memory, secure and non-secure, described? Is HW_CONFIG used by Hafnium? If so, when and what is the format?
Thanks, Jens -- Hafnium mailing list -- hafnium@lists.trustedfirmware.org To unsubscribe send an email to hafnium-leave@lists.trustedfirmware.org
Hi Jens,
If I am not mistaken, the documentation is out of date. Hafnium (i.e., the consumer) only expects the SPMC manifest base address in X0 register. https://git.trustedfirmware.org/plugins/gitiles/hafnium/hafnium/+/refs/tags/...
Thanks, Madhukar ________________________________ From: Jens Wiklander jens.wiklander@linaro.org Sent: Tuesday, July 15, 2025 1:20 PM To: Madhukar Pappireddy Madhukar.Pappireddy@arm.com Cc: hafnium@lists.trustedfirmware.org hafnium@lists.trustedfirmware.org Subject: Re: [Hafnium] Hafnium and S-EL1 manifests
Hi Madhukar,
On Mon, Jul 14, 2025 at 6:16 PM Madhukar Pappireddy Madhukar.Pappireddy@arm.com wrote:
Hi Jens,
Here are some examples, particularly for FVP platform:
S-EL1 partition: https://git.trustedfirmware.org/plugins/gitiles/TF-A/tf-a-tests/+/refs/heads... SPMC manifest as consumed by SPMD: https://git.trustedfirmware.org/plugins/gitiles/TF-A/trusted-firmware-a/+/re...
Great, just what I was looking for.
Manifest binding document: https://trustedfirmware-a.readthedocs.io/en/latest/components/ffa-manifest-b...
Please note HW_CONFIG device tree is not consumed by SPM. However, certain fields in SPM manifest describe the CPU topology necessary to boot SPMC on secondary cores.
https://trustedfirmware-a.readthedocs.io/en/latest/components/secure-partiti... Says: "X1 holds the HW_CONFIG physical address"
Cheers, Jens
Thanks, Madhukar ________________________________ From: Jens Wiklander via Hafnium hafnium@lists.trustedfirmware.org Sent: Thursday, July 10, 2025 1:06 PM To: hafnium@lists.trustedfirmware.org hafnium@lists.trustedfirmware.org Subject: [Hafnium] Hafnium and S-EL1 manifests
Hi,
I'm looking for good examples for manifests, both for S-EL1 SPs and for Hafnium itself. I've seen a few examples, but I'd like to make sure I'm doing the right thing. What hardware can be described? How is memory, secure and non-secure, described? Is HW_CONFIG used by Hafnium? If so, when and what is the format?
Thanks, Jens -- Hafnium mailing list -- hafnium@lists.trustedfirmware.org To unsubscribe send an email to hafnium-leave@lists.trustedfirmware.org
Hi Madhukar,
On Tue, Jul 15, 2025 at 11:54 PM Madhukar Pappireddy Madhukar.Pappireddy@arm.com wrote:
Hi Jens,
If I am not mistaken, the documentation is out of date. Hafnium (i.e., the consumer) only expects the SPMC manifest base address in X0 register. https://git.trustedfirmware.org/plugins/gitiles/hafnium/hafnium/+/refs/tags/...
Yes, you're right.
Thanks, Jens
Thanks, Madhukar ________________________________ From: Jens Wiklander jens.wiklander@linaro.org Sent: Tuesday, July 15, 2025 1:20 PM To: Madhukar Pappireddy Madhukar.Pappireddy@arm.com Cc: hafnium@lists.trustedfirmware.org hafnium@lists.trustedfirmware.org Subject: Re: [Hafnium] Hafnium and S-EL1 manifests
Hi Madhukar,
On Mon, Jul 14, 2025 at 6:16 PM Madhukar Pappireddy Madhukar.Pappireddy@arm.com wrote:
Hi Jens,
Here are some examples, particularly for FVP platform:
S-EL1 partition: https://git.trustedfirmware.org/plugins/gitiles/TF-A/tf-a-tests/+/refs/heads... SPMC manifest as consumed by SPMD: https://git.trustedfirmware.org/plugins/gitiles/TF-A/trusted-firmware-a/+/re...
Great, just what I was looking for.
Manifest binding document: https://trustedfirmware-a.readthedocs.io/en/latest/components/ffa-manifest-b...
Please note HW_CONFIG device tree is not consumed by SPM. However, certain fields in SPM manifest describe the CPU topology necessary to boot SPMC on secondary cores.
https://trustedfirmware-a.readthedocs.io/en/latest/components/secure-partiti... Says: "X1 holds the HW_CONFIG physical address"
Cheers, Jens
Thanks, Madhukar ________________________________ From: Jens Wiklander via Hafnium hafnium@lists.trustedfirmware.org Sent: Thursday, July 10, 2025 1:06 PM To: hafnium@lists.trustedfirmware.org hafnium@lists.trustedfirmware.org Subject: [Hafnium] Hafnium and S-EL1 manifests
Hi,
I'm looking for good examples for manifests, both for S-EL1 SPs and for Hafnium itself. I've seen a few examples, but I'd like to make sure I'm doing the right thing. What hardware can be described? How is memory, secure and non-secure, described? Is HW_CONFIG used by Hafnium? If so, when and what is the format?
Thanks, Jens -- Hafnium mailing list -- hafnium@lists.trustedfirmware.org To unsubscribe send an email to hafnium-leave@lists.trustedfirmware.org
hafnium@lists.trustedfirmware.org