Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp2283466ybl; Sun, 19 Jan 2020 23:31:01 -0800 (PST) X-Google-Smtp-Source: APXvYqz7GeR5Sp7Lq4Ij9pSnzQU7TyZLR4I8Bpj2t48UOX4XSY57OHeEwSTlLSqmr8gRW01IuByx X-Received: by 2002:a9d:6f11:: with SMTP id n17mr14831649otq.126.1579505460890; Sun, 19 Jan 2020 23:31:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579505460; cv=none; d=google.com; s=arc-20160816; b=g/SUk5+FooLbtttK1sBzKNxTpText/MoYAfMBEJK1N3FJbDC4eGZkQSuQDYyNtSmN8 fgVK3jQdQ18S4JmmLc84Omd8fRTAjUfYdFlSXC5OMRxTDpLHjwoozpLE39crjz5YaUBj 9tpsSu/582nw4XzcYM6lZOky8OQ3eO4AfL98o2H1l0FRAhOKanxj5UWXwf//9WSSWxEW R/ieW8NO1LTttD+yasxwNIgB+9rA1qQ+d3+7CqCwsDm6hUQEdBw6REjGHMF4AUk1fvA2 Z3c1OLJTxPOPqnHeYLvP4PCgeSTnGEIuy5MGA7sAjh+w1VO/N7AJbkPp3uRiezU9pY75 nwuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=xvMqaVy7u+SKn6B+rFB56whgatuHDRuwfcerhhRbypg=; b=qwtGguuoqIHhfF91EKkE3gzPnKADypiEmTLXUppoLRn7yyh1/tjaLk/pOdSRCGbsbx RzzV+pffLXNFPPyQDpK3qzhB01RS38uzvN8F2BSjNh3hDUPKeXCrj4wq5WzKZB2N84Q3 /elVYZCLMWrJRxibNlgu0L0kkiJDOYX+s5nLGBM521uM+OpDIAEgn1OCB7ZKh71zkYlH xVv2IC9OCWSxc6Qk8rjYxtklWaPcpwgEsMzPv/0qEUpGhGxDX1nwBF2O87yir34ufpE9 Gzdbn2tQIFTPeiAsIOTEoJ5sR8pyg4WFMLEDjKnsVJ5PEPWfk8KW3sHaK81z5zossS8z kZaw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h3si19212852otq.203.2020.01.19.23.30.22; Sun, 19 Jan 2020 23:31:00 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726148AbgATHaU (ORCPT + 99 others); Mon, 20 Jan 2020 02:30:20 -0500 Received: from szxga06-in.huawei.com ([45.249.212.32]:42992 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726089AbgATHaU (ORCPT ); Mon, 20 Jan 2020 02:30:20 -0500 Received: from DGGEMS407-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id C9CDE9BFEA9824FD5ADD; Mon, 20 Jan 2020 15:30:17 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by DGGEMS407-HUB.china.huawei.com (10.3.19.207) with Microsoft SMTP Server id 14.3.439.0; Mon, 20 Jan 2020 15:30:11 +0800 From: Shukun Tan To: , CC: , Subject: [PATCH 0/4] crypto: hisilicon: Unify hardware error handle process Date: Mon, 20 Jan 2020 15:30:05 +0800 Message-ID: <1579505409-3776-1-git-send-email-tanshukun1@huawei.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.69.192.56] X-CFilter-Loop: Reflected Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org ZIP/HPRE/SEC hardware error handle process has great similarities, unify the essential error handle process looks necessary. We mainly unify error init/uninit and error detect process in this patch set. We also add the configure of ZIP RAS error and fix qm log error bug. Shukun Tan (4): crypto: hisilicon: Unify hardware error init/uninit into QM crypto: hisilicon: Configure zip RAS error type crypto: hisilicon: Unify error detect process into qm crypto: hisilicon: Fix duplicate print when qm occur multiple errors drivers/crypto/hisilicon/hpre/hpre_main.c | 108 +++++---------- drivers/crypto/hisilicon/qm.c | 216 +++++++++++++++++++++--------- drivers/crypto/hisilicon/qm.h | 25 +++- drivers/crypto/hisilicon/sec2/sec_main.c | 162 ++++++++-------------- drivers/crypto/hisilicon/zip/zip_main.c | 183 +++++++++++-------------- 5 files changed, 346 insertions(+), 348 deletions(-) -- 2.7.4