OpenBSD cvs log

created 2022-03-17T12:41:55Z
begin 2022-01-26T00:00:00Z
end 2022-02-02T00:00:00Z
path src/sys
commits 64

date 2022-01-26T01:46:12Z
author jsg
files src/sys/dev/pci/drm/i915/gt/intel_ggtt.c log diff annotate
message reduce diff to linux ggtt_probe_common()

date 2022-01-26T04:18:05Z
author jsg
files src/sys/dev/pci/drm/i915/i915_request.c log diff annotate
src/sys/dev/pci/drm/include/linux/sched/mm.h log diff annotate
message implement might_alloc() using assertwaitok()

date 2022-01-26T04:18:06Z
author jsg
files src/sys/dev/pci/drm/i915/gt/intel_gtt.c log diff annotate
message implement might_alloc() using assertwaitok()

date 2022-01-26T06:05:59Z
author anton
files src/sys/dev/usb/uhidpp.c log diff annotate
message Rework initialization of sensors on device connect.

date 2022-01-26T06:31:31Z
author kn
files src/sys/dev/dt/dt_prov_static.c log diff annotate
message Make vmm(4/amd64) tracepoints amd64-only

One can use them on non-VMM architectures, but they obviously won't hit:

# arch -s ; btrace -l | grep vmm
sparc64
tracepoint:vmm:guest_enter
tracepoint:vmm:guest_exit

Move them under __amd64__ to avoid confusion and safe a few bytes.

OK dv

date 2022-01-26T12:05:33Z
author uaa
files src/sys/dev/usb/uchcom.c log diff annotate
message shrink uca.ibufsize from UCHCOMIBUFSIZE to wMaxPacketSize of bulk-in pipe

USB transaction is finished when whole requested data has transferred,
or short packet (the size is less than wMaxPacketSize) has sent.

UCHCOMIBUFSIZE(256) was multiply of wMaxPacketSize(32). When CH340 sends
exact wMaxPacketSize byte packet, this will cause Rx jam problem
due to transaction is not finished.

Now uca.ibufsize is same as wMaxPacketSize to avoid this problem.

ok kevlo@

date 2022-01-26T14:39:07Z
author kettenis
files src/sys/dev/acpi/acpi.c log diff annotate
message An ACPI device needs to be both present and enabled for it to function.
So only attempt to attach hardware that has both bits enabled. This fixes
an issue where com(4) would attach for a disabled serial port leading to
misdetection of the hardware variant and a subsequent hang when /etc/rc
runs ttyflags -a.

ok anton@, deraadt@

date 2022-01-27T02:56:13Z
author jsg
files src/sys/dev/pci/drm/amd/amdgpu/amdgpu_vm.c log diff annotate
message use process name for both thread and process name

date 2022-01-27T04:17:40Z
author jsg
files src/sys/dev/pci/drm/i915/i915_gem.c log diff annotate
message raise mm obj_lock mtx ipl to IPL_TTY

used with spin_lock_irqsave() from
__i915_gem_object_set_pages()
i915_gem_suspend_late()
i915_gem_shrink()
i915_gem_shrinker_oom()
i915_gem_object_make_unshrinkable()
i915_gem_madvise_ioctl()

date 2022-01-27T04:20:01Z
author jsg
files src/sys/dev/pci/drm/i915/i915_scheduler.c log diff annotate
message raise sched_engine lock mtx ipl to IPL_TTY

used with spin_lock_irq() from
resubmit_virtual_request()
execlists_hold()
execlists_unhold()
execlists_capture()
remove_from_engine()
rcu_virtual_context_destroy()
virtual_submission_tasklet()

used with spin_lock_irqsave() from
execlists_submit_request()
execlists_reset_rewind()
execlists_reset_cancel()
virtual_submit_request()
intel_execlists_show_requests()

date 2022-01-27T12:25:22Z
author jsg
files src/sys/dev/pci/drm/drm_drv.c log diff annotate
message drop some local changes in an unused function

date 2022-01-27T17:34:51Z
author visa
files src/sys/dev/fdt/if_cad.c log diff annotate
message cad(4): Disable unused priority queues

The GEMs on the PolarFire Soc implement four Rx queues and four
Tx queues for prioritizing traffic. All the queues are in a pseudo
active state after reset. The driver uses only queues with index 0.
Disable the rest to avoid DMA errors.

Tested on a SiFive FU740 by jca@, Microchip PolarFire SoC and
Xilinx Zynq-7000 by me.

date 2022-01-27T18:28:44Z
author bluhm
files src/sys/dev/pci/if_em_hw.c log diff annotate
src/sys/dev/pci/if_ix.c log diff annotate
message Cast to unsigned integer before overflow can happen.
found by kubsan; joint work with tobhe@; OK miod@

date 2022-01-27T18:28:45Z
author bluhm
files src/sys/dev/pci/ixgbe.c log diff annotate
src/sys/dev/pci/ixgbe_82598.c log diff annotate
message Cast to unsigned integer before overflow can happen.
found by kubsan; joint work with tobhe@; OK miod@

date 2022-01-27T22:10:11Z
author jsg
files src/sys/dev/pci/drm/ttm/ttm_bo.c log diff annotate
message drm/ttm: Put BO in its memory manager's lru list

From xinhui pan
0da09030aae4a3c9de4699e7ce71085639f8c378 in linux 5.15.y/5.15.17
781050b0a3164934857c300bb0bc291e38c26b6f in mainline linux

date 2022-01-27T22:13:24Z
author jsg
files src/sys/dev/pci/drm/drm_drv.c log diff annotate
message drm: fix null-ptr-deref in drm_dev_init_release()

From Wang Hai
52e1bf49e3e25358519719284028334cb31ab543 in linux 5.15.y/5.15.17
acf20ed020ffa4d6cc8347e8d356509b95df3cbe in mainline linux

date 2022-01-27T22:37:14Z
author jsg
files src/sys/dev/pci/drm/drm_dp_helper.c log diff annotate
message drm/dp: Don't read back backlight mode in drm_edp_backlight_enable()

From Lyude Paul
56339a5546a7f66333f9d3c55e3fd1424caa4879 in linux 5.15.y/5.15.17
646596485e1ed2182adf293dfd5aec4a96c46330 in mainline linux

date 2022-01-27T22:41:01Z
author jsg
files src/sys/dev/pci/drm/amd/amdgpu/amdgpu_connectors.c log diff annotate
message drm/amdgpu: Fix a NULL pointer dereference in amdgpu_connector_lcd_native_mode()

From Zhou Qingyang
1e22b51876fa786c0b972e327ffb5cc686873cd1 in linux 5.15.y/5.15.17
b220110e4cd442156f36e1d9b4914bb9e87b0d00 in mainline linux

date 2022-01-27T22:44:38Z
author jsg
files src/sys/dev/pci/drm/radeon/radeon_kms.c log diff annotate
message drm/radeon/radeon_kms: Fix a NULL pointer dereference in radeon_driver_open_kms()

From Zhou Qingyang
e833ef0b545e1a5b3eaf00af391c4fd1fb47ffd8 in linux 5.15.y/5.15.17
ab50cb9df8896b39aae65c537a30de2c79c19735 in mainline linux

date 2022-01-27T22:46:54Z
author jsg
files src/sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c log diff annotate
message drm/amd/display: Fix bug in debugfs crc_win_update entry

From Wayne Lin
6dcc6706dab10744d277bdc2613fb135c6a632dd in linux 5.15.y/5.15.17
4bef85d4c9491415b7931407b07f24841c1e0390 in mainline linux

date 2022-01-27T22:50:24Z
author jsg
files src/sys/dev/pci/drm/amd/display/dc/dcn31/dcn31_resource.c log diff annotate
message drm/amd/display: Fix out of bounds access on DNC31 stream encoder regs

From Nicholas Kazlauskas
89166801f80dc64083212eef1308bfc62f6844f1 in linux 5.15.y/5.15.17
d374d3b493215d637b9e7be12a93f22caf4c1f97 in mainline linux

date 2022-01-27T22:52:54Z
author jsg
files src/sys/dev/pci/drm/drm_panel_orientation_quirks.c log diff annotate
message drm: panel-orientation-quirks: Add quirk for the Lenovo Yoga Book X91F/L

From Hans de Goede
c350fcc74035f48ee5a7226faee7079dd0ce9565 in linux 5.15.y/5.15.17
bc30c3b0c8a1904d83d5f0d60fb8650a334b207b in mainline linux

date 2022-01-27T22:56:43Z
author jsg
files src/sys/dev/pci/drm/amd/display/dc/core/amdgpu_dc.c log diff annotate
message drm/amd/display: check top_pipe_to_program pointer

From Yang Li
1fffa8ffd62fc511d4447b793641252c4743e81c in linux 5.15.y/5.15.17
a689e8d1f80012f90384ebac9dcfac4201f9f77e in mainline linux

date 2022-01-27T22:58:56Z
author jsg
files src/sys/dev/pci/drm/amd/amdgpu/amdgpu_irq.c log diff annotate
src/sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c log diff annotate
message drm/amdgpu/display: set vblank_disable_immediate for DC

From Alex Deucher
f94cf1cb17963905910c2adc332ebb9e44e7fa4b in linux 5.15.y/5.15.17
92020e81ddbeac351ea4a19bcf01743f32b9c800 in mainline linux

date 2022-01-27T23:01:23Z
author jsg
files src/sys/dev/pci/drm/amd/display/dc/clk_mgr/clk_mgr.c log diff annotate
message drm/amd/display: add else to avoid double destroy clk_mgr

From Martin Leung
58d33532664c1580beeb127ffe771a7739fb63d3 in linux 5.15.y/5.15.17
11dff0e871037a6ad978e52f826a2eb7f5fb274a in mainline linux

date 2022-01-27T23:03:40Z
author jsg
files src/sys/dev/pci/drm/amd/amdkfd/kfd_svm.c log diff annotate
message drm/amdkfd: Fix error handling in svm_range_add

From Felix Kuehling
4a635b9d5ba5f691e378f7ec20e11b7b04f07a45 in linux 5.15.y/5.15.17
726be40607264b180a2b336c81e1dcff941de618 in mainline linux

date 2022-01-27T23:05:39Z
author jsg
files src/sys/dev/pci/drm/amd/amdgpu/amdgpu_psp.c log diff annotate
message drm/amd/amdgpu: fix psp tmr bo pin count leak in SRIOV

From Jingwen Chen
8662d0c6a36807093aed34b17b930484fd4bf22f in linux 5.15.y/5.15.17
85dfc1d692c9434c37842e610be37cd4ae4e0081 in mainline linux

date 2022-01-27T23:07:51Z
author jsg
files src/sys/dev/pci/drm/amd/amdgpu/gmc_v10_0.c log diff annotate
src/sys/dev/pci/drm/amd/amdgpu/gmc_v9_0.c log diff annotate
message drm/amd/amdgpu: fix gmc bo pin count leak in SRIOV

From Jingwen Chen
305f07b93d34d292432251e9963bf232db38d67a in linux 5.15.y/5.15.17
948e7ce01413b71395723aaf846015062aea3a43 in mainline linux

date 2022-01-27T23:10:02Z
author jsg
files src/sys/dev/pci/drm/amd/amdgpu/gmc_v8_0.c log diff annotate
message drm/amdgpu: fixup bad vram size on gmc v8

From Zongmin Zhou
493b87970061f044c5cf795cfd1d679d114844ed in linux 5.15.y/5.15.17
11544d77e3974924c5a9c8a8320b996a3e9b2f8b in mainline linux

date 2022-01-27T23:12:15Z
author jsg
files src/sys/dev/pci/drm/amd/pm/amdgpu_pm.c log diff annotate
message amdgpu/pm: Make sysfs pm attributes as read-only for VFs

From Marina Nikolic
e4066c05d3327b530bb00d11d3492bac1e69982d in linux 5.15.y/5.15.17
11c9cc95f818f0f187e9b579a7f136f532b42445 in mainline linux

date 2022-01-27T23:14:21Z
author jsg
files src/sys/dev/pci/drm/amd/display/dc/core/dc_link.c log diff annotate
message drm/amd/display: Fix the uninitialized variable in enable_stream_features()

From Yizhuo Zhai
3bf997ec299cdf7280b2039806e5e1d847df111a in linux 5.15.y/5.15.17
0726ed3065eeb910f9cea0c933bc021a848e00b3 in mainline linux

date 2022-01-27T23:19:39Z
author jsg
files src/sys/dev/pci/drm/amd/amdgpu/amdgpu_cik.c log diff annotate
src/sys/dev/pci/drm/amd/amdgpu/vi.c log diff annotate
message drm/amdgpu: don't do resets on APUs which don't support it

From Alex Deucher
c3a9e0e701dfd087b0044c3598bffe880262c066 in linux 5.15.y/5.15.17
e8309d50e97851ff135c4e33325d37b032666b94 in mainline linux

date 2022-01-27T23:23:27Z
author jsg
files src/sys/dev/pci/drm/i915/display/intel_ddi_buf_trans.c log diff annotate
message drm/i915/display/ehl: Update voltage swing table

From Jose Roberto de Souza
077fe9d865604fcab3238afeaa7408cc1635bc39 in linux 5.15.y/5.15.17
ef3ac01564067a4337bb798b8eddc6ea7b78fd10 in mainline linux

date 2022-01-27T23:26:35Z
author jsg
files src/sys/dev/pci/drm/radeon/radeon_kms.c log diff annotate
message drm/radeon: fix error handling in radeon_driver_open_kms

From Christian Koenig
f22f67b43775fffb09f371ea861779cdbbb763ec in linux 5.15.y/5.15.17
4722f463896cc0ef1a6f1c3cb2e171e949831249 in mainline linux

date 2022-01-28T07:11:14Z
author guenther
files src/sys/dev/pci/if_bnxtreg.h log diff annotate
src/sys/dev/pci/if_iwxreg.h log diff annotate
src/sys/dev/pci/igc_i225.c log diff annotate
src/sys/dev/usb/uaudio.c log diff annotate
message When it's the possessive of 'it', it's spelled "its", without the
apostrophe.

date 2022-01-28T07:11:15Z
author guenther
files src/sys/kern/kern_exit.c log diff annotate
src/sys/net/ifq.h log diff annotate
src/sys/net80211/ieee80211_input.c log diff annotate
message When it's the possessive of 'it', it's spelled "its", without the
apostrophe.

date 2022-01-28T16:20:09Z
author visa
files src/sys/arch/mips64/include/cpu.h log diff annotate
src/sys/arch/mips64/include/trap.h log diff annotate
src/sys/arch/mips64/mips64/lcore_access.S log diff annotate
message Remove unused guarded read and write routines.

No objection from miod@

date 2022-01-28T18:37:40Z
author gkoehler
files src/sys/arch/powerpc/ddb/db_interface.c log diff annotate
src/sys/arch/powerpc/ddb/db_trace.c log diff annotate
src/sys/arch/powerpc/include/db_machdep.h log diff annotate
src/sys/arch/powerpc64/powerpc64/db_trace.c log diff annotate
message Give ddb more access to registers on macppc, powerpc64

Edit db_regs[] in db_trace.c on both powerpc and powerpc64, so ddb can
access $r14, $r15, $r16, $dar, $dsisr.

Only for powerpc: change db_trap_glue to copy all registers to and
from ddb_regs (it was skipping some); change db_set_single_step and
db_clear_single_step to flip the correct bit of srr1; delete
FIXUP_PC_AFTER_BREAK, which was off by 1 instruction.

"ddb{1}> s" on my PowerMac7,3 (dual G5 at 2700 MHz) began to panic
like, "*cpu0: mutex 0xa7d0a0 not held in tc_update_timekeep". Add an
arbitrary delay(100) after sending PPC_IPI_DDB; I want cpu0 to get the
ipi before it can see db_active == 1 and skip acquiring a mutex.

ok kettenis@

date 2022-01-29T05:47:36Z
author visa
files src/sys/lib/libkern/arch/mips64/bcmp.S log diff annotate
src/sys/lib/libkern/arch/mips64/bzero.S log diff annotate
src/sys/lib/libkern/arch/mips64/memmove.S log diff annotate
src/sys/lib/libkern/arch/mips64/strcmp.S log diff annotate
message Use local symbols in libkern mips64 assembly routines.

OK miod@

date 2022-01-29T06:25:33Z
author aoyama
files src/sys/uvm/uvm_page.h log diff annotate
message Fix macro name in comment.

ok visa@

date 2022-01-29T12:37:08Z
author jsg
files src/sys/dev/pci/drm/i915/i915_reg.h log diff annotate
src/sys/dev/pci/drm/i915/i915_vma.c log diff annotate
src/sys/dev/pci/drm/i915/intel_uncore.c log diff annotate
src/sys/dev/pci/drm/i915/intel_uncore.h log diff annotate
src/sys/dev/pci/drm/i915/gem/i915_gem_object_types.h log diff annotate
message drm/i915: Flush TLBs before releasing backing store

From Tvrtko Ursulin
8a17a077e7e9ecce25c95dbdb27843d2d6c2f0f7 in linux 5.15.y/5.15.18
7938d61591d33394a21bdd7797a245b65428f44c in mainline linux

date 2022-01-29T12:37:09Z
author jsg
files src/sys/dev/pci/drm/i915/gem/i915_gem_pages.c log diff annotate
src/sys/dev/pci/drm/i915/gt/intel_gt.c log diff annotate
src/sys/dev/pci/drm/i915/gt/intel_gt.h log diff annotate
src/sys/dev/pci/drm/i915/gt/intel_gt_types.h log diff annotate
message drm/i915: Flush TLBs before releasing backing store

From Tvrtko Ursulin
8a17a077e7e9ecce25c95dbdb27843d2d6c2f0f7 in linux 5.15.y/5.15.18
7938d61591d33394a21bdd7797a245b65428f44c in mainline linux

date 2022-01-29T12:40:27Z
author jsg
files src/sys/dev/pci/drm/amd/display/dc/clk_mgr/dcn31/dcn31_smu.c log diff annotate
message drm/amd/display: reset dcn31 SMU mailbox on failures

From Mario Limonciello
f71c91ed1d4b4bfbbb55327b04dcc32b2d970f62 in linux 5.15.y/5.15.18
83293f7f3d15fc56e86bd5067a2c88b6b233ac3a in mainline linux

date 2022-01-29T12:43:21Z
author jsg
files src/sys/dev/pci/drm/amd/amdgpu/gmc_v9_0.c log diff annotate
message drm/amdgpu: Use correct VIEWPORT_DIMENSION for DCN2

From Harry Wentland
7b6577cf9fe48d24d82df9362a077396a9d5cb27 in linux 5.15.y/5.15.18
dc5d4aff2e99c312df8abbe1ee9a731d2913bc1b in mainline linux

date 2022-01-29T19:23:02Z
author guenther
files src/sys/arch/amd64/amd64/vmm.c log diff annotate
message Put the leaf and subleaf input values (from rax/rcx) into local variables,
truncating them to 32bit as documented by the SDM and verified on an Intel
CPU in a Lenovo T510. Use that in the clamping logic and all the tests,
adjusting DPRINTF() format strings to match.

ok mlarkin@

date 2022-01-30T21:40:50Z
author kettenis
files src/sys/dev/fdt/files.fdt log diff annotate
src/sys/dev/fdt/tascodec.c log diff annotate
message Add tascodec(4), a driver for the TI TAS2770/TAS5770 digital audio
amplifier codec found on Apple M1 Macs.

ok patrick@, ratchov@

date 2022-01-30T22:24:41Z
author kettenis
files src/sys/arch/arm64/conf/files.arm64 log diff annotate
message Add aplnco(4), a driver for the Numerically-controlled oscillator (NCO)
clock that drives the audio clocks on Apple silicon.

ok patrick@

date 2022-01-30T22:24:42Z
author kettenis
files src/sys/arch/arm64/dev/aplnco.c log diff annotate
message Add aplnco(4), a driver for the Numerically-controlled oscillator (NCO)
clock that drives the audio clocks on Apple silicon.

ok patrick@

date 2022-01-30T23:18:20Z
author jsg
files src/sys/dev/pci/drm/i915/i915_request.c log diff annotate
message push stub down in __await_execution()

functions in this file want to reach into the implementation of
irq work which for us isn't a llist but rather a task

date 2022-01-30T23:19:26Z
author jsg
files src/sys/dev/pci/drm/i915/gt/intel_gt_pm.c log diff annotate
message unstub intel_gt_get_awake_time()

date 2022-01-31T02:21:36Z
author jsg
files src/sys/dev/pci/drm/i915/i915_perf.c log diff annotate
message unstub append_oa_sample()

date 2022-01-31T05:04:23Z
author jsg
files src/sys/dev/pci/drm/amd/amdgpu/amdgpu_gmc.c log diff annotate
message revert fb size workaround from amdgpu_gmc.c rev 1.3

djm@ confirms the recently committed 5.5.18 change
'drm/amdgpu: Use correct VIEWPORT_DIMENSION for DCN2'
to use the right register for GMC9 DCN2 (RENOIR, GREEN_SARDINE) is
enough on t14 gen 2 amd.

date 2022-01-31T05:09:17Z
author dlg
files src/sys/dev/kstat.c log diff annotate
src/sys/sys/kstat.h log diff annotate
message add kstat_remove so you can tear the struct apart before kstat_destroy

date 2022-01-31T06:00:48Z
author jsg
files src/sys/dev/pci/drm/i915/gem/i915_gem_mman.c log diff annotate
src/sys/dev/pci/drm/include/generated/autoconf.h log diff annotate
message define CONFIG_DRM_I915_USERFAULT_AUTOSUSPEND to reduce diff to linux

date 2022-01-31T08:47:03Z
author jsg
files src/sys/dev/pci/drm/drm_cache.c log diff annotate
message enable the movntdqa version of drm_memcpy_from_wc()
only caller is ttm_move_memcpy()
inteldrm has equivalent bits in i915_memcpy.c

date 2022-02-01T04:09:14Z
author jsg
files src/sys/dev/pci/drm/include/linux/uaccess.h log diff annotate
message use unsigned long for length argument of linux copyin/copyout equivalents

date 2022-02-01T08:38:53Z
author guenther
files src/sys/arch/amd64/amd64/pmap.c log diff annotate
src/sys/arch/amd64/include/pmap.h log diff annotate
src/sys/uvm/uvm_fault.c log diff annotate
message Attempt to guarantee that on copy-on-write faulting, the new copy
can't be written to while any thread can see the original version
of the page via a not-yet-flushed stale TLB entry: pmaps can indicate
they do this correctly by defining __HAVE_PMAP_MPSAFE_ENTER_COW;
uvm will force the initial CoW fault to be read-only otherwise.

Set that on amd64 and fix the problem case in pmap_enter() by putting
a read-only mapping in place, shooting the TLB entry, then fixing
it to the final read-write entry so this thread can continue without
re-faulting.

reported by jsing@ from https://github.com/golang/go/issues/34988
assisted by discussion in https://reviews.freebsd.org/D14347
tweaks from jsing@ and kettenis@

ok jsing@ mpi@ kettenis@

date 2022-02-01T15:30:10Z
author miod
files src/sys/arch/alpha/alpha/in_cksum.c log diff annotate
src/sys/arch/m88k/m88k/in_cksum.c log diff annotate
src/sys/arch/powerpc/powerpc/in_cksum.c log diff annotate
src/sys/arch/sparc64/sparc64/in4_cksum.c log diff annotate
src/sys/netinet/in4_cksum.c log diff annotate
message When a struct ipovly needs to be computed and checksummed in in4_cksum(),
do not bother operating on its first 8 bytes, which will always be zero.

ok visa@

date 2022-02-01T18:09:00Z
author deraadt
files src/sys/dev/acpi/acpi.c log diff annotate
src/sys/dev/acpi/acpivar.h log diff annotate
message GPE_DIRECT is calling the AML parser from interrupt context, which is
not permitted. Luckily nothing is using GPE_DIRECT anymore, so this code
can be deleted.
ok kettenis

date 2022-02-01T19:57:28Z
author kettenis
files src/sys/arch/arm/arm/pmap7.c log diff annotate
message Make sure we always pass a page-aligned address to pmap_grow_map().
Fixes an issue uncovered by the recent change to enlarge kva space where
an unaligned address was passed resulting in memset() writing past the
end of the newly allocated page.

ok miod@

date 2022-02-01T20:29:53Z
author deraadt
files src/sys/arch/amd64/amd64/machdep.c log diff annotate
message An old hack skips use of memory regions < 1MB size, because some machines
put BIOS objects into there, and rely upon them. We are shocked, SHOCKED,
to find a machine that does so in a large object (Supermicro 5019D-FTN4).
So now we need to ignore memory regions < 32MB in size. If we put this
memory into use, the zerothread will soon clear it, and on this particular
case the machine resets because something in AML or SMI gets unhappy.
Other machines with similar problems may exhibit other misbehaviours, so
this could fix heisenbugs. Sadly I expect products to get worse.
ok kettenis, miod

date 2022-02-01T20:29:55Z
author deraadt
files src/sys/arch/i386/i386/machdep.c log diff annotate
message An old hack skips use of memory regions < 1MB size, because some machines
put BIOS objects into there, and rely upon them. We are shocked, SHOCKED,
to find a machine that does so in a large object (Supermicro 5019D-FTN4).
So now we need to ignore memory regions < 32MB in size. If we put this
memory into use, the zerothread will soon clear it, and on this particular
case the machine resets because something in AML or SMI gets unhappy.
Other machines with similar problems may exhibit other misbehaviours, so
this could fix heisenbugs. Sadly I expect products to get worse.
ok kettenis, miod

date 2022-02-01T23:26:27Z
author jsg
files src/sys/dev/pci/drm/i915/intel_stolen.c log diff annotate
message get stolen memory base and size for gen 12

date 2022-02-01T23:29:07Z
author jsg
files src/sys/dev/pci/drm/i915/i915_drv.c log diff annotate
message call intel_init_stolen_res() lost in drm 5.7 update