mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Lin Wang <wanglin@open-hieco.net>
To: Yazen Ghannam <yazen.ghannam@amd.com>
Cc: Borislav Petkov <bp@alien8.de>,
	Mario Limonciello <mario.limonciello@amd.com>,
	Pu Wen <puwen@hygon.cn>, Thomas Gleixner <tglx@kernel.org>,
	Ingo Molnar <mingo@redhat.com>,
	Dave Hansen <dave.hansen@linux.intel.com>,
	"H. Peter Anvin" <hpa@zytor.com>, Tony Luck <tony.luck@intel.com>,
	Guenter Roeck <linux@roeck-us.net>,
	x86@kernel.org, linux-edac@vger.kernel.org,
	linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v8 1/7] x86/hygon: Add Family 0x18 DF node enumeration
Date: Tue, 27 Oct 2026 13:59:05 +0800	[thread overview]
Message-ID: <7e086025-c74b-4808-bc8e-ea66c9eb0a88@open-hieco.net> (raw)
In-Reply-To: <20261024151527.GB1164@yaz-khff2.amd.com>

On 10/24/2026 11:15 PM, Yazen Ghannam wrote:
> On Thu, Oct 22, 2026 at 03:42:11PM +0800, Lin Wang wrote:
>> The AMD node code locates function 3 for node N at PCI slot 0x18 + N.
>> Hygon has no equivalent node-index-to-slot mapping: DF F3 devices are
>> discovered by PCI ID and the PCI BDF is only an access point.
>>
>> Enumerate Hygon DF devices by PCI ID and read their identities from DF
>> registers. Build a dense node cache with Core and DDR Dies (CDDs) before
>> I/O Dies (IODs), providing node counts, identity and PCI function lookups.
>>
>> Guests may expose a supported CPU model without DF devices. Suppress
>> the cache-build warning for -ENODEV in guests; keep other initialization
>> errors visible.
>>
>> The node lookup helpers remain local until Hygon consumers are added.
>>
>> Signed-off-by: Lin Wang <wanglin@open-hieco.net>
>> ---
> 
> Reviewed-by: Yazen Ghannam <yazen.ghannam@amd.com>
> 

Thanks for the review.

I'll send v9 to fix the SMN root-array leak reported by Sashiko in
patch 7.

Thanks,

Lin


  reply	other threads:[~2026-10-27  5:59 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-22  7:42 [PATCH v8 0/7] x86/hygon: Add Family 0x18 DF node enumeration and SMN access Lin Wang
2026-10-22  7:42 ` [PATCH v8 1/7] x86/hygon: Add Family 0x18 DF node enumeration Lin Wang
2026-10-24 15:15   ` Yazen Ghannam
2026-10-27  5:59     ` Lin Wang [this message]
2026-10-22  7:42 ` [PATCH v8 2/7] x86/hygon: Map CPU NodeIds to DF nodes Lin Wang
2026-10-22  7:42 ` [PATCH v8 3/7] EDAC/amd64: Stop matching Hygon CPUs Lin Wang
2026-10-22  7:42 ` [PATCH v8 4/7] RAS/AMD/ATL: Match AMD CPUs only Lin Wang
2026-10-22  7:42 ` [PATCH v8 5/7] x86/amd_nb: Restrict the northbridge framework to AMD CPUs Lin Wang
2026-10-22  7:42 ` [PATCH v8 6/7] x86/amd_node: Restrict SMN setup " Lin Wang
2026-10-22  7:42 ` [PATCH v8 7/7] x86/hygon: Add Family 0x18 SMN access Lin Wang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7e086025-c74b-4808-bc8e-ea66c9eb0a88@open-hieco.net \
    --to=wanglin@open-hieco.net \
    --cc=bp@alien8.de \
    --cc=dave.hansen@linux.intel.com \
    --cc=hpa@zytor.com \
    --cc=linux-edac@vger.kernel.org \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=mario.limonciello@amd.com \
    --cc=mingo@redhat.com \
    --cc=puwen@hygon.cn \
    --cc=tglx@kernel.org \
    --cc=tony.luck@intel.com \
    --cc=x86@kernel.org \
    --cc=yazen.ghannam@amd.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®