Re: [PATCH v2] tee: remove TZMEM_MODE_GENERIC

"Arnd Bergmann" <[email protected]> Wed, 29 Jul 2026 22:44:27 +0200
Newsgroups org.trustedfirmware.lists.op-tee,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
On Wed, Jul 29, 2026, at 22:38, 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 <[email protected]>
> Signed-off-by: Julian Braha <[email protected]>

Looks good to me,

Reviewed-by: Arnd Bergmann <[email protected]>