OpenBSD cvs log

created 2022-10-30T02:43:08Z
begin 2022-10-23T00:00:00Z
end 2022-10-24T00:00:00Z
path src/sys
commits 11

date 2022-10-23T02:53:14Z
author deraadt
files src/sys/kern/exec_elf.c log diff annotate
message A better workaround for mips64 mimmutable problem. The problem is the
DT_DEBUG word is inside a R LOAD that gets marked immutable, but ld.so
does a mprotect RW + adjustment + mprotect R. DT_DEBUG is specified as
being inside the DYNAMIC range, solet's do all the immutables and then,
on mips64 only, turn around and make DYNAMIC mutable. That gives us
time to see if we can move DT_DEBUG or change what ld.so is doing.
discussed at length with kettenis

date 2022-10-23T03:43:03Z
author gkoehler
files src/sys/arch/macppc/dev/adb.c log diff annotate
src/sys/arch/macppc/dev/apm.c log diff annotate
message Connect macppc's power button and lid to the SUSPEND stubs

A kernel with option SUSPEND now calls gosleep() if I run zzz(8),
press the power button (when machdep.pwraction=2), or close the lid
(when machdep.lidaction=1). Because gosleep() is an empty stub, the
macppc does not really suspend; it only suspends some devices and
immediately resumes.

The interrupt from the power button or the lid needs some thread
(other than systq) to call sleep_state(). Use taskq_create(9) to
create another thread.

Add a call to device_register_wakeup(). Without this call,
sleep_state() does nothing.

ok kettenis@ deraadt@

date 2022-10-23T06:00:23Z
author tb
files src/sys/lib/libz/adler32.c log diff annotate
src/sys/lib/libz/compress.c log diff annotate
src/sys/lib/libz/crc32.c log diff annotate
src/sys/lib/libz/crc32.h log diff annotate
src/sys/lib/libz/deflate.c log diff annotate
src/sys/lib/libz/deflate.h log diff annotate
src/sys/lib/libz/infback.c log diff annotate
src/sys/lib/libz/inffast.c log diff annotate
src/sys/lib/libz/inffast.h log diff annotate
src/sys/lib/libz/inffixed.h log diff annotate
message Drop RCS ids in upstream zlib source

We're not maintaining a this as a fork, it's upstream source with a handful
of patches. Thus, the RCS ids aren't particularly useful or important. They
are a bit of a maintenance burden and generate noise in diffs.

ok kn, no objection millert, "kill" guess who

date 2022-10-23T06:00:24Z
author tb
files src/sys/lib/libz/inflate.c log diff annotate
src/sys/lib/libz/inflate.h log diff annotate
src/sys/lib/libz/inftrees.c log diff annotate
src/sys/lib/libz/inftrees.h log diff annotate
src/sys/lib/libz/trees.c log diff annotate
src/sys/lib/libz/trees.h log diff annotate
src/sys/lib/libz/zconf.h log diff annotate
src/sys/lib/libz/zlib.h log diff annotate
src/sys/lib/libz/zutil.c log diff annotate
src/sys/lib/libz/zutil.h log diff annotate
message Drop RCS ids in upstream zlib source

We're not maintaining a this as a fork, it's upstream source with a handful
of patches. Thus, the RCS ids aren't particularly useful or important. They
are a bit of a maintenance burden and generate noise in diffs.

ok kn, no objection millert, "kill" guess who

date 2022-10-23T08:00:10Z
author kn
files src/sys/arch/macppc/dev/pm_direct.c log diff annotate
message Constify send/receive command tables

Both only used for printf calls.

OK gkoehler

date 2022-10-23T13:45:32Z
author kettenis
files src/sys/dev/pci/if_bwfm_pci.c log diff annotate
message Bump tsleep timeout. For some reason the first attempt to load the firmware
sometimes fails. This happens more often on M2 laptops that also need to
load the touchpad firmware. Smells like we have some sort of thundering herd
at mountroot time which makes this take more time.

ok patrick@

date 2022-10-23T14:39:19Z
author krw
files src/sys/dev/vnd.c log diff annotate
src/sys/dev/ata/wd.c log diff annotate
src/sys/scsi/sd.c log diff annotate
message bzero(disklabel) or memset(disklabel,0) should be enough for
anyone. No need to also set d_flags to 0.

date 2022-10-23T18:43:00Z
author mglocker
files src/sys/arch/arm64/conf/GENERIC log diff annotate
src/sys/dev/i2c/files.i2c log diff annotate
src/sys/dev/i2c/pijuice.c log diff annotate
message Initial apm/sensor driver for the PiJuice HAT UPS, to feedback battery
status information.

ok deraadt@

date 2022-10-23T19:33:39Z
author krw
files src/sys/arch/octeon/dev/amdcf.c log diff annotate
src/sys/arch/octeon/dev/octcf.c log diff annotate
message bzero(disklabel) or memset(disklabel,0) should be enough for
anyone. No need to also set d_flags to 0.

date 2022-10-23T22:15:45Z
author tobhe
files src/sys/arch/arm64/dev/apldma.c log diff annotate
message Make sure driver is attached before allocating a channel. Fixes a crash on
M2 Macbook Air with a newer device tree where aplaudio tries to allocate a
channel after apldma_attach() failed.

ok kettenis@

date 2022-10-23T23:39:41Z
author guenther
files src/sys/arch/sparc64/sparc64/machdep.c log diff annotate
message Fix a misleading comment

ok miod@ kettenis@