From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E824DC46467 for ; Tue, 10 Jan 2023 11:57:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238210AbjAJL5z (ORCPT ); Tue, 10 Jan 2023 06:57:55 -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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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