Skip to content
  1. Nov 06, 2018
  2. Oct 31, 2018
  3. Oct 30, 2018
  4. Oct 29, 2018
  5. Oct 25, 2018
    • Sandrine Bailleux's avatar
      Disable hardware alignment checking · aef556a8
      Sandrine Bailleux authored
      
      
      At the moment, alignment fault checking is always enabled in TF-A
      Tests (by setting the HSCTLR/SCTLR.A bit). Thus, for every instruction
      that loads or stores one or more registers, the hardware checks that
      the address being accessed is properly aligned to the size of the data
      element(s) being accessed. If this check fails it causes an alignment
      fault, which is taken as a data abort exception.
      
      However, the compiler is currently unaware that it must not emit load
      and store instructions resulting in unaligned accesses because we do
      not compile the source code with -mstrict-align (AArch64) /
      -mno-unaligned-access (AArch32). Because of this, we might get some
      unexpected alignment faults.
      
      We could request the compiler to align all data accesses but whether
      this gives us any performance benefit is dependent on the
      microarchitecture. Thus, it is simpler to just disable hardware
      alignment checking and let the compiler make the call.
      
      Change-Id: I6ef4afb09e0f87c8462a968da1ca2192ee075b40
      Signed-off-by: Sandrine Bailleux's avatarSandrine Bailleux <sandrine.bailleux@arm.com>
      aef556a8
  6. Oct 22, 2018
  7. Oct 19, 2018
  8. Oct 18, 2018
  9. Oct 16, 2018
    • Sandrine Bailleux's avatar
      User guide: Document TESTS build option · 43ded0f6
      Sandrine Bailleux authored
      
      
      Change-Id: If9f6dfa4547e4ed62764cf8dc2fd0b767134b2e7
      Signed-off-by: Sandrine Bailleux's avatarSandrine Bailleux <sandrine.bailleux@arm.com>
      43ded0f6
    • Sandrine Bailleux's avatar
      Add a makefile rule to print set of tests · 043d5361
      Sandrine Bailleux authored
      
      
      Sample output:
      
      > make help_tests
      Available sets of tests:
       - sdei
       - uncontainable
       - extensive
       - arm-state-switch
       - manual
       - single-fault
       - tsp
       - psci-extensive
       - standard
       - cpu-extensions
       - boot-req
       - psci
       - tftf-validation
       - spm
       - el3-power-state
       - performance
       - template
       - fwu
       - runtime-instrumentation
      
      Change-Id: I8ab5ae0cadfe950cb690d0943148b15e2448f5c8
      Signed-off-by: Sandrine Bailleux's avatarSandrine Bailleux <sandrine.bailleux@arm.com>
      043d5361
    • Sandrine Bailleux's avatar
      Rename tests-common into tests-standard · 0c6ef87c
      Sandrine Bailleux authored
      
      
      "common" might mean "shared", when we really want to say
      "ordinary", "frequent".
      
      Change-Id: If3cdb1693eb24ecb55b6145386bcf6a6a17c6d74
      Signed-off-by: Sandrine Bailleux's avatarSandrine Bailleux <sandrine.bailleux@arm.com>
      0c6ef87c
    • Sandrine Bailleux's avatar
      Introduce support to build a subset of tests · d78c03d8
      Sandrine Bailleux authored
      
      
      The build system now supports building a TFTF binary with a subset of
      tests. The chosen subset may be specified through the TESTS variable,
      e.g.:
      
       make TESTS=sdei tftf
       make TESTS=tsp tftf
       make TESTS=cpu-extensions tftf
      
      This will use tftf/tests/tests-${TESTS}.xml as the tests manifest
                and tftf/tests/tests-${TESTS}.mk as the tests makefile.
      
      This provides more flexibility than before. It is still possible to
      compile all the tests using:
      
       make TESTS=common tftf
      
      It's also possible to include the extensive tests using:
      
       make TESTS=extensive tftf
      
      If TESTS is not specified, it defaults to the 'common' tests.
      
      Change-Id: Ifcdc52e9a29ed5f9a9bf57703cdb109b5a169fa2
      Signed-off-by: Sandrine Bailleux's avatarSandrine Bailleux <sandrine.bailleux@arm.com>
      d78c03d8
    • Sandrine Bailleux's avatar
      Add meta tests makefiles · 9af15ea3
      Sandrine Bailleux authored
      
      
      Introduce makefiles for 2 popular sets of tests: the standard tests
      and the extensive ones.
      
      Change-Id: I529a1583a1b20838c60f06654d3f47f4041fb9bc
      Signed-off-by: Sandrine Bailleux's avatarSandrine Bailleux <sandrine.bailleux@arm.com>
      9af15ea3
    • Sandrine Bailleux's avatar
      Split tests makefile · fe6ff416
      Sandrine Bailleux authored
      
      
      Instead of unconditionally pulling all test source files in tests.mk,
      introduce small makefiles that pull in only those source files that
      are required to test a particular feature. For every tests manifest
      (test-*.xml files), create the associated makefile.
      
      The main benefit is to compile only the required test source files
      when selecting a subset of the tests. For example, if one selects the
      SDEI XML file, the TFTF binary only needs the SDEI test cases.
      
      Change-Id: I281eb50846edea2d238c86a795fde8747f8b420b
      Signed-off-by: Sandrine Bailleux's avatarSandrine Bailleux <sandrine.bailleux@arm.com>
      fe6ff416
    • Sandrine Bailleux's avatar
      Make GICv2 spurious interrupt test platform-agnostic · 30ea91c2
      Sandrine Bailleux authored
      
      
      This test was pinned to Juno and was not included for other
      platforms. In reality, it only relies on a GICv2 to be present but
      does nothing specific to Juno beyond that.
      
      Instead, we now dynamically detect the GIC version inside the test
      function and skip it if it is not GICv2. The test is now part of the
      generic TSP testsuite.
      
      With the test being available to all platforms, the Juno tests XML
      file is now empty, as it only contained this one test. Therefore, we
      remove it.
      
      Change-Id: I8b8f0eac905cfff8a87a2305cb2abf4bb9353ef1
      Signed-off-by: Sandrine Bailleux's avatarSandrine Bailleux <sandrine.bailleux@arm.com>
      30ea91c2
  10. Oct 15, 2018
  11. Oct 11, 2018
  12. Oct 10, 2018
Loading