From: Xiangyu Chen <[email protected]>

Hi Bruce,

When we enable the kernel debug feature "CONFIG_DEBUG_INFO_BTF", some modules 
would report 
"failed to validate module [XXXmodule] BTF: -22" error".
The config CONFIG_MODULE_ALLOW_BTF_MISMATCH[1] can ignore it but the error 
message still 
can be found in kernel log.

There is a commit has already fixed it[2] on master, so please help to merge 
the following 
commit from kernel master to linux-yocto v6.1, thanks.

9cb61e50bf6bf54db712bba6cf20badca4383f96 bpf: btf: limit logging of ignored BTF 
mismatches

This issue was found on x86-64 platform, but since BTF is a common kernel 
feature, so please 
apply the commit on all 6.1 branches, thanks.

[1] 
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5e214f2e43
[2] 
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=9cb61e50bf


Connor O'Brien (1):
  bpf: btf: limit logging of ignored BTF mismatches

 kernel/bpf/btf.c | 38 +++++++++++++++++++++++++++-----------
 1 file changed, 27 insertions(+), 11 deletions(-)

-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#12912): 
https://lists.yoctoproject.org/g/linux-yocto/message/12912
Mute This Topic: https://lists.yoctoproject.org/mt/100407962/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to