]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
cxl: Enable NORST bit in PSL_DEBUG register for PSL9
authorVaibhav Jain <vaibhav@linux.vnet.ibm.com>
Fri, 9 Feb 2018 04:09:16 +0000 (09:39 +0530)
committerThadeu Lima de Souza Cascardo <cascardo@canonical.com>
Tue, 10 Apr 2018 16:37:20 +0000 (13:37 -0300)
commit7759cb2c2abe13f85fb7c52452d91b9d27321771
tree6ccccd64a65943cebfabc770c844e1510d2f988a
parent17dd0448ee23bbd898c2a9463eb0d0890b29ca02
cxl: Enable NORST bit in PSL_DEBUG register for PSL9

BugLink: http://bugs.launchpad.net/bugs/1762462
We enable the NORST bit by default for debug afu images to prevent
reset of AFU trace-data on a PCI link drop. For production AFU images
this bit is always ignored and PSL gets reconfigured anyways thereby
resetting the trace data. So setting this bit for non-debug images
doesn't have any impact.

Signed-off-by: Vaibhav Jain <vaibhav@linux.vnet.ibm.com>
Reviewed-by: Christophe Lombard <clombard@linux.vnet.ibm.com>
Acked-by: Frederic Barrat <fbarrat@linux.vnet.ibm.com>
Acked-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
(cherry picked from commit 03ebb419b896e0fb2da3f34b57d45e62cafe4009)
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
drivers/misc/cxl/pci.c