Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5062509rwb; Sat, 10 Dec 2022 22:19:11 -0800 (PST) X-Google-Smtp-Source: AA0mqf4My3GF9f4oNfW7DKgHCEiJCkD1mt5Y/YeH5au8td/0WeLCfP7yQymApQcxLMJmH0yL68II X-Received: by 2002:a05:6a20:6f0e:b0:a3:8512:54f7 with SMTP id gt14-20020a056a206f0e00b000a3851254f7mr15415939pzb.29.1670739551391; Sat, 10 Dec 2022 22:19:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670739551; cv=none; d=google.com; s=arc-20160816; b=otV9SS+sM+LTgvjqjj+pteKtOpw058Nf2GgszgV+yfzUJs4mUD09G8F7M26ICiYLWL r0wx6kwHMksv4nyDltvxHE087s+dkbOHkRTZROqLCcQJR5TaR9IpMW/4C2L4hBa5hINd sgTLpb+l71dtZpcI2b+MzQIQH/xGWfGuSunp9GrYN6gkHX950ZFswbqL8zDf3aaLVuTL mshlM/u2WuJp7dBA3ai1k9FbKP7gDMLHcXja2dtH7SWV8ns4PiIAxNM+uorFZ+x/+MZo A7rsOw9y4DRBU8ek2oOLmle4Aos3meb2y5RzQJ4+97rQCZTdadaNRKmf+mhNES7C+g4u 5ARg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=vwiUvAif8O0uObolMJb9z1BcrUAaSpiWpcz532ao50k=; b=MCUXCdE2gaSu4m/OTObQV2WnYwctpVN5B/egh8tMz7lG6reiBtKMDHayjtCWDU7PQq YSDJHOI+y+RfCLaxVR5w1rmx/K7FANt0x409Qr4O7fRNa91mXVcNKwBUJdqxA1xltpNs YXLXyknG+WHEC4hCG3Vkukb8eKxOXs077JdyhhY4dL1ffRRfS+vYmwnkSmX0+Zo7eTn9 vnBL5k//bT7tedr5cwGODWh9o9KUA3eVDKXVlVqUWE+CSrfvt5FnO4jftbLT5cd8CCuX RHe1bKRd8eiVCt/sCOw3m6nA9Amdo++Xhh4ssbuvC1Oui4hXn4ry4nqkrttHyxLzn17G pbAQ== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e68-20020a636947000000b00477b4b68f09si5461526pgc.258.2022.12.10.22.18.39; Sat, 10 Dec 2022 22:19:11 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229721AbiLKGQw (ORCPT + 99 others); Sun, 11 Dec 2022 01:16:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53782 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229568AbiLKGQv (ORCPT ); Sun, 11 Dec 2022 01:16:51 -0500 Received: from formenos.hmeau.com (helcar.hmeau.com [216.24.177.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F85212D2E; Sat, 10 Dec 2022 22:16:49 -0800 (PST) Received: from loth.rohan.me.apana.org.au ([192.168.167.2]) by formenos.hmeau.com with smtp (Exim 4.94.2 #2 (Debian)) id 1p4Fdl-006AVM-Lk; Sun, 11 Dec 2022 14:16:46 +0800 Received: by loth.rohan.me.apana.org.au (sSMTP sendmail emulation); Sun, 11 Dec 2022 14:16:45 +0800 Date: Sun, 11 Dec 2022 14:16:45 +0800 From: Herbert Xu To: Kai Ye Cc: gregkh@linuxfoundation.org, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, wangzhou1@hisilicon.com, liulongfang@huawei.com Subject: Re: [PATCH v10 3/3] crypto: hisilicon/qm - define the device isolation strategy Message-ID: References: <20221119074817.12063-1-yekai13@huawei.com> <20221119074817.12063-4-yekai13@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221119074817.12063-4-yekai13@huawei.com> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,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 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 -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt