Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3872295rdb; Thu, 14 Sep 2023 05:31:31 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGCG66CpagPv/bq7XGrY7orWumeNQdaGCvT8P94KtY6/W0hNi3QgYMmzXlIjbMKllsvN0va X-Received: by 2002:a17:90b:1b45:b0:274:2efc:2fe5 with SMTP id nv5-20020a17090b1b4500b002742efc2fe5mr4859017pjb.7.1694694691190; Thu, 14 Sep 2023 05:31:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1694694691; cv=pass; d=google.com; s=arc-20160816; b=qJZX76fNpCqPNn4IvpH4yGgKke3GK/O+3NVDAZ1NmEuvWJjIYaWaQH2AlLO44cuwB5 1hoSTAUYeUkRka+3MkNlbi+iJucrfstm+pi5Eql1WIMMucFuZ6AoTc2O1dMCY5HZ0XvY BcRKwLdsF1jvLoGUIeJ+HUb3Yky4IWSh4wSAqUfC0WOEsu9bGb8Mh4bhpqtIGuTzQE9P izuoet2AKjQ9ICgBiZDAbVr6S5c1VdwujeUAvUY8S/1aVOnLJZAiT2tuCvFrEhxSq/Lc 175+nLXSBg4i3OYloHfBgX/oJoLqCOprHXUTOQvqkRTRZTFoMr9BiJtG4Hdg71gnVqbl Ih3w== 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:references:cc:to:from:content-language:subject :user-agent:date:message-id:dkim-signature; bh=8KZzrMmnxCeVSunLU/q5h6Z8vZlUx0HJai4eX+w/e7w=; fh=jiKLLcshJ3TUwtm9LEDNQvCTF7QG+bSPrKdxdU2TzyE=; b=toHaSfCeGW75dUnzjtDZ3/Lg0c6CgsGRrYndE7d8qkdCavgfYOIvtHcF+cgmazXaav DcP16CwML1hbysNrm2ZTgsYV8/73usRBtQtlHaheMahmxnQc/cbKrKGWSj15lVZQc1bx MLtGnGNaRpkXfJzTXLz+FDn+bPnSRoPZnvW3Tq8KEFwZ/9l98aylnUgbCjOhbnyo89ID sh1pjhpabS+Wq6mJ7imKqACz8OC97AUtQb+N8ZngRy6g8IkweazXxPe/NGOrPeY81gaj 6sXPoHlav+pja7TfVze+9B073qXb/efeCEq8xW/vtXDxEtI0FVob97uou0I6KlrTjTdj V/Nw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=3zOVfvBf; 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 iq24-20020a17090afb5800b002700bcdbff1si3619666pjb.154.2023.09.14.05.31.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 05:31:31 -0700 (PDT) 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=3zOVfvBf; 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 6BBDB809C668; Thu, 14 Sep 2023 02:21:08 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234853AbjINJVI (ORCPT + 99 others); Thu, 14 Sep 2023 05:21:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57104 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234427AbjINJVG (ORCPT ); Thu, 14 Sep 2023 05:21:06 -0400 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2074.outbound.protection.outlook.com [40.107.223.74]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 664DDCF3 for ; Thu, 14 Sep 2023 02:21:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oFTYcYOTc3NH+7yFmpAXJRMYg2vBvpL0YgKDkW5y/+eu4mFbJTip5qVfODmCr3FWnkFaeNvI0rztsbICTBWYAeNTSR8lL58DK6ciDcDo9ZrlFMefy+7izyVXUnoZbbtpvcU2Fzw91++H68ylmNmRxTI7rR2QaqeVpyJv0mwPG2+Jespn1Ji/kBDPqqgL3Q6bfaq2BRjm3B1z0RnrtY6oaeZJ5An71RE7QQmmL5u0yU1tkx5Wp3W+ikILjcyEwrav7KCalQHf+vCV3dymXZWNm+dDx3+Kqmx/AbsqFegN45KCBBwL8bcytjPk0PxvBlF4IdyiwGmKWq9TDfkql9nY6w== 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=8KZzrMmnxCeVSunLU/q5h6Z8vZlUx0HJai4eX+w/e7w=; b=RR6qhw8+1wMtDa9o8rguKvhDmA2YHxdopbgZ8w3Z1HcrPqUgnl0rCBONhuYftR72EHZUaQB3qfbQp6dox8cNVSnB6U2uTW5PXUwgkudLwoF5/Lu00qEqbMxDp73c23yD53gxZ1T7ueUMapnkobTysmRLVQcMoNB8B5YehsvYb5jFryZsrkmrM7qSHyBpRBJ44VfGvz3CO5dxAHCm4BUcLjCDdInQ9rn477EPEklkZFPK0525Jvc0OEqniz5b6OLGpqvQX3ycUtL7AOFeeOLVTodFfer3yWHA+UB2oKMynJYA1svWNZWt/NR8OjjJBg0Jr9ABVUhPY3XR6vPO8VO/Lw== 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=8KZzrMmnxCeVSunLU/q5h6Z8vZlUx0HJai4eX+w/e7w=; b=3zOVfvBf2AzZuQ6nK8jDjNKz8YifFeOw4sVTik13LPUK3jrrA70F96Ay/Ln5UIorgtvA3hH3jIbz1VpqVyPPfDkXsF7iTEYQZRThXujzdks2EP/EIrBcpooZfRHSAHwsvXZ+ekwewFfAZRJYHEHpid42oO93DLUTWIJb9KsBB6I= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from MW2PR12MB2379.namprd12.prod.outlook.com (2603:10b6:907:9::24) by DM4PR12MB7550.namprd12.prod.outlook.com (2603:10b6:8:10e::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6792.20; Thu, 14 Sep 2023 09:21:00 +0000 Received: from MW2PR12MB2379.namprd12.prod.outlook.com ([fe80::319e:591f:38a0:6bbb]) by MW2PR12MB2379.namprd12.prod.outlook.com ([fe80::319e:591f:38a0:6bbb%6]) with mapi id 15.20.6768.036; Thu, 14 Sep 2023 09:21:00 +0000 Message-ID: <011011ee-4f83-3545-4ca2-55bc0bef284a@amd.com> Date: Thu, 14 Sep 2023 14:50:45 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.13.1 Subject: Re: [patch V4 24/41] x86/cpu: Provide cpu_init/parse_topology() Content-Language: en-US From: K Prateek Nayak To: Thomas Gleixner , LKML Cc: x86@kernel.org, Tom Lendacky , Andrew Cooper , Arjan van de Ven , Huang Rui , Juergen Gross , Dimitri Sivanich , Michael Kelley , Wei Liu , Pu Wen , Qiuxu Zhuo , Sohil Mehta , Gautham Shenoy References: <20230814085006.593997112@linutronix.de> <20230814085113.471353147@linutronix.de> <934072fe-eca2-44df-94e7-9fed1dc8b502@amd.com> <87r0nn8ots.ffs@tglx> <4a4d5a89-b024-ea49-8740-1f3aef412c15@amd.com> In-Reply-To: <4a4d5a89-b024-ea49-8740-1f3aef412c15@amd.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: PN3PR01CA0170.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c01:de::12) To MW2PR12MB2379.namprd12.prod.outlook.com (2603:10b6:907:9::24) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MW2PR12MB2379:EE_|DM4PR12MB7550:EE_ X-MS-Office365-Filtering-Correlation-Id: e078798c-22ff-42e2-168d-08dbb503e872 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: EhemGrlbqfryhlkjwNNz2dy3bgCdNRcBXRzx2tagXDqQ+5oY6qxpKRzuetoZVs8UTlG4ivrtFkAphMhsyN5+gmfrHtVuceY5nvNK7e/DiwzQQQHHsUXCvkaZfDoeCkjvcfO/8vk9QpnizfVvxzUR8/axktWv/AoeKYilYJj2/zViD+6F9s1SXK7wYrTXrXfB4NLC9uoMd3k3HZsxNUkLrNVGk+woGhK8iM7JJ2LoJ4huDncw1QyeGSE6vKBm2slBZPiFZVhokEzMct/PdRxm7y6sqYrMTlahHwp1tkwMjU7ogoMnzw8B55/CpI6q3fm8S+tTLAAMeXsQyevReSZ8XIQRden3ItTTaq/gTW2sKphFldUhprYGm4ZUsmny5CFrC2gm31g/yECCdBXEKwQN5Hd92IR4IttFLzWQWIpAxM5PVuaFK2GOWPbW1cNgOWhhdZ+glAHeR+rTOBX3naaSJNr5QjFPUkoyH7BLkVjJqr0xH8WqQzaqf7x95Z+XrSXT5SBmV9dx/vyUp8Qas4Nh9v4VDFN8QRvRWOpJa2xCvdrlhRfiRFpP/c+jmelB6+PPYf5K/Q6xknDp4UO+XF+GnAoCW67QAWUzc13U4KWf3DAkyyEprmCexnvFrjQ2bbvdOqEzF7bsJb4nEwgQOT9y3A== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MW2PR12MB2379.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(136003)(39860400002)(366004)(396003)(346002)(376002)(1800799009)(451199024)(186009)(2906002)(31686004)(5660300002)(7416002)(8936002)(8676002)(4326008)(41300700001)(66946007)(66556008)(86362001)(31696002)(110136005)(54906003)(316002)(66476007)(6506007)(38100700002)(6486002)(478600001)(26005)(2616005)(83380400001)(6512007)(6666004)(36756003)(53546011)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?c1BRam93dmVwYzJKTVBYL01ZaHNObzdTSERJcGVyTk5qUjltNzZKNTNyOXlI?= =?utf-8?B?cm1sRFdXTEJMbWxIWWplNU12N2JpVjIxend3SFlyVnU3T2RkWHU0RDZvRlhz?= =?utf-8?B?czRyWWJXc0Zjd1c3eTdXengxUmpBbWQ1SWozaW83b2thWmNYV21nU3JVTFpB?= =?utf-8?B?c0I3bDNtTUpENG9pMHFwV1FYL2s1NTRWRm0zK3U5MzJ5dzNs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-8?B?SXVmRFg1eUZlWXlobW5OYmZtbEdxSnB1RXUvSWRBT2xteHFNaVU1RHd0SE4v?= =?utf-8?B?Z2E5SEE2bTJWc1A3RW1rODNHWHJscUFBWGp2V2poOEVvREhEeVRsZ1hzcEZ2?= =?utf-8?Q?rmFGEBnEGfjOQ18YUc7ryNyD8?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: e078798c-22ff-42e2-168d-08dbb503e872 X-MS-Exchange-CrossTenant-AuthSource: MW2PR12MB2379.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Sep 2023 09:20:59.6062 (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: WpfT8cbDi9Z7bUvPdOLwIq9bCPItLNu0r1TAAG3vs0mgAmhfwcc3Qmq6Keel74FK2r/1UgfazLDjPQgQNzInTA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB7550 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]); Thu, 14 Sep 2023 02:21:08 -0700 (PDT) Hello Thomas, On 8/28/2023 7:58 PM, K Prateek Nayak wrote: > Hello Thomas, > > On 8/28/2023 3:35 PM, Thomas Gleixner wrote: >> Prateek! >> >> On Mon, Aug 28 2023 at 11:37, K. Prateek Nayak wrote: >>> On 8/14/2023 2:24 PM, Thomas Gleixner wrote: >>> >>> Since these enums come from the description of level type of CPUID leaf >>> 0x1f, can we have a short description clarifying what each signify. This >>> will also help clarify the mappings for AMD's extended CPUID leaf >>> 0x80000026 (specifically for CCX and CCD level types). I had following >>> in my mind: >> >> Makes sense. >> >>> TOPO_MODULE_DOMAIN, >>> + /* >>> + * If exists, represents a group of tiles within >>> + * an instance of the next domain >>> + * >>> + * On Intel: This level contains a group of Tile >>> + * type as described by CPUID leaf 0x1f >>> + * >>> + * On AMD: This is the group of "Complex" type >>> + * instances as described by CPUID leaf >>> + * 0x8000_0026 >>> + */ >>> TOPO_TILE_DOMAIN, >>> + /* >>> + * If exists, represents a group of dies within an >>> + * instance of the next domain >>> + * >>> + * On Intel: This level contains group of Die >>> + * type as described by CPUID leaf 0x1f >>> + * >>> + * On AMD: This is the group of "CCD (Die)" >>> + * type instances as described by CPUID leaf >>> + * 0x8000_0026 >>> + */ >>> TOPO_DIE_DOMAIN, >>> + /* >>> + * If exists, represents a group of packages >>> + * within the root domain >>> + */ >>> TOPO_PKG_DOMAIN, >>> + /* Topmost domain with a singular instance */ >>> TOPO_ROOT_DOMAIN, >>> TOPO_MAX_DOMAIN, >>> }; >> >> Now this begs the obvious question what the actual meaning of these >> domains is and what's their relevance for the kernel. >> >> It's probably undisputed what SMT/CORE mean and what their relevance is. >> The PKG/DIE domains are pretty clear too. > > Yup! Those seem to be clear. > >> >> Now we have: >> >> MODULE (Intel only) >> >> TILE Intel, AMD names it "Complex" > > So here is my interpretation of 0x1f since I could not find much in the > SDM for these level types. Turns out, there is indeed more information about these types in SDM. Intel SDM Vol. 3A, in Sec. 9.9.1 "Hierarchical Mapping of Shared Resources" contains description of these level. I'll quote it here for ease of readers: """ The decomposition of an APIC_ID may consist of several sub fields representing the topology within a physical processor package, the higher-order bits of an APIC ID may also be used by cluster vendors to represent the topology of cluster nodes of each coherent multiprocessor systems: o Cluster : Some multi-threading environments consists of multiple clusters of multi-processor systems. The CLUSTER_ID sub-field is usually supported by vendor firmware to distinguish different clusters. For nonclustered systems, CLUSTER_ID is usually 0 and system topology is reduced. o Package : A physical processor package mates with a socket. A package may contain one or more software visible die. The PACKAGE_ID sub-field distinguishes different physical packages within a cluster. o Die : A software-visible chip inside a package. The DIE_ID sub-field distinguishes different die within a package. If there are no software visible die, the width of this bit field is 0. o DieGrp : A group of die that share certain resources. o Tile : A set of cores that share certain resources. The TILE_ID sub-field distinguishes different tiles. If there are no software visible tiles, the width of this bit field is 0. o Module : A set of cores that share certain resources. The MODULE_ID sub-field distinguishes different modules. If there are no software visible modules, the width of this bit field is 0. o Core : Processor cores may be contained within modules, within tiles, on software-visible die, or appear directly at the package domain. The CORE_ID sub-field distinguishes processor cores. For a single-core processor, the width of this bit field is 0. o Logical Processor : A processor core provides one or more logical processors sharing execution resources. The LOGICAL_PROCESSOR_ID sub-field distinguishes logical processors in a core. The width of this bit field is non-zero if a processor core provides more than one logical processors. """ So some questions to Intel folks to determine whether mapping AMD's Complex to Tile makes sense or not: - What are the "certain resources" a group of module / tile share? - Module and Tile both use the phrase "set of cores" in their description. Does this mean their existence is mutually exclusive? AMD's Complex (CCX) marks the L3 cache boundary. If either of the "certain resources" refer to L3 cache, then Complex can be safely mapped to the respective level without any fear of misinterpretation of the characteristics. Also, I do not see a "DieGrp" domain in the "x86_topology_domains". Is this because of the lack of "software visible" aspect of it despite its possible existence? > [..snip..] -- Thanks and Regards, Prateek