From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.alien8.de (mail.alien8.de [65.109.113.108]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9AFAD30594F for ; Wed, 3 Jun 2026 02:17:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=65.109.113.108 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780453076; cv=none; b=aP6p9hokhNbW/nidzCbeHNG07ODz4Rpo/P6tcbSd703OwjhNSD93yl3CYXDTJR/PTRYc3T+St4pvvbhXCXzR/7WGViu79CeJMbMJvFwb6nm3tqAxAOhd+rojOSlz6h46n6MtTPwFdrqshMU7gnJAlhBmy4bj4JJlwkeWwatwFKM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780453076; c=relaxed/simple; bh=zK67yPc569/gMFb74C7Qh6cJcJWn6GOJux2uQKqBHDw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=QbhP0sbZXlqsDYaz8Sx61ukufr0Z+AajTont1OsYgRnwOYt9tQ8grx2Mg+CPngpD0PFnuyndrRwYFqQbqnJxY3352Xt9IgH03zUIfAmiB46nAGQ+78/6aJzjcspkFphwYLEQvsntpiy4xHQ5Hmd1io7rCe1aNmbVt0EpkJ/wMKs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=alien8.de; spf=pass smtp.mailfrom=alien8.de; dkim=pass (4096-bit key) header.d=alien8.de header.i=@alien8.de header.b=eOg2kvh9; arc=none smtp.client-ip=65.109.113.108 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=alien8.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=alien8.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (4096-bit key) header.d=alien8.de header.i=@alien8.de header.b="eOg2kvh9" Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTP id 5F3C240E01B5; Wed, 3 Jun 2026 02:17:52 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at mail.alien8.de Authentication-Results: mail.alien8.de (amavisd-new); dkim=pass (4096-bit key) header.d=alien8.de Received: from mail.alien8.de ([127.0.0.1]) by localhost (mail.alien8.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Ush81AmcZ2Wy; Wed, 3 Jun 2026 02:17:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=alien8; t=1780453061; bh=lea8MSvloMkdXXE/PlE0kfpVlrYmwxZ7yXkPup/Tmlw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=eOg2kvh9CsWdB1akJOAriW4x5upCxirwL+l+fDrbAufxSm7xz6Bj8zG2bERIvEBa9 7UIZKRb6LVO9HnPu4RifKYBJS+utBlukoDDIArA32DEi9Gh4GM6OpsRySNb6Hrdj4o uNxT6UxhgriXxB++FcgDKkFdFSXwC5e0Xko92pONhtGX8yxpp+NipWaLiW3YHJcm8C egx5ehDN9i1rLaQ7hrm4HQxRijBzhK6EixCywovjw4Ds5MkU/rCZAyeqNmy0brtE4r qCZ5mDywQrGTdA4LY1+We2W+VrBId5GXk+APB7Aj1+LKUaceWsENxNTArqZVxxYwR5 z1blQNKkt334iCU/UIIQYXkLPxJEn9WLysO/TqM7ObndFgcdvo0rlnunG/sJRCs/ZF S1tNAS+azCNXp5STThB3r7xSFz7JeX+cW85OJAh1c4E8zKMysW2m+6zdcoLHOchD/z 818cqdZs+fbQKH2EU948/WnF1AZz9FnDkwXqjVu3x+/1KtNOB58EMN2pc5gA27Fd4l hisDn7AzgjqEdgdZAMhd5w/ibnQSNAQqvC5PdSWTWiGfGZxZSmsnMERu5WEDCTbJbm BTaP078j6AzpivlKIfd2/QkzQeEtN41PIN0R4h/h+Pz2/YGN0GwSGBNk7ZxH4+dl1e e1keEGPyaM1GLyjywtr9UInw= Received: from stx.tnic (unknown [IPv6:2600:1700:38ca:c00::16]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 16F3640E015D; Wed, 3 Jun 2026 02:17:32 +0000 (UTC) Date: Tue, 2 Jun 2026 19:17:29 -0700 From: Borislav Petkov To: Fu Hao Cc: puwen@hygon.cn, tglx@kernel.org, mingo@redhat.com, dave.hansen@linux.intel.com, x86@kernel.org, hpa@zytor.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/8] x86/cpu/hygon: Adjust the die_id and logical_die_id for Hygon model 4h~8h Message-ID: <20260603021729.GDah-OuelfjGomCidN@fat_crate.local> References: <20260328133402.GTacfYymkTOQYG0Yu2@fat_crate.local> <76e4048a-ef14-4b1e-7f65-7d2bd1fb6407@open-hieco.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <76e4048a-ef14-4b1e-7f65-7d2bd1fb6407@open-hieco.net> On Mon, Mar 30, 2026 at 10:59:48AM +0800, Fu Hao wrote: > > What does "model 4h~8h" mean? > > > > Models 0x4-0x8 ? You didn't explain that one. > Using separate functions for encapsulation is primarily due to the > consideration for subsequent new processors, there may be different > ways to obtain the core ID, die ID and pkg ID. Of course, it can also > be temporarily placed in the "init_hygon" function at present. Yes, do that. You can carve it out later, when it gets unwieldy. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette