]> 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)
commit5ce089ae842467a6fb825edc55359bbf68483153
tree71042281315c1048a9f168b35f1f510bf94fa068
parent540b314bfa299300c16af6f8d2b401adee0838b6
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