OpenBSD cvs log

created 2020-11-21T18:50:20Z
begin 2020-06-26T00:00:00Z
end 2020-06-27T00:00:00Z
path src/sys
commits 54

date 2020-06-26T00:45:54Z
author dlg
files src/sys/dev/pci/if_ixl.c log diff annotate
message fix link state handling so we can see link go both up and down.

date 2020-06-26T02:51:12Z
author dlg
files src/sys/dev/pci/if_ixl.c log diff annotate
message whitespace fixes, no functional change.

date 2020-06-26T03:07:10Z
author dlg
files src/sys/dev/pci/if_mcx.c log diff annotate
message add some whitespace to let things breathe a bit.

"sure" jmatthew@

date 2020-06-26T03:21:46Z
author jsg
files src/sys/sys/time.h log diff annotate
message add USEC_TO_TIMEVAL()

discussed with cheloha@

date 2020-06-26T03:35:26Z
author jsg
files src/sys/dev/pci/drm/include/linux/iopoll.h log diff annotate
message add readx_poll_timeout() required for 5.7.6 drm

with help from cheloha@

date 2020-06-26T04:27:25Z
author jsg
files src/sys/dev/pci/drm/amd/display/dc/core/amdgpu_dc.c log diff annotate
message drm/amd/display: Revalidate bandwidth before commiting DC updates

From Nicholas Kazlauskas
b5232e2ee8df85891514c73472cac09921e5d51d in linux 5.7.y/5.7.6
a24eaa5c51255b344d5a321f1eeb3205f2775498 in mainline linux

date 2020-06-26T04:29:57Z
author jsg
files src/sys/dev/pci/drm/drm_encoder_slave.c log diff annotate
message drm: encoder_slave: fix refcouting error for modules

From Wolfram Sang
50bda152c4d98ddf8f880edf21eb167758584c45 in linux 5.7.y/5.7.6
f78d4032de60f50fd4afaa0fb68ea03b985f820a in mainline linux

date 2020-06-26T04:34:41Z
author jsg
files src/sys/dev/pci/drm/drm_dp_mst_topology.c log diff annotate
message drm/dp_mst: Reformat drm_dp_check_act_status() a bit

From Lyude Paul
5c6be713f9d0c84909a96b3978e1c543b8ea7ffd in linux 5.7.y/5.7.6
a5cb5fa6c3a5c2cf492db667b8670ee7b044b79f in mainline linux

date 2020-06-26T04:38:01Z
author jsg
files src/sys/dev/pci/drm/amd/display/dc/core/amdgpu_dc.c log diff annotate
message drm/amdgpu/display: use blanked rather than plane state for sync groups

From Alex Deucher
fba8f9ef7e1405ee6f422beb874791e8a5eb489c in linux 5.7.y/5.7.6
b7f839d292948142eaab77cedd031aad0bfec872 in mainline linux

date 2020-06-26T04:41:14Z
author jsg
files src/sys/dev/pci/drm/amd/powerplay/smumgr/ci_smumgr.c log diff annotate
message drm/amdgpu: Replace invalid device ID with a valid device ID

From Sandeep Raghuraman
a3d6d880d6e5af2c89d4ad7023272410e7d43755 in linux 5.7.y/5.7.6
790243d3bf78f9830a3b2ffbca1ed0f528295d48 in mainline linux

date 2020-06-26T04:44:03Z
author jsg
files src/sys/dev/pci/drm/drm_dp_mst_topology.c log diff annotate
message drm/dp_mst: Increase ACT retry timeout to 3s

From Lyude Paul
6326202d7a9b39203d6e5f3873750d91fb2b0aaf in linux 5.7.y/5.7.6
873a95e0d59ac06901ae261dda0b7165ffd002b8 in mainline linux

date 2020-06-26T04:47:16Z
author jsg
files src/sys/dev/pci/drm/i915/display/intel_dp.c log diff annotate
message drm/i915: Fix AUX power domain toggling across TypeC mode resets

From Imre Deak
fa48b63218d09c080dfcdbc04efd282ba5849d98 in linux 5.7.y/5.7.6
d96536f0fe699729a0974eb5b65eb0d87cc747e1 in mainline linux

date 2020-06-26T04:51:51Z
author jsg
files src/sys/dev/pci/drm/i915/gem/i915_gem_shmem.c log diff annotate
message drm/i915/gem: Avoid iterating an empty list

From Chris Wilson
42765cb3887c2eea8a65f665a58f42b4ee6333c1 in linux 5.7.y/5.7.6
757a9395f33c51c4e6eff2c7c0fbd50226a58224 in mainline linux

date 2020-06-26T04:54:50Z
author jsg
files src/sys/dev/pci/drm/i915/i915_cmd_parser.c log diff annotate
message drm/i915: Whitelist context-local timestamp in the gen9 cmdparser

From Chris Wilson
f11a45d13e11a238868afa6dbe1790ae816ef8af in linux 5.7.y/5.7.6
273500ae71711c040d258a7b3f4b6f44c368fff2 in mainline linux

date 2020-06-26T04:58:34Z
author jsg
files src/sys/dev/pci/drm/drm_connector.c log diff annotate
message drm/connector: notify userspace on hotplug after register complete

From Jeykumar Sankaran
e1f81dfa5b88861a1cdda9cfd8f019ede3da7e8b in linux 5.7.y/5.7.6
968d81a64a883af2d16dd3f8a6ad6b67db2fde58 in mainline linux

date 2020-06-26T05:02:00Z
author jsg
files src/sys/dev/pci/drm/amd/amdkfd/kfd_priv.h log diff annotate
message drm/amdkfd: Use correct major in devcgroup check

From Lorenz Brun
48d3b36959153cc427964c519b5430024fd61e10 in linux 5.7.y/5.7.6
99c7b309472787026ce52fd2bc5d00630567a872 in mainline linux

date 2020-06-26T05:04:52Z
author jsg
files src/sys/dev/pci/drm/amd/display/modules/color/color_gamma.c log diff annotate
message drm/amd/display: Use kvfree() to free coeff in build_regamma()

From Denis Efremov
b89722d873c7544fe74f50b7a26e3f2ae50e32ae in linux 5.7.y/5.7.6
81921a828b94ce2816932c19a5ec74d302972833 in mainline linux

date 2020-06-26T05:05:42Z
author dlg
files src/sys/dev/pci/if_mcx.c log diff annotate
message stuff for PPCNT - Ports Performance Counters Register

date 2020-06-26T05:28:50Z
author jsg
files src/sys/dev/pci/drm/i915/i915_irq.c log diff annotate
message drm/i915/icl+: Fix hotplug interrupt disabling after storm detection

From Imre Deak
2e61678ba2383c0d10a7c862721150a37ffe4eee in linux 5.7.y/5.7.6
a3005c2edf7e8c3478880db1ca84028a2b6819bb in mainline linux

date 2020-06-26T05:31:14Z
author jsg
files src/sys/dev/pci/drm/i915/display/intel_ddi.c log diff annotate
message drm/i915/tc: fix the reset of ln0

From Khaled Almahallawy
479c06981236d3fea7ac4cf6a4f61fe896acacc1 in linux 5.7.y/5.7.6
a43555ac908c604f45ed98628805aec9355b9737 in mainline linux

date 2020-06-26T05:36:26Z
author jsg
files src/sys/dev/pci/drm/i915/gt/intel_engine_cs.c log diff annotate
src/sys/dev/pci/drm/i915/gt/intel_lrc.c log diff annotate
src/sys/dev/pci/drm/i915/gt/intel_ring.c log diff annotate
src/sys/dev/pci/drm/i915/gt/selftest_mocs.c log diff annotate
message drm/i915/gt: Incrementally check for rewinding

From Chris Wilson
79eb9f19dbd2418c25e67f70d3b2fdc98a60dbea in linux 5.7.y/5.7.6
8ab3a3812aa90e488813e719308ffd807b865624 in mainline linux

date 2020-06-26T05:38:56Z
author jsg
files src/sys/dev/pci/drm/i915/intel_pm.c log diff annotate
src/sys/dev/pci/drm/i915/gt/intel_workarounds.c log diff annotate
message drm/i915/gt: Move hsw GT workarounds from init_clock_gating to workarounds

From Chris Wilson
24fa6c758204c83904881e78658f5cff7980938c in linux 5.7.y/5.7.6
ef50fa9bd17d13d0611e39e13b37bbd3e1ea50bf in mainline linux

date 2020-06-26T05:43:59Z
author jsg
files src/sys/dev/pci/drm/i915/i915_reg.h log diff annotate
src/sys/dev/pci/drm/i915/intel_pm.c log diff annotate
src/sys/dev/pci/drm/i915/gt/intel_workarounds.c log diff annotate
message drm/i915/gt: Move ivb GT workarounds from init_clock_gating to workarounds

From Chris Wilson
f6c298aaf65ab6701654746a930362b147d042aa in linux 5.7.y/5.7.6
7237b190add0794bd95979018a23eda698f2705d in mainline linux

date 2020-06-26T05:46:16Z
author jsg
files src/sys/dev/pci/drm/i915/intel_pm.c log diff annotate
src/sys/dev/pci/drm/i915/gt/intel_workarounds.c log diff annotate
message drm/i915/gt: Move snb GT workarounds from init_clock_gating to workarounds

From Chris Wilson
86b34963b7b3970b68428f191cef66fa10cbc51f in linux 5.7.y/5.7.6
fd2599bda5a989c3332f4956fd7760ec32bd51ee in mainline linux

date 2020-06-26T05:48:37Z
author jsg
files src/sys/dev/pci/drm/i915/intel_pm.c log diff annotate
src/sys/dev/pci/drm/i915/gt/intel_workarounds.c log diff annotate
message drm/i915/gt: Move ilk GT workarounds from init_clock_gating to workarounds

From Chris Wilson
f04e0b5884098b7805ddf40fbcd641c249f2fa88 in linux 5.7.y/5.7.6
eacf21040aa97fd1b3c6bb201bfd43820e1c49be in mainline linux

date 2020-06-26T05:50:59Z
author jsg
files src/sys/dev/pci/drm/i915/intel_pm.c log diff annotate
src/sys/dev/pci/drm/i915/gt/intel_workarounds.c log diff annotate
message drm/i915/gt: Move vlv GT workarounds from init_clock_gating to workarounds

From Chris Wilson
22b2d9aae9cd38e425ef8166e5b348e9be50b4b4 in linux 5.7.y/5.7.6
695a2b11649e99bbf15d278042247042c42b8728 in mainline linux

date 2020-06-26T05:53:13Z
author jsg
files src/sys/dev/pci/drm/i915/intel_pm.c log diff annotate
src/sys/dev/pci/drm/i915/gt/intel_workarounds.c log diff annotate
message drm/i915/gt: Move gen4 GT workarounds from init_clock_gating to workarounds

From Chris Wilson
ab48267c35b46376010706cddf0b4ca6eb14e12e in linux 5.7.y/5.7.6
27582a9c917940bc71c0df0b8e022cbde8d735d2 in mainline linux

date 2020-06-26T05:56:39Z
author jsg
files src/sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c log diff annotate
message Revert "drm/amd/display: disable dcn20 abm feature for bring up"

From Harry Wentland
6674508ba1a2ea6caca5de2bcb25bc00a050fd0a in linux 5.7.y/5.7.6
14ed1c908a7a623cc0cbf0203f8201d1b7d31d16 in mainline linux

date 2020-06-26T06:00:02Z
author jsg
files src/sys/dev/pci/drm/i915/gt/intel_workarounds.c log diff annotate
message drm/i915/tgl: Make Wa_14010229206 permanent

From Swathi Dhanavanthri
c0646870cb4b9b900356fbff191ae4f8640f4e7c in linux 5.7.y/5.7.6
63d0f3ea8ebb67160eca281320d255c72b0cb51a in mainline linux

date 2020-06-26T08:57:20Z
author kettenis
files src/sys/arch/powerpc64/powerpc64/machdep.c log diff annotate
message Initialize registers according to ELFv2 ABI.

date 2020-06-26T08:58:31Z
author kettenis
files src/sys/arch/powerpc64/include/tcb.h log diff annotate
message Make kernel versions of TCB_GET() and TCB_SET() use %r13 as well.

date 2020-06-26T09:02:12Z
author kettenis
files src/sys/arch/powerpc64/powerpc64/syscall.c log diff annotate
message Fix system calls; set %r0 to zero upon success and set (instead of clear)
bit in %cr upon failure.

date 2020-06-26T09:06:05Z
author kettenis
files src/sys/arch/powerpc64/powerpc64/pmap.c log diff annotate
message We don't have to implement pmap_copy(9).

date 2020-06-26T09:30:10Z
author patrick
files src/sys/dev/fdt/if_mvpp.c log diff annotate
message Since we send packets on the aggregated TX queue instead of the physical
TX queue, we need to make sure we use the amount of descriptors of the
aggregated TX queue for the ring management.

date 2020-06-26T09:40:42Z
author patrick
files src/sys/dev/fdt/if_mvpp.c log diff annotate
message Add TX completion handling. I'm not quite sure, but I think that we
receive interrupts for the physical TX queues, but the TX buffers
which need to be freed were taken from the aggregated (per core) TX
queue. This means we probably should have the physical TX queues
tied to specific cores, so that the TX enqueue and TX completion
share the same per-core info for the free-handling. For now we only
have a single physical and aggregated TX queue, so it's comparatively
easy.

date 2020-06-26T09:49:51Z
author patrick
files src/sys/dev/fdt/if_mvpp.c log diff annotate
message Add RX refill handling. Each mvpp(4) controller has up to 8 Buffer
Manager Pools. Typically there's supposed to be long and a short
pool, for different sizes of packets. Those pools are filled with
empty mbufs, by giving the hardware the physical address and some
cookie. On RX, it will return us the address and the cookie, so
that we can look up which mbuf that has been. Since I cannot be
sure we always get the buffers in the order they've been put in,
there could be holes in the list of RX buffers. Thus we keep a
freelist where we record all cookies for buffers that we have not
yet re-filled. By using pool per core, doing RX refill management
should be easier once we try to work with more queues. Also keep
note that a single mvpp(4) controller can have up to 3 ports, so
that means the individual ports are going to share RX buffer pools.

date 2020-06-26T10:16:00Z
author dlg
files src/sys/dev/pci/pci.c log diff annotate
message byteswap vpd data going out to userland.

makes pcidump output look more plausible on big endian boxes.

ok jmatthew@

date 2020-06-26T10:24:28Z
author kettenis
files src/sys/arch/powerpc64/powerpc64/locore.S log diff annotate
message Skip saving the state of the old proc if it is NULL.

date 2020-06-26T11:29:48Z
author kettenis
files src/sys/arch/powerpc64/include/cpufunc.h log diff annotate
message Add sync().

date 2020-06-26T12:24:56Z
author jsg
files src/sys/arch/powerpc64/powerpc64/pmap.c log diff annotate
message use correct index var in pmap_vp_destroy()

found with scan-build
ok kettenis@ who had the same change not yet committed

date 2020-06-26T12:34:53Z
author jsg
files src/sys/arch/powerpc64/dev/phb.c log diff annotate
src/sys/arch/powerpc64/powerpc64/cpu.c log diff annotate
message avoid uninitialised pointer use

found with scan-build, ok kettenis@

date 2020-06-26T12:45:22Z
author jsg
files src/sys/arch/powerpc64/powerpc64/db_interface.c log diff annotate
message return early if either initrd property is missing

avoids unlikely path with use of uninitialised pointer
found with scan-build, ok kettenis@

date 2020-06-26T13:11:23Z
author mpi
files src/sys/dev/dt/dt_prov_profile.c log diff annotate
message Interprets profile/interval value as a frequency and not a number of ticks.

Matches the behavior of other dynamic tracing tools.

From Yuichiro NAITO.

date 2020-06-26T18:03:49Z
author kettenis
files src/sys/arch/powerpc64/dev/xive.c log diff annotate
message Add support for level-triggered interrupts and unmask established interropts.

date 2020-06-26T18:48:31Z
author cheloha
files src/sys/kern/kern_tc.c log diff annotate
src/sys/sys/time.h log diff annotate
message timecounting: deprecate time_second(9), time_uptime(9)

time_second(9) has been replaced in the kernel by gettime(9).
time_uptime(9) has been replaced in the kernel by getuptime(9).

New code should use the replacement interfaces. They do not suffer
from the split-read problem inherent to the time_* variables on 32-bit
platforms.

The variables remain in sys/kern/kern_tc.c for use via kvm(3) when
examining kernel core dumps.

This commit completes the deprecation process:

- Remove the extern'd definitions for time_second and time_uptime
from sys/time.h.
- Replace manpage cross-references to time_second(9)/time_uptime(9)
with references to microtime(9) or a related interface.
- Move the time_second.9 manpage to the attic.

With input from dlg@, kettenis@, visa@, and tedu@.

ok kettenis@

date 2020-06-26T19:06:35Z
author kettenis
files src/sys/arch/powerpc64/dev/opal.c log diff annotate
src/sys/arch/powerpc64/include/opal.h log diff annotate
message Handle OPAL interrupts.

date 2020-06-26T19:12:32Z
author kettenis
files src/sys/arch/powerpc64/powerpc64/locore.S log diff annotate
message Handle OPAL interrupts.

date 2020-06-26T19:13:28Z
author kettenis
files src/sys/arch/powerpc64/dev/opalcons.c log diff annotate
message Accept input.

date 2020-06-26T19:53:30Z
author cheloha
files src/sys/dev/ic/athvar.h log diff annotate
message ath(4): fix ATH_TICKS()

Should be

"ticks" (global tick count, dynamic)

and not

"tick" (number of microseconds per tick, constant)

Unclear how it happened, but it's been broken since ~2004.

ok stsp@

date 2020-06-26T20:58:38Z
author kettenis
files src/sys/arch/powerpc64/powerpc64/machdep.c log diff annotate
src/sys/arch/powerpc64/powerpc64/pmap.c log diff annotate
src/sys/arch/powerpc64/powerpc64/syncicache.c log diff annotate
src/sys/arch/powerpc64/powerpc64/syscall.c log diff annotate
src/sys/arch/powerpc64/powerpc64/trap.c log diff annotate
message Use the right "virtual address" when flushing TLB entries.
Implement pmap_{is|clear}_{referenced|modified}.
Fix PTED_PTEGIDX().

date 2020-06-26T21:02:36Z
author patrick
files src/sys/dev/fdt/if_mvpp.c log diff annotate
message MVPP2_TXQ_SCHED_TOKEN_CNTR_REG() expects the logical queue id.

date 2020-06-26T21:51:14Z
author kettenis
files src/sys/arch/powerpc64/powerpc64/machdep.c log diff annotate
message Since normal execve(2) calls return through the normal system call return
path, we need to set the system call return values to set the initial
%r3 and %r4.

date 2020-06-26T22:32:22Z
author kettenis
files src/sys/arch/powerpc64/powerpc64/genassym.cf log diff annotate
src/sys/arch/powerpc64/powerpc64/locore.S log diff annotate
src/sys/arch/powerpc64/powerpc64/machdep.c log diff annotate
message Make signals work a bit better.

date 2020-06-26T23:32:47Z
author kettenis
files src/sys/arch/powerpc64/powerpc64/machdep.c log diff annotate
message Make trapframe squeaky clean upon exec.