From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 4E92BA490 for ; Mon, 2 Apr 2018 15:37:15 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Apr 2018 06:37:05 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,395,1517904000"; d="scan'208";a="30403522" Received: from irsmsx152.ger.corp.intel.com ([163.33.192.66]) by orsmga008.jf.intel.com with ESMTP; 02 Apr 2018 06:37:03 -0700 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.155]) by IRSMSX152.ger.corp.intel.com ([169.254.6.128]) with mapi id 14.03.0319.002; Mon, 2 Apr 2018 14:35:58 +0100 From: "De Lara Guarch, Pablo" To: Hemant Agrawal , "dev@dpdk.org" CC: "akhil.goyal@nxp.com" Thread-Topic: [PATCH v2 8/8] crypto/dpaa2_sec: fix OP storage for physical IOVA mode Thread-Index: AQHTylWshL3lKlLScUSxGTpqZhTUVqPtediA Date: Mon, 2 Apr 2018 13:35:57 +0000 Message-ID: References: <1522152039-32493-1-git-send-email-hemant.agrawal@nxp.com> <1522654594-2757-1-git-send-email-hemant.agrawal@nxp.com> <1522654594-2757-8-git-send-email-hemant.agrawal@nxp.com> In-Reply-To: <1522654594-2757-8-git-send-email-hemant.agrawal@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYjkyOTAyZjItNzAxNC00NTZkLWJlMWUtYTcxNDAxNDA0ODhiIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6IllENFdRckFNWVZwVThWMkxhcE85TUtTeXpMcGhjWXdMOU1tRGpudFwvMm5JPSJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v2 8/8] crypto/dpaa2_sec: fix OP storage for physical IOVA mode 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: , X-List-Received-Date: Mon, 02 Apr 2018 13:37:38 -0000 Hi Hemant, > -----Original Message----- > From: Hemant Agrawal [mailto:hemant.agrawal@nxp.com] > Sent: Monday, April 2, 2018 8:37 AM > To: dev@dpdk.org > Cc: De Lara Guarch, Pablo ; > akhil.goyal@nxp.com > Subject: [PATCH v2 8/8] crypto/dpaa2_sec: fix OP storage for physical IOV= A > mode >=20 > op storage in fle is just for reference for post dq. > So, don't convert it to iova mode. >=20 > Fixes: 37f96eb01bce ("crypto/dpaa2_sec: support scatter gather") > Cc: stable@dpdk.org >=20 > Signed-off-by: Hemant Agrawal I am getting a compilation issue when building with gcc 32 bits: drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c: In function 'build_authenc_gcm= _sg_fd': drivers/bus/fslmc/portal/dpaa2_hw_pvt.h:204:33: error: cast from pointer to integer of different size [-Werror=3Dpointer-to-int-ca= st] (fle)->addr_hi =3D upper_32_bits((uint64_t)addr); \ ^ drivers/bus/fslmc/portal/dpaa2_hw_pvt.h:23:40: note: in definition of macro 'upper_32_bits' #define upper_32_bits(x) ((uint32_t)(((x) >> 16) >> 16)) ^ drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c:120:2: note: in expansion of macro 'DPAA2_SET_FLE_ADDR' DPAA2_SET_FLE_ADDR(fle, op); ^~~~~~~~~~~~~~~~~~ Pablo