1. 22 May, 2019 4 commits
    • Paul Beesley's avatar
      doc: Format security advisory titles and headings · 267f8085
      Paul Beesley authored
      
      
      Required so that the advisory documents are all valid RST files (with a
      header) and that they all integrate into the document tree.
      
      Change-Id: I68ca2b0b9e648e24b460deb772c471a38518da26
      Signed-off-by: default avatarPaul Beesley <paul.beesley@arm.com>
      267f8085
    • Paul Beesley's avatar
      doc: Reformat platform port documents · 24dba2b3
      Paul Beesley authored
      
      
      The platform port documents are not very standardised right now and
      they don't integrate properly into the document tree so:
      
      1) Make sure each port has a proper name and title (incl. owner)
      2) Correct use of headings, subheadings, etc in each port
      3) Resolve any naming conflicts between documents
      
      Change-Id: I4c2da6f57172b7f2af3512e766ae9ce3b840b50f
      Signed-off-by: default avatarPaul Beesley <paul.beesley@arm.com>
      24dba2b3
    • Paul Beesley's avatar
      doc: Normalise section numbering and headings · 83993177
      Paul Beesley authored
      
      
      Required work to make all documents sit at the correct levels within
      the document tree and any derived content like the table of contents
      and the categories in the sidebar.
      
      Change-Id: I4885fbe30864a87c8822ee67482b71fb46a8fbc6
      Signed-off-by: default avatarPaul Beesley <paul.beesley@arm.com>
      83993177
    • Paul Beesley's avatar
      doc: Reword document titles · 8aa05055
      Paul Beesley authored
      
      
      This patch attempts to standardise the document titles as well as
      adding titles to documents that were missing one. The aim is to
      remove needless references to "TF-A" or "Trusted Firmware" in the
      title of every document and to make sure that the title matches
      with the document content.
      
      Change-Id: I9b93ccf43b5d57e8dc793a5311b8ed7c4dd245cc
      Signed-off-by: default avatarPaul Beesley <paul.beesley@arm.com>
      8aa05055
  2. 21 May, 2019 4 commits
    • Paul Beesley's avatar
      doc: Move content out of readme and create new index page · 9f1622b0
      Paul Beesley authored
      
      
      Previously the readme.rst file served as the entrypoint for the
      documentation. With a Sphinx build the top-level document is set
      to be index.rst as it contains the primary document index.
      
      This patch moves some content from readme.rst into index.rst and
      splits the license information out into license.rst.
      
      Change-Id: I5c50250b81136fe36aa9ceedaae302b44ec11e47
      Signed-off-by: default avatarPaul Beesley <paul.beesley@arm.com>
      9f1622b0
    • Paul Beesley's avatar
      doc: Move documents into subdirectories · 40d553cf
      Paul Beesley authored
      
      
      This change creates the following directories under docs/
      in order to provide a grouping for the content:
      
      - components
      - design
      - getting_started
      - perf
      - process
      
      In each of these directories an index.rst file is created
      and this serves as an index / landing page for each of the
      groups when the pages are compiled. Proper layout of the
      top-level table of contents relies on this directory/index
      structure.
      
      Without this patch it is possible to build the documents
      correctly with Sphinx but the output looks messy because
      there is no overall hierarchy.
      
      Change-Id: I3c9f4443ec98571a56a6edf775f2c8d74d7f429f
      Signed-off-by: default avatarPaul Beesley <paul.beesley@arm.com>
      40d553cf
    • Paul Beesley's avatar
      doc: Add minimal Sphinx support · 653279b0
      Paul Beesley authored
      
      
      Add the essentials for supporting a Sphinx documentation build:
      
      - A makefile under docs/ to invoke Sphinx with the desired output
        format
      - A Sphinx master configuration file (conf.py)
      - A single, top-level index page (index.rst)
      - The TF.org logo that is integrated in the the sidebar of the
        rendered output
      
      Change-Id: I85e67e939658638337ca7972936a354878083a25
      Signed-off-by: default avatarPaul Beesley <paul.beesley@arm.com>
      653279b0
    • John Tsichritzis's avatar
      Fix docs references to header files · ce8dc187
      John Tsichritzis authored
      
      
      Change-Id: I5c06e777d93ac653a853997c2b7c1c9d09b1e49c
      Signed-off-by: default avatarJohn Tsichritzis <john.tsichritzis@arm.com>
      ce8dc187
  3. 20 May, 2019 1 commit
  4. 10 May, 2019 1 commit
  5. 08 May, 2019 1 commit
  6. 07 May, 2019 1 commit
  7. 03 May, 2019 1 commit
    • John Tsichritzis's avatar
      Add compile-time errors for HW_ASSISTED_COHERENCY flag · 076b5f02
      John Tsichritzis authored
      This patch fixes this issue:
      https://github.com/ARM-software/tf-issues/issues/660
      
      
      
      The introduced changes are the following:
      
      1) Some cores implement cache coherency maintenance operation on the
      hardware level. For those cores, such as - but not only - the DynamIQ
      cores, it is mandatory that TF-A is compiled with the
      HW_ASSISTED_COHERENCY flag. If not, the core behaviour at runtime is
      unpredictable. To prevent this, compile time checks have been added and
      compilation errors are generated, if needed.
      
      2) To enable this change for FVP, a logical separation has been done for
      the core libraries. A system cannot contain cores of both groups, i.e.
      cores that manage coherency on hardware and cores that don't do it. As
      such, depending on the HW_ASSISTED_COHERENCY flag, FVP includes the
      libraries only of the relevant cores.
      
      3) The neoverse_e1.S file has been added to the FVP sources.
      
      Change-Id: I787d15819b2add4ec0d238249e04bf0497dc12f3
      Signed-off-by: default avatarJohn Tsichritzis <john.tsichritzis@arm.com>
      076b5f02
  8. 02 May, 2019 1 commit
    • Christoph Müllner's avatar
      build_macros: Add mechanism to prevent bin generation. · 9e4609f1
      Christoph Müllner authored
      
      
      On certain platforms it does not make sense to generate
      TF-A binary images. For example a platform could make use of serveral
      memory areas, which are non-continuous and the resulting binary
      therefore would suffer from the padding-bytes.
      Typically these platforms use the ELF image.
      
      This patch introduces a variable DISABLE_BIN_GENERATION, which
      can be set to '1' in the platform makefile to prevent the binary
      generation.
      Signed-off-by: default avatarChristoph Müllner <christophm30@gmail.com>
      Change-Id: I62948e88bab685bb055fe6167d9660d14e604462
      9e4609f1
  9. 30 Apr, 2019 1 commit
    • Louis Mayencourt's avatar
      Add support for default stack-protector flag · fd7b287c
      Louis Mayencourt authored
      
      
      The current stack-protector support is for none, "strong" or "all".
      The default use of the flag enables the stack-protection to all
      functions that declare a character array of eight bytes or more in
      length on their stack.
      This option can be tuned with the --param=ssp-buffer-size=N option.
      
      Change-Id: I11ad9568187d58de1b962b8ae04edd1dc8578fb0
      Signed-off-by: default avatarLouis Mayencourt <louis.mayencourt@arm.com>
      fd7b287c
  10. 26 Apr, 2019 1 commit
  11. 25 Apr, 2019 2 commits
  12. 23 Apr, 2019 1 commit
    • Yann Gautier's avatar
      stm32mp1: add OP-TEE support · 1989a19c
      Yann Gautier authored
      
      
      Support booting OP-TEE as BL32 boot stage and secure runtime
      service.
      
      OP-TEE executes in internal RAM and uses a secure DDR area to store
      the pager pagestore. Memory mapping and TZC are configured accordingly
      prior OP-TEE boot. OP-TEE image is expected in OP-TEE v2 format where
      a header file describes the effective boot images. This change
      post processes header file content to get OP-TEE load addresses
      and set OP-TEE boot arguments.
      
      Change-Id: I02ef8b915e4be3e95b27029357d799d70e01cd44
      Signed-off-by: default avatarYann Gautier <yann.gautier@st.com>
      Signed-off-by: default avatarEtienne Carriere <etienne.carriere@st.com>
      1989a19c
  13. 18 Apr, 2019 1 commit
  14. 17 Apr, 2019 2 commits
  15. 12 Apr, 2019 2 commits
  16. 11 Apr, 2019 1 commit
  17. 08 Apr, 2019 2 commits
  18. 05 Apr, 2019 1 commit
    • Paul Beesley's avatar
      doc: Fix heading levels for changelog · c48991e1
      Paul Beesley authored
      
      
      The change-log.rst file does not use the same symbols
      as the other documents when organising its headings,
      sub-headings and so on. In order to compile these
      documents together with Sphinx, forming a top-level
      index and a consistent structure, it is necessary to
      normalise these.
      
      Change-Id: Ib4620ff03a9e76fec9e36e95549016c7b3fe12bb
      Signed-off-by: default avatarPaul Beesley <paul.beesley@arm.com>
      c48991e1
  19. 02 Apr, 2019 2 commits
  20. 29 Mar, 2019 2 commits
  21. 28 Mar, 2019 2 commits
  22. 27 Mar, 2019 1 commit
  23. 26 Mar, 2019 2 commits
    • Ambroise Vincent's avatar
      docs: Update user guide · 68126051
      Ambroise Vincent authored
      
      
      Make sure the steps in the user guide are up to date and can be
      performed out of the box.
      
      Change-Id: Ib4d959aa771cf515f74e150aaee2fbad24c18c38
      Signed-off-by: default avatarAmbroise Vincent <ambroise.vincent@arm.com>
      68126051
    • Paul Beesley's avatar
      doc: Add contents.rst to link to pages · 9dc5f21e
      Paul Beesley authored
      
      
      This is the temporary contents page that links
      to all other documents (except platform ports).
      
      This page is needed during the
      trustedfirmware.org migration, before we have a
      Sphinx rendering pipeline set up, because cgit
      doesn't offer a good way to view rendered docs
      while browsing the tree. We need to have a links
      page that can be opened from the cgit 'about'
      view.
      
      Change-Id: I3ad87a9fa8a14dc8e371aac7ee473575fed316bf
      Signed-off-by: default avatarPaul Beesley <paul.beesley@arm.com>
      9dc5f21e
  24. 21 Mar, 2019 1 commit
    • John Tsichritzis's avatar
      ROMLIB bug fixes · ae2e01b8
      John Tsichritzis authored
      
      
      Fixed the below bugs:
      1) Bug related to build flag V=1: if the flag was V=0, building with
      ROMLIB would fail.
      2) Due to a syntax bug in genwrappers.sh, index file entries marked as
      "patch" or "reserved" were ignored.
      3) Added a prepending hash to constants that genwrappers is generating.
      4) Due to broken dependencies, currently the inclusion functionality is
      intentionally not utilised. This is why the contents of romlib/jmptbl.i
      have been copied to platform specific jmptbl.i files. As a result of the
      broken dependencies, when changing the index files, e.g. patching
      functions, a clean build is always required. This is a known issue that
      will be fixed in the future.
      
      Change-Id: I9d92aa9724e86d8f90fcd3e9f66a27aa3cab7aaa
      Signed-off-by: default avatarJohn Tsichritzis <john.tsichritzis@arm.com>
      ae2e01b8
  25. 19 Mar, 2019 1 commit
  26. 18 Mar, 2019 1 commit
    • Alexei Fedorov's avatar
      Declare PAuth for Secure world as experimental · 06715f85
      Alexei Fedorov authored
      
      
      Declare ENABLE_PAUTH and CTX_INCLUDE_PAUTH_REGS
      build options as experimental.
      Pointer Authentication is enabled for Non-secure world
      irrespective of the value of these build flags if the
      CPU supports it.
      The patch also fixes the description of fiptool 'help' command.
      
      Change-Id: I46de3228fbcce774a2624cd387798680d8504c38
      Signed-off-by: default avatarAlexei Fedorov <Alexei.Fedorov@arm.com>
      06715f85