Skip to content

Commit a13bf78

Browse files
Longfang LiuAlex Williamson
authored andcommitted
Documentation: add debugfs description for hisi migration
Add a debugfs document description file to help users understand how to use the hisilicon accelerator live migration driver's debugfs. Update the file paths that need to be maintained in MAINTAINERS Signed-off-by: Longfang Liu <liulongfang@huawei.com> Reviewed-by: Shameer Kolothum <shameerali.kolothum.thodi@huawei.com> Link: https://lore.kernel.org/r/20241112073322.54550-5-liulongfang@huawei.com Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
1 parent b398f91 commit a13bf78

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
What: /sys/kernel/debug/vfio/<device>/migration/hisi_acc/dev_data
2+
Date: Jan 2025
3+
KernelVersion: 6.13
4+
Contact: Longfang Liu <liulongfang@huawei.com>
5+
Description: Read the configuration data and some status data
6+
required for device live migration. These data include device
7+
status data, queue configuration data, some task configuration
8+
data and device attribute data. The output format of the data
9+
is defined by the live migration driver.
10+
11+
What: /sys/kernel/debug/vfio/<device>/migration/hisi_acc/migf_data
12+
Date: Jan 2025
13+
KernelVersion: 6.13
14+
Contact: Longfang Liu <liulongfang@huawei.com>
15+
Description: Read the data from the last completed live migration.
16+
This data includes the same device status data as in "dev_data".
17+
The migf_data is the dev_data that is migrated.
18+
19+
What: /sys/kernel/debug/vfio/<device>/migration/hisi_acc/cmd_state
20+
Date: Jan 2025
21+
KernelVersion: 6.13
22+
Contact: Longfang Liu <liulongfang@huawei.com>
23+
Description: Used to obtain the device command sending and receiving
24+
channel status. Returns failure or success logs based on the
25+
results.

0 commit comments

Comments
 (0)