From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 177C8C3DA6F for ; Thu, 24 Aug 2023 18:43:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=aKeiy+6Ai/kcdMLKCKpMAzifCeBAX6Sr/C3sM1IoEXk=; b=39gycs/jtvtjuK WvpM0x6daITyrFIgm3R8LJAbqL7EDSSSGPLrbhDf/Bl9mVhCOXkVP9q3F34GzhdZCL1Q0Zg21U1G7 3uAxupoO/ok3xq3hGOnGRWpAxOoU1eNnyI37MNmGXGMO/9Is+xZkOQAFYvOqtq9MF5qTxlNhWAcm+ fIhWCjfb108GTrXJ4A0LCISXIuT6Ef9pynWQCtjUAxeZowX2uiIxAfs1e2ZBaZaOJ0ly9g1Gbgkb4 4lhpMq+tcGaTwYMB6pCU2CPbHj+HpmcZIicTpt5zOLBEMUUDjdJVgX2jAp4Cy6K2wZNZViepvoYZJ 0aY3ABBqTVsGvVJ6S39Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qZFIa-003cEM-00; Thu, 24 Aug 2023 18:43:16 +0000 Received: from mail-lf1-x12d.google.com ([2a00:1450:4864:20::12d]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qZFIX-003cDl-1I for linux-arm-kernel@lists.infradead.org; Thu, 24 Aug 2023 18:43:14 +0000 Received: by mail-lf1-x12d.google.com with SMTP id 2adb3069b0e04-5009969be25so160826e87.3 for ; Thu, 24 Aug 2023 11:43:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1692902588; x=1693507388; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=zhjKefBKCRC+/owmV/hiYBIN6wU3GhkPU+/uLiid8fA=; b=t0hZepahLQFMnLH7qVeX+rfYGlgRPOOQADTSynJ8f/4Csf2w7ceb2m8YA1dNQ7T9SS 9IbBLEowTSPypoTXa5HNiFXvdNAfMiVZy3XgxURQRamecDzEWGL9nxch7ULMKfgJ8pFt 3+ii4udxYCMmY6yoxokW3rfOu4kUNzx1tzQdwi2AEUErvSwYxQJ3z61Zj5BqyrEo01px ihvlG8R6qre8JllcNlSxH82F4PzmR36bPYR5X/0jXyLV0R7LFqEAwePGxzzuB7W4KgHD 6J0a/To4OIYi6fP5uMOD6I84AiBziPb3CqY2rjI1tnxVc6y5/UkqVv+zn3rOQERGuq4U /PZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692902588; x=1693507388; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=zhjKefBKCRC+/owmV/hiYBIN6wU3GhkPU+/uLiid8fA=; b=Qd68xw94EyLW9rNLlpvAY5NXvoZJIA1zdZM+QJTWeOmvsn8j/QSlw0ON4MlQ6qFSgt DP0OXp9pRSvlgFRqCHs/ztMGqfPcTm6ksBe3T30O/n26y8kLyNb7fW0zPGVcfzXWXxNL nH2YNRmJmcECU7oguBRy7UB7rIGoQI05dCFqRyhycGu+tgB1sG3aliEH2+q98+EfeCXM SQqqlcrpdZxqkDrtJ/lZfE8MgLitF0zY1KtpqhVtVZv5r/oscyUrjlIpdm9+DJ3VIlEA tPqOSx/gncwQDLT1FzGtTzq2vup7vdmDGNjce4CaWNrnBOzJfuvOnctQDX2y2pBTL4SH lX8Q== X-Gm-Message-State: AOJu0YwM0t5dPKf6dsBcDzAK2m37M25DAlo2MPxyRRW0DgoFQcM6/UXl uKgGxyYfo3U3GGgY3iM80V8S2w== X-Google-Smtp-Source: AGHT+IEJmE2eCB7KS0sCNrctPm2u18Rv+ib/at04vzWZ+1rQlB90iVtX5m+f/8F8Lq4WvToGXoORDA== X-Received: by 2002:a19:5f43:0:b0:4ff:70d2:4512 with SMTP id a3-20020a195f43000000b004ff70d24512mr9219024lfj.23.1692902587561; Thu, 24 Aug 2023 11:43:07 -0700 (PDT) Received: from [192.168.0.22] ([77.252.47.198]) by smtp.gmail.com with ESMTPSA id c15-20020aa7c74f000000b00522828d438csm54965eds.7.2023.08.24.11.43.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 24 Aug 2023 11:43:07 -0700 (PDT) Message-ID: <949e6b65-653b-7b9d-00de-3541b7579bdc@linaro.org> Date: Thu, 24 Aug 2023 20:43:05 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 Subject: Re: [EXT] Re: [PATCH v4 6/7] firmware: imx: add driver for NXP EdgeLock Enclave Content-Language: en-US To: Pankaj Gupta , "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "kernel@pengutronix.de" , "clin@suse.com" , "conor+dt@kernel.org" , "pierre.gondois@arm.com" , Jacky Bai , Clark Wang , Wei Fang , Peng Fan , Bough Chen , "festevam@gmail.com" , dl-linux-imx , "davem@davemloft.net" , "robh+dt@kernel.org" , "krzysztof.kozlowski+dt@linaro.org" , "linux-arm-kernel@lists.infradead.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Gaurav Jain , "alexander.stein@ew.tq-group.com" , Sahil Malhotra , Aisheng Dong , Varun Sethi Cc: kernel test robot References: <20230712121219.2654234-1-pankaj.gupta@nxp.com> <20230712121219.2654234-7-pankaj.gupta@nxp.com> From: Krzysztof Kozlowski In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230824_114313_443065_BF019AC2 X-CRM114-Status: GOOD ( 15.67 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 08/08/2023 14:36, Pankaj Gupta wrote: > > >> -----Original Message----- >> From: Krzysztof Kozlowski >> Sent: Thursday, July 13, 2023 12:27 AM >> To: Pankaj Gupta ; shawnguo@kernel.org; >> s.hauer@pengutronix.de; kernel@pengutronix.de; clin@suse.com; >> conor+dt@kernel.org; pierre.gondois@arm.com; Jacky Bai >> ; Clark Wang ; Wei Fang >> ; Peng Fan ; Bough Chen >> ; festevam@gmail.com; dl-linux-imx > imx@nxp.com>; davem@davemloft.net; robh+dt@kernel.org; >> krzysztof.kozlowski+dt@linaro.org; linux-arm-kernel@lists.infradead.org; >> devicetree@vger.kernel.org; linux-kernel@vger.kernel.org; Gaurav Jain >> ; alexander.stein@ew.tq-group.com; Sahil Malhotra >> ; Aisheng Dong ; Varun >> Sethi >> Cc: kernel test robot >> 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 >>> Signed-off-by: Pankaj Gupta >>> Reported-by: kernel test robot >> >> 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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel