Re: [PATCH 1/2] powerpc/eeh: Check for EEH availability in eeh_add_device_early()

2016-02-03 Thread Guilherme G. Piccoli
On 02/02/2016 08:44 PM, Gavin Shan wrote: /** + * eeh_available - Checks for the availability of EEH based on running + * architecture. + * + * This routine should be used in case we need to check if EEH is + * available in some situation, regardless if EEH is enabled or not. + * For example, if

Re: [PATCH 1/2] powerpc/eeh: Check for EEH availability in eeh_add_device_early()

2016-02-03 Thread Gavin Shan
On Wed, Feb 03, 2016 at 09:54:51AM -0200, Guilherme G. Piccoli wrote: >On 02/02/2016 08:44 PM, Gavin Shan wrote: >>>/** >>>+ * eeh_available - Checks for the availability of EEH based on running >>>+ * architecture. >>>+ * >>>+ * This routine should be used in case we need to check if EEH is >>>+

Re: [PATCH 1/2] powerpc/eeh: Check for EEH availability in eeh_add_device_early()

2016-02-02 Thread Gavin Shan
On Tue, Jan 19, 2016 at 06:18:19PM -0200, Guilherme G. Piccoli wrote: >The function eeh_add_device_early() is used to perform EEH initialization in >devices added later on the system, like in hotplug/DLPAR scenarios. Since the >commit 89a51df5ab1d ("powerpc/eeh: Fix crash in eeh_add_device_early()

[PATCH 1/2] powerpc/eeh: Check for EEH availability in eeh_add_device_early()

2016-01-19 Thread Guilherme G. Piccoli
The function eeh_add_device_early() is used to perform EEH initialization in devices added later on the system, like in hotplug/DLPAR scenarios. Since the commit 89a51df5ab1d ("powerpc/eeh: Fix crash in eeh_add_device_early() on Cell") a new check was introduced in this function - Cell has no EEH