OpenBSD cvs log

created 2018-11-29T22:59:04Z
begin 2018-07-01T00:00:00Z
end 2018-07-02T00:00:00Z
path src/sys
commits 16

date 2018-07-01T04:47:32Z
author guenther
files src/sys/arch/amd64/amd64/locore.S log diff annotate
src/sys/arch/amd64/include/asm.h log diff annotate
message Provide _ALIGN_TRAPS macro for text alignment with a trap-sled, then
use it where that was manually written before. No binary change.

ok deraadt@

date 2018-07-01T08:53:03Z
author mpi
files src/sys/net/route.h log diff annotate
src/sys/net/rtsock.c log diff annotate
message Retire support for unused RTM_LOCK messages, it's redundant w/ RTM_CHANGE.

ok tb@, sthen@

date 2018-07-01T10:26:17Z
author kettenis
files src/sys/dev/acpi/acpireg.h log diff annotate
message Add definitions for SPCR tables.

ok mlarkin@

date 2018-07-01T10:27:34Z
author kettenis
files src/sys/dev/acpi/acpi.c log diff annotate
src/sys/dev/acpi/acpivar.h log diff annotate
message Add support for _DSD Device Properties.

ok mlarkin@

date 2018-07-01T10:29:30Z
author kettenis
files src/sys/dev/acpi/com_acpi.c log diff annotate
src/sys/dev/acpi/files.acpi log diff annotate
message Allow com(4) to attach to acpi(4). For now we will only use this on arm64
where this is needed to support serial console in ACPI mode.

ok mlarkin@

date 2018-07-01T11:37:11Z
author kettenis
files src/sys/dev/acpi/dwiic_acpi.c log diff annotate
src/sys/dev/acpi/sdhc_acpi.c log diff annotate
message Remove semicolon before printing the AML name.

spotted by deraadt@

date 2018-07-01T12:12:14Z
author kettenis
files src/sys/dev/pci/drm/drm_linux.c log diff annotate
message Use fnew() to allocate a struct file. Simplifies the code.

ok mpi@, visa@

date 2018-07-01T12:13:50Z
author mortimer
files src/sys/arch/amd64/include/asm.h log diff annotate
message Add retguard asm macros.
ok guenther@

date 2018-07-01T15:52:12Z
author kettenis
files src/sys/arch/amd64/amd64/acpi_machdep.c log diff annotate
src/sys/arch/amd64/conf/files.amd64 log diff annotate
src/sys/arch/i386/conf/files.i386 log diff annotate
src/sys/arch/i386/i386/acpi_machdep.c log diff annotate
src/sys/dev/acpi/acpi.c log diff annotate
src/sys/dev/acpi/files.acpi log diff annotate
message Move acpi(4) attach glue into acpi_machdep.c.

ok guenther@, deraadt@

date 2018-07-01T15:54:59Z
author kettenis
files src/sys/dev/acpi/ahci_acpi.c log diff annotate
src/sys/dev/acpi/files.acpi log diff annotate
message Allow ahci(4) to attach to acpi(4).

ok deraadt@

date 2018-07-01T16:02:12Z
author guenther
files src/sys/arch/amd64/amd64/vector.S log diff annotate
src/sys/arch/amd64/include/asm.h log diff annotate
message Update IDTVEC, KIDTVEC, and KUENTRY to align with _ALIGN_TRAPS instead of
ALIGN_TEXT. For the places where IDTVEC and KIDTVEC are used in ways that
would fail if a trap was inserted, provide IDTVEC_NOALIGN for use directly
after other IDTVEC uses, and KIDTVEC_FALLTHROUGH for places where the code
intentionally falls through to a KIDTVEC. "objdump -d" shows that this
just converts nop-sleds to trap-sleds immediately after an unconditional
jmp, or a retq, iretq, or sysretq.

ok mortimer@ kettenis@ deraadt@

date 2018-07-01T16:33:15Z
author visa
files src/sys/kern/kern_descrip.c log diff annotate
src/sys/kern/kern_sysctl.c log diff annotate
src/sys/kern/uipc_usrreq.c log diff annotate
message Lock the file descriptor table when accessing the `fd_ofileflags' array.
This prevents the array from being freed too early. In the function
unp_internalize(), the locking also ensures the per-fdp flags stay
coherent with the file instance.

OK mpi@

date 2018-07-01T18:58:06Z
author kettenis
files src/sys/dev/fdt/dwpcie.c log diff annotate
message Use generated string for the bus number extent.

date 2018-07-01T19:30:37Z
author kettenis
files src/sys/arch/arm64/arm64/acpi_machdep.c log diff annotate
src/sys/arch/arm64/conf/GENERIC log diff annotate
src/sys/arch/arm64/conf/GENERIC.MP log diff annotate
src/sys/arch/arm64/conf/RAMDISK log diff annotate
src/sys/arch/arm64/conf/files.arm64 log diff annotate
message Hook up acpi(4) on arm64. Various bits of driver glue are still missing
but this is enough to boot multi-user on the mcbin with suitable firmware.

ok mlarkin@

date 2018-07-01T19:40:49Z
author mlarkin
files src/sys/dev/acpi/acpiac.c log diff annotate
src/sys/dev/acpi/acpiasus.c log diff annotate
src/sys/dev/acpi/acpibat.c log diff annotate
src/sys/dev/acpi/acpibtn.c log diff annotate
src/sys/dev/acpi/acpiec.c log diff annotate
src/sys/dev/acpi/acpithinkpad.c log diff annotate
src/sys/dev/acpi/acpitoshiba.c log diff annotate
src/sys/dev/acpi/tpm.c log diff annotate
message acpi: clean up some inconsistent style in the hid matching arrays

ok millert, kettenis, jcs, phessler, deraadt, mpi

date 2018-07-01T21:05:07Z
author kettenis
files src/sys/arch/arm64/conf/GENERIC.MP log diff annotate
message Revert bit I didn't intend to commit.