diff options
author | Yunhui Cui <cuiyunhui@bytedance.com> | 2025-03-03 16:34:24 +0800 |
---|---|---|
committer | Alexandre Ghiti <alexghiti@rivosinc.com> | 2025-04-01 07:03:03 +0000 |
commit | a3313375e88e0075b9048eba15e5eb4dbf93f60e (patch) | |
tree | 6d5e538134193e4c66dff10f00df73bf4f1a84e8 /rust/helpers/build_bug.c | |
parent | 74f4bf9d15ad1d6862b828d486ed10ea0e874a23 (diff) | |
download | linux-a3313375e88e0075b9048eba15e5eb4dbf93f60e.tar.gz linux-a3313375e88e0075b9048eba15e5eb4dbf93f60e.tar.bz2 linux-a3313375e88e0075b9048eba15e5eb4dbf93f60e.zip |
riscv: print hartid on bringup
Firmware randomly releases cores, so CPU numbers don't linearly map
to hartids. When the system has an exception, we care more about hartids.
Adding "dyndbg="file smpboot.c +p" loglevel=8" to the cmdline can output
the hartid.
Signed-off-by: Yunhui Cui <cuiyunhui@bytedance.com>
Reviewed-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Link: https://lore.kernel.org/r/20250303083424.14309-1-cuiyunhui@bytedance.com
Signed-off-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions