OpenBSD cvs log

created 2019-05-14T10:55:07Z
begin 2019-05-06T00:00:00Z
end 2019-05-07T00:00:00Z
path src/sys
commits 13

date 2019-05-06T03:30:10Z
author mlarkin
files src/sys/arch/armv7/omap/gptimer.c log diff annotate
message Whitespace and extra semicolon removal.

Pointed out by Jerome Pinot

date 2019-05-06T03:32:48Z
author mlarkin
files src/sys/arch/armv7/armv7/armv7_machdep.c log diff annotate
src/sys/arch/armv7/armv7/armv7_start.S log diff annotate
message Whitespace removal

Pointed out by Jerome Pinot

date 2019-05-06T03:34:43Z
author mlarkin
files src/sys/arch/armv7/include/bootconfig.h log diff annotate
src/sys/arch/armv7/include/intr.h log diff annotate
src/sys/arch/armv7/include/machine_reg.h log diff annotate
message Whitespace removal

Pointed out by Jerome Pinot

date 2019-05-06T03:45:58Z
author mlarkin
files src/sys/arch/armv7/omap/amdisplay.c log diff annotate
src/sys/arch/armv7/omap/amdisplayreg.h log diff annotate
src/sys/arch/armv7/omap/dmtimer.c log diff annotate
src/sys/arch/armv7/omap/gptimer.c log diff annotate
src/sys/arch/armv7/omap/intc.c log diff annotate
src/sys/arch/armv7/omap/intc.h log diff annotate
src/sys/arch/armv7/omap/nxphdmi.c log diff annotate
src/sys/arch/armv7/omap/omdisplay.c log diff annotate
src/sys/arch/armv7/omap/omehcivar.h log diff annotate
src/sys/arch/armv7/omap/omusbtll.c log diff annotate
src/sys/arch/armv7/omap/sitara_cm.h log diff annotate
src/sys/arch/armv7/omap/ti_iic.c log diff annotate
message Whitespace removal

Pointed out by Jerome Pinot

date 2019-05-06T03:47:40Z
author mlarkin
files src/sys/arch/armv7/stand/efiboot/efidev.h log diff annotate
message Whitespace removal

Pointed out by Jerome Pinot

date 2019-05-06T03:49:53Z
author mlarkin
files src/sys/arch/armv7/sunxi/sxiintc.c log diff annotate
src/sys/arch/armv7/sunxi/sxitimer.c log diff annotate
message Whitespace removal

Pointed out by Jerome Pinot

date 2019-05-06T03:50:48Z
author mlarkin
files src/sys/arch/armv7/vexpress/sysreg.c log diff annotate
message Whitespace removal

Pointed out by Jerome Pinot

date 2019-05-06T07:44:00Z
author kevlo
files src/sys/dev/pci/if_alc.c log diff annotate
message Fix a logic error when configuring the driver to use msi.

date 2019-05-06T12:54:51Z
author visa
files src/sys/arch/mips64/mips64/exception.S log diff annotate
message Fix unintentional delay of ASTs on MP mips64

Make the interrupt and trap return paths check for ASTs with interrupts
disabled. If there is no pending request, interrupts are kept disabled
until return to userspace. This fixes delayed processing of an AST
request that arrives from another CPU after the AST flag has been
checked but before the CPU has finished the return path. The IPI that
follows the setting of the AST flag forces kernel re-entry and recheck
of AST.

Noticed by guenther@

date 2019-05-06T12:56:30Z
author visa
files src/sys/arch/mips64/mips64/ipifuncs.c log diff annotate
message Issue write-write barrier before sending IPI on mips64

The barrier ensures that any lockless state changes become visible
to other CPUs before the IPI is sent. Otherwise, a receiving CPU
might still observe an old state when it processes the interrupt.

OK guenther@

date 2019-05-06T12:57:56Z
author visa
files src/sys/arch/mips64/mips64/cpu.c log diff annotate
src/sys/arch/mips64/mips64/sendsig.c log diff annotate
src/sys/arch/mips64/mips64/trap.c log diff annotate
message Enforce store/load order when setting or clearing AST flag on mips64

Make sure that any preceding stores become visible to other CPUs before
setting the AST flag in need_resched() and signotify(). This should
prevent a very unlikely case with inter-CPU ASTs where the receiving
CPU uses stale state.

When clearing the AST flag in ast(), ensure that the clearing store
is performed before any other memory accesses in the AST handler.
Otherwise, there is a slight risk of losing an AST request that gets
posted while the handler is running.

OK guenther@

date 2019-05-06T16:29:19Z
author anton
files src/sys/kern/vfs_lockf.c log diff annotate
message Bring back lockf deadlock detection from the dead. Back in 2007, the deadlock
detection broke while changing the owner of a lock from struct proc to struct
filedesc/file. Instead of keeping track of the owning proc for each lock,
introduce a new list for all pending blocked locks. This list is scanned before
waiting on a blocking lock in order to determine if sleeping would cause a
deadlock.

The new implementation is serialized by the recently added locking to the same
subsystem, meaning that acquiring the kernel lock is no longer necessary.

ok visa@

date 2019-05-06T17:13:22Z
author visa
files src/sys/arch/octeon/octeon/locore.S log diff annotate
message Fix thinko in previous. The .bss clearing was overzealous and overwrote
a part of the free memory list, terminating it prematurely.