cxl: Set the valid bit in PE for dedicated mode
authorVaibhav Jain <[email protected]>
Mon, 4 Sep 2017 08:48:25 +0000 (14:18 +0530)
committerMichael Ellerman <[email protected]>
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 <[email protected]>
Acked-by: Frederic Barrat <[email protected]>
Acked-by: Andrew Donnellan <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
drivers/misc/cxl/native.c