Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp2985433rwe; Mon, 29 Aug 2022 04:03:39 -0700 (PDT) X-Google-Smtp-Source: AA6agR7gEp7xn5Vw270X/OJFeo3zzX/5RGdMEzhX3cm1B8fyOoY+Dwrv5pu9eQ4Gxz5//1CtzCLU X-Received: by 2002:a17:90b:1d03:b0:1fd:b497:3e40 with SMTP id on3-20020a17090b1d0300b001fdb4973e40mr6850896pjb.102.1661771019471; Mon, 29 Aug 2022 04:03:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661771019; cv=none; d=google.com; s=arc-20160816; b=iFHXrZkNbxLYlV0moHkCfe6eY87VhrIbkwtZ9hc0w1fX6FjVehCYzbKTVaI5OIGZYn 16S1c6AA56eeMOgUcGy3LQLlUlhZ/6EMfcMfdZfzSHfCSxopuST/ue6xvTeAgHmv9jNm UCB2j9q6/Hqpt7+tMQysiYd8pSZTCwTH/aJCYL6H6O4nmRIdDtpgw/C/t49XBcKyDAhf q+fCTqOq1eA/DYF5hL9r2m+41ErUWfmh2gZZarL16MhVyeMhrji8/mU1NRrpjLVOz4W+ Z9FdnkUr6Jyi9nkNcZiAFN7Fu+4gILFGQNUxMlJ4zQEMoR5xLAN7a/2lh1auikx6F55v bADg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:cc:references:to:subject :from; bh=jiAjBd17tjgnKh2oV9zj9uqdrbf5tjHlHFufjrR0SKk=; b=qjtJ3rUak0hy1r1fAwuRCFDleuIGPtLYiYVT7bkTCdxMTNMu1mW+BJ2jUcMfjpVFf8 i91gsdEUtdDz6YKG8g1yjCr31zDICR2uJpknmIbneUwt9JPL7MOWDLsaXHsNaoV+oH8P kRLK4Y0oxc9RcrETJuCyxsS5pm0uhJlab9hbrpN3Ir1AikhHNg5xZta5fGOQ0rCBiSk1 7LcrD1OFyojPCqqBqBgTqZYi0soxarKF0I7sJi2I2L4WbZZe+0avg4BthIBBGLqVmoAE h/tcHwwalOI+0CfmKmvxi7d9vbRgM8FzpC/ME64J1wXDHpU2BUauTBsdm+gX/uB41ZPz Kfcw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 np3-20020a17090b4c4300b001fbbcd6f8eesi9944557pjb.73.2022.08.29.04.03.27; Mon, 29 Aug 2022 04:03:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 S229821AbiH2K5t (ORCPT + 99 others); Mon, 29 Aug 2022 06:57:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38578 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229478AbiH2K5r (ORCPT ); Mon, 29 Aug 2022 06:57:47 -0400 Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E82795C9F0; Mon, 29 Aug 2022 03:57:46 -0700 (PDT) Received: from dggpeml500020.china.huawei.com (unknown [172.30.72.57]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4MGS673bCszHnVN; Mon, 29 Aug 2022 18:55:59 +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; Mon, 29 Aug 2022 18:57:44 +0800 Received: from [10.67.103.212] (10.67.103.212) 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; Mon, 29 Aug 2022 18:57:44 +0800 From: "yekai (A)" Subject: Re: [PATCH v7 0/3] crypto: hisilicon - supports device isolation feature To: , References: <20220806022943.47292-1-yekai13@huawei.com> CC: , , , Message-ID: <3fd1c0be-71d1-2402-395f-2fbb85f0d8ec@huawei.com> Date: Mon, 29 Aug 2022 18:57:44 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [10.67.103.212] 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,NICE_REPLY_A, 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-kernel@vger.kernel.org On 2022/8/22 11:38, yekai (A) wrote: > On 2022/8/6 10:29, Kai Ye wrote: >> 1、Add the uacce hardware error isolation interface. Supports >> configures the hardware error isolation frequency. >> 2、Defining the isolation strategy for ACC by uacce sysfs node. If the >> number of hardware errors in a per hour exceeds the configured value, >> the device will not be available in user space. The VF device use the >> PF device isolation strategy. >> >> changes v1->v2: >> - deleted dev_to_uacce api. >> - add vfs node doc. >> - move uacce->ref to driver. >> changes v2->v3: >> - deleted some redundant code. >> - use qm state instead of reference count. >> - add null pointer check. >> - isolate_strategy_read() instead of a copy. >> changes v3->v4: >> - modify a comment >> changes v4->v5: >> - use bool instead of atomic. >> - isolation frequency instead of isolation command. >> changes v5->v6: >> - add is_visible in uacce. >> - add the description of the isolation strategy file node. >> changes v6->v7 >> - add an example for isolate_strategy in Documentation. >> >> Kai Ye (3): >> uacce: supports device isolation feature >> Documentation: add a isolation strategy sysfs node for uacce >> crypto: hisilicon/qm - define the device isolation strategy >> >> Documentation/ABI/testing/sysfs-driver-uacce | 26 +++ >> drivers/crypto/hisilicon/qm.c | 163 +++++++++++++++++-- >> drivers/misc/uacce/uacce.c | 58 +++++++ >> include/linux/hisi_acc_qm.h | 9 + >> include/linux/uacce.h | 11 ++ >> 5 files changed, 255 insertions(+), 12 deletions(-) >> > Hi, > > Just a friendly ping... > > thanks > Kai > > . Hi Greg KH Could you help me to apply this patchset? thanks Kai