Re: [PATCH v3] tee: remove TZMEM_MODE_GENERIC

From: Arnd Bergmann

Date: Fri Aug 07 2026 - 14:35:37 EST


On Fri, Aug 7, 2026, at 19:50, Julian Braha wrote:
> 'select' does not work on config options in a 'choice', so currently it is
> possible to enable QCOMTEE without QCOM_TZMEM_MODE_SHMBRIDGE, even though
> this is needed at runtime.
>
> There are no users of the generic allocator option,
> QCOM_TZMEM_MODE_GENERIC, so let's remove it. Then, we can remove the
> containing choice..endchoice, which allows the 'select' to work as
> intended.
>
> Suggested-by: Arnd Bergmann <arnd@xxxxxxxx>
> Signed-off-by: Julian Braha <julianbraha@xxxxxxxxx>

Reviewed-by: Arnd Bergmann <arnd@xxxxxxxx>

> Changes since v1:
> - remove TZMEM_MODE_GENERIC instead of removing the dead select

Looks good now.