Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp694604rwi; Wed, 19 Oct 2022 01:29:34 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7fzBSbb+YrfmXhlJQ2b7eYxLJyglaYsT2orhRDUM5Oii1aaSEkBWfun+r/E6owguVnuc3g X-Received: by 2002:a17:907:7704:b0:780:da38:4480 with SMTP id kw4-20020a170907770400b00780da384480mr5866375ejc.64.1666168174452; Wed, 19 Oct 2022 01:29:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666168174; cv=none; d=google.com; s=arc-20160816; b=0h+TdvS+IunYAYvno2eW2SXDkVfelRG+py5qsgVu4R1ua0LObJm+UADFu3Fd8Mp0u9 0W/cLEpyJ6pAV5VAD7eEdVOaR74Qz7OuuByZPWxtSLYmgJJWCjy/L/fNMwApZgv1Tg4R +hpoRn8WP84cESpTcor93Il++vyjXF6M+1XYo1v+4GsFBbVvz2Mg7xbGLBpkyNnJw3Ee im29OKm4hhqh2D+3cz+6VYqbGXl0UJnL+RAorLei3epTJxYEjxJIxHhH4wBqPbKrE1Bl oZ5yNfRkfziJDjM5DocSWhxWHi5vBLbBanwwkpa3Xm0SkSpAGpBGWWLSjDs+c8SBSr7U x5Yw== 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=XmQ+noG4oqjGEdCQ+OmgNlFnO8F2Tgzl/9J+i5k9fkc=; b=oW4Ceu0yy68iHYfp0aBkqV4fmrhRbJI8FrGtgODpOHhG8r4OqF3+2TKq3A0f7rOPcc IHd3OnCCoO9XE8sHna5FNf7P2vfk6Dmth3HkIZrxmrNub7JTdzGNbb9f2O3lFxrEhueD CpRQmlHIX+nVDM/6/DoaUXtLnc/oiZDDXNxh36y5893Vkegmlw3RftN3dE1PUE0RvVFg RONB+fOPXA97VRNr+2IeU/cH89U41zgIqZ5S8snj1m5BGolT6EK1kqdrJ3fPSsWjwRcJ hGtzE7A7aY80svMO3bHkZH61JBKI+fExltme4VFjyryMdbrBYG782RbWMwkdsEGNSgn/ lANw== 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 y9-20020a056402270900b0045bc5ea5334si1002387edd.115.2022.10.19.01.29.08; Wed, 19 Oct 2022 01:29:34 -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 S229664AbiJSILV (ORCPT + 99 others); Wed, 19 Oct 2022 04:11:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35060 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229509AbiJSILU (ORCPT ); Wed, 19 Oct 2022 04:11:20 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 63C77543CD for ; Wed, 19 Oct 2022 01:11:19 -0700 (PDT) Received: from dggemv703-chm.china.huawei.com (unknown [172.30.72.53]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4Msk2Q62TYzHv1k; Wed, 19 Oct 2022 16:11:10 +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; Wed, 19 Oct 2022 16:11:05 +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:11:05 +0800 From: Longfang Liu To: , , , CC: , , , Subject: [PATCH v2 0/2] Add debugfs to hisilicon migration driver Date: Wed, 19 Oct 2022 16:10:31 +0800 Message-ID: <20221019081033.3169-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 | 314 +++++++++++++++++- .../vfio/pci/hisilicon/hisi_acc_vfio_pci.h | 14 + 3 files changed, 342 insertions(+), 2 deletions(-) create mode 100644 Documentation/ABI/testing/debugfs-hisi-migration -- 2.24.0