summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorSuman Anna <s-anna@ti.com>2020-03-10 16:05:54 -0500
committerLokesh Vutla <lokeshvutla@ti.com>2020-03-16 12:32:47 +0530
commit1e53d5b585fd0d318269c54c1fcdd67442d38843 (patch)
treed5960751ac0201286cee7d053c833191943bf43c /arch
parent0020003ef3aac0d56b0d1b26c1dcace4b7d1ae6f (diff)
remoteproc: k3-dsp: Add a sanity check for DSP boot address alignment
The DSP remote processors on K3 SoCs require a boot register to be programmed with a boot address, and these boot addresses need to be aligned on certain address boundaries. The current code does not have any error checks, and relies on the System Firmware to perform the checking. Add logic to perform this sanity check within the remoteproc driver itself to detect these anomalies specifically, and print a meaningful trace. This avoids the cumbersome debug of root-causing such failures from the corresponding TI-SCI failure. The C66x and C71x DSP cores have different alignment needs and are as follows: C66x DSP = 1 KB (0x400) C71x DSP = 2 MB (0x200000) Signed-off-by: Suman Anna <s-anna@ti.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions