]> git.baikalelectronics.ru Git - kernel.git/commit
cxl: Configure PSL to not use APC virtual machines
authorVaibhav Jain <vaibhav@linux.vnet.ibm.com>
Tue, 17 Apr 2018 05:11:02 +0000 (10:41 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 1 Jun 2018 15:48:10 +0000 (01:48 +1000)
commit6d158905148ba9424b5d846a95bd5c461114cde2
tree8e136f2e448d797a1f2afcacfe12132c8d1a4a36
parent7d403fe845107d575df6f3fb4b2ca6f8b2eb6ea6
cxl: Configure PSL to not use APC virtual machines

APC virtual machines arent used on POWER-9 chips and are already
disabled in on-chip CAPP. They also need to be disabled on the PSL via
'PSL Data Send Control Register' by setting bit(47). This forces the
PSL to send commands to CAPP with queue.id == 0.

Fixes: ada65f524806 ("cxl: Add support for POWER9 DD2")
Cc: stable@vger.kernel.org # v4.15+
Signed-off-by: Vaibhav Jain <vaibhav@linux.vnet.ibm.com>
Acked-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Reviewed-by: Alastair D'Silva <alastair@d-silva.org>
Reviewed-by: Christophe Lombard <clombard@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
drivers/misc/cxl/pci.c