]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit450ba87d35b4a853a8b0e19fecea1d0228ed77ec
tree71042281315c1048a9f168b35f1f510bf94fa068
parentac3c1ca3e85ebb2cb887ae703455b27d8d434daf
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