Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp4447278ybc; Tue, 26 Nov 2019 09:05:15 -0800 (PST) X-Google-Smtp-Source: APXvYqwurqbv/zooAxdMjmg+wh6s/Cb0MmMR+rYEEdUlubzK5og6z/V+VZdxIwjFfQ9imBPQ+RWA X-Received: by 2002:a17:906:f108:: with SMTP id gv8mr45538592ejb.180.1574787915639; Tue, 26 Nov 2019 09:05:15 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1574787915; cv=pass; d=google.com; s=arc-20160816; b=Xlt3zO82kRgqT7QRiVPdLcWkR6XuUo2R35PeDk8wjSDVUW34WGknuUeQwF3XkD3lUZ tSAN06eW3y7G31WKz2ajWrX9wpQa5+RmijbXkAodhDai6u0K1fOHzA4W0PrGQpnrZiey Juixvswb3cFo969gR6hvvwF+13RcLWHKn9gWduNJh7v7VjlgrYry2H0Z/W/yC/KjvrIx yhYcREjFT1aEaJBVc2vdzpqaMFYxG06k7wKfPHZ3HmoE2GXTr5fymLZMaaq6ho7F0jpB 4PtuSC+c6OKks3GFWm9l6XaEuRi97KF2N1OsUJ3cww0tvV87u1nvCM+YETYZM97AdrTW JJ3g== 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=bzQluj4kON/3vA+0cSGYCjKVAZWpwEFQQm2uRS4p6dE=; b=EEtvTrkL4pPjXMUbaQfqGry5gopWa9qIih5bc5Bq3BYk9JIXEXryt0RrDPMncoby3s MBBxBwjURdeCtDO13FMv/jRSwbBa9tCYzwewaPfXoYz3CLUmpmj4Nu5PvgrXu1Stihe1 eWOji1peNrAKEf8+UJYu026StasRO7L4Q1RM3pOLxiZOOJ031Bi8cG3ruHSu4x3GhEUS 0yztytIu2vCzeNK/lgxc7NH/G6imWCvPRlNQJ+N7njrsfGjuCB5OyFkLZzWNMsYlvuiq EcQKA38TsLnrsrorCsnBJkSv+pbyyIWaJQiaODA7IVliiKx7nH2dgDOSE9mjTMsrR0i3 Rg/w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=ZYSjrdq7; 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 j19si7868130edt.451.2019.11.26.09.04.40; Tue, 26 Nov 2019 09:05:15 -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=ZYSjrdq7; 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 S1727879AbfKZRDq (ORCPT + 99 others); Tue, 26 Nov 2019 12:03:46 -0500 Received: from mail-eopbgr140043.outbound.protection.outlook.com ([40.107.14.43]:39398 "EHLO EUR01-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727674AbfKZRDp (ORCPT ); Tue, 26 Nov 2019 12:03:45 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DfJzHBdjZlFe1i/5o7CGd7yZwIcs6gS4OF7YKeugJgwb9QJZymrJuWk/1nx/I6Dfcbd0Pc6dIArGGnk5CY4xRBE98rbMu1DtO4EfhkGDiidz76w1NzrCdDB3waBxfr/9pMxf/XHhCzpyL6KbyVeSJYk1dfCFL98+xJby7ZQ3ZENzzTxvo0cZhx2uTo2JYRHK1SNhQNCjRZ4rT+JDK/fuTPst9KANqTvBkfeJWzetTK8TOTGLimgfbJC7lvLktLJ5IwszTBM+YQb/+2GItYsDt8EK6kiTxuXDs2zGHQSD49QbpxCwfzQXnp3QTWeBA86vBrtJL5pUmDNX5wYD8gAnAA== 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=bzQluj4kON/3vA+0cSGYCjKVAZWpwEFQQm2uRS4p6dE=; b=lBIXdjOncVA1sbx76U0ehPlrW+Ph+KfCqKqLLBTQyv2yP+b8vuun3JXeRzswlzh2rKnRcQsYZjwXIyjW+P/2JJ0NkfcUV+/jtM6daIaJ67Lyuz/BYBAHsN9gffQ34GV7NMrAKCPv+/8X5Lb2XrToiSjLQyg+9RVTKlaTf780ml8omlSw/CrCR5r/WZUlcBeU872q4xCcGgGpclX2+3447Qt1u8y5vjxlKrf73LYrtWagaN9UWoY6LKMN5/spqVtl1arfaLt1ZGyxkHxlz/Tid8bfMZC59b9tRhBxw7pdcuuU2bymUNhF1xuHRK5BmHx5hQOM0aJcLIZr7okdR3yjlg== 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=bzQluj4kON/3vA+0cSGYCjKVAZWpwEFQQm2uRS4p6dE=; b=ZYSjrdq7ZWwr2QWNs5ISEWfULf+c1nsucI/ZLRMs8yRP8sEKXrDl0IoBHn6eEsWO+xEQXkd3or0mI4If9Gf4B9e1bncXbVLiNYOgUHD5ptvIumPIA3uEbWc+/LxLxHT1C69lkIXpgoO9EHeaNcAj/jaChsIyDakX37RI8ij9uGw= Received: from VI1PR0402MB3485.eurprd04.prod.outlook.com (52.134.3.153) by VI1PR0402MB3405.eurprd04.prod.outlook.com (52.134.1.154) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.21; Tue, 26 Nov 2019 17:03:42 +0000 Received: from VI1PR0402MB3485.eurprd04.prod.outlook.com ([fe80::89e1:552e:a24d:e72]) by VI1PR0402MB3485.eurprd04.prod.outlook.com ([fe80::89e1:552e:a24d:e72%3]) with mapi id 15.20.2495.014; Tue, 26 Nov 2019 17:03:42 +0000 From: Horia Geanta To: Iuliana Prodan , Herbert Xu , Aymen Sghaier CC: "David S. Miller" , Andrey Smirnov , Alison Wang , "linux-crypto@vger.kernel.org" , "linux-kernel@vger.kernel.org" , dl-linux-imx Subject: Re: [PATCH v2] crypto: caam - do not reset pointer size from MCFGR register Thread-Topic: [PATCH v2] crypto: caam - do not reset pointer size from MCFGR register Thread-Index: AQHVpFRUdqDc3ecVmUOullCcW0ooTg== Date: Tue, 26 Nov 2019 17:03:42 +0000 Message-ID: References: <1574771003-17208-1-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: [212.146.100.6] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 4c583cab-12ac-46a5-4320-08d772929787 x-ms-traffictypediagnostic: VI1PR0402MB3405:|VI1PR0402MB3405: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:218; x-forefront-prvs: 0233768B38 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(346002)(366004)(136003)(39860400002)(396003)(376002)(189003)(199004)(99286004)(478600001)(53546011)(81166006)(26005)(6506007)(55016002)(6636002)(446003)(25786009)(2906002)(74316002)(186003)(102836004)(81156014)(316002)(54906003)(110136005)(4326008)(6436002)(6246003)(9686003)(3846002)(44832011)(71200400001)(86362001)(71190400001)(8936002)(66066001)(5660300002)(33656002)(76176011)(64756008)(66556008)(6116002)(66446008)(66476007)(7696005)(66946007)(4744005)(305945005)(52536014)(76116006)(7736002)(14454004)(256004)(229853002)(8676002)(91956017);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR0402MB3405;H:VI1PR0402MB3485.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A: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: 9pQFEP9/IRlj5R7eHeYhRelSNDkg1n0oYBmW1GBOn8FSEYvOhlGVi1aGVah/nxODCpAcdYyv3hoHLuonpOYk32FCMuu/QIDm3MHun8EzQnmH3VxNXr7Ou0zVoXl1SREXDLjU2e0aAlicjPvl2i0aKfDwHnMqSvwdf8vSQPdw3hOqEZ+IH+ZXsnj9+8l8eqO3abmJFjp7+CNIF3Fq5IEYTtwfBpah7/96eEmI4kfc3YQK17WQLVxLtUhbNjmtEAEPuBpIdof7wB4/D+c+UWGtfnZkxTMzURtq6go6p7OenM/3kHZbF/kC4oJlEhaLAZ2e0VK0qFe0T6agoLzHs3msr0cKDS46Tu7wfp0ujPH7zf5Mozjw2jcz3xlJpNPJKecgbx5o47UFs4fAHYiL1nYG7KFRWYZNYs12P+2SXCfemsR8iqW/jvfLmNDmjSk0Ng8h 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: 4c583cab-12ac-46a5-4320-08d772929787 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Nov 2019 17:03:42.7501 (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: e0PheNWvEuBltnrLXvJaLg8Ebx3esh+86KX4pTcXPrWnwQS156IOX30ikUCudm3Uv1uxZJ4JF8QV4ClF5yT3dg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0402MB3405 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On 11/26/2019 2:23 PM, Iuliana Prodan wrote:=0A= > In commit 'a1cf573ee95 ("crypto: caam - select DMA address=0A= > size at runtime")' CAAM pointer size (caam_ptr_size) is changed=0A= When quoting a commit, it shouldn't be split across several lines.=0A= =0A= > from sizeof(dma_addr_t) to runtime value computed from MCFGR register.=0A= > Therefore, do not reset MCFGR[PS].=0A= > =0A= > Fixes: a1cf573ee95 ("crypto: caam - select DMA address size at runtime")= =0A= > Signed-off-by: Iuliana Prodan =0A= > Cc: =0A= > Cc: Andrey Smirnov =0A= > Cc: Alison Wang =0A= Reviewed-by: Horia Geant=E3 =0A= =0A= Thanks,=0A= Horia=0A=