Closed vjonnal closed 2 years ago
Hi, i'm sorry for your inconvenience. We checked that kernel build failure can happen depending on kernel configs. We will push a patch soon.
For us to better support you, please let us know information below.
kernel config you are using on the error:
CONFIG_EXMEM is enabled=yes |no CONFIG_PROVE_LOCKING=yes|no CONFIG_LOCK_STAT=yes|no CONFIG_DEBUG_LOCK_ALLOC=yes|no CONFIG_LOCKDEP=yes|no
OS distro:
System / CPU:
Your organization : personal / industry
Hello, Thank you for your response. Following are the details that you have asked.
Hi, Thank you for the reply. As a workaround, configuring "CONFIG_EXMEM=yes and CONFIG_LOCKDEP=no" will disappear the build issue, we are preparing a patch , though. By the way, is there a specific hack you want to do with the lockdep function?
Nothing specific with LOCKDEP, I removed the config and verified that the compilation issue is resolved. Just wanted to keep you informed. Will wait for the patch. Thank you.
Thank you for informing us, Ravi Shankar.
Patch is updated : release - https://github.com/OpenMPDK/SMDK/releases/tag/smdk_v1.2.1 commit - https://github.com/OpenMPDK/SMDK/commit/2cd3b4b514c9095343037cce62f7db6492ad93a4
Please check and kindly let us know if you get to know another issue.
Verified that kernel compilation issue is solved with smdk_v1.2.1 tag. Closing the issue.
https://github.com/OpenMPDK/SMDK/blob/9ebacf0fa9ff0a0926ad0380346def548813228d/lib/linux-5.18-rc3-smdk/include/linux/gfp.h#L280
The check in the below line is failing because of the change in __GFP_BITS_SHIFT definition. https://github.com/OpenMPDK/SMDK/blob/9ebacf0fa9ff0a0926ad0380346def548813228d/lib/linux-5.18-rc3-smdk/lib/radix-tree.c#L1597