bus/fslmc: ignore dpaax PA-VA table errors
authorShreyansh Jain <shreyansh.jain@nxp.com>
Wed, 17 Oct 2018 10:10:36 +0000 (10:10 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 24 Oct 2018 22:51:05 +0000 (00:51 +0200)
Presence of PA-VA Table is transparent to the drivers. Ignoring the
return values from table update call.

Signed-off-by: Shreyansh Jain <shreyansh.jain@nxp.com>
Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
drivers/bus/fslmc/fslmc_bus.c

index f3a6012..89af938 100644 (file)
@@ -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 pinned
         * to this table.
+        *
+        * Error is ignored as relevant logs are handled within dpaax and
+        * handling for unavailable dpaax table too is transparent to caller.
         */
-       ret = dpaax_iova_table_populate();
-       if (ret) {
-               DPAA2_BUS_WARN("PA->VA Translation table not available;");
-       }
+       dpaax_iova_table_populate();
 
        TAILQ_FOREACH(dev, &rte_fslmc_bus.device_list, next) {
                TAILQ_FOREACH(drv, &rte_fslmc_bus.driver_list, next) {