OpenBSD cvs log

created 2021-05-16T07:37:13Z
begin 2021-05-10T00:00:00Z
end 2021-05-11T00:00:00Z
path src/sys
commits 8

date 2021-05-10T00:52:15Z
author guenther
files src/sys/arch/amd64/amd64/pmap.c log diff annotate
message Pull the logic to get the "lock" for TLB shooting into
pmap_start_tlb_shoot(), to get the #ifdef goo out of
pmap_tlb_shoot{page,range,tlb}()

Use a normal do{}while(0) when nooping pmap_tlb_shootwait()

tweak and ok kettenis@

date 2021-05-10T05:58:19Z
author jsg
files src/sys/arch/riscv64/riscv64/locore.S log diff annotate
message reduce exception.S diff to FreeBSD

ok mlarkin@

date 2021-05-10T05:58:20Z
author jsg
files src/sys/arch/riscv64/riscv64/exception.S log diff annotate
message reduce exception.S diff to FreeBSD

ok mlarkin@

date 2021-05-10T08:17:07Z
author stsp
files src/sys/dev/softraid_crypto.c log diff annotate
src/sys/dev/softraid_raid1c.c log diff annotate
src/sys/dev/softraidvar.h log diff annotate
message Refactor softraid crypto code to allow use of a discipline-specific data
structure for RAID1C volumes, as requested by jsing@ during review of my
initial RAID1C patch.

This should effectively be a cosmetic change. The point of this exercise
is to allow the data structure changes made here in softraidvar.h.

Tested on CRYPTO and RAID1C by Josh Grosse, Matthias Schmidt, and myself.
ok jsing@

date 2021-05-10T08:28:00Z
author stsp
files src/sys/dev/pci/if_iwm.c log diff annotate
src/sys/dev/pci/if_iwmvar.h log diff annotate
message Let iwm(4) flush Tx queues before removing the firmware station and
before stopping a Tx block ack session. This aligns us more closely
with how the Linux iwlwifi driver is doing things.

Also, reset the device if an errors occurs in the block ack session task.
Fixes auto-recovery after such errors.

Prompted by firmware error reports from kettenis@ and Matthias Schmidt.
Doesn't fix the reported issues completely. I will keep investigating.

Tested:
7265: stsp
8265: Matthias Schmidt
9260: phessler, kettenis

date 2021-05-10T14:54:14Z
author deraadt
files src/sys/arch/riscv64/riscv64/locore.S log diff annotate
message sigfillsiz is int, not long; ok kettenis

date 2021-05-10T17:29:41Z
author gkoehler
files src/sys/arch/macppc/conf/Makefile.macppc log diff annotate
src/sys/arch/macppc/conf/ld.script log diff annotate
src/sys/arch/macppc/stand/ofwboot/Makefile log diff annotate
src/sys/arch/macppc/stand/ofwboot/ld.script log diff annotate
message Add ld.script for macppc kernel, ofwboot

These are copies of powerpc64/conf/ld.script with some changes for
macppc. They work with both ld.bfd and ld.lld.

The ld.script fixes ld.lld. Without ld.script, lld would set the
symbol "etext" to a wrong value like 0x10000034, then ofwboot would
freeze and fail to boot the kernel. With ld.script, we PROVIDE a
correct etext.

ok kettenis@

date 2021-05-10T18:01:24Z
author mpi
files src/sys/kern/kern_sig.c log diff annotate
src/sys/kern/sched_bsd.c log diff annotate
src/sys/kern/sys_process.c log diff annotate
src/sys/sys/signalvar.h log diff annotate
message Revert previous, it introduced a regression with breakpoints in gdb.