diff options
| author | Liam R. Howlett <liam@infradead.org> | 2026-10-08 21:10:10 -0400 |
|---|---|---|
| committer | Lizhi Hou <lizhi.hou@amd.com> | 2026-10-12 09:18:54 -0700 |
| commit | 8240e19d329e9e1502fc96608d8afe6861e9df90 (patch) | |
| tree | 37ef5892108134a9fc9f2b37cc8492d63a3dbcbb /scripts/basic/split-include.c | |
| parent | 7afc36c92a2812de36ec2e15a6f281fca081beab (diff) | |
| download | linux-8240e19d329e9e1502fc96608d8afe6861e9df90.tar.gz linux-8240e19d329e9e1502fc96608d8afe6861e9df90.zip | |
accel/amdxdna: Fix Kconfig invalid configuration
The amdxdna has a soft dependency on the amd_pmf module. It will use an
exported function if it is available and fall back to another function
if it is not enabled.
amdxdna and amd_pmf are tridstate modules supporting both built [y] and
modularized [m] in the .config file. Since the amdxdna decides to use
the amd_pmf if it is either a module or built in (see
drivers/accel/amdxdna/aie2_pci.h), then there is an issue if they are
not compiled either both as modules or both as built-in.
Adding the optional dependency to Kconfig does not allow the
configuration from being selected.
Fixes: f66d6cc6891e4 ("accel/amdxdna: Support sensors for column utilization")
Signed-off-by: Liam R. Howlett <liam@infradead.org>
Reviewed-by: Lizhi Hou <lizhi.hou@amd.com>
Signed-off-by: Lizhi Hou <lizhi.hou@amd.com>
Link: https://patch.msgid.link/20261009011010.3521631-1-liam@infradead.org
Diffstat (limited to 'scripts/basic/split-include.c')
0 files changed, 0 insertions, 0 deletions
