From patchwork Fri Jul 5 01:27:57 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Alex Hung X-Patchwork-Id: 1127758 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) 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 45fy0D2Ylmz9sLt; Fri, 5 Jul 2019 11:28:10 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1hjD1C-0004m1-Dg; Fri, 05 Jul 2019 01:28:06 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.86_2) (envelope-from ) id 1hjD1A-0004lF-Ar for fwts-devel@lists.ubuntu.com; Fri, 05 Jul 2019 01:28:04 +0000 Received: from 2.general.alexhung.us.vpn ([10.172.65.255] helo=canonical.com) by youngberry.canonical.com with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1hjD19-0005ZR-Ko; Fri, 05 Jul 2019 01:28:04 +0000 From: Alex Hung To: fwts-devel@lists.ubuntu.com Subject: [PATCH 1/2] cpu/msr: add document info the cpu_msr_map table Date: Thu, 4 Jul 2019 19:27:57 -0600 Message-Id: <20190705012758.11151-1-alex.hung@canonical.com> X-Mailer: git-send-email 2.17.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: , Errors-To: fwts-devel-bounces@lists.ubuntu.com Sender: "fwts-devel" Adding comments only. There are no functional changes. Signed-off-by: Alex Hung Acked-by: Ivan Hu Acked-by: Colin Ian King --- src/cpu/msr/msr.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/cpu/msr/msr.c b/src/cpu/msr/msr.c index 2cd51e5c..ea6ca207 100644 --- a/src/cpu/msr/msr.c +++ b/src/cpu/msr/msr.c @@ -728,6 +728,10 @@ typedef struct { const msr_info *const info; } cpu_to_msr; +/* + * Intel's CPU-specific MSRs can be found in + * Intel® 64 and IA-32 ArchitecturesSoftware Developer’s Manual Volume 4 + */ static const cpu_to_msr cpu_msr_map[] = { { "Pentium", 0x05, 0x01, NULL }, { "Pentium", 0x05, 0x02, NULL },