]> www.infradead.org Git - users/jedix/linux-maple.git/commit
firmware: qcom: scm: add support for SHM bridge memory carveout
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 27 May 2024 12:55:02 +0000 (14:55 +0200)
committerBjorn Andersson <andersson@kernel.org>
Sun, 23 Jun 2024 21:08:21 +0000 (16:08 -0500)
commita33b2579c8d303b353a1f7c743b096f150da70fa
treed5d309bca5a7b80253e7fcb2b6b2e6b907d4ba1f
parentf86c61498a573a19b19b0ba2784dc1bd4dcfc170
firmware: qcom: scm: add support for SHM bridge memory carveout

Parse the "memory-region" property and - if present - use it to assign
the dedicated reserved memory to the underlying DMA callbacks which will
then allocate memory for the SCM calls from it.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Reviewed-by: Elliot Berman <quic_eberman@quicinc.com>
Link: https://lore.kernel.org/r/20240527-shm-bridge-v10-12-ce7afaa58d3a@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/firmware/qcom/qcom_scm.c