From nobody Tue Apr 7 11:17:24 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1DA41C4332F for ; Fri, 14 Oct 2022 02:59:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229792AbiJNC7b (ORCPT ); Thu, 13 Oct 2022 22:59:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45574 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229507AbiJNC73 (ORCPT ); Thu, 13 Oct 2022 22:59:29 -0400 Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E062B15F939 for ; Thu, 13 Oct 2022 19:59:28 -0700 (PDT) Received: from dggemv703-chm.china.huawei.com (unknown [172.30.72.53]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4MpWFk3Rqbz1P7Pc; Fri, 14 Oct 2022 10:54:50 +0800 (CST) Received: from kwepemm600005.china.huawei.com (7.193.23.191) by dggemv703-chm.china.huawei.com (10.3.19.46) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Fri, 14 Oct 2022 10:59:27 +0800 Received: from huawei.com (10.67.164.66) by kwepemm600005.china.huawei.com (7.193.23.191) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Fri, 14 Oct 2022 10:59:26 +0800 From: Longfang Liu To: , , CC: , , , Subject: [PATCH 2/2] Documentation: Add debugfs for hisi_acc_vfio_pci Date: Fri, 14 Oct 2022 10:57:57 +0800 Message-ID: <20221014025757.39415-3-liulongfang@huawei.com> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20221014025757.39415-1-liulongfang@huawei.com> References: <20221014025757.39415-1-liulongfang@huawei.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [10.67.164.66] X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To kwepemm600005.china.huawei.com (7.193.23.191) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Add a debugfs document description file to help users understand how to use the accelerator live migration driver's debugfs. Signed-off-by: Longfang Liu --- Documentation/ABI/testing/debugfs-hisi-migration | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Documentation/ABI/testing/debugfs-hisi-migration diff --git a/Documentation/ABI/testing/debugfs-hisi-migration b/Documentati= on/ABI/testing/debugfs-hisi-migration new file mode 100644 index 000000000000..36f0882c3a52 --- /dev/null +++ b/Documentation/ABI/testing/debugfs-hisi-migration @@ -0,0 +1,16 @@ +What: /sys/kernel/debug/hisi_vfio_acc//state +Date: Sep 2022 +Contact: linux-kernel@vger.kernel.org +Description: Cat the status of the live migration of the current VF device. + The status of these live migrations includes: + Error, RUNNING, STOP, STOP and COPYING, RESUMING. + +What: /sys/kernel/debug/hisi_vfio_acc//debug +Date: Sep 2022 +Contact: linux-kernel@vger.kernel.org +Description: This debug file supports "cat" read operations and "echo" + write operations. The read debug file operation will return the + command description of the write operation. By writing different + commands, different test functions can be performed. + The specific operation method can be obtained through the + "cat debug" command. --=20 2.24.0