On Mon, Aug 31, 2026 at 04:53:12PM -0700, Nathan Chancellor wrote:
Hi folks,
On Fri, Aug 07, 2026 at 12:05:13PM -0700, Nathan Chancellor wrote:
On Fri, Aug 07, 2026 at 06:50:41PM +0100, 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@arndb.de Signed-off-by: Julian Braha julianbraha@gmail.com
...
A note to the maintainers: We would like to turn selecting a choice symbol into a hard error in 7.4, so please consider picking this up for 7.3-rc1.
I would like to pick up
https://lore.kernel.org/20260804-kconfig-warn-on-dead-select-for-choice-valu...
for 7.4 but this was the only patch that did not make 7.3-rc1. Could I take it via the Kconfig tree with an ack or be given a shared branch so that I can pull it in before I take the above patch?
I have picked this up via the Kbuild tree as
35abc3cd8ab6 ("tee: remove TZMEM_MODE_GENERIC")
to allow me to pick up the above patch. If you would like to pull it in, I have added a stable tag.
The following changes since commit cee9395acd8043be0644b25c34bfa86623f2b935:
Linux 7.3-rc1 (2026-08-30 13:34:40 -0700)
are available in the Git repository at:
git@gitolite.kernel.org:pub/scm/linux/kernel/git/kbuild/linux.git tags/kbuild-tzmem-kconfig-7.4
for you to fetch changes up to 35abc3cd8ab65dd7d07d4fc48a0d7048ce47d055:
tee: remove TZMEM_MODE_GENERIC (2026-09-17 16:34:13 -0700)
---------------------------------------------------------------- Stable tag for "tee: remove TZMEM_MODE_GENERIC"
Apply "tee: remove TZMEM_MODE_GENERIC" so that the Kbuild tree can turn on a warning about selecting a choice configuration option.
Signed-off-by: Nathan Chancellor nathan@kernel.org
---------------------------------------------------------------- Julian Braha (1): tee: remove TZMEM_MODE_GENERIC
drivers/firmware/qcom/Kconfig | 26 +++++--------------------- drivers/firmware/qcom/qcom_tzmem.c | 4 ++-- 2 files changed, 7 insertions(+), 23 deletions(-)