]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - include/linux/qcom_scm.h
firmware: scm: Add new SCM call API for switching memory ownership
authorAvaneesh Kumar Dwivedi <akdwived@codeaurora.org>
Tue, 24 Oct 2017 15:52:24 +0000 (21:22 +0530)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 31 Oct 2017 01:37:07 +0000 (18:37 -0700)
commitd82bd359972a7fe71a778396cf287bc9f9f3b981
treedf307c9a6cbcc61776718603160b3684614854b8
parent33d930e59a98fa10a0db9f56c7fa2f21a4aef9b9
firmware: scm: Add new SCM call API for switching memory ownership

Two different processors on a SOC need to switch memory ownership
during load/unload. To enable this, second level memory map table
need to be updated, which is done by secure layer.
This patch adds the interface for making secure monitor call for
memory ownership switching request.

Acked-by: Andy Gross <andy.gross@linaro.org>
Signed-off-by: Avaneesh Kumar Dwivedi <akdwived@codeaurora.org>
[bjorn: Minor style and kerneldoc updates]
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/firmware/qcom_scm-32.c
drivers/firmware/qcom_scm-64.c
drivers/firmware/qcom_scm.c
drivers/firmware/qcom_scm.h
include/linux/qcom_scm.h