[PATCH v10 2/2] cxl: read PHB indications from the device tree
christophe lombard
clombard at linux.vnet.ibm.com
Wed Mar 7 03:57:36 AEDT 2018
Le 02/03/2018 à 10:56, Philippe Bergheaud a écrit :
> Configure the P9 XSL_DSNCTL register with PHB indications found
> in the device tree, or else use legacy hard-coded values.
>
> Signed-off-by: Philippe Bergheaud <felix at linux.vnet.ibm.com>
> Reviewed-by: Frederic Barrat <fbarrat at linux.vnet.ibm.com>
> ---
> Changelog:
>
> v2: New patch. Use the new device tree property "ibm,phb-indications".
>
> v3: No change.
>
> v4: No functional change.
> Drop cosmetic fix in comment.
>
> v5: get_phb_indications():
> - make static variables local to function.
> - return static variable values by arguments.
>
> v6: get_phb_indications():
> - acquire a mutex before setting the phb indications.
>
> v7: get_phb_indications():
> cxl_get_xsl9_dsnctl():
> - return -ENODEV instead of -1.
>
> v8: get_phb_indications():
> - stay on the safe side: acquire the mutex unconditionally
>
> v9,v10: No change.
> ---
Reviewed-by: Christophe Lombard <clombard at linux.vnet.ibm.com>
More information about the Linuxppc-dev
mailing list