ERROR: modpost: "acpi_processor_ffh_play_dead" [drivers/acpi/processor.ko] undefined!
kernel test robot
build bottree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/cpu head: 96040f7273e2bc0be1871ad9ed4da7b504da9410 commit: 541ddf31e30022b8e6f44b3a943964e8f0989d15 [3/5] ACPI/processor_idle: Add FFH state handling config: x86_64-randconfig-077-20250214 (https://download.01.org/0day-ci/archive/20250215/[email protected]/config) compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250215/[email protected]/reproduce)
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 <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
All errors (new ones prefixed by >>, old ones prefixed by <<):
>> ERROR: modpost: "acpi_processor_ffh_play_dead" [drivers/acpi/processor.ko] undefined!
Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
Quoted 7 lines · kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/cpu
head:96040f7273e2bc0be1871ad9ed4da7b504da9410
commit:541ddf31e30022b8e6f44b3a943964e8f0989d15[3/5] ACPI/processor_idle: Add FFH state handling
config: x86_64-randconfig-077-20250214 (https://download.01.org/0day-ci/archive/20250215/[email protected]/config)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250215/[email protected]/reproduce)
Quoted 8 lines
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
Quoted 2 lines
All errors (new ones prefixed by >>, old ones prefixed by <<):
Quoted 1 line
Quoted 1 line
ERROR: modpost: "
acpi_processor_ffh_play_dead" [drivers/acpi/processor.ko] undefined!
Oh, this is the 'CONFIG_ACPI_PROCESSOR=m' case. The function export is missing. Sorry for this.
The below patch fixes the issue. Could you please fold it into the following commit?
541ddf31e300 ACPI/processor_idle: Add FFH state handling
I am not sure about the rules of the tip tree in cases like this, please direct me on how to handle the delivery of the fix.
Thanks!
index 5bdb65516969..86c87c01d23d 100644
arch/x86/kernel/acpi/cstate.c +1 -0
@@ -214,6 +214,7 @@ void acpi_processor_ffh_play_dead(struct acpi_processor_cx *cx) percpu_entry =per_cpu_ptr (cpu_cstate_entry, cpu);mwait_play_dead (percpu_entry->states[cx->index].eax); } +EXPORT_SYMBOL_GPL (acpi_processor_ffh_play_dead); void __cpuidle acpi_processor_ffh_cstate_enter(struct acpi_processor_cx *cx) {
PATCH 1/1 ACPI/processor_idle: Export acpi_processor_ffh_play_dead()
Quoted 17 lines · Artem Bityutskiy
Quoted 7 lines · kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/cpu
head:96040f7273e2bc0be1871ad9ed4da7b504da9410
commit:541ddf31e30022b8e6f44b3a943964e8f0989d15[3/5] ACPI/processor_idle: Add FFH state handling
config: x86_64-randconfig-077-20250214 (https://download.01.org/0day-ci/archive/20250215/[email protected]/config)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250215/[email protected]/reproduce)Quoted 8 lines
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
Quoted 2 lines
All errors (new ones prefixed by >>, old ones prefixed by <<):
Quoted 1 line
Quoted 1 line
ERROR: modpost: "
acpi_processor_ffh_play_dead" [drivers/acpi/processor.ko] undefined!
Quoted 8 lines
Oh, this is the '
CONFIG_ACPI_PROCESSOR=m' case. The function export is missing. Sorry for this.The below patch fixes the issue. Could you please fold it into the following commit?
541ddf31e300ACPI/processor_idle: Add FFH state handlingI am not sure about the rules of the tip tree in cases like this, please direct me on how to handle the delivery of the fix.
Additional patches have been added since then to tip:x86/cpu, so I created the commit below, and added your Signed-off-by.
Thanks,
Ingo
==========================>
From: Artem Bityutskiy <[email protected]>
Date: Sun, 16 Feb 2025 14:26:14 +0200
Subject: [PATCH] ACPI/processor_idle: Export acpi_processor_ffh_play_dead()
The kernel test robot reported the following build error:
Quoted 1 line
Quoted 1 line
ERROR: modpost: "
acpi_processor_ffh_play_dead" [drivers/acpi/processor.ko] undefined!
Caused by this recently merged commit:
541ddf31e300 ("ACPI/processor_idle: Add FFH state handling")
The build failure is due to an oversight in the 'CONFIG_ACPI_PROCESSOR=m' case, the function export is missing. Add it.
--- arch/x86/kernel/acpi/cstate.c | 1 + 1 file changed, 1 insertion(+)
arch/x86/kernel/acpi/cstate.c +1 -0
@@ -214,6 +214,7 @@ void acpi_processor_ffh_play_dead(struct acpi_processor_cx *cx) percpu_entry =per_cpu_ptr (cpu_cstate_entry, cpu);mwait_play_dead (percpu_entry->states[cx->index].eax); } +EXPORT_SYMBOL_GPL (acpi_processor_ffh_play_dead); void __cpuidle acpi_processor_ffh_cstate_enter(struct acpi_processor_cx *cx) {
[tip: x86/cpu] ACPI/processor_idle: Export acpi_processor_ffh_play_dead()
In reply to Artem BityutskiyThe following commit has been merged into the x86/cpu branch of tip:
The following commit has been merged into the x86/cpu branch of tip:
Commit-ID: 64aad4749d7911f8c5e69d93a929a269605dd3cb Gitweb: https://git.kernel.org/tip/64aad4749d7911f8c5e69d93a929a269605dd3cb Author: Artem Bityutskiy <[email protected]> AuthorDate: Sun, 16 Feb 2025 14:26:14 +02:00 Committer: Ingo Molnar <[email protected]> CommitterDate: Fri, 21 Feb 2025 15:17:07 +01:00
ACPI/processor_idle: Export acpi_processor_ffh_play_dead()
The kernel test robot reported the following build error:
Quoted 1 line
Quoted 1 line
ERROR: modpost: "
acpi_processor_ffh_play_dead" [drivers/acpi/processor.ko] undefined!
Caused by this recently merged commit:
541ddf31e300 ("ACPI/processor_idle: Add FFH state handling")
The build failure is due to an oversight in the 'CONFIG_ACPI_PROCESSOR=m' case, the function export is missing. Add it.
--- arch/x86/kernel/acpi/cstate.c | 1 + 1 file changed, 1 insertion(+)
arch/x86/kernel/acpi/cstate.c +1 -0
@@ -214,6 +214,7 @@ void acpi_processor_ffh_play_dead(struct acpi_processor_cx *cx) percpu_entry =per_cpu_ptr (cpu_cstate_entry, cpu);mwait_play_dead (percpu_entry->states[cx->index].eax); } +EXPORT_SYMBOL_GPL (acpi_processor_ffh_play_dead); void __cpuidle acpi_processor_ffh_cstate_enter(struct acpi_processor_cx *cx) {