OpenBSD cvs log

created 2020-11-21T18:41:18Z
begin 2020-06-23T00:00:00Z
end 2020-06-24T00:00:00Z
path src/sys
commits 10

date 2020-06-23T01:21:29Z
author jmatthew
files src/sys/arch/sparc64/dev/msi.c log diff annotate
src/sys/arch/sparc64/dev/msivar.h log diff annotate
src/sys/arch/sparc64/dev/pci_machdep.c log diff annotate
src/sys/arch/sparc64/dev/pyro.c log diff annotate
src/sys/arch/sparc64/dev/pyrovar.h log diff annotate
src/sys/arch/sparc64/dev/vpci.c log diff annotate
src/sys/arch/sparc64/include/bus.h log diff annotate
src/sys/arch/sparc64/include/pci_machdep.h log diff annotate
src/sys/arch/sparc64/sparc64/intr.c log diff annotate
src/sys/arch/sparc64/sparc64/machdep.c log diff annotate
message Implement pci_intr_establish_cpu() for pyro(4) and vpci(4) based sparc64
systems. MSIs on these systems are delivered to event queues, which
trigger interrupts when non-empty. The interrupt handler dequeues the
MSIs and converts them into soft interrupts, which run on the same cpu
as the event queue interrupt.

To target pci device interrupts to different cpus, we set up an event
queue per cpu in the system, or as many as we can, if there are fewer
event queues available. For now, we don't have a way to feed this
information back to intrmap, so instead we just map interrupts for cpus
that don't have an event queue to another cpu that does have one.

Tested on V215 (pyro), T5120, T4-1, S7-2 (vpci).
dlg@ got the pyro side of it working for me.
ok dlg@ kettenis@

date 2020-06-23T01:40:03Z
author dlg
files src/sys/kern/kern_intrmap.c log diff annotate
src/sys/sys/intrmap.h log diff annotate
message add intrmap_one, some temp code to help us write pci_intr_establish_cpu.

it means we can do quick hacks to existing drivers to test interrupts
on multiple cpus. emphasis on quick and hacks.

ok jmatthew@, who will also ok the removal of it at the right time.

date 2020-06-23T02:18:58Z
author aoyama
files src/sys/arch/m88k/m88k/pmap.c log diff annotate
message Fix format strings (%p --> %lx) in debug code.

ok dlg@

date 2020-06-23T09:35:17Z
author tobhe
files src/sys/net/if_wg.c log diff annotate
message Increase TX mitigation backlog size for increased throughput.

From Jason A. Donenfeld" <Jason (at) zx2c4.com>
ok patrick@

date 2020-06-23T10:03:49Z
author tobhe
files src/sys/net/if_wg.c log diff annotate
message Enable MPSAFE start routine to keep encryption workers more active.

From Jason A. Donenfeld" <Jason (at) zx2c4.com>
ok patrick@

date 2020-06-23T13:40:19Z
author krw
files src/sys/isofs/udf/udf_vfsops.c log diff annotate
message hashfree() doesn't like NULL, so check for NULL if NULL is a
possibility. i.e. when bailing out before calling hashinit()..

COVERITY 1452907

ok mpi@

date 2020-06-23T13:57:05Z
author fcambus
files src/sys/arch/armv7/conf/GENERIC log diff annotate
message Enable virtual consoles on armv7, the same way it is done on arm64.

Tested on a Cubieboard2.

OK patrick@

date 2020-06-23T13:58:34Z
author fcambus
files src/sys/dev/wsfont/spleen12x24.h log diff annotate
src/sys/dev/wsfont/spleen16x32.h log diff annotate
src/sys/dev/wsfont/spleen32x64.h log diff annotate
src/sys/dev/wsfont/spleen5x8.h log diff annotate
src/sys/dev/wsfont/spleen8x16.h log diff annotate
message Use C99 initializers in wsdisplay_font struct definitions for Spleen
kernel fonts.

OK mpi@

date 2020-06-23T16:31:06Z
author krw
files src/sys/isofs/udf/udf_vfsops.c log diff annotate
message Revert previous. hashfree() just calls free() which handles NULL with
aplomb. 16 lines of 'C' can be so hard to grok at a glance.

Prompted to look more closely at those 16 lines by mpi@.

date 2020-06-23T23:35:39Z
author dlg
files src/sys/conf/GENERIC log diff annotate
message enable wg(4).

this will make testing easier for everyone.

from Jason A. Donenfeld and Matt Dunwoodie
ok deraadt@ tobhe@