Bug 216679
Summary: | Build fails: get_metrics_table and amd_pmc_idlemask_read implicit declaration in drivers/platform/x86/amd/pmc.c | ||
---|---|---|---|
Product: | Platform Specific/Hardware | Reporter: | Stuart Foster (smf-linux) |
Component: | x86-64 | Assignee: | platform_x86_64 (platform_x86_64) |
Status: | RESOLVED CODE_FIX | ||
Severity: | normal | CC: | bp |
Priority: | P1 | ||
Hardware: | AMD | ||
OS: | Linux | ||
Kernel Version: | 6.0.8 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: | config file |
Description
Stuart Foster
2022-11-11 11:55:53 UTC
Please upload the config file which triggers this. Thx. Created attachment 303156 [details]
config file
Backtracking kernel 6.0.6 builds 6.0.7 does not. (Before 6.0.8 the kernel for this machine was last built using 6.0.3)/ looking at the change log for 6.0.7 I found this: commit c44b338e4feab95b4751c20b8fae22cffff7d2aa Author: Shyam Sundar S K <Shyam-sundar.S-k@amd.com> Date: Thu Sep 22 23:26:08 2022 +0530 platform/x86/amd: pmc: remove CONFIG_DEBUG_FS checks commit b37fe34c83099ba5105115f8287c5546af1f0a05 upstream. Since linux/debugfs.h already has the stubs for the used debugfs functions when debugfs is not enabled, remove the #ifdef CONFIG_DEBUG_FS checks. Signed-off-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com> Link: https://lore.kernel.org/r/20220922175608.630046-1-Shyam-sundar.S-k@amd.com Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Cc: Jaak Ristioja <jaak@ristioja.ee> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Could this be the trigger ? The fix is already identified. I CCed you on the upstream mail thread: https://lore.kernel.org/r/Y25m8tPTtyfHOCfK@zn.tnic Did you not get it? Yes got it, did not register the e-mails at first I was looking for the bug reference in the e-mail headers sorry. Thanks anyway. The patch works fine for me. Thank you. |