diff options
author | Jeffrey Hugo <[email protected]> | 2018-10-04 09:20:06 -0600 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2018-10-04 23:02:17 +0200 |
commit | 59bbff3775c0951300f7b41345a54b999438f8d0 (patch) | |
tree | d25c1be9819e008e002f0b7b0202243e4c19262e /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | ca388e436f588a7fa88fcdefcb0b2c55aff6836c (diff) |
ACPI/PPTT: Handle architecturally unknown cache types
The type of a cache might not be specified by architectural mechanisms (ie
system registers), but its type might be specified in the PPTT. In this
case, we should populate the type of the cache, rather than leave it
undefined.
This fixes the issue where the cacheinfo driver will not populate sysfs
for such caches, resulting in the information missing from utilities like
lstopo and lscpu, thus degrading the user experience.
Fixes: 2bd00bcd73e5 (ACPI/PPTT: Add Processor Properties Topology Table parsing)
Reported-by: Vijaya Kumar K <[email protected]>
Signed-off-by: Jeffrey Hugo <[email protected]>
Reviewed-by: Sudeep Holla <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions