diff options
author | Suman Anna <[email protected]> | 2020-03-24 13:00:23 +0200 |
---|---|---|
committer | Bjorn Andersson <[email protected]> | 2020-03-25 22:29:47 -0700 |
commit | feae0300536a9220d2d696798ef3952d612ac73d (patch) | |
tree | 73063bd603e1d0dc54d4bc6db2e51c0fde351bf9 /scripts/bpf_helpers_doc.py | |
parent | 75242927014f532b9a04c4c2fb74566e2b0da70a (diff) |
remoteproc/omap: Add a sanity check for DSP boot address alignment
The DSP remote processors on OMAP SoCs require a boot register to
be programmed with a boot address, and this boot address needs to
be on a 1KB boundary. The current code is simply masking the boot
address appropriately without performing any sanity checks before
releasing the resets. An unaligned boot address results in an
undefined execution behavior and can result in various bus errors
like MMU Faults or L3 NoC errors. Such errors are hard to debug and
can be easily avoided by adding a sanity check for the alignment
before booting a DSP remote processor.
Signed-off-by: Suman Anna <[email protected]>
Signed-off-by: Tero Kristo <[email protected]>
Reviewed-by: Bjorn Andersson <[email protected]>
Reviewed-by: Andrew F. Davis <[email protected]>
Acked-by: Mathieu Poirier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Bjorn Andersson <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions