Re: [RFC][PATCH 5/6] x86/topo: Fix SNC topology mess

From: Peter Zijlstra

Date: Tue Mar 03 2026 - 03:45:45 EST


On Tue, Mar 03, 2026 at 02:31:37PM +0800, Zhang Rui wrote:
> On Mon, 2026-03-02 at 17:43 +0100, Peter Zijlstra wrote:
> > nt On Sat, Feb 28, 2026 at 03:35:26PM +0800, Chen, Yu C wrote:
> >
> > > Here we check packages0 and 1, should we check all the packages?
> >
> > Might as well I suppose.
> >
> > Could you boot queue/x86/topo on an snc-3 machine to verify it
> > doesn't
> > explode with all the paranoia on?
>
> Hi, Peter,
>
> regarding slit_validate() in
> https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git/commit/?h=x86/topo&id=24ca94ac4b72803a7164b7ad84f06f0e9f0c49df
>
> I suppose we want to use
> WARN_ON_ONCE(!slit_cluster_symmetric(n))
> rather than
> WARN_ON_ONCE(slit_cluster_symmetric(n));
> right?

D'0h yes, very much so!

Thanks!

Let me go expand the Changelogs some post and then probably stick it in
tip somewhere.