diff options
author | Philippe Bergheaud <felix@linux.vnet.ibm.com> | 2018-03-02 10:56:12 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-03-13 15:50:30 +1100 |
commit | 9dbcbfa1fe0c3b556e889ea213a73eb80d74307b (patch) | |
tree | 71042281315c1048a9f168b35f1f510bf94fa068 /drivers/misc/cxl/cxllib.c | |
parent | d6a90bb83b5084829558788ea5b8818c9be3da63 (diff) | |
download | op-kernel-dev-9dbcbfa1fe0c3b556e889ea213a73eb80d74307b.zip op-kernel-dev-9dbcbfa1fe0c3b556e889ea213a73eb80d74307b.tar.gz |
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>
Diffstat (limited to 'drivers/misc/cxl/cxllib.c')
-rw-r--r-- | drivers/misc/cxl/cxllib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/cxl/cxllib.c b/drivers/misc/cxl/cxllib.c index 30ccba4..bea1eb0 100644 --- a/drivers/misc/cxl/cxllib.c +++ b/drivers/misc/cxl/cxllib.c @@ -99,7 +99,7 @@ int cxllib_get_xsl_config(struct pci_dev *dev, struct cxllib_xsl_config *cfg) if (rc) return rc; - rc = cxl_get_xsl9_dsnctl(capp_unit_id, &cfg->dsnctl); + rc = cxl_get_xsl9_dsnctl(dev, capp_unit_id, &cfg->dsnctl); if (rc) return rc; if (cpu_has_feature(CPU_FTR_POWER9_DD1)) { |