OpenBSD cvs log

created 2021-06-26T16:58:52Z
begin 2021-06-20T00:00:00Z
end 2021-06-21T00:00:00Z
path src/sys
commits 6

date 2021-06-20T06:40:12Z
author jsg
files src/sys/dev/pci/pcidevs log diff annotate
message add some devices found on the intel nuc10i7fnh

For the thunderbolt controller, while a public datasheet with product
ids and marketing names can't be found we know these ids are for the two
channel version of the thunderbolt 3 controller codenamed titan ridge
from public patches by Intel employees. There are two channels per port
and the only single port titan ridge described on ark.intel.com is the
JHL7340. The ids included with lspci refer to these devices as JHL7540
but that is a four channel / two port controller.

initial patch from fkr

date 2021-06-20T06:40:52Z
author jsg
files src/sys/dev/pci/pcidevs.h log diff annotate
src/sys/dev/pci/pcidevs_data.h log diff annotate
message regen

date 2021-06-20T10:58:36Z
author sthen
files src/sys/arch/i386/i386/trap.c log diff annotate
message Reinstate locks around uvm_fault calls from upageflttrap and kpageflttrap
on i386. This is a backout of revision 1.152.

Kernel crash with messages printed concurrently from multiple CPUs
occasionally seen during ports build:

"WARNING: SPL NOT LOWERED ON TRAP EXIT"

and these panics

ddb{1}> sh panic
cpu1: uvm_fault(0xd470a0a0, 0xcf9b7000, 0, 1) -> e
cpu3: kernel diagnostic assertion "!_kernel_lock_held()" failed: file "/usr/src/sys/uvm/uvm_map.c", line 2707

date 2021-06-20T16:51:37Z
author deraadt
files src/sys/arch/riscv64/dev/mainbus.c log diff annotate
message Skip disabled cpus (usually service cpus without full functionality).
cpumatch will also ignore them, but skipping them here avoids increment
of hw.cpusfound
ok jsg

date 2021-06-20T17:55:37Z
author kettenis
files src/sys/arch/riscv64/dev/sfuart.c log diff annotate
message Make sure we program the baud rate divisor register. Without this,
opening the tty corresponding to a non-console device will hang the
machine.

ok deraadt@

date 2021-06-20T17:57:10Z
author deraadt
files src/sys/arch/riscv64/riscv64/trap.c log diff annotate
message Mystery bag of cleanups -- mostly removing old debug code, or moving
local variables to just before they are needed.
ok kettenis