diff options
author | Ahmed S. Darwish <darwi@linutronix.de> | 2025-03-24 14:33:20 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2025-03-25 10:23:21 +0100 |
commit | fda5f817ae41035db9e36854600525145688b35e (patch) | |
tree | 6289812d97449250792e905e51453a5989b7c2bb /scripts/lib/kdoc/kdoc_re.py | |
parent | 66122616e212f1b9fee7d03582a5fdab2e8ed0e4 (diff) |
x86/cacheinfo: Extract out cache level topology ID calculation
For Intel CPUID leaf 0x4 parsing, refactor the cache level topology ID
calculation code into its own method instead of repeating the same logic
twice for L2 and L3.
Signed-off-by: Ahmed S. Darwish <darwi@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: https://lore.kernel.org/r/20250324133324.23458-26-darwi@linutronix.de
Diffstat (limited to 'scripts/lib/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions