Re: [PATCH 4.19 36/54] tee: add tee_shm_alloc_kernel_buf()

From: Tyler Hicks
Date: Wed Aug 11 2021 - 09:34:33 EST


On 2021-08-11 09:24:34, Pavel Machek wrote:
> Hi!
>
> > commit dc7019b7d0e188d4093b34bd0747ed0d668c63bf upstream.
> >
> > Adds a new function tee_shm_alloc_kernel_buf() to allocate shared memory
> > from a kernel driver. This function can later be made more lightweight
> > by unnecessary dma-buf export.
>
> 5.10 contains follow-up patches actually using the export, but 4.19
> does not. I believe it should be dropped from 4.19.

That's correct. Those follow-up patches that made use of this function
were only needed back to 5.4.

Tyler

>
> Best regards,
> Pavel
> --
> DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany