Date: Tue, 14 Mar 2023 03:22:27 +0000 From: bugzilla-noreply@freebsd.org To: fs@FreeBSD.org Subject: [Bug 267028] kernel panics when booting with both (zfs,ko or vboxnetflt,ko or acpi_wmi.ko) and amdgpu.ko Message-ID: <bug-267028-3630-hHBWCuCIle@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-267028-3630@https.bugs.freebsd.org/bugzilla/> References: <bug-267028-3630@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267028 --- Comment #126 from Mark Millard <marklmi26-fbsd@yahoo.com> --- (In reply to Mark Millard from comment #125) Picking the drm-515-kmod one: it looks like the source=20 file referenced needs to include the content of the file providing the #define : /usr/main-src/sys/compat/linuxkpi/common/include/linux/preempt.h:#define=20= =20=20=20=20=20=20 in_interrupt() \ There are overall, some other uses: drm-kmod//drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c: if (r < 1 && in_interrupt()) drm-kmod//drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c: if (r < 1 && (amdgpu_in_reset(adev) || in_interrupt())) drm-kmod//drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c: if (r < 1 && (amdgpu_in_reset(adev) || in_interrupt())) drm-kmod//drivers/gpu/drm/drm_cache.c: if (WARN_ON(in_interrupt())) { drm-kmod//drivers/gpu/drm/drm_cache.c: WARN_ON(in_interrupt()); I have not checked if any others of those do get preempt.h already. amd64 might be working via header pollution in some way that aarch64 does not? --=20 You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-267028-3630-hHBWCuCIle>