Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1019197pxu; Wed, 2 Dec 2020 09:03:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJxOpO+35PRTaF+mi+1McybN9zbGIIy0Se5oV/bnRrCgb7ZAIrBU8bGv5L+ur00NhmWtBwUH X-Received: by 2002:a50:af21:: with SMTP id g30mr850816edd.46.1606928628245; Wed, 02 Dec 2020 09:03:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606928628; cv=none; d=google.com; s=arc-20160816; b=Vr6rEI2UnXcg7q17aLmdC8uPiKMclPf82AR84poAPBUluwjgQB/SC6dbmT1ZV32kDm wuMHX2nfshr5OGg+x3rJJEO0UFPf+faZh4TvwmzlRUFkynYj3FDUcVaxwb2vBHEQCFoK dX+9KTOzkY5KANmUFwhKXMBt0VD2HkoLpCP9iPG9Yy7zz/eNCa5w0/tDIK7No5cB+gk2 xPYEh88xp0OnZJN8FMshx7HcCFViTdfbIbD4tAh2LEfaAi4wdVa0xhrcTuzMV5fJkHow ySidUWHwppjck7g8QZXXQaS9wGGRR2JfzxGXXLt+KyrsrxFGy3bwW10FpJAwKmo7IVUi u6zg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=4SYz5A8E74jG9es8toNezShE0M+RoGJkzH20/QYIE8Q=; b=A+7yAtJLTPewmsvJTH2ZH9JfOW8exeqzb7A0wv2WUSDiaSHUnOmI5hoOlWqtzG4cCQ SbbR9qlGpm8u6uN45AxqZuK8yd0msZIYEqyNf3PsccpJibaVuC6xAqyi+zL32saIyeVx SlVE4iAPu1yWh5SW0cAxVnrXpbtygqYaLHar/lMVPINSFnPlEI/9w0s3TBRqogjNMu3R SBGlgQdFT8FjRDO7FAI2CMjD+EmhOcfUEUjBc9Fqkvr1UAf7U3kF8+/WEOI6vP9+X/lU y6cvdfHgJ2EFZNt5AoqYskpUMsIxzIZyTQZSNR2r19trTxXMWaFriNQE/48Y3BBEEfcN j+zQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=fpKVI19D; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f5si287196ejd.332.2020.12.02.09.03.21; Wed, 02 Dec 2020 09:03:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=fpKVI19D; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387468AbgLBQ6r (ORCPT + 99 others); Wed, 2 Dec 2020 11:58:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37526 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387406AbgLBQ6q (ORCPT ); Wed, 2 Dec 2020 11:58:46 -0500 Received: from mail.skyhub.de (mail.skyhub.de [IPv6:2a01:4f8:190:11c2::b:1457]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 93450C0617A7; Wed, 2 Dec 2020 08:58:06 -0800 (PST) Received: from zn.tnic (p200300ec2f161b00329c23fffea6a903.dip0.t-ipconnect.de [IPv6:2003:ec:2f16:1b00: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 830941EC0445; Wed, 2 Dec 2020 17:58:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1606928281; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=4SYz5A8E74jG9es8toNezShE0M+RoGJkzH20/QYIE8Q=; b=fpKVI19DRZhZmRzIpX8nD+aXjuLlXCOm02tH82sa9bq7Y6m+wbwlu3u8qBqv72UQiCr8JJ eCm5oO5T0c62yTbboKrocW20ScDjRb+QqpAf4VbxXc7Y14wKlKOvEb9qStOCrqq7PSY/Rw ojogo8+WDa62XDentxhYItfMIm1PgGE= Date: Wed, 2 Dec 2020 17:57:56 +0100 From: Borislav Petkov To: Punit Agrawal Cc: rjw@rjwysocki.net, wei.huang2@amd.com, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, x86@kernel.org, Thomas Gleixner , Ingo Molnar , Tom Lendacky , Yazen Ghannam Subject: Re: [RFC PATCH 3/4] x86/cpu: amd: Define processor families Message-ID: <20201202165756.GE2951@zn.tnic> References: <20201125144847.3920-1-punitagrawal@gmail.com> <20201125144847.3920-4-punitagrawal@gmail.com> <20201130140018.GC6019@zn.tnic> <87pn3s2t5d.fsf@stealth> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <87pn3s2t5d.fsf@stealth> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 02, 2020 at 11:13:02PM +0900, Punit Agrawal wrote: > Didn't realize the core was internal only. F10h is not internal only - all I'm saying is that "K10" wasn't use inside AMD AFAIR. > Makes sense - I will follow your suggestion in the next version. Well, I don't think it is worth the churn, TBH. I'd prefer comments over the f/m/s checks which explain what is matched much better than defines for family numbers which are inadequate when one needs to match the model too, for one. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette