From: Michael Ellerman <patch-notifications@ellerman•id.au>
To: Matt Brown <matthew.brown.dev@gmail•com>, linuxppc-dev@lists•ozlabs.org
Subject: Re: [v3] powerpc/powernv: Use darn instr for random_seed on p9
Date: Tue, 8 Aug 2017 20:55:14 +1000 (AEST) [thread overview]
Message-ID: <3xRWWk47ZVz9s7C@ozlabs.org> (raw)
In-Reply-To: <20170804011218.10489-1-matthew.brown.dev@gmail.com>
On Fri, 2017-08-04 at 01:12:18 UTC, Matt Brown wrote:
> This adds the powernv_get_random_darn function which utilises the darn
> instruction, introduced in POWER9. The powernv_get_random_darn function
> is used as the ppc_md.get_random_seed on P9.
>
> The DARN instruction can potentially throw an error, so we attempt to
> register the powernv_get_random_darn function up to 10 times before
> failing.
>
> Signed-off-by: Matt Brown <matthew.brown.dev@gmail•com>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/e66ca3db5917f4bcad039d3a3df9f1
cheers
prev parent reply other threads:[~2017-08-08 10:55 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-04 1:12 [PATCH v3] powerpc/powernv: Use darn instr for random_seed on p9 Matt Brown
2017-08-04 17:06 ` Tyrel Datwyler
2017-08-07 2:00 ` Matt Brown
2017-08-07 5:41 ` Michael Ellerman
2017-08-07 10:32 ` Michael Ellerman
2017-08-08 10:55 ` Michael Ellerman [this message]
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=3xRWWk47ZVz9s7C@ozlabs.org \
--to=patch-notifications@ellerman$(echo .)id.au \
--cc=linuxppc-dev@lists$(echo .)ozlabs.org \
--cc=matthew.brown.dev@gmail$(echo .)com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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