[Bug 267028] kernel panics when booting with both (zfs,ko or vboxnetflt,ko or acpi_wmi.ko) and amdgpu.ko
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 14 Mar 2023 03:22:27 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267028
--- 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
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
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?
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.