OpenBSD cvs log

created 2020-08-30T08:31:13Z
begin 2020-08-22T00:00:00Z
end 2020-08-23T00:00:00Z
path src/sys
commits 39

date 2020-08-22T04:28:19Z
author jsg
files src/sys/dev/pci/drm/amd/amdgpu/amdgpu_fence.c log diff annotate
message drm/amdgpu: avoid dereferencing a NULL pointer

From Jack Xiao
df1bd56e839e2461df3b0699a66d482e45ce2679 in linux 5.7.y/5.7.16
55611b507fd6453d26030c0c0619fdf0c262766d in mainline linux

date 2020-08-22T04:30:55Z
author jsg
files src/sys/dev/pci/drm/radeon/radeon_display.c log diff annotate
src/sys/dev/pci/drm/radeon/radeon_drv.c log diff annotate
src/sys/dev/pci/drm/radeon/radeon_kms.c log diff annotate
message drm/radeon: Fix reference count leaks caused by pm_runtime_get_sync

From Aditya Pakki
f097e7aecaaa4e9b2135eb10c86abdb7871cd2ec in linux 5.7.y/5.7.16
9fb10671011143d15b6b40d6d5fa9c52c57e9d63 in mainline linux

date 2020-08-22T04:33:35Z
author jsg
files src/sys/dev/pci/drm/drm_debugfs.c log diff annotate
message drm/debugfs: fix plain echo to connector "force" attribute

From Michael Tretter
740bd6f688e1e2fdb4894f588162a2baa3513f52 in linux 5.7.y/5.7.16
c704b17071c4dc571dca3af4e4151dac51de081a in mainline linux

date 2020-08-22T04:37:05Z
author jsg
files src/sys/dev/pci/drm/radeon/radeon_drv.c log diff annotate
message drm/radeon: disable AGP by default

From Christian Koenig
b0ecffd8339d894d21d9e5b48996ea67f84522c6 in linux 5.7.y/5.7.16
ba806f98f868ce107aa9c453fef751de9980e4af in mainline linux

date 2020-08-22T04:41:40Z
author jsg
files src/sys/dev/pci/drm/amd/display/dc/core/dc_link.c log diff annotate
src/sys/dev/pci/drm/amd/display/dc/core/dc_link_dp.c log diff annotate
src/sys/dev/pci/drm/amd/display/dc/dce110/dce110_hw_sequencer.c log diff annotate
message drm/amd/display: Improve DisplayPort monitor interop

From Aric Cyr
aeb79d98b4b1e4007207936b7a8fb074a96c240f in linux 5.7.y/5.7.16
eec3303de3378cdfaa0bb86f43546dbbd88f94e2 in mainline linux

date 2020-08-22T04:43:57Z
author jsg
files src/sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c log diff annotate
message drm/amdgpu/display bail early in dm_pp_get_static_clocks

From Alex Deucher
c2013b737bbde32f302575e6a1b74eb21cd419ca in linux 5.7.y/5.7.16
376814f5fcf1aadda501d1413d56e8af85d19a97 in mainline linux

date 2020-08-22T04:46:12Z
author jsg
files src/sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c log diff annotate
message drm/amdgpu/display: properly guard the calls to swSMU functions

From Alex Deucher
bb4960cc236b57708c44d11e272a9eeff66e90d9 in linux 5.7.y/5.7.16
4072327a2622af8688b88f5cd0a472136d3bf33d in mainline linux

date 2020-08-22T04:49:11Z
author jsg
files src/sys/dev/pci/drm/amd/powerplay/smu_v11_0.c log diff annotate
message drm/amd/powerplay: fix compile error with ARCH=arc

From Evan Quan
e6132d0ce6f2ce0227722e42d236e30db3763cea in linux 5.7.y/5.7.16
9822ba2ead1baa3de4860ad9472f652c4cc78c9c in mainline linux

date 2020-08-22T04:51:39Z
author jsg
files src/sys/dev/pci/drm/amd/powerplay/arcturus_ppt.c log diff annotate
message drm/amd/powerplay: suppress compile error around BUG_ON

From Evan Quan
ce8444749a649742fd88e5b9d05f352a478980ec in linux 5.7.y/5.7.16
75bc07e2403caea9ecac69f766dfb7dc33547594 in mainline linux

date 2020-08-22T04:53:50Z
author jsg
files src/sys/dev/pci/drm/drm_gem.c log diff annotate
message drm/gem: Fix a leak in drm_gem_objects_lookup()

From Dan Carpenter
04d83a826f68db88a1059ee8424f44739149b753 in linux 5.7.y/5.7.16
ec0bb482de0ad5e4aba2a4537ea53eaeb77d11a6 in mainline linux

date 2020-08-22T04:56:33Z
author jsg
files src/sys/dev/pci/drm/amd/amdgpu/amdgpu_dma_buf.c log diff annotate
message drm/amdgpu: use the unlocked drm_gem_object_put

From Emil Velikov
6478b20d0364d70f32381123d1f717eaa486ec75 in linux 5.7.y/5.7.16
1a87f67a66de4ad0c0d79fd86b6c5273143387c3 in mainline linux

date 2020-08-22T04:59:44Z
author jsg
files src/sys/dev/pci/drm/drm_mipi_dsi.c log diff annotate
message drm/mipi: use dcs write for mipi_dsi_dcs_set_tear_scanline

From Emil Velikov
b73140c51e1fe09ba6f09b5abb619e7e109dd646 in linux 5.7.y/5.7.16
7a05c3b6d24b8460b3cec436cf1d33fac43c8450 in mainline linux

date 2020-08-22T05:02:19Z
author jsg
files src/sys/dev/pci/drm/amd/amdgpu/jpeg_v2_5.c log diff annotate
message drm/amdgpu: ensure 0 is returned for success in jpeg_v2_5_wait_for_idle

From Colin Ian King
251f7e2972a154e63d37b9423477309f68d4af9f in linux 5.7.y/5.7.16
57f01856645afe4c3d0f9915ee2bb043e8dd7982 in mainline linux

date 2020-08-22T05:04:46Z
author jsg
files src/sys/dev/pci/drm/radeon/ci_dpm.c log diff annotate
message drm/radeon: fix array out-of-bounds read and write issues

From Colin Ian King
519fabb88d7fdcea200a438d85b338244f4e905a in linux 5.7.y/5.7.16
7ee78aff9de13d5dccba133f4a0de5367194b243 in mainline linux

date 2020-08-22T05:08:47Z
author jsg
files src/sys/dev/pci/drm/ttm/ttm_tt.c log diff annotate
message drm/ttm/nouveau: don't call tt destroy callback on alloc failure.

From Dave Airlie
7387ad86fe8ef830e88a586b021b322eef316211 in linux 5.7.y/5.7.16
5de5b6ecf97a021f29403aa272cb4e03318ef586 in mainline linux

date 2020-08-22T06:18:08Z
author jsg
files src/sys/dev/pci/drm/i915/gt/intel_gt.c log diff annotate
message drm/i915/gt: Force the GT reset on shutdown

From Chris Wilson
5c4f75b93e2263ba5594a3eaa51745786a8565ce in linux 5.7.y/5.7.17
7c4541a37bbbf83c0f16f779e85eb61d9348ed29 in mainline linux

date 2020-08-22T06:23:39Z
author jsg
files src/sys/dev/pci/drm/drm_dp_mst_topology.c log diff annotate
message drm/dp_mst: Fix the DDC I2C device registration of an MST port

From Imre Deak
cb22808ac2759706a410d89e1219de611a3b2fe4 in linux 5.7.y/5.7.17
d8bd15b37d328a935a4fc695fed8b19157503950 in mainline linux

date 2020-08-22T06:26:38Z
author jsg
files src/sys/dev/pci/drm/amd/amdgpu/amdgpu_psp.c log diff annotate
message drm/amdgpu: fix ordering of psp suspend

From Alex Deucher
d0b3df5fdc668c07bb47cb3082124eb823066141 in linux 5.7.y/5.7.17

date 2020-08-22T06:29:12Z
author jsg
files src/sys/dev/pci/drm/drm_panel_orientation_quirks.c log diff annotate
message drm: Added orientation quirk for ASUS tablet model T103HAF

From Marius Iacob
ff4ca77f631ac57013333eecd8ff57e38abb9506 in linux 5.7.y/5.7.17
b5ac98cbb8e5e30c34ebc837d1e5a3982d2b5f5c in mainline linux

date 2020-08-22T06:31:19Z
author jsg
files src/sys/dev/pci/drm/drm_dp_mst_topology.c log diff annotate
message drm: fix drm_dp_mst_port refcount leaks in drm_dp_mst_allocate_vcpi

From Xin Xiong
65ed6b7dacdb90099ebd50ca79bb72eaaf74a275 in linux 5.7.y/5.7.17
a34a0a632dd991a371fec56431d73279f9c54029 in mainline linux

date 2020-08-22T06:34:15Z
author jsg
files src/sys/dev/pci/drm/amd/powerplay/smumgr/ci_smumgr.c log diff annotate
message drm/amdgpu: Fix bug where DPM is not enabled after hibernate and resume

From Sandeep Raghuraman
bac04cf4ea5cd6819828b33567f23431e2468708 in linux 5.7.y/5.7.17
f87812284172a9809820d10143b573d833cd3f75 in mainline linux

date 2020-08-22T06:36:30Z
author jsg
files src/sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c log diff annotate
message drm/amd/display: Fix dmesg warning from setting abm level

From Stylon Wang
bab191af99bd97db80ba19aafeea8081949bbe53 in linux 5.7.y/5.7.17
c5892a10218214d729699ab61bad6fc109baf0ce in mainline linux

date 2020-08-22T06:39:30Z
author jsg
files src/sys/dev/pci/drm/amd/display/dc/clk_mgr/dcn10/rv1_clk_mgr.c log diff annotate
message drm/amd/display: dchubbub p-state warning during surface planes switch

From hersen wu
adc8db21719668a4bf25ef0bef72c575d0a81cf5 in linux 5.7.y/5.7.17
8b0379a85762b516c7b46aed7dbf2a4947c00564 in mainline linux

date 2020-08-22T11:47:22Z
author kn
files src/sys/sys/sysctl.h log diff annotate
message Move sysctl(2) CTL_DEBUG from DEBUG to new DEBUG_SYSCTL

Adding "debug.my-knob" sysctls is really helpful to select different
code paths and/or log on demand during runtime without recompile,
but as this code is under DEBUG, lots of other noise comes with it
which is often undesired, at least when looking at specific subsystems
only.

Adding globals to the kernel and breaking into DDB to change them helps,
but that does not work over SSH, hence the need for debug sysctls.

Introduces DEBUG_SYSCTL to make use of the "debug" MIB without the rest of
DEBUG; it's DEBUG_SYSCTL and not SYSCTL_DEBUG because it's not a general
option for all of sysctl(2).

OK gnezdo

date 2020-08-22T11:47:23Z
author kn
files src/sys/kern/kern_sysctl.c log diff annotate
src/sys/kern/vfs_subr.c log diff annotate
src/sys/kern/vfs_syscalls.c log diff annotate
message Move sysctl(2) CTL_DEBUG from DEBUG to new DEBUG_SYSCTL

Adding "debug.my-knob" sysctls is really helpful to select different
code paths and/or log on demand during runtime without recompile,
but as this code is under DEBUG, lots of other noise comes with it
which is often undesired, at least when looking at specific subsystems
only.

Adding globals to the kernel and breaking into DDB to change them helps,
but that does not work over SSH, hence the need for debug sysctls.

Introduces DEBUG_SYSCTL to make use of the "debug" MIB without the rest of
DEBUG; it's DEBUG_SYSCTL and not SYSCTL_DEBUG because it's not a general
option for all of sysctl(2).

OK gnezdo

date 2020-08-22T12:24:26Z
author patrick
files src/sys/dev/fdt/if_mvpp.c log diff annotate
message Simplify check for return code.

date 2020-08-22T12:25:09Z
author patrick
files src/sys/dev/fdt/if_mvpp.c log diff annotate
message More consistent use of the BIT() macro.

date 2020-08-22T12:26:04Z
author patrick
files src/sys/dev/fdt/if_mvpp.c log diff annotate
message Simplify some code by getting rid of an extra variable.

date 2020-08-22T12:27:37Z
author patrick
files src/sys/dev/fdt/if_mvpp.c log diff annotate
message Use sizeof(variable) instead of using a macro for the length parameter.

date 2020-08-22T12:28:23Z
author patrick
files src/sys/dev/fdt/if_mvpp.c log diff annotate
message Consistently use sizeof(pe) or sizeof(*pe) for the parser entry struct.

date 2020-08-22T12:29:44Z
author patrick
files src/sys/dev/fdt/if_mvpp.c log diff annotate
message IPv4 protocol parser init fixup and a few whitespace fixes.

date 2020-08-22T12:31:48Z
author patrick
files src/sys/dev/fdt/if_mvpp.c log diff annotate
message Correct oversize rxq initialization in the classifier.

date 2020-08-22T12:34:14Z
author patrick
files src/sys/dev/fdt/if_mvpp.c log diff annotate
src/sys/dev/fdt/if_mvppreg.h log diff annotate
message Rework unicast/multicast configuration. Keep note that this only changes
the code configuring the parser, we do not yet add the proper multicast
filters.

date 2020-08-22T15:07:11Z
author krw
files src/sys/scsi/cd.c log diff annotate
src/sys/scsi/sd.c log diff annotate
src/sys/scsi/sdvar.h log diff annotate
src/sys/scsi/st.c log diff annotate
message The last timeout_add(sc_timeout) died in the great XS_NO_CCB purge of 2017. Nuke
pointless timeout_set(sc_timoeut) and timeout_del(sc_timeout) calls and the
sc_timeout fields themselves.

date 2020-08-22T16:12:12Z
author kn
files src/sys/net/if_spppsubr.c log diff annotate
message Add sizes to free() calls

Simply reuse struct size or buffer length variables for free() the very
same way they are used with malloc(), often within the same scope and/or
only a few lines above.

This leaves only a few selected free() calls with size zero in due to the
fact that there is currently no variable to keep track of name and secret
string lengths.

OK mvs

date 2020-08-22T17:54:57Z
author gnezdo
files src/sys/netinet/udp_usrreq.c log diff annotate
src/sys/netinet/udp_var.h log diff annotate
message Convert udp_sysctl to sysctl_bounded_args

date 2020-08-22T17:55:30Z
author gnezdo
files src/sys/netinet/in.h log diff annotate
src/sys/netinet/ip_input.c log diff annotate
message Convert ip_sysctl to sysctl_bounded_args

date 2020-08-22T17:55:54Z
author gnezdo
files src/sys/netinet/icmp_var.h log diff annotate
src/sys/netinet/ip_icmp.c log diff annotate
message Convert icmp_sysctl to sysctl_bounded_args

... these all look fine, derradt@

date 2020-08-22T22:29:28Z
author kettenis
files src/sys/dev/acpi/dwiic_acpi.c log diff annotate
message Don't complain when child nodes don't have a _CRS method. This happens for
example for control method batteries that are attached to I2C but use an
OperationRegion() to access the I2C device.

ok jcs@, gnedzo@