cxl: Set the valid bit in PE for dedicated mode
authorVaibhav Jain <vaibhav@linux.vnet.ibm.com>
Mon, 4 Sep 2017 08:48:25 +0000 (14:18 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 3 Oct 2017 05:03:46 +0000 (16:03 +1100)
commit8512bffd6226fea259f94fd23fc3b62ffe64baa1
tree4f693a292dcdde4fe38f786a96b33eccfb2c92f5
parent03b8abedf4f4965e7e9e0d4f92877c42c07ce19f
cxl: Set the valid bit in PE for dedicated mode

Make sure to set the valid-bit in software-state field of the
populated PE. This was earlier missing for dedicated mode AFUs, hence
was causing a PSL freeze when the AFU was activated.

Signed-off-by: Vaibhav Jain <vaibhav@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>
drivers/misc/cxl/native.c