Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp4624287ybi; Tue, 30 Jul 2019 05:23:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqyuYiiuWXwAXRLmGXFXirEUDlUP1GJj/trk2pbf+jDXHL/qIuXlTN2fAix34zzV5i8iEQSg X-Received: by 2002:a65:5882:: with SMTP id d2mr83273098pgu.134.1564489400380; Tue, 30 Jul 2019 05:23:20 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1564489400; cv=pass; d=google.com; s=arc-20160816; b=iTKFhRiDW9BSPbfVxvEounX6EwOr0p857cVzYB16zk0kQpGAVOOXebVmDa9m05Zc2j NhArUUmCssy62FK82LrdRuj6SXUgqcqT9bcYdrZ5SguezUnEA6hyajN9sKXsd+MeQvNU 7J5CKdA6UOR2MKw90nbP62WZrnBrZgF/2ILIrgH0DBOzUmO0U0OUPvFaWGWZUMkVwV1G BtQZVyCGucXHCaH1CVZecExIQTc2bjqqLeCZ2b8/Tzm/E+RoI6XinH9ZNGXTzppl7pve ai2fcQcGA9SIchmNZtAOZz6kvL2FNHvOvufjGNMrcM3z+PnVNwWnn3skKSiUZEa3fYJC p/WA== 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=zNzGLUP7Or2D6hK6jTYTP2FOsutzS0OhQCA1HL5QsSM=; b=nQa9qICwyp2LsvA5RHj5qQUZNd5lL+sO9m3yFU+te10ThsAr7EUTMHQMnA5M7U8dQX 8r7pNAAusSnUsxP0iPY/xfGVN6JlVKLp6Iy1kGKGRL1RYnPRHWcwYgtwoP7EIK11xWJ9 kJ59BJcpmvA1wfZ6ksgULNSkuKHgK2Uv7W4nWhJvLe+bt3oltCeHad3/b/H3vJ+slMy+ JRlFic06ergWnueD1M3GnZxBaBSBVpCGDxF5S/M3kAl4A8Rj22+60zDcSQR0QO1yP0zM qXdSYizP79yNSnbjN/yo9kcmbQgGzoM77Jz3HbI7wOeujmbVXQRRVKLShOKgtswbLX4P NbUQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=GDfnlLWk; 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 x35si26266782pga.337.2019.07.30.05.23.05; Tue, 30 Jul 2019 05:23:20 -0700 (PDT) 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=GDfnlLWk; 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 S1727816AbfG3MKq (ORCPT + 99 others); Tue, 30 Jul 2019 08:10:46 -0400 Received: from mail-eopbgr10067.outbound.protection.outlook.com ([40.107.1.67]:62471 "EHLO EUR02-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726717AbfG3MKq (ORCPT ); Tue, 30 Jul 2019 08:10:46 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Dk97nsOYb91fzhQDJhnZ1RWVxLxhwD8sLH2V0Nzv4H3gxNwMSwqn2LEhB4GTfFj/6Qodd0C9wAV+dhC3CevZ2Aa1SFazUPmrNx7DMTljJSjJjJyV+1nbDRP2jqkRvkiVofKMgaLO1Etd/mcAzTOACC6WGG7H6cCGqCDvd+1HxoT4EB9xLpNNThm1MDg/7y/YOTd7ESfZUA/M3oxpmGTZuZfUjDLxGC09kVclPjZJCejdywIG5D4hMKwQ+QKxCbsSxrp76F5H3LFnflFdSS2fKCAx2AoeHBjYLBIdL682bVxqWHs2zSmRYr4aR9Y8KNnUADYCbeLHuJv82mbYEx7a5A== 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=zNzGLUP7Or2D6hK6jTYTP2FOsutzS0OhQCA1HL5QsSM=; b=jMiqt6lb35o2h7AknEfJIZWGCgRGL5EiiOJID58UbXxWB5Np5XTfH+79SKAx+9J7ujCanIOAK399fvPdLePXEXXQJ8M3JBYHQMqILVARXaBknHwZD7NZYpUx53YzQiPHrLIqhopYHUHoRTcp/L2JP+wdRra4jXX7HuM7iWHo/6fzM1XR5BoNsYGIYHGGCs2DXGsMJNecbKQkQpVHWoBCdIY00NLBXwZsNIsj2PdjYEe6LjTzxCoyHhEqwo9MGpXRaOvUSFa0J5V8B30yZaWxYK67CzjmByHCrWH22tg0q0pVSpouqPOrVz+kMNhTOzAEG7/Q6o81w/tAoTwCenjZnQ== 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=zNzGLUP7Or2D6hK6jTYTP2FOsutzS0OhQCA1HL5QsSM=; b=GDfnlLWkNPtSnjafvTG/+dzzC18z6DgVpfLIpV8aXO3IHPVbtsKGf1nvqmJd0fUO1nwD8MuTtrgpYMy/lBpgbi6hW9xOnTaV2ttmR/jWFSNB9lIxAIqbV4Vqy4fVinrDYhmLi4xvS9tFZ5N25ukFqMiL69tDGveipuU6xVwn/P0= Received: from VI1PR04MB4445.eurprd04.prod.outlook.com (20.177.55.161) by VI1PR04MB5166.eurprd04.prod.outlook.com (20.177.50.207) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2115.15; Tue, 30 Jul 2019 12:10:42 +0000 Received: from VI1PR04MB4445.eurprd04.prod.outlook.com ([fe80::8d42:8283:ede8:9abf]) by VI1PR04MB4445.eurprd04.prod.outlook.com ([fe80::8d42:8283:ede8:9abf%7]) with mapi id 15.20.2115.005; Tue, 30 Jul 2019 12:10:42 +0000 From: Iuliana Prodan To: Herbert Xu , Horia Geanta , Aymen Sghaier CC: "David S. Miller" , "linux-crypto@vger.kernel.org" , "linux-kernel@vger.kernel.org" , dl-linux-imx Subject: Re: [PATCH v4 09/14] crypto: caam - keep both virtual and dma key addresses Thread-Topic: [PATCH v4 09/14] crypto: caam - keep both virtual and dma key addresses Thread-Index: AQHVRsbo/K7duR/t8kGtx4yGfVP2+w== Date: Tue, 30 Jul 2019 12:10:42 +0000 Message-ID: References: <1564484805-28735-1-git-send-email-iuliana.prodan@nxp.com> <1564484805-28735-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=iuliana.prodan@nxp.com; x-originating-ip: [212.146.100.6] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: a109383a-d7e8-4fee-e46f-08d714e6f1e1 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020);SRVR:VI1PR04MB5166; x-ms-traffictypediagnostic: VI1PR04MB5166: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-forefront-prvs: 0114FF88F6 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(366004)(396003)(346002)(39860400002)(136003)(376002)(199004)(189003)(86362001)(110136005)(4744005)(66066001)(6636002)(476003)(53546011)(14444005)(7696005)(8676002)(44832011)(81156014)(76176011)(14454004)(186003)(229853002)(81166006)(102836004)(478600001)(26005)(7736002)(8936002)(6436002)(68736007)(33656002)(486006)(54906003)(6506007)(2906002)(316002)(66446008)(66476007)(66556008)(64756008)(66946007)(91956017)(6246003)(25786009)(4326008)(53936002)(3846002)(256004)(6116002)(74316002)(9686003)(52536014)(305945005)(5660300002)(55016002)(99286004)(446003)(71200400001)(76116006)(71190400001);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR04MB5166;H:VI1PR04MB4445.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-message-info: svXeshaRFZNubqvm0yC8YGSsgspgUfdmA9fBvPd4Qxg7wL4VYiMzQZ3a6tbDMySqvUfbwAW0FfQnM74Sr2qMjglI1zdeuuJgVOotTOIJFZEF66DM1MXKJkHpNzf4X7+KA9cBUqXHk/NZKECTDyRCsVbUtmowgEBFJqb9kfS9ijqyRUXbVSwLfFmUbAbwOTOXw99GY0fT6NaUjknMBiUfuen22Hy7myZl+eCfwLG7JmYn62KS0eQUtiZHGD/kEou5QUp/m49OEvtNUk9utv+VQQnjTHaoDp9j4jRmuw9GTzvvLmsPM8+jzJsshCwOdZv6O6dwnypwOqUW9AxKJfXnTS+7npEAcYPH3cDAAILKu0v1bWm7TEaXheH4iGQHPrDnEJZEWdhqhPyaaKdIGw7phJdbg5hZmDglUY+7O/vQq1s= 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: a109383a-d7e8-4fee-e46f-08d714e6f1e1 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Jul 2019 12:10:42.7872 (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: iuliana.prodan@nxp.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB5166 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On 7/30/2019 2:06 PM, Iuliana Prodan wrote:=0A= > From: Horia Geant=E3 =0A= > =0A= > Update alginfo struct to keep both virtual and dma key addresses,=0A= > so that descriptors have them at hand.=0A= > One example where this is needed is in the xcbc(aes) shared descriptors,= =0A= > which are updated in current patch.=0A= > Another example is the upcoming fix for DKP.=0A= > =0A= > Signed-off-by: Horia Geant=E3 =0A= > ---=0A= Reviewed-by: Iuliana Prodan =0A= =0A= Thanks,=0A= Iulia=0A=