header mismatch between tools and kernel in 5.9 rc8

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
Just a heads up that there is a header file mismatch between the tools
and kernel includes in 5.9 rc8.  Building from the src.rpm I get this
error.

Warning: Kernel ABI header at 'tools/include/uapi/linux/perf_event.h'
differs from latest version at 'include/uapi/linux/perf_event.h'

The difference between the two files is a single line:


< #define PERF_MEM_SNOOPX_SHIFT 38
---
> #define PERF_MEM_SNOOPX_SHIFT 37

$ diff -U5 -p tools/include/uapi/linux/perf_event.h include/uapi/linux/perf_event.h

--- tools/include/uapi/linux/perf_event.h       2020-10-05 11:54:20.000000000 -0700
+++ include/uapi/linux/perf_event.h     2020-10-05 11:54:20.000000000 -0700
@@ -1194,11 +1194,11 @@ union perf_mem_data_src {
 #define PERF_MEM_SNOOP_HITM    0x10 /* snoop hit modified */
 #define PERF_MEM_SNOOP_SHIFT   19
 
 #define PERF_MEM_SNOOPX_FWD    0x01 /* forward */
 /* 1 free */
-#define PERF_MEM_SNOOPX_SHIFT  38
+#define PERF_MEM_SNOOPX_SHIFT  37
 
 /* locked instruction */
 #define PERF_MEM_LOCK_NA       0x01 /* not available */
 #define PERF_MEM_LOCK_LOCKED   0x02 /* locked transaction */
 #define PERF_MEM_LOCK_SHIFT    24

I'm not sure which is the correct version, but once I know I can fix
this with a patch (the above will work), but is there a better way?  I
realize that the Fedora kernel no longer builds tools directly, but
could you make this change there?

Thanks.
_______________________________________________
kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux