Index | Thread | Search

From:
Claudio Jeker <cjeker@diehard.n-r-g.com>
Subject:
Re: print intel core type info in dmesg
To:
David Gwynne <david@gwynne.id.au>, tech@openbsd.org
Date:
Wed, 23 Jul 2025 19:51:15 +0200

Download raw body.

Thread
On Wed, Jul 23, 2025 at 10:36:06AM -0600, Theo de Raadt wrote:
> Claudio Jeker <cjeker@diehard.n-r-g.com> wrote:
> 
> > On Wed, Jul 23, 2025 at 08:42:30AM -0600, Theo de Raadt wrote:
> > > I think this overstates the importance of this difference over other
> > > parts of the cpu description.  I think there's a lot of optimism that
> > > this matters for performing work.  Why do we need to print this, if
> > > we aren't taking this into account during processing because we have no
> > > code to make use of this difference?
> > 
> > Adding support for this can be only done if we have topology information
> > that has more information.
> 
> The provided diff does not place the information in a data structure so
> that the kernel can make a decision.
> 
> It just prints it.  Things printed into dmesg cannot be taken into account.

It is a first step. We need to rethink the code around __HAVE_CPU_TOPOLOGY
which is possible when there is code around to identify CPUs.
I know this is a baby step but without that I'm certain no other progress
will happen.

-- 
:wq Claudio