Re: [PATCH 05/17] pseries: Enabled the PFO-based RNG accelerator

2012-03-22 Thread Anton Blanchard
Hi, +#if defined(CONFIG_HW_RANDOM_PSERIES) || \ + defined(CONFIG_HW_RANDOM_PSERIES_MODULE) +#define OV5_PFO_HW_RNG 0x80/* PFO Random Number Generator */ +#else +#define OV5_PFO_HW_RNG 0x00 +#endif Milton tipped me off about this. We really don't want to be doing ibm,cli

[PATCH 05/17] pseries: Enabled the PFO-based RNG accelerator

2012-03-21 Thread Kent Yoder
From: Robert Jennings This patch adds the cas bits to advertise support for the Platform Facilities Option (PFO) based random number generator accerator. The pseries-rng driver provides support for this hardware feature. Signed-off-by: Robert Jennings Signed-off-by: Kent Yoder --- arch/powerp