OpenBSD cvs log

created 2022-03-06T03:10:59Z
begin 2022-03-02T00:00:00Z
end 2022-03-03T00:00:00Z
path src/sys
commits 22

date 2022-03-02T09:27:34Z
author claudio
files src/sys/net/pfkeyv2.h log diff annotate
message Convert a few last struct members from u_intXY_t to uintXY_t. Now all
structs use consistent integer types.
OK jsg@ mvs@

date 2022-03-02T12:00:46Z
author kettenis
files src/sys/dev/ofw/ofw_misc.c log diff annotate
src/sys/dev/ofw/ofw_misc.h log diff annotate
message Add an interface to write to an nvmem cell.

ok patrick@

date 2022-03-02T12:35:14Z
author kettenis
files src/sys/arch/arm64/dev/aplpmu.c log diff annotate
message Add nvmem support and make this available on all Apple SPMI PMUs. Restrict
the RTC interface to the "sera" PMU found on Apple M1 systems.

ok patrick@

date 2022-03-02T12:44:48Z
author kettenis
files src/sys/arch/arm64/conf/RAMDISK log diff annotate
src/sys/arch/arm64/dev/aplsmc.c log diff annotate
message Add RTC support to aplsmc(4). The SMC firmware distributed with macOS 12.x
has a method to read the counter that forms the base of the RTC. This seems
to be the preferred way to access the RTC going forward. The RTC offset is
still stored in the SPMI PMU, but we can use the nvmem interface to read
and write that. This makes the RTC work on systems with the M1 Pro/Max SoC.

Sprinkle some #ifdef SMALL_KERNEL around and enable the driver on RAMDISK
kernels.

ok patrick@

date 2022-03-02T12:45:35Z
author kettenis
files src/sys/arch/arm64/arm64/cpu.c log diff annotate
message Recognize the cores on Apple's M1 Pro/Max SoCs.

ok jsg@

date 2022-03-02T12:45:40Z
author jsg
files src/sys/dev/pci/drm/amd/display/dc/dcn21/dcn21_resource.c log diff annotate
message revert rev 1.6, local change to use DC_FP_START()/DC_FP_END() in
update_bw_bounding_box()

a linux 5.15.26 patch adds this to the callers

date 2022-03-02T12:48:18Z
author jsg
files src/sys/dev/pci/drm/amd/display/dc/clk_mgr/dcn30/dcn30_clk_mgr.c log diff annotate
src/sys/dev/pci/drm/amd/display/dc/core/amdgpu_dc.c log diff annotate
message drm/amd/display: Protect update_bw_bounding_box FPU code.

From Bas Nieuwenhuizen
211b67fb5a49c9f6e6a63d9b94ea96bf2e39341a in linux 5.15.y/5.15.26
1432108d00e42ffa383240bcac8d58f89ae19104 in mainline linux

date 2022-03-02T12:50:08Z
author jsg
files src/sys/dev/pci/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c log diff annotate
message drm/amd/pm: fix some OEM SKU specific stability issues

From Evan Quan
c00e4c01f470f0446556bd99af899bfa26dd9fae in linux 5.15.y/5.15.26
e3f3824874da78db5775a5cb9c0970cd1c6978bc in mainline linux

date 2022-03-02T12:53:15Z
author bluhm
files src/sys/netinet/in_pcb.h log diff annotate
src/sys/netinet/tcp_subr.c log diff annotate
src/sys/netinet/udp_usrreq.c log diff annotate
src/sys/netinet6/in6_pcb.c log diff annotate
src/sys/netinet6/raw_ip6.c log diff annotate
message The return value of in6_pcbnotify() is never used. Make it a void
function.
OK gnezdo@ mvs@ florian@ sashan@

date 2022-03-02T12:53:45Z
author jsg
files src/sys/dev/pci/drm/amd/amdgpu/amdgpu_drv.c log diff annotate
src/sys/dev/pci/drm/amd/amdgpu/amdgpu_kms.c log diff annotate
message drm/amd: Check if ASPM is enabled from PCIe subsystem

From Mario Limonciello
ea44fcee7e3d87725423c904306a99cd42bd24b7 in linux 5.15.y/5.15.26
7294863a6f01248d72b61d38478978d638641bee in mainline linux

date 2022-03-02T12:57:11Z
author jsg
files src/sys/dev/pci/drm/amd/amdgpu/soc15.c log diff annotate
message drm/amdgpu: disable MMHUB PG for Picasso

From Evan Quan
70b2413ac30c88a049f179d674d29d1f6af1d29a in linux 5.15.y/5.15.26
f626dd0ff05043e5a7154770cc7cda66acee33a3 in mainline linux

date 2022-03-02T12:58:57Z
author jsg
files src/sys/dev/pci/drm/amd/amdgpu/soc15.c log diff annotate
message drm/amdgpu: do not enable asic reset for raven2

From Chen Gong
8840d963e56685f8750c710b1d567a283712c554 in linux 5.15.y/5.15.26
1e2be869c8a7247a7253ef4f461f85e2f5931b95 in mainline linux

date 2022-03-02T13:01:22Z
author jsg
files src/sys/dev/pci/drm/i915/display/intel_bw.h log diff annotate
message drm/i915: Widen the QGV point mask

From Ville Syrjala
7782e3c4e5390d217604a73a095db14d48c8b714 in linux 5.15.y/5.15.26
3f33364836aacc28cd430d22cf22379e3b5ecd77 in mainline linux

date 2022-03-02T13:04:05Z
author jsg
files src/sys/dev/pci/drm/i915/intel_pm.c log diff annotate
message drm/i915: Correctly populate use_sagv_wm for all pipes

From Ville Syrjala
1b4445e09df83c397343ef8ab6b3ab560a4831ff in linux 5.15.y/5.15.26
afc189df6bcc6be65961deb54e15ec60e7f85337 in mainline linux

date 2022-03-02T13:06:03Z
author jsg
files src/sys/dev/pci/drm/i915/display/intel_bw.c log diff annotate
message drm/i915: Fix bw atomic check when switching between SAGV vs. no SAGV

From Ville Syrjala
0726fca0b6cc26a9ee6b0a0ac8984b8be0c62fb8 in linux 5.15.y/5.15.26
ec663bca9128f13eada25cd0446e7fcb5fcdc088 in mainline linux

date 2022-03-02T13:07:51Z
author jsg
files src/sys/dev/pci/drm/drm_edid.c log diff annotate
message drm/edid: Always set RGB444

From Maxime Ripard
143dafa60aa7f0894a8f1b63b001e3a6f30169a0 in linux 5.15.y/5.15.26
ecbd4912a693b862e25cba0a6990a8c95b00721e in mainline linux

date 2022-03-02T13:09:56Z
author jsg
files src/sys/dev/pci/drm/i915/display/intel_snps_phy.c log diff annotate
message drm/i915/dg2: Print PHY name properly on calibration error

From Matt Roper
d064d0c39405a7f0fc76d9b70ce9fb3bf434fe05 in linux 5.15.y/5.15.26
28adef861233c6fce47372ebd2070b55eaa8e899 in mainline linux

date 2022-03-02T13:58:08Z
author krw
files src/sys/scsi/scsiconf.c log diff annotate
message Move the code obtaining the LUN 0 scsi_link used to determine the
LUNs available to a target into scsi_get_target_luns(). Clearer
code and prep for future changes.

No functional change.

Extracted from a larger diff submitted by Scott Nicholas via
tech@.

date 2022-03-02T16:35:49Z
author kettenis
files src/sys/dev/ic/bwfm.c log diff annotate
src/sys/dev/ic/bwfmvar.h log diff annotate
src/sys/dev/pci/if_bwfm_pci.c log diff annotate
message The firmware for the bwfm(4) variants in Apple Silicon Macs has variants
for different module types, module vendors and module revisions. Make
our driver use the same naming scheme as Asahi Linux.

ok patrick@

date 2022-03-02T17:47:11Z
author krw
files src/sys/scsi/scsiconf.c log diff annotate
message Abstract the memory allocation, scsibus_softc data copying and
flag setting bits of creating a scsi_link into scsi_alloc_link().

Shrinks the bloated scsi_probe_link() a bit, makes it possible to
eventually create a useable scsi_link even when scsi_probe_link()
can't attach a device.

Developed from part of a diff submitted by Scott Nicholas via
tech@.

date 2022-03-02T20:16:43Z
author bluhm
files src/sys/netinet/ip_ipsp.h log diff annotate
message Merge two comments describing the locks into one.

date 2022-03-02T21:30:58Z
author bluhm
files src/sys/netinet/in_pcb.c log diff annotate
message Use NULL instead of 0 for pointer.