aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/dev_api.c
diff options
context:
space:
mode:
authorAhmed S. Darwish <[email protected]>2025-03-24 13:33:23 +0000
committerIngo Molnar <[email protected]>2025-03-25 09:23:30 +0000
commit6c963c42fc19d7c9ae9582ab75c3476d1752d979 (patch)
treedc028c1fc8163b24c3a06f162dcd58c4634c113b /net/core/dev_api.c
parentx86/cacheinfo: Relocate CPUID leaf 0x4 cache_type mapping (diff)
downloadkernel-6c963c42fc19d7c9ae9582ab75c3476d1752d979.tar.gz
kernel-6c963c42fc19d7c9ae9582ab75c3476d1752d979.zip
x86/cacheinfo: Introduce cpuid_amd_hygon_has_l3_cache()
Multiple code paths at cacheinfo.c and amd_nb.c check for AMD/Hygon CPUs L3 cache presensce by directly checking leaf 0x80000006 EDX output. Extract that logic into its own function. While at it, rework the AMD/Hygon LLC topology ID caclculation comments for clarity. 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