linux/drivers/misc/ocxl
Nicholas Piggin 2275d7b575 powerpc/64s/radix: introduce options to disable use of the tlbie instruction
Introduce two options to control the use of the tlbie instruction. A
boot time option which completely disables the kernel using the
instruction, this is currently incompatible with HASH MMU, KVM, and
coherent accelerators.

And a debugfs option can be switched at runtime and avoids using tlbie
for invalidating CPU TLBs for normal process and kernel address
mappings. Coherent accelerators are still managed with tlbie, as will
KVM partition scope translations.

Cross-CPU TLB flushing is implemented with IPIs and tlbiel. This is a
basic implementation which does not attempt to make any optimisation
beyond the tlbie implementation.

This is useful for performance testing among other things. For example
in certain situations on large systems, using IPIs may be faster than
tlbie as they can be directed rather than broadcast. Later we may also
take advantage of the IPIs to do more interesting things such as trim
the mm cpumask more aggressively.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20190902152931.17840-7-npiggin@gmail.com
2019-09-05 14:22:41 +10:00
..
afu_irq.c ocxl: move event_fd handling to frontend 2019-05-03 02:55:02 +10:00
config.c ocxl: Update for AFU descriptor template version 1.1 2019-07-10 13:20:44 +10:00
context.c ocxl: Allow contexts to be attached with a NULL mm 2019-07-03 21:29:47 +02:00
core.c ocxl: Create a clear delineation between ocxl backend & frontend 2019-05-03 02:55:01 +10:00
file.c ocxl: Fix return value check in afu_ioctl() 2019-05-06 20:21:56 +10:00
Kconfig Merge 5.2-rc4 into char-misc-next 2019-06-09 09:11:21 +02:00
link.c ocxl: Allow contexts to be attached with a NULL mm 2019-07-03 21:29:47 +02:00
main.c powerpc/64s/radix: introduce options to disable use of the tlbie instruction 2019-09-05 14:22:41 +10:00
Makefile ocxl: Provide global MMIO accessors for external drivers 2019-05-03 02:55:02 +10:00
mmio.c ocxl: Provide global MMIO accessors for external drivers 2019-05-03 02:55:02 +10:00
ocxl_internal.h ocxl: move event_fd handling to frontend 2019-05-03 02:55:02 +10:00
pasid.c
pci.c ocxl: Make ocxl_remove() static 2019-05-28 12:08:11 +10:00
sysfs.c ocxl: Create a clear delineation between ocxl backend & frontend 2019-05-03 02:55:01 +10:00
trace.c ocxl: Add trace points 2018-01-24 11:42:59 +11:00
trace.h ocxl: afu_irq only deals with IRQ IDs, not offsets 2019-05-03 02:55:02 +10:00