diff options
| author | Ahmed S. Darwish <[email protected]> | 2025-03-24 13:33:19 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2025-03-25 09:23:18 +0000 |
| commit | 66122616e212f1b9fee7d03582a5fdab2e8ed0e4 (patch) | |
| tree | 2d65677b96a5b0439af2da37df5cb3ebc3268105 /net/core/dev_api.c | |
| parent | x86/cacheinfo: Separate CPUID leaf 0x2 handling and post-processing logic (diff) | |
| download | kernel-66122616e212f1b9fee7d03582a5fdab2e8ed0e4.tar.gz kernel-66122616e212f1b9fee7d03582a5fdab2e8ed0e4.zip | |
x86/cacheinfo: Separate Intel CPUID leaf 0x4 handling
init_intel_cacheinfo() was overly complex. It parsed leaf 0x4 data,
leaf 0x2 data, and performed post-processing, all within one function.
Parent commit moved leaf 0x2 parsing and the post-processing logic into
their own functions.
Continue the refactoring by extracting leaf 0x4 parsing into its own
function. Initialize local L2/L3 topology ID variables to BAD_APICID by
default, thus ensuring they can be used unconditionally.
Suggested-by: Thomas Gleixner <[email protected]>
Signed-off-by: Ahmed S. Darwish <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Linus Torvalds <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'net/core/dev_api.c')
0 files changed, 0 insertions, 0 deletions
