From patchwork Thu Jul 11 17:46:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Hung X-Patchwork-Id: 1130957 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 45l3Qr4gXqz9sNH; Fri, 12 Jul 2019 03:47:00 +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 1hld9l-0003VX-U9; Thu, 11 Jul 2019 17:46:57 +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 1hld9k-0003Uw-RZ for fwts-devel@lists.ubuntu.com; Thu, 11 Jul 2019 17:46:56 +0000 Received: from 1.general.alexhung.us.vpn ([10.172.65.254] helo=canonical.com) by youngberry.canonical.com with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1hld9k-00059C-4s; Thu, 11 Jul 2019 17:46:56 +0000 From: Alex Hung To: fwts-devel@lists.ubuntu.com Subject: [PATCH 06/10] cpu/msr: update THERM_INTERRUPT MSR masks Date: Thu, 11 Jul 2019 11:46:31 -0600 Message-Id: <20190711174635.770-7-alex.hung@canonical.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190711174635.770-1-alex.hung@canonical.com> References: <20190711174635.770-1-alex.hung@canonical.com> 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: , MIME-Version: 1.0 Errors-To: fwts-devel-bounces@lists.ubuntu.com Sender: "fwts-devel" BIT definition is as below: 0 High-Temperature Interrupt Enable 1 Low-Temperature Interrupt Enable 2 PROCHOT# Interrupt Enable 3 FORCEPR# Interrupt Enable 4 Critical Temperature Interrupt Enable 7:5 Reserved 14:8 Threshold #1 Value 15 Threshold #1 Interrupt Enable 22:16 Threshold #2 Value 23 Threshold #2 Interrupt Enable 24 Power Limit Notification Enable 63:25 Reserved Signed-off-by: Alex Hung --- src/cpu/msr/msr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cpu/msr/msr.c b/src/cpu/msr/msr.c index 6e28bc1c..3ff32c95 100644 --- a/src/cpu/msr/msr.c +++ b/src/cpu/msr/msr.c @@ -361,7 +361,7 @@ static const msr_info IA32_MSRs[] = { { "MCG_STATUS", 0x0000017a, 0xffffffffffffffffULL, NULL }, { "MCG_CTL", 0x0000017b, 0xffffffffffffffffULL, NULL }, { "CLOCK_MODULATION", 0x0000019a, 0x000000000000001fULL, NULL }, - { "THERM_INTERRUPT", 0x0000019b, 0x000000000180801fULL, NULL }, + { "THERM_INTERRUPT", 0x0000019b, 0x000000001ffff1ffULL, NULL }, //{ "THERM_STATUS", 0x0000019c, 0x0000000080000fffULL, NULL }, { "MISC_ENABLE", 0x000001a0, 0x0000000400c51889ULL, NULL }, { "PACKAGE_THERM_INTERRUPT", 0x000001b2, 0x0000000001ffff17ULL, NULL },