created | 2023-01-17T10:20:14Z |
---|---|
begin | 2023-01-10T00:00:00Z |
end | 2023-01-11T00:00:00Z |
path | src/sys |
commits | 10 |
date | 2023-01-10T00:49:45Z | |||
---|---|---|---|---|
author | cheloha | |||
files | src/sys/arch/i386/i386/machdep.c | log | diff | annotate |
message |
i386: identifycpu(): don't print cpuspeed after calibrate_cyclecounter() The cpuspeed set during calibrate_cyclecounter() is a bogomips measurement. It isn't an authoritative (nominal) frequency, so we shouldn't print it out when identifying each CPU. As an added bonus, this also removes some noise when diffing i386 dmesgs. ok deraadt@ |
date | 2023-01-10T01:01:18Z | |||
---|---|---|---|---|
author | cheloha | |||
files | src/sys/arch/i386/i386/machdep.c | log | diff | annotate |
message |
i386: identifycpu(): only calibrate_cyclecounter() on primary CPU On i386 during identifycpu(), we call calibrate_cyclecounter() for every CPU in the system. This is pointless: every new call clobbers the cpuspeed measured during the prior call. It is also extremely slow: every call to calibrate_cyclecounter() takes about 1 second. Instead, let's only call calibrate_cyclecounter() once, on the primary CPU. Multiprocessor i386 machines will now boot much faster. ok deraadt@ |
date | 2023-01-10T01:09:14Z | |||
---|---|---|---|---|
author | dv | |||
files | src/sys/arch/amd64/amd64/identcpu.c | log | diff | annotate |
src/sys/arch/amd64/include/specialreg.h | log | diff | annotate | |
src/sys/arch/amd64/include/vmmvar.h | log | diff | annotate | |
src/sys/arch/i386/i386/machdep.c | log | diff | annotate | |
src/sys/arch/i386/include/specialreg.h | log | diff | annotate | |
message |
Hide WAITPKG cpu feature from vmm(4) guests. Alder Lake and similar-era Intel platforms introduced new userland wait instructions. Since vmm was passing this cpuid bit into guests, some would attempt TPAUSE instructions and trigger invalid instruction exceptions because VMX requires additional configuration to support emulation. This also adds WAITPKG to i386 and amd64 cpu feature identification. Input from anton@, cheloha@, and guenther@. Tested by jmatthew@. OK deraadt. |
date | 2023-01-10T11:18:47Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/uvm/uvm_swap.c | log | diff | annotate |
message |
The uvm_swap_data_lock mutex can now be taken without holding the kernel lock. So it needs IPL_MPFLOOR to prevent lock ordering issues. ok jca@ |
date | 2023-01-10T12:47:19Z | |||
---|---|---|---|---|
author | tb | |||
files | src/sys/dev/wscons/wsdisplay.c | log | diff | annotate |
message | rhe -> the from Crystal Kolipe |
date | 2023-01-10T16:33:18Z | |||
---|---|---|---|---|
author | tobhe | |||
files | src/sys/dev/wscons/wsdisplay.c | log | diff | annotate |
message |
Switch to console before suspending in DUMBFB mode. Fixes frame buffer corruption and a few other bugs/races after wakeup on Apple Silicon laptops and Lenovo x13s. ok kettenis@ deraadt@ |
date | 2023-01-10T17:04:01Z | |||
---|---|---|---|---|
author | miod | |||
files | src/sys/arch/mips64/mips64/trap.c | log | diff | annotate |
message |
Enable the fine-grained fault type computation code added in 1.117 on all mips64 processors, not only Octeon; needed to cope with xonly mappings. |
date | 2023-01-10T17:10:57Z | |||
---|---|---|---|---|
author | miod | |||
files | src/sys/arch/luna88k/stand/boot/Makefile | log | diff | annotate |
src/sys/arch/luna88k/stand/boot/Attic/awaitkey.c | log | diff | annotate | |
src/sys/arch/luna88k/stand/boot/bcd.c | log | diff | annotate | |
src/sys/arch/luna88k/stand/boot/bmc.c | log | diff | annotate | |
src/sys/arch/luna88k/stand/boot/Attic/boot.c | log | diff | annotate | |
src/sys/arch/luna88k/stand/boot/boot.ldscript | log | diff | annotate | |
src/sys/arch/luna88k/stand/boot/dev_net.c | log | diff | annotate | |
src/sys/arch/luna88k/stand/boot/dev_net.h | log | diff | annotate | |
src/sys/arch/luna88k/stand/boot/devopen.c | log | diff | annotate | |
src/sys/arch/luna88k/stand/boot/exec.c | log | diff | annotate | |
src/sys/arch/luna88k/stand/boot/Attic/getline.c | log | diff | annotate | |
src/sys/arch/luna88k/stand/boot/getsecs.c | log | diff | annotate | |
src/sys/arch/luna88k/stand/boot/if_le.c | log | diff | annotate | |
src/sys/arch/luna88k/stand/boot/init_main.c | log | diff | annotate | |
src/sys/arch/luna88k/stand/boot/kbd.c | log | diff | annotate | |
src/sys/arch/luna88k/stand/boot/lance.c | log | diff | annotate | |
src/sys/arch/luna88k/stand/boot/libsa.h | log | diff | annotate | |
src/sys/arch/luna88k/stand/boot/Attic/parse.c | log | diff | annotate | |
src/sys/arch/luna88k/stand/boot/Attic/prf.c | log | diff | annotate | |
src/sys/arch/luna88k/stand/boot/rcvbuf.h | log | diff | annotate | |
src/sys/arch/luna88k/stand/boot/samachdep.h | log | diff | annotate | |
src/sys/arch/luna88k/stand/boot/sc.c | log | diff | annotate | |
src/sys/arch/luna88k/stand/boot/sio.c | log | diff | annotate | |
message |
Switch the luna88k boot loader to the MI boot code, to ease future maintainence of it. Crank version to 0.8. ok aoyama@ |
date | 2023-01-10T17:38:10Z | |||
---|---|---|---|---|
author | miod | |||
files | src/sys/arch/sparc64/sparc64/pmap.c | log | diff | annotate |
message |
In pmap_bootstrap, when importing the PROM translations into the kernel pmap, be sure to clear all software bits from the TTEs, for these bits will have different meanings in OpenBSD. Tested on a large set of sun4u and sun4v systems of different eras to not cause any regression, should be safe enough. |
date | 2023-01-10T21:27:12Z | |||
---|---|---|---|---|
author | gkoehler | |||
files | src/sys/arch/powerpc/powerpc/pmap.c | log | diff | annotate |
message |
Use atomic ops on the set of used segment registers Each pmap sets a bit in usedsr to claim 16 unique VSIDs for its segment registers. Use atomic_cas_uint to set this bit (checking that the other cpu didn't steal it) and atomic_clearbits_int to clear it. Stop using splvm. ok miod@ |