Skip to contentSkip to conversation

New: CONFIG_AMD_PMF missing CONFIG_POWER_SUPPLY depend/select

Bug 217028 [email protected] 1 participant 4 messages Feb 13, 2023 x86 platform drivers

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=217028

            Bug ID: 217028
           Summary: CONFIG_AMD_PMF missing CONFIG_POWER_SUPPLY
                    depend/select
           Product: Drivers
           Version: 2.5
    Kernel Version: 6.1.11-gentoo
          Hardware: AMD
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: high
          Priority: P1
         Component: Platform_x86
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

That depend is missing resulting in this error:
ld: drivers/platform/x86/amd/pmf/core.o: in function `amd_pmf_remove':
core.c:(.text+0x10): undefined reference to `power_supply_unreg_notifier'
ld: drivers/platform/x86/amd/pmf/core.o: in function `amd_pmf_probe':
core.c:(.text+0x38f): undefined reference to `power_supply_reg_notifier' make[1]: *** [scripts/Makefile.vmlinux:34: vmlinux] Error 1
make: *** [Makefile:1248: vmlinux] Error 2

The relevant kconfig file is located at drivers/platform/x86/amd/pmf

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#1 lore raw

[Bug 217028] CONFIG_AMD_PMF missing CONFIG_POWER_SUPPLY depend/select

https://bugzilla.kernel.org/show_bug.cgi?id=217028

Hans de Goede ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
                   |                            |g
         Resolution|---                         |CODE_FIX

--- Comment #1 from Hans de Goede ([email protected]) --- Thank you for reporting this.

This is fixed by this (just mergd) patch in the for-next branch of the platform-drivers-x86 tree:

https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/commit/?h=for-next&id=a2f9d361e3d70fcd8c53612034be7dae4f586d97

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#2 lore raw

[Bug 217028] CONFIG_AMD_PMF missing CONFIG_POWER_SUPPLY depend/select

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=217028

The Linux kernel's regression tracker (Thorsten Leemhuis) ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #2 from The Linux kernel's regression tracker (Thorsten Leemhuis) ([email protected]) --- (In reply to Hans de Goede from comment #1)

Quoted 5 lines

This is fixed by this (just mergd) patch in the for-next branch of the platform-drivers-x86 tree:
https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.
git/commit/?h=for-next&id=a2f9d361e3d70fcd8c53612034be7dae4f586d97

Thx for this. Quick question: why is there no "CC: <stable...>? This seems needed (see docs; a fixes tag alone is not enough) if this is something that showed up in 6.1.y. Or am I missing something?

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#3 lore raw

[Bug 217028] CONFIG_AMD_PMF missing CONFIG_POWER_SUPPLY depend/select

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=217028

--- Comment #3 from Hans de Goede ([email protected]) --- (In reply to The Linux kernel's regression tracker (Thorsten Leemhuis) from comment #2)

Quoted 3 lines

Thx for this. Quick question: why is there no "CC: <stable...>? This seems needed (see docs; a fixes tag alone is not enough) if this is something that showed up in 6.1.y. Or am I missing something?

Good point, I've added the Cc: stable now, new commit-id:

https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/commit/?h=for-next&id=3004e8d2a0a98bbf4223ae146464fadbff68bf78

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.