Re: [PATCH v5 1/8] x86/hygon: Add Family 0x18 DF node enumeration
From: Lin Wang
Date: Wed Sep 16 2026 - 21:38:19 EST
On 9/16/2026 11:59 PM, Borislav Petkov wrote:
+ ret = hygon_build_cache();Sure looks complex... I hope you know what you're doing...
+ if (ret) {
+ pr_warn("DF node cache build failed: %d\n", ret);
+ return ret;
+ }
+
+ pr_info("%u DF nodes (%u CDDs, %u IODs) across %u sockets\n",
+ hygon_cache.num_nodes, hygon_cache.num_cdd,
+ hygon_cache.num_nodes - hygon_cache.num_cdd,
+ hygon_cache.num_sockets);
+
+ return 0;
+}
+fs_initcall(hygon_node_init);
--
Thanks, Boris.
I'll go through Documentation/process/maintainer-tip.rst and fix the
comments, declaration order and whitespace throughout the series. I'll
also simplify the node cache code where possible before posting v6.
Best regards,
Lin