| Date | Tue, 10 Oct 2023 17:12:00 -0500 | From | Andrew Halaney <> | Subject | Re: [PATCH v3 06/15] firmware: qcom: scm: smc: switch to using the SCM allocator |
| |
On Mon, Oct 09, 2023 at 05:34:18PM +0200, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> > > We need to allocate, map and pass a buffer to the trustzone if we have > more than 4 arguments for a given SCM calls. Let's use the new TrustZone > allocator for that memory and shrink the code in process. > > As this code lives in a different compilation unit than the rest of the > SCM code, we need to provide a helper in the form of > qcom_scm_get_tzmem_pool() that allows the SMC low-level routines to > access the SCM memory pool. > > Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Reviewed-by: Andrew Halaney <ahalaney@redhat.com>
|