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 <fe...@linux.vnet.ibm.com>
Reviewed-by: Frederic Barrat <fbar...@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 <clomb...@linux.vnet.ibm.com>

Reply via email to