From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id DF8BFA04DC; Mon, 19 Oct 2020 12:33:43 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2382BC9E0; Mon, 19 Oct 2020 12:33:41 +0200 (CEST) Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-eopbgr130042.outbound.protection.outlook.com [40.107.13.42]) by dpdk.org (Postfix) with ESMTP id 56EFEC9D2; Mon, 19 Oct 2020 12:33:38 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BB8heSH1KiVSRJD/zGOaoyQQCcGAsfR4pvqdTKgdX5oMkhVAJ1e0c3plIE5PqSClHc5Ab0+fNBOYW49sP1yYk7ka/a/WzQ4tICkQsiR6RSH+BWJebIR9xNhAQtPGB7K4Cl2T5VOtrv45xc8r0F4oR8fkrURSvfemIewc7TBFOTtLj/ppamj8EKgVn+Fae5IYBwrTe51RDmYesk7ukZBZGXf6OmSTFuM42cKBv3P+5WxdgEBLkijiJIfcgSxzSayiHJ6xOkwc7raprrMvUD7z4Pij4uKkJFlFb2IDCqbgLKqbybU927vbgxke9e91LIgIzmpw0KhzzpUlxJmQohYsqg== 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=/iMKyeAh9yFFPGJjmWpUXsauCFovk7Mz3EVBjNUw+hw=; b=KkyLoHJbGg6lUwc46zvwsRmsFKpycSWB57X5jU/iuN+MEYDngwYnEEpgAL4KocgEH0XZf8LMXee9IxfJboaLFqs2huHNUCyZ6m6CBi0Hn+kW/9MjODtP7tvqqi0prAI5hr5lpmgbz2zcQLAXWWfzjZYr7mPJxspZV32nkYsSuFKmbVvz+6s6SV5LpbKNiQEEBJhMxFNaLn7yTzcqy5eP3Gp70Gv56raer6lsUTFCYl2UE5VUUrJwSJ5s6CdD1qnX9ikTdootgu6FxyHasykq1/N1/bgF7lYqfJEfYb1KKPzAHmZm9ZpF/LVRmDUbYPeyR7jkYcBWwYZg5sRhmD3u3g== 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=/iMKyeAh9yFFPGJjmWpUXsauCFovk7Mz3EVBjNUw+hw=; b=rCtYKl6oZnHNyJB6um52DviQvUV1dvwOQfuJOxS5q4Pku9o2rA7pbu4Z9pXueMja57S+V98mQyW02487l19k1/O/08g4w3OEkqynbBACh9zt9kJjiq7ZPq2+fSUAI1SyZAVQfyIhN6fnkZdzvIvQ9PFrP/WYbAI7PJYfT0UB6Xc= Received: from VI1PR04MB3168.eurprd04.prod.outlook.com (2603:10a6:802:6::10) by VI1PR04MB4640.eurprd04.prod.outlook.com (2603:10a6:803:6b::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3477.25; Mon, 19 Oct 2020 10:33:36 +0000 Received: from VI1PR04MB3168.eurprd04.prod.outlook.com ([fe80::9513:3b55:931f:216e]) by VI1PR04MB3168.eurprd04.prod.outlook.com ([fe80::9513:3b55:931f:216e%4]) with mapi id 15.20.3477.028; Mon, 19 Oct 2020 10:33:36 +0000 From: Akhil Goyal To: Gagandeep Singh , "dev@dpdk.org" CC: "thomas@monjalon.net" , Gagandeep Singh , "stable@dpdk.org" Thread-Topic: [PATCH] crypto/caam_jr: fix caam sec era invalid issue Thread-Index: AQHWpfz781Af/seQi0CL/n4lTEidaKmeucbw Date: Mon, 19 Oct 2020 10:33:36 +0000 Message-ID: References: <1603100881-11504-1-git-send-email-g.singh@nxp.com> In-Reply-To: <1603100881-11504-1-git-send-email-g.singh@nxp.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=none action=none header.from=nxp.com; x-originating-ip: [122.180.231.103] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 8319ea62-6f28-4078-262a-08d8741a6f97 x-ms-traffictypediagnostic: VI1PR04MB4640: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: fyqGff/4rXugS5lhwpFxPLsAI7Az0y9MpZyXMo+ytnXoyEaxJAE6NE/jlVf3j5QgDqHGp1dfoZKp3URO29Z7kX1JdoCOUfgmujLO1ccKn4iNQ1mw7IXBd6osLJ+qM6XH+p3qwbv6MqhnVrOreUDRIWKhx9H+Xz8QLq7UOsEwq+/WHc2s0ReU/a2C/GdkoLdyU0kU1HSr1RyTXrTjSc3aLLNu6q+Z3a4bk3h0DyktSFUy2H3HvBA5r3wChVC7LMnb/hPIgDXAqPNPazyIYaFBKMLCDdrLHgE7ZKKeE2bYANwdTHn8r8M8CEl73BUnlsaYy26PNcjXrvwp+HrBLnNbWg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR04MB3168.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(376002)(366004)(346002)(39860400002)(136003)(33656002)(54906003)(71200400001)(9686003)(44832011)(4326008)(55016002)(86362001)(7696005)(26005)(6506007)(186003)(478600001)(316002)(5660300002)(110136005)(64756008)(66446008)(52536014)(66946007)(76116006)(66476007)(2906002)(8936002)(8676002)(66556008)(4744005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: pahrULyJnfXi78Wpcy7Pv0Z8Zb6dIUnJwciTWYEfvPFgTn3Q3w/ZHYOyRoAvYjkk7X58BR8CIqYss69r58sKCFbzqv1MnnufbcjQBvenpETb7GHJV0V+4HJgxLFSLPb98reFi8cGdxiOfr/dEb0PwDGUMvzgxfsd1EDrYNwi615UmtVw39Puc7ZqrD0PW7KgVmvZ8wsk9txr/0l4BThOnleB1Nn7392lgo74/JYl4IT/afAMdqBLLapbYQc+gUrmZazRVOC0K+b8GXTSu+snKMHaAWVVuWf9844Ux7h/AnlbRpZ4NeqORTrweTLYFzZPhvvzXv/JcTqXqhb/8Ts1VizXBaDgdFCixIqF/zLti/53JqTIxFb8ArqHQztphdrzrlHoPENgoLpBMgemgKlI+0GYo6m7oqOMZgVXRaoqbyg86L3wRmy9N8rbEztltvXTy56d8oAHPlYQLaM0UERqqCZ5EpkL1c1TLonyjl3Oj6hynEN/7gYN7GCd4TSpQb56clljGkR2sDTQvH2+FJyBJ/WSxMElOnR9+b0b1pG6jshMiJ9uyfSBXLraPjoDOol1QjbQH0kKIN/1TxycDt/5rLh1WQY0pL17wCH8O1hHxCc4CzKoahX2h8tWqxPI1vIcVLpt0CVaXubWf2ADoaKRig== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB3168.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8319ea62-6f28-4078-262a-08d8741a6f97 X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Oct 2020 10:33:36.2184 (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: 6fP5DZyo69Fq01fpm3i6ajmR2xSMwQlLeXLxM2gOrCpEpQjpOj3QrEcRtelVOand8hrrV7foW35HyarnFcAw2Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB4640 Subject: Re: [dpdk-dev] [PATCH] crypto/caam_jr: fix caam sec era invalid issue X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > Subject: [PATCH] crypto/caam_jr: fix caam sec era invalid issue >=20 > of_init() should be called before using any of_* APIs to retrieve > information from the device tree and if reading integer value > that must be converted to cpu endianness before using. >=20 > Fixes: 1d678de329ab ("crypto/caam_jr: add basic job ring routines") > Cc: stable@dpdk.org >=20 > Signed-off-by: Gagandeep Singh > --- Acked-by: Akhil Goyal Thomas, Can you pick this in RC1 directly as this is fixing a critical issue in one= platform of NXP? Thanks, Akhil