Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp5525650iog; Wed, 22 Jun 2022 23:09:53 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tGFZy1mJFsyn31Ow5Xwej0hK/yVJIkeTYMQuKuf4+eR7kL5+X1K47MwIRT9l7BL7x26em0 X-Received: by 2002:a05:6402:27c8:b0:435:d40e:c648 with SMTP id c8-20020a05640227c800b00435d40ec648mr1335687ede.200.1655964593387; Wed, 22 Jun 2022 23:09:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655964593; cv=none; d=google.com; s=arc-20160816; b=TVrldhZLYy6nxeLMRRyuj9oGUsQXLKKCQ4lOmMOnw3jeZ2M7nr+R615dZ06FDLf0Rd Tmsk9cpM0aHETUfnhzl7hrhSCYTquPGxi7RuRcbBrMGgD7xWprXKyFX7LuEpo5xvmimV by/w2NTTw/yC4zZABq2Wq/kJWivS+tpUezTCIGuW45kYWcEijxJMDLl0taeOCKr9Y3tU Y0jfEw6Aj/fdmcsv/p+yxEdbhqx9hJthEDAqgtVefqQa0GVLVkTuHTTiiv1y1ihNEvYV yx+OgiohdwxA5LAKIWArHcteXjeeWjLW9kk6nYuYVMcJ6PqhTzkwnZnNyn2+lSfZkdmA ptMw== 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=pimO0atd1A6g9p92I1G44+FD/pFPJpcyAJD/iJXaWNk=; b=G1ecEncykHInq9F1QoxVaaP531Dx3NSZNmDLJDlswnlxGyri+4Wx0mw+ZLTl/jzO0W YrrJmsX9reDo9Ol6DQIhMtcDAHr7XiLo2txg8h5jc1hUhS/eHOlQajl3x+sdayVVZ9/W G4VZWbtrT2DWhKTBhlEI56Ti+pDr5Nm698M8SNCcpEpYZbqnf/jfpLMREh2FVPullVwR 3z15e8qCIyOTsr1R+1q0l1cA/BdfRy8wNzzfkGsEOMPD9sWR01jaAuujzUSLwJV4LKRq 5FtjUeT3GCfWdfiG92HlvCg2KWzv+BI1IujkomzqeMxe338K4y29XglJC2FpcVScFZL2 RFwQ== 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 hr34-20020a1709073fa200b00722e4fde192si8443114ejc.992.2022.06.22.23.09.29; Wed, 22 Jun 2022 23:09:53 -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 S229702AbiFWGHq (ORCPT + 99 others); Thu, 23 Jun 2022 02:07:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43870 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229698AbiFWGHp (ORCPT ); Thu, 23 Jun 2022 02:07:45 -0400 Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DD49D41317; Wed, 22 Jun 2022 23:07:43 -0700 (PDT) Received: from dggpeml500026.china.huawei.com (unknown [172.30.72.57]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4LT8sl1c9TzDsLR; Thu, 23 Jun 2022 14:07:07 +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; Thu, 23 Jun 2022 14:07:41 +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; Thu, 23 Jun 2022 14:07:41 +0800 From: Kai Ye To: , CC: , , , , , , Subject: [PATCH v3 2/3] Documentation: add a isolation strategy sysfs node for uacce Date: Thu, 23 Jun 2022 14:01:13 +0800 Message-ID: <20220623060114.37505-3-yekai13@huawei.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20220623060114.37505-1-yekai13@huawei.com> References: <20220623060114.37505-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: dggems703-chm.china.huawei.com (10.3.19.180) 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 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: /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. + What: /sys/class/uacce//algorithms Date: Feb 2020 KernelVersion: 5.7 -- 2.33.0