OpenBSD cvs log

created 2020-11-14T23:46:53Z
begin 2020-11-09T00:00:00Z
end 2020-11-10T00:00:00Z
path src/sys
commits 9

date 2020-11-09T05:42:43Z
author jsg
files src/sys/dev/pci/drm/include/linux/atomic.h log diff annotate
message use 64 bit atomic builtins on i386 for atomic64

date 2020-11-09T13:33:23Z
author patrick
files src/sys/dev/fdt/if_mvpp.c log diff annotate
message Small whitespace cleanup.

date 2020-11-09T15:09:09Z
author bluhm
files src/sys/dev/pci/if_ix.c log diff annotate
message There seems to be a silicon errata for 82598 ix(4) chips. When the
link state changes and an interrupt is fired for that, the MSI-X
interrupt mask bits of the queues are cleared. During init while
the queues are enabled by the driver, the hardware disabled them
in the background. Then receiving packets did not work.
In MSI-X mode, use the FreeBSD logic to read the cause from EICS register.
from Christiano Haesbaert; tested with 82599 and X540T and OK jmatthew@

date 2020-11-09T15:40:01Z
author patrick
files src/sys/dev/fdt/if_mvpp.c log diff annotate
message On interface down, drop received packets by adding them back into the
buffer manager pool.

date 2020-11-09T15:41:44Z
author patrick
files src/sys/dev/fdt/if_mvpp.c log diff annotate
message Clear TX sent counter on up/down.

date 2020-11-09T15:45:21Z
author patrick
files src/sys/dev/fdt/if_mvpp.c log diff annotate
message Rework MAC initialization code. Properly turn comphy off and on again
on re-initialization. Make sure interrupts are masked while we are doing
those bits dirty. This fixes issues with network stopping after the first
down/up cycle.

date 2020-11-09T16:13:57Z
author patrick
files src/sys/arch/arm64/conf/GENERIC log diff annotate
src/sys/arch/arm64/conf/RAMDISK log diff annotate
message Enable mvpp(4).

ok kettenis@

date 2020-11-09T19:29:27Z
author guenther
files src/sys/arch/amd64/amd64/vector.S log diff annotate
src/sys/arch/amd64/include/frameasm.h log diff annotate
message Give sizes and types to more functions and objects.
No effect on object code, just symbol table accuracy

ok mpi@

date 2020-11-09T23:53:30Z
author jsg
files src/sys/dev/pci/drm/drm_linux.c log diff annotate
src/sys/dev/pci/drm/include/linux/atomic.h log diff annotate
message use a single preinitialised mutex for atomic64 fallback path

Previously we would initialise a variable specific mutex in
ATOMIC64_INIT() or atomic64_set() but the drm code in multiple places
zeroes memory and later accesses it without calling these resulting
in a mutex with IPL_NONE instead of IPL_HIGH.

Fixes a 'locking against myself' panic reported by Anthony Richardby
on macppc with PowerBook5,6 and RV350.
ok kettenis@