OpenBSD cvs log

created 2019-06-15T13:17:54Z
begin 2019-06-11T00:00:00Z
end 2019-06-12T00:00:00Z
path src/sys
commits 16

date 2019-06-11T00:45:31Z
author dlg
files src/sys/arch/sparc64/dev/pci_machdep.c log diff annotate
src/sys/arch/sparc64/dev/pyro.c log diff annotate
src/sys/arch/sparc64/dev/vpci.c log diff annotate
src/sys/arch/sparc64/include/pci_machdep.h log diff annotate
message implement msi-x support on sparc64.

this is mostly based on the stuff kettenis did on arm64 recently.
msix support is basically the same as msi support from the host
side, you just have to tell the actual device about the msi vectors

the most complicated part of this is storing the requested msix
vector between the call to pci_intr_map_msix and pci_intr_establish.
the pci_intr_handle_t for storing state between those is a scalar
type, so we reassign some bits in that int for use storing the type
of int (intx, msi, or msix) and the vector.

i took the low 8 bits for storing the vector, which gives us a max
of 256 values. technically msix supports up to 2048 vectors, but
pyro only supports 256 in total, so i don't think we're going to
miss out on much. vpci may support more, but we'll cross that bridge
when we get to it.

i tested pyro(4) with mcx(4).
vpci was tested by kettenis@

ok kettenis@

date 2019-06-11T01:35:55Z
author dlg
files src/sys/arch/sparc64/conf/GENERIC log diff annotate
message add mcx now that pyro and sparc64 can do msi-x

ok jmatthew@

date 2019-06-11T03:22:29Z
author dlg
files src/sys/dev/pci/if_mcx.c log diff annotate
message records a flowid in the mbuf if the rx cqe provides an rx hash value.

jmatthew@ says we need to configure the hw to populate that, but i
can put this in now in preparation for it.

date 2019-06-11T03:55:16Z
author jmatthew
files src/sys/dev/pci/if_mcx.c log diff annotate
message bump up the ring sizes for dlg@

date 2019-06-11T06:17:23Z
author dlg
files src/sys/dev/pci/if_mcx.c log diff annotate
message if ifiq_input says there's too much pressure, tell the rxr we're livelocked

ok jmatthew@

date 2019-06-11T06:28:09Z
author dlg
files src/sys/dev/pci/if_mcx.c log diff annotate
message pass what pci_intr_established returns to intr_barrier

passing a pointer to a pci_intr_handle_t doesnt work too well on
sparc64, where it faults in the guts of the scheduler. dunno why
amd64 is fine.

ok jmatthew@

date 2019-06-11T06:46:53Z
author jsg
files src/sys/dev/pci/drm/ttm/ttm_tt.c log diff annotate
message Use km_alloc() instead of mallocarray() when allocating ttm dma segments
to avoid running out of kmem space. Suggested by and ok kettenis@

date 2019-06-11T11:37:45Z
author jsg
files src/sys/dev/pci/drm/drm_edid.c log diff annotate
message drm: add non-desktop quirk for Valve HMDs

From Andres Rodriguez
490290b0415f069eb156db50d165ca6a407d47bc in linux 4.19.y/4.19.50
30d62d4453e49f85dd17b2ba60bbb68b6593dba0 in mainline linux

date 2019-06-11T11:41:02Z
author jsg
files src/sys/dev/pci/drm/drm_edid.c log diff annotate
message drm: add non-desktop quirks to Sensics and OSVR headsets.

From Ryan Pavlik
98a8cb0282ab22d0533de34412f2118bf21147e4 in linux 4.19.y/4.19.50
29054230f3e11ea818eccfa7bb4e4b3e89544164 in mainline linux

date 2019-06-11T11:42:58Z
author jsg
files src/sys/dev/pci/drm/amd/amdgpu/amdgpu_psp.c log diff annotate
message drm/amdgpu/psp: move psp version specific function pointers to early_init

From Alex Deucher
748a97ec6c1588e3a49e09fe9ca56dcdb7f976b5 in linux 4.19.y/4.19.50
9d6fea5744d6798353f37ac42a8a653a2607ca69 in mainline linux

date 2019-06-11T11:45:01Z
author jsg
files src/sys/dev/pci/drm/radeon/radeon_display.c log diff annotate
message drm/radeon: prefer lower reference dividers

From Christian Koenig
84c82ab8f133f1c1e27f6b1bafe3f7d8835acc4c in linux 4.19.y/4.19.50
2e26ccb119bde03584be53406bbd22e711b0d6e6 in mainline linux

date 2019-06-11T11:47:24Z
author jsg
files src/sys/dev/pci/drm/amd/amdgpu/amdgpu_acpi.c log diff annotate
message drm/amdgpu: remove ATPX_DGPU_REQ_POWER_FOR_DISPLAYS check when hotplug-in

From Aaron Liu
f3dcc88d531fd21af0c4261896eb23b455499366 in linux 4.19.y/4.19.50
bdb1ccb080dafc1b4224873a5b759ff85a7d1c10 in mainline linux

date 2019-06-11T11:49:46Z
author jsg
files src/sys/dev/pci/drm/i915/intel_fbc.c log diff annotate
message drm/i915/fbc: disable framebuffer compression on GeminiLake

From Daniel Drake
360e00e290a355219425b5ea0ca62d9df3261fa1 in linux 4.19.y/4.19.50
396dd8143bdd94bd1c358a228a631c8c895a1126 in mainline linux

date 2019-06-11T11:52:52Z
author jsg
files src/sys/dev/pci/drm/i915/i915_reg.h log diff annotate
src/sys/dev/pci/drm/i915/intel_workarounds.c log diff annotate
message drm/i915: Maintain consistent documentation subsection ordering

From Jonathan Corbet
6600ec2600d63868efa8c6641375451677469b24 in linux 4.19.y/4.19.50
551bd3368a7b3cfef01edaade8970948d178d40a in mainline linux

date 2019-06-11T11:56:25Z
author jsg
files src/sys/dev/pci/drm/drm_atomic_helper.c log diff annotate
src/sys/dev/pci/drm/include/drm/drm_modeset_helper_vtables.h log diff annotate
message drm: don't block fb changes for async plane updates

From Helen Koike
fbb7e114e6e690c46f170dedd6fd2fb22f241519 in linux 4.19.y/4.19.50
89a4aac0ab0e6f5eea10d7bf4869dd15c3de2cd4 in mainline linux

date 2019-06-11T15:23:41Z
author mpi
files src/sys/arch/amd64/amd64/ log diff annotate
src/sys/arch/hppa/hppa/ log diff annotate
src/sys/arch/i386/i386/ log diff annotate
src/sys/arch/sh/sh/ log diff annotate
src/sys/arch/sparc64/sparc64/ log diff annotate
message Remove unused scheduler related definitions.

ok visa@