OpenBSD cvs log

created 2019-04-30T17:56:11Z
begin 2019-04-23T00:00:00Z
end 2019-04-24T00:00:00Z
path src/sys
commits 18

date 2019-04-23T01:17:09Z
author kevlo
files src/sys/dev/pci/if_athn_pci.c log diff annotate
message - Update the comment describing why pci retry timeout needs to be disabled
- Override the default cache line size if it's set to zero

from Linux ath9k

ok stsp@, jmatthew@

date 2019-04-23T03:24:22Z
author jsg
files src/sys/dev/pci/pcidevs log diff annotate
message Add more amdgpu device ids.

The marketing names in libdrm's amdgpu.ids are based on device id and
revision id. A single device id often maps to multiple marketing names
but the same codename so stick to codenames here. The marketing names
in amdgpu.ids also do not cover all the device ids amdgpu matches on.

Use the same codenames as amdgpu.
Polaris 20 and Polaris 30 as Polaris 10.
Polaris 21 as Polaris 11.
Polaris 22 as Vega M.

date 2019-04-23T03:25:13Z
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 2019-04-23T06:51:04Z
author guenther
files src/sys/arch/amd64/amd64/lapic.c log diff annotate
src/sys/arch/amd64/amd64/pmap.c log diff annotate
message Copy cache-control bits from U+K to U-K entry in pmap_enter_special()
in a generic way, correcting the handling of the LAPIC page.

ok mlarkin@

date 2019-04-23T10:53:45Z
author dlg
files src/sys/net/if_bpe.c log diff annotate
src/sys/net/if_etherip.c log diff annotate
src/sys/net/if_gre.c log diff annotate
src/sys/net/if_mpw.c log diff annotate
src/sys/net/if_trunk.c log diff annotate
src/sys/net/if_vxlan.c log diff annotate
src/sys/netinet/ip_carp.c log diff annotate
message a first cut at converting some virtual ethernet interfaces to if_vinput

this let's input processing bypass ifiqs. there's a performance
benefit from this, and it will let me tweak the backpressure detection
mechanism that ifiqs use without impacting on a stack of virtual
interfaces.

ive tested all of these except mpw, which i will end up testing
soon anyway.

date 2019-04-23T11:01:54Z
author bluhm
files src/sys/netinet6/ip6_output.c log diff annotate
src/sys/netinet6/raw_ip6.c log diff annotate
message For raw IPv6 sockets userland may specify an offset where the
checksum field is located. During rip6 input and output make sure
that this field is within the packet. The offset my be -1 to disable
the feature, otherwise it must be non-negative and aligned. Do a
stricter check during setsockopt(2).
from FreeBSD; OK claudio@

date 2019-04-23T11:38:55Z
author jsg
files src/sys/dev/pci/drm/drm_linux.c log diff annotate
src/sys/dev/pci/drm/include/linux/fs.h log diff annotate
message Linux code expects to find struct file in fs.h so include sys/file.h
there. As sys/file.h does not have an include guard don't include it in
drm_linux.c which indirectly includes fs.h via drmP.h.

date 2019-04-23T11:44:54Z
author jsg
files src/sys/dev/pci/drm/i915/i915_gem.c log diff annotate
message enable discard_backing_storage() test
ok kettenis@

date 2019-04-23T11:48:55Z
author dlg
files src/sys/net/if_gre.c log diff annotate
message give gre and mgre percpu counters too

makes input bytes and packets consistent

date 2019-04-23T13:35:12Z
author visa
files src/sys/arch/hppa/hppa/lock_machdep.c log diff annotate
src/sys/arch/hppa/hppa/mutex.c log diff annotate
src/sys/arch/hppa/include/mplock.h log diff annotate
src/sys/arch/m88k/m88k/mutex.S log diff annotate
src/sys/arch/sparc64/sparc64/mutex.S log diff annotate
src/sys/dev/pci/drm/include/linux/completion.h log diff annotate
src/sys/dev/pci/drm/include/linux/spinlock.h log diff annotate
src/sys/dev/pci/drm/include/linux/wait.h log diff annotate
src/sys/kern/kern_lock.c log diff annotate
src/sys/kern/kern_rwlock.c log diff annotate
src/sys/kern/kern_synch.c log diff annotate
src/sys/kern/kern_timeout.c log diff annotate
src/sys/kern/subr_pool.c log diff annotate
src/sys/kern/subr_witness.c log diff annotate
src/sys/sys/_lock.h log diff annotate
src/sys/sys/mplock.h log diff annotate
src/sys/sys/mutex.h log diff annotate
src/sys/sys/rwlock.h log diff annotate
src/sys/sys/systm.h log diff annotate
src/sys/sys/witness.h log diff annotate
src/sys/uvm/uvm_map.c log diff annotate
message Remove file name and line number output from witness(4)

Reduce code clutter by removing the file name and line number output
from witness(4). Typically it is easy enough to locate offending locks
using the stack traces that are shown in lock order conflict reports.
Tricky cases can be tracked using sysctl kern.witness.locktrace=1 .

This patch additionally removes the witness(4) wrapper for mutexes.
Now each mutex implementation has to invoke the WITNESS_*() macros
in order to utilize the checker.

Discussed with and OK dlg@, OK mpi@

date 2019-04-23T13:53:46Z
author visa
files src/sys/arch/octeon/conf/files.octeon log diff annotate
message Add a driver for OCTEON two-wire serial interface.

Not enabled yet because of a conflict with octrtc(4).

date 2019-04-23T13:53:47Z
author visa
files src/sys/arch/octeon/dev/octiic.c log diff annotate
message Add a driver for OCTEON two-wire serial interface.

Not enabled yet because of a conflict with octrtc(4).

date 2019-04-23T15:37:58Z
author visa
files src/sys/arch/mips64/mips64/lcore_access.S log diff annotate
message Call exit(2) if sigreturn(2) fails on mips64. This is what other
architectures do.

Noticed by deraadt@

date 2019-04-23T18:32:26Z
author kettenis
files src/sys/dev/fdt/pinctrl.c log diff annotate
message Add support for "pinconf-single" devices and add support for bias and
drive-strength properties. Needed for various HiSilicon SoCs.

ok patrick@, jsg@

date 2019-04-23T18:34:06Z
author kettenis
files src/sys/arch/arm64/conf/GENERIC log diff annotate
src/sys/arch/arm64/conf/RAMDISK log diff annotate
src/sys/dev/acpi/ccp_acpi.c log diff annotate
src/sys/dev/acpi/files.acpi log diff annotate
message Add support for ccp(4) at acpi(4).

ok deraadt@

date 2019-04-23T19:19:33Z
author deraadt
files src/sys/dev/pci/pcidevs log diff annotate
message shorten some strings

date 2019-04-23T19:19:42Z
author deraadt
files src/sys/dev/pci/pcidevs.h log diff annotate
src/sys/dev/pci/pcidevs_data.h log diff annotate
message sync

date 2019-04-23T19:37:35Z
author patrick
files src/sys/dev/pci/ppb.c log diff annotate
message Since ppb(4) properly allocates bus ranges for attached devices,
the hotplug code doesn't need to do the same. Also the hotplug
code only configured a single bus and did that before the proper
allocation ran, so there was no chance for hotplugged ppb(4)s to
have children busses.

ok kettenis@