From: Krzysztof Kozlowski <krzk@kernel.org>
To: Pankaj Gupta <pankaj.gupta@nxp.com>,
Jonathan Corbet <corbet@lwn.net>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Shawn Guo <shawnguo@kernel.org>,
Sascha Hauer <s.hauer@pengutronix.de>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
Fabio Estevam <festevam@gmail.com>
Cc: "linux-doc@vger.kernel.org" <linux-doc@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
"imx@lists.linux.dev" <imx@lists.linux.dev>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>
Subject: Re: [EXT] Re: [PATCH v12 4/5] firmware: imx: add driver for NXP EdgeLock Enclave
Date: Wed, 22 Jan 2025 13:57:52 +0100 [thread overview]
Message-ID: <d79c4d59-2186-4846-a202-aeff6d14d0c1@kernel.org> (raw)
In-Reply-To: <AM9PR04MB86045B01999B7B2E91434D4E95E12@AM9PR04MB8604.eurprd04.prod.outlook.com>
On 22/01/2025 13:55, Pankaj Gupta wrote:
>>
>>> NAK. Node can be called firmware and your entire driver collapes.
>> The macro is updated to verify the correct-ness of node-name.
>
>> NAK, do you understand the term? I provided the reasons for NAK.
> Your suggestion is to enable the driver for all allowed node names.
> 1. firmware
> 2. secure
> 3. secure-enclave
>
> Understood, will allow these names for the driver.
No, you just cannot have such checks.
>
>>
>> + (!memcmp(dev_of_node->full_name, NODE_NAME,
>> strlen(NODE_NAME)) ?\ ((strlen(dev_of_node->full_name) >
>> strlen(NODE_NAME)) ?\ GET_ASCII_TO_U8((strlen(dev_of_node-
>>> full_name) - strlen(NODE_NAME)),\ dev_of_node-
>>> full_name[strlen(NODE_NAME) + 1], \ -
>> dev_of_node->full_name[strlen(NODE_NAME) + 2]) : 0)
>> + dev_of_node-
>>> full_name[strlen(NODE_NAME) + 2]) : 0) : -EINVAL)
>>
>>>>> + info_list = device_get_match_data(dev); + if (idx >>=
>>>>> info_list->>num_mu) { + dev_err(dev,
>>>>> + "Incorrect node name :%s\n",
>>>>> + dev->>of_node->>full_name);
>>>
>>>> Nope. "firmware" or "secure" are correct node names.
>>> New check is added to validate the correctness of the node name for
>>> this driver. Replaced the message of " Incorrect node name..", with
>>> the help message.
>
>> You did not resolve the NAK.
>> 1. You cannot reject correct names.
> Ok, Understood.
>> 2. You cannot add undocumented ABI. You could try to document it, but it will
>> not solve the first problem.
> Ok. Will not add the ABI document.
Hm? I said you cannot add ABI without documentation and you say you will
not add the ABI?
Well, I NAK-ed this patch and consider all future versions having
anything close to this NAKed as well.
Best regards,
Krzysztof
next prev parent reply other threads:[~2025-01-22 12:57 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-20 16:52 [PATCH v12 0/5] Changes in v12: Pankaj Gupta
2025-01-20 11:39 ` [PATCH v12 0/5] Changes in v12: firmware: imx: driver for NXP secure-enclave Pankaj Gupta
2025-01-20 16:52 ` [PATCH v12 1/5] Documentation/firmware: add imx/se to other_interfaces Pankaj Gupta
2025-03-04 11:09 ` Ivan T. Ivanov
2025-01-20 16:52 ` [PATCH v12 2/5] dt-bindings: arm: fsl: add imx-se-fw binding doc Pankaj Gupta
2025-01-20 12:16 ` Krzysztof Kozlowski
2025-01-20 13:07 ` [EXT] " Pankaj Gupta
2025-01-20 15:01 ` Krzysztof Kozlowski
2025-01-22 10:35 ` Krzysztof Kozlowski
2025-01-22 18:26 ` Conor Dooley
2025-01-22 19:46 ` Frank Li
2025-01-22 10:37 ` Krzysztof Kozlowski
2025-01-20 16:52 ` [PATCH v12 3/5] arm64: dts: imx8ulp-evk: add nxp secure enclave firmware Pankaj Gupta
2025-01-20 16:52 ` [PATCH v12 4/5] firmware: imx: add driver for NXP EdgeLock Enclave Pankaj Gupta
2025-01-20 12:23 ` Krzysztof Kozlowski
2025-01-22 11:13 ` [EXT] " Pankaj Gupta
2025-01-22 11:23 ` Krzysztof Kozlowski
2025-01-22 12:55 ` Pankaj Gupta
2025-01-22 12:57 ` Krzysztof Kozlowski [this message]
2025-01-20 19:43 ` kernel test robot
2025-01-20 16:52 ` [PATCH v12 5/5] firmware: imx: adds miscdev 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=d79c4d59-2186-4846-a202-aeff6d14d0c1@kernel.org \
--to=krzk@kernel.org \
--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=robh@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=shawnguo@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