Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp235434pxj; Thu, 3 Jun 2021 05:32:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxLnalM5oxJjI9tZIj+AM5ddSdSgHMD7NzboPZ4fUjJyH/afDniZ/wYevd5XRF4YyyksH1N X-Received: by 2002:a50:9d8d:: with SMTP id w13mr26255880ede.94.1622723573951; Thu, 03 Jun 2021 05:32:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622723573; cv=none; d=google.com; s=arc-20160816; b=QinV35C1QRZpuJ9pYOcHQr8tum3ACbPGHhscmE6MoADoJ2EDG2Bld/nKPo3QXIHxQx 5tW/+rvn65moQ8YZ0Ca92ae393zSIwlGSUd+r+tFSnLEFycB2/WG5qNzGQfg9j7Z967s 0owmNfFCIAIKdJh27Z6fPf6+uIj4RBfZxGpojQx0tpfgvYW1EgGkyw3xvrNOnfsgQnEd M8LkM6KZDYyimJTR9gDCeUzZKbUxIo0gAq9nAwm/1sxmCTLAhxWII5xnXCuCVDvSphj4 XtPFzsvz1SDLboj/Gq+RMHJmtpRTBjPebnGSKn/tn9T3MOc063ydmE9PQb5SNLZwm+ur DXSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=p1nIZkPHTlvSlXL3ChK94rb1NMWcaFn1qvlPjWRtunc=; b=ZkNlabND7hTiWudmonjteIWoog4VeeL9ssVlWBxL3EGT3hYyryJ6mstUFgN5mcTSK5 XCaElIZwapKsu52eYGQCMf39yEDBweEvYWmc4jRAZBAqkZTc3W9hfM7X3Nc4cjY/Wo/4 Uv74KTpVt/NlfhmBdWt7Yjvbs1wQi2bQrMVAAql3fI3sjDaZIMYLgtLiiaKROrdDz7In 6rjHjS9Vekb2G2IDA6cCLC5Zdx4oDRg85PcMNcCUjipWQy8/o1SvdGOXp7iN7B4liZyY psFGrJi0TNiqVii2OqeVofqAqBgNt5E/DU9a4S7BnfLZXVd7ry/tnG6K6xIqq1k8qY0t cC5w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ck12si2171262edb.107.2021.06.03.05.32.29; Thu, 03 Jun 2021 05:32:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229976AbhFCMcX (ORCPT + 99 others); Thu, 3 Jun 2021 08:32:23 -0400 Received: from helcar.hmeau.com ([216.24.177.18]:60890 "EHLO deadmen.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229966AbhFCMcX (ORCPT ); Thu, 3 Jun 2021 08:32:23 -0400 Received: from gondobar.mordor.me.apana.org.au ([192.168.128.4] helo=gondobar) by deadmen.hmeau.com with esmtp (Exim 4.92 #5 (Debian)) id 1lomUg-0001zr-3M; Thu, 03 Jun 2021 20:30:38 +0800 Received: from herbert by gondobar with local (Exim 4.92) (envelope-from ) id 1lomUa-0001eU-Vf; Thu, 03 Jun 2021 20:30:33 +0800 Date: Thu, 3 Jun 2021 20:30:32 +0800 From: Herbert Xu To: Linus Walleij Cc: linux-crypto@vger.kernel.org, "David S . Miller" , Corentin Labbe , linux-arm-kernel@lists.infradead.org, Imre Kaloz , Krzysztof Halasa , Arnd Bergmann Subject: Re: [PATCH 1/3 v4] crypto: ixp4xx: convert to platform driver Message-ID: <20210603123032.GE6161@gondor.apana.org.au> References: <20210525083048.1113870-1-linus.walleij@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210525083048.1113870-1-linus.walleij@linaro.org> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Tue, May 25, 2021 at 10:30:46AM +0200, Linus Walleij wrote: > From: Arnd Bergmann > > The ixp4xx_crypto driver traditionally registers a bare platform > device without attaching it to a driver, and detects the hardware > at module init time by reading an SoC specific hardware register. > > Change this to the conventional method of registering the platform > device from the platform code itself when the device is present, > turning the module_init/module_exit functions into probe/release > driver callbacks. > > This enables compile-testing as well as potentially having ixp4xx > coexist with other ARMv5 platforms in the same kernel in the future. > > Cc: Corentin Labbe > Tested-by: Corentin Labbe > Signed-off-by: Arnd Bergmann > Signed-off-by: Linus Walleij > --- > ChangeLog v3->v4: > - No changes, just resending with the other patches. > ChangeLog v2->v3: > - No changes, just resending with the other patches. > ChangeLog v1->v2: > - Rebase on Corentin's patches in the cryptodev tree > - Drop the compile test Kconfig, it will not compile for > anything not IXP4xx anyway because it needs the NPE and QMGR > to be compiled in and those only exist on IXP4xx. > --- > arch/arm/mach-ixp4xx/common.c | 26 ++++++++++++++++++++++++ > drivers/crypto/ixp4xx_crypto.c | 37 ++++++++++++---------------------- > 2 files changed, 39 insertions(+), 24 deletions(-) All applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt