Re: enable dual rng on VIA C7

From: Udo van den Heuvel
Date: Mon Nov 26 2007 - 12:03:20 EST


Andrew Morton wrote:
> On Sun, 11 Nov 2007 19:49:08 +0100 Udo van den Heuvel <udovdh@xxxxxxxxx> wrote:
>
>> Any reason why the second rng on the VIA C7 CPU is not enabled?
(...)
> Does the patch work?

Yes, at least:

dd if=/dev/hwrng of=/dev/null bs=1024 count=1024
shows a higher speed than without the patch.

> It's missing a signed-off-by:, btw

I did not know we are already that far ;-)
I mean: can this patch be aplied without hurting C3/C7 CPU's with just
one RNG? Maybe an expert needs to test/answer?
Maybe some logic needs to be applied around the extra bit?

Kind regards,
Udo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/