Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1403991iog; Tue, 14 Jun 2022 05:32:39 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tGbvj6wGC+0cy3Zdu8Idff2VsIO4qBEYc/RGQbbRYRdsqZcut2lWEdu185ScS5lHJ4C51N X-Received: by 2002:aa7:cb4a:0:b0:42d:d232:34d7 with SMTP id w10-20020aa7cb4a000000b0042dd23234d7mr5914690edt.201.1655209959376; Tue, 14 Jun 2022 05:32:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655209959; cv=none; d=google.com; s=arc-20160816; b=Pe0ndZvlg5nnEt0OzAu/Glq2tSLYR4acs+7rF6aov6XJExbXajETknJ8YZDMiROcwq V3LgPTE2GyXIZpwOq/QM6ZSHkDrqWaQJ69H8tXq+HGhB9zNagVMk+6E1mz4N/Q3txmgJ vOc16TJePJbeDRgPMKLvOl8046CR4d3Dsu5ctOuLzLj6wU4OPeeambOTMtmlS9MRTOmE My0V32d39+M6nMynvcXkMR0thmRQttppElXt0/ahuJAyNFlf5X0eaGWSHwzbixGWxh+A Wpz57sfdddRRYYa2VXQXmzFv4JBe7O836bikj2Nth6diYsiwcD5rPBH3SHpQY7+BiS18 GUNw== 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=H6QAJ2qPJSbb+DKnKorsKymenXdWkb99Krsf/txNt7vNjLvfStC26RioqHLQaH3z+n NOJkKLpamMR91924FqkxCIqqYYTmBvVIGMkXRH3uQo2H2RXgKh2qIWb13j2CP4Aw8KUv yvVJt54JybA4BNGMWGIyFm5uVEXmIPQXL/Cq0rh6UY8ayOQM4W74rvJHJ0oyclyG18WA lawEsRimiji3JDNFN2krjxVJDQIMZQh7J0OuZpoEeBTzoEtRJ0VRM40LGxeOmPQGsFcn qbkmDTIpvOJf5oSEyfOMkAUd3REDElihxEzEy2ttZNdY9gDl/4j9kI4Qy5Bvku/wWhVM SkZQ== 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 dt19-20020a170907729300b00711c8193ce8si9763425ejc.21.2022.06.14.05.32.05; Tue, 14 Jun 2022 05:32:39 -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 S242617AbiFNMaz (ORCPT + 99 others); Tue, 14 Jun 2022 08:30:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60040 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1356831AbiFNM3h (ORCPT ); Tue, 14 Jun 2022 08:29:37 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E5A582A700; Tue, 14 Jun 2022 05:29:35 -0700 (PDT) Received: from dggpeml500026.china.huawei.com (unknown [172.30.72.56]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4LMnly0ByJzjY3k; Tue, 14 Jun 2022 20:28:30 +0800 (CST) Received: from dggpeml100012.china.huawei.com (7.185.36.121) by dggpeml500026.china.huawei.com (7.185.36.106) 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:29:34 +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:29:33 +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:23:10 +0800 Message-ID: <20220614122311.824-6-yekai13@huawei.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20220614122311.824-1-yekai13@huawei.com> References: <20220614122311.824-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: dggems704-chm.china.huawei.com (10.3.19.181) 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