Bug 20668 - [devel-6.6] amdkfd: fix CONFIG_HSA_AMD doesn't support on RISCV
Summary: [devel-6.6] amdkfd: fix CONFIG_HSA_AMD doesn't support on RISCV
Status: NEW
Alias: None
Product: ANCK 6.6 Dev
Classification: ANCK
Component: drivers (show other bugs) drivers
Version: unspecified
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: GuixinLiu
QA Contact: shuming
URL:
Whiteboard:
Keywords: Bugfix
Depends on:
Blocks:
 
Reported: 2025-04-25 09:25 UTC by Jessica-Liu
Modified: 2025-04-25 13:02 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jessica-Liu 2025-04-25 09:25:06 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
Comment 1 Jessica-Liu 2025-04-25 10:35:58 UTC
Description of problem:
RISCV架构下不支持配置CONFIG_HSA_AMD

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.RISCV架构下,make menuconfig生成.config文件
2.修改.config文件,添加CONFIG_HSA_AMD=y,重新执行make menuconfig
3.重新查看.config文件是否有CONFIG_HSA_AMD=y配置
4.编译安装内核,加载amdgpu驱动,查看系统中是否有/dev/kfd设备

Actual results:
.config文件中没有CONFIG_HSA_AMD=y配置
系统中没有/dev/kfd字符设备

Expected results:
.config文件中有CONFIG_HSA_AMD=y配置
系统中有/dev/kfd字符设备

Additional info:
Comment 2 小龙 admin 2025-04-25 13:02:55 UTC
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/5153