OpenBSD cvs log

created 2019-09-02T03:07:46Z
begin 2019-08-28T00:00:00Z
end 2019-08-29T00:00:00Z
path src/sys
commits 12

date 2019-08-28T04:55:51Z
author dlg
files src/sys/dev/pci/mfii.c log diff annotate
message implement a DV_POWERDOWN handler to flush cache and shutdown the controller

this has been in snaps for the last week without issue, and has
been running in production on a bunch of my boxes for a week before
that, also without issue.

date 2019-08-28T07:03:51Z
author kettenis
files src/sys/dev/ofw/ofw_misc.c log diff annotate
src/sys/dev/ofw/ofw_misc.h log diff annotate
message Add a PHY "framework".

ok patrick@

date 2019-08-28T07:12:37Z
author kettenis
files src/sys/arch/arm64/conf/GENERIC log diff annotate
src/sys/arch/arm64/conf/RAMDISK log diff annotate
src/sys/dev/fdt/amlpinctrl.c log diff annotate
src/sys/dev/fdt/files.fdt log diff annotate
message Add amlpinctrl(4), a driver to configure pins and control GPIOs on Amlogic
SoCs. For now only a limited set of GPIO pins on the G12A/G12B variants
are supported.

ok patrick@

date 2019-08-28T10:17:59Z
author kettenis
files src/sys/arch/arm64/conf/GENERIC log diff annotate
src/sys/arch/arm64/conf/Makefile.arm64 log diff annotate
src/sys/dev/pci/drm/files.drm log diff annotate
src/sys/dev/pci/drm/include/generated/autoconf.h log diff annotate
src/sys/dev/pci/drm/include/linux/pci.h log diff annotate
message Build and enable amdgpu(4) on arm64. The DCN1.0 support has been made
optional and will only be compiled for amd64/i386. Apparently this is
only needed on Raven Ridge APUs.

ok jsg@, patrick@, deraadt@

date 2019-08-28T13:48:40Z
author aoyama
files src/sys/arch/m88k/include/cpu.h log diff annotate
message sys/arch/luna88k/luna88k/locore0.S:dummy_cpu assumes that
ci_mp_atomic_{begin,end} are 6th and 7th elements of cpu_info
structure. Actually that is dummy structure used in early boot stage,
but for consistency, move ci_srp_hazards position in cpu_info.

ok mpi@

date 2019-08-28T15:17:23Z
author krw
files src/sys/scsi/cd.c log diff annotate
src/sys/scsi/scsi_base.c log diff annotate
src/sys/scsi/scsiconf.c log diff annotate
src/sys/scsi/scsiconf.h log diff annotate
src/sys/scsi/sd.c log diff annotate
src/sys/scsi/ses.c log diff annotate
message Introduce SCSI0(), SCSI2() and SCSI3() defines to clarify (some) uses
of SCSISPC() when checking the values of the INQUIRY version field.

date 2019-08-28T19:37:56Z
author kettenis
files src/sys/dev/ofw/ofw_thermal.c log diff annotate
message This code calls task_add(9) from a timeout, so create the taskq with
IPL_SOFTCLOCK instead of IPL_NONE.

ok mpi@, deraadt@, patrick@

date 2019-08-28T20:02:42Z
author krw
files src/sys/scsi/safte.c log diff annotate
message Recast "SCSISPC() != 2" into "!SCSI2() || SCSI3()", i.e. "!= 2" into
"< 2 || > 2". Step towards allowing SCSISPC() to be updated to return
actual SPC values.

date 2019-08-28T20:54:24Z
author bluhm
files src/sys/net/rtsock.c log diff annotate
message In rev 1.273 RTM_LOCK has been removed from net/rtsock.c. Since
then the big switch in rtm_output() has RTM_CHANGE as a unique case.
Remove redundant checks of rtm_type within this case.
OK kn@

date 2019-08-28T22:22:43Z
author kettenis
files src/sys/kern/subr_extent.c log diff annotate
message If the EX_CONFLICTOK flag is given, allow operations that (partly)
free space that is already free.

ok patrick@

date 2019-08-28T22:36:41Z
author bluhm
files src/sys/net/rtsock.c log diff annotate
message Fix white spaces and wrap long lines.

date 2019-08-28T22:39:09Z
author kettenis
files src/sys/arch/amd64/amd64/mainbus.c log diff annotate
src/sys/arch/amd64/conf/GENERIC log diff annotate
src/sys/arch/amd64/conf/RAMDISK log diff annotate
src/sys/arch/amd64/conf/RAMDISK_CD log diff annotate
src/sys/arch/amd64/conf/files.amd64 log diff annotate
src/sys/arch/amd64/pci/acpipci.c log diff annotate
src/sys/arch/amd64/pci/pci_machdep.c log diff annotate
src/sys/dev/acpi/acpi.c log diff annotate
src/sys/dev/acpi/acpireg.h log diff annotate
src/sys/dev/acpi/acpivar.h log diff annotate
message Use ACPI information to attach PCI busses like we do on arm64. There are a
few additional quirks though, and attaching the PCI busses is delayed to
replicate the existing code more closely. That may be changed in the
future. Also tweak how we handle MSI support and respect to ACPI flag
that says we shouldn't attempt to use MSIs.

Some fallout is expected.

ok patrick@