OpenBSD cvs log

created 2020-02-22T19:41:20Z
begin 2020-02-15T00:00:00Z
end 2020-02-16T00:00:00Z
path src/sys
commits 8

date 2020-02-15T01:58:01Z
author krw
files src/sys/dev/ic/gdt_common.c log diff annotate
src/sys/dev/ic/gdtvar.h log diff annotate
message Eliminate gdt_minphys() as it doesn't do anything. As the comment says
" ... it's really not necessary" since 128 * PAGE_SIZE will never be
less than MAXPHYS.

date 2020-02-15T07:16:03Z
author yasuoka
files src/sys/net/pipex_local.h log diff annotate
message Remove needless #ifdef.
Diff from Jan Stary.

ok claudio

date 2020-02-15T08:47:14Z
author stsp
files src/sys/dev/pci/files.pci log diff annotate
src/sys/dev/pci/if_iwx.c log diff annotate
src/sys/dev/pci/if_iwxreg.h log diff annotate
src/sys/dev/pci/if_iwxvar.h log diff annotate
message Add iwx(4), a new driver for Intel AX200 wifi devices.

The iwx(4) driver is based on code from iwm(4) and Linux iwlwifi.
We are using a separate driver for this hardware family to avoid introducing
even more complexity to iwm(4). Firmware loading and the Tx machinery in
particular work differently compared to iwm(4) devices.

Device firmware can be installed with fw_update(8).
These devices support Tx rate scaling and Tx aggregation in firmware but we
leave this disabled for now and adapt the Tx rate with MiRa/AMRR instead.

Active scans (scans with probe requests) and background scans don't work yet.
Otherwise this driver has the same feature set as iwm(4).

date 2020-02-15T08:49:11Z
author stsp
files src/sys/arch/amd64/conf/GENERIC log diff annotate
src/sys/arch/amd64/conf/RAMDISK_CD log diff annotate
message Enable iwx(4) on amd64.

date 2020-02-15T09:35:48Z
author anton
files src/sys/kern/kern_exec.c log diff annotate
src/sys/kern/kern_pledge.c log diff annotate
src/sys/kern/kern_sig.c log diff annotate
src/sys/sys/proc.h log diff annotate
src/sys/sys/sysctl.h log diff annotate
message Consistently perform atomic writes to the ps_flags field of struct
process.

ok bluhm@ claudio@ visa@

date 2020-02-15T11:35:31Z
author yasuoka
files src/sys/dev/ic/nvme.c log diff annotate
message Don't touch the phase bit at nvme_poll_done(). This makes dumpsys()
work with nvme.

ok jmatthew

date 2020-02-15T18:02:00Z
author krw
files src/sys/dev/ic/adv.c log diff annotate
src/sys/dev/ic/adw.c log diff annotate
src/sys/dev/ic/aic79xx_openbsd.c log diff annotate
src/sys/dev/ic/aic7xxx_openbsd.c log diff annotate
src/sys/dev/ic/ami.c log diff annotate
src/sys/dev/ic/cac.c log diff annotate
src/sys/dev/ic/iha.c log diff annotate
src/sys/dev/ic/iha.h log diff annotate
src/sys/dev/ic/trm.c log diff annotate
src/sys/dev/ic/twe.c log diff annotate
src/sys/dev/ic/twevar.h log diff annotate
src/sys/dev/ic/uha.c log diff annotate
message *_minphys() functions that cap i/o sizes at a value larger than the
value minphys() uses (MAXPHYS) are pointless since minphys() is always
called after the *_minphys() function.

MAXPHYS (64 * 1024) == 16 * 4096. 4096 is the smallest PAGE_SIZE we
have. So a *_minphys() function that caps the i/o size at N *
PAGE_SIZE where N is > 16 is just wasting cycles.

Nuke adv_minphys (40 * PAGE_SIZE), adw_minphys (254 * PAGE_SIZE),
ahc_minphys (128 * PAGE_SIZE), ahd_minphys (128 * PAGE_SIZE),
ami_minphys (26 * PAGE_SIZE), cac_minphys (65535 (!!!) * 512),
iha_minphsy (32 * PAGE_SIZE), trm_minphys (31 * PAGE_SIZE),
twe_minphys (62 * PAGE_SIZE). uha_minphys (32 * PAGE_SIZE),

date 2020-02-15T22:59:55Z
author mortimer
files src/sys/arch/amd64/amd64/vmm.c log diff annotate
message Add bounds check on addresses passed from guests in pvclock.

Fixes an issue where a guest can write to host memory by passing bogus addresses.

Reported by Maxime Villard.