Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp721678rwi; Wed, 19 Oct 2022 01:57:57 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5M74fR+YOFDhD7n1fpHNV8/GoG31TKLR0s+0XLca1IJC0si7TNNfW4PsfJ1XphwUdnoex/ X-Received: by 2002:a05:6402:5253:b0:45d:5914:245b with SMTP id t19-20020a056402525300b0045d5914245bmr6596690edd.227.1666169877692; Wed, 19 Oct 2022 01:57:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666169877; cv=none; d=google.com; s=arc-20160816; b=pAYln9TJNHJAYeTxMYM/EBnLCFB843zT6dvGhamD8/lRN9UnczHxjjk7OkwhGB5EyH Oo+o1nrDfj8jx/a+qt/0Vv9j5gW7P8vT5Sv2isURwRAQDiFYz67XbFVuXhBZ61HgQdxY RmsvCMQ6GPyb4Mdj4tLwg33W81qZAGR7p15fWlmGN0imikb6dHj2LQ28zznJV6865P88 9z3OTfPYY0J5b22TkD9Ch9o4jKjuJJYAvbrA3AR3Y7OWyLLnHc5jt3Gp07tb73AB4Kou ncnTLuS91WGuRyiIMPLFwy2VhRAfJEplQqLZdxfzELbEPjb52M0Efb+YxWC/aa3AFf55 5mug== 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=jeiuD3DnvY5o81KVphfirK/t56ug0gFsszR0371jfBFbkJdE649PWRyBqUz49Pmnd/ v862buml2SjA/E+ivA5FF4Ggtu7u3TX+dttQUfTV8JiQgOVQnhT3R+MvjyyqLF9boWX2 bJ7Lz9M6gR9ueRs66egscyVrf9ljSenI0LT4UC14hYCQvw3xW+rk6M5T1ot6lGMfBHRo XsD35In9Fm8RbKIhElRXCKcQauFI/10yOvy02u3xVpmo9mvrGXlEqyTPZSiDoMb/J1r8 5qj3oy913+y0e/+QvSPRB7RRjHbgHNV/Jcmuxn+2rpcx0YQsPFLCtUngw3WschPVi9D6 ClZw== 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 w7-20020a056402268700b00459563e2c60si15993417edd.329.2022.10.19.01.57.32; Wed, 19 Oct 2022 01:57:57 -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 S229882AbiJSIMQ (ORCPT + 99 others); Wed, 19 Oct 2022 04:12:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35802 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229726AbiJSIMK (ORCPT ); Wed, 19 Oct 2022 04:12:10 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7813D564FF for ; Wed, 19 Oct 2022 01:12:09 -0700 (PDT) Received: from dggemv711-chm.china.huawei.com (unknown [172.30.72.54]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4MsjyB6cDdzVhy4; Wed, 19 Oct 2022 16:07:30 +0800 (CST) Received: from kwepemm600005.china.huawei.com (7.193.23.191) by dggemv711-chm.china.huawei.com (10.1.198.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Wed, 19 Oct 2022 16:12:07 +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; Wed, 19 Oct 2022 16:12:07 +0800 From: Longfang Liu To: , , , CC: , , , Subject: [PATCH v2 2/2] Documentation: Add debugfs for hisi_acc_vfio_pci Date: Wed, 19 Oct 2022 16:10:33 +0800 Message-ID: <20221019081033.3169-3-liulongfang@huawei.com> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20221019081033.3169-1-liulongfang@huawei.com> References: <20221019081033.3169-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: dggems704-chm.china.huawei.com (10.3.19.181) 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