diff mbox series

[V2] klog.json: add a "Unable ... IOMMU perf counter" message

Message ID 20200427212524.250579-1-alex.hung@canonical.com
State Superseded
Headers show
Series [V2] klog.json: add a "Unable ... IOMMU perf counter" message | expand

Commit Message

Alex Hung April 27, 2020, 9:25 p.m. UTC
This message shows performance counters are not supported on AMD IOMMU
hardware.

More info @ https://lore.kernel.org/lkml/20180727102710.GA6738@8bytes.org/

Reported-by: Paul Menzel <pmenzel@molgen.mpg.de>
Signed-off-by: Alex Hung <alex.hung@canonical.com>
---

[V2] update advise and commit comments

 data/klog.json | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Colin Ian King April 27, 2020, 9:28 p.m. UTC | #1
On 27/04/2020 22:25, Alex Hung wrote:
> This message shows performance counters are not supported on AMD IOMMU
> hardware.
> 
> More info @ https://lore.kernel.org/lkml/20180727102710.GA6738@8bytes.org/
> 
> Reported-by: Paul Menzel <pmenzel@molgen.mpg.de>
> Signed-off-by: Alex Hung <alex.hung@canonical.com>
> ---
> 
> [V2] update advise and commit comments
> 
>  data/klog.json | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/data/klog.json b/data/klog.json
> index 15043658..07b67976 100644
> --- a/data/klog.json
> +++ b/data/klog.json
> @@ -2697,6 +2697,13 @@ atform Communications Channel Table (PCCT) and find the PCC subspace communicati
>      "advice": "BIOS setup is configured to enable IOMMU, but BIOS lacks IVRS table that is describing which is the address of IOMMU",
>      "label": "KlogAmdIommuNoIVRS"
>    },
> +  {
> +    "compare_mode": "string",
> +    "log_level": "LOG_LEVEL_MEDIUM",
> +    "pattern": "Unable to read/write to IOMMU perf counter",
> +    "advice": "AMD IOMMU performance counter is inaccessible and public spec does not have information on how it should be not supported",

perhaps "specification" rather than "spec"?

> +    "label": "KlogAmdIommuPCNotSupported"
> +  },
>    {
>      "compare_mode": "string",
>      "log_level": "LOG_LEVEL_HIGH",
>
diff mbox series

Patch

diff --git a/data/klog.json b/data/klog.json
index 15043658..07b67976 100644
--- a/data/klog.json
+++ b/data/klog.json
@@ -2697,6 +2697,13 @@  atform Communications Channel Table (PCCT) and find the PCC subspace communicati
     "advice": "BIOS setup is configured to enable IOMMU, but BIOS lacks IVRS table that is describing which is the address of IOMMU",
     "label": "KlogAmdIommuNoIVRS"
   },
+  {
+    "compare_mode": "string",
+    "log_level": "LOG_LEVEL_MEDIUM",
+    "pattern": "Unable to read/write to IOMMU perf counter",
+    "advice": "AMD IOMMU performance counter is inaccessible and public spec does not have information on how it should be not supported",
+    "label": "KlogAmdIommuPCNotSupported"
+  },
   {
     "compare_mode": "string",
     "log_level": "LOG_LEVEL_HIGH",