marvell/a3700: Prevent SError accessing PCIe link while it is down
authorRemi Pommarel <repk@triplefau.lt>
Sun, 14 Jul 2019 18:49:12 +0000 (20:49 +0200)
committerRemi Pommarel <repk@triplefau.lt>
Tue, 16 Jul 2019 15:04:00 +0000 (17:04 +0200)
commit3c7dcdac5c50c45cb35111a01ecdd7fb93654cb3
tree708499ae62c092181ae9a3129b493350659d4c3d
parent6e9e15b0b2aa22fca3354417a685320811e243e3
marvell/a3700: Prevent SError accessing PCIe link while it is down

When the link goes down (e.g. during a retrain), accessing the device
configuration space can trigger an ARM64 SError interrupt. Such
conditions cannot be predicted, so to avoid a crash the SError is
ignored.

Signed-off-by: Remi Pommarel <repk@triplefau.lt>
Change-Id: I2b1fd3296cc1c88b9ca1fe21c0924cb324eed58d
plat/marvell/a3700/common/a3700_common.mk
plat/marvell/a3700/common/a3700_ea.c [new file with mode: 0644]