- Oct 16, 2019
-
-
Madhukar Pappireddy authored
Also updated the readme.rst file with changes in v2.2 release Signed-off-by:
Madhukar Pappireddy <madhukar.pappireddy@arm.com> Change-Id: I93e21473f4048867c29b6e0d9e854d07d3f71782
-
- Oct 15, 2019
-
-
Sandrine Bailleux authored
-
Sandrine Bailleux authored
-
- Oct 10, 2019
-
-
Petre-Ionut Tudor authored
This patch fixes a bug where integer underflow causes the tests to wrongly fail. Since event counts are register values, they are unsigned in TFTF. When the event count is less on the SMC being profiled than the baseline SMC event count, subtraction causes an underflow which goes beyond the allowed deviation and makes the test fail. Signed-off-by:
Petre-Ionut Tudor <petre-ionut.tudor@arm.com> Change-Id: I58bc18ca4afd28b6d1b1354a9af9f70d616d2c32
-
Madhukar Pappireddy authored
Signed-off-by:
Madhukar Pappireddy <madhukar.pappireddy@arm.com> Change-Id: I15f881d89bcb165ab41503fdcbcc1a1abcbb36c5
-
- Oct 08, 2019
-
-
Sandrine Bailleux authored
-
Alexei Fedorov authored
This patch provides the following feature and makes modification listed below: - ARMv8.3-PAuth tests now check for all keys being in use (e.g. APIAKey when the test suite is built with `ENABLE_PAUTH=1` option) and program new key values otherwise. Signed-off-by:
Alexei Fedorov <Alexei.Fedorov@arm.com> Change-Id: Ifa4a288274822029da585073563c68a1434f5de7
-
Sandrine Bailleux authored
-
Sandrine Bailleux authored
TF-A now has support for the new Memory Tagging Extension in ARMv8.5, see commit 91624b7fed52 ("Merge changes from topic "jc/mte_enable" into integration"). This patch creates and enables tests to ensure that the extension is being properly enabled and that no undesired leakages occur. Change-Id: I7708fb23a12e2f35a97533f296aaa53db776ddd2 Signed-off-by:
Justin Chadwell <justin.chadwell@arm.com> Signed-off-by:
Sandrine Bailleux <sandrine.bailleux@arm.com>
-
- Oct 04, 2019
-
-
Soby Mathew authored
-
Soby Mathew authored
-
Alexei Fedorov authored
This patch provides the following features and makes modifications listed below: - `plat_init_apiakey()` function is replaced with `init_apkey()` which returns 128-bit value and uses Generic timer physical counter value to increase the randomness of the generated key. The new function can be used for generation of all ARMv8.3-PAuth keys. - Source file `pauth.c` moved from `plat/common/aarch64` to `lib/extensions/pauth/aarch64` folder which contains PAuth specific code. - Individual APIAKey key generation for each CPU on every warm boot. - Per-CPU storage of APIAKey added in `tftf_suspend_context` structure. - APIAKey key is saved/restored in arch context on entry/exit from suspended state. - Added `pauth_init_enable()` function which generates, programs and enables APIAKey in EL1/EL2. - Changes in documentation related to ARMv8.3-PAuth support. Signed-off-by:
Alexei Fedorov <Alexei.Fedorov@arm.com> Change-Id: I964b8f964bb541cbb0b2f772cb0b07aed055fe36
-
Soby Mathew authored
-
Petre-Ionut Tudor authored
This patch introduces a series of tests that try to leak PMU counter values from EL3 and S_EL1. PMU events used: - CPU cycles via PMU counter PMCCNTR_EL0 - Retired writes to PC via PMU counter PMEVCNTR0_EL0 This AARCH64-specific patch is for security fix: https://review.trustedfirmware.org/c/TF-A/trusted-firmware-a/+/1789 The AARCH32 versions of these tests will be in a future patch. Signed-off-by:
Petre-Ionut Tudor <petre-ionut.tudor@arm.com> Change-Id: Ib27948edadde30272e59a9ab208543703fa078bd
-
- Oct 03, 2019
-
-
Sandrine Bailleux authored
-
- Oct 01, 2019
-
-
Deepika Bhavnani authored
Signed-off-by:
Deepika Bhavnani <deepika.bhavnani@arm.com> Change-Id: Ie946e83d4365679d6daa1d3b25142a9380cffe2f
-
- Sep 30, 2019
-
-
Alexei Fedorov authored
This patch renames folder and source file names according to match with TF-A naming: - `ptrauth` folder in `tftf\tests\extensions' renamed to `pauth`, - `test_ptrauth.c` source file to `test_pauth.c` Signed-off-by:
Alexei Fedorov <Alexei.Fedorov@arm.com> Change-Id: Ida47e175e158e77e33270ee93ba6b3104eb0b5db
-
Sandrine Bailleux authored
-
- Sep 27, 2019
-
-
Sandrine Bailleux authored
-
- Sep 26, 2019
-
-
Imre Kis authored
Trusted OSes should preserve or fill by zeroes the values of x1-x3 registers across an SMC call in order to prevent data leakage. The behaviour of OP-TEE regarding to this has changed recently from preserving values to filling them by zeroes. This patch utilitizes the newly added allow_zeros[] parameter of the smc_check_match function to make the tests compatible with OP-TEE commit 6e558fa94ab0 or later. Signed-off-by:
Imre Kis <imre.kis@arm.com> Change-Id: I52ddfb69261833a3fba76c5f89d27d1ea13043b0
-
- Sep 25, 2019
-
-
Sandrine Bailleux authored
-
- Sep 24, 2019
-
-
Madhukar Pappireddy authored
Some platforms with A76 core do not require the dynamic mitigation using SMCCC_ARCH_WORKAROUND_2 call. Test which verifies such workaround can be skipped in such scenario. Signed-off-by:
Madhukar Pappireddy <madhukar.pappireddy@arm.com> Change-Id: Iacf27da7181828a2fd1166bd6eeb069ba27da0c5
-
- Sep 23, 2019
-
-
Lauren Wehrmeister authored
Creating new test suite for System shutdown and stats after shutdown tests separate from the other manual tests since the others have been automated for some platforms. This test suite is intended to be used for manual testing for the upcoming release. Signed-off-by:
Lauren Wehrmeister <lauren.wehrmeister@arm.com> Change-Id: I3725b28528696fa51d4c1f3af60f8a6e61e1a702
-
- Aug 16, 2019
-
-
Paul Beesley authored
-
- Aug 08, 2019
-
-
Lauren Wehrmeister authored
Creating a new xml to separate Juno TFTF reboot tests by those that are expected to pass and those that aren't (2 RESET2 tests). Signed-off-by:
Lauren Wehrmeister <lauren.wehrmeister@arm.com> Change-Id: I101de828aeedd33e0601597b70e00056b884ceba
-
- Aug 02, 2019
-
-
Sandrine Bailleux authored
-
Sandrine Bailleux authored
-
- Aug 01, 2019
-
-
Ambroise Vincent authored
This prevents the execution of the read-only data. This is done in a similar way in TF-A when the build flag SEPARATE_CODE_AND_RODATA is enabled. The build flag is probably not needed in TF-A Tests. Change-Id: I2bdc0237c00377beb2febeb47207770c85036192 Signed-off-by:
Ambroise Vincent <ambroise.vincent@arm.com>
-
Alexei Fedorov authored
This patch pick up the following changes from TF-A: - Fix for SCTLR bit definitions in 'include/lib/aarch64/arch.h` - Introduction of 128-bit integer types int128_t and uint128_t in 'include/lib/libc/aarch64/stdint.h_` Signed-off-by:
Alexei Fedorov <Alexei.Fedorov@arm.com> Change-Id: I7e7b1b6d8f79eeb6b16df2ce2bea07c5748d1216
-
- Jul 31, 2019
-
-
Sandrine Bailleux authored
-
Sandrine Bailleux authored
-
- Jul 26, 2019
-
-
Separating the manual tests xml to only include reboot tests so these can be automated. Change-Id: Ib1dfe7f215811e9ecb5b8f439965465187b3fe9b Signed-off-by:
Lauren Wehrmeister <lauren.wehrmeister@arm.com>
-
- Jul 17, 2019
-
-
Alexei Fedorov authored
This patch fixes the bug in tftf_get_total_aff_count() which incorrectly calculates the number of CPUs for aff_lvl = 0. The function reads tftf_pd_nodes[] array only based on condition `tftf_pd_nodes[node_idx].level == aff_lvl` but doesn't check for `indexes < PLATFORM_NUM_AFFS`. This causes reads of the array beyond its boundaries which results in incorrect calculation of number of CPUs, and some of the tests entering infinite loops. Signed-off-by:
Alexei Fedorov <Alexei.Fedorov@arm.com> Change-Id: If7b2d8eba7560126aeff29c6b8c9355198aad453
-
Sandrine Bailleux authored
-
- Jul 16, 2019
-
-
John Tsichritzis authored
This specific test is known to have unstable behaviour. As a temporary solution we skip this test for AArch64 Juno configs. Change-Id: I7c93de0c80ad8dba47b83f0b343d868dc18b732f Signed-off-by:
John Tsichritzis <john.tsichritzis@arm.com>
-
- Jun 28, 2019
-
-
Sandrine Bailleux authored
-
- Jun 27, 2019
-
-
Sandrine Bailleux authored
The extensive set of tests is meant to be a superset of the standard set. However, 2 testsuites were present in the standard set and were missing from the extensive one. Change-Id: Idc5d6abd9a2bcdfcfa41421e823a88095ab4e16e Signed-off-by:
Sandrine Bailleux <sandrine.bailleux@arm.com>
-
- Jun 20, 2019
-
-
Sandrine Bailleux authored
-
Ambroise Vincent authored
The previous implementation could behave incorrectly because of the sign extension of the char when compared to the int. Change-Id: Id1e40ca9cfb1c271cb391e26698862726b833c8b Signed-off-by:
Ambroise Vincent <ambroise.vincent@arm.com>
-
- Jun 18, 2019
-
-
Sandrine Bailleux authored
-