{"id":801889,"url":"http://patchwork.ozlabs.org/api/1.2/patches/801889/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/patch/1502862122-14771-2-git-send-email-bmeng.cn@gmail.com/","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/1.2/projects/18/?format=json","name":"U-Boot","link_name":"uboot","list_id":"u-boot.lists.denx.de","list_email":"u-boot@lists.denx.de","web_url":null,"scm_url":null,"webscm_url":null,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<1502862122-14771-2-git-send-email-bmeng.cn@gmail.com>","list_archive_url":null,"date":"2017-08-16T05:41:50","name":"[U-Boot,01/13] x86: tsc: Add Airmont reference clock values","commit_ref":"3df39ef10704e82a61972fe2f71b6ff4466b7724","pull_url":null,"state":"accepted","archived":false,"hash":"1b3b416c61b9fd540d8bd2be25f4940717c13434","submitter":{"id":64981,"url":"http://patchwork.ozlabs.org/api/1.2/people/64981/?format=json","name":"Bin Meng","email":"bmeng.cn@gmail.com"},"delegate":{"id":56520,"url":"http://patchwork.ozlabs.org/api/1.2/users/56520/?format=json","username":"bmeng","first_name":"Bin","last_name":"Meng","email":"bmeng.cn@gmail.com"},"mbox":"http://patchwork.ozlabs.org/project/uboot/patch/1502862122-14771-2-git-send-email-bmeng.cn@gmail.com/mbox/","series":[],"comments":"http://patchwork.ozlabs.org/api/patches/801889/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/801889/checks/","tags":{},"related":[],"headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"aPIJ/cLC\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xXJ6g6Qdmz9s4q\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 16 Aug 2017 15:38:35 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 9E14EC21E15; Wed, 16 Aug 2017 05:38:02 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id D64E5C21DFA;\n\tWed, 16 Aug 2017 05:37:44 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid D33D9C21D94; Wed, 16 Aug 2017 05:37:41 +0000 (UTC)","from mail-it0-f68.google.com (mail-it0-f68.google.com\n\t[209.85.214.68])\n\tby lists.denx.de (Postfix) with ESMTPS id 318F5C21C2F\n\tfor <u-boot@lists.denx.de>; Wed, 16 Aug 2017 05:37:41 +0000 (UTC)","by mail-it0-f68.google.com with SMTP id s132so1875996ita.1\n\tfor <u-boot@lists.denx.de>; Tue, 15 Aug 2017 22:37:41 -0700 (PDT)","from ala-d2121-lx1.wrs.com (unknown-156-139.windriver.com.\n\t[147.11.156.139])\n\tby smtp.gmail.com with ESMTPSA id g13sm30442ioi.0.2017.08.15.22.37.38\n\t(version=TLS1_1 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tTue, 15 Aug 2017 22:37:39 -0700 (PDT)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-0.0 required=5.0 tests=FREEMAIL_FROM,\n\tRCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,\n\tT_DKIM_INVALID\n\tautolearn=unavailable autolearn_force=no version=3.4.0","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=from:to:subject:date:message-id:in-reply-to:references;\n\tbh=L13Y/VCtUTmWZI/eJP0hvQzVQQpQTQ5mc4OF0ty56SQ=;\n\tb=aPIJ/cLCiVeMnwg0+PWJ8MMDhGNn7tB3xQ5hDx4w3ybw5op0chXnZHB0fSccFqTN6R\n\tBNV5KsUBVukAJ9PLdtvZ4nvEQ8fSssuclNc/kHC0+zdtoAhfXcwBsiUeG/rZJV0jM7CC\n\tZrG8ATIigkhh4Z20S3vwQ8X912SItH6vkgkzGrkM7FMSX8t4B/V6uhmSjDDFE94p3G6J\n\tYcBqLOAUxXnEnDYmzxjOep9WO+nW8Aei4rRk+7jg+ZuSsiqY9t6IkRF2YKfyHFRWHxkw\n\tm/gDjJIoHc7csIBixOh/ASyyk5nWRM9lkA75E0M6y3B2SM1bMbp7l/ije/nNKF3GFO4n\n\tnSCQ==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=L13Y/VCtUTmWZI/eJP0hvQzVQQpQTQ5mc4OF0ty56SQ=;\n\tb=aWXKtlzz3dCCtdfw0nktjNVCKQ5sffSaevcBp+/nFC7Xyd3uQjeyEkp5ANYrUr4Gr7\n\tT6Msu3nWNsY0ws+hybb/XeM8Y/kvfB17r+NJXQVCLwa66wA7Lb6BZ67B0UygLHeij0vQ\n\tTK3ldJ4n7cKI0weta3+G/Ibcet7Q9DzXhJo62Qgo9FfEM1l3WhyCV0hvIvHsCXE9gqlC\n\tUTJ9wGIdMIueU7t0h588vpv2FUAn4Yjs+QjULor3ivgq+0aGu9zBIH1ylrZGvT+QYh2W\n\t0pCnXRGxNplTT3tumG9C/O8VzeAZgtUkvgmvXL5HpE4jfzm8H+hNktE7lVdDxF0gq1vw\n\trfMw==","X-Gm-Message-State":"AHYfb5iAmNk8yav0cA1CGkoq0VxyLaahKuF0lUILS/Gbq5IKKRK5s1wF\n\t69yI+oeXfBVks0Dq","X-Received":"by 10.36.173.37 with SMTP id c37mr977931itf.94.1502861860157;\n\tTue, 15 Aug 2017 22:37:40 -0700 (PDT)","From":"Bin Meng <bmeng.cn@gmail.com>","To":"Simon Glass <sjg@chromium.org>,\n\tU-Boot Mailing List <u-boot@lists.denx.de>","Date":"Tue, 15 Aug 2017 22:41:50 -0700","Message-Id":"<1502862122-14771-2-git-send-email-bmeng.cn@gmail.com>","X-Mailer":"git-send-email 1.7.9.5","In-Reply-To":"<1502862122-14771-1-git-send-email-bmeng.cn@gmail.com>","References":"<1502862122-14771-1-git-send-email-bmeng.cn@gmail.com>","Subject":"[U-Boot] [PATCH 01/13] x86: tsc: Add Airmont reference clock values","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.18","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<http://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>"},"content":"Per the Intel 64 and IA-32 Architecture Software Developer's Manual,\nadd the reference clock for Intel Atom Processors based on the Airmont\nMicroarchitecture (Braswell).\n\nThis keeps in sync with Linux kernel commit:\n  6fcb41c: x86/tsc_msr: Add Airmont reference clock values\n\nSigned-off-by: Bin Meng <bmeng.cn@gmail.com>\n---\n\n drivers/timer/tsc_timer.c | 17 ++++++++++-------\n 1 file changed, 10 insertions(+), 7 deletions(-)","diff":"diff --git a/drivers/timer/tsc_timer.c b/drivers/timer/tsc_timer.c\nindex 4d1fc9c..77040af 100644\n--- a/drivers/timer/tsc_timer.c\n+++ b/drivers/timer/tsc_timer.c\n@@ -18,7 +18,7 @@\n #include <asm/msr.h>\n #include <asm/u-boot-x86.h>\n \n-#define MAX_NUM_FREQS\t8\n+#define MAX_NUM_FREQS\t9\n \n DECLARE_GLOBAL_DATA_PTR;\n \n@@ -40,17 +40,20 @@ struct freq_desc {\n \n static struct freq_desc freq_desc_tables[] = {\n \t/* PNW */\n-\t{ 6, 0x27, 0, { 0, 0, 0, 0, 0, 99840, 0, 83200 } },\n+\t{ 6, 0x27, 0, { 0, 0, 0, 0, 0, 99840, 0, 83200, 0 } },\n \t/* CLV+ */\n-\t{ 6, 0x35, 0, { 0, 133200, 0, 0, 0, 99840, 0, 83200 } },\n+\t{ 6, 0x35, 0, { 0, 133200, 0, 0, 0, 99840, 0, 83200, 0 } },\n \t/* TNG - Intel Atom processor Z3400 series */\n-\t{ 6, 0x4a, 1, { 0, 100000, 133300, 0, 0, 0, 0, 0 } },\n+\t{ 6, 0x4a, 1, { 0, 100000, 133300, 0, 0, 0, 0, 0, 0 } },\n \t/* VLV2 - Intel Atom processor E3000, Z3600, Z3700 series */\n-\t{ 6, 0x37, 1, { 83300, 100000, 133300, 116700, 80000, 0, 0, 0 } },\n+\t{ 6, 0x37, 1, { 83300, 100000, 133300, 116700, 80000, 0, 0, 0, 0 } },\n \t/* ANN - Intel Atom processor Z3500 series */\n-\t{ 6, 0x5a, 1, { 83300, 100000, 133300, 100000, 0, 0, 0, 0 } },\n+\t{ 6, 0x5a, 1, { 83300, 100000, 133300, 100000, 0, 0, 0, 0, 0 } },\n+\t/* AMT - Intel Atom processor X7-Z8000 and X5-Z8000 series */\n+\t{ 6, 0x4c, 1, { 83300, 100000, 133300, 116700,\n+\t\t\t80000, 93300, 90000, 88900, 87500 } },\n \t/* Ivybridge */\n-\t{ 6, 0x3a, 2, { 0, 0, 0, 0, 0, 0, 0, 0 } },\n+\t{ 6, 0x3a, 2, { 0, 0, 0, 0, 0, 0, 0, 0, 0 } },\n };\n \n static int match_cpu(u8 family, u8 model)\n","prefixes":["U-Boot","01/13"]}