OpenBSD cvs log

created 2020-07-28T20:18:56Z
begin 2020-05-22T00:00:00Z
end 2020-05-23T00:00:00Z
path src/sys
commits 28

date 2020-05-22T00:33:45Z
author gkoehler
files src/sys/arch/powerpc/ddb/db_disasm.c log diff annotate
message Decode the %{ds}(%{A}) operand of ld, std instructions.

I don't expect to see these 64-bit instructions in 32-bit kernels,
but I'm going to copy this code to powerpc64.

ok drahn@

date 2020-05-22T01:11:04Z
author gkoehler
files src/sys/arch/powerpc64/powerpc64/db_disasm.c log diff annotate
message Copy db_disasm.c from powerpc to powerpc64.

This includes my last change to decode the %{ds}(%{A}) operand
of ld, std instructions.

ok drahn@

date 2020-05-22T04:54:32Z
author dlg
files src/sys/net/ifq.h log diff annotate
message speeling in comment fix. no functional change.

date 2020-05-22T05:08:47Z
author dlg
files src/sys/net/ifq.h log diff annotate
message mention if_attach_queues().

date 2020-05-22T05:09:42Z
author dlg
files src/sys/net/ifq.h log diff annotate
message white space fixes. no functional change.

date 2020-05-22T07:02:24Z
author dlg
files src/sys/net/ifq.h log diff annotate
message better wording

date 2020-05-22T08:48:49Z
author patrick
files src/sys/dev/fdt/files.fdt log diff annotate
src/sys/dev/fdt/mvkpcie.c log diff annotate
message Add mvkpcie(4), a driver for the Aardvark PCIe controller found on
the Armada 3700 SoC. So far only MSI is supported, since it was
easier to implement. Both MSI and INTx share a single interrupt
pin, so there's nothing to gain anyway, apart from legacy device
support.

With this I can push traffic through a bwfm(4) in my Turris Mox.

ok kettenis@

date 2020-05-22T08:49:02Z
author patrick
files src/sys/arch/arm64/conf/GENERIC log diff annotate
src/sys/arch/arm64/conf/RAMDISK log diff annotate
message Enable mvkpcie(4).

date 2020-05-22T08:53:01Z
author patrick
files src/sys/arch/arm64/conf/GENERIC log diff annotate
src/sys/arch/arm64/conf/RAMDISK log diff annotate
message Enable bwfm(4).

date 2020-05-22T09:41:33Z
author patrick
files src/sys/dev/fdt/sdhc_fdt.c log diff annotate
message Some sdhc(4) on FDT use a card-detect GPIO or have a non-removable flag.
If those properties exist, use those to detect a card.

ok kettenis@

date 2020-05-22T09:44:31Z
author patrick
files src/sys/dev/fdt/sdhc_fdt.c log diff annotate
message Actually store the node in the softc. Missed chunk from the previous
commit.

date 2020-05-22T09:52:27Z
author patrick
files src/sys/dev/fdt/sdhc_fdt.c log diff annotate
message And add the node to the struct. Sometimes I maybe shouldn't try spliting
up diffs before committing.

date 2020-05-22T10:02:30Z
author patrick
files src/sys/dev/fdt/if_mvneta.c log diff annotate
message Always defer attaching the mvneta(4) interfaces. Otherwise this
leads to unsorted interface lists in ifconfig and the installer,
depending on hardware configuration.

ok kettenis@

date 2020-05-22T10:06:59Z
author patrick
files src/sys/dev/fdt/mvclock.c log diff annotate
src/sys/dev/fdt/mvpinctrl.c log diff annotate
message Attach mvpinctrl(4) to the Armada 3700's NB as well. As a consequence
mvclock(4) cannot attach to the NB's xtal clock anymore. Instead, have
mvpinctrl(4) attach the xtal clock. With this we can use the SD card
detect pins on the Turris Mox.

ok kettenis@

date 2020-05-22T10:16:37Z
author kettenis
files src/sys/dev/acpi/amdgpio.c log diff annotate
src/sys/dev/acpi/aplgpio.c log diff annotate
src/sys/dev/acpi/bytgpio.c log diff annotate
src/sys/dev/acpi/chvgpio.c log diff annotate
src/sys/dev/acpi/glkgpio.c log diff annotate
src/sys/dev/acpi/tpm.c log diff annotate
message Use the parsed address and interrupt information from
struct acpi_attach_args.

tpm(4) tested by kn@
ok jmatthew@

date 2020-05-22T10:23:14Z
author patrick
files src/sys/dev/sdmmc/sdhc.c log diff annotate
src/sys/dev/sdmmc/sdhcvar.h log diff annotate
message Add pre/post hooks for bus clock changes to sdhc(4). These will be
used by sdhc(4) attachment drivers to do additional MD initialization.

ok kettenis@

date 2020-05-22T10:26:00Z
author patrick
files src/sys/dev/fdt/sdhc_fdt.c log diff annotate
message Add support for the Marvell Xenon SDHC. This is used on the Armada
3700 and 8040 SoCs and allows me to use an SD card as storage on the
Turris Mox. It also should make eMMC/SD show up on the MACCHIATObin.

ok kettenis@

date 2020-05-22T11:07:20Z
author otto
files src/sys/arch/luna88k/conf/RAMDISK log diff annotate
message Enable option FFS2 on RAMDISK; ok aoyama@ deraadt@

date 2020-05-22T15:07:46Z
author kettenis
files src/sys/arch/powerpc64/conf/files.powerpc64 log diff annotate
message Add some very simple trap handling.

date 2020-05-22T15:07:47Z
author kettenis
files src/sys/arch/powerpc64/include/cpufunc.h log diff annotate
src/sys/arch/powerpc64/include/frame.h log diff annotate
src/sys/arch/powerpc64/include/psl.h log diff annotate
src/sys/arch/powerpc64/include/signal.h log diff annotate
src/sys/arch/powerpc64/include/trap.h log diff annotate
src/sys/arch/powerpc64/powerpc64/cpu.c log diff annotate
src/sys/arch/powerpc64/powerpc64/genassym.cf log diff annotate
src/sys/arch/powerpc64/powerpc64/locore0.S log diff annotate
src/sys/arch/powerpc64/powerpc64/machdep.c log diff annotate
src/sys/arch/powerpc64/powerpc64/syncicache.c log diff annotate
src/sys/arch/powerpc64/powerpc64/trap.c log diff annotate
src/sys/arch/powerpc64/powerpc64/trap_subr.S log diff annotate
message Add some very simple trap handling.

date 2020-05-22T15:19:13Z
author patrick
files src/sys/dev/pci/pcidevs log diff annotate
message Add Atheros QCA986x/988x PCI ID.

date 2020-05-22T15:19:27Z
author patrick
files src/sys/dev/pci/pcidevs.h log diff annotate
src/sys/dev/pci/pcidevs_data.h log diff annotate
message regen

date 2020-05-22T15:29:21Z
author kettenis
files src/sys/arch/powerpc64/powerpc64/machdep.c log diff annotate
message Reboot (unconditionally for now).

date 2020-05-22T15:34:43Z
author kettenis
files src/sys/arch/powerpc64/powerpc64/trap.c log diff annotate
message Panic on unhandled traps (which for now is all of them).

date 2020-05-22T16:27:49Z
author kettenis
files src/sys/arch/powerpc64/include/cpu.h log diff annotate
src/sys/arch/powerpc64/powerpc64/genassym.cf log diff annotate
src/sys/arch/powerpc64/powerpc64/machdep.c log diff annotate
src/sys/arch/powerpc64/powerpc64/trap_subr.S log diff annotate
message Fill complete trap frame.

date 2020-05-22T18:48:42Z
author kettenis
files src/sys/dev/fdt/mvkpcie.c log diff annotate
message Enable link training just before triggering the actual training.
Inspired by a proposed fix for Linux mainline.

date 2020-05-22T20:14:04Z
author patrick
files src/sys/dev/fdt/mvkpcie.c log diff annotate
message Improve resetting PCIe devices by making use of the reset-gpios property,
which is supposed to be PERST. Before issuing PERST, we must disable link
training. This makes my PCIe device come up reliably after warm reboots.

Promped by, with feedback from and ok kettenis@

date 2020-05-22T21:40:20Z
author kettenis
files src/sys/dev/fdt/mvkpcie.c log diff annotate
message Improve emulation of bridge config space.

ok patrick@