| cf3ed0dc | 25-Jun-2018 |
Varun Wadekar <vwadekar@nvidia.com> |
cpus: denver: reset power state to 'C1' on boot
Denver CPUs expect the power state field to be reset to 'C1' during boot. This patch updates the reset handler to reset the ACTLR_.PMSTATE field to 'C
cpus: denver: reset power state to 'C1' on boot
Denver CPUs expect the power state field to be reset to 'C1' during boot. This patch updates the reset handler to reset the ACTLR_.PMSTATE field to 'C1' state during CPU boot.
Change-Id: I7cb629627a4dd1a30ec5cbb3a5e90055244fe30c Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| 1593cae4 | 28-Feb-2018 |
Varun Wadekar <vwadekar@nvidia.com> |
denver: use plat_my_core_pos() to get core position
The current functions to disable and enable Dynamic Code Optimizer (DCO) assume that all denver cores are in the same cluster. They ignore AFF1 fi
denver: use plat_my_core_pos() to get core position
The current functions to disable and enable Dynamic Code Optimizer (DCO) assume that all denver cores are in the same cluster. They ignore AFF1 field of the mpidr_el1 register, which leads to incorect logical core id calculation.
This patch calls the platform handler, plat_my_core_pos(), to get the logical core id to disable/enable DCO for the core.
Original change by: Krishna Sitaraman <ksitaraman@nvidia.com>
Change-Id: I45fbd1f1eb032cc1db677a4fdecc554548b4a830 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| 100992b5 | 03-Sep-2018 |
Soby Mathew <soby.mathew@arm.com> |
Merge pull request #1484 from nathan-menhorn/tee-validate-header-603
Update optee_utils.c to fix ARM-software/tf-issues#603 |
| d5ccb754 | 23-Aug-2018 |
Antonio Nino Diaz <antonio.ninodiaz@arm.com> |
libc: Fix some MISRA defects
No functional changes.
Change-Id: I907aa47565af2a6c435a5560041fd2b59e65c25c Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com> |
| 7bb907e0 | 30-Aug-2018 |
Dimitris Papastamos <dimitris.papastamos@arm.com> |
Merge pull request #1544 from jwerner-chromium/JW_handle_ea
context_mgmt: Fix HANDLE_EA_EL3_FIRST implementation |
| 3e530d8e | 23-Aug-2018 |
Antonio Nino Diaz <antonio.ninodiaz@arm.com> |
backtrace: Print backtrace in assert() and panic()
When any of these functions is called the backtrace will be printed to the console.
Change-Id: Id60842df824b320c485a9323ed6b80600f4ebe35 Signed-of
backtrace: Print backtrace in assert() and panic()
When any of these functions is called the backtrace will be printed to the console.
Change-Id: Id60842df824b320c485a9323ed6b80600f4ebe35 Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
show more ...
|
| 24f671f3 | 28-Aug-2018 |
Julius Werner <jwerner@chromium.org> |
context_mgmt: Fix HANDLE_EA_EL3_FIRST implementation
This patch fixes a bug in the context management code that causes it to ignore the HANDLE_EA_EL3_FIRST compile-time option and instead always con
context_mgmt: Fix HANDLE_EA_EL3_FIRST implementation
This patch fixes a bug in the context management code that causes it to ignore the HANDLE_EA_EL3_FIRST compile-time option and instead always configure SCR_EL3 to force all external aborts to trap into EL3. The code used #ifdef to read compile-time option declared with add_define in the Makefile... however, those options are always defined, they're just defined to either 0 or 1, so #if is the correct syntax to check for them. Also update the documentation to match.
This bug has existed since the Nov 2017 commit 76454abf4 (AArch64: Introduce External Abort handling), which changed the HANDLE_EA_EL3_FIRST option to use add_define.
Change-Id: I7189f41d0daee78fa2fcf4066323e663e1e04d3d Signed-off-by: Julius Werner <jwerner@chromium.org>
show more ...
|
| b554e768 | 17-Jul-2018 |
nathan-menhorn <41302213+nathan-menhorn@users.noreply.github.com> |
Fixed ARM-software/tf-issues#603
Updated optee_utils.c to fix ARM-software/tf-issues#603 related to the tee-validate-header bug.
Minor updates to the header valid checking logic. It would never mak
Fixed ARM-software/tf-issues#603
Updated optee_utils.c to fix ARM-software/tf-issues#603 related to the tee-validate-header bug.
Minor updates to the header valid checking logic. It would never make sense to have less than 1 image to load so this is now checked.
Changed OPTEE_MAX_IMAGE_NUM to OPTEE_MAX_NUM_IMAGES to clarify its definition. OPTEE_MAX_IMAGE_NUM sounds like an ID assigned to the last image to load. OPTEE_MAX_NUM_IMAGES sounds like the maximum number of images to load.
Signed-off-by: Nathan Menhorn <nathan.menhorn@xilinx.com>
show more ...
|
| 7436d5d3 | 22-Aug-2018 |
John Tsichritzis <john.tsichritzis@arm.com> |
DSU erratum 936184 workaround: bug fix
The initial implementation was corrupting registers that it shouldn't. Now this is fixed.
Change-Id: Iaa407c18e668b2d9381391bf10d6876fe936aded Signed-off-by:
DSU erratum 936184 workaround: bug fix
The initial implementation was corrupting registers that it shouldn't. Now this is fixed.
Change-Id: Iaa407c18e668b2d9381391bf10d6876fe936aded Signed-off-by: John Tsichritzis <john.tsichritzis@arm.com>
show more ...
|
| 8422a840 | 16-Aug-2018 |
Antonio Nino Diaz <antonio.ninodiaz@arm.com> |
libc: armclang: Implement compiler printf symbols
armclang replaces calls to printf by calls to one of the symbols __0printf, __1printf or __2printf. This patch adds new functions with these names t
libc: armclang: Implement compiler printf symbols
armclang replaces calls to printf by calls to one of the symbols __0printf, __1printf or __2printf. This patch adds new functions with these names that internally call printf so that the Trusted Firmware can be compiled with this compiler.
Change-Id: I06a0e3e5001232fe5b2577615666ddd66e81eef0 Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
show more ...
|
| 39b6cc66 | 16-Aug-2018 |
Antonio Nino Diaz <antonio.ninodiaz@arm.com> |
libc: Use printf and snprintf across codebase
tf_printf and tf_snprintf are now called printf and snprintf, so the code needs to be updated.
Change-Id: Iffeee97afcd6328c4c2d30830d4923b964682d71 Sig
libc: Use printf and snprintf across codebase
tf_printf and tf_snprintf are now called printf and snprintf, so the code needs to be updated.
Change-Id: Iffeee97afcd6328c4c2d30830d4923b964682d71 Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
show more ...
|
| 870ce3dd | 15-Aug-2018 |
Antonio Nino Diaz <antonio.ninodiaz@arm.com> |
libc: Move tf_printf and tf_snprintf to libc
Change their names to printf and snprintf. They are much smaller than the previous versions we had, which makes them better suited for the Trusted Firmwa
libc: Move tf_printf and tf_snprintf to libc
Change their names to printf and snprintf. They are much smaller than the previous versions we had, which makes them better suited for the Trusted Firmware.
Change-Id: Ia872af91b7b967c47fce012eccecede7873a3daf Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
show more ...
|
| 93c78ed2 | 16-Aug-2018 |
Antonio Nino Diaz <antonio.ninodiaz@arm.com> |
libc: Fix all includes in codebase
The codebase was using non-standard headers. It is needed to replace them by the correct ones so that we can use the new libc headers.
Change-Id: I530f71d9510cb03
libc: Fix all includes in codebase
The codebase was using non-standard headers. It is needed to replace them by the correct ones so that we can use the new libc headers.
Change-Id: I530f71d9510cb036e69fe79823c8230afe890b9d Acked-by: Sumit Garg <sumit.garg@linaro.org> Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
show more ...
|
| 7c0ff9c4 | 15-Aug-2018 |
Antonio Nino Diaz <antonio.ninodiaz@arm.com> |
libc: Add AArch32 and AArch64 headers
Change-Id: I4f58bb4660078c9bc76d2826c90b2fa711719a3e Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com> |
| 2c5aca6e | 13-Aug-2018 |
Antonio Nino Diaz <antonio.ninodiaz@arm.com> |
libc: Cleanup FreeBSD files
Remove code specific to FreeBSD so that they can be used in this repository.
Change-Id: I5c11eb5b3c05a7fb91aed08371a1f7a0e6122a94 Signed-off-by: Antonio Nino Diaz <anton
libc: Cleanup FreeBSD files
Remove code specific to FreeBSD so that they can be used in this repository.
Change-Id: I5c11eb5b3c05a7fb91aed08371a1f7a0e6122a94 Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
show more ...
|
| c6fdaa73 | 13-Aug-2018 |
Antonio Nino Diaz <antonio.ninodiaz@arm.com> |
libc: Import files from FreeBSD
From commit aafd1cf4235d78ce85b76d7da63e9589039344b3:
- sys/sys/endian.h - sys/arm/include/endian.h - sys/arm64/include/endian.h - sys/sys/errno.h - lib/libc/strchr.
libc: Import files from FreeBSD
From commit aafd1cf4235d78ce85b76d7da63e9589039344b3:
- sys/sys/endian.h - sys/arm/include/endian.h - sys/arm64/include/endian.h - sys/sys/errno.h - lib/libc/strchr.c - lib/libc/strcmp.c - lib/libc/strncmp.c - lib/libc/strnlen.c
strcasecmp() hasn't been imported.
Change-Id: I8a0787aec9ba8960a008fb5c66f7a73c84919b93 Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
show more ...
|
| 8bb6de15 | 13-Aug-2018 |
Antonio Nino Diaz <antonio.ninodiaz@arm.com> |
libc: Introduce cdefs.h, assert.h and strlen.c
Change-Id: I76091d52571f1950111c4b1670d5fc3883607715 Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com> |
| 4661abc7 | 16-Aug-2018 |
Antonio Nino Diaz <antonio.ninodiaz@arm.com> |
libc: Cleanup remaining files
The existing files had some style problems that this patch fixes.
Change-Id: I794e0d96e52f8da0ffa0d70a41f36c4432b4e563 Signed-off-by: Antonio Nino Diaz <antonio.ninodi
libc: Cleanup remaining files
The existing files had some style problems that this patch fixes.
Change-Id: I794e0d96e52f8da0ffa0d70a41f36c4432b4e563 Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
show more ...
|
| 7addcb33 | 15-Aug-2018 |
Antonio Nino Diaz <antonio.ninodiaz@arm.com> |
libc: Remove printf-like functions
They are too big for the Trusted Firmware, and it can be confusing to have two versions of the same functions with different names. tf_printf and tf_snprintf will
libc: Remove printf-like functions
They are too big for the Trusted Firmware, and it can be confusing to have two versions of the same functions with different names. tf_printf and tf_snprintf will replace them in the next patch.
Change-Id: I978414ac169cc3156e249549ef101a70eb31a295 Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
show more ...
|
| 90f2d452 | 17-Aug-2018 |
Antonio Nino Diaz <antonio.ninodiaz@arm.com> |
libc: Remove sscanf() and timingsafe_bcmp()
sscanf() is unused and it doesn't work, so it doesn't make sense to keep it.
timingsafe_bcmp() isn't used anywhere.
Change-Id: Ib5d28ff21d0f3ccc36c5c0fb
libc: Remove sscanf() and timingsafe_bcmp()
sscanf() is unused and it doesn't work, so it doesn't make sense to keep it.
timingsafe_bcmp() isn't used anywhere.
Change-Id: Ib5d28ff21d0f3ccc36c5c0fb5474b3384105cf80 Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
show more ...
|
| 091f3967 | 14-Aug-2018 |
Antonio Nino Diaz <antonio.ninodiaz@arm.com> |
libc: Remove non-Arm files
Remove all files that don't have only Arm copyright. This is the first step to cleanup the C library in this repository. They will be re-added in the following patches.
C
libc: Remove non-Arm files
Remove all files that don't have only Arm copyright. This is the first step to cleanup the C library in this repository. They will be re-added in the following patches.
Change-Id: I72c40a1620d1df3228fc397ec695d569a20245fd Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
show more ...
|
| 11dfe0b4 | 22-Aug-2018 |
Dimitris Papastamos <dimitris.papastamos@arm.com> |
Merge pull request #1532 from jeenu-arm/misra-fixes
MISRA fixes |
| 61e7c054 | 22-Aug-2018 |
Dimitris Papastamos <dimitris.papastamos@arm.com> |
Merge pull request #1533 from jeenu-arm/mpam
AArch64: Enable MPAM for lower ELs |
| 7c3a0b01 | 20-Aug-2018 |
Dimitris Papastamos <dimitris.papastamos@arm.com> |
Merge pull request #1388 from vwadekar/report-cve-2017-5715
cpus: denver: report CVE_2017_5715 mitigation to higher layers |
| 30a8d96e | 02-Aug-2018 |
Jeenu Viswambharan <jeenu.viswambharan@arm.com> |
RAS: MISRA fixes
These changes address most of the required MISRA rules. In the process, some from generic code is also fixed.
No functional changes.
Change-Id: I76cacf6e1d73b09510561b5090c2bb66d8
RAS: MISRA fixes
These changes address most of the required MISRA rules. In the process, some from generic code is also fixed.
No functional changes.
Change-Id: I76cacf6e1d73b09510561b5090c2bb66d81bec88 Signed-off-by: Jeenu Viswambharan <jeenu.viswambharan@arm.com>
show more ...
|