[PATCH 3/3] KVM: PPC: Book3S: Add support for hwrng found on some powernv systems
Gleb Natapov
gleb at redhat.com
Tue Oct 1 18:39:08 EST 2013
On Tue, Oct 01, 2013 at 06:34:26PM +1000, Michael Ellerman wrote:
> On Thu, Sep 26, 2013 at 11:06:59AM +0200, Paolo Bonzini wrote:
> > Il 26/09/2013 08:31, Michael Ellerman ha scritto:
> > > Some powernv systems include a hwrng. Guests can access it via the
> > > H_RANDOM hcall.
> >
> > Is there any reason to do this in the kernel?
>
> It's less code, and it's faster :)
>
> > It does not have to be a particularly fast path;
>
> Sure, but do we have to make it slow on purpose?
>
We do not put non performance critical devices into the kernel.
--
Gleb.
More information about the Linuxppc-dev
mailing list