cxl: read PHB indications from the device tree
authorPhilippe Bergheaud <felix@linux.vnet.ibm.com>
Fri, 2 Mar 2018 09:56:12 +0000 (10:56 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 13 Mar 2018 04:50:30 +0000 (15:50 +1100)
commit9dbcbfa1fe0c3b556e889ea213a73eb80d74307b
tree71042281315c1048a9f168b35f1f510bf94fa068
parentd6a90bb83b5084829558788ea5b8818c9be3da63
cxl: read PHB indications from the device tree

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@linux.vnet.ibm.com>
Reviewed-by: Frederic Barrat <fbarrat@linux.vnet.ibm.com>
Reviewed-by: Christophe Lombard <clombard@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
drivers/misc/cxl/cxl.h
drivers/misc/cxl/cxllib.c
drivers/misc/cxl/pci.c