Android 7.1.2 Release 0.20 (NJH47B,marlin)
msm: ipa3: Validate IPA and GSI firmwares before loading

IPA and GSI firmwares are saved on the file-system as an
ELF file. IPA driver extracts the firmwares and load
them during driver initialization.
This change adds validation steps to each firmware before
loading: load addresses, memory sizes, firmware sizes and
more...

Bug: 36252377
Change-Id: I7d7f66e8e8a9ca0efae08b1e57b25ae4e44cc5bb
CRs-fixed: 1110522
Signed-off-by: Ghanim Fodi <gfodi@codeaurora.org>
Signed-off-by: Wei Wang <wvw@google.com>
11 files changed