Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Longfang Liu and committed by
Alex Williamson
a13bf78f b398f917

+25
+25
Documentation/ABI/testing/debugfs-hisi-migration
··· 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.