Skip to content

Commit a13bf78

Browse files
Longfang Liuawilliam
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 <[email protected]> Reviewed-by: Shameer Kolothum <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alex Williamson <[email protected]>
1 parent b398f91 commit a13bf78

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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)