Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp2662354pxb; Mon, 18 Apr 2022 05:51:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzXgu11pWupc4DFdTBzVBdiDFs8yiaZP+oP/tjJnWaY58AIhfZLx5rEsp0TpPdIXmwMb5Cp X-Received: by 2002:a63:2214:0:b0:398:ee6c:e5f7 with SMTP id i20-20020a632214000000b00398ee6ce5f7mr10212234pgi.625.1650286279009; Mon, 18 Apr 2022 05:51:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1650286279; cv=pass; d=google.com; s=arc-20160816; b=K9YfSb/F451QubQ+nJ2MnRR5wP0137xoBz4Lu8cqvv75+IqKd6ud2IDAfULGXu0Hmx 0KxLL/pvDp4ZTtV4diDXbAaD/BUh14DGPDsqJ0+rUlPYwifLcPdBCwm5/BnGAgkdsmd4 TqWhkSsE/53EYjQBcjcpczQeCLvFvytGSywJarlrKHnjWOOg/QWtwf35WVC0daabsTWP UCuiaqcd+3LstXXltaZoRFIFMv6IkgemRptq0raBVD/4+5VqaXFqcJkiwDqpALQ0ONos r9VeXgdqwXEMBFms6JeiOMUuZ19U6rZRWm7IVoNCKQs1gIYoU104WSPeq+JmZeVkiZMS KHnw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:references:cc:to:content-language:subject :user-agent:date:message-id:dkim-signature; bh=Ce9qwUaM0AT4WZybPOHPIjf4BiFSxWTncG0/MFTm6mg=; b=DloIS+6uBNgDtFSpYB4VY0GMHKGX23iO981GiFkjp4DHRaDYhMHgL0DzC3Ya6yDJB8 B2cacP8cBWJZRwL1SsOH5nU9Elf7dXxngtNrJHIPIBjN/m+tHNuBJeAPQvwxJSszHH8V JULWXpQCKf749sRBIk0fybHrHmzXZ/JMyPXEn0h49ffatV2Vo9tFgVEl4A7rwu5alMq2 lbeuMkzgW3hbhEsOVQ+qvC1UGiQtXuqWVNGbZaCQFEsncMgpudI5X0EGRVGZUcgjWpWI devq4AC1MIV5E/2wFRHfsosRAn8LStYU7b0hwjn4iBphhaaLO+S4wouaDzwTohqJR5zr UWKg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=Zpx7PBFO; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j6-20020a170903028600b00156a2cedc79si8783394plr.529.2022.04.18.05.51.02; Mon, 18 Apr 2022 05:51:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=Zpx7PBFO; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233022AbiDRMNT (ORCPT + 99 others); Mon, 18 Apr 2022 08:13:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40722 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235661AbiDRMNS (ORCPT ); Mon, 18 Apr 2022 08:13:18 -0400 Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10070.outbound.protection.outlook.com [40.107.1.70]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A151E1A81A for ; Mon, 18 Apr 2022 05:10:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Dnb7GJZ766uCsqW1Y5duuN0WmhqcTKlbwIh3qMQcMfpnfFNb60bdf9U0FGLyJeCeNTv6IofWQyKzF21AblxoAXZXVTxZv6JWeA1tYk7MaNs0zo1id00Z4JgqyKra/oBCM9xBkplnMEID+WBN6xdK+ctdF2d5WSSLxgUI7AhTaT2Ee5V9hrIwCUK+41IJUhAfkH86UhE+EwSc/rg7Fi6lZlvuHIVfpbIsSuOinRVx2f5EHLW1xP9+CVU9V0YvF7fMp3VzDKuBddEsS8OKROuV6Q/I/QYRylOaJq7KksUX4g1PoWgydDWuBX8ccd8qRo25u2t1TjZeykm0K5M/smq0vg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Ce9qwUaM0AT4WZybPOHPIjf4BiFSxWTncG0/MFTm6mg=; b=GQEHFkOHQieMKUdWFGgwiUNsxggXeD09iGOd5kU7uLYtpWvMMCsKrdIR7263/4Xh2198q8MHRlKEseRwoGLhAT++UlCb7M01s4Y2R5aYvkxEARJzzYPZrMUpQzE8yO9im6djWQMeV7BqcyfBudx1sf9J/6r0TOlpuXoMepIQBVYCkxiMlw/PVTpt/B8oO3CYh6vSIp0Co+ylprC6VRdGfkY0Ai+rTz/0RtBCj9tY0nQ1QUuGkGNVxw4x3+jmLdS/t53micFSzjp+dE8+xnXCbt4qTo1VXrw+cpd+Rqr7bCtm9XvKcw4w0uJW5+wMN56TDLQOgN7j5RqktOyXOqIyUg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Ce9qwUaM0AT4WZybPOHPIjf4BiFSxWTncG0/MFTm6mg=; b=Zpx7PBFOMjie2QD8oH24uqeQDCnZqH2k9cZbR4lKfCQGtViHu79xFjNy5k0g2jrOC59Vv/AqPZbhqEcZ3Z0iiH2HBWEl+y5ULDP+69kP+HMc6KwiWhoVoDGZDjn3EOU+ti3mWZnIC5W0GF7Qv7pWVjiqbim3NDqj43CMCE/MYuU= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9517.eurprd04.prod.outlook.com (2603:10a6:102:229::20) by AM6PR04MB6407.eurprd04.prod.outlook.com (2603:10a6:20b:d9::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5164.20; Mon, 18 Apr 2022 12:10:37 +0000 Received: from PAXPR04MB9517.eurprd04.prod.outlook.com ([fe80::ecbc:8286:8006:fb5f]) by PAXPR04MB9517.eurprd04.prod.outlook.com ([fe80::ecbc:8286:8006:fb5f%6]) with mapi id 15.20.5164.025; Mon, 18 Apr 2022 12:10:37 +0000 Message-ID: <8f51bb57-8671-5eb0-694c-9134801ab09f@nxp.com> Date: Mon, 18 Apr 2022 15:10:34 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 Subject: Re: [EXT] [PATCH v2] crypto: caam - fix i.MX6SX entropy delay value Content-Language: en-US To: Fabio Estevam , Varun Sethi Cc: "herbert@gondor.apana.org.au" , Vabhav Sharma , Gaurav Jain , "linux-crypto@vger.kernel.org" , Fabio Estevam References: <20220416135412.4109213-1-festevam@gmail.com> From: =?UTF-8?Q?Horia_Geant=c4=83?= In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: AM9P250CA0008.EURP250.PROD.OUTLOOK.COM (2603:10a6:20b:21c::13) To PAXPR04MB9517.eurprd04.prod.outlook.com (2603:10a6:102:229::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 6213231e-4cba-4fbd-1344-08da2134721a X-MS-TrafficTypeDiagnostic: AM6PR04MB6407:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ssFw9DmBG2HAsY4zdUT/bjRWpEmGozPRqwsiss6dDcA5K4Ug9e5N3kKGdeUJvOrwHj/E6APWkubKFzi28MyjL2EQYf60nQSGt4/aSwOwt6GBYEiqMNCwQZiNIK3RDGO+2b+s7A24IjIDrhrm8LYyQ6f/YlCn7vRrCGsyRXcvEz9MaH2YH1lkTNOPGR2V3GHCneJqdakQD+Z+NAN5a+jxIbPh6xTNWrokup2wXVeGjBIqAmbk23MTA6WQZi2VPuNzTOw8SsTkaFFU9buVN/GHJ/O44aokJx3o1n9mZSZa1YYmHywCVmKYdcsDB8DtWP76iAuWYd9YN0FhIz0imp/MyS8tHMT15/qCScFv0JNvZ6RlJ2IS4eKtOxfvH3i1MJSk408jmmptHWcaW7c1yo/1p/FfXYBQPHeWM6b3+fUYZ5RVZyRMZcZeRp4xS47jict715hSXEdgZMiARxKRCy+YCAW5wbXSBDJz7p2pd1iU1En6UazE9s0t5wzbGruBvIgOVH8dCr+TPE4JVJ9oykB8PnhoMs3JArp1TCJ94NmJbeiinwau0fXVGD2v9KDYzGZM9nxWZV2851VJm2CUnUZpdLGCvz2XFk8pQrwvfy6S6NSlQG3tPI5+h8UhkHVP6eP9328mLTECxLVaxIUNHxQjXGjrtCdbMc4Y6MyaMRRLkiFhuynO6JYaJZzLx99g6kP1FZJNd3P+/vU6p/8i0u/39m8H/FmsNAtUKrVONociAzp2eyTxH6LHy+DjV3yGGxuUtOP1PkjaMDLXlJ2r1XRX4A== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9517.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(4636009)(366004)(6506007)(6486002)(2906002)(186003)(38350700002)(38100700002)(66946007)(66476007)(316002)(66556008)(86362001)(110136005)(8676002)(4326008)(54906003)(6636002)(31686004)(26005)(31696002)(53546011)(6512007)(52116002)(2616005)(36756003)(8936002)(6666004)(508600001)(5660300002)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?MGxRSmhMZGE4ZllOcHJSTGVCVUpkRVROaHdPWjEyTERhRGdmV3hwQjhkNFpR?= =?utf-8?B?aUNsNnhBRVl1a3hDcWZkcE1KRUx2UlpTbENKQ1k4ckVmVXBaUHpTMFFOdFMv?= =?utf-8?B?OTRBR1Z0ZnhVeGVMQWEwTkUyQXNOK0RSNWpuai9RUTgyR2pHT1V2TithWDF6?= =?utf-8?B?V253d0s4Wm9UVGlzQkN3YzAxQ0VBRElKdG91SXRaTmFBNU02ZkNtTVdVbzY1?= =?utf-8?B?U1NNN2JyakdjeHBKZCtaNFNmVy9jQlBDMjhtNzRwUEQ5eDdYb0xDeDZ4STE3?= =?utf-8?B?cWlXcE96aHowNlcvOGJoaUhodHpQS1hhcUhUNUpLVmNaaS9DRWJPUDdOMUE2?= =?utf-8?B?VlBWanlRcExuTHhUdmU5Ty8xS3V6a0FqWEZXSnp4cEptS0oxT1lFQkkwd2tm?= =?utf-8?B?ZXRxSml1REtLaDR5WVF2cGtmUU5XbWxSR3Z4TWI0Mkc5ZWNlUE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3M0UWhxbGxtR0YwQXprL3BTdHVyQTJPWGxoVFlVWjk1?= =?utf-8?B?M3Z6b09ha3BqU3J6UUVLRnJjOFVJd0tXRUpxOEVRZDhhRWhSUGNHWFpGWkpK?= =?utf-8?Q?sU12iVCVmmFdb3Ec=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6213231e-4cba-4fbd-1344-08da2134721a X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9517.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Apr 2022 12:10:36.7529 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: ZAjVnbTkrMxgsdX0/fWLwrWBW0bwhVhqZ798s2UezF1dq8xvBGsJDuMZgifzXgXe9woNuyF1Ul4JqxMoXCTivQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR04MB6407 X-Spam-Status: No, score=-5.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On 4/16/2022 10:11 PM, Fabio Estevam wrote: > Hi Varun, > > On Sat, Apr 16, 2022 at 3:00 PM Varun Sethi wrote: >> >> Hi Fabio, >> Vabhav is working on a fix for the Linux driver. He would be introducing a new property in the CAAM device tree node, which would be used for specifying the entropy delay value. This would make the solution generic. This property is optional. > > Unfortunately, a devicetree property solution via optional property > would not work. > > Such a solution would not be backported to stable kernels and people running old > devicetree with new kernels would still face the problem. > Indeed. > This problem is seen since kernel 5.10, so we need a kernel-only fix. > I'd prefer to have this patch (or a kernel-only fix in general) applied only on the stable kernels, and use the device tree approach on current kernel. However, I'm not sure this is acceptable from stable kernels rules' perspective. The alternative is to merge this patch (btw, please add a Fixes tag) and then the DT-based solution would also include its removal. Horia