[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZfefinwL7jUo+Ly0@feng-clx.sh.intel.com>
Date: Mon, 18 Mar 2024 09:57:30 +0800
From: Feng Tang <feng.tang@...el.com>
To: Waiman Long <longman@...hat.com>
CC: Thomas Gleixner <tglx@...utronix.de>, Ingo Molnar <mingo@...hat.com>,
Borislav Petkov <bp@...en8.de>, Dave Hansen <dave.hansen@...el.com>, "H .
Peter Anvin" <hpa@...or.com>, Peter Zijlstra <peterz@...radead.org>,
<x86@...nel.org>, <paulmck@...nel.org>, <rui.zhang@...el.com>,
<linux-kernel@...r.kernel.org>, Dave Hansen <dave.hansen@...ux.intel.com>
Subject: Re: [PATCH] x86/tsc: Use topology_max_packages() to get package
number
On Sun, Mar 17, 2024 at 10:03:38PM -0400, Waiman Long wrote:
>
> On 3/15/24 07:26, Feng Tang wrote:
> > Commit b50db7095fe0 ("x86/tsc: Disable clocksource watchdog for TSC
> > on qualified platorms") was introduced to solve problem that
> > sometimes TSC clocksource is wrongly judged as unstable by watchdog
> > like 'jiffies', HPET, etc.
> >
> > In it, the hardware package number is a key factor for judging whether
> > to disable the watchdog for TSC, and 'nr_online_nodes' was chosen as
> > an estimation due to it is needed in early boot phase before
> > registering 'tsc-early' clocksource, where all none-boot CPUs are not
>
> "none-boot"? You mean "non-boot". Right?
Yes, you are right. will fix it. non-boot CPU means AP (application
processor) here.
>
> Other than that, the patch looks reasonable to me.
Thanks for the review!
- Feng
> Thanks,
> Longman
>
>
Powered by blists - more mailing lists