From patchwork Fri Jul 12 05:08:19 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Hung X-Patchwork-Id: 1131125 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 45lLYD6RKjz9sBF; Fri, 12 Jul 2019 15:08:32 +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 1hlnnK-0008H5-C5; Fri, 12 Jul 2019 05:08:30 +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 1hlnnJ-0008Gu-8H for fwts-devel@lists.ubuntu.com; Fri, 12 Jul 2019 05:08:29 +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 1hlnnI-000342-Jv; Fri, 12 Jul 2019 05:08:28 +0000 From: Alex Hung To: fwts-devel@lists.ubuntu.com Subject: [PATCH 1/5] cpu/msr: add MSR_PMG_IO_CAPTURE_BASE to IA32_silvermont_MSRs Date: Thu, 11 Jul 2019 23:08:19 -0600 Message-Id: <20190712050822.21432-2-alex.hung@canonical.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190712050822.21432-1-alex.hung@canonical.com> References: <20190712050822.21432-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: 15:0 LVL_2 Base Address (R/W) 18:16 C-state Range (R/W) 63:19 Reserved Signed-off-by: Alex Hung Acked-by: Ivan Hu Acked-by: Colin Ian King --- src/cpu/msr/msr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cpu/msr/msr.c b/src/cpu/msr/msr.c index 3a35d3d5..e694c65d 100644 --- a/src/cpu/msr/msr.c +++ b/src/cpu/msr/msr.c @@ -481,6 +481,7 @@ static const msr_info IA32_atom_MSRs[] = { }; static const msr_info IA32_silvermont_MSRs[] = { + { "MSR_PMG_IO_CAPTURE_BASE", 0x000000e4, 0x000000000007ffffULL, NULL }, { NULL, 0x00000000, 0, NULL }, }; From patchwork Fri Jul 12 05:08:20 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Hung X-Patchwork-Id: 1131127 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 45lLYJ0D30z9s7T; Fri, 12 Jul 2019 15:08:36 +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 1hlnnN-0008Ht-Eh; Fri, 12 Jul 2019 05:08:33 +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 1hlnnM-0008HX-28 for fwts-devel@lists.ubuntu.com; Fri, 12 Jul 2019 05:08:32 +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 1hlnnL-000348-93; Fri, 12 Jul 2019 05:08:31 +0000 From: Alex Hung To: fwts-devel@lists.ubuntu.com Subject: [PATCH 2/5] cpu/msr: add MSR_FEATURE_CONFIG to IA32_silvermont_MSRs Date: Thu, 11 Jul 2019 23:08:20 -0600 Message-Id: <20190712050822.21432-3-alex.hung@canonical.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190712050822.21432-1-alex.hung@canonical.com> References: <20190712050822.21432-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: 1:0 AES Configuration (RW-L) 63:2 Reserved Signed-off-by: Alex Hung Acked-by: Ivan Hu Acked-by: Colin Ian King --- src/cpu/msr/msr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cpu/msr/msr.c b/src/cpu/msr/msr.c index e694c65d..1ff4de43 100644 --- a/src/cpu/msr/msr.c +++ b/src/cpu/msr/msr.c @@ -482,6 +482,7 @@ static const msr_info IA32_atom_MSRs[] = { static const msr_info IA32_silvermont_MSRs[] = { { "MSR_PMG_IO_CAPTURE_BASE", 0x000000e4, 0x000000000007ffffULL, NULL }, + { "MSR_FEATURE_CONFIG", 0x0000013c, 0x0000000000000003ULL, NULL }, { NULL, 0x00000000, 0, NULL }, }; From patchwork Fri Jul 12 05:08:21 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Hung X-Patchwork-Id: 1131128 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 45lLYL07rnz9s7T; Fri, 12 Jul 2019 15:08:38 +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 1hlnnP-0008In-H5; Fri, 12 Jul 2019 05:08:35 +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 1hlnnO-0008IR-HC for fwts-devel@lists.ubuntu.com; Fri, 12 Jul 2019 05:08:34 +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 1hlnnN-00034J-U3; Fri, 12 Jul 2019 05:08:34 +0000 From: Alex Hung To: fwts-devel@lists.ubuntu.com Subject: [PATCH 3/5] cpu/msr: add MSR_TEMPERATURE_TARGET to IA32_silvermont_MSRs Date: Thu, 11 Jul 2019 23:08:21 -0600 Message-Id: <20190712050822.21432-4-alex.hung@canonical.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190712050822.21432-1-alex.hung@canonical.com> References: <20190712050822.21432-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: 15:0 Reserved 23:16 Temperature Target (R) 29:24 Target Offset (R/W) Signed-off-by: Alex Hung Acked-by: Ivan Hu Acked-by: Colin Ian King --- src/cpu/msr/msr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cpu/msr/msr.c b/src/cpu/msr/msr.c index 1ff4de43..f08dac65 100644 --- a/src/cpu/msr/msr.c +++ b/src/cpu/msr/msr.c @@ -483,6 +483,7 @@ static const msr_info IA32_atom_MSRs[] = { static const msr_info IA32_silvermont_MSRs[] = { { "MSR_PMG_IO_CAPTURE_BASE", 0x000000e4, 0x000000000007ffffULL, NULL }, { "MSR_FEATURE_CONFIG", 0x0000013c, 0x0000000000000003ULL, NULL }, + { "MSR_TEMPERATURE_TARGET", 0x000001a2, 0x000000003fff0000ULL, NULL }, { NULL, 0x00000000, 0, NULL }, }; From patchwork Fri Jul 12 05:08:22 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Hung X-Patchwork-Id: 1131129 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 45lLYP21sJz9s7T; Fri, 12 Jul 2019 15:08:41 +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 1hlnnS-0008Jh-Is; Fri, 12 Jul 2019 05:08:38 +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 1hlnnR-0008JQ-8u for fwts-devel@lists.ubuntu.com; Fri, 12 Jul 2019 05:08:37 +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 1hlnnQ-00034Q-JZ; Fri, 12 Jul 2019 05:08:36 +0000 From: Alex Hung To: fwts-devel@lists.ubuntu.com Subject: [PATCH 4/5] cpu/msr: add MSR_BBL_CR_CTL3 to IA32_silvermont_MSRs Date: Thu, 11 Jul 2019 23:08:22 -0600 Message-Id: <20190712050822.21432-5-alex.hung@canonical.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190712050822.21432-1-alex.hung@canonical.com> References: <20190712050822.21432-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 L2 Hardware Enabled (RO) 7:1 Reserved 8 L2 Enabled (R/W) 22:9 Reserved 23 L2 Not Present (RO) 63:24 Reserved Signed-off-by: Alex Hung Acked-by: Ivan Hu Acked-by: Colin Ian King --- src/cpu/msr/msr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cpu/msr/msr.c b/src/cpu/msr/msr.c index f08dac65..daa75d57 100644 --- a/src/cpu/msr/msr.c +++ b/src/cpu/msr/msr.c @@ -482,6 +482,7 @@ static const msr_info IA32_atom_MSRs[] = { static const msr_info IA32_silvermont_MSRs[] = { { "MSR_PMG_IO_CAPTURE_BASE", 0x000000e4, 0x000000000007ffffULL, NULL }, + { "MSR_BBL_CR_CTL3", 0x0000011e, 0x0000000000800101ULL, NULL }, { "MSR_FEATURE_CONFIG", 0x0000013c, 0x0000000000000003ULL, NULL }, { "MSR_TEMPERATURE_TARGET", 0x000001a2, 0x000000003fff0000ULL, NULL }, { NULL, 0x00000000, 0, NULL },