OpenBSD cvs log

created 2020-11-21T19:39:59Z
begin 2020-07-11T00:00:00Z
end 2020-07-12T00:00:00Z
path src/sys
commits 21

date 2020-07-11T00:54:19Z
author dlg
files src/sys/dev/pci/if_ixl.c log diff annotate
message don't complain if the API is too low to support "query phy types".

it just means we won't know what to show in ifconfig media output,
but that's not a huge deal. there's still some more issues around
api versions and driver support that we're working on though.

ok sthen@ jmatthew@

date 2020-07-11T01:11:36Z
author jsg
files src/sys/dev/pci/drm/drm_drv.c log diff annotate
message test for gem_size > 0 on pool_destroy() matching pool_init() call

ok kettenis@

date 2020-07-11T02:46:25Z
author jsg
files src/sys/dev/pci/drm/scheduler/sched_entity.c log diff annotate
src/sys/dev/pci/drm/scheduler/sched_main.c log diff annotate
message Change locks which don't use spin_lock_irq() or spin_lock_irqsave()
from IPL_TTY to IPL_NONE.

From Benjamin Baier

date 2020-07-11T11:43:57Z
author kettenis
files src/sys/arch/powerpc64/include/cpu.h log diff annotate
src/sys/arch/powerpc64/powerpc64/machdep.c log diff annotate
message Implement a machdep.altivec sysctl that always returns 1. This makes
pixman in xenocara build and hopefully helps with ports as well.

suggested by matthieu@

date 2020-07-11T12:17:59Z
author kettenis
files src/sys/arch/powerpc64/powerpc64/trap.c log diff annotate
message Don't reload the FPU registers when they're already loaded.
Seems to fix the clang crashes I was seeing.

date 2020-07-11T13:34:05Z
author krw
files src/sys/arch/luna88k/dev/mb89352.c log diff annotate
src/sys/arch/sparc64/dev/vdsk.c log diff annotate
src/sys/dev/softraid.c log diff annotate
message Expunge some Captain Obvious comments, tweak whitespace a bit, move a debug
statement. All to make upcoming diff(s) smaller and easier to read.

date 2020-07-11T13:34:06Z
author krw
files src/sys/dev/ata/atascsi.c log diff annotate
src/sys/dev/ic/aac.c log diff annotate
src/sys/dev/ic/adv.c log diff annotate
src/sys/dev/ic/adw.c log diff annotate
src/sys/dev/ic/aic6250.c log diff annotate
src/sys/dev/ic/aic6360.c log diff annotate
src/sys/dev/ic/aic79xx_openbsd.c log diff annotate
src/sys/dev/ic/ciss.c log diff annotate
src/sys/dev/ic/gdt_common.c log diff annotate
src/sys/dev/ic/mpi.c log diff annotate
src/sys/dev/ic/ncr53c9x.c log diff annotate
src/sys/dev/ic/oosiop.c log diff annotate
src/sys/dev/ic/osiop.c log diff annotate
src/sys/dev/ic/qla.c log diff annotate
src/sys/dev/ic/qlw.c log diff annotate
src/sys/dev/ic/uha.c log diff annotate
src/sys/dev/isa/wds.c log diff annotate
src/sys/dev/pci/iha_pci.c log diff annotate
src/sys/dev/pci/ips.c log diff annotate
src/sys/dev/pci/mfii.c log diff annotate
src/sys/dev/pci/mpii.c log diff annotate
src/sys/dev/pci/qle.c log diff annotate
src/sys/dev/pci/trm_pci.c log diff annotate
src/sys/dev/pci/vmwpvs.c log diff annotate
src/sys/dev/pv/hvs.c log diff annotate
src/sys/dev/pv/vioblk.c log diff annotate
src/sys/dev/pv/xbf.c log diff annotate
src/sys/dev/usb/umass_scsi.c log diff annotate
message Expunge some Captain Obvious comments, tweak whitespace a bit, move a debug
statement. All to make upcoming diff(s) smaller and easier to read.

date 2020-07-11T14:25:59Z
author krw
files src/sys/dev/ic/aic7xxx_openbsd.c log diff annotate
message Expunge some Captain Obvious comments to make upcoming diff(s) smaller
and easier to read.

date 2020-07-11T14:48:53Z
author krw
files src/sys/dev/usb/umass_scsi.c log diff annotate
message Build 'flags' in intermediate variable and shuffle sc_link
initialization closer to config_found() invocation.

date 2020-07-11T15:02:52Z
author fcambus
files src/sys/dev/rasops/rasops.c log diff annotate
message Optimize rasops_vcons_copyrows() so write-only framebuffer consoles
only redraw the characters that differ between the start and end
positions. This makes scrolling significantly faster.

From John Carmack, thanks!

OK jcs@

date 2020-07-11T15:18:08Z
author visa
files src/sys/arch/mips64/include/cpu.h log diff annotate
src/sys/arch/mips64/mips64/cpu.c log diff annotate
src/sys/arch/mips64/mips64/mips64_machdep.c log diff annotate
src/sys/arch/octeon/include/octeonreg.h log diff annotate
src/sys/arch/octeon/octeon/locore.S log diff annotate
src/sys/arch/octeon/octeon/machdep.c log diff annotate
message Synchronize each core's CP0 cycle counter using the IO clock counter.
This makes the cycle counter usable as timecounter on multiprocessor
machines.

Idea from Linux.

Tested on CN5020, CN6120, CN7130 and CN7360.

Looks reasonable to kettenis@

date 2020-07-11T15:22:44Z
author kettenis
files src/sys/arch/arm64/dev/agtimer.c log diff annotate
message Some whitespace fixes for the inline assembly.

date 2020-07-11T15:26:15Z
author krw
files src/sys/dev/ic/ami.c log diff annotate
message Shuffle sc_link.openings initialization down to its friends and just
use sc->sc_maxcmds rather than repeatedly assigning it same value
being assigned to sc->sc_maxcmds. Since they are the same, no need to
print both under AMI_DEBUG.

date 2020-07-11T15:51:36Z
author krw
files src/sys/dev/ic/siop_common.c log diff annotate
message Oops. One too many lines deleted, leaving 'buswidth' uninitialized but
utilized.

Spotted by jsg@'s compiler which seems to issue more warnings than
mine.

date 2020-07-11T19:28:07Z
author krw
files src/sys/dev/ic/ami.c log diff annotate
src/sys/dev/ic/amivar.h log diff annotate
message Cache a pointer to the scsibus_softc rather than hoping the copy in
sc->sc_link is preserved by the nefarious forces outside of the
adapter code.

date 2020-07-11T20:06:04Z
author krw
files src/sys/dev/ic/nvme.c log diff annotate
src/sys/dev/ic/nvmevar.h log diff annotate
message Garbage collect unused nvme_softc member "sc_scsibus".

date 2020-07-11T20:15:52Z
author krw
files src/sys/dev/pv/vioscsi.c log diff annotate
message Garbage collect unused vioscsi_softc member "sc_scsibus".

date 2020-07-11T21:17:11Z
author krw
files src/sys/dev/ic/cac.c log diff annotate
src/sys/dev/ic/cacvar.h log diff annotate
message Cache a scsibus_softc * and use it rather than cludging indirect
comparisons to sc_link.

date 2020-07-11T21:35:55Z
author krw
files src/sys/dev/ic/mpi.c log diff annotate
src/sys/dev/ic/mpivar.h log diff annotate
message Cache the adapter's port_wwn and node_wwn in mpi_softc, not the
sc_link.

Keeps all the sc_link initialization in one easy target, er, place.

date 2020-07-11T22:59:05Z
author naddy
files src/sys/kern/kern_exec.c log diff annotate
message timekeep_sz now already includes the round_page() adjustment; ok kettenis@

date 2020-07-11T23:41:51Z
author krw
files src/sys/dev/ic/nvme.c log diff annotate
src/sys/dev/ic/nvmevar.h log diff annotate
message Revert previous. Broke something somehow.