u-boot/drivers
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
..
adc dm: define LOG_CATEGORY for all uclass 2021-07-06 10:38:03 -06:00
ata pci: Fix mismerge with v2021.10-rc4 2021-09-16 11:46:44 -04:00
axi WS cleanup: remove trailing empty lines 2021-09-30 08:08:56 -04:00
bios_emulator pci: Drop DM_PCI check from bios_emul 2021-08-05 19:46:35 -04:00
block Kconfig: Remove all default n/no options 2021-08-31 17:47:49 -04:00
bootcount bootcount: add a new driver with syscon as backend 2021-08-22 11:04:52 +02:00
bus bus: ti-sysc: change in a normal driver 2021-03-22 19:23:27 +13:00
button dm: define LOG_CATEGORY for all uclass 2021-07-06 10:38:03 -06:00
cache WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
clk clk: fixed_rate: add dummy disable() function 2021-10-19 11:25:25 -04:00
core - Disable ATAGS for STM32 MCU and MPU boards 2021-10-12 12:01:00 -04:00
cpu sandbox: correct cpu nodes 2021-09-25 09:46:15 -06:00
crypto WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
ddr WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
demo demo: migrate uclass to livetree 2021-10-05 08:50:15 -04:00
dfu Kconfig: Remove all default n/no options 2021-08-31 17:47:49 -04:00
dma ti: keystone: dma: Migrate to Kconfig 2021-09-27 21:38:34 -04:00
fastboot fastboot: fix partition name truncation in environment lookup 2021-10-12 16:48:38 -04:00
firmware firmware: zynqmp: fix write to an uninitialised pointer in ipi_req() 2021-10-21 08:54:50 +02:00
fpga WS cleanup: remove trailing empty lines 2021-09-30 08:08:56 -04:00
gpio drivers/gpio: add support for MAX7320 i2c i/o expander 2021-10-19 11:25:24 -04:00
hwspinlock dm: define LOG_CATEGORY for all uclass 2021-07-06 10:38:03 -06:00
i2c - Disable ATAGS for STM32 MCU and MPU boards 2021-10-12 12:01:00 -04:00
input i8042: Do not abuse CONFIG namespace 2021-08-30 14:13:28 -04:00
led dm: define LOG_CATEGORY for all uclass 2021-07-06 10:38:03 -06:00
mailbox dm: define LOG_CATEGORY for all uclass 2021-07-06 10:38:03 -06:00
memory keystone2: Move CONFIG_AEMIF_CNTRL_BASE out of CONFIG namespace 2021-09-27 21:38:34 -04:00
misc - Disable ATAGS for STM32 MCU and MPU boards 2021-10-12 12:01:00 -04:00
mmc mmc: zynq_sdhci: Add xilinx_pm_request weak function 2021-10-21 08:50:59 +02:00
mtd mtd: rawnand: Add Macronix raw NAND controller driver 2021-10-12 16:48:38 -04:00
mux dm: define LOG_CATEGORY for all uclass 2021-07-06 10:38:03 -06:00
net net: gem: Disable broadcast setting 2021-10-21 08:53:55 +02:00
nvme nvme: invalidate correct memory range after read 2021-10-12 16:49:21 -04:00
pch treewide: Simply conditions with the new OF_REAL 2021-09-25 09:46:15 -06:00
pci pci: Fix printf format for regions 2021-10-14 19:45:07 -04:00
pci_endpoint dm: define LOG_CATEGORY for all uclass 2021-07-06 10:38:03 -06:00
phy - Disable ATAGS for STM32 MCU and MPU boards 2021-10-12 12:01:00 -04:00
pinctrl pinctrl: single: Add request() api 2021-10-05 08:43:03 -04:00
power Merge https://source.denx.de/u-boot/custodians/u-boot-sunxi 2021-10-12 11:45:00 -04:00
pwm pwm: Add PWM driver for SAMA5D2 2021-10-12 15:18:39 +03:00
qe net: qe: uec: ensure mdiodev->name is NULL terminated after MDIO_NAME_LEN truncation 2021-09-28 18:50:56 +03:00
ram WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
reboot-mode reboot-mode: migrate uclass to livetree 2021-10-05 08:50:15 -04:00
remoteproc remoteproc: migrate uclass to livetree 2021-10-05 08:50:15 -04:00
reset clk: sunxi: Move header out of arch directory 2021-10-11 10:46:44 +01:00
rng Kconfig: Remove all default n/no options 2021-08-31 17:47:49 -04:00
rtc rtc: ds1307: Handle oscillator-stop bit correctly 2021-10-12 16:49:21 -04:00
scsi sata: Rename SATA_SUPPORT to SATA 2021-09-04 12:26:02 -04:00
serial - Disable ATAGS for STM32 MCU and MPU boards 2021-10-12 12:01:00 -04:00
smem dm: define LOG_CATEGORY for all uclass 2021-07-06 10:38:03 -06:00
soc soc: xilinx: versal: Add soc_xilinx_versal driver 2021-08-26 08:08:11 +02:00
sound dm: define LOG_CATEGORY for all uclass 2021-07-06 10:38:03 -06:00
spi spi: rockchip_sfc: Using read_poll 2021-10-15 20:57:11 +08:00
spmi dm: define LOG_CATEGORY for all uclass 2021-07-06 10:38:03 -06:00
sysinfo sysinfo: rcar3: Add Renesas R-Car Gen3 sysinfo driver 2021-07-20 23:33:54 +02:00
sysreset sysreset: provide SBI based sysreset driver 2021-10-07 16:08:23 +08:00
tee tee: optee: sync cache on pre-reloc OP-TEE invocation 2021-07-23 07:13:25 -04:00
thermal WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
timer - Disable ATAGS for STM32 MCU and MPU boards 2021-10-12 12:01:00 -04:00
tpm treewide: Simply conditions with the new OF_REAL 2021-09-25 09:46:15 -06:00
ufs dm: define LOG_CATEGORY for all uclass 2021-07-06 10:38:03 -06:00
usb Convert CONFIG_USB_EHCI_IS_TDI to Kconfig 2021-10-15 09:42:22 -04:00
video sunxi: video: Convert panel I2C to use DM_I2C 2021-10-12 11:01:17 +01:00
virtio pci: Drop DM_PCI 2021-09-13 18:23:13 -04:00
w1 arm: Remove zmx25 board and ARCH_MX25 2021-10-01 21:08:18 -04:00
w1-eeprom dm: define LOG_CATEGORY for all uclass 2021-07-06 10:38:03 -06:00
watchdog watchdog: rti_wdt: Add support for loading firmware 2021-10-03 14:40:56 -04:00
xen WS cleanup: remove trailing empty lines 2021-09-30 08:08:56 -04:00
Kconfig reboot-mode: add support for reboot mode control 2021-07-23 10:16:39 -04:00
Makefile net: Move network rules to drivers/net 2021-09-04 12:51:47 -04:00