Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp14245rwi; Thu, 13 Oct 2022 20:28:39 -0700 (PDT) X-Google-Smtp-Source: AMsMyM79UF7DQtoetTUCGXLy7omoNT3KmDChzKb8fwiwo+GBqinsJLb+5cMpnm8SCJFZX4/KbrHm X-Received: by 2002:a17:906:846a:b0:78d:dfe6:4db5 with SMTP id hx10-20020a170906846a00b0078ddfe64db5mr1962693ejc.90.1665718118835; Thu, 13 Oct 2022 20:28:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665718118; cv=none; d=google.com; s=arc-20160816; b=vTNch8oIoKPdMOK530BOCQS76E7zoLSyQBeS+ySy61N/obdeoQFkx7exxr13wn0kEt W8kGkKbTfGQQOOV44HM0Az5L+r7FmlbA/Oi5RS+5KI07oPaemzLx3/92M1Cg2xMdXMYu WW3dBTxU4wUD5zAtsm91EPWJXDtygcNz8E4kcY4Sr2IDaYMBet6wkWMAOB2X8zEZfAxt hTwYkADssBOUWTUl1iN52mBzqqN3hjIBRd9XfWuq4amYu2xfqsAxwkJxmIk4FUC7Ty2p dtlWbLUugGfy7LOCqSvDDT/qXcLHI00qxWKfme+Y7cjbqJ+FV7v+y/e6lcpAf+mHnIUh bWyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=2POO1j2v/FWv3KNpD3HeAL6g+GIZOVeFUVEiyQID1JM=; b=W2YvvcvW6MFj1nXxQDjgKsAqbNrS4C0gYWiQBnXh0S1/h7gZ+3LOe8U0t3QMf4cYOB o708mPzcGAjkvGoZIDys4iNf2KJ1TGWgVfFTAf1Q6eTT+uSlUtwACjuFEApy+J7QkpBG eeDgS5OCG5XEgV0ijzxwlwuLLyDx0YbVqtLqjXqI5bC0MCcAwMy6gGHd+QQtKZvzTF8B VwLBzDq0Nqw3QOZ81MT+F9hGaX5JN36vGrrKgge+Kp8XaCtyXNRnfn/7f6n3U/B6IqVx 6AUSX5yaYJEr89MfEGMa6e8+jb/QZszbh06Ixl+TkrpDU8j+PlKX4PJ3kHjmx8xG47xL MoIQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cr19-20020a170906d55300b0077ef2f9c8b7si1431239ejc.922.2022.10.13.20.28.12; Thu, 13 Oct 2022 20:28:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229708AbiJNC7b (ORCPT + 99 others); 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: 7BIT Content-Type: text/plain; charset=US-ASCII 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 X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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/Documentation/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. -- 2.24.0