[LTP] [rafael-pm:intel_pstate-testing] [cpufreq] 4a8311d560: WARNING:at_arch/x86/kernel/cpu/aperfmperf.c:#arch_set_cpu_capacity

kernel test robot oliver.sang@intel.com
Wed Aug 7 15:41:11 CEST 2024



Hello,

kernel test robot noticed "WARNING:at_arch/x86/kernel/cpu/aperfmperf.c:#arch_set_cpu_capacity" on:

commit: 4a8311d5601d98c0bc7547f3621236266282d44a ("cpufreq: intel_pstate: Set asymmetric CPU capacity on hybrid systems")
https://git.kernel.org/cgit/linux/kernel/git/rafael/linux-pm.git intel_pstate-testing

in testcase: ltp
version: ltp-x86_64-14c1f76-1_20240727
with following parameters:

	test: kernel_misc



compiler: gcc-13
test machine: 8 threads 1 sockets Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz (Ivy Bridge) with 16G memory

(please refer to attached dmesg/kmsg for entire log/backtrace)



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@intel.com>
| Closes: https://lore.kernel.org/oe-lkp/202408071616.efe30462-lkp@intel.com



kern  :warn  : [  205.247811] sched: RT throttling activated
kern  :warn  : [  205.608733] ------------[ cut here ]------------
kern  :warn  : [  205.608911] WARNING: CPU: 0 PID: 3843 at arch/x86/kernel/cpu/aperfmperf.c:420 arch_set_cpu_capacity+0xe3/0x180
kern  :warn  : [  205.609129] Modules linked in: netconsole btrfs blake2b_generic xor zstd_compress raid6_pq libcrc32c intel_rapl_msr intel_rapl_common x86_pkg_temp_thermal intel_powerclamp sd_mod coretemp t10_pi crc64_rocksoft_generic kvm_intel crc64_rocksoft crc64 sg ipmi_devintf ipmi_msghandler i915 kvm crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel sha512_ssse3 drm_buddy rapl intel_gtt intel_cstate drm_display_helper ahci mxm_wmi firewire_ohci ttm libahci firewire_core drm_kms_helper intel_uncore libata i2c_i801 crc_itu_t i2c_smbus lpc_ich video wmi binfmt_misc loop drm fuse dm_mod ip_tables
kern  :warn  : [  205.610158] CPU: 0 PID: 3843 Comm: cpufreq_boost Not tainted 6.10.0-00003-g4a8311d5601d #1
kern  :warn  : [  205.610343] Hardware name:  /DZ77BH-55K, BIOS BHZ7710H.86A.0097.2012.1228.1346 12/28/2012
kern  :warn  : [  205.610522] RIP: 0010:arch_set_cpu_capacity+0xe3/0x180
kern  :warn  : [  205.610656] Code: f0 48 ba 00 00 00 00 00 fc ff df 48 c1 e9 03 80 3c 11 00 75 42 48 89 43 08 48 83 c4 10 5b 5d 41 5c 41 5d 41 5e c3 cc cc cc cc <0f> 0b c3 cc cc cc cc 4c 89 e6 48 c7 c7 00 36 c9 84 4c 89 44 24 08
kern  :warn  : [  205.611049] RSP: 0018:ffffc90002abfbc0 EFLAGS: 00010246
kern  :warn  : [  205.611192] RAX: 0000000000000000 RBX: ffff888103e1f800 RCX: 0000000000000023
kern  :warn  : [  205.611350] RDX: 0000000000000023 RSI: 0000000000000023 RDI: 0000000000000000
kern  :warn  : [  205.611507] RBP: ffff888103e1f948 R08: 0000000000000023 R09: 1ffff110207c3fa9
kern  :warn  : [  205.611670] R10: ffffc90002abfbe7 R11: ffffffff86231bfe R12: ffff888103e1f820
kern  :warn  : [  205.611846] R13: ffff888103e1f800 R14: ffffc900000f5000 R15: ffff88810b4e2800
kern  :warn  : [  205.612014] FS:  00007f50158be740(0000) GS:ffff88833b800000(0000) knlGS:0000000000000000
kern  :warn  : [  205.612189] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
kern  :warn  : [  205.612327] CR2: 00007f5015aab178 CR3: 00000001eae4a002 CR4: 00000000001706f0
kern  :warn  : [  205.612484] Call Trace:
kern  :warn  : [  205.612574]  <TASK>
kern  :warn  : [  205.612652]  ? __warn+0xcc/0x260
kern  :warn  : [  205.612752]  ? arch_set_cpu_capacity+0xe3/0x180
kern  :warn  : [  205.612907]  ? report_bug+0x261/0x2c0
kern  :warn  : [  205.613018]  ? handle_bug+0x6d/0x90
kern  :warn  : [  205.613119]  ? exc_invalid_op+0x17/0x40
kern  :warn  : [  205.613227]  ? asm_exc_invalid_op+0x1a/0x20
kern  :warn  : [  205.613340]  ? arch_set_cpu_capacity+0xe3/0x180
kern  :warn  : [  205.613457]  hybrid_set_cpu_capacity+0xca/0x270
kern  :warn  : [  205.613581]  hybrid_set_capacity_of_cpus+0x63/0xf0
kern  :warn  : [  205.613708]  store_no_turbo+0x382/0x510
kern  :warn  : [  205.613833]  ? __pfx_store_no_turbo+0x10/0x10
kern  :warn  : [  205.613959]  ? __pfx_mutex_lock+0x10/0x10
kern  :warn  : [  205.614070]  ? 0xffffffff81000000
kern  :warn  : [  205.614167]  ? __check_object_size+0x75/0x1d0
kern  :warn  : [  205.614292]  kernfs_fop_write_iter+0x312/0x4a0
kern  :warn  : [  205.614409]  vfs_write+0x5b5/0xd80
kern  :warn  : [  205.614509]  ? kernfs_iop_getattr+0x10a/0x160
kern  :warn  : [  205.614628]  ? __pfx_vfs_write+0x10/0x10
kern  :warn  : [  205.614737]  ? __do_sys_newfstatat+0xa2/0xf0
kern  :warn  : [  205.614886]  ? __pfx___do_sys_newfstatat+0x10/0x10
kern  :warn  : [  205.615018]  ksys_write+0xfe/0x1d0
kern  :warn  : [  205.615120]  ? __pfx_ksys_write+0x10/0x10
kern  :warn  : [  205.615230]  ? irqtime_account_irq+0x51/0x200
kern  :warn  : [  205.615344]  do_syscall_64+0x5f/0x170
kern  :warn  : [  205.615449]  entry_SYSCALL_64_after_hwframe+0x76/0x7e
kern  :warn  : [  205.615574] RIP: 0033:0x7f50159b9240
kern  :warn  : [  205.615678] Code: 40 00 48 8b 15 c1 9b 0d 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 80 3d a1 23 0e 00 00 74 17 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 58 c3 0f 1f 80 00 00 00 00 48 83 ec 28 48 89
kern  :warn  : [  205.616062] RSP: 002b:00007ffe2dcc6dd8 EFLAGS: 00000202 ORIG_RAX: 0000000000000001
kern  :warn  : [  205.616234] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f50159b9240
kern  :warn  : [  205.616393] RDX: 0000000000000001 RSI: 0000557a9ee97ae0 RDI: 0000000000000004
kern  :warn  : [  205.616550] RBP: 0000557a9ee97ae0 R08: 0000000000000004 R09: 0000000000000073
kern  :warn  : [  205.616712] R10: 0000000000001000 R11: 0000000000000202 R12: 0000000000000001
kern  :warn  : [  205.616907] R13: 0000557a9ee964e0 R14: 0000000000000001 R15: 00007f5015a8f9e0
kern  :warn  : [  205.617070]  </TASK>
kern  :warn  : [  205.617154] ---[ end trace 0000000000000000 ]---



The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20240807/202408071616.efe30462-lkp@intel.com



-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki



More information about the ltp mailing list