Commit ebe4a80
committed
arch/x86/smbios.c: fix incorrect L3 cache size in SMBIOS Type 7
L3 cache is typically unified and shared across all logical CPUs.
The CPUID leaf 0x4 already reports the total cache size for such shared caches.
Multiplying L3 size by the number of cores sharing it results in an
inflated value that may exceed SMBIOS limits or be misinterpreted,
leading Windows and other OSes to report the L3 cache size as zero.
Upstream-Status: Pending
Signed-off-by: Filip Lewiński <filip.lewinski@3mdeb.com>1 parent e8493c6 commit ebe4a80
1 file changed
Lines changed: 14 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
240 | 240 | | |
241 | 241 | | |
242 | 242 | | |
243 | | - | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
244 | 257 | | |
245 | 258 | | |
246 | 259 | | |
| |||
0 commit comments