mbox series

[0/3] remoteproc/mediatek: read IPI buffer offset from FW binary

Message ID 20201113070207.836613-1-tzungbi@google.com (mailing list archive)
Headers show
Series remoteproc/mediatek: read IPI buffer offset from FW binary | expand

Message

Tzung-Bi Shih Nov. 13, 2020, 7:02 a.m. UTC
This series reads the address of IPI (inter-processor-interrupt) shared
buffer from the FW binary itself.

The 1st patch fixes a boundary check bug.

The 2nd patch skips a program header to parse if filesz is 0.

The 3rd patch parses the FW binary to find the shared buffer address.

The series bases on https://git.kernel.org/pub/scm/linux/kernel/git/andersson/remoteproc.git/log/?h=for-next

Tzung-Bi Shih (3):
  remoteproc/mediatek: fix boundary check
  remoteproc/mediatek: skip if filesz is 0
  remoteproc/mediatek: read IPI buffer offset from FW

 drivers/remoteproc/mtk_scp.c | 89 +++++++++++++++++++++++-------------
 1 file changed, 57 insertions(+), 32 deletions(-)