arm-trusted-firmware/plat
Grzegorz Jaszczyk b143fa7491 plat: marvell: sip: make sure that comphy init will use correct address
The argument passed via x1 is used as a base address for comphy related
routines. Nevertheless validation of this address wasn't good enough and
allowed some non comphy related addresses to slip over.

To overcome this issue make sure that the address passed via SMC points
to valid CP range and allow to proceed comphy initializations only with
correct comphy offset.

This could be fixed in a different way e.g. by passing CP id from the
caller, but since this API is already used with various Linux, U-Boot
and UEFI versions it can't be changed.

Signed-off-by: Grzegorz Jaszczyk <jaz@semihalf.com>
Change-Id: Ia74dbc36efcfbefc4a102d31191e6af5808c4a82
2019-04-05 12:48:40 +02:00
..
allwinner allwinner: regulators: pick correct DT subnode 2019-03-08 15:35:30 +00:00
arm Remove several warnings reported with W=2 2019-04-01 10:43:42 +01:00
common Remove deprecated plat_crash_console_* 2019-04-03 14:55:18 +01:00
hisilicon hikey960: enable IOMCU DMAC 2019-02-11 11:50:49 -06:00
imx Makefile: remove extra include paths in INCLUDES 2019-04-03 15:30:46 +01:00
intel/soc/stratix10 intel: Enable watchdog timer on Intel S10 platform 2019-03-21 10:35:24 +08:00
layerscape Console: remove deprecated finish_console_register 2019-04-03 14:55:18 +01:00
marvell plat: marvell: sip: make sure that comphy init will use correct address 2019-04-05 12:48:40 +02:00
mediatek Remove deprecated plat_crash_console_* 2019-04-03 14:55:18 +01:00
meson meson/gxl: Add tool to create bl31 bootable images 2019-04-02 16:33:59 +02:00
nvidia/tegra Makefile: remove extra include paths in INCLUDES 2019-04-03 15:30:46 +01:00
qemu Remove deprecated plat_crash_console_* 2019-04-03 14:55:18 +01:00
renesas/rcar rcar_gen3: plat: Add R-Car V3M support 2019-04-02 15:37:00 +02:00
rockchip rockchip: add an fdt parsing stub for platform param 2019-03-14 22:45:15 +01:00
rpi3 rpi3: sdhost: SDHost driver improvement 2019-02-27 01:06:57 +08:00
socionext plat/arm: mhu: make mhu driver generic 2019-03-13 09:54:35 +09:00
st stm32mp1: zeromem device_info struct 2019-03-07 10:56:17 +01:00
ti/k3 ti: k3: common: Do not release processor control on startup 2019-02-11 16:13:30 -06:00
xilinx Remove deprecated plat_crash_console_* 2019-04-03 14:55:18 +01:00