Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1407402iog; Tue, 14 Jun 2022 05:35:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx24nAM4C/ZOT4kGYRPdASCc+jgq+6bSEQ+V4QnHl+ayE4cqAHDxeJiX5xOwdye263b/ORO X-Received: by 2002:a05:6402:5010:b0:435:75e:8a7b with SMTP id p16-20020a056402501000b00435075e8a7bmr4048676eda.108.1655210129898; Tue, 14 Jun 2022 05:35:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655210129; cv=none; d=google.com; s=arc-20160816; b=Amu9dRHEJSCpsq6t6FWGF7s3ZMUl/vr+04iuQKE3jTPDZGIzoJMqrtfhQQXR/jZfD2 XzhkaLyEv2AV4O+8ODPw14EObEoov7aNVnoSl/6J4c+wdqpxwnYPTN6Qpvp1Qq6JxTyz 3l84lZ4sRXnGEPTOC301pTg4Y88mYX2pF9kdh7dScVfPX716o2aml3fLVg9KIg0fKpXU RC0d0zbeWkAX26x3wkB3YN+2v1jf9yoS/IZwpTLCg/Exqbq8BLa0uPVUP3duqtcPVZgq Um39kWmcyaZZu/X8odLmc/0F0O+DJv59euUwAX0qGfpS5d0a+qMKmow1hcwWcOnc5uVq YtkA== 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=H2Bd8xQOhWZqKJYKZiy/X3+j2NkLg19EgHZVUBZ9GvVNjK9FqgU33QR4bAyqXNle12 fn+niItw8kFDEvcCa4vmZPa1ujC9NeuBp0M+HNrSmnTDCto40KqwKBYnLpmz+jU7P9ly WlZiTo0vSF/ZrLBeX3XJpT+UTo7st5bgzKPtx1hA0zf8ClUQxqr4kfTOMaqSbK57ODFO JOjBPnf5jQXZXJfu6bOMhb0XAM+m2uNT/at8LUo9i6Mfv+smaMlj9YckGaosePfVkH1Z SdcAz5dMGMyCCOiL8HOC5SKhgH+MN4ZE2UUVxoK0IlmEX1xC93itFmF8DjS5eb3C5F+M 7pUw== 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 u1-20020a170906124100b00711d06c0e97si9903555eja.521.2022.06.14.05.35.02; Tue, 14 Jun 2022 05:35:29 -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 S233724AbiFNMbv (ORCPT + 99 others); Tue, 14 Jun 2022 08:31:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59984 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1356747AbiFNM3h (ORCPT ); Tue, 14 Jun 2022 08:29:37 -0400 Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B2C4A29833; Tue, 14 Jun 2022 05:29:35 -0700 (PDT) Received: from dggpeml500023.china.huawei.com (unknown [172.30.72.55]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4LMnmh5Zp6zDqqN; Tue, 14 Jun 2022 20:29:08 +0800 (CST) Received: from dggpeml100012.china.huawei.com (7.185.36.121) by dggpeml500023.china.huawei.com (7.185.36.114) 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 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 v2 2/3] Documentation: add a isolation strategy vfs node for uacce Date: Tue, 14 Jun 2022 20:23:07 +0800 Message-ID: <20220614122311.824-3-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