[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aWit6bbjwfTzDRQw@U-2FWC9VHC-2323.local>
Date: Thu, 15 Jan 2026 17:05:45 +0800
From: Feng Tang <feng.tang@...ux.alibaba.com>
To: Sudeep Holla <sudeep.holla@....com>
Cc: "Rafael J. Wysocki" <rafael@...nel.org>, Len Brown <lenb@...nel.org>,
Jeremy Linton <jeremy.linton@....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
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.
>
> The message above already indicates that something is wrong with core
> (n = 1 in above case). If that is not sufficiently clear, it should be
> improved to be more specific about the issue. Simply listing all CPUs in the
> PPTT provides no additional insight and only results in an unnecessarily long
> and distracting CPU list in the kernel log.
As the print will be embedded under a default-no kernel config as we
discussed, and only be printed when error is detects, it may still be
acceptable regarding kernel log buffer? Or, any suggestion on how to
check the PPTT table to help future debugging? thanks!
- Feng
Powered by blists - more mailing lists