cxl: Fixes for Coherent Accelerator Interface Architecture 2.0
authorChristophe Lombard <clombard@linux.vnet.ibm.com>
Tue, 13 Jun 2017 15:41:05 +0000 (17:41 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 23 Jun 2017 06:26:23 +0000 (16:26 +1000)
commit797625deaedd9a0621376817db2813244b3246e3
tree98380967e1e8cd2653f49464b0ded56e29d510de
parent34f19ff1b5a0d11e46df479623d6936460105c9f
cxl: Fixes for Coherent Accelerator Interface Architecture 2.0

A previous set of patches "cxl: Add support for Coherent Accelerator
Interface Architecture 2.0" has introduced a new support for the CAPI
cards. These patches have been tested on Simulation environment and
quite a bit of them have been tested on real hardware.

This patch brings new fixes after a series of tests carried out on new
equipment:
  - Add POWER9 definition.
  - Re-enable any masked interrupts when the AFU is not activated
    after resetting the AFU.
  - Remove the api cxl_is_psl8/9 which is no longer useful.
  - Do not dump CAPI1 registers.
  - Rewrite cxl_is_page_fault() function.
  - Do not register slb callack on P9.

Fixes: f24be42aab37 ("cxl: Add psl9 specific code")
Signed-off-by: Christophe Lombard <clombard@linux.vnet.ibm.com>
Acked-by: Frederic Barrat <fbarrat@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
drivers/misc/cxl/context.c
drivers/misc/cxl/cxl.h
drivers/misc/cxl/fault.c
drivers/misc/cxl/main.c
drivers/misc/cxl/native.c
drivers/misc/cxl/pci.c