[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <52459311.4010104@linux.vnet.ibm.com>
Date: Fri, 27 Sep 2013 19:45:45 +0530
From: Anshuman Khandual <khandual@...ux.vnet.ibm.com>
To: Michael Ellerman <michael@...erman.id.au>
CC: linux-kernel@...r.kernel.org, tytso@....edu,
herbert@...dor.apana.org.au, gleb@...hat.com, agraf@...e.de,
kvm-ppc@...r.kernel.org, linuxppc-dev@...abs.org,
Paul Mackerras <paulus@...ba.org>, kvm@...r.kernel.org,
mpm@...enic.com, pbonzini@...hat.com
Subject: Re: [PATCH 3/3] KVM: PPC: Book3S: Add support for hwrng found on
some powernv systems
On 09/26/2013 12:01 PM, Michael Ellerman wrote:
> +int powernv_hwrng_present(void)
> +{
> + return __raw_get_cpu_var(powernv_rng) != NULL;
> +}
> +
> static unsigned long rng_whiten(struct powernv_rng *rng, unsigned long val)
> {
> unsigned long parity;
> @@ -42,6 +48,17 @@ static unsigned long rng_whiten(struct powernv_rng *rng, unsigned long val)
> return val;
> }
>
> +int powernv_get_random_real_mode(unsigned long *v)
> +{
> + struct powernv_rng *rng;
> +
> + rng = __raw_get_cpu_var(powernv_rng);
> +
> + *v = rng_whiten(rng, in_rm64(rng->regs_real));
> +
Will it be in_be64() instead of in_rm64() ? Its failing the build here. Except this
all individual patches build correctly.
Regards
Anshuman
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists