[dpdk-stable] [EXT] patch 'bus/fslmc: decrease log level for unsupported devices' has been queued to LTS release 18.11.2

Hemant Agrawal hemant.agrawal at nxp.com
Fri Apr 26 11:38:05 CEST 2019


Patch looks ok.

> -----Original Message-----
> From: Kevin Traynor <ktraynor at redhat.com>
> Sent: Thursday, April 25, 2019 9:10 PM
> To: Stephen Hemminger <stephen at networkplumber.org>
> Cc: Hemant Agrawal <hemant.agrawal at nxp.com>; Ilya Maximets
> <i.maximets at samsung.com>; dpdk stable <stable at dpdk.org>
> Subject: [EXT] patch 'bus/fslmc: decrease log level for unsupported devices'
> has been queued to LTS release 18.11.2
> 
> Caution: EXT Email
> 
> Hi,
> 
> FYI, your patch has been queued to LTS release 18.11.2
> 
> Note it hasn't been pushed to
> https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fdpdk.
> org%2Fbrowse%2Fdpdk-
> stable&data=02%7C01%7Chemant.agrawal%40nxp.com%7Cdb4cec3eb6
> 4043e55bbd08d6c9946862%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C
> 0%7C636918036574404869&sdata=2wVakqj5uT9h18aTh6OnCjft2JGm01p
> si3HDtUZ3upc%3D&reserved=0 yet.
> It will be pushed if I get no objections before 05/01/19. So please shout if
> anyone has objections.
> 
> Also note that after the patch there's a diff of the upstream commit vs the
> patch applied to the branch. This will indicate if there was any rebasing
> needed to apply to the stable branch. If there were code changes for
> rebasing
> (ie: not only metadata diffs), please double check that the rebase was
> correctly done.
> 
> Queued patches can be viewed on the 18.11 branch at:
> 
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithu
> b.com%2Fkevintraynor%2Fdpdk-stable-
> queue.git&data=02%7C01%7Chemant.agrawal%40nxp.com%7Cdb4cec3
> eb64043e55bbd08d6c9946862%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0
> %7C0%7C636918036574404869&sdata=zhRf70LAaFkMp2d2vcDZr5KAN3
> GFkwPLAwqIQSPQ%2BII%3D&reserved=0
> 
> Thanks.
> 
> Kevin Traynor
> 
> ---
> From af32f5e208b2072df5e8384e5e635219f63dab8c Mon Sep 17 00:00:00
> 2001
> From: Stephen Hemminger <stephen at networkplumber.org>
> Date: Tue, 12 Mar 2019 10:11:51 -0700
> Subject: [PATCH] bus/fslmc: decrease log level for unsupported devices
> 
> [ upstream commit a6ffe11b7245ec12d4df4b8b0577291604b5e082 ]
> 
> When fslmc is built as part of a general distribution, the bus code will log
> errors when other devices are present.
> 
> This could confuse users it is not an error.
> 
> Fixes: 50245be05d1a ("bus/fslmc: support device blacklisting")
> 
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
> Acked-by: Hemant Agrawal <hemant.agrawal at nxp.com>
> Acked-by: Ilya Maximets <i.maximets at samsung.com>
> ---
>  drivers/bus/fslmc/fslmc_bus.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/bus/fslmc/fslmc_bus.c b/drivers/bus/fslmc/fslmc_bus.c
> index 2dcdca01f..c719bf7f6 100644
> --- a/drivers/bus/fslmc/fslmc_bus.c
> +++ b/drivers/bus/fslmc/fslmc_bus.c
> @@ -247,5 +247,5 @@ rte_fslmc_parse(const char *name, void *addr)
>             strncmp("dpmcp", t_ptr, 5) &&
>             strncmp("dpdmai", t_ptr, 6)) {
> -               DPAA2_BUS_ERR("Unknown or unsupported device");
> +               DPAA2_BUS_DEBUG("Unknown or unsupported device (%s)",
> + name);
>                 goto err_out;
>         }
> --
> 2.20.1
> 
> ---
>   Diff of the applied patch vs upstream commit (please double-check if non-
> empty:
> ---
> --- -   2019-04-25 16:37:47.122033970 +0100
> +++ 0008-bus-fslmc-decrease-log-level-for-unsupported-devices.patch
> 2019-04-25 16:37:46.687296276 +0100
> @@ -1 +1 @@
> -From a6ffe11b7245ec12d4df4b8b0577291604b5e082 Mon Sep 17 00:00:00
> 2001
> +From af32f5e208b2072df5e8384e5e635219f63dab8c Mon Sep 17 00:00:00
> 2001
> @@ -5,0 +6,2 @@
> +[ upstream commit a6ffe11b7245ec12d4df4b8b0577291604b5e082 ]
> +
> @@ -12 +13,0 @@
> -Cc: stable at dpdk.org
> @@ -22 +23 @@
> -index 44c0827ce..a2525780c 100644
> +index 2dcdca01f..c719bf7f6 100644
> @@ -25,3 +26,3 @@
> -@@ -250,5 +250,5 @@ rte_fslmc_parse(const char *name, void *addr)
> -           strncmp("dpdmai", t_ptr, 6) &&
> -           strncmp("dpdmux", t_ptr, 6)) {
> +@@ -247,5 +247,5 @@ rte_fslmc_parse(const char *name, void *addr)
> +           strncmp("dpmcp", t_ptr, 5) &&
> +           strncmp("dpdmai", t_ptr, 6)) {


More information about the stable mailing list