Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp3126277lqt; Tue, 23 Apr 2024 11:00:10 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXmZCEHQBsalTD5bTZ3xTIKJPdkpRWQXv5xvo4+n/CA7xSgxCc3fJH8gyW6h9CjTCez9bbxp1YdfmpM1Z71IsByM2DuB58sy021bkA2ZA== X-Google-Smtp-Source: AGHT+IFOovLtw3Gh2U4G73wDkz2dwAT4jyfUx7fqtARf4a1vLqJ6VoVsiDFCP+fnbblJ+JR+c6ok X-Received: by 2002:a50:951c:0:b0:56e:2bee:1932 with SMTP id u28-20020a50951c000000b0056e2bee1932mr69640eda.34.1713895210779; Tue, 23 Apr 2024 11:00:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713895210; cv=pass; d=google.com; s=arc-20160816; b=s4nq9jHLDag6SEcqnU26ctGEsSB2HZEeLtQU2mBcpKEjDW4wODKLCzz39GCI9XEiwi SyO+McbPAKKXs3RSBMZdg8n9FIRgw4Zsqy0fbRSmlQzWbCvdmOaTTfgRpfFEv3cUbJHZ S5spZ2rfZ5RpWBefkBTQYoNB10K77m8XZ5bMFpeWzWjWkDbzhJUDzFsSAwMFOCj3ssdE JqQl2mEgDZ3Ngpgno06f9WlQXfmGeh1ZSJn7B4zif+FhJtpwOkGrdV+AJnmePZZTmz6c ttYJeiMyWBMpfn2r629MlrDsg+UcWpbmRJkiV8DgzvbvyKQ/NMXdG5G7KTUn8D56WiMO hxyw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature :dkim-filter; bh=TNqB+ZhIOhoyajBObdpT8tOY1r1hHnd2LZ83wPlbrj4=; fh=PAQB8e+XsuJXOS7EKQNJuoca0xOdPvfvVQIaYCy1Pu0=; b=PjL5MM2iAaOknTdFd5gpV/2nF1g1xGN+H1oxHKDkSk1U8SylL5N99bnwIu6Gb8I/Ez Vu91xhshApNduqNtnVyC71WGEkDF7DAK36HYPEMNSZlEFmNZQ1+EgrAhecLCmeF2lzFC Y4iDTMOriwaqFE+JgeWULffEMIHyCs3GfS5LAY4GwBkPBFtLAF+sN+6UgLtjM2CAqOH1 4/Ul3PK91XE/UawPnbv+qlODHVCAxONtwzpFYxFD1kaKHUF/WPz+cLIxRiGFwhizruQN u6o2Pr62PrfVTUtHfzGPl4E+iMrSF0XmHaIK/grZ6q7ajWidD5I/75PRunKd8vBLpOaN rn0Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=cpdngGVh; arc=pass (i=1 spf=pass spfdomain=linux.microsoft.com dkim=pass dkdomain=linux.microsoft.com dmarc=pass fromdomain=linux.microsoft.com); spf=pass (google.com: domain of linux-crypto+bounces-3809-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-crypto+bounces-3809-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id f4-20020a50d544000000b00571f1019931si4477207edj.20.2024.04.23.11.00.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Apr 2024 11:00:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto+bounces-3809-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=cpdngGVh; arc=pass (i=1 spf=pass spfdomain=linux.microsoft.com dkim=pass dkdomain=linux.microsoft.com dmarc=pass fromdomain=linux.microsoft.com); spf=pass (google.com: domain of linux-crypto+bounces-3809-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-crypto+bounces-3809-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 7EB501F24983 for ; Tue, 23 Apr 2024 18:00:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A31D31419BF; Tue, 23 Apr 2024 17:59:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.microsoft.com header.i=@linux.microsoft.com header.b="cpdngGVh" X-Original-To: linux-crypto@vger.kernel.org Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2345413FD8E for ; Tue, 23 Apr 2024 17:59:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=13.77.154.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713895163; cv=none; b=BrMzbPeiWB8n9LPcJ/B34wirxOXfsTHr7juYBX9QC5ZoWLWL9idKrkTEmKbN/aruP1acyoX/L6bB3lmk7YhChT+jN3ONapfrdNIYRNTIWI/LGY5/Bo4w5v8Ps7PoGhYhN45ZMsgKOXunszrzl4jqa73M9vcKerc3+M3Z4ycvuTQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713895163; c=relaxed/simple; bh=/QM7xbwXSMIsTORfyD6ZF9d+C2sqkJU3CAFveILaYp0=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=TfA7bQrEd38QRwdFUhSuShpESb45jNYLJI7AFyCtGTx3MdN8SrafPdXbHtW1suZtSJ7mjEc4JG14QBjxLnSiEebuZJEYvZ6zdFJEaAQbJmLtvvucSk6UyoNgM7BvsAGzJsJeHGAC4+5SpIIUSS5fQNoe+wq/L5Z9ojDuJTFZcxs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.microsoft.com; spf=pass smtp.mailfrom=linux.microsoft.com; dkim=pass (1024-bit key) header.d=linux.microsoft.com header.i=@linux.microsoft.com header.b=cpdngGVh; arc=none smtp.client-ip=13.77.154.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.microsoft.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.microsoft.com Received: from [100.65.128.125] (unknown [20.236.11.102]) by linux.microsoft.com (Postfix) with ESMTPSA id 5F5C020FFC2F; Tue, 23 Apr 2024 10:59:21 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 5F5C020FFC2F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1713895161; bh=TNqB+ZhIOhoyajBObdpT8tOY1r1hHnd2LZ83wPlbrj4=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=cpdngGVhhVJ9mNg4pL2qoZHaf5XdPpTfq3Ygy1ikSDbxcQbGA4Z0bQsmSJWZPMut7 Ra8mXJgF+PH0n61uW75hnk55DgIJXC1v3dQ17dHHA02zVXI6Uweu/xoolZhBZksx2+ nXmRWujvABmEnVXrlglb1LfdqNs/tXcRn/EGLF0Q= Message-ID: <1eb6f953-7c4d-4dc8-aa31-cd47810eb6a7@linux.microsoft.com> Date: Tue, 23 Apr 2024 10:59:20 -0700 Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 1/4] Add SPAcc driver to Linux kernel To: Pavitrakumar Managutte Cc: herbert@gondor.apana.org.au, linux-crypto@vger.kernel.org, Ruud.Derwig@synopsys.com, manjunath.hadli@vayavyalabs.com, bhoomikak@vayavyalabs.com, shwetar References: <20240412035342.1233930-1-pavitrakumarm@vayavyalabs.com> <20240412035342.1233930-2-pavitrakumarm@vayavyalabs.com> <51a5305d-04d2-4c6b-8ea3-0edc6e10c188@linux.microsoft.com> <5f3af250-da94-410f-858e-822b974b14bf@linux.microsoft.com> Content-Language: en-CA From: Easwar Hariharan In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 4/23/2024 4:12 AM, Pavitrakumar Managutte wrote: > Hi Easwar, > We have broken the main driver patch into 4 patches as shown below > > LOC PATCH > 4979 - 0001-Add-SPAcc-Skcipher-support.patch > 1470 - 0002-Enable-SPAcc-AUTODETECT.patch > 1283 - 0003-Add-SPAcc-ahash-support.patch > 1333 - 0004-Add-SPAcc-aead-support.patch > > 138 - 0005-Add-SPAcc-Kconfig-and-Makefile.patch > 33 - 0006-Add-SPAcc-node-zynqmp-dts.patch > 60 - 0007-Enable-Driver-compilation-in-crypto-Kconfig-and-Make.patch > > I have NOT broken the first patch into a "core" and a "skcipher" > patch because the core patch > will throw warnings for "Functions defined but not used" if applied > standalone during kernel CI/CD. > No compilation errors, so nothing is going to break; but there will > be warnings. > > Core patch provides the infrastructure that cipher, hash and aead modules use. > I will check with the kernel CI/CD team regarding this but do let me > know if you have any > details related to this. > > If thats not a problem for kernel CI/CD, i.e. if the kernel CI/CD is > run only after all patches > are applied in order, then I can break up the first patch further > into two. So the core patch > will mostly be around 4k Lines of Code. > > Do let me know. > > Warm regards, > PK > I think it's ok if you don't split (the new) patch 1, because it's not just a matter of kernel CI/CD, but also of allowing future bisects to build with -Werror=unused (or Clang equivalent) if that's their methodology. I would go ahead and post v3 with the breakup that you have shown. - Easwar