Message ID | 20221019081033.3169-1-liulongfang@huawei.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp194918wrs; Wed, 19 Oct 2022 01:17:42 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5sHW1VPfkG7l7XX4qfmwcxP819omB+7nS/S9O59SSaJhLqK/LmeXoZzt/PGvxkUR5kYbnK X-Received: by 2002:a17:902:e0d1:b0:182:6ab:98e3 with SMTP id e17-20020a170902e0d100b0018206ab98e3mr7284258pla.5.1666167461918; Wed, 19 Oct 2022 01:17:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666167461; cv=none; d=google.com; s=arc-20160816; b=fHSml1SWtfpZtSiPeGsAAnR4jWC8qiDOdxmP3mIf3OHBuWGWtsnQb9ysXXK67CQS5d on/r+tqwV8728tyyvZWqGRoSJNIM14ZFKhlaa6dwbJMNrvhmwH6jQIoQrlSlHCv+fhSc 2m+bryjBUeMrm9srm/v9E5Fwaql0TJpLR+VUvZGkSmr5pPujkOGnnTxG0f6hhgXo3GBK AdOj8CRLlv5DsSmEFnfRe2jy80oqAx1ca+U7VwBCcIzjkW108opyvqtiyeJ+9pOJD/c9 QhFE6BQjjHSZqgRQQRnqS7mwWHVcGE23zRlJS+RpsaCCRVn+RgA7giLpDqPDl/BZ8uHI /8tA== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y9-20020a655b49000000b00412607fea43si17111952pgr.617.2022.10.19.01.17.28; Wed, 19 Oct 2022 01:17:41 -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 <rfc822;samuel.l.nystrom@gmail.com> + 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 <rfc822;linux-kernel@vger.kernel.org>); 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 <linux-kernel@vger.kernel.org>; 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 <liulongfang@huawei.com> To: <alex.williamson@redhat.com>, <jgg@nvidia.com>, <shameerali.kolothum.thodi@huawei.com>, <john.garry@huawei.com> CC: <cohuck@redhat.com>, <linux-kernel@vger.kernel.org>, <linuxarm@openeuler.org>, <liulongfang@huawei.com> 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747103212800338346?= X-GMAIL-MSGID: =?utf-8?q?1747103212800338346?= |
Series |
Add debugfs to hisilicon migration driver
|
|
Message
liulongfang
Oct. 19, 2022, 8:10 a.m. UTC
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