Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3720057imm; Mon, 18 Jun 2018 02:57:43 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJLT+NkdlaQcRPXyJL6OrNWJL6FAnEVG/0wVu1TW4chN0B2UNuwW/Q3Y+Qp9qYJJwrQ6MJQ X-Received: by 2002:a62:ba13:: with SMTP id k19-v6mr12730370pff.245.1529315863668; Mon, 18 Jun 2018 02:57:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529315863; cv=none; d=google.com; s=arc-20160816; b=OuuN5F2svAL/5kE0cSxqBdoFAKNFGJRbt0uWc3+xtY7F700uXYlsMhCiIDwIhMCL0b MBhH06kAvArYnL2LAP0fnLvy87CGqui5Dtzb29tJJY/Zr1s5/EBsLmY/ltDS8j35Wccv qb5kuil0XmvjfuKJYuKGPmc8/AOMsJ0dR8IUo5rO1xjWPPb7IhmyuynACXmsOpLK1tGR yvLFJXugLxBfRROzT1fguN+MeTVUP3llc4olo025WDOBPimLt2+XuPdpfBoTDYHnB8Dj 6Wh4nLvJYPtI4ylVrS/7w0k93DNbOf0S3SGeqJ7Vri/TyTEPF3d5c4cg3h9D8tZsm8Lc /xBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=HeaogT0bwI82MrKixsO9PHAYWOmjnjXCvG+4zjFSABw=; b=04aKN+ki+sB3IdPVBgBb6fHpcZP1tRPiJMYkol3DU7qO8zMdF3xU5oWk4KUAzvg5vp ee6ZGyLVPaZFj71DaICUDojKxRmp2DsZujRk0HnB48QWKI3zYIwCM9I5HUxgls8O4Eoc kE/OqkBb2I5ZYC7nWhWLGDqlqbu3pDQhSSl6ius96bkcEYiEP+3O9OmNmobleuQswSPV qwDvNZ83uu/0crh5Uc/ecZrx95ccpG1u3dXP7O2XKJmb9Ni7npmTBcqTFp3x4rN62E9D 9kK3ZfqhXcbmFAgyhBvX5lkzWecRA+fzTrzuER5gndA11IM7gcZjU1LQEdi3dofkEsVo oTvQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n21-v6si9992853plp.31.2018.06.18.02.57.29; Mon, 18 Jun 2018 02:57:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964977AbeFRJ4U (ORCPT + 99 others); Mon, 18 Jun 2018 05:56:20 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:55002 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935308AbeFRIUI (ORCPT ); Mon, 18 Jun 2018 04:20:08 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 8DE2AC3C; Mon, 18 Jun 2018 08:20:07 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Jacek Tomaka , Thomas Gleixner , Sasha Levin Subject: [PATCH 4.16 110/279] x86/cpu/intel: Add missing TLB cpuid values Date: Mon, 18 Jun 2018 10:11:35 +0200 Message-Id: <20180618080613.375395183@linuxfoundation.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180618080608.851973560@linuxfoundation.org> References: <20180618080608.851973560@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.16-stable review patch. If anyone has any objections, please let me know. ------------------ From: "jacek.tomaka@poczta.fm" [ Upstream commit b837913fc2d9061bf9b8c0dd6bf2d24e2f98b84a ] Make kernel print the correct number of TLB entries on Intel Xeon Phi 7210 (and others) Before: [ 0.320005] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0 After: [ 0.320005] Last level dTLB entries: 4KB 256, 2MB 128, 4MB 128, 1GB 16 The entries do exist in the official Intel SMD but the type column there is incorrect (states "Cache" where it should read "TLB"), but the entries for the values 0x6B, 0x6C and 0x6D are correctly described as 'Data TLB'. Signed-off-by: Jacek Tomaka Signed-off-by: Thomas Gleixner Link: https://lkml.kernel.org/r/20180423161425.24366-1-jacekt@dugeo.com Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- arch/x86/kernel/cpu/intel.c | 3 +++ 1 file changed, 3 insertions(+) --- a/arch/x86/kernel/cpu/intel.c +++ b/arch/x86/kernel/cpu/intel.c @@ -751,6 +751,9 @@ static const struct _tlb_table intel_tlb { 0x5d, TLB_DATA_4K_4M, 256, " TLB_DATA 4 KByte and 4 MByte pages" }, { 0x61, TLB_INST_4K, 48, " TLB_INST 4 KByte pages, full associative" }, { 0x63, TLB_DATA_1G, 4, " TLB_DATA 1 GByte pages, 4-way set associative" }, + { 0x6b, TLB_DATA_4K, 256, " TLB_DATA 4 KByte pages, 8-way associative" }, + { 0x6c, TLB_DATA_2M_4M, 128, " TLB_DATA 2 MByte or 4 MByte pages, 8-way associative" }, + { 0x6d, TLB_DATA_1G, 16, " TLB_DATA 1 GByte pages, fully associative" }, { 0x76, TLB_INST_2M_4M, 8, " TLB_INST 2-MByte or 4-MByte pages, fully associative" }, { 0xb0, TLB_INST_4K, 128, " TLB_INST 4 KByte pages, 4-way set associative" }, { 0xb1, TLB_INST_2M_4M, 4, " TLB_INST 2M pages, 4-way, 8 entries or 4M pages, 4-way entries" },