Age | Commit message (Collapse) | Author |
|
using FPU instructions. Makes the bootloader work again after we switched
clang to use -mfloat-abi=softfp by default.
ok jsg@, patrick@
|
|
by the addition of db_save_stack_trace().
sys/arch/mips64/mips64/trap.c:(.text+0x410): undefined reference to `u_intr'
Pointed out by deraadt@
|
|
that, remove any existing mapping before locking the new vm_page.
This fix prevents a deadlock. Issue pointed out by witness(4).
|
|
|
|
OK mpi@
|
|
ok patrick@, kettenis@
|
|
ok visa@, patrick@
|
|
and install systems where the firmware uses a non-standard speed. This is
important for various boards that use a Rockchip SoC where the vendor thinks
using 1500000 bps as the serial console speed is a good idea (it isn't).
ok deraadt@, visa@, patrick@
|
|
|
|
of fdt-enabled platforms in sync.
OK deraadt@
|
|
OK guenther@
|
|
OK guenther@
|
|
OK guenther@
|
|
OK guenther@
|
|
workaround for branch target injection attacks (CVE 2017-5715).
ok patrick@, jsg@
|
|
|
|
essentially calls into ATF to make it supply power.
ok kettenis@
|
|
domains. This mechanism is used by the newer i.MX8M SoCs so that
drivers can call into ATF to supply power to e.g. a USB port.
ok kettenis@
|
|
unnecessary because curproc always does the locking.
OK mpi@
|
|
from mlarkin@
|
|
|
|
this gets rid of the source annotation which doesn't really add
anything other than adding complexitiy. randomess is generally
good enough that the few extra bits that the source type would
add are not worth it.
ok mikeb@ deraadt@
|
|
curproc that does the locking or unlocking, so the proc parameter
is pointless and can be dropped.
OK mpi@, deraadt@
|
|
activate it for efifb and inteldrm
ok kettenis
|
|
verified md5 sum on amd64
ok mlarkin@
|
|
therefore all other x86 cpus must pay the performance price of the
hazard workaround until Skylake disappears from the ecosystem eventually
like 486. This returns your cpu's performance to pre-inflated performance.
ok mlarkin guenther
|
|
These ports are used for Edge/Level control on the legacy PIC and will be
needed for a subsequent commit.
|
|
ok mlarkin@
|
|
ok guenther
|
|
noticed by deraadt@ and mlarkin@
|
|
OK mlarkin@
|
|
Simplify some code and reduce the number of places we are handling VINTR
exits.
ok brynet
|
|
xrstor_resume must not have profile prologue, so use NENTRY
Don't use _C_LABEL() with some pure-ASM labels
|
|
behave like a real call frame, thus vastly simplifying the ddb back
trace logic.
based on whinging from deraadt@
ok jasper@ mpi@ phessler@
|
|
that is not needed; this code deals with delaying the relocking of the
kernel lock until after interrupts are processed during external interrupt
exiting, but this is handled differently on SVM. External interrupts are
automatically handled by the CPU as soon as stgi() is performed after
exit. (The original code came from the VMX/Intel guest loop.)
ok guenther@
|
|
guest VM.
|
|
kernels.
While here sync all MP_LOCKDEBUG/while loops.
ok mlarkin@, visa@
|
|
handling purely in ASM instead of fixing up the state to call into
C...all in order to return back into a chunk of custom ASM which
was longer than the direct solution!
ok mlarkin@
|
|
no code change
|
|
attaches and claims glass console but after root is mounted if firmware
is not found efifb gets reattached to have a useable glass console.
|
|
Constipate a couple variables. Delete IDTVEC() macro and code handling
32bit-only traps (panic instead).
ok mlarkin@
|
|
The previous version of the code used "disable_intr" as a protection
around the FPU state saving routine, which left host RFLAGS.IF=0 when
entering the guest. If the guest ended up in a non-exitable condition,
the machine could hang due to missed TLB flush IPIs (and eventual
kernel lock contention and starvation).
tested by brynet@
ok guenther@
|
|
ok mlarkin@
|
|
|
|
consistency.
ok guenther
note - there is no equivalent diff here for i386 since XSAVE is not used
there.
|
|
|
|
|
|
malloc(9) and free(9) are MP-safe nowadays.
OK mpi@
|
|
change the memory map. diff from Ryan Lennox
ok kettenis
|
|
The early freeing has become possible because aesni_process() and
crypto_freesession() are no longer serialized by the kernel lock.
The flaw has caused kernel panics with IPsec traffic.
Issue seen by some, fix tested by mabi on bugs@
OK mikeb@, mpi@
|