[EXT] Re: [PATCH v4 6/7] firmware: imx: add driver for NXP EdgeLock Enclave

Krzysztof Kozlowski krzysztof.kozlowski at linaro.org
Thu Aug 24 11:43:05 PDT 2023


On 08/08/2023 14:36, Pankaj Gupta wrote:
> 
> 
>> -----Original Message-----
>> From: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>
>> Sent: Thursday, July 13, 2023 12:27 AM
>> To: Pankaj Gupta <pankaj.gupta at nxp.com>; shawnguo at kernel.org;
>> s.hauer at pengutronix.de; kernel at pengutronix.de; clin at suse.com;
>> conor+dt at kernel.org; pierre.gondois at arm.com; Jacky Bai
>> <ping.bai at nxp.com>; Clark Wang <xiaoning.wang at nxp.com>; Wei Fang
>> <wei.fang at nxp.com>; Peng Fan <peng.fan at nxp.com>; Bough Chen
>> <haibo.chen at nxp.com>; festevam at gmail.com; dl-linux-imx <linux-
>> imx at nxp.com>; davem at davemloft.net; robh+dt at kernel.org;
>> krzysztof.kozlowski+dt at linaro.org; linux-arm-kernel at lists.infradead.org;
>> devicetree at vger.kernel.org; linux-kernel at vger.kernel.org; Gaurav Jain
>> <gaurav.jain at nxp.com>; alexander.stein at ew.tq-group.com; Sahil Malhotra
>> <sahil.malhotra at nxp.com>; Aisheng Dong <aisheng.dong at nxp.com>; Varun
>> Sethi <V.Sethi at nxp.com>
>> Cc: kernel test robot <lkp at intel.com>
>> Subject: [EXT] Re: [PATCH v4 6/7] firmware: imx: add driver for NXP EdgeLock
>> Enclave
>>
>> Caution: This is an external email. Please take care when clicking links or
>> opening attachments. When in doubt, report the message using the 'Report
>> this email' button
>>
>>
>> On 12/07/2023 14:12, Pankaj Gupta wrote:
>>> The Edgelock Enclave , is the secure enclave embedded in the SoC to
>>> support the features like HSM, SHE & V2X, using message based
>>> communication channel.
>>>
>>> ELE FW communicates on a dedicated MU with application core where
>>> kernel is running. It exists on specific i.MX processors. e.g.
>>> i.MX8ULP, i.MX93.
>>>
>>> Signed-off-by: Gaurav Jain <gaurav.jain at nxp.com>
>>> Signed-off-by: Pankaj Gupta <pankaj.gupta at nxp.com>
>>> Reported-by: kernel test robot <lkp at intel.com>
>>
>> What did the robot report? New driver?
> [Pankaj] reported printf format-specifier for size_t. 

That's not what you said here. You said robot reported the driver.

...

>>> +
>>> +     pr_info("Misc-devices on i.MX enclave MU is configured.\n");
>>
>> No silly probe success messages.
> [Accepted] Will removed in V5.

I still found more.

>>
>>
>>> +     return devm_of_platform_populate(dev);
>>
>> No. You do not have children. Just open your own binding and look there.
>>
>> This driver is in terrible shape and I asked to do some internal review in NXP.
>> Internal review should point such trivial comments but your changelog from
>> v1 tp v4 says nothing about it.
>>
>> So internal review did not happen. Don't use upstream as cheap reviewers for
>> poor quality code. Please work internally till it starts looking correct and all
>> automated tools pass. NXP is not some small, amateour company which can be
>> excused of this. Or is it?

I don't think much improved here... Still no coccinelle, probably no
other tools. You Cc-ed like 10 NXP people, for what? Did they provide
reviews?

Best regards,
Krzysztof




More information about the linux-arm-kernel mailing list