mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 06:31:49 +00:00
7fa95f9ada
Add support for the scv instruction on POWER9 and later CPUs. For now this implements the zeroth scv vector 'scv 0', as identical to 'sc' system calls, with the exception that LR is not preserved, nor are volatile CR registers, and error is not indicated with CR0[SO], but by returning a negative errno. rfscv is implemented to return from scv type system calls. It can not be used to return from sc system calls because those are defined to preserve LR. getpid syscall throughput on POWER9 is improved by 26% (428 to 318 cycles), largely due to reducing mtmsr and mtspr. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> [mpe: Fix ppc64e build] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20200611081203.995112-3-npiggin@gmail.com |
||
---|---|---|
.. | ||
bootwrapper.rst | ||
cpu_families.rst | ||
cpu_features.rst | ||
cxl.rst | ||
cxlflash.rst | ||
dawr-power9.rst | ||
dscr.rst | ||
eeh-pci-error-recovery.rst | ||
elfnote.rst | ||
firmware-assisted-dump.rst | ||
hvcs.rst | ||
imc.rst | ||
index.rst | ||
isa-versions.rst | ||
kaslr-booke32.rst | ||
mpc52xx.rst | ||
papr_hcalls.rst | ||
pci_iov_resource_on_powernv.rst | ||
pmu-ebb.rst | ||
ptrace.rst | ||
qe_firmware.rst | ||
syscall64-abi.rst | ||
transactional_memory.rst | ||
ultravisor.rst | ||
vas-api.rst | ||
vcpudispatch_stats.txt |