* Re: [PATCH] tools headers: Sync x86 cpufeatures and arm64 cputype headers [not found] <20250929061644.19188-2-shivankg@amd.com> @ 2025-09-29 8:27 ` Leo Yan 2025-09-29 9:17 ` Garg, Shivank 0 siblings, 1 reply; 3+ messages in thread From: Leo Yan @ 2025-09-29 8:27 UTC (permalink / raw) To: Shivank Garg, linux-perf-users, James Clark Cc: linux-kernel, acme, namhyung, yangyicong, bp, mingo, xin, yosry.ahmed Hi Shivank, [ + James, perf-user ML ] On Mon, Sep 29, 2025 at 06:16:45AM +0000, Shivank Garg wrote: > To pick up the changes in this cset: > > commit 2f8f173413f1 ("x86/vmscape: Add conditional IBPB mitigation") > commit a508cec6e521 ("x86/vmscape: Enumerate VMSCAPE bug") > commit c8c2647e69be ("arm64: Make _midr_in_range_list() an exported function") > commit e3121298c7fc ("arm64: Modify _midr_range() functions to read MIDR/REVIDR internally") > > This addresses these perf build warnings: > tools/perf$ ./check-headers.sh > Warning: Kernel ABI header differences: > diff -u tools/arch/x86/include/asm/cpufeatures.h arch/x86/include/asm/cpufeatures > diff -u tools/arch/arm64/include/asm/cputype.h arch/arm64/include/asm/cputype.h Please drop arm64 related syncing, otherwise, it will break perf building. At the meantime, James is working on refactoring cpu type definitions for Arm64, we expect to avoid syncing cputype.h. Thanks, Leo ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] tools headers: Sync x86 cpufeatures and arm64 cputype headers 2025-09-29 8:27 ` [PATCH] tools headers: Sync x86 cpufeatures and arm64 cputype headers Leo Yan @ 2025-09-29 9:17 ` Garg, Shivank 2025-09-30 6:40 ` Garg, Shivank 0 siblings, 1 reply; 3+ messages in thread From: Garg, Shivank @ 2025-09-29 9:17 UTC (permalink / raw) To: Leo Yan, linux-perf-users, James Clark Cc: linux-kernel, acme, namhyung, yangyicong, bp, mingo, xin, yosry.ahmed On 9/29/2025 1:57 PM, Leo Yan wrote: > Hi Shivank, > > [ + James, perf-user ML ] > > On Mon, Sep 29, 2025 at 06:16:45AM +0000, Shivank Garg wrote: >> To pick up the changes in this cset: >> >> commit 2f8f173413f1 ("x86/vmscape: Add conditional IBPB mitigation") >> commit a508cec6e521 ("x86/vmscape: Enumerate VMSCAPE bug") >> commit c8c2647e69be ("arm64: Make _midr_in_range_list() an exported function") >> commit e3121298c7fc ("arm64: Modify _midr_range() functions to read MIDR/REVIDR internally") >> >> This addresses these perf build warnings: >> tools/perf$ ./check-headers.sh >> Warning: Kernel ABI header differences: >> diff -u tools/arch/x86/include/asm/cpufeatures.h arch/x86/include/asm/cpufeatures >> diff -u tools/arch/arm64/include/asm/cputype.h arch/arm64/include/asm/cputype.h > > Please drop arm64 related syncing, otherwise, it will break perf > building. Sure, I'll send V2 without arm64 sync. Thanks, Shivank > > At the meantime, James is working on refactoring cpu type definitions > for Arm64, we expect to avoid syncing cputype.h. > > Thanks, > Leo ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] tools headers: Sync x86 cpufeatures and arm64 cputype headers 2025-09-29 9:17 ` Garg, Shivank @ 2025-09-30 6:40 ` Garg, Shivank 0 siblings, 0 replies; 3+ messages in thread From: Garg, Shivank @ 2025-09-30 6:40 UTC (permalink / raw) To: Leo Yan, linux-perf-users, James Clark Cc: linux-kernel, acme, namhyung, yangyicong, bp, mingo, xin, yosry.ahmed On 9/29/2025 2:47 PM, Garg, Shivank wrote: > > > On 9/29/2025 1:57 PM, Leo Yan wrote: >> Hi Shivank, >> >> [ + James, perf-user ML ] >> >> On Mon, Sep 29, 2025 at 06:16:45AM +0000, Shivank Garg wrote: >>> To pick up the changes in this cset: >>> >>> commit 2f8f173413f1 ("x86/vmscape: Add conditional IBPB mitigation") >>> commit a508cec6e521 ("x86/vmscape: Enumerate VMSCAPE bug") >>> commit c8c2647e69be ("arm64: Make _midr_in_range_list() an exported function") >>> commit e3121298c7fc ("arm64: Modify _midr_range() functions to read MIDR/REVIDR internally") >>> >>> This addresses these perf build warnings: >>> tools/perf$ ./check-headers.sh >>> Warning: Kernel ABI header differences: >>> diff -u tools/arch/x86/include/asm/cpufeatures.h arch/x86/include/asm/cpufeatures >>> diff -u tools/arch/arm64/include/asm/cputype.h arch/arm64/include/asm/cputype.h >> >> Please drop arm64 related syncing, otherwise, it will break perf >> building. > > Sure, I'll send V2 without arm64 sync. > > Thanks, > Shivank >> >> At the meantime, James is working on refactoring cpu type definitions >> for Arm64, we expect to avoid syncing cputype.h. >> >> Thanks, >> Leo > tools/perf$ make BUILD: Doing 'make -j128' parallel build Warning: Kernel ABI header differences: diff -u tools/include/linux/cfi_types.h include/linux/cfi_types.h diff -u tools/arch/x86/include/asm/cpufeatures.h arch/x86/include/asm/cpufeatures.h diff -u tools/include/asm-generic/bitops/__fls.h include/asm-generic/bitops/__fls.h diff -u tools/include/asm-generic/bitops/fls.h include/asm-generic/bitops/fls.h diff -u tools/include/asm-generic/bitops/fls64.h include/asm-generic/bitops/fls64.h diff -u tools/arch/arm64/include/asm/cputype.h arch/arm64/include/asm/cputype.h diff -u tools/perf/trace/beauty/include/uapi/linux/fcntl.h include/uapi/linux/fcntl.h diff -u tools/perf/trace/beauty/include/uapi/linux/fs.h include/uapi/linux/fs.h There are a lot of new ABI differences today, so I think it’s best to sync after the merge window? Thanks, Shivank ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-09-30 6:40 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <20250929061644.19188-2-shivankg@amd.com> 2025-09-29 8:27 ` [PATCH] tools headers: Sync x86 cpufeatures and arm64 cputype headers Leo Yan 2025-09-29 9:17 ` Garg, Shivank 2025-09-30 6:40 ` Garg, Shivank
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).