Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp499018rdb; Thu, 30 Nov 2023 10:05:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IHecY8F7Kn4etslDUBkKIVUJXPS63GyMx+H25Bp1ZwyYXiYKT3Fz+omL1EeP8GGUgph+Pfi X-Received: by 2002:a17:90b:33d0:b0:285:dbc9:dc18 with SMTP id lk16-20020a17090b33d000b00285dbc9dc18mr13951675pjb.38.1701367512316; Thu, 30 Nov 2023 10:05:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701367512; cv=none; d=google.com; s=arc-20160816; b=TcV1MBHsCV9dHhRudehs0zH5uN6zaEtnp/pAgSSWhci099D4TXYjSsSzKE8c/CSyrM sR/AxA5bgJCk3NEvZ6abM24Z5UXiZReJS1DGRy9ICE3TjkC8JspbvdTHKRg7L1hTyDVs xSuWZbJtYFHn1U+jLky7/b6wkZu5GIaBGzoeYCCJPISkq0Yaz80w+c6R2lrsZZ9Pgkqe Vw/GLbGC2qm/lEb0Gt7d8dyVvWb/OJ1kW6fp2Bq2sN9aotCjROv42Xz2E8eMWug+oEPj tMmfKcH7yxROdkgGoBcFOwrjjZ3IfWSkY6IVe53xoLw5XyF6iC0+Ix2qf2IX/QcMfX/b xVeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=R6d9jPwSWN6yLTXx2alJGabuq1uAhjr4p52aUUSqzQY=; fh=AdOjMhov6MC9JVqTlxF7qVDXAkpK2fAiq5OreUclPxs=; b=gmMD5uZSQk0zbyOgMTA5KSUDsfv3cLudaW4z8HGoWp6huC+KWzIj7iO/IrLec1CanU wjgeUVjOOFsYvxrJ+pHKfNqaEDJxIyNoSVyGK/ebZkSm/DozSJszyxuMYeLgEsgBlXou kmR36A+4tmKZj5R1z0pwuVOd4jodcmd7wkj6dPduoCxRJCCIm5Uh1XsQvgFn8+tJbElQ LaYue3hD8iGHOETaTJrkzN1euNaRSW8ZdnFGg0nHCEF/wt1B0oxGZZC9eVVyKejF1qsT x0X60URP+XsygXMToy3WmakgndP0Drhb4wFJU7zAdWw119xig30gfjpjhTXcQbfUAanV FFhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=hynOf0zo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id a1-20020a17090a688100b00285a3d6ee55si854412pjd.27.2023.11.30.10.05.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 10:05:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=hynOf0zo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 8FB6980740F2; Thu, 30 Nov 2023 10:05:09 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346701AbjK3SE4 (ORCPT + 99 others); Thu, 30 Nov 2023 13:04:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34634 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231958AbjK3SEz (ORCPT ); Thu, 30 Nov 2023 13:04:55 -0500 Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 05D2010D9 for ; Thu, 30 Nov 2023 10:05:01 -0800 (PST) Received: by mail-wr1-x434.google.com with SMTP id ffacd0b85a97d-3316d09c645so1086982f8f.0 for ; Thu, 30 Nov 2023 10:05:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701367499; x=1701972299; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=R6d9jPwSWN6yLTXx2alJGabuq1uAhjr4p52aUUSqzQY=; b=hynOf0zoKM+k6MEXIrdpc/GrWOCScOFVh5MNjgggP0MOeL0LH4UCRcbPg7rSeR5BGO fyKerwNrq3KZVKSBNSQUj726J03Zfq9/htBhNNiEdjP/1pYGw2cnvr6R3Vm4CoAazdSw tGyU8GOS9YW8x7Fj68VRuRQu1cqnKGbhgPEb9vjCq9Xn+MPwlRdbJ+LG4TF1WpQnJCco aBa7XWmmAiPjEUf8TuZD6o2QxyWCqN2VBg+2bunKNfTmVbetbmdnnWZHrM1X/A4bLXcG 3CyOhCEJar+5gSRZ01hqWDlJFjIrHN7Lc/Ad459ljBoRMP44hzcNqX/Txvqgd4hKkLJL Gbrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701367499; x=1701972299; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=R6d9jPwSWN6yLTXx2alJGabuq1uAhjr4p52aUUSqzQY=; b=PZO3SaPApfYAyM4YCMscKNoiXDzpAdsGZinKnzs617iwYSeM+1oLjAUijsdufRxQI2 //cHQB3hT2nauZ8QwQnRK71ohv1tPGm4sk9i+Y9p1SrAh/HusmrGxOBu6VfPhxmdxYPk KLMkSH19NhBYfbOVYgEHBzPVQvG1ug1VGziVslBSLZr7eHnkeraRgGBNER2CkuTcgNDR AECr8jvtsnjfKch/vxOWoxoSFYUADWjGAuCGLfDRDD/0PwUVZliCm1kog4K6hIjW6V3h hNoU5qmfgcfOKIHSxHEs5KvUzJgCIwzDLVrZlPCjkKWXEAIpPN1rqId3SkYp691M/lyf Fo6Q== X-Gm-Message-State: AOJu0YwVeKR2v6ds0kq7SlYv9Ml2dWeyPOwZ0HSHovJADi9OoCDDMllK hwNLSdst/1sDNWn7BlxI+ZjE73WaKyFUuXBlzao7VXyRdQ== X-Received: by 2002:ac2:531b:0:b0:50b:d48a:4485 with SMTP id c27-20020ac2531b000000b0050bd48a4485mr2130lfh.57.1701365468422; Thu, 30 Nov 2023 09:31:08 -0800 (PST) MIME-Version: 1.0 References: <20231120104152.13740-1-bp@alien8.de> <20231120104152.13740-2-bp@alien8.de> <20231130171316.GLZWjCrHGHl+VVp724@fat_crate.local> In-Reply-To: <20231130171316.GLZWjCrHGHl+VVp724@fat_crate.local> From: Brian Gerst Date: Thu, 30 Nov 2023 12:30:57 -0500 Message-ID: Subject: Re: [PATCH 01/13] x86/CPU/AMD: Add ZenX generations flags To: Borislav Petkov Cc: Tom Lendacky , X86 ML , LKML Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Thu, 30 Nov 2023 10:05:09 -0800 (PST) On Thu, Nov 30, 2023 at 12:14=E2=80=AFPM Borislav Petkov wro= te: > > On Thu, Nov 30, 2023 at 11:05:14AM -0600, Tom Lendacky wrote: > > Previously just being family 17h or 19h would get X86_FEATURE_ZEN set. = With > > this, if the model check doesn't match, you won't get any X86_FEATURE_Z= EN* > > set. Should you do set X86_FEATURE_ZEN here, e.g. lowest common denomin= ator > > for the family? > > My assumption/expectation is that those WARNs should never happen > because they will be caught early enough in enablement and I will get > patches. > > Besides, X86_FEATURE_ZEN means only Zen1 now. It should be renamed to X86_FEATURE_ZEN1 for clarity. Brian Gerst