Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp6379183ybv; Wed, 12 Feb 2020 11:04:21 -0800 (PST) X-Google-Smtp-Source: APXvYqwf8LJJgx8NBJs6XVZDkJIor6DziFqTThn7yD45QXKeuaMUSUoy/dgoL95D7aeSKDDwqyTY X-Received: by 2002:a9d:6d81:: with SMTP id x1mr11067849otp.9.1581534261771; Wed, 12 Feb 2020 11:04:21 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1581534261; cv=pass; d=google.com; s=arc-20160816; b=p9VVVLXXoO+DuzwiUTwhIThwnRxLFAoKDKzBp8hJxTmvDCWvL0jF8hM0fBz9lgJIe6 7U7GuDVuF+HI9A8dzN/bq1vvjIM1VcIkMr/21J//d7Mevu8QhrPbhfRop40eLnE/QC6u Q6tFbmRZv5XNx7ZnQB0RmwpnPQSD/OlagwotesK6dl9m+MU2XoPJ4fflo/9QKQiqtC8r 8V6KE84riGYw6f2N0a7R1ygV+n6tJBpisH5YeuWEzD1JS50fzFmr/NWqmc7sv2W/qyOB jTD2tX3v8J4oqs/AIqEpQvdxECoiAodvDRDqwZm64KDEbZ9DadvMpjfPqkboowd7KCnZ EUvg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:references:message-id:date :thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=BupAzrf4hRlps4RyCb3qPGDq4kdNSbPzlOsPfbwnxB8=; b=CWF0n87Slg/AHJd7HrJi7EvB2yJDXGVHEKGT27KjOFBP9jDwBVbIY6GlTso43Iwbar Q/jLbQVyFIPx2xd/uw3JQ7jP+yCg8No1/QSS3AfkMCVNx64c81ErWKthE9yeuojQxjL6 /Psr37GmqO8/vOpDKIZ4E+UrSY63XazvgerADaUIApp3e2E3kCJCfa3hrVXGB7zTEuOu oBfZfGpehRRH37xYg/aI0RKIPf62pSaCmh3x4yNdtK1vPrdy7IQI+qDBn5rYNvtNIF1J YkX/4bXLLE6WysYpFsKqcDNkgWEtVj26iVK+kII/PIPT9p5KumrYOLHg2wmqC6hpK4nH MqoA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=fxlFMUw4; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b15si817521ots.99.2020.02.12.11.04.07; Wed, 12 Feb 2020 11:04:21 -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; dkim=pass header.i=@nxp.com header.s=selector2 header.b=fxlFMUw4; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727600AbgBLTEF (ORCPT + 99 others); Wed, 12 Feb 2020 14:04:05 -0500 Received: from mail-eopbgr40058.outbound.protection.outlook.com ([40.107.4.58]:45470 "EHLO EUR03-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727279AbgBLTEE (ORCPT ); Wed, 12 Feb 2020 14:04:04 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=l4MosG+wUcopBb2+16J2wXCLSGEh/+yVfa7RZusVZWvpspokhNpOY3KA8FwNuV3gWmUz+92FTx+cfkeeSFvSjA+K11MoDnj8suPndDe1GFQ6uVIOWLmmB6zQVBQrH4Bi25Noe+EGUlA5ZQPxfGy4igjWTIlgiUjlibYb6vzv9CF6gUqoU4gRjMbUm94hBq8qQev5u7pNYYUZTPbO3njSNPKz4EjYjFrtDBqnFHFq5lRIPaOLXHMbYfW7OJjByJar297t8So5qi/LWUusnQVANobVccIzOkj8zJHirr3oFYvuDdwQYlitHhesINgJH4sC6aZ21PyzvMh8rW5MDiEOQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=BupAzrf4hRlps4RyCb3qPGDq4kdNSbPzlOsPfbwnxB8=; b=g9FV35Y96R5xcbesw7wdJcIGstT80IM60d/mu2bcT4lkZEBGtYvMQqhcRB8RozU+wY98nR6NA+JImX3P11dq2bbis9DL2pHAPyjaMWKJkeqV+uGfUsl8AQl+dZvuXy0I20sazBXzVPEusi8N0PdA3rIHYag3oRE4twKlxqhNuvsvR82POOCoOE0LhMKolgMtUsmKYXQcwpLA3DRY1MV+CMJ72vC1XUb9i4aXIT16QULRYwF1asp7Q4146rfyii5vdK3WOfgU9fKUO30aXat1C967cN59sW+l/tP9XOgHLZTZO2klZf0PH0Sg5zZbbAUgShIaKc/bd9oMGUZvRyIxxg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=BupAzrf4hRlps4RyCb3qPGDq4kdNSbPzlOsPfbwnxB8=; b=fxlFMUw4SydKipALbsp2Dc8oRtl6iO2J25Jb8KV/2pXPqfWekXINEYsUBfOLIZx2edq/Et9e6cYrNM3SXEvt6ZXtO6Hm3xYEs03A3DcqCMUIAP6o7nO/sQrh584IuZ1y2r/JzDPV61uTtgW4gacd3DEIV8d/7b50CJ1uMBkujLk= Received: from VI1PR0402MB3485.eurprd04.prod.outlook.com (52.134.3.153) by VI1PR0402MB3743.eurprd04.prod.outlook.com (52.134.16.155) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2707.21; Wed, 12 Feb 2020 19:04:01 +0000 Received: from VI1PR0402MB3485.eurprd04.prod.outlook.com ([fe80::85e9:f844:f8b0:27d]) by VI1PR0402MB3485.eurprd04.prod.outlook.com ([fe80::85e9:f844:f8b0:27d%7]) with mapi id 15.20.2707.030; Wed, 12 Feb 2020 19:04:01 +0000 From: Horia Geanta To: Iuliana Prodan , Herbert Xu , Aymen Sghaier CC: "David S. Miller" , Silvano Di Ninno , Franck Lenormand , "linux-crypto@vger.kernel.org" , "linux-kernel@vger.kernel.org" , dl-linux-imx Subject: Re: [PATCH v6 9/9] crypto: caam - add crypto_engine support for HASH algorithms Thread-Topic: [PATCH v6 9/9] crypto: caam - add crypto_engine support for HASH algorithms Thread-Index: AQHV4c23DLQNOiVYCkuTVfZUIsa9Ug== Date: Wed, 12 Feb 2020 19:04:00 +0000 Message-ID: References: <1581530124-9135-1-git-send-email-iuliana.prodan@nxp.com> <1581530124-9135-10-git-send-email-iuliana.prodan@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=horia.geanta@nxp.com; x-originating-ip: [84.117.251.185] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 8443e5f1-db68-4752-5d3e-08d7afee5223 x-ms-traffictypediagnostic: VI1PR0402MB3743:|VI1PR0402MB3743: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-forefront-prvs: 0311124FA9 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(136003)(366004)(39860400002)(396003)(346002)(376002)(199004)(189003)(186003)(26005)(4326008)(91956017)(7696005)(478600001)(76116006)(44832011)(9686003)(4744005)(55016002)(64756008)(66476007)(66946007)(6636002)(8676002)(54906003)(110136005)(5660300002)(81166006)(8936002)(66556008)(66446008)(86362001)(52536014)(2906002)(33656002)(316002)(53546011)(81156014)(6506007)(71200400001);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR0402MB3743;H:VI1PR0402MB3485.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: QYOWl9Mnt9lzeXJ/OM2XKXkLNrwGIf11C4NDNDik3q1+QX917Mdwj42f8EXLLop9XECsURFfG4M68Pk+gttATW9i26ZbamV3keJ2jaG8ZFdaVJAJH/kD2WC/mwr1Qtgg96fZVQJyNGbqBe0fPP2cyybgIXey1raY51vfDeUBsOppybdtabSloma3Go1/IVHYMQv6edqcvHTx+7Iw0ru21ytJ/r5LsG2NXnSs4pnrfjSw/q9+0I5sFjCZt79br1jX1zEA/FfSDsDoc6k6Q7ekOme7+4ruupVG1lvIL58zGQOUBxzZQTHyqZ1zZapGKoJEttM6wqam0d7EdE86J5jpnmkebvSPhAiwJ0w1ukx5HsUQQrkZG7XGvrZPQtw5Q9YjeX6qS/I73Jj45QIkeG8p+dlfzMGcXH2dNOxM3g22KCAe4Ah5PNBnDVICR5ka23B1 x-ms-exchange-antispam-messagedata: E0No7jsPQLYMRBEGZ0z5F2qmadF2D//V6yVywXHmYzBIR7OiQ7fneC7u3QRGcb31CFQD2ns53ik7Nzy6zMwt2FL5B+UTTHq8ZGl/U1xqFUuEDskC6UhanEpe2kk5kdJUhc1984ojIfpzPyCPp3hunw== Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8443e5f1-db68-4752-5d3e-08d7afee5223 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Feb 2020 19:04:00.9812 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: DauUF3Coz08QYE53HK6OzvNv2UEy78eHsugYgC5vVjLoAgZUfVKkQEbyPYaPxdqzREJXOarjzqKIt8vZ/4yP6Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0402MB3743 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On 2/12/2020 7:56 PM, Iuliana Prodan wrote:=0A= > Add crypto_engine support for HASH algorithms, to make use of=0A= > the engine queue.=0A= > The requests, with backlog flag, will be listed into crypto-engine=0A= > queue and processed by CAAM when free.=0A= > Only the backlog request are sent to crypto-engine since the others=0A= > can be handled by CAAM, if free, especially since JR has up to 1024=0A= > entries (more than the 10 entries from crypto-engine).=0A= > =0A= > Signed-off-by: Iuliana Prodan =0A= Reviewed-by: Horia Geant=E3 =0A= =0A= Thanks,=0A= Horia=0A= =0A=