Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp173558imw; Fri, 8 Jul 2022 00:15:36 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uzPrWTyzoJiorhblnYGXaG7UXcKnTrOcNC7v9XQOtywCtT8UolDh2L/ZsmOwOv3AEsb/iF X-Received: by 2002:a05:6a00:b49:b0:525:9ffb:a26f with SMTP id p9-20020a056a000b4900b005259ffba26fmr2508778pfo.33.1657264536399; Fri, 08 Jul 2022 00:15:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657264536; cv=none; d=google.com; s=arc-20160816; b=0YWp1d/BwyTh2LSPEcnLQ/x2KzV5SWovhkhnSg/9K0dVeg7WcK5WuGByUdyIMRxg+o NoRkamGi0ie03gEZ/d1FfCgh2afnkfdXFPgLtZeesl01E06zgiuyUke25kBB532AksUb sYvtxRBR7vzDOw90ixPh0Utl66crlpT4W5sazI4upPikyhrZkMN078gM2GscD+A7iq6m ofUknS/SoEWhI9lB8YvlK4Kh5bLAkOsiUPbSd0ZXfDC21Z5VA8zryCKKvOhd4fd6FLmj RMek0rFY7jqn3qjYluoBTcuIlZwrew+b/tTCApJOetX42ntFzVHGPujL5L4ypFU1B5sH VLUw== 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=q9Ho7KaMG097Ue7mJ0yYkjZBuOIFEcoozLvR9yfVBn4=; b=bMHafW0rkIsymVL5Lhzvf0mVgSPg3gFgbNiRXal72M2Z9GiPg+fi7J4eFRa3nTfd4l OvDJ3EkbLOsHg6uXLpq0rY9wyJiyEyT1TEkmm0MYzBmrTnz1AL2CZRosWGRq/sGZqdWe taVY3joGs8h6x3bU50zzt0kra/F1f5rQmpB/C4Btv2H07Q7iZVk3G7mT16nssqwyczF0 F/wVFEBf5T1ULeBOkp3SWGJncSfA9Udz1FxHYBknnCt/u5p444F/PMKv5PqrqLKLheKT N2QpXrSR/vEEH/IL8V6kEo4d/jRiiChfHmAmCUpEGkMffaJnKNPywoqPAK1J8uiEwQBI gpow== 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 g127-20020a636b85000000b0040dffa70d5bsi8766446pgc.37.2022.07.08.00.15.09; Fri, 08 Jul 2022 00:15:36 -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 S237212AbiGHHPH (ORCPT + 99 others); Fri, 8 Jul 2022 03:15:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56494 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237135AbiGHHPG (ORCPT ); Fri, 8 Jul 2022 03:15:06 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D7DE796A6; Fri, 8 Jul 2022 00:15:04 -0700 (PDT) Received: from dggpeml500020.china.huawei.com (unknown [172.30.72.55]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4LfPb007qlzTh0c; Fri, 8 Jul 2022 15:11:24 +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; Fri, 8 Jul 2022 15:15:01 +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; Fri, 8 Jul 2022 15:15:01 +0800 From: Kai Ye To: , CC: , , , Subject: [PATCH v5 2/3] Documentation: add a isolation strategy sysfs node for uacce Date: Fri, 8 Jul 2022 15:08:19 +0800 Message-ID: <20220708070820.43958-3-yekai13@huawei.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20220708070820.43958-1-yekai13@huawei.com> References: <20220708070820.43958-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 sysfs node that could help to configure isolation strategy for users in the user space. And describing sysfs node that could read the device isolated state. 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..a8056271a963 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: Jul 2022 +KernelVersion: 5.20 +Contact: linux-accelerators@lists.ozlabs.org +Description: A sysfs node that used to configures the hardware error + isolation strategy. This strategy is a configured integer value. + The default is 0. The maximum value is 65535. This value + indicates the number of device slot resets per unit time + that your service can tolerate. + +What: /sys/class/uacce//isolate +Date: Jul 2022 +KernelVersion: 5.20 +Contact: linux-accelerators@lists.ozlabs.org +Description: A sysfs node that read 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