linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ard Biesheuvel <ardb@kernel.org>
To: Hadar Gat <Hadar.Gat@arm.com>
Cc: Matt Mackall <mpm@selenic.com>,
	Herbert Xu <herbert@gondor.apana.org.au>,
	Arnd Bergmann <arnd@arndb.de>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Krzysztof Kozlowski <krzk@kernel.org>,
	Stefan Wahren <wahrenst@gmx.net>, Zaibo Xu <xuzaibo@huawei.com>,
	Tomer Maimon <tmaimon77@gmail.com>,
	Randy Dunlap <rdunlap@infradead.org>,
	Linux Crypto Mailing List <linux-crypto@vger.kernel.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Gilad Ben-Yossef <gilad@benyossef.com>,
	Ofir Drang <Ofir.Drang@arm.com>, nd <nd@arm.com>
Subject: Re: [PATCH 1/3] hwrng: cctrng - Add dependency on OF
Date: Mon, 27 Apr 2020 09:24:15 +0200	[thread overview]
Message-ID: <CAMj1kXFL7e9_=vax0t0YBEzk+hc-d1v0oGVnFO1mfmNPCDaEcQ@mail.gmail.com> (raw)
In-Reply-To: <DB6PR0802MB253304D0FE37A3C99C1A1E4CE9AF0@DB6PR0802MB2533.eurprd08.prod.outlook.com>

On Mon, 27 Apr 2020 at 09:23, Hadar Gat <Hadar.Gat@arm.com> wrote:
>
>
> > -----Original Message-----
> > From: Ard Biesheuvel <ardb@kernel.org>
> >
> > On Mon, 27 Apr 2020 at 07:42, Hadar Gat <hadar.gat@arm.com> wrote:
> > >
> > > The cctrng is unusable on non-DT systems so we should depend on it.
> > >
> > > Signed-off-by: Hadar Gat <hadar.gat@arm.com>
> > > ---
> > >  drivers/char/hw_random/Kconfig | 2 +-
> > >  1 file changed, 1 insertion(+), 1 deletion(-)
> > >
> > > diff --git a/drivers/char/hw_random/Kconfig
> > > b/drivers/char/hw_random/Kconfig index 0c99735..df2d001 100644
> > > --- a/drivers/char/hw_random/Kconfig
> > > +++ b/drivers/char/hw_random/Kconfig
> > > @@ -476,7 +476,7 @@ config HW_RANDOM_KEYSTONE
> > >
> > >  config HW_RANDOM_CCTRNG
> > >         tristate "Arm CryptoCell True Random Number Generator support"
> > > -       depends on HAS_IOMEM
> > > +       depends on HAS_IOMEM & OF
> >
> > Does your driver in fact depend on CONFIG_HAS_IOMEM ?
>
> Yes, it uses devm_ioremap_resource() for registers mapping.
>

Fair enough

  reply	other threads:[~2020-04-27  7:24 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-27  5:41 [PATCH 0/3] hwrng: cctrng kconfig updates Hadar Gat
2020-04-27  5:41 ` [PATCH 1/3] hwrng: cctrng - Add dependency on OF Hadar Gat
2020-04-27  6:58   ` Ard Biesheuvel
2020-04-27  7:23     ` Hadar Gat
2020-04-27  7:24       ` Ard Biesheuvel [this message]
2020-04-27 21:48   ` kbuild test robot
2020-04-27  5:41 ` [PATCH 2/3] hwrng: cctrng - change default to n Hadar Gat
2020-04-27  6:59   ` Ard Biesheuvel
2020-04-27  7:26     ` Hadar Gat
2020-04-27  8:19       ` Arnd Bergmann
2020-04-27  8:56         ` Hadar Gat
2020-04-27  5:41 ` [PATCH 3/3] hwrng: cctrng - update help description Hadar Gat

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAMj1kXFL7e9_=vax0t0YBEzk+hc-d1v0oGVnFO1mfmNPCDaEcQ@mail.gmail.com' \
    --to=ardb@kernel.org \
    --cc=Hadar.Gat@arm.com \
    --cc=Ofir.Drang@arm.com \
    --cc=arnd@arndb.de \
    --cc=gilad@benyossef.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=herbert@gondor.apana.org.au \
    --cc=krzk@kernel.org \
    --cc=linux-crypto@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mpm@selenic.com \
    --cc=nd@arm.com \
    --cc=rdunlap@infradead.org \
    --cc=tmaimon77@gmail.com \
    --cc=wahrenst@gmx.net \
    --cc=xuzaibo@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).