Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp2918486rdh; Mon, 30 Oct 2023 11:19:34 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEE4qkrQ5cg2MuQE0dU2nP3zKl6dK4jR5Xx+DUmDFQUGUYW0f2nl6jB52gYFKGErrfomFZV X-Received: by 2002:a17:902:e1cd:b0:1c7:49dd:2df with SMTP id t13-20020a170902e1cd00b001c749dd02dfmr6818173pla.32.1698689973855; Mon, 30 Oct 2023 11:19:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698689973; cv=none; d=google.com; s=arc-20160816; b=0dXB4wFQBaZ/2fT2DNoaMhgihiydS3hgX68l2N/OzTfLfmcXL/MHVi7sYXJsxlu96j idDqj7dew+gh6R2ijaATmZ47n6qLbLZIyaO8QJzKH36rNMmCpwRHcG6JXokzfcvMZ1Vg M+bWeX70O2va96bLwiyuB7mcblfpgVQvhjnpeJWSy3zRZHo7yOD0OMG3CFFlkQ0/cy/o w3PDjyHMd1Q8vZvWHghqFfJSqWBYIXFJ+xTvd2vqXpGPnvLcXlojNVnEU66x08l3/UHw iX9Mnuz6S9fznIBp+XCK8PBX8UCUj7/0ihO2EQkJ57g85F9N/OKZS8dr9dGPJRJ732s1 VYEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=RUJc6zFpUGnFUT0JQ67BCsiiQXvckJ5XNbOCdGJYiwI=; fh=+4gC4LmfQlCoD5nmRGefxNg/J20m6gJt8nwYJvoURRw=; b=MMksS7do2XoRK3PY2PgUrYE1kl9OFdt2PPjqOhpL3bNSEFJ6RN997dICw0VOShXuo+ jmDpADthQscVcwsuQeK3mIc58Lr31FwzCyuVcxHaNLfSGyO9ouc+GHQy/AAdDmPsp01N aQggi4fWA2TVHhw6HQuw7uIFjjlr11iCh83wcQSLdj2KUeZ5RKl1hED0e/+c8RysfNk2 s3P9Cjdd9OIrLsnvPFvrRAWHxFM0Uqc7If8dMdHl+5UwRFXGTwvXsnDn/tLMRS+gUqlR kNXFUBeU1Adr9nAGU8Rv+DKsarU+MGRsOueO6YnJbPeuqHRhZxt6aEnKNQWWGhhdRTYf 2p9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=i5brf9sK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id i18-20020a170902c95200b001c6223663b3si1498356pla.369.2023.10.30.11.19.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Oct 2023 11:19:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=i5brf9sK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 682DF802C7D1; Mon, 30 Oct 2023 11:19:32 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230428AbjJ3STb (ORCPT + 99 others); Mon, 30 Oct 2023 14:19:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34974 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229688AbjJ3STa (ORCPT ); Mon, 30 Oct 2023 14:19:30 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 684D8C5 for ; Mon, 30 Oct 2023 11:18:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1698689920; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=RUJc6zFpUGnFUT0JQ67BCsiiQXvckJ5XNbOCdGJYiwI=; b=i5brf9sKLdIspCTjawH92RrfT7rRt52gNr8Q7nIUUQgrOiiDD0EpGykid9Yp24Lgo1GScx nMkxnqKKBZf1WyqNppeaM9YTBxcFy/AiPQKy+/3rGhJQNFcYvXLvZj1sdxCJ39nPKBUzvo +K+UH1S+J30vCSTkKzOxGSkSJa6TBG4= Received: from mail-qt1-f197.google.com (mail-qt1-f197.google.com [209.85.160.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-586-yGmYXtxHPLuiplO_H7oKgg-1; Mon, 30 Oct 2023 14:18:39 -0400 X-MC-Unique: yGmYXtxHPLuiplO_H7oKgg-1 Received: by mail-qt1-f197.google.com with SMTP id d75a77b69052e-41cdce61c6cso55334261cf.3 for ; Mon, 30 Oct 2023 11:18:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698689918; x=1699294718; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=RUJc6zFpUGnFUT0JQ67BCsiiQXvckJ5XNbOCdGJYiwI=; b=mJYVRKNY3dxJOEDcwu4Rnd+iXf51L+2sCU+ig8DYy8r3xh4RzuV2+jR3KfiZbpM+Sd QGg3XJiIVsUR2tYvoCNVsRnk2l0uhXkE9dpzeI4W49IZCm1EhgCkSbKUGU4mUIwiqjC/ A7OiV5O7Cx33JWgi1X6S5CYF1VI1VGkGzOcTAySw/8ZRX+caUhPKrj42rVrLoIw5eujv yMaF1N30P1+8AzNxyhl7PEiIhxGAEnk7aKVWia8Uix8SE2tMYBH7ExhMtHMUqdPUGG/h fyQZSKgHissykzRX92reoTY9V15xBI0njFUllvRoay7iRMFJnUf5cr0SWeAJuWm5efeh uWXg== X-Gm-Message-State: AOJu0Yy2MCuLemAphlFrWlA6JoM87VBJZqOovqx88UvMl1flogjRxMFG qPlXs3YCvVs52TMC4AHSBhka9cmxT9cMBntYRJecAaSDq+XFltUgUJOa8djkhjDAKMz73ebGrEm BoMvu0ODueDa14vR95r4dFK7J X-Received: by 2002:ac8:5f06:0:b0:418:b8c:1a0a with SMTP id x6-20020ac85f06000000b004180b8c1a0amr11534486qta.25.1698689918620; Mon, 30 Oct 2023 11:18:38 -0700 (PDT) X-Received: by 2002:ac8:5f06:0:b0:418:b8c:1a0a with SMTP id x6-20020ac85f06000000b004180b8c1a0amr11534477qta.25.1698689918398; Mon, 30 Oct 2023 11:18:38 -0700 (PDT) Received: from ?IPV6:2a01:e0a:280:24f0:3f78:514a:4f03:fdc0? ([2a01:e0a:280:24f0:3f78:514a:4f03:fdc0]) by smtp.gmail.com with ESMTPSA id x5-20020ac84d45000000b00419c40a0d70sm3625383qtv.54.2023.10.30.11.18.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 30 Oct 2023 11:18:38 -0700 (PDT) Message-ID: <80db2551-c767-45a0-b66e-89ab52b8238f@redhat.com> Date: Mon, 30 Oct 2023 19:18:35 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v18 2/2] Documentation: add debugfs description for vfio Content-Language: en-US To: Longfang Liu , alex.williamson@redhat.com, jgg@nvidia.com, shameerali.kolothum.thodi@huawei.com, jonathan.cameron@huawei.com Cc: bcreeley@amd.com, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, linuxarm@openeuler.org References: <20231028075447.41939-1-liulongfang@huawei.com> <20231028075447.41939-3-liulongfang@huawei.com> From: =?UTF-8?Q?C=C3=A9dric_Le_Goater?= In-Reply-To: <20231028075447.41939-3-liulongfang@huawei.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_NONE autolearn=unavailable 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 30 Oct 2023 11:19:32 -0700 (PDT) On 10/28/23 09:54, Longfang Liu wrote: > 1.Add an debugfs document description file to help users understand > how to use the accelerator live migration driver's debugfs. > 2.Update the file paths that need to be maintained in MAINTAINERS > > Signed-off-by: Longfang Liu > --- > Documentation/ABI/testing/debugfs-vfio | 25 +++++++++++++++++++++++++ > MAINTAINERS | 1 + > 2 files changed, 26 insertions(+) > create mode 100644 Documentation/ABI/testing/debugfs-vfio > > diff --git a/Documentation/ABI/testing/debugfs-vfio b/Documentation/ABI/testing/debugfs-vfio > new file mode 100644 > index 000000000000..445e9f58f924 > --- /dev/null > +++ b/Documentation/ABI/testing/debugfs-vfio > @@ -0,0 +1,25 @@ > +What: /sys/kernel/debug/vfio > +Date: Oct 2023 > +KernelVersion: 6.7 I think the KernelVersion lines should be using tabs and not white spaces. Thanks, C. > +Contact: Longfang Liu > +Description: This debugfs file directory is used for debugging > + of vfio devices, it's a common directory for all vfio devices. > + Vfio core will create a device subdirectory under this > + directory. > + > +What: /sys/kernel/debug/vfio//migration > +Date: Oct 2023 > +KernelVersion: 6.7 > +Contact: Longfang Liu > +Description: This debugfs file directory is used for debugging > + of vfio devices that support live migration. > + The debugfs of each vfio device that supports live migration > + could be created under this directory. > + > +What: /sys/kernel/debug/vfio//migration/state > +Date: Oct 2023 > +KernelVersion: 6.7 > +Contact: Longfang Liu > +Description: Read the live migration status of the vfio device. > + The contents of the state file reflects the migration state > + relative to those defined in the vfio_device_mig_state enum > diff --git a/MAINTAINERS b/MAINTAINERS > index b19995690904..a6be3b4219c7 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -22591,6 +22591,7 @@ L: kvm@vger.kernel.org > S: Maintained > T: git https://github.com/awilliam/linux-vfio.git > F: Documentation/ABI/testing/sysfs-devices-vfio-dev > +F: Documentation/ABI/testing/debugfs-vfio > F: Documentation/driver-api/vfio.rst > F: drivers/vfio/ > F: include/linux/vfio.h