Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1437882iog; Tue, 14 Jun 2022 06:09:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxvrreZ8fd04e9XNwlkn/L/yo/tm2KQlUuGyF5POybOvK1Dfa7enzATBLzw5ONCTnsm8+qa X-Received: by 2002:a17:907:3f97:b0:711:d61d:df9 with SMTP id hr23-20020a1709073f9700b00711d61d0df9mr4343680ejc.644.1655212155232; Tue, 14 Jun 2022 06:09:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655212155; cv=none; d=google.com; s=arc-20160816; b=NSkfZnJSvDhyhwbyG6zaXfnYXlVmkwSoIErTZ9c0xR1AMVmHNymzGxggIm2P10Ojxx iscX6R6Pp2VI59jd8+PplFuTQwVamcoFuE0nRKTRGv05YL2iE02X3Tze1vTaRFtxqk2y jGW/uFhC0pRRCuNWicd4HZDbMvvoLF95uHPqkhY1IUeMIlhAhmtGVe8f0G7/f3VPGkKU kwsJQ+DuqzF+RZrCp6Hn3U3niXIELcNMDp9v4hUNrLC+E+gK2AqHINSXvwBA6d9dBuy9 3onqVAPLx3VX7UMeIDrgyqEsAVuoXMk0QEcSvom0RPCVQ0PBu8VM+2BOTSn7WzRRAm7+ jpqA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=KX4rAOf4TSyKNqqe11Q1XBUE0F9K7GjacV1uzS0nrr8=; b=bxfavHtXLfnsjeH1hYPXlLCPkzuvLeTef2g2/Q8gtA0A/NtiFyWEmdF9KT8Cr4L5R/ wsSTb/GFkBjbT8sG9qIsPIvnp8jSn67s3NqCBM7fiqwSFxF5Cl0GpkHDIde45+oZ9WzF ORj2Zs/jJiEo+KyKfnildfIppgXamuoaKYab9QW4f3GUC6ySwi7eUuDEAYVBe744g68K 3uExQZM9tVP6Wy5Iw3m+Stxl+cqguxUAXC2GM9iqn8EgCdKfkAlZYjJPXY9cqbfpjuxR S+K6cyj9Ptlhdu94HR/v/3m/jnDLsPCHuRdaS2wPELu9zCK1gd05u0i+Vp4vWMOhQ0uJ lTQg== ARC-Authentication-Results: i=1; mx.google.com; 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=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 qw41-20020a1709066a2900b00710af3cf548si12560019ejc.850.2022.06.14.06.08.40; Tue, 14 Jun 2022 06:09:15 -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; 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237851AbiFNMxj (ORCPT + 99 others); Tue, 14 Jun 2022 08:53:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36014 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235039AbiFNMxi (ORCPT ); Tue, 14 Jun 2022 08:53:38 -0400 Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE94D3BFBB; Tue, 14 Jun 2022 05:53:36 -0700 (PDT) Received: from dggpeml500020.china.huawei.com (unknown [172.30.72.54]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4LMntR42tMz1K9t1; Tue, 14 Jun 2022 20:34:07 +0800 (CST) Received: from dggpeml100012.china.huawei.com (7.185.36.121) by dggpeml500020.china.huawei.com (7.185.36.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Tue, 14 Jun 2022 20:36:04 +0800 Received: from huawei.com (10.67.165.24) by dggpeml100012.china.huawei.com (7.185.36.121) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Tue, 14 Jun 2022 20:36:04 +0800 From: Kai Ye To: , CC: , , , , , , Subject: [PATCH 2/3] Documentation: add a isolation strategy vfs node for uacce Date: Tue, 14 Jun 2022 20:29:42 +0800 Message-ID: <20220614122943.1406-6-yekai13@huawei.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20220614122943.1406-1-yekai13@huawei.com> References: <20220614122943.1406-1-yekai13@huawei.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.67.165.24] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To dggpeml100012.china.huawei.com (7.185.36.121) 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,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 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 + 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. + +What: /sys/class/uacce//isolate +Date: Jun 2022 +KernelVersion: 5.19 +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: /sys/class/uacce//algorithms Date: Feb 2020 KernelVersion: 5.7 -- 2.33.0