created | 2022-03-17T16:27:16Z |
---|---|
begin | 2022-03-02T00:00:00Z |
end | 2022-03-09T00:00:00Z |
path | src/sys |
commits | 54 |
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. |
date | 2022-03-03T16:52:07Z | |||
---|---|---|---|---|
author | krw | |||
files | src/sys/scsi/scsiconf.c | log | diff | annotate |
message | Revert r1.241 and r1.240 which may have broken softraid. |
date | 2022-03-03T19:10:13Z | |||
---|---|---|---|---|
author | krw | |||
files | src/sys/scsi/scsiconf.c | log | diff | annotate |
message | r1.241 was the culprit. Unrevert r1.240. |
date | 2022-03-04T20:35:10Z | |||
---|---|---|---|---|
author | bluhm | |||
files | src/sys/netinet/in_pcb.c | log | diff | annotate |
message |
in_pcbinit() is called during boot. There malloc(9) cannot fail, but would panic instead of waiting. Remove needless error handling. OK mvs@ |
date | 2022-03-04T21:09:03Z | |||
---|---|---|---|---|
author | bluhm | |||
files | src/sys/netinet/in.c | log | diff | annotate |
message |
in_addmulti() is only called from ioctl(2) or setsockopt(2). Wait for malloc(9) to make the system call reliable. OK mvs@ |
date | 2022-03-04T22:34:41Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/dev/ic/bwfm.c | log | diff | annotate |
src/sys/dev/ic/bwfmreg.h | log | diff | annotate | |
src/sys/dev/ic/bwfmvar.h | log | diff | annotate | |
src/sys/dev/pci/if_bwfm_pci.c | log | diff | annotate | |
message |
Add support for the BCM4387. The firmware for this variant uses a new scan command, which is indicated by the "scan_ver" firmware variable. ok patrick@ |
date | 2022-03-05T06:59:12Z | |||
---|---|---|---|---|
author | aoyama | |||
files | src/sys/arch/luna88k/luna88k/m8820x.c | log | diff | annotate |
message |
Move CPU-CMMU association report into #ifdef DEBUG section. This was useful in early days of porting OpenBSD to LUNA-88K, but now more detailed information is shown in dmesg. Tested by me. |
date | 2022-03-05T09:50:49Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/nfs/nfs_boot.c | log | diff | annotate |
message |
remove fddi leftover no binary change |
date | 2022-03-05T10:43:32Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/net/pf.c | log | diff | annotate |
message | #if INET6 -> #ifdef INET6 to be consistent |
date | 2022-03-05T11:03:30Z | |||
---|---|---|---|---|
author | aoyama | |||
files | src/sys/arch/luna88k/conf/files.luna88k | log | diff | annotate |
src/sys/arch/luna88k/luna88k/machdep.c | log | diff | annotate | |
src/sys/arch/luna88k/luna88k/romcons.c | log | diff | annotate | |
message |
Move initial ROM console related codes into separated luna88k/romcons.c file. No functional change, tested by me. |
date | 2022-03-05T16:58:35Z | |||
---|---|---|---|---|
author | deraadt | |||
files | src/sys/dev/acpi/acpi_x86.c | log | diff | annotate |
message | Improve wording for trying S5 instead of S4 |
date | 2022-03-05T17:00:14Z | |||
---|---|---|---|---|
author | deraadt | |||
files | src/sys/dev/pci/if_ix.c | log | diff | annotate |
message |
Add an activate() function with DVACT_QUIESCE & DVACT_RESUME hooks (this has succesfully unhibernated a server machine) ok dlg |
date | 2022-03-06T08:40:34Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/conf/files | log | diff | annotate |
message | remove unused usbdev and btbus attributes |
date | 2022-03-06T12:16:27Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/arch/arm/armv7/armv7_space.c | log | diff | annotate |
message |
Convert KVA allocation to km_alloc(9). ok mpi@ |
date | 2022-03-06T15:12:00Z | |||
---|---|---|---|---|
author | deraadt | |||
files | src/sys/dev/acpi/acpi_x86.c | log | diff | annotate |
message | oops, typo, spotted by Mikhail |
date | 2022-03-06T15:24:50Z | |||
---|---|---|---|---|
author | bluhm | |||
files | src/sys/netinet/ip_spd.c | log | diff | annotate |
message |
Usually we check ipsec_in_use as shortcut to avoid IPsec lookups, but that does not work when coming from tcp_output() as inp != NULL. This seems to be done to block packets from sockets with options in inp_seclevel. But instead of doing the route lookup, go directly to ipsp_spd_inp() where the socket policy checks are done. Calling rtable_l2() before the shortcut also costs a bit, do it when needed. OK tobhe@ |
date | 2022-03-06T18:52:47Z | |||
---|---|---|---|---|
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 |
Look for firmware for Apple Silicon devices in /etc/firmware/apple-bwfm. ok deraadt@ |
date | 2022-03-06T22:08:51Z | |||
---|---|---|---|---|
author | chrisz | |||
files | src/sys/dev/pci/pcidevs | log | diff | annotate |
message |
Add JMICRON JMB58x ahci ok dlg@ |
date | 2022-03-06T22:08:52Z | |||
---|---|---|---|---|
author | chrisz | |||
files | src/sys/dev/pci/pcidevs.h | log | diff | annotate |
src/sys/dev/pci/pcidevs_data.h | log | diff | annotate | |
message |
Add JMICRON JMB58x ahci ok dlg@ |
date | 2022-03-07T08:13:13Z | |||
---|---|---|---|---|
author | stsp | |||
files | src/sys/net80211/ieee80211_ioctl.c | log | diff | annotate |
src/sys/net80211/ieee80211_ioctl.h | log | diff | annotate | |
message |
rename net80211 ioctl struct ieee80211_channel to struct ieee80211_chaninfo ioctls should use dedicated names for their structs, but SIOCG80211ALLCHANS duplicated struct ieee80211_channel. We cannot make changes to the kernel's version of ieee80211_channel while an ioctl is squatting on the struct name. Helpful guidance from deraadt@ Tested in a ports bulk build by sthen@, and tested by Mikhail. ok sthen@ |
date | 2022-03-07T11:08:13Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/arch/arm64/dev/aplpcie.c | log | diff | annotate |
message |
Since AIC2 uses 4 interrupt cells we need to adjust the code that handles the "msi-ranges" property and converts it into a proper interrupt descriptor for MSIs. ok jsg@ |
date | 2022-03-07T13:02:53Z | |||
---|---|---|---|---|
author | visa | |||
files | src/sys/dev/fdt/if_cad.c | log | diff | annotate |
message |
Prevent deadlock in cad_down() Introduce an rwlock to serialize cad(4) ioctl operations so that cad_down() can release NET_LOCK() temporarily when invoking barriers. This releasing prevents a possible deadlock with the taskq barrier. The deadlock was pointed out by witness(4). In addition, release NET_LOCK() when allocating memory in cad_up() to reduce the risk of ill effects. |
date | 2022-03-07T18:52:16Z | |||
---|---|---|---|---|
author | dv | |||
files | src/sys/dev/pv/if_vio.c | log | diff | annotate |
message |
vio(4): use NULL instead of 0 with sc_{rx,tx}_mbuf pointer array. ok millert@, deraadt@ |
date | 2022-03-07T23:40:53Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/conf/files | log | diff | annotate |
src/sys/dev/ic/Attic/wd33c93.c | log | diff | annotate | |
src/sys/dev/ic/Attic/wd33c93reg.h | log | diff | annotate | |
src/sys/dev/ic/Attic/wd33c93var.h | log | diff | annotate | |
message |
remove WD33C93 SCSI code used by wdsc on sgi (removed in 2021) ok krw@ |
date | 2022-03-08T00:13:19Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/conf/files | log | diff | annotate |
src/sys/dev/ic/Attic/lm700x.c | log | diff | annotate | |
src/sys/dev/ic/Attic/lm700x.h | log | diff | annotate | |
src/sys/dev/ic/Attic/pt2254a.c | log | diff | annotate | |
src/sys/dev/ic/Attic/pt2254a.h | log | diff | annotate | |
src/sys/dev/ic/Attic/tc921x.c | log | diff | annotate | |
src/sys/dev/ic/Attic/tc921x.h | log | diff | annotate | |
message |
remove files used by isa radio drivers removed in 2016 lm700x: az, rt tc921x: sfr pt2254a: sfr, sf2r |
date | 2022-03-08T06:05:58Z | |||
---|---|---|---|---|
author | hastings | |||
files | src/sys/dev/usb/if_mtw.c | log | diff | annotate |
message |
Add missing byteswap to mtw_write_cfg(). Fixes loading firmware on big-endian machines. ok stsp@, jmatthew@ |
date | 2022-03-08T06:56:14Z | |||
---|---|---|---|---|
author | jmatthew | |||
files | src/sys/dev/pci/if_aq_pci.c | log | diff | annotate |
message |
Handle rxrinfo ioctl. ok dlg@ |
date | 2022-03-08T12:47:33Z | |||
---|---|---|---|---|
author | anton | |||
files | src/sys/dev/usb/ucc.c | log | diff | annotate |
message | use the device name in debug output |
date | 2022-03-08T15:08:01Z | |||
---|---|---|---|---|
author | hastings | |||
files | src/sys/arch/amd64/conf/GENERIC | log | diff | annotate |
src/sys/arch/amd64/conf/RAMDISK_CD | log | diff | annotate | |
message |
Enable mtw(4) in the build for amd64. Firmware is available via fw_update(8). ok stsp@ |
date | 2022-03-08T16:13:08Z | |||
---|---|---|---|---|
author | visa | |||
files | src/sys/dev/fdt/if_cad.c | log | diff | annotate |
message | Make cad(4) handle rxr ioctl. |
date | 2022-03-08T19:32:41Z | |||
---|---|---|---|---|
author | anton | |||
files | src/sys/dev/usb/ucc.c | log | diff | annotate |
message | also use the device name in ucc_intr() debug output |
date | 2022-03-08T20:46:01Z | |||
---|---|---|---|---|
author | sashan | |||
files | src/sys/net/if_pfsync.c | log | diff | annotate |
message |
merge iack_mtx, upd_c_mtx, del_mtx, ins_mtx and upd_mtx mutexes into single mutex st_mtx. This simplifies pf(4) state handling in pfsync(4). It also makes it more reliable. OK bluhm@ |
date | 2022-03-08T22:30:38Z | |||
---|---|---|---|---|
author | bluhm | |||
files | src/sys/net/pfkeyv2.c | log | diff | annotate |
src/sys/netinet/ip_ipsp.h | log | diff | annotate | |
src/sys/netinet/ip_spd.c | log | diff | annotate | |
message |
In IPsec policy replace integer refcount with atomic refcount. OK tobhe@ mvs@ |