From: Nathan Chancellor <nathan@kernel.org>
To: Julian Braha <julianbraha@gmail.com>, andersson@kernel.org
Cc: amirreza.zarrabi@oss.qualcomm.com, jenswi@kernel.org,
sumit.garg@kernel.org, arnd@arndb.de, geert+renesas@glider.be,
amirreza.zarrabi@oss.qualcomm.org,
op-tee@lists.trustedfirmware.org, linux-kernel@vger.kernel.org,
quic_eberman@quicinc.com, brgl@kernel.org,
harshal.dev@oss.qualcomm.com, nsc@kernel.org,
jani.nikula@linux.intel.com, kees@kernel.org
Subject: Re: [PATCH v3] tee: remove TZMEM_MODE_GENERIC
Date: Thu, 17 Sep 2026 16:44:56 -0700 [thread overview]
Message-ID: <20260917234456.GA1570097@ax162> (raw)
In-Reply-To: <20260831235305.GA2963642@ax162>
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-value-v1-1-e5c9a274d291@kernel.org/
>
> 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(-)
--
Cheers,
Nathan
next prev parent reply other threads:[~2026-09-17 23:45 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-07 17:50 Julian Braha
2026-08-07 18:33 ` Arnd Bergmann
2026-08-07 19:05 ` Nathan Chancellor
2026-08-31 23:53 ` Nathan Chancellor
2026-09-17 23:44 ` Nathan Chancellor [this message]
2026-09-01 9:02 ` Bartosz Golaszewski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260917234456.GA1570097@ax162 \
--to=nathan@kernel.org \
--cc=amirreza.zarrabi@oss.qualcomm.com \
--cc=amirreza.zarrabi@oss.qualcomm.org \
--cc=andersson@kernel.org \
--cc=arnd@arndb.de \
--cc=brgl@kernel.org \
--cc=geert+renesas@glider.be \
--cc=harshal.dev@oss.qualcomm.com \
--cc=jani.nikula@linux.intel.com \
--cc=jenswi@kernel.org \
--cc=julianbraha@gmail.com \
--cc=kees@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nsc@kernel.org \
--cc=op-tee@lists.trustedfirmware.org \
--cc=quic_eberman@quicinc.com \
--cc=sumit.garg@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®