From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Thu, 22 Mar 2012 20:55:56 +1100 From: Anton Blanchard To: Kent Yoder Subject: Re: [PATCH 05/17] pseries: Enabled the PFO-based RNG accelerator Message-ID: <20120322205556.054c6169@kryten> In-Reply-To: <1332365949.3858.32.camel@key-ThinkPad-W510> References: <1332365297.3858.5.camel@key-ThinkPad-W510> <1332365949.3858.32.camel@key-ThinkPad-W510> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Cc: rcj@linux.vnet.ibm.com, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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,client-architecture reboots every time a config option is changed. Let's just hardwire it on. Anton