[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20240903090133.tqmsitybuutzsup5@vireshk-i7>
Date: Tue, 3 Sep 2024 14:31:33 +0530
From: Viresh Kumar <viresh.kumar@...aro.org>
To: Huacai Chen <chenhuacai@...ngson.cn>
Cc: "Rafael J . Wysocki" <rafael@...nel.org>,
Huacai Chen <chenhuacai@...nel.org>, loongarch@...ts.linux.dev,
linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org,
Xuerui Wang <kernel@...0n.name>,
Jiaxun Yang <jiaxun.yang@...goat.com>,
Xi Ruoyao <xry111@...111.site>,
Binbin Zhou <zhoubinbin@...ngson.cn>
Subject: Re: [PATCH] cpufreq: loongson3: Use raw_smp_processor_id() in
do_service_request()
On 28-08-24, 14:24, Huacai Chen wrote:
> Use raw_smp_processor_id() instead of plain smp_processor_id() in
> do_service_request(), otherwise we may get some errors with the driver
> enabled:
>
> BUG: using smp_processor_id() in preemptible [00000000] code: (udev-worker)/208
> caller is loongson3_cpufreq_probe+0x5c/0x250 [loongson3_cpufreq]
>
> Reported-by: Xi Ruoyao <xry111@...111.site>
> Tested-by: Binbin Zhou <zhoubinbin@...ngson.cn>
> Signed-off-by: Huacai Chen <chenhuacai@...ngson.cn>
> ---
> drivers/cpufreq/loongson3_cpufreq.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied. Thanks.
--
viresh
Powered by blists - more mailing lists