OpenBSD cvs log

created 2019-05-04T02:01:50Z
begin 2017-10-04T00:00:00Z
end 2017-10-05T00:00:00Z
path src/sys
commits 8

date 2017-10-04T02:10:33Z
author guenther
files src/sys/arch/amd64/amd64/fpu.c log diff annotate
src/sys/arch/amd64/amd64/locore.S log diff annotate
src/sys/arch/amd64/amd64/trap.c log diff annotate
src/sys/arch/amd64/amd64/vector.S log diff annotate
message branches: 1.37.2;
Follow the pattern set by copy*/pcb_onfault: when xrstor faults, return
from the trap to a 'resume' address to effectively make xrstor_user()
return an error indication, then do the FPU cleanup and trap generation
from there where we can get access to the original, userspace trapframe.

The original fix tried to handle the trap while on the wrong trapframe,
leaking kernel addresses and possibly leading to double faults.
Problem pointed out by abluhm@
ok deraadt@ mikeb@

date 2017-10-04T17:37:16Z
author deraadt
files src/sys/conf/newvers.sh log diff annotate
message 6.2-current, back to work

date 2017-10-04T17:41:01Z
author deraadt
files src/sys/arch/i386/i386/trap.c log diff annotate
message as a result of previous change, vftype and ftype always have the same
value so simplify.

date 2017-10-04T17:59:41Z
author benno
files src/sys/conf/newvers.sh log diff annotate
message reminder to create .html and roll errata pages for release.
ok deraadt@

date 2017-10-04T18:00:12Z
author stsp
files src/sys/dev/pci/if_iwm.c log diff annotate
src/sys/dev/pci/if_iwmvar.h log diff annotate
message Introduce reference counting for tasks in iwm(4).

When bringing the interface down, the driver now waits for any running
tasks to complete before shutting down the hardware.

Based on suggestions by dlg@ and mpi@
Tested by myself, Manuel Giraud, anton@, and jcs@

date 2017-10-04T19:28:56Z
author naddy
files src/sys/conf/GENERIC log diff annotate
message re-enable POOL_DEBUG after the release

date 2017-10-04T21:00:34Z
author patrick
files src/sys/dev/pci/drm/radeon/radeon_combios.c log diff annotate
message Work around clang mis-optimization regression. For some expression-
emission temporaries no lifetime markers are emitted. This causes
clang to not re-use stack slots properly. By forcing the function to
be inlined this can be worked around.

ok kettenis@ jsg@

date 2017-10-04T21:04:56Z
author patrick
files src/sys/arch/arm64/conf/kern.ldscript log diff annotate
message Due to changes in LLD where sections are sorted in a different way,
the .got section was put into the randomdata segment. This caused
the bootloader to overwrite parts of the .got and leads to broken
pointers. Explicitly put the .got section into the .data segment.

ok kettenis@