OpenBSD cvs log

created 2018-11-29T12:50:14Z
begin 2018-03-29T00:00:00Z
end 2018-03-30T00:00:00Z
path src/sys
commits 13

date 2018-03-29T01:21:02Z
author guenther
files src/sys/arch/amd64/amd64/cpu.c log diff annotate
src/sys/arch/amd64/amd64/machdep.c log diff annotate
src/sys/arch/amd64/include/cpu.h log diff annotate
src/sys/arch/amd64/include/cpu_full.h log diff annotate
src/sys/arch/amd64/include/segments.h log diff annotate
message Explicitly declare the gdt storage in struct cpu_info_full instead of
implicitly putting it in the padding to page-size. This eliminates a
couple Coverity issues from the Meltdown work.

testing daniel@
ok mlarkin@

date 2018-03-29T01:43:41Z
author mlarkin
files src/sys/kern/vfs_biomem.c log diff annotate
message KNF (wrap a long line)

date 2018-03-29T02:25:10Z
author mlarkin
files src/sys/arch/amd64/amd64/vmm.c log diff annotate
src/sys/arch/amd64/include/vmmvar.h log diff annotate
message Remove RDTSCP from the CPUID flags reported to the guest VM. The instruction
was already disabled, but reporting it as available and then failing it
caused SmartOS to crash during boot.

ok pd@

date 2018-03-29T04:53:17Z
author jmatthew
files src/sys/net/if_pppx.c log diff annotate
message NET_LOCK is also required in pppxwrite and pppxclose.

ok dlg@ mpi@

date 2018-03-29T08:12:58Z
author stsp
files src/sys/arch/sparc64/stand/ofwboot/boot.c log diff annotate
src/sys/arch/sparc64/stand/ofwboot/disk.h log diff annotate
src/sys/arch/sparc64/stand/ofwboot/ofdev.c log diff annotate
src/sys/arch/sparc64/stand/ofwboot/softraid_sparc64.c log diff annotate
src/sys/arch/sparc64/stand/ofwboot/softraid_sparc64.h log diff annotate
src/sys/arch/sparc64/stand/ofwboot/vers.c log diff annotate
message Make sparc64 ofwboot open the softraid boot chunk early on and keep the
handle open until a kernel has been loaded from the softraid volume.

This works around an apparent memory leak in the firmware on T5220
which fails to load an ldom guest kernel from softraid with a "Fast
Data Access MMU Miss" trap after many OF_open()/OF_close() calls.
This problem goes away when we call OF_open()/OF_close() just once
instead of for every block we want to read.

Crank ofwboot version to 1.10.

Make sure to keep working boot media around before upgrading!
Softraid boot of an T5220 ldom guest (CRYPTO), and a v240 (RAID 1),
have been tested and are known to work. Please report issues to bugs@.

ok kettenis@

date 2018-03-29T11:41:15Z
author kettenis
files src/sys/dev/fdt/xhci_fdt.c log diff annotate
message Add support for legacy binding used in device trees for Marvell devices for
USB PHY support and add support for "usb-nop-xceiv" PHYs.

ok patrick@, jsg@

date 2018-03-29T18:11:55Z
author kettenis
files src/sys/dev/fdt/mvicu.c log diff annotate
message Use "marvell,spi-ranges" property to map GICP interrupts numbers into GIC
SPI numbers. Makes higher numbered GICP interrupts actually work.

date 2018-03-29T18:20:52Z
author kettenis
files src/sys/dev/fdt/files.fdt log diff annotate
src/sys/dev/fdt/mvrtc.c log diff annotate
message Add mvrtc(4), a driver for the RTC integrated on various Marvell Armada SoCs.

date 2018-03-29T18:57:41Z
author kettenis
files src/sys/arch/arm64/conf/GENERIC log diff annotate
src/sys/arch/arm64/conf/RAMDISK log diff annotate
message Enable mvclock(4), mvicu(4), mvpinctrl(4), mvgpio(4) and mvrtc(4). This
brings us very basic support for the SolidRun MACCHIATOBin.

date 2018-03-29T19:25:39Z
author patrick
files src/sys/arch/arm64/arm64/cpuswitch.S log diff annotate
src/sys/arch/arm64/arm64/genassym.cf log diff annotate
message Set p->p_cpu in cpu_switchto() like we do on other MP architectures.

ok kettenis@

date 2018-03-29T19:48:14Z
author patrick
files src/sys/arch/arm64/arm64/cpu.c log diff annotate
message Initialize the secondary core's schedstate before spinning them up.

ok kettenis@

date 2018-03-29T20:33:53Z
author patrick
files src/sys/arch/arm64/conf/GENERIC log diff annotate
src/sys/arch/arm64/conf/RAMDISK log diff annotate
src/sys/arch/armv7/imx/files.imx log diff annotate
src/sys/arch/armv7/imx/Attic/imxuart.c log diff annotate
src/sys/arch/armv7/imx/Attic/imxuartreg.h log diff annotate
src/sys/arch/armv7/imx/Attic/imxuartvar.h log diff annotate
src/sys/dev/fdt/files.fdt log diff annotate
src/sys/dev/fdt/imxuart.c log diff annotate
src/sys/dev/fdt/imxuartreg.h log diff annotate
src/sys/dev/fdt/imxuartvar.h log diff annotate
message Move imxuart(4) to sys/dev/fdt so it can be shared between arm64 and armv7.

Discussed with kettenis@

date 2018-03-29T21:35:23Z
author patrick
files src/sys/arch/arm64/arm64/machdep.c log diff annotate
message Call imxuart(4) early attach on arm64.