From patchwork Tue Mar 31 01:21:14 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Hung X-Patchwork-Id: 1264475 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=fwts-devel-bounces@lists.ubuntu.com; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=canonical.com Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48rs3n64p9z9sPF; Tue, 31 Mar 2020 12:21:23 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1jJ5ah-0003zK-04; Tue, 31 Mar 2020 01:21:19 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1jJ5af-0003zC-Hc for fwts-devel@lists.ubuntu.com; Tue, 31 Mar 2020 01:21:17 +0000 Received: from 2.general.alexhung.us.vpn ([10.172.65.255] helo=canonical.com) by youngberry.canonical.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1jJ5ae-0006i7-OY; Tue, 31 Mar 2020 01:21:17 +0000 From: Alex Hung To: fwts-devel@lists.ubuntu.com Subject: [PATCH] klog.json: add an "Unable ... IOMMU perf counter" message Date: Mon, 30 Mar 2020 19:21:14 -0600 Message-Id: <20200331012114.125271-1-alex.hung@canonical.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-BeenThere: fwts-devel@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Firmware Test Suite Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Paul Menzel Errors-To: fwts-devel-bounces@lists.ubuntu.com Sender: "fwts-devel" This message shows performance counters are not supported on AMD IOMMU hardware. Reported-by: Paul Menzel Signed-off-by: Alex Hung Tested-by: Paul Menzel --- data/klog.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/data/klog.json b/data/klog.json index 15043658..eb78fe47 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 not accessible and not supported due to firmware limitations.", + "label": "KlogAmdIommuPCNotSupported" + }, { "compare_mode": "string", "log_level": "LOG_LEVEL_HIGH",