Skip to content

Conversation

@tomi-font
Copy link
Collaborator

Rewrite the history, starting from a clean upstream state, to add commit tags as per the new guidelines.
Also, replace the readme to point to those new guidelines.

@valeriosetti
Copy link
Collaborator

valeriosetti commented Oct 29, 2025

This commit doesn't have a tag.

Only one question otherwise it looks fine: since this is not a version bumping I assume the rule fromtree/fromlist should be first of the list doesn't apply here, right?

Another curiosity: in modules/tee/tf-m/tf-m-tests/tests_psa_arch/fetch_repo/ I see 10 patch files, but only 9 are applied here and 0010-Add-multiple-expected-return-statuses-in-case-of-inv.patch doesn't appear in the list. Is this intentional?

@tomi-font
Copy link
Collaborator Author

This commit doesn't have a tag.

Oh, how did I mess this up, the tag went into the first line of the commit message.

Only one question otherwise it looks fine: since this is not a version bumping I assume the rule fromtree/fromlist should be first of the list doesn't apply here, right?

Oh right, actually yes I'd say it does, any history rewrite is good to reorder the commits.

Another curiosity: in modules/tee/tf-m/tf-m-tests/tests_psa_arch/fetch_repo/ I see 10 patch files, but only 9 are applied here and 0010-Add-multiple-expected-return-statuses-in-case-of-inv.patch doesn't appear in the list. Is this intentional?

Hmm no, I'll add this missing patch. Also I just realized that for some time TF-M has had two patches named 0005 and this was fixed very recently: TrustedFirmware-M/tf-m-tests@117e2cd#diff-8902de013ecae9b38f4a3556ca616668e675e6ea8b92e85886eedd72bcd53ed3

@tomi-font tomi-font force-pushed the rewrite_history_add_patch_guidelines branch from 469dcbf to d3f0498 Compare October 30, 2025 07:59
@tomi-font
Copy link
Collaborator Author

Comments addressed.

@tomi-font tomi-font force-pushed the rewrite_history_add_patch_guidelines branch from d3f0498 to 3f99e9a Compare November 5, 2025 09:16
@tomi-font tomi-font changed the base branch from zephyr_psa-arch-tests-v1.6 to zephyr_psa-arch-tests_v1.6 November 5, 2025 09:28
keith-packard and others added 13 commits November 14, 2025 11:28
…registers

This ensures that GCC 14.3 performs the register accesses in the
specified manner instead of reordering or combining them using
strd/ldrd instructions.

Signed-off-by: Keith Packard <[email protected]>
(cherry picked from commit f0d43a6)
HMAC_DRBG random generator is slower than CTR_DRBG, and this
will influence the time spending for test 16 RSA 2048. Placing
test 16 at the beginning will be faster and mitigate this issue.

Signed-off-by: Summer Qin <[email protected]>

Patch from tf-m-tests, applied using:
git am ../tf-m-tests/tests_psa_arch/fetch_repo/\
0001-Place-crypto-test-16-at-the-beginning-of-the-test.patch

Signed-off-by: Tomi Fontanilles <[email protected]>
Test 16 uses macro PSA_EXPORT_KEY_PAIR_MAX_SIZE which is
related with PSA_WANT_KEY_TYPE_xxx_KEY_PAIR_BASIC defines
in mbedtls 3.5. PSA_WANT_KEY_TYPE_xxx_KEY_PAIR_BASIC are
defined in psa crypto config.

Signed-off-by: Summer Qin <[email protected]>

Patch from tf-m-tests, applied using:
git am ../tf-m-tests/tests_psa_arch/fetch_repo/\
0002-Crypto-Add-psa-crypto-config-link-for-crypto-tests.patch

Signed-off-by: Tomi Fontanilles <[email protected]>
Signed-off-by: Kevin Peng <[email protected]>

Patch from tf-m-tests, applied using:
git am ../tf-m-tests/tests_psa_arch/fetch_repo/\
0003-Build-Add-manifest-tool-dependencies.patch

Signed-off-by: Tomi Fontanilles <[email protected]>
Signed-off-by: Gergely Korcsák <[email protected]>

Patch from tf-m-tests, applied using:
git am ../tf-m-tests/tests_psa_arch/fetch_repo/\
0004-Add-msp4-target-config-for-Corstone-315-and-320.patch

Signed-off-by: Tomi Fontanilles <[email protected]>
Change-Id: I50777e655dfecdac7e4cacecbff8459efa4d7a77
Signed-off-by: Gabor Abonyi <[email protected]>

Patch from tf-m-tests, applied using:
git am ../tf-m-tests/tests_psa_arch/fetch_repo/\
0005-Add-rp2350-platform.patch

Signed-off-by: Tomi Fontanilles <[email protected]>
With the existance of Corstone 300, 310, 315 and 320 the cs3x0 does not
apply correctly. Corstone 315 and 320 uses different UART driver
location. To do not create 4 different platforms, we regrouped them by
FPGA names. Corstone 300 and 310 as mps3 and Corstone 315 and 320 as
mps4.

Signed-off-by: Gergely Korcsák <[email protected]>

Patch from tf-m-tests, applied using:
git am ../tf-m-tests/tests_psa_arch/fetch_repo/\
0006-Rename-cs3x0-to-mps3.patch

Signed-off-by: Tomi Fontanilles <[email protected]>
Armclang 6.21 reports missing-field-initializers warning for missing
designated initializers. This will be fixed in armclang 6.22.
Currently, use designated initializers as workaround.

Signed-off-by: Summer Qin <[email protected]>

Patch from tf-m-tests, applied using:
git am ../tf-m-tests/tests_psa_arch/fetch_repo/\
0007-Attest-Use-designated-initializers.patch

Signed-off-by: Tomi Fontanilles <[email protected]>
Signed-off-by: Waleed Elmelegy <[email protected]>

Patch from tf-m-tests, applied using:
git am ../tf-m-tests/tests_psa_arch/fetch_repo/\
0008-Fix-buffer-overflow-in-test_c061-63.c.patch

Signed-off-by: Tomi Fontanilles <[email protected]>
Signed-off-by: Stephan Koch <[email protected]>

Patch from tf-m-tests, applied using:
git am ../tf-m-tests/tests_psa_arch/fetch_repo/\
0009-Use-rsa_128_key_data-which-has-expected-format.patch

Signed-off-by: Tomi Fontanilles <[email protected]>
Signed-off-by: Waleed Elmelegy <[email protected]>

Patch from tf-m-tests, applied using:
git am ../tf-m-tests/tests_psa_arch/fetch_repo/\
0010-Update-Musca-S1-B1-platform-configuration.patch

Signed-off-by: Tomi Fontanilles <[email protected]>
…lgorithm

Signed-off-by: Waleed Elmelegy <[email protected]>

Patch from tf-m-tests, applied using:
git am ../tf-m-tests/tests_psa_arch/fetch_repo/\
0011-Add-multiple-expected-return-statuses-in-case-of-inv.patch

Signed-off-by: Tomi Fontanilles <[email protected]>
Point to our own guidelines.

Signed-off-by: Tomi Fontanilles <[email protected]>
@tomi-font tomi-font force-pushed the rewrite_history_add_patch_guidelines branch from 3f99e9a to 1b81a77 Compare November 14, 2025 09:28
@tomi-font
Copy link
Collaborator Author

@d3zd3z @ithinuel @Vge0rge @wearyzen please review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants