Bug 22944 - [ANCK 6.6] kabi broken when PSWIOTLB enabled
Summary: [ANCK 6.6] kabi broken when PSWIOTLB enabled
Status: NEW
Alias: None
Product: ANCK 6.6 Dev
Classification: ANCK
Component: generic (show other bugs) generic
Version: unspecified
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: zhangjing
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-07-26 15:14 UTC by Rayzzz
Modified: 2025-07-26 15:59 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rayzzz 2025-07-26 15:14:43 UTC
Description of problem:

Two sperated issue here:

1. kabi broken after commit d7d8a3ef9b0d316fc5718d3243aa48b858fd1c1d
(anolis: phytium: pswiotlb: Add PSWIOTLB mechanism to improve DMA performance)
with CONFIG_PSWIOTLB=y.

2. CK_KABI_USE(1, struct foo *a) not worked and build error since `COUNT_ARGS`
was move to linux/args.h after commit b229baa374dbb1bb47dccad2cc8887d9438ca3e7
(kernel.h: split out COUNT_ARGS() and CONCATENATE() to args.h)
Comment 1 小龙 admin 2025-07-26 15:39:47 UTC
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/5546