On Mon, 7 Apr 2025 at 08:14, Guenter Roeck <linux@xxxxxxxxxxxx> wrote:
Build failures:
In file included from drivers/net/wireless/intel/iwlwifi/mld/tests/utils.c:18:
drivers/net/wireless/intel/iwlwifi/mld/tests/../iface.h:169:5: warning: "CONFIG_PM_SLEEP" is not defined, evaluates to 0 [-Wundef]
169 | #if CONFIG_PM_SLEEP
[...]
Triggered by commit d1e879ec600f9 ("wifi: iwlwifi: add iwlmld sub-driver").
The code was not build tested with CONFIG_PM disabled.
Ok, should be trivial to fix, let's get the guilty parties involved..
Building x86_64:allyesconfig ... failed
--------------
Error log:
x86_64-linux-ld: kernel image bigger than KERNEL_IMAGE_SIZE
No idea what to do here. Increase KERNEL_IMAGE_SIZE ? Disable some options ?
Hmm. It's a fairly random #define, and I suspect we could just
increase it for COMPILE_TEST.
allyesconfig is kind of useless, but it does occasionally find the
"same name used in different modules" case and other random things,
and disabling options seems overly complicated for this odd case.
Adding x86 people to see if there are preferences.
Building xtensa:allmodconfig ... failed
ERROR: modpost: "__divdi3" [drivers/gpu/drm/xe/xe.ko] undefined!
ERROR: modpost: "__udivdi3" [drivers/gpu/drm/xe/xe.ko] undefined!
Commit 9c44fd5f6e8a ("drm/xe: Add migrate layer functions for SVM support")
didn't watch out for 64-bit divide operations.
Hmm. Why didn't that show up on x86-32? Or maybe it did and you're
just quoting the xtensa case.
Adding Oak and Matthew.Yes, using DIV_ROUND_UP_ULL instead fixes the problem. I submitted a patch
I assume it's the DIV_ROUND_UP(entries, 0x1ff) thing.