From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0065.outbound.protection.outlook.com [104.47.41.65]) by dpdk.org (Postfix) with ESMTP id 058F81B3E8 for ; Tue, 23 Oct 2018 11:44:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=aJNxKA9/jnAdjUnBJ3yScSqrGTi5d7ZUsbuFmgiwXqY=; b=GnbatKV/p/otE0IwQwIExIuJPZuuWlbv2tzUso4FUxTi2KWnNp2rSX0V9Hg/CzkYuoEnwp2enzzWkDLbN+bydJ/m6rE6nvtYftoKnByYxzQNvkBuoMEhCicUdaMhXjzSsJLb1ETGGKE6U3tAxU3Cq5aQorQgtF+giV3XysdIsDA= Received: from BYAPR07MB4997.namprd07.prod.outlook.com (52.135.238.214) by BYAPR07MB5654.namprd07.prod.outlook.com (20.177.231.220) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1250.30; Tue, 23 Oct 2018 09:44:20 +0000 Received: from BYAPR07MB4997.namprd07.prod.outlook.com ([fe80::c5c:4d86:b353:175a]) by BYAPR07MB4997.namprd07.prod.outlook.com ([fe80::c5c:4d86:b353:175a%4]) with mapi id 15.20.1250.028; Tue, 23 Oct 2018 09:44:20 +0000 From: Jerin Jacob To: Shreyansh Jain CC: "thomas@monjalon.net" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v2 2/3] bus/fslmc: ignore dpaax pa-va table errors Thread-Index: AQHUZgGyh3PIB/ee5E+rHZwlmwCfUqUsnd8A Date: Tue, 23 Oct 2018 09:44:20 +0000 Message-ID: <20181023094407.GB26188@jerin> References: <20181017091151.15017-1-shreyansh.jain@nxp.com> <20181017100954.18284-1-shreyansh.jain@nxp.com> <20181017100954.18284-3-shreyansh.jain@nxp.com> In-Reply-To: <20181017100954.18284-3-shreyansh.jain@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [111.93.218.67] x-clientproxiedby: BM1PR0101CA0065.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:19::27) To BYAPR07MB4997.namprd07.prod.outlook.com (2603:10b6:a03:5b::22) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; BYAPR07MB5654; 6:+tqho3IoWt3KPOHrw3AG4m/uxuBkPOuum/0oX2ChdBS7T01HbmKqoQntu+qTrz9sk3MdzK0TAKIoTFy6JNQDMLj7H/J5VOhtJyNXbz1dNTceQIOOXI14t/kY1ZibzaV+nI4t+B/sNvJd9k5SOaLC0a+nfGV7mJ8ShP+NB7Opken79HapcSCElFJaLK9gb76oB2pbDwLBY3eTCjZJvE72YkaPShhxhyArLsdgs/PDvkpxkA4smWMnw3F4mqPG2VxbOaTTt1Ny+WYOlnsoPntP7VJ5oRHQ61zS2lQl7aa64CjYI/g3Woxqtx/9toIuQ6lFxzm+foJrxG9p2R5buE2V0Ul01ux4+bQIG9R6+cLim282/IirgDDsMT+oGgL7EYacVj+yEuZqMkyhL3qrIrXLqn+v9Eh7eL+W43sxclmb1s7XTv7vpJwGGkZr+m/BGQ1X2TiJ0TKu7OQPlXdJe09mrA==; 5:GWqh6/yHQ3S38+6xKZkXhbRBJYG9y+tIrHMmOQvt4mIzc8ARyNU+eqAIQu7l+eB8jkLGsxj7wfMrH+vEhU8FLIiSdEjh/SwY8Po8gAQ3qn+QMMKtFtalVd6lrjJahrPsAB0vfCiOsDBEzVPHKPxiMVKnLLKEz3PYGLhWEZ+MUoA=; 7:DYSShC+e1xQXcokuzczeH2hFCI79vc307GM29nH7S6DuUpAzIL6wyaGUISgr6MZvdo8UgUVCQRL6o+t+ym3ZEJ4GccdTOPqpLHjVSXvDoPviahOASCcniJOP9Eb3ldPdms7JqHt4ieizJlnhEIszMbHf1kABPg+q19ZG4l7boW8xFUz2pLCgrlYudlTpubJU2/lvTMotc0/ryFfLdho3+1Z1rXW8DTR8Cd+p3JatwloHxY2/h81F9zFpQ9Spm+w3 x-ms-office365-filtering-correlation-id: f3bbb706-1485-4c5f-e9b6-08d638cc1b5d x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(5600074)(711020)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020); SRVR:BYAPR07MB5654; x-ms-traffictypediagnostic: BYAPR07MB5654: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(185117386973197); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(93006095)(10201501046)(3002001)(3231355)(944501410)(52105095)(148016)(149066)(150057)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123562045)(20161123564045)(20161123560045)(201708071742011)(7699051)(76991095); SRVR:BYAPR07MB5654; BCL:0; PCL:0; RULEID:; SRVR:BYAPR07MB5654; x-forefront-prvs: 0834BAF534 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(7916004)(376002)(346002)(136003)(366004)(396003)(39860400002)(189003)(199004)(13464003)(7736002)(5250100002)(446003)(52116002)(76176011)(33896004)(97736004)(66066001)(33716001)(186003)(6916009)(478600001)(316002)(486006)(26005)(476003)(229853002)(386003)(102836004)(6506007)(256004)(71200400001)(71190400001)(14444005)(54906003)(99286004)(11346002)(305945005)(5660300001)(42882007)(72206003)(14454004)(68736007)(2906002)(81156014)(81166006)(4326008)(8936002)(53936002)(8676002)(105586002)(6486002)(106356001)(33656002)(2900100001)(6116002)(3846002)(6246003)(6512007)(9686003)(6436002)(25786009)(1076002); DIR:OUT; SFP:1101; SCL:1; SRVR:BYAPR07MB5654; H:BYAPR07MB4997.namprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: FfgBAopzCq8A3Even2b9/BS5jALN8tfcCxuWq+90GVP02Ti3d1u4xPVxaCKezS29NSG7SAt7oEjsG5U4ixUiKkq8FafIE2cnE4gZhg+Z1w4A4PzOwWgg72Uq8j/NMwsZCVuEi2Jvosb+NfUJtyJqX6tfMe+Z7YklOq1nwhO1sPAKUcui2yDTfD6yL07VofrWbrS1RowdFCjzHPaXH8KpRQy3yax8J3Em/E0B5mSdK9N6Bdj7YNDALnLvPlkA6GubCEt0WyOQ2pW6vAUlUNNiCUoYzwDPyORIK23mhM/YIK6J+zzH1oGndT72FMWlf3ZBoEXAIAdlhuWAyX3oCfemxLm1dXJ+pKedCdB85jlFMcw= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-Network-Message-Id: f3bbb706-1485-4c5f-e9b6-08d638cc1b5d X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Oct 2018 09:44:20.6069 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR07MB5654 Subject: Re: [dpdk-dev] [PATCH v2 2/3] bus/fslmc: ignore dpaax pa-va table errors 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: Tue, 23 Oct 2018 09:44:22 -0000 -----Original Message----- > Date: Wed, 17 Oct 2018 10:10:36 +0000 > From: Shreyansh Jain > To: "thomas@monjalon.net" > CC: "dev@dpdk.org" , Shreyansh Jain > Subject: [dpdk-dev] [PATCH v2 2/3] bus/fslmc: ignore dpaax pa-va table > errors > x-mailer: git-send-email 2.17.1 >=20 >=20 > Presence of PA-VA Table is transparent to the drivers. Ignoring the > return values from table update call. >=20 > Signed-off-by: Shreyansh Jain Acked-by: Jerin Jacob > --- > drivers/bus/fslmc/fslmc_bus.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) >=20 > diff --git a/drivers/bus/fslmc/fslmc_bus.c b/drivers/bus/fslmc/fslmc_bus.= c > index 5ba5ce96b..db3026f4e 100644 > --- a/drivers/bus/fslmc/fslmc_bus.c > +++ b/drivers/bus/fslmc/fslmc_bus.c > @@ -386,11 +386,11 @@ rte_fslmc_probe(void) > * This has to be done before probe as some device initialization > * (during) probe allocate memory (dpaa2_sec) which needs to be p= inned > * to this table. > + * > + * Error is ignored as relevant logs are handled within dpaax and > + * handling for unavailable dpaax table too is transparent to cal= ler. > */ > - ret =3D dpaax_iova_table_populate(); > - if (ret) { > - DPAA2_BUS_WARN("PA->VA Translation table not available;")= ; > - } > + dpaax_iova_table_populate(); >=20 > TAILQ_FOREACH(dev, &rte_fslmc_bus.device_list, next) { > TAILQ_FOREACH(drv, &rte_fslmc_bus.driver_list, next) { > -- > 2.17.1 >=20