alistair23-linux/drivers/misc/cxl
Christophe Lombard 5632874311 cxl: Add support for POWER9 DD2
The PSL initialization sequence has been updated to DD2.
This patch adapts to the changes, retaining compatibility with DD1.
The patch includes some changes to DD1 fix-ups as well.

Tests performed on some of the old/new hardware.

The function is_page_fault(), for POWER9, lists the Translation Checkout
Responses where the page fault will be handled by copro_handle_mm_fault().
This list is too restrictive and not necessary.

This patches removes this restriction and all page faults, whatever the
reason, will be handled. In this case, the interruption is always
acknowledged.

The following features will be added soon:
- phb reset when switching to capi mode.
- cxllib update to support new functions.

Signed-off-by: Christophe Lombard <clombard@linux.vnet.ibm.com>

Acked-by: Frederic Barrat <fbarrat@linux.vnet.ibm.com>
Reviewed-by: Vaibhav Jain <vaibhav@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2017-10-06 20:52:43 +11:00
..
api.c cxl: Enable global TLBIs for cxl contexts 2017-09-28 17:09:16 +10:00
base.c
context.c cxl: Enable global TLBIs for cxl contexts 2017-09-28 17:09:16 +10:00
cxl.h cxl: Add support for POWER9 DD2 2017-10-06 20:52:43 +11:00
cxllib.c cxl: Export library to support IBM XSL 2017-07-03 23:07:03 +10:00
debugfs.c cxl: Add psl9 specific code 2017-04-13 23:34:31 +10:00
fault.c cxl: Add support for POWER9 DD2 2017-10-06 20:52:43 +11:00
file.c cxl: Enable global TLBIs for cxl contexts 2017-09-28 17:09:16 +10:00
flash.c cxl: Unlock on error in probe 2017-06-06 19:23:52 +10:00
guest.c cxl: Add psl9 specific code 2017-04-13 23:34:31 +10:00
hcalls.c cxl: Remove unused values in bare-metal environment. 2017-04-13 23:34:28 +10:00
hcalls.h
irq.c cxl: Add psl9 specific code 2017-04-13 23:34:31 +10:00
Kconfig cxl: Export library to support IBM XSL 2017-07-03 23:07:03 +10:00
main.c cxl: Fixes for Coherent Accelerator Interface Architecture 2.0 2017-06-23 16:26:23 +10:00
Makefile cxl: Export library to support IBM XSL 2017-07-03 23:07:03 +10:00
native.c cxl: Set the valid bit in PE for dedicated mode 2017-10-03 16:03:46 +11:00
of.c
pci.c cxl: Add support for POWER9 DD2 2017-10-06 20:52:43 +11:00
phb.c cxl: Fix error handling in _cxl_pci_associate_default_context() 2016-11-18 22:41:08 +11:00
sysfs.c cxl: Prevent adapter reset if an active context exists 2016-10-19 20:35:39 +11:00
trace.c
trace.h cxl: Add psl9 specific code 2017-04-13 23:34:31 +10:00
vphb.c cxl: fix nested locking hang during EEH hotplug 2017-02-21 21:32:52 +11:00