OpenBSD cvs log

created 2020-07-28T20:07:11Z
begin 2020-05-18T00:00:00Z
end 2020-05-19T00:00:00Z
path src/sys
commits 11

date 2020-05-18T08:26:28Z
author claudio
files src/sys/arch/sparc64/sparc64/locore.s log diff annotate
message Fix typo

date 2020-05-18T10:39:33Z
author kettenis
files src/sys/dev/fdt/amlpwrc.c log diff annotate
src/sys/dev/fdt/files.fdt log diff annotate
message Add amlpwrc(4), a driver for the power domain controller found on various
Amlogic SoCs.

date 2020-05-18T10:40:09Z
author kettenis
files src/sys/arch/arm64/conf/GENERIC log diff annotate
src/sys/arch/arm64/conf/RAMDISK log diff annotate
message Enable amlpwrc(4).

date 2020-05-18T10:40:38Z
author kettenis
files src/sys/dev/fdt/amlclock.c log diff annotate
message Add some comments.

date 2020-05-18T10:41:29Z
author kettenis
files src/sys/dev/fdt/amldwusb.c log diff annotate
message Turn power domain on. Makes OpenBSD boot on the odroid c4.

date 2020-05-18T12:14:33Z
author patrick
files src/sys/arch/arm64/stand/efiboot/conf.c log diff annotate
src/sys/arch/arm64/stand/efiboot/efipxe.c log diff annotate
src/sys/arch/armv7/stand/efiboot/conf.c log diff annotate
src/sys/arch/armv7/stand/efiboot/efipxe.c log diff annotate
message Our check to see if the EFI services support Mtftp() doesn't work
on U-Boot anymore, since we checked if the method is provided, but
now U-Boot provides a simple stub that only returns EFI_UNSUPPORTED.
A proper UEFI would throw EFI_INVALID_PARAMETER if we pass NULL
as first parameter, but U-Boot doesn't. This way we can see if
the method is actually provided and not just a stub.

ok kettenis@

date 2020-05-18T15:00:16Z
author deraadt
files src/sys/dev/rnd.c log diff annotate
message During the rekey operation, we feedback 1 word to the lowest level.
But it was a constant, that is really silly. Pass back the first
word from the middle layer.
ok visa

date 2020-05-18T16:29:19Z
author patrick
files src/sys/arch/macppc/stand/boot.mac/Attic/Makefile log diff annotate
src/sys/arch/macppc/stand/boot.mac/Attic/elf32_powerpc_merge.x log diff annotate
src/sys/arch/macppc/stand/boot.mac/Attic/fixcoff.c log diff annotate
message Move boot.mac into the Attic.

ok deraadt@

date 2020-05-18T17:01:02Z
author patrick
files src/sys/lib/libsa/in_cksum.c log diff annotate
src/sys/lib/libsa/net.h log diff annotate
message Sync in_cksum.c to the same version ospfd has. This fixes problems
with odd packet lengths, which can happen when using TFTP to load
a file with an odd length. ospfd actually took dvmrpd's version
in 2006 to fix the same issue, and both daemons implementations are
the same. For the bootloader we keep the consts from the previous
version and replace the fatal with a print and return.

ok deraadt@

date 2020-05-18T17:24:03Z
author deraadt
files src/sys/arch/arm/arm/locore.S log diff annotate
message Oops, DDB wrapper around setjmp/longjmp was misplaced

date 2020-05-18T17:56:41Z
author stsp
files src/sys/dev/pci/if_iwm.c log diff annotate
src/sys/dev/pci/if_iwmreg.h log diff annotate
message Offload CCMP (WPA2) encryption and decryption to iwm(4) hardware.

This reduces CPU load during traffic bursts.
Based on an older diff we had in CVS history, updated to work with
newer firmware versions we use today.

Tested on the following devices, with great support from several people:
3160 (stsp)
3168 (stsp)
7260 (jmatthew, tobhe)
7265 (stsp, procter, gonzalo)
8265 (benno, tb)
8260 (stsp, Liberto on bsd.network)
9260 (stsp, Jesper Wallin)
9560 (stsp)

Not tested: 3165; these run the same firmware as 7265 so will likely be fine.
I couldn't find a 3165 device in my pile.

ok jmatthew@ (who also found a small bug in my diff)