Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp4237693imm; Mon, 18 Jun 2018 11:24:49 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJfJycZNktUS2yRVDxbA0lovQy7YGe7C0yemD7MKfbwV0a4/Zhdhk0rpxZuTXvibVauKR/h X-Received: by 2002:a65:5a88:: with SMTP id c8-v6mr11718906pgt.287.1529346289674; Mon, 18 Jun 2018 11:24:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529346289; cv=none; d=google.com; s=arc-20160816; b=qPPFAUaeCerekk0Mo8AuvsxDTz2sCsraHln3WM6/H9TPX3cGY4gUfUUIgwfQ+lDBUw 9BYsfXU2tew+P8RAirfeJKThJbC82pQTK9xO6NFCQw9QqW6ItbjxwCpJIg5KQemMR++n 0GLLiNeaA3SQ84EcbIK6RCU2ePomloRUHv/q+qoiordtW6CdfrGbrFu0kbCgG1lnvFbP b5Km5faN/rJmiRmX7Dx0ljZPQbTDCyWYGEuaLDfvAai/eeDwR7sixhBqL3noHNAeIUe2 BnDagxlB9XIShWa2synFUJMDnXBH5pYlme0eOHC/t5rJtWr0P5IpCL+uD+55ZjTK3Tz9 XjPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=8aGCqYYBRL6s5fE5HTIE3X/T7VXXbN0I1Tm20YmmFnw=; b=IgMFNc79ab8ymkyffa8ftFf0RhEO4ERcpH1lEEI0ptuWXtCF6R+98+S0wCP1nMB1tv meyrBXgdzXPWhg8Ly/SlI4afgm86kBHhMGMHhwAvuf03OSIsE2JN+bWuU/CTcdqQYGPj 0SlfXa0lxn0DDZtyLS0qxUTUjqjV7hjkHnVVRwwUujwqR/YcMHDeRHjE1LWvtqeqhFrt tC63rHecuEG2WDQ7a05Wzbf5ZY/kuG6ePPsWD7MtTq5CvxBuG0EKrCbKI5pjej4jV68w SXtAmRXIQNrpX34LfJOH3VXWT4GaKBX/5EnWPT0qMYajb2aSHfrRPlmZYqYl5whGwSTL xOuQ== 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 v14-v6si12624560pgq.146.2018.06.18.11.24.35; Mon, 18 Jun 2018 11:24:49 -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 S935899AbeFRSXU (ORCPT + 99 others); Mon, 18 Jun 2018 14:23:20 -0400 Received: from mail.skyhub.de ([5.9.137.197]:38934 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935737AbeFRSXT (ORCPT ); Mon, 18 Jun 2018 14:23:19 -0400 X-Virus-Scanned: Nedap ESD1 at mail.skyhub.de Received: from mail.skyhub.de ([127.0.0.1]) by localhost (blast.alien8.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id tQ1sw9rWR28G; Mon, 18 Jun 2018 20:23:18 +0200 (CEST) Received: from zn.tnic (p200300EC2BE29C00329C23FFFEA6A903.dip0.t-ipconnect.de [IPv6:2003:ec:2be2:9c00:329c:23ff:fea6:a903]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 780581EC0136; Mon, 18 Jun 2018 20:23:18 +0200 (CEST) Date: Mon, 18 Jun 2018 20:23:15 +0200 From: Borislav Petkov To: "Suthikulpanit, Suravee" Cc: x86@kernel.org, linux-kernel@vger.kernel.org, tglx@linutronix.de, mingo@redhat.com Subject: Re: [PATCH] x86/CPU/AMD: Fix LLC ID bit-shift calculation Message-ID: <20180618182315.GE24921@zn.tnic> References: <1528915390-30533-1-git-send-email-suravee.suthikulpanit@amd.com> <20180618172048.GD24921@zn.tnic> <8552af6b-c6c6-82d7-9df9-8b928ff3f1d9@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <8552af6b-c6c6-82d7-9df9-8b928ff3f1d9@amd.com> User-Agent: Mutt/1.9.5 (2018-04-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 18, 2018 at 01:14:11PM -0500, Suthikulpanit, Suravee wrote: > This enumeration is only for the family17h model 00-1Fh of hardware > revision. The patch is intended for the future revision of hardware. I realized that but the same holds true for the future revision - there you need to remove thread ID and core ID too, right? -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.