From: Frieder Schrempf <frieder.schrempf@kontron.de>
To: Frank Li <Frank.li@oss.nxp.com>
Cc: Arnd Bergmann <arnd@arndb.de>,
pankaj.gupta@oss.nxp.com, Jonathan Corbet <corbet@lwn.net>,
Shuah Khan <skhan@linuxfoundation.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>, Frank Li <Frank.Li@nxp.com>,
Sascha Hauer <s.hauer@pengutronix.de>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
Fabio Estevam <festevam@gmail.com>,
Pankaj Gupta <pankaj.gupta@nxp.com>,
Randy Dunlap <rdunlap@infradead.org>,
linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org,
devicetree@vger.kernel.org, imx@lists.linux.dev,
linux-arm-kernel@lists.infradead.org, Peng Fan <peng.fan@nxp.com>
Subject: Re: [PATCH v51 5/7] firmware: imx: adds miscdev
Date: Wed, 18 Nov 2026 17:01:01 +0100 [thread overview]
Message-ID: <a2d7056c-602b-4c6b-bb14-211843aa3183@kontron.de> (raw)
In-Reply-To: <av3KA89WuUc5GdZj@SMW015318>
On 18.11.26 16:53, Frank Li wrote:
> On Wed, Nov 18, 2026 at 03:43:28PM +0100, Frieder Schrempf wrote:
>> On 18.11.26 13:46, Frieder Schrempf wrote:
>>> +Cc: Peng
>>>
>>> Hi NXP developers,
>>>
>>> On 05.10.26 16:28, Frieder Schrempf wrote:
>>>> On 16.09.26 16:39, Frank Li wrote:
>>>>> On Wed, Sep 16, 2026 at 03:16:13PM +0200, Arnd Bergmann wrote:
>>>>>> On Mon, Sep 14, 2026, at 21:40, pankaj.gupta@oss.nxp.com wrote:
>>>>>>> From: Pankaj Gupta <pankaj.gupta@nxp.com>
>>>>>>>
>>>>>>> Adds the driver for communication interface to secure-enclave, that
>>>>>>> enables exchanging messages with NXP secure enclave HW IP(s)
>>>>>>> like EdgeLock Enclave, from:
>>>>>>> - User-Space Applications via character driver.
>>>>>>>
>>>>>>> ABI documentation for the NXP secure-enclave driver.
>>>>>>
>>>>>> I just saw this in linux-next, where it has caused a build failure
>>>>>> for a missing include of linux/slab.h. I hadn't see the series
>>>>>> before (even though it is a v51, which seems crazy), but I am
>>>>>
>>>>> It is in linux-next about v37, but build bot find many problems, I dropped
>>>>> it and request to fix it. And sashiko is online recently and also find many
>>>>> risk. I request to clean up it, and local AI environment have difference
>>>>> with sashiko, so bump to v51.
>>>>>
>>>>> I put to linux-next again to make sure that pass all build test.
>>>>>
>>>>> Other two problems, need more time to check whole review history. reply
>>>>> you later.
>>>>
>>>> So this is still in linux-next, but was not sent in the pull request for
>>>> 7.4. It's rather confusing to me that maintainers add stuff to
>>>> linux-next for build-testing and then leave it there, neither removing
>>>> it, nor continuing the mainlining process.
>>>>
>>>> Frank, what is the plan?
>>>>
>>>> I'm currently rebasing my work for the NVMEM driver onto linux-next, but
>>>> as there have been so many iterations and this whole thing took so long,
>>>> I want to make sure that this is not another dead end where I'm wasting
>>>> my time on.
>>>
>>> I need to ping here, again. What is the plan at NXP to move on with
>>> this? This is blocking multiple features that depend on ELE firmware
>>> support for i.MX9 and similar platforms from being upstreamed.
>> To be more constructive, here is a proposal: let's get the
>> kernel-internal part of this series merged first (patch 2-4, DT patches
>> 6-7, doc patch 1 reduced to kernel side). I currently don't see any
>> objections or issues with those.
>>
>> This would unblock drivers using the in-kernel API, such as the NVMEM
>> driver and this is also the part I already tested when working on [1].
>>
>> The somewhat more controversial uAPI in patch 5 can then be further
>> discussed until there is a consensus on it.
>>
>> Arnd, Frank, would that work for you?
>
> It needs at least one user for the in-kernel API.
I can provide the NVMEM driver as user. I just need to rebase my series
on the new reduced firmware driver patchset once that has been posted.
Or if you want to have this all in one series, maybe someone at NXP
(Pankaj?) can provide the firmware driver as proposed above in a public
git tree somewhere or send it as RFC. Then I will provide the NVMEM
patches on top of this for you to pick up and send in a combined series.
Just let me know what works best for you.
>>
>> Pankaj, can you prepare such a reduced series?
>>
>> [1]
>> https://patchwork.kernel.org/project/linux-arm-kernel/cover/20260727-upstreaming-next-20260609-imx-ocotp-ele-v4-0-1a515de33093@kontron.de/
next prev parent reply other threads:[~2026-11-18 16:01 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-14 19:39 [PATCH v51 0/7] firmware: imx: driver for NXP secure-enclave pankaj.gupta
2026-09-14 19:39 ` [PATCH v51 1/7] Documentation/firmware: add imx/se to other_interfaces pankaj.gupta
2026-09-14 19:39 ` [PATCH v51 2/7] dt-bindings: arm: fsl: add imx-se-fw binding doc pankaj.gupta
2026-09-14 19:40 ` [PATCH v51 3/7] firmware: imx: add driver for NXP EdgeLock Enclave pankaj.gupta
2026-09-14 19:40 ` [PATCH v51 4/7] firmware: imx: device context dedicated to priv pankaj.gupta
2026-09-14 19:40 ` [PATCH v51 5/7] firmware: imx: adds miscdev pankaj.gupta
2026-09-16 13:16 ` Arnd Bergmann
2026-09-16 14:39 ` Frank Li
2026-10-05 14:28 ` Frieder Schrempf
2026-11-18 12:46 ` Frieder Schrempf
2026-11-18 14:43 ` Frieder Schrempf
2026-11-18 15:53 ` Frank Li
2026-11-18 16:01 ` Frieder Schrempf [this message]
2026-09-24 16:14 ` [EXT] " Pankaj Gupta
2026-09-14 19:40 ` [PATCH v51 6/7] arm64: dts: imx8ulp: add secure enclave node pankaj.gupta
2026-09-14 19:40 ` [PATCH v51 7/7] arm64: dts: imx8ulp: add reserved memory for EdgeLock Enclave pankaj.gupta
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=a2d7056c-602b-4c6b-bb14-211843aa3183@kontron.de \
--to=frieder.schrempf@kontron.de \
--cc=Frank.Li@nxp.com \
--cc=Frank.li@oss.nxp.com \
--cc=arnd@arndb.de \
--cc=conor+dt@kernel.org \
--cc=corbet@lwn.net \
--cc=devicetree@vger.kernel.org \
--cc=festevam@gmail.com \
--cc=imx@lists.linux.dev \
--cc=kernel@pengutronix.de \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pankaj.gupta@nxp.com \
--cc=pankaj.gupta@oss.nxp.com \
--cc=peng.fan@nxp.com \
--cc=rdunlap@infradead.org \
--cc=robh@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=skhan@linuxfoundation.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®