us Elfring
Thanks Markus.
Acked-by: Shannon Nelson
---
drivers/char/hw_random/n2-drv.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/char/hw_random/n2-drv.c b/drivers/char/hw_random/n2-drv.c
index 92dd4e925315..f3e67c768101 100644
--- a/drivers/char/hw
alloc".
* Replace the specification of a data structure by a pointer dereference
to make the corresponding size determination a bit safer according to
the Linux coding style convention.
Signed-off-by: Markus Elfring
Thanks Markus.
Acked-by: Shannon Nelson
---
drivers/char/hw_random/n2
are
layout changed and self-test would now fail, continually spewing error
messages on the console.
This patch series adds correct support for the new rng register layout,
and adds a limiter to the spewing of error messages.
Orabug: 25127795
Shannon Nelson (4):
n2rng: limit error spewage when self-
Signed-off-by: Shannon Nelson
---
drivers/char/hw_random/n2-drv.c |8
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/char/hw_random/n2-drv.c b/drivers/char/hw_random/n2-drv.c
index f0bd5ee..31cbdbb 100644
--- a/drivers/char/hw_random/n2-drv.c
+++ b/drivers
If the self-test fails, it probably won't actually suddenly
start working. Currently, this causes an endless spew of
error messages on the console and in the logs, so this patch
adds a limiter to the test.
Reported-by: Sowmini Varadhan
Signed-off-by: Shannon Nelson
---
drivers/char/hw_r
Since we're going to need to keep track of more than just one
attribute of the hardware, we'll change the use of the data field
from the match struct from a single flag to a struct pointer.
This patch adds the struct template and initial descriptions.
Signed-off-by: Shannon Nelson
--
Add the new register layout constants and the requisite logic
for using them.
Signed-off-by: Shannon Nelson
---
drivers/char/hw_random/n2-drv.c | 144 +--
drivers/char/hw_random/n2rng.h | 36 +++---
2 files changed, 134 insertions(+), 46 deletions
Resurrecting an old thread, pulled out of
http://www.spinics.net/lists/linux-crypto/msg19192.html
On Wed, Apr 20, 2016 at 9:18 AM, Anatoly Pugachev
wrote:
On Wed, Apr 20, 2016 at 1:33 AM, Sowmini Varadhan
wrote:
Hi Anatoly,
after commit c1e9b3b0eea1 ("hwrng: n2 - Attach on T5/M5, T7/M7 SP