Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp5637427iog; Thu, 23 Jun 2022 02:13:31 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vWAhBRTu64tBqjW8j2eP7VOzGRiZ+f7nSn6Osgf5cPFwBiIGfINRZm4GQBzyIwlLOx7O/3 X-Received: by 2002:a17:906:7304:b0:6ff:a76:5b09 with SMTP id di4-20020a170906730400b006ff0a765b09mr7235615ejc.193.1655975611310; Thu, 23 Jun 2022 02:13:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655975611; cv=none; d=google.com; s=arc-20160816; b=C+RG8gjGkSt1MJvotSXKX/ac2PB/xDr5zozyjGwfgfCRdnoLO0xORRs7B+dUqz5Mrq kCLVj7tSB5gmvA+LAV5C/+O6vRRO+acJppz02ejp82rSSMJb83AkN1A/TNlYv+IZZ8EV PoBKcLoTiKWj28UqSjUeXPqSgyHG/8tCVSfB9iOKp5c32hnw+VyTwB9HJqMMByGvaHXJ 6xT0fo5OiqIOfxoeSUL5TarH85+/YU8mFu8cNQjc6lAT7X8K3XuUfLtRedocVnV554vX puNvtmbbwAuNWh2IZygNwU2QoblmjLB8So0LL3aPubsAb9fBHpLbJkbV24HvYXkOKeku 4htA== 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=OjscwlxzgKz/Vgj2K10emwvo2ZqD6gw0jj9uXlbCDow=; b=USTi3Gk/FDnkKyHN2vPeLKj1cMENzbmAhl3lMV9jaqOi5HOLIRbyEr4ghIHlKzyY7u 7i4tLriuMbqW2sStfCOEqEOyqM5sVeTZO/7SBaTWY7ObVvnDvBOWyU7C8sx73W26PBwG nJwuT6Z7y8jjQtjf80ICN7IUuWV+SS/y0uyYT3CPP98b5Nzj5Ra9BcgG3oH39Mt4zL2B 3jiJhWMouFAYAFFUBRpYlO++/Sei5IRPyL+ejI3wq6OevEgYRrbJOtbjZoSHqZaOh1sK +3WubX50HSF5hJeGPYwm24FE4wuZfGyXgJWKIC0Pnb5ccVRdx8yWwqg1mf3EaWgR/ZCj 0k1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=CtzNcfU3; 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 g20-20020a50ee14000000b00435824dcdedsi11540587eds.283.2022.06.23.02.12.57; Thu, 23 Jun 2022 02:13:31 -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=CtzNcfU3; 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 S230305AbiFWJB6 (ORCPT + 99 others); Thu, 23 Jun 2022 05:01:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41834 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230293AbiFWJB5 (ORCPT ); Thu, 23 Jun 2022 05:01:57 -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 91EA046B3B; Thu, 23 Jun 2022 02:01:55 -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 2D84D61D6A; Thu, 23 Jun 2022 09:01:55 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 19652C3411B; Thu, 23 Jun 2022 09:01:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1655974914; bh=fT+IJvgPZNzB/PLxHleWMdWWCTFeEP1+X+n7+wANHeI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=CtzNcfU389jSKDXr8ShHzMatCuDDaYfwgjwE/2ALel8Fj77b+9CjUPutqCVN8ghxO HNLS4O8Q5GI7hp9kmmRB+CAWVFlhlvRBO2QbjBl4YqxI5fw4F44YXJNTZzy4Lt27n4 +CpPUrClPmWBIQd3iX3biBrKoHwHyxhUyVL+VMbI= Date: Thu, 23 Jun 2022 11:01:51 +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 v4 2/3] Documentation: add a isolation strategy sysfs node for uacce Message-ID: References: <20220623061452.40732-1-yekai13@huawei.com> <20220623061452.40732-3-yekai13@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220623061452.40732-3-yekai13@huawei.com> X-Spam-Status: No, score=-7.7 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 Thu, Jun 23, 2022 at 02:14:51PM +0800, Kai Ye wrote: > Update documentation describing sysfs node that could help to > configure isolation method command for users in th user space. > > Signed-off-by: Kai Ye > --- > Documentation/ABI/testing/sysfs-driver-uacce | 18 ++++++++++++++++++ > 1 file changed, 18 insertions(+) > > diff --git a/Documentation/ABI/testing/sysfs-driver-uacce b/Documentation/ABI/testing/sysfs-driver-uacce > index 08f2591138af..8784efa96e01 100644 > --- a/Documentation/ABI/testing/sysfs-driver-uacce > +++ b/Documentation/ABI/testing/sysfs-driver-uacce > @@ -19,6 +19,24 @@ 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.20 > +Contact: linux-accelerators@lists.ozlabs.org > +Description: A sysfs node that used to configures the hardware error > + isolation method command. The command can be parsed > + in correct driver. e.g. If the device slot reset frequency > + exceeds the preset value in a time window, the device will be > + isolated. What is the "command"? What is being parsed? This needs to be documented a lot more here, this is very vague and not obvious at all. > + > +What: /sys/class/uacce//isolate > +Date: Jun 2022 > +KernelVersion: 5.20 > +Contact: linux-accelerators@lists.ozlabs.org > +Description: A sysfs 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. Are these read-only? Write only? read/write? thanks, greg k-h