lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aWi7HjGDAGdRYjS6@bogus>
Date: Thu, 15 Jan 2026 10:02:06 +0000
From: Sudeep Holla <sudeep.holla@....com>
To: Feng Tang <feng.tang@...ux.alibaba.com>
Cc: "Rafael J. Wysocki" <rafael@...nel.org>, Len Brown <lenb@...nel.org>,
	Jeremy Linton <jeremy.linton@....com>,
	Sudeep Holla <sudeep.holla@....com>,
	Hanjun Guo <guohanjun@...wei.com>,
	James Morse <james.morse@....com>,
	Joanthan Cameron <Jonathan.Cameron@...wei.com>,
	linux-acpi@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] ACPI: PPTT: Dump PPTT table when error detected

On Thu, Jan 15, 2026 at 05:05:45PM +0800, Feng Tang wrote:
> Hi Sudeep,
> 
> On Wed, Jan 14, 2026 at 03:06:09PM +0000, Sudeep Holla wrote:
> > On Wed, Jan 14, 2026 at 10:28:19PM +0800, Feng Tang wrote:
> > > 
> > > As for the original issue where kernel printed the error message
> > > " ACPI PPTT: PPTT table found, but unable to locate core 1 (1)",
> > > can we just printed out all the CPU entries of the PPTT table? 
> > > which is much cleaner and smaller, and have the enough information
> > > for quickly identifying the root cause. As the number of cache
> > > items is usually 3X of number of CPUs.
> > 
> > I am still not sure what additional value is gained by listing all those CPU
> > entries. On a 512-CPU system, for example, if an issue is identified with the
> > entry for CPU 256, what extra information is obtained by listing all the other
> > CPUs, such as those sharing the same L3 cache or entire list of CPUs on this
> > system?
> 
> My bad that I didn't make it clear. As for the original issue, the
> platform has 8 CPUs, but the PPTT table only has 4 CPUs, while the MADT
> and other tables are correct about the CPU numbers, and kernel does
> successfully bringup all 8 CPUs. The PPTT message
> " ACPI PPTT: PPTT table found, but unable to locate core 1 (1)" is kind
> of modest and didn't caught our much attention as all 8 CPUS were onlined
> fine. So with the "print only necessary info" suggestion from Rafael,
> it will print out only 4 CPUS, which should immediately show the PPTT
> table itself is wrong, and worth deeper check.
> 

To be clear, listing CPUs is annoying on large systems. In your case, it may
be only 4 CPUs and that seems fine, but imagine if one CPU entry is missing on
a 512 CPU system - dumping a list of 511 CPUs is not only irritating, but also
largely useless for diagnosing the issue.

In my view, for the scenario above, the error should say something along the
lines of: the PPTT CPU entry count does not match the system CPU count.

-- 
Regards,
Sudeep

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ