OpenBSD cvs log

created 2020-07-28T22:02:40Z
begin 2020-06-07T00:00:00Z
end 2020-06-08T00:00:00Z
path src/sys
commits 23

date 2020-06-07T09:27:06Z
author kettenis
files src/sys/arch/powerpc64/include/trap.h log diff annotate
src/sys/arch/powerpc64/powerpc64/machdep.c log diff annotate
src/sys/arch/powerpc64/powerpc64/pmap.c log diff annotate
src/sys/arch/powerpc64/powerpc64/trap_subr.S log diff annotate
message Enable translation in the trap handlers.
Initialize msgbuf.

date 2020-06-07T09:34:20Z
author kettenis
files src/sys/arch/powerpc64/powerpc64/conf.c log diff annotate
message Add a few more devices.

date 2020-06-07T09:59:45Z
author kettenis
files src/sys/arch/powerpc64/include/cpu.h log diff annotate
src/sys/arch/powerpc64/powerpc64/pmap.c log diff annotate
message Implement pmap_zero_page() and pmap_copy_page().

date 2020-06-07T10:16:53Z
author kettenis
files src/sys/arch/powerpc64/powerpc64/autoconf.c log diff annotate
src/sys/arch/powerpc64/powerpc64/machdep.c log diff annotate
message More debug printing such that we can see what is still missing.

date 2020-06-07T11:54:45Z
author kettenis
files src/sys/arch/powerpc64/powerpc64/machdep.c log diff annotate
message Remap FDT such that we can access it with translations enabled.

date 2020-06-07T12:14:08Z
author kettenis
files src/sys/arch/powerpc64/powerpc64/cpu.c log diff annotate
message Allocate a struct, not just a pointer.

date 2020-06-07T13:17:24Z
author kettenis
files src/sys/arch/powerpc64/conf/GENERIC log diff annotate
src/sys/arch/powerpc64/conf/files.powerpc64 log diff annotate
src/sys/arch/powerpc64/dev/mainbus.c log diff annotate
src/sys/arch/powerpc64/include/bus.h log diff annotate
src/sys/arch/powerpc64/include/cpufunc.h log diff annotate
src/sys/arch/powerpc64/powerpc64/autoconf.c log diff annotate
src/sys/arch/powerpc64/powerpc64/cpu.c log diff annotate
message mainbus(4) and cpu(4).

date 2020-06-07T16:11:34Z
author kettenis
files src/sys/arch/powerpc64/include/fdt.h log diff annotate
message Add missing file.

date 2020-06-07T16:13:30Z
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 functions to read/write from/to PCI config space.

date 2020-06-07T16:14:47Z
author kettenis
files src/sys/arch/powerpc64/conf/GENERIC log diff annotate
src/sys/arch/powerpc64/conf/files.powerpc64 log diff annotate
src/sys/arch/powerpc64/dev/pci_machdep.c log diff annotate
src/sys/arch/powerpc64/dev/phb.c log diff annotate
src/sys/arch/powerpc64/include/bus.h log diff annotate
src/sys/arch/powerpc64/include/pci_machdep.h log diff annotate
message Probe the PCI bus.

date 2020-06-07T16:51:43Z
author kn
files src/sys/dev/biovar.h log diff annotate
message Add include guard

Input on naming schema, OK deraadt

date 2020-06-07T17:18:31Z
author kettenis
files src/sys/arch/powerpc64/include/opal.h log diff annotate
message Add more return codes.

date 2020-06-07T17:19:04Z
author kettenis
files src/sys/arch/powerpc64/powerpc64/machdep.c log diff annotate
message Add powerdown code.

date 2020-06-07T19:23:33Z
author anton
files src/sys/dev/kcov.c log diff annotate
message Turn anonymous state enum into preprocessor defines, paves the way for
reuse.

date 2020-06-07T20:08:49Z
author kettenis
files src/sys/arch/powerpc64/dev/mainbus.c log diff annotate
src/sys/arch/powerpc64/include/bus.h log diff annotate
src/sys/arch/powerpc64/powerpc64/bus_space.c log diff annotate
message Add bus_space(9) implementation. Tis implementation includes some
functions to implement byte swapping for little-endian busses.

date 2020-06-07T20:10:52Z
author kettenis
files src/sys/arch/powerpc64/conf/files.powerpc64 log diff annotate
message Add bus_space.c.

date 2020-06-07T20:13:07Z
author kettenis
files src/sys/arch/powerpc64/dev/phb.c log diff annotate
message Do the approprate address remapping and install bus_space(9) functions
that do the necessary byte swapping for a little-endian bus.

date 2020-06-07T20:48:49Z
author kettenis
files src/sys/dev/pci/pcidevs log diff annotate
message Marvel 88SE9215 and 88SE9235 AHCI.

date 2020-06-07T20:49:19Z
author kettenis
files src/sys/dev/pci/pcidevs.h log diff annotate
src/sys/dev/pci/pcidevs_data.h log diff annotate
message regen

date 2020-06-07T20:50:24Z
author kettenis
files src/sys/arch/powerpc64/powerpc64/cpu.c log diff annotate
src/sys/arch/powerpc64/powerpc64/machdep.c log diff annotate
message Implement delay(9).

date 2020-06-07T22:54:58Z
author aoyama
files src/sys/arch/luna88k/conf/files.luna88k log diff annotate
src/sys/arch/luna88k/luna88k/mainbus.c log diff annotate
message Skip probing cbus(4/luna88k) and xp(4/luna88k) in RAMDISK kernel, they
are not necessary in install/upgrade process.

date 2020-06-07T23:23:30Z
author dlg
files src/sys/kern/kern_task.c log diff annotate
message add support for running taskq_barrier from a task inside the taskq.

this is required for an upcoming drm update, where the linux workqueue
api that supports this is mapped to our taskq api.

this main way taskqs support that is to have the taskq worker threads
record thir curproc on the taskq, so taskq_barrier calls can iterate
over that list looking for their own curproc. if a barriers curproc
is in the list, it must be running inside the taskq, and should
pretend that it's a barrier task.

this also supports concurrent barrier calls by having the taskq
recognise the situation and have the barriers work together rather
than deadlocking. they end up trying to share the work of getting
the barrier tasks onto the workers. once all the workers (or in tq
barriers) have rendezvoused the barrier calls unwind, and the last
one out lets the other barriers and barrier tasks return.

all this barrier logic is implemented in the barrier code, it takes
the existing multiworker handling out of the actual taskq loop.

thanks to jsg@ for testing this and previous versions of the diff.
ok visa@ kettenis@

date 2020-06-07T23:52:05Z
author dlg
files src/sys/dev/pci/if_ix.c log diff annotate
src/sys/dev/pci/if_ix.h log diff annotate
message build on mpi's work toward ix multiq support.

this calls if_attach_queues and if_attach_iqueues to allocate an
ifq and ifiq per tx ring and rx ring respectivly, and then tie them
together. ix rx rings deliver packets into ifiqs, and ifqs push
packets onto ix tx rings. the return value from ifiq_input is also
used to tell the if_rxr stuff to back off.

this also makes the rx refill timeout per rx ring instead of per
interface, and makes it only schedule the timeout when the ring is
completely empty to avoid races with normal rx ring operation.

tested by hrvoje popovski
ok jmatthew@