mailbox: sm1: pass irdeto ifcp testing [1/2]
authorWayling Chen <wayling.chen@amlogic.com>
Thu, 31 Oct 2019 11:05:08 +0000 (19:05 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Mon, 23 Dec 2019 10:21:57 +0000 (03:21 -0700)
commitf41c50e2d7129029b4b006024ac0cf853b739fec
treefde81503cc1733768ea975327ad97446f4bd719d
parent8257470c85b27c058c41e9045615e836fd3fca1b
mailbox: sm1: pass irdeto ifcp testing [1/2]

PD#SWPL-15621

Problem:
1.irdeto ifcp can't work on amlogic mailbox.

Solution:
fix completion usage and mailbox payload offset
fix mailbox send buffer size to fit bl40_msg_buf struct

Verify:
    test pass on sm1 skt

Change-Id: Iea33427125b1f221241331730e2869d3b2b369f2
Signed-off-by: Wayling Chen <wayling.chen@amlogic.com>
drivers/amlogic/mailbox/meson_mhu.c
drivers/amlogic/mailbox/scpi_protocol.c
include/linux/amlogic/scpi_protocol.h