mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-12-24 03:46:45 +00:00
Using the serio subsystem now requires the code to be reachable:
x86_64-linux-ld: drivers/platform/x86/amd/pmc.o: in function `amd_pmc_suspend_handler':
pmc.c:(.text+0x86c): undefined reference to `serio_bus'
Add the usual dependency: as other users of serio use 'select'
rather than 'depends on', use the same here.
Fixes: 8e60615e89 ("platform/x86/amd: pmc: Disable IRQ1 wakeup for RN/CZN")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20230127093950.2368575-1-arnd@kernel.org
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
35 lines
1.1 KiB
Plaintext
35 lines
1.1 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# AMD x86 Platform Specific Drivers
|
|
#
|
|
|
|
source "drivers/platform/x86/amd/pmf/Kconfig"
|
|
|
|
config AMD_PMC
|
|
tristate "AMD SoC PMC driver"
|
|
depends on ACPI && PCI && RTC_CLASS
|
|
select SERIO
|
|
help
|
|
The driver provides support for AMD Power Management Controller
|
|
primarily responsible for S2Idle transactions that are driven from
|
|
a platform firmware running on SMU. This driver also provides a debug
|
|
mechanism to investigate the S2Idle transactions and failures.
|
|
|
|
Say Y or M here if you have a notebook powered by AMD RYZEN CPU/APU.
|
|
|
|
If you choose to compile this driver as a module the module will be
|
|
called amd-pmc.
|
|
|
|
config AMD_HSMP
|
|
tristate "AMD HSMP Driver"
|
|
depends on AMD_NB && X86_64
|
|
help
|
|
The driver provides a way for user space tools to monitor and manage
|
|
system management functionality on EPYC server CPUs from AMD.
|
|
|
|
Host System Management Port (HSMP) interface is a mailbox interface
|
|
between the x86 core and the System Management Unit (SMU) firmware.
|
|
|
|
If you choose to compile this driver as a module the module will be
|
|
called amd_hsmp.
|