| b8dbfacc | 07-Dec-2022 |
Soby Mathew <soby.mathew@arm.com> |
Merge "feat(rmm): add support for the 2nd DRAM bank" into integration |
| cd3a7794 | 06-Dec-2022 |
Sandrine Bailleux <sandrine.bailleux@arm.com> |
Merge "feat(intel): extending to support SMMU in FCS" into integration |
| 9ccdfc44 | 06-Dec-2022 |
Sandrine Bailleux <sandrine.bailleux@arm.com> |
Merge "fix(intel): fix fcs_client crashed when increased param size" into integration |
| 34ffe4aa | 06-Dec-2022 |
Sandrine Bailleux <sandrine.bailleux@arm.com> |
Merge changes Ia8f1471a,I6b95c19d into integration
* changes: fix(intel): agilex bitstream pre-authenticate fix(intel): mailbox store QSPI ref clk in scratch reg |
| 936455eb | 06-Dec-2022 |
Sandrine Bailleux <sandrine.bailleux@arm.com> |
Merge "fix(rss): do not consider MHU_ERR_ALREADY_INIT as error" into integration |
| 0ca1d8fb | 01-Nov-2022 |
Howard Lu <howard.lu@nxp.com> |
fix(layerscape): unlock write access SMMU_CBn_ACTLR
This patch is to fix Errata #841119 and #826419 failed apply in linux because of SMMU_CBn_ACTLR register can't be modified in non-secure states.
fix(layerscape): unlock write access SMMU_CBn_ACTLR
This patch is to fix Errata #841119 and #826419 failed apply in linux because of SMMU_CBn_ACTLR register can't be modified in non-secure states.
Signed-off-by: Howard Lu <howard.lu@nxp.com> Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com> Change-Id: I2b23e7c8baa809f385917eb45b10ec6b26a9ada8
show more ...
|
| e83812f1 | 17-Oct-2022 |
Maninder Singh <maninder.singh_1@nxp.com> |
fix(nxp-ddr): add checking return value
Coverity Issue 21268351 Fixed unused value of xspi read while reading training values from xspi during warm reset.
Signed-off-by: Maninder Singh <maninder.si
fix(nxp-ddr): add checking return value
Coverity Issue 21268351 Fixed unused value of xspi read while reading training values from xspi during warm reset.
Signed-off-by: Maninder Singh <maninder.singh_1@nxp.com> Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com> Change-Id: I779587afedb1c73d174a132bbfbcb21bf45bdff8
show more ...
|
| e8faff3d | 11-Oct-2022 |
Jiafei Pan <Jiafei.Pan@nxp.com> |
feat(lx2): enable OCRAM ECC
Fix OCRAM ECC for lx2 platform.
Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com> Change-Id: Ic46de7a40c611764a6f24400663da50e6b477ae5 |
| 4fa0f097 | 02-Sep-2022 |
Jiafei Pan <Jiafei.Pan@nxp.com> |
fix(nxp-tools): fix coverity issue
Check the value is not NULL.
Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com> Change-Id: If753e9875153a8e31498addf89202c953abf64ef |
| 346cfe2b | 29-Nov-2022 |
AlexeiFedorov <Alexei.Fedorov@arm.com> |
feat(rmm): add support for the 2nd DRAM bank
This patch adds support for RMM granules allocation in FVP 2nd DRAM 2GB bank at 0x880000000 base address. For ENABLE_RME = 1 case it also removes "mem=1G
feat(rmm): add support for the 2nd DRAM bank
This patch adds support for RMM granules allocation in FVP 2nd DRAM 2GB bank at 0x880000000 base address. For ENABLE_RME = 1 case it also removes "mem=1G" Linux kernel command line option in fvp-base-psci-common.dsti to allow memory layout discovery from the FVP device tree. FVP parameter 'bp.dram_size' - size of main memory in gigabytes documented in docs/components/realm-management-extension.rst is changed from 2 to 4.
Signed-off-by: AlexeiFedorov <Alexei.Fedorov@arm.com> Change-Id: I174da4416ad5a8d41bf0ac89f356dba7c0cd3fe7
show more ...
|
| 55a7aa92 | 01-Dec-2022 |
David Vincze <david.vincze@arm.com> |
fix(rss): do not consider MHU_ERR_ALREADY_INIT as error
rss_comms_init() should return with success (0) in case of an internal MHU_ERR_ALREADY_INIT error code which is harmless (occurs when rss_comm
fix(rss): do not consider MHU_ERR_ALREADY_INIT as error
rss_comms_init() should return with success (0) in case of an internal MHU_ERR_ALREADY_INIT error code which is harmless (occurs when rss_comms_init() is called multiple times in a row).
Change-Id: Ibb1fef48a60866e80d3a389128cb8eef1332ea01 Signed-off-by: David Vincze <david.vincze@arm.com>
show more ...
|
| 15b70939 | 06-Dec-2022 |
Manish Pandey <manish.pandey2@arm.com> |
Merge "feat(qemu): support pointer authentication" into integration |
| 0312769f | 06-Dec-2022 |
Sandrine Bailleux <sandrine.bailleux@arm.com> |
Merge "refactor(arm): remove unused global" into integration |
| c42402cd | 13-Sep-2022 |
Jit Loon Lim <jit.loon.lim@intel.com> |
fix(intel): fix fcs_client crashed when increased param size
No overflow buffer checking for param size. There is a security threat. Update code to check for param size according to cryto param mode
fix(intel): fix fcs_client crashed when increased param size
No overflow buffer checking for param size. There is a security threat. Update code to check for param size according to cryto param mode.
Signed-off-by: Jit Loon Lim <jit.loon.lim@intel.com> Change-Id: I37a2d047edd9ff835b3f0986d85309c402887bef
show more ...
|
| 4687021d | 28-Sep-2022 |
Sieu Mun Tang <sieu.mun.tang@intel.com> |
feat(intel): extending to support SMMU in FCS
This patch is to extend support SMMU in FCS GET_DIGEST, MAC_VERIFY, ECDSA_SHA2_DATA_SIGNING and ECDSA_SHA2_DATA_SIGNATURE_VERIFY. It also will change to
feat(intel): extending to support SMMU in FCS
This patch is to extend support SMMU in FCS GET_DIGEST, MAC_VERIFY, ECDSA_SHA2_DATA_SIGNING and ECDSA_SHA2_DATA_SIGNATURE_VERIFY. It also will change to use asynchronous mailbox send command to improve fcs_client timing performance. Increase the SIP_SVC_VERSION_MAJOR because SMMU support is not backward compatible. Increase the SIP_SVC_VERSION_MINOR because 8 news function IDs are introduced.
Signed-off-by: Sieu Mun Tang <sieu.mun.tang@intel.com> Change-Id: I15e619e246531b065451f9b201646f3c50e26307
show more ...
|
| d8359cfa | 04-Dec-2022 |
Manish V Badarkhe <Manish.Badarkhe@arm.com> |
refactor(arm): remove unused global
Removed unused global from the assembly file.
Change-Id: I17ab70aa888af27865a9fb4436495197f460780f Signed-off-by: Manish V Badarkhe <Manish.Badarkhe@arm.com> |
| 10f4d1a2 | 01-Dec-2022 |
Joanna Farley <joanna.farley@arm.com> |
Merge "fix(zynqmp): initialize uint32 with value 0U in pm code" into integration |
| d141e638 | 21-Nov-2022 |
Boyan Karatotev <boyan.karatotev@arm.com> |
build: add -Wunused-const-variable=2 to W=2
TF-A is quite strict with warnings and redundant code. This flag furthers this so it would be useful to have it. Add it to W=2 as it sets off a few platfo
build: add -Wunused-const-variable=2 to W=2
TF-A is quite strict with warnings and redundant code. This flag furthers this so it would be useful to have it. Add it to W=2 as it sets off a few platforms which require a somewhat involved fix.
Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com> Change-Id: Id52b3d477b4ada7dd69a36101ab22c575ab4ef19
show more ...
|
| d75a9ecd | 21-Nov-2022 |
Boyan Karatotev <boyan.karatotev@arm.com> |
build: include -Wextra in generic builds
TF-A is more strict with compiler warnings in comparison to other projects (notably Linux) for security and -Wextra enables a lot of desirable warnings. This
build: include -Wextra in generic builds
TF-A is more strict with compiler warnings in comparison to other projects (notably Linux) for security and -Wextra enables a lot of desirable warnings. This patch enables -Wextra by default (from W=1 previously) and reorganises the warning levels so that they can useful when enabled and not just a build failure. This will help us move towards fixing the warnings that are too many to fix at once and enabling all W={1, 2} warnings.
The warning levels get new meanings: * W=1: warnings we want the generic build to include but are too time consuming to fix at the moment. They re-enable warnings taken out for generic builds. * W=2: warnings we want the generic build to include but cannot be enabled due to external libraries. * W=3: warnings that are informative but not necessary and generally too verbose and frequently ignored.
Quality expectations for new contributions mean that generally they should have no warnings up to W=2. To allow code to be developed with them in mind, -Werror is disabled when W=x is set. This way enabling warnings will not just fail the build due to technicalities we have and contributors will be able to actually see if they get any.
Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com> Change-Id: Ieb15ddd635d458a956a34b0f9d0ea2f81b9c0745
show more ...
|
| 228b06a5 | 22-Nov-2022 |
Boyan Karatotev <boyan.karatotev@arm.com> |
docs(porting-guide): update a reference
The BL31 part has been there forever and the PSCI reference is neither at section 3.3 or directly below. Update this to locate the section more easily.
Signe
docs(porting-guide): update a reference
The BL31 part has been there forever and the PSCI reference is neither at section 3.3 or directly below. Update this to locate the section more easily.
Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com> Change-Id: I9a86e4ef13d1ac5da743917493f63ddd7690e087
show more ...
|
| 02af589c | 22-Nov-2022 |
Boyan Karatotev <boyan.karatotev@arm.com> |
fix(st-usb): replace redundant checks with asserts
Returning enum usb_status in an enum usb_action function is wrong as they have different meanings. However, usb_dwc2_ep0_out_start() and usb_dwc2_a
fix(st-usb): replace redundant checks with asserts
Returning enum usb_status in an enum usb_action function is wrong as they have different meanings. However, usb_dwc2_ep0_out_start() and usb_dwc2_activate_setup() only return USBD_OK so we will never get to there. Replace these checks with asserts in case the code changes in future.
This also silences a warning when compiling with -Wextra.
Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com> Change-Id: I73dfd5c189a357544c15ceb3f4268da82ce272b9
show more ...
|
| 9f58bfbb | 22-Nov-2022 |
Boyan Karatotev <boyan.karatotev@arm.com> |
fix(brcm): add braces around bodies of conditionals
On release builds EMMC_TRACE doesn't expand to anything. Some conditionals with no braces end up with empty bodies. This produces a warning when c
fix(brcm): add braces around bodies of conditionals
On release builds EMMC_TRACE doesn't expand to anything. Some conditionals with no braces end up with empty bodies. This produces a warning when compiling with -Werror=empty-body (enabled by -Wextra).
Since TF-A coding guidelines require braces to comply with MISRA guidelines anyway, add them in the whole file.
Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com> Change-Id: Ib4e691efc7acdb8fb8692278c7a9772fc894f77f
show more ...
|
| 90c4b3b6 | 22-Nov-2022 |
Boyan Karatotev <boyan.karatotev@arm.com> |
fix(renesas): align incompatible function pointers
secure_boot_api_f is defined to take uint32_t, uint32_t, and void * parameters. However rom_secure_boot_api_f is defined to take uint32_t *, uint32
fix(renesas): align incompatible function pointers
secure_boot_api_f is defined to take uint32_t, uint32_t, and void * parameters. However rom_secure_boot_api_f is defined to take uint32_t *, uint32_t *, void *. These are incompatible and cause a warning when compiling with -Wextra. Align the rom definition to the more generic definition from where it's called.
Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com> Change-Id: Ia030803b3c2335d220aff09fc0eef5c7615276aa
show more ...
|
| d0b58c8a | 22-Nov-2022 |
Boyan Karatotev <boyan.karatotev@arm.com> |
fix(zynqmp): remove redundant api_version check
The api_version is checked in pm_setup() and an error is returned. The smc handlers will not be registered on error so doing the check again is redund
fix(zynqmp): remove redundant api_version check
The api_version is checked in pm_setup() and an error is returned. The smc handlers will not be registered on error so doing the check again is redundant. This also silences a warning when compiling with -Wextra.
Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com> Change-Id: I09395e6a20e3f6eb22a1f81ec2f6bdf034eeb4bf
show more ...
|
| f4b8470f | 22-Nov-2022 |
Boyan Karatotev <boyan.karatotev@arm.com> |
fix: remove old-style declarations
TF-A wants to eventually enable -Wold-style-definition globally. Convert the rare few instances where this is still the case.
Signed-off-by: Boyan Karatotev <boya
fix: remove old-style declarations
TF-A wants to eventually enable -Wold-style-definition globally. Convert the rare few instances where this is still the case.
Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com> Change-Id: I9c450fc875cf097e6de2ed577ea3b085821c9f5e
show more ...
|