OpenBSD cvs log

created 2021-03-28T04:18:28Z
begin 2021-03-25T00:00:00Z
end 2021-03-26T00:00:00Z
path src/sys
commits 5

date 2021-03-25T04:12:00Z
author jsg
files src/sys/arch/arm/arm/arm32_machdep.c log diff annotate
src/sys/arch/arm/arm/arm_machdep.c log diff annotate
src/sys/arch/arm/arm/ast.c log diff annotate
src/sys/arch/arm/arm/bus_dma.c log diff annotate
src/sys/arch/arm/arm/conf.c log diff annotate
src/sys/arch/arm/arm/cpu.c log diff annotate
src/sys/arch/arm/arm/cpufunc.c log diff annotate
src/sys/arch/arm/arm/db_interface.c log diff annotate
src/sys/arch/arm/arm/db_machdep.c log diff annotate
src/sys/arch/arm/arm/db_trace.c log diff annotate
src/sys/arch/arm/arm/disksubr.c log diff annotate
src/sys/arch/arm/arm/fault.c log diff annotate
src/sys/arch/arm/arm/mem.c log diff annotate
src/sys/arch/arm/arm/openprom.c log diff annotate
src/sys/arch/arm/arm/pmap7.c log diff annotate
src/sys/arch/arm/arm/process_machdep.c log diff annotate
src/sys/arch/arm/arm/sig_machdep.c log diff annotate
src/sys/arch/arm/arm/softintr.c log diff annotate
src/sys/arch/arm/arm/stubs.c log diff annotate
src/sys/arch/arm/arm/sys_machdep.c log diff annotate
src/sys/arch/arm/arm/syscall.c log diff annotate
src/sys/arch/arm/arm/undefined.c log diff annotate
src/sys/arch/arm/arm/vm_machdep.c log diff annotate
src/sys/arch/arm/cortex/agtimer.c log diff annotate
src/sys/arch/arm/cortex/ampintc.c log diff annotate
src/sys/arch/arm/cortex/amptimer.c log diff annotate
message remove uneeded includes in md armv7 files

based on include-what-you-use suggestions

date 2021-03-25T04:12:01Z
author jsg
files src/sys/arch/arm/cortex/arml2cc.c log diff annotate
src/sys/arch/armv7/armv7/armv7.c log diff annotate
src/sys/arch/armv7/armv7/armv7_machdep.c log diff annotate
src/sys/arch/armv7/armv7/autoconf.c log diff annotate
src/sys/arch/armv7/armv7/platform.c log diff annotate
src/sys/arch/armv7/exynos/crosec.c log diff annotate
src/sys/arch/armv7/exynos/crosec_kbd.c log diff annotate
src/sys/arch/armv7/exynos/exclock.c log diff annotate
src/sys/arch/armv7/exynos/exdog.c log diff annotate
src/sys/arch/armv7/exynos/exdwusb.c log diff annotate
src/sys/arch/armv7/exynos/exehci.c log diff annotate
src/sys/arch/armv7/exynos/exgpio.c log diff annotate
src/sys/arch/armv7/exynos/expower.c log diff annotate
src/sys/arch/armv7/exynos/tps65090.c log diff annotate
src/sys/arch/armv7/imx/imxahci.c log diff annotate
src/sys/arch/armv7/imx/imxdog.c log diff annotate
src/sys/arch/armv7/imx/imxtemp.c log diff annotate
src/sys/arch/armv7/marvell/mvpcie.c log diff annotate
src/sys/arch/armv7/marvell/mvpxa.c log diff annotate
src/sys/arch/armv7/marvell/mvxhci.c log diff annotate
src/sys/arch/armv7/omap/amdisplay.c 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/if_cpsw.c log diff annotate
src/sys/arch/armv7/omap/nxphdmi.c log diff annotate
src/sys/arch/armv7/omap/omap4.c log diff annotate
src/sys/arch/armv7/omap/omap_machdep.c log diff annotate
src/sys/arch/armv7/omap/omapid.c log diff annotate
src/sys/arch/armv7/omap/omcm.c log diff annotate
src/sys/arch/armv7/omap/omdog.c log diff annotate
src/sys/arch/armv7/omap/omehci.c log diff annotate
src/sys/arch/armv7/omap/omgpio.c log diff annotate
src/sys/arch/armv7/omap/ommmc.c log diff annotate
src/sys/arch/armv7/omap/omsysc.c log diff annotate
src/sys/arch/armv7/omap/omusbtll.c log diff annotate
src/sys/arch/armv7/omap/prcm.c log diff annotate
src/sys/arch/armv7/omap/ti_iic.c log diff annotate
src/sys/arch/armv7/sunxi/sxiahci.c log diff annotate
src/sys/arch/armv7/sunxi/sxie.c log diff annotate
src/sys/arch/armv7/sunxi/sxiintc.c log diff annotate
src/sys/arch/armv7/sunxi/sxitimer.c log diff annotate
src/sys/arch/armv7/vexpress/pciecam.c log diff annotate
src/sys/arch/armv7/vexpress/sysreg.c log diff annotate
message remove uneeded includes in md armv7 files

based on include-what-you-use suggestions

date 2021-03-25T12:18:27Z
author kn
files src/sys/dev/fdt/cwfg.c log diff annotate
message Provide apm(4/arm64) with battery information

apm merely provides an all zero/unknown stub for those values, e.g. apm(8)
output is useless.

Hardware sensors however provide this information:

hw.sensors.cwfg0.volt0=3.76 VDC (battery voltage)
hw.sensors.cwfg0.raw0=259 (battery remaining minutes)
hw.sensors.cwfg0.percent0=58.00% (battery percent)

Make cwfg(4) copy those over using apm_setinfohook() for apm to show it:

Battery state: high, 58% remaining, 259 minutes life estimate
A/C adapter state: not known
Performance adjustment mode: auto (408 MHz)

In cwfg's update routine, to keep values coherent, always reset them to
zero/unknown and only set those that came from a valid reading.

Input OK jca

date 2021-03-25T16:23:39Z
author mestre
files src/sys/net80211/ieee80211_ra.c log diff annotate
message an invalid value of `mcs' may come from the hardware so adjust code so that the
value is only used after checking if it's valid or not.

CID 1502921

OK stsp@ phessler@

date 2021-03-25T21:27:45Z
author abieber
files src/sys/kern/kern_pledge.c log diff annotate
message Permit kern.somaxconn when the unix pledge is used. Previously this was only
allowed when inet was used.

This lets Go programs use 'unix' without also including 'inet'.

from Josh Rickmar

ok / tree review from deraadt@, commit message cluestick from tb@