Commit d18902f
clocks(v5): annotate HPM with source (chip|board) and svb_version (#170)
Two cheap, useful annotations on the existing v5 hpm output:
source -- HPM_STORAGE_REG bit[30] (u_hpm_storage_reg.use_board_hpm
in svb.h). When set, HPM_STORAGE_REG bits[9:0] reflect a
board-fixture calibration override rather than an in-die
measurement averaged by boot software. The "chip" value
is the real silicon process bin; the "board" value is
whatever the manufacturing line decided to ship. Worth
knowing when comparing HPM readings across boards.
svb_version -- SVB_VER_REG (SYSCTRL+0x168) bits[5:2]
(u_svb_version_reg.svb_type / enum product_type):
1=SVB_10, 2=SVB_20, 3=SVB_00, 4=SVB_608, 0=none. The
"binning pass" threshold for "this die is fast enough"
depends on the SVB version (CORE_HPM_BOUND_10 / _20 /
_10_ESMT in svb.h). On boards where svb_version=none the
firmware isn't running SVB at all and the standard hpm_info
tri-state classification is informational only.
Hi3519DV500 demo board reads source=chip, svb_version=none -- which
matches what we observed in the SSMOD/HPM survey (HPM_STORAGE_REG bit[30]
clear; SVB_VER_REG=0x00100200 -> svb_type=0).
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 2052f8b commit d18902f
1 file changed
Lines changed: 48 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
241 | 289 | | |
242 | 290 | | |
243 | 291 | | |
| |||
0 commit comments