From: Linus Torvalds Date: Sat, 18 Nov 2017 04:14:10 +0000 (-0800) Subject: Merge tag 'rproc-v4.15' of git://github.com/andersson/remoteproc X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=4f88bd23baab4335e96d38828ef38124ec717eb9;p=openwrt%2Fstaging%2Fblogic.git Merge tag 'rproc-v4.15' of git://github.com/andersson/remoteproc Pull remoteproc updates from Bjorn Andersson: "This adds an interface for configuring Qualcomm's "secure SMMU" and adds support for booting the modem Hexagon on MSM8996. Two new debugfs entries are added in the remoteproc core to introspect the list of memory carveouts and the loaded resource table" * tag 'rproc-v4.15' of git://github.com/andersson/remoteproc: remoteproc: qcom: Fix error handling paths in order to avoid memory leaks remoteproc: qcom: Drop pr_err in q6v5_xfer_mem_ownership() remoteproc: debug: add carveouts list dump feature remoteproc: debug: add resource table dump feature remoteproc: qcom: Add support for mss remoteproc on msm8996 remoteproc: qcom: Make secure world call for mem ownership switch remoteproc: qcom: refactor mss fw image loading sequence firmware: scm: Add new SCM call API for switching memory ownership --- 4f88bd23baab4335e96d38828ef38124ec717eb9 diff --cc drivers/firmware/qcom_scm.c index 9064e559a01f,334eaa341828..af4c75217ea6 --- a/drivers/firmware/qcom_scm.c +++ b/drivers/firmware/qcom_scm.c @@@ -43,10 -38,21 +43,23 @@@ struct qcom_scm struct clk *iface_clk; struct clk *bus_clk; struct reset_controller_dev reset; + + u64 dload_mode_addr; }; + struct qcom_scm_current_perm_info { + __le32 vmid; + __le32 perm; + __le64 ctx; + __le32 ctx_size; + __le32 unused; + }; + + struct qcom_scm_mem_map_info { + __le64 mem_addr; + __le64 mem_size; + }; + static struct qcom_scm *__scm; static int qcom_scm_clk_enable(void)