Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp7665702rwl; Tue, 10 Jan 2023 03:58:52 -0800 (PST) X-Google-Smtp-Source: AMrXdXvGbxspQHD9P9oOy8I7bFIDGuG9Q6C1TQSg4a5nTJyqtoaLucc2yVIXLa6XoN/qi57HOWR9 X-Received: by 2002:a50:e606:0:b0:498:b9f9:752c with SMTP id y6-20020a50e606000000b00498b9f9752cmr8329285edm.10.1673351932675; Tue, 10 Jan 2023 03:58:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673351932; cv=none; d=google.com; s=arc-20160816; b=cXvpFKinzFzn69cgZu6SdnESCrnQyjyafZRNl9DnZlYpqWHXawZpl0FyowwFZyHdy5 f9JWSSd50LGTb0zGJDmEDXmRwJh8w8Jt3ezJPhCyO7Cc/MquI6OrTxcaWs4Ljq+slkSX AXQapO/9jSKMJ93FVigf0Uto74FpDzbV9/PFnmcStwCK7RxKsOtYa5vmIm1wfFCkhSfi VSeM1gVlGPUEg33hbsMlDTEeVdQpXPouySXLtzyrtvYLcaNio7VKgXk1/T6FCnfwVuMl s9gfrFnAwN5AlYhVVocdaFVEWMXELFlEfz7Yw3ebaADn3obJEnYS51HGoghd11Yccbcv lkiQ== 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:from:cc:references:to :subject; bh=FBKg+9InT7Uwn4218qAjgUEjIUAYYUgLV7qGDA0QeH4=; b=NsJX4nqBHPblSxJS5JYp1MF53P0vkeJ+hJfkURts3fslOXUDvPN1zfNPooUgWDajM4 V3YmaZ2Lf2WMgXVlQS4379C9oJvj9seWp6LMpVt/LkVcyurf77ISHmJ7Srla0LMsKfui /hxAKeasJqiZZkXOsm+9RPbt6zvHR+z6oulZbNNlALFMsnLEwY9qVjZ1tr00zC30wOik 2jUaVtB6hQOimlANDvE/yeif0For7Qz2Ktznfy7G3PKXKyziwkf4ybv4s3fXVvq/FWby asE63IglbScGp+YeODjgDMFTtuib6prm8QYWjYwaspnHaeNHELntlRPD8Ww2VYXDGRcn jiyA== 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 dz15-20020a0564021d4f00b0048ec4a278besi13830321edb.606.2023.01.10.03.58.27; Tue, 10 Jan 2023 03:58:52 -0800 (PST) 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 S238154AbjAJL5w (ORCPT + 99 others); Tue, 10 Jan 2023 06:57:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47038 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238153AbjAJL5j (ORCPT ); Tue, 10 Jan 2023 06:57:39 -0500 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 55B65193E4; Tue, 10 Jan 2023 03:57:28 -0800 (PST) Received: from dggpeml100012.china.huawei.com (unknown [172.30.72.54]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4Nrq1g3dLTzqV4X; Tue, 10 Jan 2023 19:52:39 +0800 (CST) 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.34; Tue, 10 Jan 2023 19:57:25 +0800 Subject: Re: [PATCH v10 3/3] crypto: hisilicon/qm - define the device isolation strategy To: Herbert Xu References: <20221119074817.12063-1-yekai13@huawei.com> <20221119074817.12063-4-yekai13@huawei.com> CC: , , , , From: "yekai (A)" Message-ID: <03da282d-7654-4469-ca33-54eaa81b23d9@huawei.com> Date: Tue, 10 Jan 2023 19:57:24 +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="windows-1252" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.67.103.212] X-ClientProxiedBy: dggems706-chm.china.huawei.com (10.3.19.183) 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 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 On 2022/12/11 14:16, Herbert Xu wrote: > On Sat, Nov 19, 2022 at 07:48:17AM +0000, Kai Ye wrote: >> Define the device isolation strategy by the device driver. The >> user configures a hardware error threshold value by uacce interface. >> If the number of hardware errors exceeds the value of setting error >> threshold in one hour. The device will not be available in user space. >> The VF device use the PF device isolation strategy. All the hardware >> errors are processed by PF driver. >> >> Signed-off-by: Kai Ye >> --- >> drivers/crypto/hisilicon/qm.c | 169 +++++++++++++++++++++++++++++++--- >> include/linux/hisi_acc_qm.h | 15 +++ >> 2 files changed, 169 insertions(+), 15 deletions(-) > Acked-by: Herbert Xu Hi Greg KH Could you help me to apply this patchset v10? thanks Kai