| 6aea7624 | 29-Sep-2022 |
Vijayenthiran Subramaniam <vijayenthiran.subramaniam@arm.com> |
fix(gicv3/multichip): fix overflow caused by left shift
When spi_id_max is 5119, the expression `(spi_id_max - 4096U + 1U >> 5)` evaluates to 32 leading to undefined behavior when using it to left s
fix(gicv3/multichip): fix overflow caused by left shift
When spi_id_max is 5119, the expression `(spi_id_max - 4096U + 1U >> 5)` evaluates to 32 leading to undefined behavior when using it to left shift 1. Fix this undefined behavior.
Reported-by coverity scan: https://lists.trustedfirmware.org/archives/list/tf-a@lists.trustedfirmware.org/thread/RMB4U7COL6IONZWEGF2FWXOQ6FPDIT4U/
``` large_shift: In expression 1 << (spi_id_max - 4096U + 1U >> 5), left shifting by more than 31 bits has undefined behavior. The shift amount, spi_id_max - 4096U + 1U >> 5, is as much as 32. ```
Signed-off-by: Vijayenthiran Subramaniam <vijayenthiran.subramaniam@arm.com> Change-Id: I5e77a78b81a6d0367875e7ea432a82b6ba0e587c
show more ...
|
| 6aa71542 | 08-Sep-2022 |
Tamas Ban <tamas.ban@arm.com> |
fix(rss): remove dependency on attestation header
Platform must define the maximum size of the message over MHU.
Signed-off-by: Tamas Ban <tamas.ban@arm.com> Change-Id: I91a6c132c946f4465178910b8ea
fix(rss): remove dependency on attestation header
Platform must define the maximum size of the message over MHU.
Signed-off-by: Tamas Ban <tamas.ban@arm.com> Change-Id: I91a6c132c946f4465178910b8ea83544f562e837
show more ...
|
| 14a28923 | 22-Jul-2022 |
Pranav Madhu <pranav.madhu@arm.com> |
feat(scmi): send powerdown request to online secondary cpus
To initiate a reset or reboot, the nonsecure OS invokes the PSCI SYSTEM_RESET function from any one core. As per the PSCI specification, i
feat(scmi): send powerdown request to online secondary cpus
To initiate a reset or reboot, the nonsecure OS invokes the PSCI SYSTEM_RESET function from any one core. As per the PSCI specification, it is the responsibility of firmware to implement the system view of the reset or reboot operation. For the platforms supported by CSS, trigger the reset/reboot operation by sending an SGI to rest all CPUs which are online. The CPUs respond to this interrupt by initiating its powerdown sequence.
In addition to these changes, fix coding style issues that are not directly related to the code being introduced in this patch.
Change-Id: I547253ee28ef7eefa78180d016893671a406bbfa Signed-off-by: Pranav Madhu <pranav.madhu@arm.com>
show more ...
|
| ce0c40ed | 18-Jan-2022 |
Tamas Ban <tamas.ban@arm.com> |
feat(drivers/arm/rss): add RSS communication driver
This commit adds a driver to conduct the AP's communication with the Runtime Security Subsystem (RSS). RSS is Arm's reference implementation for t
feat(drivers/arm/rss): add RSS communication driver
This commit adds a driver to conduct the AP's communication with the Runtime Security Subsystem (RSS). RSS is Arm's reference implementation for the CCA HES [1]. It can be considered as a secure enclave to which, for example, certain services can be offloaded such as initial attestation.
RSS comms driver: - Relies on MHU v2.x communication IP, using a generic MHU API, - Exposes the psa_call(..) API to the upper layers.
[1] https://developer.arm.com/documentation/DEN0096/latest
Signed-off-by: Tamas Ban <tamas.ban@arm.com> Signed-off-by: David Vincze <david.vincze@arm.com> Change-Id: Ib174ac7d1858834006bbaf8aad0eb31e3a3ad107
show more ...
|