mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Vladis Dronov <vdronov@redhat.com>
To: vdronov@redhat.com, Sunil Goutham <sgoutham@marvell.com>,
	Bharat Bhushan <bbhushan2@marvell.com>,
	Joseph Longever <jlongever@marvell.com>,
	Herbert Xu <herbert@gondor.apana.org.au>,
	linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH 0/2] hwrng: cn10k - Optimize random number generator driver
Date: Wed, 13 Apr 2022 16:16:04 +0200	[thread overview]
Message-ID: <20220413141606.8261-1-vdronov@redhat.com> (raw)

Hi,

I'm suggesting couple of tweaks and fixes for the CN10K Random Number Generator
driver. Main points are: fix a logic, optimize a loop and make an error message
more informative.

Vladis Dronov (2):
  hwrng: cn10k - Optimize cn10k_rng_read()
  hwrng: cn10k - Make check_rng_health() return an error code

 drivers/char/hw_random/cn10k-rng.c | 31 +++++++++++++++++--------------
 1 file changed, 17 insertions(+), 14 deletions(-)


             reply	other threads:[~2022-04-13 14:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-13 14:16 Vladis Dronov [this message]
2022-04-13 14:16 ` [PATCH 1/2] hwrng: cn10k - Optimize cn10k_rng_read() Vladis Dronov
2022-04-13 14:16 ` [PATCH 2/2] hwrng: cn10k - Make check_rng_health() return an error code Vladis Dronov
2022-04-21 10:00 ` [PATCH 0/2] hwrng: cn10k - Optimize random number generator driver Herbert Xu
2022-04-21 10:03   ` Vlad Dronov

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=20220413141606.8261-1-vdronov@redhat.com \
    --to=vdronov@redhat.com \
    --cc=bbhushan2@marvell.com \
    --cc=herbert@gondor.apana.org.au \
    --cc=jlongever@marvell.com \
    --cc=linux-crypto@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sgoutham@marvell.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

all inboxes | Powered by JetHome®