OpenBSD cvs log

created 2020-11-21T19:37:00Z
begin 2020-07-10T00:00:00Z
end 2020-07-11T00:00:00Z
path src/sys
commits 25

date 2020-07-10T08:28:04Z
author fcambus
files src/sys/dev/wsfont/spleen6x12.h log diff annotate
src/sys/dev/wsfont/wsfont.c log diff annotate
message Add "Spleen 6x12" to wsfont, a font targetted at OLED displays.

Similar to "Spleen 5x8" it only contains the printable ASCII
characters (96 glyphes).

The font is 2-Clause BSD licensed and is my original creation.

OK patrick@

date 2020-07-10T09:11:37Z
author jsg
files src/sys/dev/pci/drm/drm_panel_orientation_quirks.c log diff annotate
message add back orientation quirk for Kogan Atlas 2-in-1 D300

local change lost in 5.7 drm update

date 2020-07-10T09:26:36Z
author mvs
files src/sys/net/if_pppx.c log diff annotate
message Set missing `IFXF_CLONED' flag to pppx(4) related `ifnet'. That should
prevent collecting entropy from pppx(4).

ok mpi@

date 2020-07-10T11:45:08Z
author mvs
files src/sys/net/if_pppx.c log diff annotate
message Kill `pppx_devs_lk' rwlock. It used only to prevent races caused by
malloc(9) in pppxopen(). We can avoid these races without rwlock. Also
we move malloc(9) out of rwlock.

ok mpi@

date 2020-07-10T12:09:53Z
author kettenis
files src/sys/arch/powerpc64/powerpc64/pmap.c log diff annotate
message Even though the PowerISA indicates that hardware should update reference
and change bits in the page table entries that doesn't seem to happen
reliably on the POWER9 CPU I'm looking at. So make our pmap not depend
on this and emulate these bits instead.

As far as I can determine Linux doesn't rely on the hardware bits either.

date 2020-07-10T12:38:09Z
author kettenis
files src/sys/arch/powerpc64/include/opal.h log diff annotate
src/sys/arch/powerpc64/powerpc64/locore.S log diff annotate
message Add OPAL_REINIT_CPUS.

date 2020-07-10T13:22:19Z
author patrick
files src/sys/arch/armv7/omap/if_cpsw.c log diff annotate
src/sys/arch/macppc/dev/if_bm.c log diff annotate
src/sys/arch/macppc/dev/if_mc.c log diff annotate
src/sys/arch/sparc64/dev/vnet.c log diff annotate
src/sys/dev/ic/acx.c log diff annotate
src/sys/dev/ic/am7990.c log diff annotate
src/sys/dev/ic/am79900.c log diff annotate
src/sys/dev/ic/ath.c log diff annotate
src/sys/dev/ic/athn.c log diff annotate
src/sys/dev/ic/atw.c log diff annotate
src/sys/dev/ic/bwi.c log diff annotate
src/sys/dev/ic/dc.c log diff annotate
src/sys/dev/ic/dp8390.c log diff annotate
src/sys/dev/ic/i82596.c log diff annotate
src/sys/dev/ic/if_wi.c log diff annotate
message Change users of IFQ_DEQUEUE(), IFQ_ENQUEUE() and IFQ_LEN() to use the
"new" API.

ok dlg@ tobhe@

date 2020-07-10T13:22:20Z
author patrick
files src/sys/dev/ic/malo.c log diff annotate
src/sys/dev/ic/mtd8xx.c log diff annotate
src/sys/dev/ic/rt2560.c log diff annotate
src/sys/dev/ic/rt2661.c log diff annotate
src/sys/dev/ic/rt2860.c log diff annotate
src/sys/dev/ic/rtl81x9.c log diff annotate
src/sys/dev/ic/rtwn.c log diff annotate
src/sys/dev/ic/xl.c log diff annotate
src/sys/dev/isa/if_eg.c log diff annotate
src/sys/dev/isa/if_el.c log diff annotate
src/sys/dev/isa/if_ie.c log diff annotate
src/sys/dev/pci/if_age.c log diff annotate
src/sys/dev/pci/if_alc.c log diff annotate
src/sys/dev/pci/if_ale.c log diff annotate
src/sys/dev/pci/if_bce.c log diff annotate
src/sys/dev/pci/if_cas.c log diff annotate
src/sys/dev/pci/if_et.c log diff annotate
src/sys/dev/pci/if_ipw.c log diff annotate
src/sys/dev/pci/if_iwi.c log diff annotate
src/sys/dev/pci/if_iwm.c log diff annotate
src/sys/dev/pci/if_iwn.c log diff annotate
src/sys/dev/pci/if_iwx.c log diff annotate
src/sys/dev/pci/if_jme.c log diff annotate
message Change users of IFQ_DEQUEUE(), IFQ_ENQUEUE() and IFQ_LEN() to use the
"new" API.

ok dlg@ tobhe@

date 2020-07-10T13:22:21Z
author patrick
files src/sys/dev/pci/if_oce.c log diff annotate
src/sys/dev/pci/if_ste.c log diff annotate
src/sys/dev/pci/if_tl.c log diff annotate
src/sys/dev/pci/if_vge.c log diff annotate
src/sys/dev/pci/if_vr.c log diff annotate
src/sys/dev/pci/if_vte.c log diff annotate
src/sys/dev/pci/if_wb.c log diff annotate
src/sys/dev/pci/if_wpi.c log diff annotate
src/sys/dev/pcmcia/if_malo.c log diff annotate
src/sys/dev/sbus/be.c log diff annotate
src/sys/dev/sbus/qe.c log diff annotate
src/sys/dev/usb/if_athn_usb.c log diff annotate
src/sys/dev/usb/if_atu.c log diff annotate
src/sys/dev/usb/if_otus.c log diff annotate
src/sys/dev/usb/if_ral.c log diff annotate
src/sys/dev/usb/if_rsu.c log diff annotate
src/sys/dev/usb/if_rum.c log diff annotate
src/sys/dev/usb/if_run.c log diff annotate
src/sys/dev/usb/if_uath.c log diff annotate
src/sys/dev/usb/if_upgt.c log diff annotate
src/sys/dev/usb/if_urtw.c log diff annotate
src/sys/dev/usb/if_zyd.c log diff annotate
message Change users of IFQ_DEQUEUE(), IFQ_ENQUEUE() and IFQ_LEN() to use the
"new" API.

ok dlg@ tobhe@

date 2020-07-10T13:22:22Z
author patrick
files src/sys/net/if_enc.c log diff annotate
src/sys/net/if_pair.c log diff annotate
src/sys/net/if_ppp.c log diff annotate
src/sys/net/if_pppx.c log diff annotate
src/sys/net/if_spppsubr.c log diff annotate
src/sys/net/if_switch.c log diff annotate
src/sys/net/if_trunk.c log diff annotate
src/sys/net/if_tun.c log diff annotate
src/sys/net/if_var.h log diff annotate
src/sys/net/if_vether.c log diff annotate
src/sys/net/if_vxlan.c log diff annotate
src/sys/net80211/ieee80211_pae_output.c log diff annotate
message Change users of IFQ_DEQUEUE(), IFQ_ENQUEUE() and IFQ_LEN() to use the
"new" API.

ok dlg@ tobhe@

date 2020-07-10T13:23:34Z
author patrick
files src/sys/dev/ic/ath.c log diff annotate
src/sys/net/if.c log diff annotate
src/sys/net/if_mpip.c log diff annotate
src/sys/net/if_mpw.c log diff annotate
src/sys/net/if_pflog.c log diff annotate
src/sys/net/if_pfsync.c log diff annotate
src/sys/net/if_spppsubr.c log diff annotate
src/sys/net/if_var.h log diff annotate
message Change users of IFQ_PURGE() to use the "new" API.

ok dlg@ tobhe@

date 2020-07-10T13:26:36Z
author patrick
files src/sys/arch/armv7/omap/if_cpsw.c log diff annotate
src/sys/arch/armv7/sunxi/sxie.c log diff annotate
src/sys/arch/octeon/dev/if_cnmac.c log diff annotate
src/sys/arch/sgi/dev/if_iec.c log diff annotate
src/sys/arch/sgi/dev/if_mec.c log diff annotate
src/sys/arch/sgi/hpc/if_sq.c log diff annotate
src/sys/arch/sparc64/dev/vnet.c log diff annotate
src/sys/dev/fdt/if_dwge.c log diff annotate
src/sys/dev/fdt/if_dwxe.c log diff annotate
src/sys/dev/fdt/if_fec.c log diff annotate
src/sys/dev/fdt/if_mvneta.c log diff annotate
message Change users of IFQ_SET_MAXLEN() and IFQ_IS_EMPTY() to use the "new" API.

ok dlg@ tobhe@

date 2020-07-10T13:26:37Z
author patrick
files src/sys/dev/fdt/if_mvpp.c log diff annotate
src/sys/dev/ic/acx.c log diff annotate
src/sys/dev/ic/aic6915.c log diff annotate
src/sys/dev/ic/an.c log diff annotate
src/sys/dev/ic/ath.c log diff annotate
src/sys/dev/ic/bcmgenet.c log diff annotate
src/sys/dev/ic/bwfm.c log diff annotate
src/sys/dev/ic/bwi.c log diff annotate
src/sys/dev/ic/dc.c log diff annotate
src/sys/dev/ic/elink3.c log diff annotate
src/sys/dev/ic/fxp.c log diff annotate
src/sys/dev/ic/gem.c log diff annotate
src/sys/dev/ic/if_wi.c log diff annotate
src/sys/dev/ic/malo.c log diff annotate
src/sys/dev/ic/mtd8xx.c log diff annotate
src/sys/dev/ic/pgt.c log diff annotate
src/sys/dev/ic/re.c log diff annotate
src/sys/dev/ic/rtl81x9.c log diff annotate
src/sys/dev/ic/smc83c170.c log diff annotate
src/sys/dev/ic/ti.c log diff annotate
src/sys/dev/ic/xl.c log diff annotate
src/sys/dev/isa/if_ex.c log diff annotate
src/sys/dev/pci/if_age.c log diff annotate
src/sys/dev/pci/if_alc.c log diff annotate
src/sys/dev/pci/if_ale.c log diff annotate
src/sys/dev/pci/if_bge.c log diff annotate
src/sys/dev/pci/if_bnx.c log diff annotate
src/sys/dev/pci/if_bnxt.c log diff annotate
src/sys/dev/pci/if_cas.c log diff annotate
src/sys/dev/pci/if_em.c log diff annotate
message Change users of IFQ_SET_MAXLEN() and IFQ_IS_EMPTY() to use the "new" API.

ok dlg@ tobhe@

date 2020-07-10T13:26:38Z
author patrick
files src/sys/dev/pci/if_et.c log diff annotate
src/sys/dev/pci/if_iavf.c log diff annotate
src/sys/dev/pci/if_ix.c log diff annotate
src/sys/dev/pci/if_ixgb.c log diff annotate
src/sys/dev/pci/if_ixl.c log diff annotate
src/sys/dev/pci/if_jme.c log diff annotate
src/sys/dev/pci/if_lge.c log diff annotate
src/sys/dev/pci/if_mcx.c log diff annotate
src/sys/dev/pci/if_msk.c log diff annotate
src/sys/dev/pci/if_myx.c log diff annotate
src/sys/dev/pci/if_nep.c log diff annotate
src/sys/dev/pci/if_nfe.c log diff annotate
src/sys/dev/pci/if_nge.c log diff annotate
src/sys/dev/pci/if_nxe.c log diff annotate
src/sys/dev/pci/if_oce.c log diff annotate
src/sys/dev/pci/if_pcn.c log diff annotate
src/sys/dev/pci/if_rge.c log diff annotate
src/sys/dev/pci/if_se.c log diff annotate
src/sys/dev/pci/if_sis.c log diff annotate
src/sys/dev/pci/if_sk.c log diff annotate
src/sys/dev/pci/if_ste.c log diff annotate
src/sys/dev/pci/if_stge.c log diff annotate
src/sys/dev/pci/if_tht.c log diff annotate
src/sys/dev/pci/if_tl.c log diff annotate
src/sys/dev/pci/if_txp.c log diff annotate
src/sys/dev/pci/if_vge.c log diff annotate
src/sys/dev/pci/if_vic.c log diff annotate
src/sys/dev/pci/if_vmx.c log diff annotate
src/sys/dev/pci/if_vr.c log diff annotate
src/sys/dev/pci/if_vte.c log diff annotate
src/sys/dev/pci/if_wb.c log diff annotate
message Change users of IFQ_SET_MAXLEN() and IFQ_IS_EMPTY() to use the "new" API.

ok dlg@ tobhe@

date 2020-07-10T13:26:40Z
author patrick
files src/sys/dev/pci/if_xge.c log diff annotate
src/sys/dev/pcmcia/if_xe.c log diff annotate
src/sys/dev/pv/if_hvn.c log diff annotate
src/sys/dev/pv/if_vio.c log diff annotate
src/sys/dev/pv/if_xnf.c log diff annotate
src/sys/dev/usb/if_atu.c log diff annotate
src/sys/dev/usb/if_aue.c log diff annotate
src/sys/dev/usb/if_axe.c log diff annotate
src/sys/dev/usb/if_axen.c log diff annotate
src/sys/dev/usb/if_cdce.c log diff annotate
src/sys/dev/usb/if_cue.c log diff annotate
src/sys/dev/usb/if_kue.c log diff annotate
src/sys/dev/usb/if_mos.c log diff annotate
src/sys/dev/usb/if_mue.c log diff annotate
src/sys/dev/usb/if_smsc.c log diff annotate
message Change users of IFQ_SET_MAXLEN() and IFQ_IS_EMPTY() to use the "new" API.

ok dlg@ tobhe@

date 2020-07-10T13:26:41Z
author patrick
files src/sys/dev/usb/if_udav.c log diff annotate
src/sys/dev/usb/if_ugl.c log diff annotate
src/sys/dev/usb/if_umb.c log diff annotate
src/sys/dev/usb/if_upl.c log diff annotate
src/sys/dev/usb/if_ure.c log diff annotate
src/sys/dev/usb/if_url.c log diff annotate
src/sys/dev/usb/if_urndis.c log diff annotate
src/sys/dev/usb/if_wi_usb.c log diff annotate
src/sys/net/if_aggr.c log diff annotate
src/sys/net/if_bpe.c log diff annotate
src/sys/net/if_etherip.c log diff annotate
src/sys/net/if_gif.c log diff annotate
src/sys/net/if_gre.c log diff annotate
src/sys/net/if_mpe.c log diff annotate
src/sys/net/if_mpip.c log diff annotate
src/sys/net/if_mpw.c log diff annotate
src/sys/net/if_pair.c log diff annotate
message Change users of IFQ_SET_MAXLEN() and IFQ_IS_EMPTY() to use the "new" API.

ok dlg@ tobhe@

date 2020-07-10T13:26:42Z
author patrick
files src/sys/net/if_pflog.c log diff annotate
src/sys/net/if_pflow.c log diff annotate
src/sys/net/if_pfsync.c log diff annotate
src/sys/net/if_ppp.c log diff annotate
src/sys/net/if_pppoe.c log diff annotate
src/sys/net/if_pppx.c log diff annotate
src/sys/net/if_spppsubr.c log diff annotate
src/sys/net/if_tpmr.c log diff annotate
src/sys/net/if_tun.c log diff annotate
src/sys/net/if_var.h log diff annotate
src/sys/net/if_vether.c log diff annotate
src/sys/net/if_vxlan.c log diff annotate
src/sys/net/if_wg.c log diff annotate
message Change users of IFQ_SET_MAXLEN() and IFQ_IS_EMPTY() to use the "new" API.

ok dlg@ tobhe@

date 2020-07-10T14:35:01Z
author kettenis
files src/sys/arch/powerpc64/powerpc64/machdep.c log diff annotate
message Use OPAL_REINIT_CPUS calls during early boot to set endianness and to
set the MMU to hash mode such that the full TLB is available on POWER9
CPUs.

date 2020-07-10T16:09:58Z
author kettenis
files src/sys/arch/powerpc64/powerpc64/pmap.c log diff annotate
message Add check for userland VSID overflow.

date 2020-07-10T16:10:54Z
author kettenis
files src/sys/arch/powerpc64/powerpc64/fpu.c log diff annotate
message Clear FPU state if we try to restore the state when the process didn't use
the FPU yet.

date 2020-07-10T17:09:37Z
author kettenis
files src/sys/arch/powerpc64/powerpc64/machdep.c log diff annotate
message Parse a bootduid= argument passed on the command line and use it to set the
bootduid variable in the kernel. This makes it possible to specify the
boot disk in pettitboot menu entry (e.g. grub.cfg).

ok deraadt@

date 2020-07-10T18:30:28Z
author kettenis
files src/sys/arch/powerpc64/powerpc64/cpu.c log diff annotate
src/sys/arch/powerpc64/powerpc64/process_machdep.c log diff annotate
src/sys/arch/powerpc64/powerpc64/trap.c log diff annotate
message Implement process_read_regs() such that core dumps become usable.

date 2020-07-10T18:34:24Z
author kettenis
files src/sys/arch/powerpc64/powerpc64/cpu.c log diff annotate
src/sys/arch/powerpc64/powerpc64/trap.c log diff annotate
message Oops, I didn't intend to commit these bits.

date 2020-07-10T19:43:09Z
author krw
files src/sys/dev/pv/vioblk.c log diff annotate
src/sys/dev/pv/vioscsi.c log diff annotate
message Shuffle a bit of code to stop using sc->sc_link to hold values for
openings outside of the one used at config_found() time. Adapters
should take care of their own data.

ok dlg@ for a sligthly different vioblk.c version.

date 2020-07-10T23:22:48Z
author gkoehler
files src/sys/arch/powerpc64/dev/opal.c log diff annotate
src/sys/arch/powerpc64/include/cpufunc.h log diff annotate
src/sys/arch/powerpc64/powerpc64/cpu.c log diff annotate
message Add hw.cpuspeed and hw.setperf

Get the list of Pstates from OPAL, and use special registers to
request a Pstate or check the current Pstate. The turbo Pstates are
higher than the cpu's nominal speed, but the OCC's firmware should
throttle down the cpu if it would overheat.

ok kettenis@