Received: by 2002:a05:6358:d186:b0:cc:af7:9280 with SMTP id ka6csp17075rwb; Thu, 13 Oct 2022 20:09:22 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6pFCtdNTkTH05ZH5jB/CsES1QRfjphwg7uWtApcVqktKQxH7yCiBKXB36ruAHWgdSg0w1G X-Received: by 2002:a17:902:f142:b0:17f:749f:ba27 with SMTP id d2-20020a170902f14200b0017f749fba27mr3195405plb.144.1665716961828; Thu, 13 Oct 2022 20:09:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665716961; cv=none; d=google.com; s=arc-20160816; b=Q9lsNhxqmusIFJFhXeiUekPpmysnHqJ/AEjc4a6VvbPmQz9Qw2zlfYZ4cbDv4a+IZX OwGejhGLmSKu9/+ZTfosD5QBPBVoI+Q39rQRqOIF5TT26fgxRy8AEV6qxrqvYhS9Q5vG PaojmDoR1ztIGQPxC0dMH/tPC4DleTA0uB8xlO1P4K6kNsOJAGIA/H6bXBnfbq/YRlbK +HbBe3bT1+qwJ0TnJVO/mCOIlw0UMBM+4lyt4uYoKlQSf3F6XtpiX5ILgwis7lQzYh4n hPuSKuKhQhcyt8s5smg6aazzhUZKwzcnrvnQ1rxmg3rGW+eSt17iJC9+ry36oZRF3yma ksdA== 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 :message-id:date:subject:cc:to:from; bh=hWl/VZRgtgwrijwLSphJ2QyMD3Mraqgmkv1/bSCrI10=; b=XZQUgY1GZpuW9izlp0ikUmN6ZgXAhtCTQL4lKObhcMvg9tVU0uR1AbsW5ytsLkmMXE SI97vZU7gNoCUH59teaD+4K7+nPYHa9WMU6ech4HG6clQZkmngzxd2ZxxIYl6xADJqE+ lT2ZlCW0H8RfEy0GBQvcmgow1DD+9Z/wlAVnTLU8+ugr3nL4uLo+pTDvqFANTU/mRSTd z2SuKCnntMc04ziTxkfP7y1yxTWQqQhLMv6m4lvsI69fYny1E7RB1jqkZBfqd/EWLRFb wfC2Ma/mH719O/JXuL0yvDYHXfhEj16rvEtBeL5GVuk1jSnor6G9M7O6kgfZ73hPSOx5 k3GA== 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 o28-20020a63731c000000b0042b95537587si1286400pgc.359.2022.10.13.20.09.09; Thu, 13 Oct 2022 20:09:21 -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 S229828AbiJNC6a (ORCPT + 99 others); Thu, 13 Oct 2022 22:58:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44428 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229507AbiJNC62 (ORCPT ); Thu, 13 Oct 2022 22:58:28 -0400 Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2AE8715CB27 for ; Thu, 13 Oct 2022 19:58:27 -0700 (PDT) Received: from dggemv703-chm.china.huawei.com (unknown [172.30.72.55]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4MpWGv58CtzDsW9; Fri, 14 Oct 2022 10:55:51 +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:58:25 +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:58:24 +0800 From: Longfang Liu To: , , CC: , , , Subject: [PATCH 0/2] Add debugfs to hisilicon migration driver Date: Fri, 14 Oct 2022 10:57:55 +0800 Message-ID: <20221014025757.39415-1-liulongfang@huawei.com> X-Mailer: git-send-email 2.24.0 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.67.164.66] X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) 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 set of debugfs for the hisilicon accelerator live migration driver. This debugfs is used to test the functions of the qemu tools, driver software and accelerator devices involved in the live migration step by step. Get software data or accelerator devices data in the event of a live migration failure. Longfang Liu (2): hisi_acc_vfio_pci: Add debugfs to migration driver Documentation: Add debugfs for hisi_acc_vfio_pci .../ABI/testing/debugfs-hisi-migration | 16 + .../vfio/pci/hisilicon/hisi_acc_vfio_pci.c | 296 ++++++++++++++++++ .../vfio/pci/hisilicon/hisi_acc_vfio_pci.h | 14 + 3 files changed, 326 insertions(+) create mode 100644 Documentation/ABI/testing/debugfs-hisi-migration -- 2.24.0