Re: [PATCH 2/2] perf/x86/intel/uncore: With > 8 nodes, get pci bus die id from NUMA info

From: Peter Zijlstra
Date: Tue Jan 12 2021 - 10:08:21 EST


On Mon, Jan 11, 2021 at 09:45:16AM -0600, Steve Wahl wrote:
> On Mon, Jan 11, 2021 at 02:00:33PM +0100, Peter Zijlstra wrote:
> > On Fri, Jan 08, 2021 at 09:35:49AM -0600, Steve Wahl wrote:
> >
> >
> > > + /*
> > > + * The nodeid and idmap registers only contain enough
> > > + * information to handle 8 nodes. On systems with more
> > > + * than 8 nodes, we need to rely on NUMA information,
> > > + * filled in from BIOS supplied information, to determine
> > > + * the topology.
> > > + */
> >
> > Egads.. do we realy have to trust BIOS data? BIOS crud tends to be
> > bonghits qualitee :/
>
> I work too close to BIOS people (virtually, at least for the moment)
> to safely make disparaging remarks. :-) While the origin is the BIOS,
> I'm using pieces that were already being pulled from the BIOS tables
> for NUMA purposes.

:-) It's just that we've had too much 'fun' with PCI node bindings in
the past.