From: Herbert Xu <herbert@gondor.apana.org.au>
To: Jim Quigley <Jim.Quigley@oracle.com>
Cc: mpm@selenic.com, linux-crypto@vger.kernel.org
Subject: Re: virtio:rng: Virtio RNG devices need to be re-registered after suspend/resume
Date: Mon, 6 Nov 2017 15:09:28 +0800 [thread overview]
Message-ID: <20171106070928.GF14274@gondor.apana.org.au> (raw)
In-Reply-To: <1509703041-6281-1-git-send-email-Jim.Quigley@oracle.com>
On Fri, Nov 03, 2017 at 09:57:21AM +0000, Jim Quigley wrote:
> The patch for
>
> commit: 5c06273401f2eb7b290cadbae18ee00f8f65e893
> Author: Amit Shah <amit.shah@redhat.com>
> Date: Sun Jul 27 07:34:01 2014 +0930
>
> virtio: rng: delay hwrng_register() till driver is ready
>
> moved the call to hwrng_register() out of the probe routine into the scan
> routine. We need to call hwrng_register() after a suspend/restore cycle
> to re-register the device, but the scan function is not invoked for the
> restore. Add the call to hwrng_register() to virtio_restore().
>
> Reviewed-by: Liam Merwick <Liam.Merwick@oracle.com>
> Signed-off-by: Jim Quigley <Jim.Quigley@oracle.com>
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
next prev parent reply other threads:[~2017-11-06 7:09 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-03 9:57 virtio:rng: Virtio RNG devices need to be re-registered after suspend/resume Jim Quigley
2017-11-03 13:06 ` PrasannaKumar Muralidharan
2017-11-03 14:41 ` Jim Quigley
[not found] ` <CANc+2y4cEAHudxdK6Y0TbskGMH6jpLg0cfWt77JR44fzYU94HA@mail.gmail.com>
2017-11-03 15:25 ` Fwd: " PrasannaKumar Muralidharan
2017-11-03 15:33 ` PrasannaKumar Muralidharan
2017-11-03 15:36 ` PrasannaKumar Muralidharan
2017-11-06 7:09 ` Herbert Xu [this message]
2017-11-07 3:14 ` PrasannaKumar Muralidharan
2017-11-07 3:36 ` Herbert Xu
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=20171106070928.GF14274@gondor.apana.org.au \
--to=herbert@gondor.apana.org.au \
--cc=Jim.Quigley@oracle.com \
--cc=linux-crypto@vger.kernel.org \
--cc=mpm@selenic.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