OpenBSD cvs log

created 2022-02-26T18:56:59Z
begin 2022-02-21T00:00:00Z
end 2022-02-22T00:00:00Z
path src/sys
commits 38

date 2022-02-21T05:19:07Z
author dlg
files src/sys/net/if_vxlan.c log diff annotate
message in input, clear the address union before putting an ipv4 address in it.

the whole vxlan address is used for lookups in the RB tree, so any
garbage on the stack where the address sits could confuse the lookup.
it looks like i was lucky before, but if you receive vxlan over
ipsec you are less lucky.

found by and fix tested by jason tubnor.

date 2022-02-21T05:54:35Z
author jsg
files src/sys/arch/armv7/imx/imxtemp.c log diff annotate
message tempterature -> temperature

date 2022-02-21T07:15:42Z
author jsg
files src/sys/dev/pci/if_skreg.h log diff annotate
message receice -> receive

date 2022-02-21T08:16:08Z
author jsg
files src/sys/arch/amd64/amd64/powernow-k8.c log diff annotate
message opearting -> operating

date 2022-02-21T08:27:51Z
author jsg
files src/sys/dev/tc/if_le_tc.c log diff annotate
message onbard -> onboard

date 2022-02-21T08:50:18Z
author jsg
files src/sys/dev/pci/auixp.c log diff annotate
message splitted -> split, necesssary -> necessary

date 2022-02-21T09:57:18Z
author jsg
files src/sys/arch/i386/i386/pmap.c log diff annotate
message mappiing -> mapping

date 2022-02-21T10:06:35Z
author jsg
files src/sys/arch/i386/include/specialreg.h log diff annotate
message lenghy -> lengthy

date 2022-02-21T10:20:51Z
author jsg
files src/sys/arch/sparc64/dev/iommureg.h log diff annotate
message iommmu -> iommu

date 2022-02-21T10:24:28Z
author mpi
files src/sys/arch/i386/i386/acpi_machdep.c log diff annotate
src/sys/arch/i386/i386/amdmsr.c log diff annotate
src/sys/arch/i386/i386/apm.c log diff annotate
src/sys/arch/i386/i386/bios.c log diff annotate
src/sys/arch/i386/i386/cpu.c log diff annotate
src/sys/arch/i386/i386/esm.c log diff annotate
src/sys/arch/i386/i386/ioapic.c log diff annotate
src/sys/arch/i386/i386/mainbus.c log diff annotate
src/sys/arch/i386/i386/mpbios.c log diff annotate
src/sys/arch/i386/isa/ahc_isa.c log diff annotate
src/sys/arch/i386/isa/joy_isa.c log diff annotate
src/sys/arch/i386/isa/joy_isapnp.c log diff annotate
src/sys/arch/i386/isa/lms.c log diff annotate
src/sys/arch/i386/isa/mms.c log diff annotate
src/sys/arch/i386/isa/npx.c log diff annotate
src/sys/arch/i386/pci/elan520.c log diff annotate
src/sys/arch/i386/pci/geodesc.c log diff annotate
src/sys/arch/i386/pci/glxsb.c log diff annotate
src/sys/arch/i386/pci/gscpcib.c log diff annotate
src/sys/arch/i386/pci/gscpm.c log diff annotate
src/sys/arch/i386/pci/ichpcib.c log diff annotate
src/sys/arch/i386/pci/pchb.c log diff annotate
src/sys/arch/i386/pci/pcib.c log diff annotate
src/sys/arch/i386/pci/pcibios.c log diff annotate
message Constify struct cfattach.

date 2022-02-21T10:26:20Z
author jsg
files src/sys/uvm/uvm_addr.c log diff annotate
message interting -> inserting

date 2022-02-21T10:38:50Z
author jsg
files src/sys/arch/macppc/dev/openpic.c log diff annotate
message interrunts -> interrupts

date 2022-02-21T10:44:58Z
author jsg
files src/sys/arch/sh/include/cpu.h log diff annotate
message instructinos -> instructions

date 2022-02-21T10:51:36Z
author jsg
files src/sys/arch/sh/sh/sh_machdep.c log diff annotate
message initiailze -> initialize

date 2022-02-21T10:57:58Z
author jsg
files src/sys/arch/armv7/omap/dmtimer.c log diff annotate
src/sys/arch/armv7/omap/gptimer.c log diff annotate
message initializion -> initialization

date 2022-02-21T11:03:39Z
author mpi
files src/sys/arch/amd64/amd64/acpi_machdep.c log diff annotate
src/sys/arch/amd64/amd64/bios.c log diff annotate
src/sys/arch/amd64/amd64/cpu.c log diff annotate
src/sys/arch/amd64/amd64/ioapic.c log diff annotate
src/sys/arch/amd64/amd64/mainbus.c log diff annotate
src/sys/arch/amd64/amd64/mpbios.c log diff annotate
src/sys/arch/amd64/pci/aapic.c log diff annotate
src/sys/arch/amd64/pci/acpipci.c log diff annotate
src/sys/arch/amd64/pci/pchb.c log diff annotate
src/sys/arch/amd64/pci/pcib.c log diff annotate
message Constify struct cfattach.

date 2022-02-21T11:09:52Z
author jsg
files src/sys/arch/sparc64/dev/psycho.c log diff annotate
message independednt -> independent, let's -> lets

date 2022-02-21T11:15:09Z
author jsg
files src/sys/arch/powerpc64/dev/phb.c log diff annotate
message implenent -> implement

date 2022-02-21T11:20:34Z
author jsg
files src/sys/dev/pci/vmwpvs.c log diff annotate
message ignorint -> ignoring

date 2022-02-21T11:43:02Z
author jsg
files src/sys/netinet6/raw_ip6.c log diff annotate
message futther -> further

date 2022-02-21T12:09:15Z
author jsg
files src/sys/kern/uipc_socket2.c log diff annotate
message expliclitly -> explicitly

date 2022-02-21T12:16:55Z
author jsg
files src/sys/arch/sh/include/mmu.h log diff annotate
message entris -> entries

date 2022-02-21T12:18:54Z
author jsg
files src/sys/dev/pci/bktr/bktr_card.c log diff annotate
message entried -> entries

date 2022-02-21T12:22:21Z
author jsg
files src/sys/arch/hppa/include/exec.h log diff annotate
message enries -> entries

date 2022-02-21T12:36:21Z
author jsg
files src/sys/dev/pci/if_ixgb.c log diff annotate
message dmammem -> dmamem

date 2022-02-21T12:41:39Z
author jsg
files src/sys/dev/usb/umcs.h log diff annotate
message diviedr -> divider

date 2022-02-21T12:46:59Z
author jsg
files src/sys/arch/loongson/dev/voyager.c log diff annotate
message disatcher -> dispatcher

date 2022-02-21T12:53:39Z
author jsg
files src/sys/arch/i386/isa/ahc_isa.c log diff annotate
message differenent -> different

date 2022-02-21T13:32:45Z
author jsg
files src/sys/arch/arm/include/vfp.h log diff annotate
message cululative -> cumulative

date 2022-02-21T13:51:04Z
author jsg
files src/sys/kern/sysv_msg.c log diff annotate
message consisitent -> consistent

date 2022-02-21T14:16:49Z
author jsg
files src/sys/kern/subr_witness.c log diff annotate
message anscestors -> ancestors

date 2022-02-21T14:21:58Z
author jsg
files src/sys/dev/usb/uaudio.c log diff annotate
message ambigus -> ambiguous

date 2022-02-21T14:26:19Z
author jsg
files src/sys/arch/i386/include/pcb.h log diff annotate
message aligend -> aligned

date 2022-02-21T16:08:36Z
author kn
files src/sys/uvm/uvm_object.c log diff annotate
message Grab vmobjlocks with RW_DUPOK in vm_obj_wire() to silence WITNESS

The drm subsystem implements graphics buffers as uvm objects backed by
anonymous memory, thus drm locks and aobj locks share the same "vmobjlock"
type.

uvm_obj_wire() is only called from sys/dev/pci/drm/, so instead of changing
drm's lock init/alloc routines to mark allow duplicate locks in general,
enter uvm's vmobjlock with RW_DUPOK in this function to allow duplicate
lock types per thread in this specific call path alone.

Fixes the following WITNESS report when booting/starting X (as seen already
in other unrelated bugs@ reports):

wsdisplay0: screen 1-5 added (std, vt100 emulation)
witness: acquiring duplicate lock of same type: "&uobj->vmobjlock"
1st uobjlk
2nd uobjlk
Starting stack trace...
witness_checkorder(fffffd83b625f9b0,9,0) at witness_checkorder+0x8ac
rw_enter(fffffd83b625f9a0,1) at rw_enter+0x68
uvm_obj_wire(fffffd843c39e948,0,40000,ffff800033b70428) at uvm_obj_wire+0x46
shmem_get_pages(ffff800008008500) at shmem_get_pages+0xb8
__i915_gem_object_get_pages(ffff800008008500) at __i915_gem_object_get_pages+0x6d
i915_gem_fault(ffff800008008500,ffff800033b707c0,10009b000,a43d6b1c000,ffff800033b70740,1,35ba896911df1241,ffff8000000aa078,ffff8000000aa178) at i915_gem_fault+0x203
drm_fault(ffff800033b707c0,a43d6b1c000,ffff800033b70740,1,0,0,7eca45006f70ee0,ffff800033b707c0) at drm_fault+0x156
uvm_fault(fffffd843a7cf480,a43d6b1c000,0,2) at uvm_fault+0x179
upageflttrap(ffff800033b70920,a43d6b1c000) at upageflttrap+0x62
usertrap(ffff800033b70920) at usertrap+0x129
recall_trap() at recall_trap+0x8
end of kernel
end trace frame: 0x7f7ffffdc7c0, count: 246
End of stack trace.

Input kettenis
OK mpi

date 2022-02-21T19:15:58Z
author kettenis
files src/sys/arch/arm/arm/pmap7.c log diff annotate
src/sys/arch/arm/arm/vm_machdep.c log diff annotate
message Convert KVA allocation to km_alloc(9).

ok mpi@

date 2022-02-21T19:17:51Z
author kettenis
files src/sys/arch/powerpc/powerpc/vm_machdep.c log diff annotate
message Convert KVA allocation to km_alloc(9).

ok gkoehler@

date 2022-02-21T19:18:52Z
author kettenis
files src/sys/arch/i386/i386/vm_machdep.c log diff annotate
message Convert KVA allocation to km_alloc(9).

ok mpi@

date 2022-02-21T19:22:21Z
author kettenis
files src/sys/arch/alpha/alpha/vm_machdep.c log diff annotate
src/sys/arch/m88k/m88k/vm_machdep.c log diff annotate
message Convert KVA allocation to km_alloc(9).

ok mpi@