OpenBSD cvs log

created 2019-05-14T11:09:49Z
begin 2019-05-12T00:00:00Z
end 2019-05-13T00:00:00Z
path src/sys
commits 14

date 2019-05-12T02:21:13Z
author kettenis
files src/sys/dev/acpi/acpi.c log diff annotate
message Add support for mapping ACPI PM registers using the "extended" gasio
representation from the FADT. Mostly fixes the Lanner NCA-1510.

ok lteo@, mlarkin@, deraadt@

date 2019-05-12T13:18:58Z
author mpi
files src/sys/sys/proc.h log diff annotate
message Document which fields are protected by the SCHED_LOCK().

ok tedu@, guenther@, ians@

date 2019-05-12T15:52:52Z
author kettenis
files src/sys/dev/acpi/acpi.c log diff annotate
message Make sure the extended PM register descriptions actually exist before
using them. Fixes machines with ancient ACPI 1.0 (such as recent
hypervisors).

ok deraadt@

date 2019-05-12T15:56:56Z
author jca
files src/sys/lib/libz/zconf.h log diff annotate
src/sys/lib/libz/zlib.h log diff annotate
message Add ZLIB_CONST

Introduced in zlib-1.2.5.2, used by a few ports. ok deraadt@

date 2019-05-12T16:24:44Z
author akoshibe
files src/sys/net/if_switch.c log diff annotate
message Unused switch_port variable.

date 2019-05-12T16:36:30Z
author kettenis
files src/sys/arch/arm64/dev/agintc.c log diff annotate
message Between the broken GIC-500 on the RK3399 and differences in the secure mode
configuration done by TF-A between boards we have to shift the priorities
that we use for both the architected ICC_PMR_EL1 register and the
memory mapped priority registers on the GIC in different ways. Make this
explicit in the code and try to handle all the cases we care about.
This includes QEMU and RK3399 boards that still use the TF-A version
provided by Rockchip.

Seems to make the rockpro64 run stable with a GENERIC kernel.

ok drahn@, patrick@

date 2019-05-12T16:38:02Z
author sashan
files src/sys/net/if.c log diff annotate
src/sys/net/if_bridge.c log diff annotate
src/sys/net/if_tun.c log diff annotate
src/sys/net/switchctl.c log diff annotate
message pushing NET_LOCK() further down from if_clone_{create,destroy}()

OK mpi@

date 2019-05-12T18:12:38Z
author stsp
files src/sys/dev/ic/if_wi.c log diff annotate
src/sys/net80211/ieee80211_input.c log diff annotate
src/sys/net80211/ieee80211_ioctl.c log diff annotate
src/sys/net80211/ieee80211_ioctl.h log diff annotate
src/sys/net80211/ieee80211_output.c log diff annotate
src/sys/net80211/ieee80211_var.h log diff annotate
message Fix 'ifconfig nwflags; These flags ended up overlapping with other flags
in ieee80211com's ic_flags because we haven't been paying attention to
them (they're not in the same place in the code and hence easy to miss).
Move them to a dedicated variable to avoid this problem in the future.

Add a new 'stayauth' nwflag which can be set to let net80211 ignore
deauth frames. This can be useful when deauth frames are being
persistently spoofed by an attacker. Idea from beck@

ok beck@ phessler@

date 2019-05-12T19:43:34Z
author anton
files src/sys/kern/vfs_lockf.c log diff annotate
message no need to store the wmesg passed to rwsleep() as a static variable anymore

date 2019-05-12T19:53:22Z
author mpi
files src/sys/net/bridgectl.c log diff annotate
src/sys/net/if_bridge.c log diff annotate
src/sys/net/if_bridge.h log diff annotate
message Switch the list of span interfaces and interfaces to SMR.

This removes the KERNEL_LOCK() around the list iteration in bridge_enqueue().

Since the NET_LOCK() isn't protecting any data structure, release it early
in all the code paths coming from the Network Stack to prevent possible
deadlock situations with smr_barrier().

bridge_input() is still KERNEL_LOCK()ed as well as bridge_filterrule().

ok visa@

date 2019-05-12T20:12:25Z
author jsg
files src/sys/dev/pci/drm/include/linux/interrupt.h log diff annotate
message remove unused STUB definition

date 2019-05-12T20:56:34Z
author pd
files src/sys/arch/amd64/amd64/vmm.c log diff annotate
src/sys/arch/amd64/include/vmmvar.h log diff annotate
message vmm: add a x86 page table walker

Add a first cut of x86 page table walker to vmd(8) and vmm(4). This function is
not used right now but is a building block for future features like HPET, OUTSB
and INSB emulation, nested virtualisation support, etc.

With help from Mike Larkin

ok mlarkin@

date 2019-05-12T21:27:47Z
author guenther
files src/sys/arch/amd64/include/frameasm.h log diff annotate
message s/availible/available/

date 2019-05-12T22:23:38Z
author guenther
files src/sys/arch/amd64/amd64/locore.S log diff annotate
src/sys/arch/amd64/amd64/machdep.c log diff annotate
src/sys/arch/amd64/include/cpu.h log diff annotate
message Delete cpu_idle_{enter,leave}_fcn() as unused. Add RETGUARD checks to
cpu_idle_cycle()

ok mpi@ kettenis@