]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
committerStefan Bader <stefan.bader@canonical.com>
Tue, 14 Aug 2018 10:23:16 +0000 (12:23 +0200)
commit018e16b759a4c4114ed82ec77807719eeb36c3c5
tree1f8081017a416a09cc9fafa5b4211b6519d77411
parent2f3b7ef774b3c77d7884d846a5cd2f5f5e476981
cxl: Configure PSL to not use APC virtual machines

BugLink: http://bugs.launchpad.net/bugs/1774471
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: 5632874311db ("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>
(cherry picked from linux-next commit 9a6d2022bacd8fca0be6297459a02dfd28dad6ba)
Signed-off-by: Joseph Salisbury <joseph.salisbury@canonical.com>
Acked-by: Khalid Elmously <khalid.elmously@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/misc/cxl/pci.c