diff options
author | John Garry <john.garry@huawei.com> | 2019-02-08 00:14:21 +0800 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2019-02-07 23:16:08 +0100 |
commit | 6cafe700b08cfd261a279b9e5ed99f3a346fe3b0 (patch) | |
tree | 92b7e05bac5867fe4e71df7bfaf835dffba8dbf1 /virt | |
parent | 98a455d91e7116ca417bc37da6aa2dd633206a6f (diff) | |
download | linux-6cafe700b08cfd261a279b9e5ed99f3a346fe3b0.tar.bz2 |
ACPI/PPTT: Add acpi_pptt_warn_missing() to consolidate logs
For a system using ACPI-based FW without a PPTT, we may get many warnings
about the lack of a PPTT, as shown:
root@(none)$ dmesg | grep -i pptt
[ 0.010125] ACPI PPTT: No PPTT table found, cpu topology may be inaccurate
[ 7.138339] ACPI PPTT: No PPTT table found, cache topology may be inaccurate
[ 7.145368] ACPI PPTT: No PPTT table found, cache topology may be inaccurate
These logs are generated with pr_warn_once(), so the intention was for a
single log, but the logs overlap, so consolidate them.
Signed-off-by: John Garry <john.garry@huawei.com>
Reviewed-by: Jeremy Linton <jeremy.linton@arm.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions