Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1415946iog; Tue, 14 Jun 2022 05:45:33 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vq4CTFMbzPmPaUNlkL9K0iRi43WLWEG0dkNuLMksHGZCkhuJc6JnHU7eLpJY7sEcT9TszA X-Received: by 2002:a17:902:cec9:b0:167:8ce9:ec34 with SMTP id d9-20020a170902cec900b001678ce9ec34mr4469768plg.147.1655210733610; Tue, 14 Jun 2022 05:45:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655210733; cv=none; d=google.com; s=arc-20160816; b=Ir8G/hS872+C2CUGGCsVy6jfyOXWS0RPV+YMqEKZfodBTZTFC0v/yz+UkV7iYCwrPj E9ZdFH1JFCAQpARhV69tB2bDnkgRMWJfWusTCmfUoCSRySlqsgtxUybrVwbHtCMCaqq3 WgKSO8/mVBJ2Dh++/+HvB4SgQoT5bCXZqtlfnVDC/dMDBiY5zGMvB3N2i4RndSlOS4S9 iqrWFnRV7MuBqo8OcMjXpxAYFxMbc42voSthp/65KoRX631ikxsVZWR+s7BDk3044xyR evs/8Z3dxIbseWfGrR5rxIOf+VY98ALJKSTiZnklXz83tTqDUyWjVWkMF0C1Or1ibDIH XMww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=dF3G3aUezrmmeZQR2GHAsrOfxNPJ5hjfz5e54cjt0go=; b=SCPg0CisAt2fkliKi0kiKwkQSA3eUSvTAwxxbYVCLjkV+JB8xDCjK+KvwL6Rh7WRzY 5VLN9RvZtmj5ZmoqN2348xwTIk3WAeKb4aeBIHd2eJo6Jz2ysdUj1rOkpu5ikBnvzboi x07fvF4qxeoPSnDx3GHQAeXhWJqstNlki2Dok7cGzhr7suoTferSzGlF6YdiSz2IxnsP vtsU5jXXKbHhUF6/66qK+hjPxLge0klMw2OzH7SEkMqgvgFmJymOK/GE8Dh7iR8x7Peg ptlwa0UTEAXo5W9+UfAyBlNV26xzSKNV1VAR8XwnfvFSL7977SVtw7A17mZG6YXR2lp0 0eTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=0ceAo9+h; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x190-20020a6386c7000000b003fcbcd9812dsi13073167pgd.521.2022.06.14.05.45.16; Tue, 14 Jun 2022 05:45:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=0ceAo9+h; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242528AbiFNMnE (ORCPT + 99 others); Tue, 14 Jun 2022 08:43:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51094 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351162AbiFNMmr (ORCPT ); Tue, 14 Jun 2022 08:42:47 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0F148255B6; Tue, 14 Jun 2022 05:41:56 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id A77B861614; Tue, 14 Jun 2022 12:41:55 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B1C5EC3411B; Tue, 14 Jun 2022 12:41:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1655210515; bh=PVxCLrvTt74M1i6WSvd6jeGlE9dym9J9yAAEAD0ZhHg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=0ceAo9+hN/CmiFu0PZCdYLgNOZhHZQUkmTuNMjt7UwDjMYvAiJj6pGfXBPMroepni WmQ6m2/lfSIvt3ejYuarhirtvfnoRgC+PTyfxKuG/oHI7sppKkEO88R/z4t5UQYmZm uFFFxb2wwOeGdCFOIOBcRo139zqvl5wXFtC970uw= Date: Tue, 14 Jun 2022 14:41:52 +0200 From: Greg KH To: Kai Ye Cc: herbert@gondor.apana.org.au, linux-crypto@vger.kernel.org, linux-accelerators@lists.ozlabs.org, linux-kernel@vger.kernel.org, linuxarm@huawei.com, zhangfei.gao@linaro.org, wangzhou1@hisilicon.com Subject: Re: [PATCH v2 2/3] Documentation: add a isolation strategy vfs node for uacce Message-ID: References: <20220614122943.1406-1-yekai13@huawei.com> <20220614122943.1406-3-yekai13@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220614122943.1406-3-yekai13@huawei.com> X-Spam-Status: No, score=-8.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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-crypto@vger.kernel.org On Tue, Jun 14, 2022 at 08:29:39PM +0800, Kai Ye wrote: > Update documentation describing DebugFS that could help to > configure hard error frequency for users in th user space. > > Signed-off-by: Kai Ye > --- > Documentation/ABI/testing/sysfs-driver-uacce | 17 +++++++++++++++++ > 1 file changed, 17 insertions(+) > > diff --git a/Documentation/ABI/testing/sysfs-driver-uacce b/Documentation/ABI/testing/sysfs-driver-uacce > index 08f2591138af..0c4226364182 100644 > --- a/Documentation/ABI/testing/sysfs-driver-uacce > +++ b/Documentation/ABI/testing/sysfs-driver-uacce > @@ -19,6 +19,23 @@ Contact: linux-accelerators@lists.ozlabs.org > Description: Available instances left of the device > Return -ENODEV if uacce_ops get_available_instances is not provided > > +What: /sys/class/uacce//isolate_strategy > +Date: Jun 2022 > +KernelVersion: 5.19 > +Contact: linux-accelerators@lists.ozlabs.org > +Description: A vfs node that used to configures the hardware What is a "vfs node"? > + error frequency. This frequency is abstract. Like once an hour > + or once a day. The specific isolation strategy can be defined in > + each driver module. No, you need to be specific here and describe the units and the format. Otherwise it is no description at all :( > + > +What: /sys/class/uacce//isolate > +Date: Jun 2022 > +KernelVersion: 5.19 5.19 will not have this change. > +Contact: linux-accelerators@lists.ozlabs.org > +Description: A vfs node that show the device isolated state. The value 0 > + means that the device is working. The value 1 means that the > + device has been isolated. What does "working" or "isolated" mean? thanks, greg k-h