[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202508131628.5bcb2ed6-lkp@intel.com>
Date: Wed, 13 Aug 2025 22:25:12 +0800
From: kernel test robot <oliver.sang@...el.com>
To: Yaxiong Tian <tianyaxiong@...inos.cn>
CC: <oe-lkp@...ts.linux.dev>, <lkp@...el.com>, Shaobo Huang
<huangshaobo2075@...tium.com.cn>, Yinfeng Wang <wangyinfeng@...tium.com.cn>,
<linux-acpi@...r.kernel.org>, <acpica-devel@...ts.linux.dev>,
<rafael@...nel.org>, <daniel.lezcano@...aro.org>, <lenb@...nel.org>,
<robert.moore@...el.com>, <linux-pm@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, Yaxiong Tian <tianyaxiong@...inos.cn>, "Xu
Wang" <wangxu@...tium.com.cn>, <oliver.sang@...el.com>
Subject: Re: [PATCH 2/2] ACPI: processor: idle: Replace single idle driver
with per-CPU model for better hybrid CPU support
Hello,
kernel test robot noticed "BUG:using_smp_processor_id()in_preemptible" on:
commit: 91c8bbe586854e1485070da49806a93599f7636f ("[PATCH 2/2] ACPI: processor: idle: Replace single idle driver with per-CPU model for better hybrid CPU support")
url: https://github.com/intel-lab-lkp/linux/commits/Yaxiong-Tian/cpuidle-Add-interface-to-get-cpuidle_driver-by-CPU-ID/20250811-153002
base: https://git.kernel.org/cgit/linux/kernel/git/rafael/linux-pm.git linux-next
patch link: https://lore.kernel.org/all/20250811072723.762608-1-tianyaxiong@kylinos.cn/
patch subject: [PATCH 2/2] ACPI: processor: idle: Replace single idle driver with per-CPU model for better hybrid CPU support
in testcase: boot
config: i386-randconfig-004-20250812
compiler: gcc-12
test machine: qemu-system-i386 -enable-kvm -cpu SandyBridge -smp 2 -m 4G
(please refer to attached dmesg/kmsg for entire log/backtrace)
+--------------------------------------------+------------+------------+
| | 664e805e14 | 91c8bbe586 |
+--------------------------------------------+------------+------------+
| BUG:using_smp_processor_id()in_preemptible | 0 | 12 |
+--------------------------------------------+------------+------------+
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <oliver.sang@...el.com>
| Closes: https://lore.kernel.org/oe-lkp/202508131628.5bcb2ed6-lkp@intel.com
[ 9.129755][ T1] BUG: using smp_processor_id() in preemptible [00000000] code: swapper/0/1
[ 9.131211][ T1] caller is debug_smp_processor_id (lib/smp_processor_id.c:61)
[ 9.132199][ T1] CPU: 1 UID: 0 PID: 1 Comm: swapper/0 Not tainted 6.16.0-rc7-00167-g91c8bbe58685 #1 PREEMPTLAZY 2350dfb9c96e1334949e3e2979039571c1c27191
[ 9.132205][ T1] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
[ 9.132208][ T1] Call Trace:
[ 9.132212][ T1] dump_stack_lvl (lib/dump_stack.c:123)
[ 9.132218][ T1] dump_stack (lib/dump_stack.c:130)
[ 9.132224][ T1] check_preemption_disabled (arch/x86/include/asm/preempt.h:85 lib/smp_processor_id.c:53)
[ 9.132233][ T1] debug_smp_processor_id (lib/smp_processor_id.c:61)
[ 9.132237][ T1] acpi_idle_rescan_dead_smt_siblings (drivers/acpi/processor_idle.c:59)
[ 9.132246][ T1] acpi_processor_driver_init (drivers/acpi/processor_driver.c:286)
[ 9.132252][ T1] ? acpi_processor_stop (drivers/acpi/processor_driver.c:132)
[ 9.132259][ T1] do_one_initcall (init/main.c:1274)
[ 9.132263][ T1] ? acpi_fan_driver_init (drivers/acpi/processor_driver.c:251)
[ 9.132287][ T1] do_initcalls (init/main.c:1335 init/main.c:1352)
[ 9.132297][ T1] kernel_init_freeable (init/main.c:1588)
[ 9.132299][ T1] ? rest_init (init/main.c:1466)
[ 9.132302][ T1] kernel_init (init/main.c:1476)
[ 9.132305][ T1] ret_from_fork (arch/x86/kernel/process.c:154)
[ 9.132309][ T1] ? rest_init (init/main.c:1466)
[ 9.132315][ T1] ret_from_fork_asm (arch/x86/entry/entry_32.S:737)
[ 9.132319][ T1] entry_INT80_32 (arch/x86/entry/entry_32.S:945)
The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20250813/202508131628.5bcb2ed6-lkp@intel.com
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists