Skip to content

[PW_SID:986401] perf/util: make TYPE_STATE_MAX_REGS architecture-dependent - #705

Closed
linux-riscv-bot wants to merge 1 commit into
workflow__riscv__fixesfrom
pw986401
Closed

[PW_SID:986401] perf/util: make TYPE_STATE_MAX_REGS architecture-dependent#705
linux-riscv-bot wants to merge 1 commit into
workflow__riscv__fixesfrom
pw986401

Conversation

@linux-riscv-bot

Copy link
Copy Markdown

PR for series 986401 applied to workflow__riscv__fixes

Name: perf/util: make TYPE_STATE_MAX_REGS architecture-dependent
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=986401
Version: 1

Replace the fixed definition of TYPE_STATE_MAX_REGS with architecture-
specific values for better accuracy across multiple CPU architectures
including PowerPC, ARM, x86, RISC-V, MIPS, and others. This change ensures
the type state registers array size matches the actual register count of
the target platform.

Signed-off-by: Suchit Karunakaran <suchitkarunakaran@gmail.com>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "perf/util: make TYPE_STATE_MAX_REGS architecture-dependent"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 111.04 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "perf/util: make TYPE_STATE_MAX_REGS architecture-dependent"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 994.45 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "perf/util: make TYPE_STATE_MAX_REGS architecture-dependent"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1352.42 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "perf/util: make TYPE_STATE_MAX_REGS architecture-dependent"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 21.58 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "perf/util: make TYPE_STATE_MAX_REGS architecture-dependent"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 22.66 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "perf/util: make TYPE_STATE_MAX_REGS architecture-dependent"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 1.77 seconds
Result: WARNING
Output:

CHECK: architecture specific defines should be avoided
#29: FILE: tools/perf/util/annotate-data.h:192:
+#if defined(__powerpc__) || defined(__powerpc64__)

total: 0 errors, 0 warnings, 1 checks, 52 lines checked

NOTE: For some of the reported defects, checkpatch may be able to
      mechanically convert to the typical style using --fix or --fix-inplace.

Commit d5b370877d43 ("perf/util: make TYPE_STATE_MAX_REGS architecture-dependent") has style problems, please review.

NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT CAMELCASE COMMIT_LOG_LONG_LINE GIT_COMMIT_ID MACRO_ARG_REUSE NO_AUTHOR_SIGN_OFF

NOTE: If any of the errors are false positives, please report
      them to the maintainer, see CHECKPATCH in MAINTAINERS.
total: 0 errors, 0 warnings, 1 checks, 52 lines checked
CHECK: architecture specific defines should be avoided


@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "perf/util: make TYPE_STATE_MAX_REGS architecture-dependent"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 72.39 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "perf/util: make TYPE_STATE_MAX_REGS architecture-dependent"
header-inline
Desc: Detects static functions without inline keyword in header files
Duration: 0.24 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "perf/util: make TYPE_STATE_MAX_REGS architecture-dependent"
kdoc
Desc: Detects for kdoc errors
Duration: 0.84 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "perf/util: make TYPE_STATE_MAX_REGS architecture-dependent"
module-param
Desc: Detect module_param changes
Duration: 0.25 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "perf/util: make TYPE_STATE_MAX_REGS architecture-dependent"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.23 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "perf/util: make TYPE_STATE_MAX_REGS architecture-dependent"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.29 seconds
Result: PASS

@linux-riscv-bot
linux-riscv-bot deleted the pw986401 branch August 5, 2025 01:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants