18 Jan, 2021

5 commits

  • Use trusty-log driver to output the Trusty OS
    log into Linux end.
    Also added the TIPC call in trusty-log system
    to disable the UART output on Trusty OS end
    when Linux ready.

    Change-Id: I695c6360938f3e2f199739f9655d8bc71071be61
    Signed-off-by: Haoran.Wang

    Haoran.Wang
     
  • Consistently use the MIT license for headers that are also duplicated in
    Trusty (and sometimes in TF-A too). This is the license in the other
    copies, and unlike GPL-2.0 it's compatible with both Linux and Trusty.

    For trusty-log.h, also add the copyright statement that is in the other
    copy, as the MIT license requires a copyright statement.

    Also remove the unnecessary include of in arm_ffa.h.

    Finally, also add reminders to keep the headers in sync.

    Change-Id: Id0349d605013a941d2c54d9a372991b300d8feea
    Signed-off-by: Eric Biggers

    Eric Biggers
     
  • Follow the recommended kernel coding style.
    See https://www.kernel.org/doc/html/latest/process/deprecated.html#zero-length-and-one-element-arrays

    Test: trusty/vendor/google/aosp/scripts/build.py qemu-generic-arm64-test-debug
    Change-Id: I435731f8148a9efad57dbe70327f8395ab9c99c4
    Signed-off-by: Eric Biggers

    Eric Biggers
     
  • This fixes several instances of the following checkpatch warning:

    WARNING: Missing or malformed SPDX-License-Identifier tag

    This doesn't change the actual licenses.

    Test: trusty/vendor/google/aosp/scripts/build.py qemu-generic-arm64-test-debug
    Change-Id: I611721ef5af4ead7a33e402b618ad5de1ffa730e
    Signed-off-by: Eric Biggers

    Eric Biggers
     
  • This driver is the consumer side of a ringbuffer of log data
    that the secure operating system dumps prints into. Trusty
    printfs will be dumped into the kernel log after smc calls
    and during panics.

    * Added header needed in 4.19 (mmaurer@google.com)

    Change-Id: Ib4fc8b9077da5e2c628607bc6cd04dc8760dead5
    Signed-off-by: Michael Ryleev
    Signed-off-by: Matthew Maurer
    Signed-off-by: Tri Vo

    Riley Andrews