Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp431125pxt; Thu, 12 Aug 2021 01:40:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzWWiSCAsm/q+PwzR3CmzshanrxA+DFnYgbkpRiOiCaOuXxN3iQFbH57v/XMhXAhNcQSktr X-Received: by 2002:a05:6402:5251:: with SMTP id t17mr4015793edd.157.1628757651777; Thu, 12 Aug 2021 01:40:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628757651; cv=none; d=google.com; s=arc-20160816; b=iqMgdTaTiTYxeeZ+bIFXICvI/XgUrtlEP5O5OJpIBeQmDPfyhqv62SKL0kQVw8nS1w Sa+fLyZ3+yB+FlFkNKTqLRpBIgYneEeRzJGRhMOdzYF30y9UGny60ZJ6aA6Q33J9tSRJ /3MNFl7jFt0S9ZZ2RiQb9RRVtO9WGfWGbnZTPnJn+M02NfcgnpUrDlEgzqr2S+a7eI9M tRxyxigt6ODIYN+YlkUy4Z2gT29dYokPsF1G81s+yG+mvu6gxFc61izambccGUraRk9G tTq+yDBoHhBbXG7dkPrMx8qUPfKK9QGq/+jBihzyuP9zp99QlWqVT02LQCmLGtgPdXIB O5ZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:organization :mime-version:message-id:date:subject:cc:to:from; bh=aLWktucg97B3MAMNx4qfoXg8s5bymLsgo2Gcbzdnd0w=; b=XTHPewEKNyPe7UytyPQwwXieDs5MxUOup2BsINdnWFPgCvg2jXLfT5+lmKjmGPZwz9 jpqPPvTBjZRIsB8+U6J2NV9sccvlHEDBAFC1fBr22TRP5Kk9OpNcNALTJrjOEgxE5NIM op2MSFCEDjRO7lJTkvJNcdcBwioHQCTat9OujS5fZnzXSs67K3dFvZCpxgoSaw/+z8SV y5G1z83KMWBBWWQT4fF6pIivwoMw+W9yDFaE8MJRIEFZm6rvYKH/ZtUnlkmpxTxNSBjl JGuK4ar9Mflj3Wg34o/cKwM0juPX+QtuRppmBeS0WS6Vb8GeoCfsJswvJ2rIcqCMTkrV erKg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hp17si1941104ejc.376.2021.08.12.01.40.19; Thu, 12 Aug 2021 01:40:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234153AbhHLISq (ORCPT + 99 others); Thu, 12 Aug 2021 04:18:46 -0400 Received: from mga14.intel.com ([192.55.52.115]:59623 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234086AbhHLISq (ORCPT ); Thu, 12 Aug 2021 04:18:46 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10073"; a="215036119" X-IronPort-AV: E=Sophos;i="5.84,315,1620716400"; d="scan'208";a="215036119" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Aug 2021 01:18:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,315,1620716400"; d="scan'208";a="517348170" Received: from silpixa00400314.ir.intel.com (HELO silpixa00400314.ger.corp.intel.com) ([10.237.222.51]) by FMSMGA003.fm.intel.com with ESMTP; 12 Aug 2021 01:18:19 -0700 From: Giovanni Cabiddu To: herbert@gondor.apana.org.au Cc: linux-crypto@vger.kernel.org, christophe.jaillet@wanadoo.fr, qat-linux@intel.com, u.kleine-koenig@pengutronix.de, Giovanni Cabiddu Subject: [PATCH v2 0/4] crypto: qat - fixes and cleanups Date: Thu, 12 Aug 2021 09:18:12 +0100 Message-Id: <20210812081816.275405-1-giovanni.cabiddu@intel.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Organization: Intel Research and Development Ireland Ltd - Co. Reg. #308263 - Collinstown Industrial Park, Leixlip, County Kildare - Ireland Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org This is a rework of a set from Christophe JAILLET that implements a few fixes and clean-ups in the QAT drivers with the addition of a related patch. This set removes the deprecated APIs pci_set_dma_mask() and pci_set_consistent_dma_mask(), changes the DMA mask for QAT Gen2 devices, disables AER if an error occurs in the probe functions and fixes a typo in the description of adf_disable_aer() Changes from v1: - Reworked patch #1 removing `else` related to 32 bits - Reworked patch #1 to remove shadow return code - Added patch to set DMA mask to 48 bits for QAT Gen2 devices Christophe JAILLET (3): crypto: qat - simplify code and axe the use of a deprecated API crypto: qat - disable AER if an error occurs in probe functions crypto: qat - fix a typo in a comment Giovanni Cabiddu (1): crypto: qat - set DMA mask to 48 bits for Gen2 drivers/crypto/qat/qat_4xxx/adf_drv.c | 14 ++++---------- drivers/crypto/qat/qat_c3xxx/adf_drv.c | 21 ++++++++------------- drivers/crypto/qat/qat_c3xxxvf/adf_drv.c | 15 ++++----------- drivers/crypto/qat/qat_c62x/adf_drv.c | 21 ++++++++------------- drivers/crypto/qat/qat_c62xvf/adf_drv.c | 15 ++++----------- drivers/crypto/qat/qat_common/adf_aer.c | 2 +- drivers/crypto/qat/qat_dh895xcc/adf_drv.c | 21 ++++++++------------- drivers/crypto/qat/qat_dh895xccvf/adf_drv.c | 15 ++++----------- 8 files changed, 41 insertions(+), 83 deletions(-) -- 2.31.1