u-boot/drivers/firmware
Michal Simek 53f5d1688e firmware: zynqmp: fix write to an uninitialised pointer in ipi_req()
When a caller is not interested in the returned message, the ret_payload
pointer is set to NULL in the u-boot-sources. In this case, under EL3, the
memory from address 0x0 would be overwritten by ipi_req() with the returned
IPI message, damaging the original data under this address. The patch, in
case ret_payload is NULL, assigns the pointer to the array holding the IPI
message being sent.

Signed-off-by: Adrian Fiergolski <adrian.fiergolski@fastree3d.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Adrian Fiergolski <Adrian.Fiergolski@fastree3d.com>
Link: https://lore.kernel.org/r/3178ff7651948270b714daa4adad48b94eaca9ba.1634309856.git.michal.simek@xilinx.com
2021-10-21 08:54:50 +02:00
..
scmi WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
firmware-sandbox.c dm: test: Add "/firmware" node scan test 2018-09-29 11:49:35 -06:00
firmware-uclass.c treewide: Simply conditions with the new OF_REAL 2021-09-25 09:46:15 -06:00
firmware-zynqmp.c firmware: zynqmp: fix write to an uninitialised pointer in ipi_req() 2021-10-21 08:54:50 +02:00
Kconfig firmware: add SCMI agent uclass 2020-09-30 11:55:23 -04:00
Makefile firmware: add SCMI agent uclass 2020-09-30 11:55:23 -04:00
psci.c psci: Do not define do_poweroff() if CONFIG_SYSRESET_CMD_POWEROFF is enabled 2021-07-26 09:18:45 +02:00
ti_sci.c firmware: ti_sci: Add support for Resoure Management at R5 SPL stage. 2021-06-11 19:18:52 +05:30
ti_sci.h firmware: ti_sci: Update ti_sci_msg_req_reboot to include domain 2021-05-27 14:53:14 +05:30
ti_sci_static_data.h firmware: ti_sci: Implement GET_RANGE with static data 2021-06-11 19:18:52 +05:30