freebsd-skq/sys/riscv
John Baldwin 5a02cd314d Trim duplicate CSR swaps from user exceptions.
The stack pointer is swapped with the sscratch CSR just before the
jump to cpu_exception_handler_user where the first instruction swaps
it again.  The two swaps together are a no-op, but the csr swap
instructions can be expensive (e.g. on Bluespec RISC-V cores csr swap
instructions force a full pipeline stall).

Reported by:	jrtc27
Reviewed by:	br
MFC after:	2 weeks
Sponsored by:	DARPA
Differential Revision:	https://reviews.freebsd.org/D23394
2020-01-30 22:19:48 +00:00
..
conf Include the PCI stack to the riscv GENERIC kernel. 2020-01-24 17:10:21 +00:00
include Remove unused fields from struct pcb. 2020-01-30 19:15:27 +00:00
riscv Trim duplicate CSR swaps from user exceptions. 2020-01-30 22:19:48 +00:00
sifive sifive: Fix incorrect tx/rx ctrl defines 2020-01-07 09:02:14 +00:00