Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp2748063rdb; Mon, 4 Dec 2023 06:36:26 -0800 (PST) X-Google-Smtp-Source: AGHT+IFllG5Zhz91/4TRJMJP458Laa4Jptww2EZl/FbE9Hf2GNJN34VIUtu5mmvqVDLN6tatP2xZ X-Received: by 2002:a05:6a00:889:b0:6ce:2732:295 with SMTP id q9-20020a056a00088900b006ce27320295mr1455693pfj.68.1701700586244; Mon, 04 Dec 2023 06:36:26 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1701700586; cv=pass; d=google.com; s=arc-20160816; b=Je//N3J6rcQYANUPz9vUj274RdUB7cNL0bikQO7jUah8lH3JNNxwa/O3xieUcBLwrY v0Yszl1uy4L6X0MQZgEK4SQo27l48kJUn4342lF3UnOhP7i3TmPTAmq2ffzVAFJkMaVJ neZsH4tKoQbmVWNvJ1GFP7OC3MCFnYO0TQQ10jFClUOiWS3zl48dK+pJe+cYzOJKwGUL yFAiGhVX+k5+zoOYic0Uku3Awp8y0jUtOC6z87FYwFvEf3EuF7r9NgHDSnnhqcXaDrfa Q7jWqjTIotVjlfquberan4hg5sPROB6VH8BK1Io7IjkXYMQSy2BRpIaAQW98Sob2zjzi CNsw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:autocrypt:from:content-language:references:cc:to :subject:user-agent:date:message-id:dkim-signature; bh=kHq5OgFbkMAs38xbjKe7ntU2JZkwIAd2QmaPUO8mCjE=; fh=Ekm6C4uWSQP/UdEZdh0sREve6iJVF0NXuCzkQdnzqwM=; b=PWQnoIxTuw6+CxML7cDT2iHrIp+mGWDdP462luORVJ7ghL/xscefmZrVGjUBPvPg5q O6+HVbSun2WU1YBdJW7/qsgZ3i6rNL0AWNadWEicMSR/AmWjL5Y0Iuwb2shGDks2Zh5q 8K7aVM5wdBHsDQ2Ma2no4cx9avlzG9E6jthdXQdJ0BsUZls4Z3IKeMPL39i9qFvAkqyj qJVRnEG8bDfj5BDyz7EjfWKaqLxWRP/16QuXiFreKQXPmMJTrYaSfDxMceoXr6htLlIN yCm7oEHFAXoTZdB88U/23P1mcXE1/Q5XRPLwvP2w+LlSmQmTm3t7bZwWLTAbfc7F5ktQ bBrg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=sqmhOiUL; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id u12-20020a056a00158c00b006cbee55fe7csi8212822pfk.379.2023.12.04.06.36.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 06:36:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=sqmhOiUL; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 8AA5280AD092; Mon, 4 Dec 2023 06:36:21 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345266AbjLDOgG (ORCPT + 99 others); Mon, 4 Dec 2023 09:36:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53790 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233871AbjLDOgD (ORCPT ); Mon, 4 Dec 2023 09:36:03 -0500 Received: from NAM04-BN8-obe.outbound.protection.outlook.com (mail-bn8nam04on2076.outbound.protection.outlook.com [40.107.100.76]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A1C7D100 for ; Mon, 4 Dec 2023 06:36:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QJJh5rWUIqR7piilQAhFhx8HwTkkYp00U85R1hndvLVuhDYHSITTds0iKKubjgEV04WTItEbXfcqB/a/P/rV7O1/hQa5T0JC1As3sNI6F5MAaof1lkNoaXLv5HWxywTg7ZWs7CIGSHUEBCte3WHGi++QcDuj1LGlz/VLfosvMTBMacKlZAvFpBqr4Ez2ycotM583rFfH1UeYZSDtkhkO0VJprkZIl3qqwOhlc6GVEgpdZmjbQki4TpyipjqFTOpxQsaeyTrJZPZX7fIv510Hi7RoH1DUtfVtn5BCuKMb51ajDoUYgKtCtvSZxQTT7Bz9Rf2+RxgpmWfwsK9As/8wIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=kHq5OgFbkMAs38xbjKe7ntU2JZkwIAd2QmaPUO8mCjE=; b=PrBjfkJ4rlIfXkiQ7g0v7qhuK6mh2dujSfYW5fUOoAGj+8Gk0ESP3RHvAcss3Hg6Y04/0I4qHLYPetCkSJzTRkZ7DevzlS/vR8D8FkLAIqzNZDQPNR9p5F6RwcNkYAwBsjhodHVYTECdbg+iHkgdzchKZ+59oi+Gx5WLmI2CYu/mnwDgztQ613c5q42urKy119+r3x7lFKxx8oj1FWeOF3JHTv14rzlGXri3XdSH+vJ6WReNTFY122feyFtibsuKnE/anQLSQWsFbaFJKOjPOx77/CmP25C8c+oW/4Vy1iiD3aXEHnOrPPkcqGt0/gMcvuBm/hW0HG4I/u4sl7aRxQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=kHq5OgFbkMAs38xbjKe7ntU2JZkwIAd2QmaPUO8mCjE=; b=sqmhOiULZdeGIDq7LC9hgyVumNLkiL3tRi+NcuRjzOc2xZp2SivLChg16IVwhA5AHNTX/YYRzZEUeeXk/JVj6n6i9t4P9fK6//eSYjcaAfKtmx+DmqSP/hNebkicd1jX+lEunVW80plo3zZYM5ePe6ShzOy2Dqqxuxk4piDU/h0= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from BL1PR12MB5732.namprd12.prod.outlook.com (2603:10b6:208:387::17) by SN7PR12MB8435.namprd12.prod.outlook.com (2603:10b6:806:2e2::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7046.33; Mon, 4 Dec 2023 14:36:06 +0000 Received: from BL1PR12MB5732.namprd12.prod.outlook.com ([fe80::1d68:1eb8:d7dc:4b43]) by BL1PR12MB5732.namprd12.prod.outlook.com ([fe80::1d68:1eb8:d7dc:4b43%6]) with mapi id 15.20.7046.034; Mon, 4 Dec 2023 14:36:06 +0000 Message-ID: <255f23c8-5c89-47cd-ad97-7f5f0b07d645@amd.com> Date: Mon, 4 Dec 2023 08:36:04 -0600 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] x86/CPU/AMD: Add X86_FEATURE_ZEN1 To: Borislav Petkov , Brian Gerst Cc: X86 ML , LKML References: <20231120104152.13740-1-bp@alien8.de> <20231120104152.13740-2-bp@alien8.de> <20231130171316.GLZWjCrHGHl+VVp724@fat_crate.local> <16400d3d-8264-4f3f-96ca-168064944462@amd.com> <20231130185048.GMZWjZiIjhpjrv4rPf@fat_crate.local> <20231202124901.GBZWsnvQct4PxsUsXK@fat_crate.local> Content-Language: en-US From: Tom Lendacky Autocrypt: addr=thomas.lendacky@amd.com; keydata= xsFNBFaNZYkBEADxg5OW/ajpUG7zgnUQPsMqWPjeAxtu4YH3lCUjWWcbUgc2qDGAijsLTFv1 kEbaJdblwYs28z3chM7QkfCGMSM29JWR1fSwPH18WyAA84YtxfPD8bfb1Exwo0CRw1RLRScn 6aJhsZJFLKyVeaPO1eequEsFQurRhLyAfgaH9iazmOVZZmxsGiNRJkQv4YnM2rZYi+4vWnxN 1ebHf4S1puN0xzQsULhG3rUyV2uIsqBFtlxZ8/r9MwOJ2mvyTXHzHdJBViOalZAUo7VFt3Fb aNkR5OR65eTL0ViQiRgFfPDBgkFCSlaxZvc7qSOcrhol160bK87qn0SbYLfplwiXZY/b/+ez 0zBtIt+uhZJ38HnOLWdda/8kuLX3qhGL5aNz1AeqcE5TW4D8v9ndYeAXFhQI7kbOhr0ruUpA udREH98EmVJsADuq0RBcIEkojnme4wVDoFt1EG93YOnqMuif76YGEl3iv9tYcESEeLNruDN6 LDbE8blkR3151tdg8IkgREJ+dK+q0p9UsGfdd+H7pni6Jjcxz8mjKCx6wAuzvArA0Ciq+Scg hfIgoiYQegZjh2vF2lCUzWWatXJoy7IzeAB5LDl/E9vz72cVD8CwQZoEx4PCsHslVpW6A/6U NRAz6ShU77jkoYoI4hoGC7qZcwy84mmJqRygFnb8dOjHI1KxqQARAQABzSZUb20gTGVuZGFj a3kgPHRob21hcy5s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GF+ 6irTe/qtb/1CMFFtcqDorjI3hkc10N0jzPOsjS8bhpwKeUwGsgvXWGEqwlEDs2rswfAU/tGZ 7L30CgQ9itbxnlaOz1LkKOTuuxx4A+MDMCHbUMAAP9Eoh/L1ZU0z71xDyJ53WPBd9Izfr9wJ 1NhFSLKvfA== In-Reply-To: <20231202124901.GBZWsnvQct4PxsUsXK@fat_crate.local> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: SA1PR04CA0014.namprd04.prod.outlook.com (2603:10b6:806:2ce::20) To BL1PR12MB5732.namprd12.prod.outlook.com (2603:10b6:208:387::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL1PR12MB5732:EE_|SN7PR12MB8435:EE_ X-MS-Office365-Filtering-Correlation-Id: 747577cd-bb88-4c6a-716e-08dbf4d65953 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: sBDqBm65CM9CKMj3mhbQ4ZpOG/OhRLgAzs91uSDc5B5xGLiMhuB4rnlp9g9Gr9Xc836AQFm9fD2YTONZMIHoWrGo6TCZIK1+zt4zLRHv7FD3rSIBJmE2OY/0BkucXC7XH8SFWIA5i5cQAZoQKtYTw7FRu8q82oI9qzFvfLpBxeuIp9Vk0HB+CbdXw/Qf9ZGveg2mGSIZYN8fLr3VcbIY/GVYYwX7vVpWZDeRhHRBYJb4T//ogHIBITmqm1AOo+PPaiOpql62We3Ie48GnMukw3vefRffb4QIOPJvLWeaHQFtXunICQM7ujb5cXnrr7KllpKXT7tWOBkpdnPZSaEqybzgK5ctImBFvTrKwHD+emey959scX2onFign7S1jr8jRy8YFi/nKqDMUQrlugzKQTIv3IySrQoxX+YO9D5B+jpaCIQowSJaoPhndOsWxRgNOKSm/IDlElWxaX/cCpORiztnmhv+U78GpeE6TpfcrikRnpCIwGd1+fY8NNUT5cgrqN4D75ggyOA28QrJMGr5xk+N56yR+6FSwYv97jzCUZ7CVe/oc4rqW0q6QE5XMBTBbv87wBc75lPm36imvPbfl686RMCxYEHM9dfPLPuU+/ikgHwSvm+XwfmcN2egguiJ+LSqtSMv5HBVZxFDxe73cQ== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BL1PR12MB5732.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(346002)(376002)(39860400002)(396003)(136003)(366004)(230922051799003)(1800799012)(64100799003)(451199024)(186009)(26005)(478600001)(966005)(6486002)(6512007)(6506007)(53546011)(36756003)(2616005)(316002)(110136005)(66476007)(54906003)(66946007)(66556008)(31686004)(38100700002)(5660300002)(4326008)(86362001)(2906002)(8936002)(8676002)(4744005)(31696002)(41300700001)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?b2RwcFZjLzNBeVVsOGY3c1RsY3J4RnZYVVg4dHgxdWJWU2FaUnpHNGhyc3g2?= =?utf-8?B?bnRSS3lhUXpPK1lZdWUwME1ZdkFvdGFTTkx4VUt0dzZpSmhiQXE0MFNmb3py?= =?utf-8?B?SUt5Nm5MeVVEK1ZEV0Y5UkdLNVFoQjZaeHpGa2JSZW85VmZ4UG5GaTZ2UlRV?= =?utf-8?B?L2c1YThiUDNrcERONUY0d21MMUNnMVQxSHRvRG8rejZTNkZSejJlem12Qkds?= =?utf-8?B?V1dUZVhmVVZvbTVDTWpZMU1nT2dGa1o4VGlDV2lmNElkak9SeDAyTWRoV0hL?= =?utf-8?B?RHpWeXYxWTNqandXN2ZxM1ZlOGNJSXFzV3p1QmV3ZzMwanJRN3F1MUU5cEZK?= =?utf-8?B?R0IrQlVjQ1FNVEJEQ2dmRXEzckpuNlRJS2JITnBVTFcrV3J0d1FNYkhWTkE1?= =?utf-8?B?M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08dbf4d65953 X-MS-Exchange-CrossTenant-AuthSource: BL1PR12MB5732.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Dec 2023 14:36:06.3128 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: SMJNDzV92Rb7a8XVTRw5T1g8s8yfn471ILqC79yfMUDuqttTDOlKmW8tINCiL0PNq7rPVhnQUjvoGEIaPIsnAA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR12MB8435 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,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 howler.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 (howler.vger.email [0.0.0.0]); Mon, 04 Dec 2023 06:36:21 -0800 (PST) On 12/2/23 06:49, Borislav Petkov wrote: > From: "Borislav Petkov (AMD)" > Date: Sat, 2 Dec 2023 12:50:23 +0100 > > Add a synthetic feature flag specifically for first generation Zen > machines. There's need to have a generic flag for all Zen generations so > make X86_FEATURE_ZEN be that flag. > > Fixes: 30fa92832f40 ("x86/CPU/AMD: Add ZenX generations flags") > Suggested-by: Brian Gerst > Suggested-by: Tom Lendacky > Signed-off-by: Borislav Petkov (AMD) > Link: https://lore.kernel.org/r/dc3835e3-0731-4230-bbb9-336bbe3d042b@amd.com > --- > > - if (boot_cpu_has(X86_FEATURE_ZEN)) > + if (boot_cpu_has(X86_FEATURE_ZEN1)) > init_amd_zen(c); Should this be renamed to init_amd_zen1(), just to avoid confusion? Thanks, Tom > else if (boot_cpu_has(X86_FEATURE_ZEN2)) > init_amd_zen2(c);