From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2719CA0C47; Thu, 2 Sep 2021 13:26:17 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9A8D44003E; Thu, 2 Sep 2021 13:26:16 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 7CE734003C; Thu, 2 Sep 2021 13:26:14 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 1825LHaK028342; Thu, 2 Sep 2021 04:26:13 -0700 Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2108.outbound.protection.outlook.com [104.47.58.108]) by mx0a-0016f401.pphosted.com with ESMTP id 3atrd2h8d3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 02 Sep 2021 04:25:55 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Jk8IZuLsrZh5ZHLUD7ssNetlXE3vYdj7NAjAcgjPRekzDY6Hq8Vk9XXh3MWa07QlFaiFYLWEkBCjUrR6TO9t975rnAwOfirOGZ6QMANXe/3Q+JRMOmuw6SRN8O4FG+K2wGsFwanWvnrHrNX46tpmO0Igu9HxJx/rY+056LiTztw5jn8k6aIj9L9ipPqf2F0qghvn9TR1l3dU6+601NSeNqzzgK6xyYpuckMQ1eET/ADljd0bdMiibc0R+MFKSbo+vTAs6QE6K+1BHiI25OApPll3Vi7nTfIt3Sk56ah8hp3bdiPvx8QYCUG+uJTn7UAdlUGWsCyBJfhu6vaKBU/PMg== 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; bh=04BbBPFAWVovpLT83+0BEjt7czSIh+HLKJ78LXuFHIM=; b=fltL6y10AZW3caEoOp0H0UtVSbJVLsrQpyN2TrIQwNG3/NbkDQPEdipA8YgY13c9637fDGrxloMaJUVz8DwpPVGZWp7Iit6sddxehX1Pyo7FqyySvjv/ha4QRJAc5dmis15AUzR+cvVYy7BXUvzm3HlWxG/rop50+EvHnKVydmZlWh1oSOlLZ1jQxK/PiJQXkHFZk5GSA6N0TsQ+S5+v0Vwbd/GPJkW0miWy/k7Jbzodnp3yw2BnL9SwNPGeZ7xQBhlcbUsNdYMJ80QmyCbkOXnPs6uFiDEa9tGKD8ur/2N1sut5leJN0937EhA9Sk42fG0Uaq3MtkF8iyOYDzOHoQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=04BbBPFAWVovpLT83+0BEjt7czSIh+HLKJ78LXuFHIM=; b=Ek4sRkpUqrT54RCBlJ9ZHsmKlzDSpPmhD+DHvD6uGIGuNMC95O9FFb/YHP+2atWXx9lPLYTEc151/06rRz+LlJEsxNreA3uGr3d2b2fJr9dfIYpmwVAyMmfdhWr0UZ3pawkUAgC/EeQHQCAOtUGr4a4wPWJvRSb09sygE9b7528= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by CO6PR18MB4498.namprd18.prod.outlook.com (2603:10b6:5:358::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4478.19; Thu, 2 Sep 2021 11:25:52 +0000 Received: from CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::411f:5b87:321e:de29]) by CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::411f:5b87:321e:de29%4]) with mapi id 15.20.4478.022; Thu, 2 Sep 2021 11:25:52 +0000 From: Akhil Goyal To: Anoob Joseph , Jerin Jacob Kollanukkaran CC: Danny Patel , Ankur Dwivedi , Tejasree Kondoj , "dev@dpdk.org" , "stable@dpdk.org" Thread-Topic: [PATCH] crypto/octeontx2: fix unaligned access to device memory Thread-Index: AQHXmwUxXd8gDz5L+UWnizYmEQs4aquQpEnA Date: Thu, 2 Sep 2021 11:25:52 +0000 Message-ID: References: <1630042438-3434-1-git-send-email-anoobj@marvell.com> In-Reply-To: <1630042438-3434-1-git-send-email-anoobj@marvell.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 52dea518-46db-494a-040a-08d96e046c67 x-ms-traffictypediagnostic: CO6PR18MB4498: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:962; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: UNKCi4HfWt/SJ0KZ/meVDZZ48XjQv6/E9zTwC9MbEnPgKeWD3/MTexLCLw2fUN7rl69ZuQdVf4ZtmTwYyVw1XoX3HTfOQxmVJKwDkD/cF84VWVpGVE68yFPhZK/tX9WyFMZzF/KasuYpLjzfmO/L5pWq8qy7NxW2Q1cR0n8bnQXfQ5Uhp/QilGvv3XwRoUDZG7aSldf4b6pDhmoEVjZdY1ccrg6f99APuGZ5wgcjNKLDKht5WryrGgUwfDTbtB6Ok806+B4QxGEdde+mafYLpLkIUrl1xCHJ7lPLinlSN2FeOLU2FVsLEMedEm37DM4+7tbYfvwKv/Iil0JGGWEyjS8p9H8aT8dVT4FC2HjqPEOs+DEqylDc7uy68Gfb9DrWUsozmwjasY6cxpfQdxXwzrNt5cu0DFcq8Rm9IihgFLijiZaR9JRSbcqDyUh4UeXijjZI1xmbkrr+2l5an25noIz3nDCRsYKoQd30h0HRp1hx5jy/kBOp1cnQOGx4/MgFQ4jo859i1Z7Ez+0w+SIbyhqv2kzP2WRRoNtyG6xXur6VTk3Y/il2O6s+L+surDf58cyg6JcQDxaiohtiXxXzBb13KATZBa5Nzyqs/3wsOBbdUuoXHQdkD+GRzraP1c01Cgc/AJ6avmGJaGJHBp2EukisaI1fBU0hfTRaLQoIIB4YIzN7IdYgNongRUJqxf3xIk5p6/pj4bmZzVroVo5xVw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO6PR18MB4484.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(376002)(136003)(346002)(39860400002)(366004)(186003)(33656002)(38070700005)(83380400001)(122000001)(9686003)(7696005)(38100700002)(86362001)(6636002)(558084003)(8936002)(54906003)(110136005)(450100002)(76116006)(6506007)(66446008)(66556008)(66476007)(4326008)(64756008)(55016002)(26005)(478600001)(316002)(8676002)(71200400001)(52536014)(66946007)(2906002)(55236004)(5660300002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?o6Ug4fga+1EqpqG1iMB/55NeaCo9secAlJCL72ALwx4kDdiUof5yI5CdNUdk?= =?us-ascii?Q?/1K9SM1JyR/VO4rC6MH6PkEULIFL3WSMhHgy0UivAXCLnrHU0ongCyZ0zh2T?= =?us-ascii?Q?DzqKhgfc8Lf/kZzO9tJluk8NgSawDpxZD8wmfIXDhCJ0fZJT0EKgMlR1iUZd?= =?us-ascii?Q?rAMviiZLu75DeLas+/Kx7YT9fAbcum7AsWtqXhe75gguvml/u99z2jMoDPPM?= =?us-ascii?Q?UdEBfGtmelnJSuqry2EI1NBeNgXKc7b5Lip6TqscryyQo17+FOSzgT7lwu+r?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mXQvAAMjfp9sn4sVJGs3UP5/EGCS+WO/bod/?= =?us-ascii?Q?PNm5HiRIYw6noAR5kGLX+rZaoPGM9ZESQNGZpJicGwuTCIxe62R92UYvtsBw?= =?us-ascii?Q?+Z4aL2xNNauQhbLFWfSHlFRMwN4YrLTmkDALEBODT6tTjDtWBezlUvCsxU1/?= =?us-ascii?Q?h5+BgxqAdjyam5Rm3nODzTKT?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO6PR18MB4484.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 52dea518-46db-494a-040a-08d96e046c67 X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Sep 2021 11:25:52.4642 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: ltgyxvqUfpHBOHAgS4tvFZpeJKmy5Sz/fJ12FhDtiqhlBVXQiNvnTtMrtLsmCFjA7bL1tWfSA2vj3Kv97cInMQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO6PR18MB4498 X-Proofpoint-GUID: PjVFlhs8UN0hnGfnNuvX7UqTFo6uwWXi X-Proofpoint-ORIG-GUID: PjVFlhs8UN0hnGfnNuvX7UqTFo6uwWXi X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.391,FMLib:17.0.607.475 definitions=2021-09-02_03,2021-09-02_01,2020-04-07_01 Subject: Re: [dpdk-dev] [PATCH] crypto/octeontx2: fix unaligned access to device memory X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" > Use otx2_mbox_memcpy() instead of memcpy() to prevent unaligned access. >=20 > Fixes: a0645ed0d6ef ("crypto/octeontx2: discover capabilities") > Cc: ktejasree@marvell.com Cc: stable@dpdk.org >=20 > Signed-off-by: Danny Patel > Signed-off-by: Anoob Joseph > --- Applied to dpdk-next-crypto Thanks.