Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp954513pxj; Fri, 21 May 2021 03:06:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzEKKLV8TgSgK4Mt8UzB+P4xJ+iMpgJq0ENYQBqLcbXlnGvz5Xa3iEXQLhbdGcdGtKz7POs X-Received: by 2002:aa7:c4c2:: with SMTP id p2mr9911175edr.144.1621591610900; Fri, 21 May 2021 03:06:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621591610; cv=none; d=google.com; s=arc-20160816; b=FcDcnfF1VTeUPLJQCzFHo92L14OioNscjJXQ0VJPWEAMnMqj72zumrjUb2mt6B5Cgb vay/aAYp0+8hC5dT+0UaSVRVWU0Q8Fq44YQSmUbEbDda/6d+Yu0rBX1ACJao1jCGEau0 CcRP8OiJKZJNrUAxI08/a/uM0GNpehlDhBNP+r3ZfiQjoZDJafMK/5yhpNs9dQoBCrAa nY9UnDuIo6NrR+L66RFv4nS2eIK5MOzWSpNzWRkVTeastF7acFerZcMKTTmCOJ0NdPvF BZz4xnne9fl1LF38tVfLEJpZbyvcQr/zuif6wF8WxmgPibyBhm8a2Ovgl3v0LOgaJQBW 276Q== 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=bKptR5iz6O+HZWSBajrmD6sCDTqdgcTdx2rcLjX2kAg=; b=XwtvjXbcHZiO4/MYSPSWYYFjXbQqqX4F+mS5v9WeqTJVV640pKyomcJrxXLXWsmseA gwYVOkYz4uxSlgCfhKKOvXS/WpxtHRXuVUu+WUbju1Q7qXxU4RdqrhpZvVBmi4CdjW6q TwqIK5a+HIc77zitaBUh66KGt1FyBwrtzo7wohhkTkq4QNPw/c+ER7j0al6BGsDubuWU 5cgWzs+ANPeEBDn27F5HSfVvQVzscFe7f2ryRCDm9wjHsN+FPRPatcqoASeHfxh7Ga8f QeAi/qYyy7Nhq7oUZLpW+x+tLV26mdUHhOgziSVg7DsDCVnZB/QbKBBweFzDhHZwWzjg SygA== 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 kv7si5022494ejc.678.2021.05.21.03.06.06; Fri, 21 May 2021 03:06:50 -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 S232814AbhEUHMU (ORCPT + 99 others); Fri, 21 May 2021 03:12:20 -0400 Received: from helcar.hmeau.com ([216.24.177.18]:55492 "EHLO deadmen.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233208AbhEUHMU (ORCPT ); Fri, 21 May 2021 03:12:20 -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 1ljzJ8-0003vW-KB; Fri, 21 May 2021 15:10:54 +0800 Received: from herbert by gondobar with local (Exim 4.89) (envelope-from ) id 1ljzJ8-0005lF-Gv; Fri, 21 May 2021 15:10:54 +0800 Date: Fri, 21 May 2021 15:10:54 +0800 From: Herbert Xu To: Linus Walleij Cc: Matt Mackall , Deepak Saxena , linux-crypto@vger.kernel.org, Arnd Bergmann Subject: Re: [PATCH 3/5] hw_random: ixp4xx: Turn into a module Message-ID: <20210521071054.atwfnd25olyvrer6@gondor.apana.org.au> References: <20210511132928.814697-1-linus.walleij@linaro.org> <20210511132928.814697-3-linus.walleij@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210511132928.814697-3-linus.walleij@linaro.org> User-Agent: NeoMutt/20170113 (1.7.2) Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Tue, May 11, 2021 at 03:29:26PM +0200, Linus Walleij wrote: > Instead of just initializing always, which will invariably > create problems on multiplatform builds, turn this driver into > a module and pass a resource with the memory location. > The device only exist on the IXP46x so we only register > the device for the IXP46x SoC. > > Cc: Deepak Saxena > Signed-off-by: Linus Walleij > --- > The idea is to apply this through the ARM SoC tree along > with other IXP4xx refactorings. > Please tell me if you prefer another solution. > --- > arch/arm/mach-ixp4xx/common.c | 24 ++++++++++++++++++- > drivers/char/hw_random/ixp4xx-rng.c | 37 +++++++++++++---------------- > 2 files changed, 40 insertions(+), 21 deletions(-) Acked-by: Herbert Xu -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt