* [PATCH] soc: fsl: dpio: Increase timeout for QBMan Management Commands
@ 2019-03-11 17:30 Roy Pledge
2019-05-01 19:00 ` Li Yang
0 siblings, 1 reply; 2+ messages in thread
From: Roy Pledge @ 2019-03-11 17:30 UTC (permalink / raw)
To: Leo Li, linux-kernel, linux-arm-kernel; +Cc: Youri Querry, Roy Pledge
From: Youri Querry <youri.querry_1@nxp.com>
The timeout for QBMan Management Commands can falsely trigger on a
busy system. This patch doubles the timeout to avoid the
false error reports
Signed-off-by: Youri Querry <youri.querry_1@nxp.com>
Signed-off-by: Roy Pledge <roy.pledge@nxp.com>
---
drivers/soc/fsl/dpio/qbman-portal.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/soc/fsl/dpio/qbman-portal.h b/drivers/soc/fsl/dpio/qbman-portal.h
index 78c700e..f3ec5d2 100644
--- a/drivers/soc/fsl/dpio/qbman-portal.h
+++ b/drivers/soc/fsl/dpio/qbman-portal.h
@@ -1,7 +1,7 @@
/* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */
/*
* Copyright (C) 2014-2016 Freescale Semiconductor, Inc.
- * Copyright 2016 NXP
+ * Copyright 2016-2019 NXP
*
*/
#ifndef __FSL_QBMAN_PORTAL_H
@@ -433,7 +433,7 @@ static inline int qbman_swp_CDAN_set_context_enable(struct qbman_swp *s,
static inline void *qbman_swp_mc_complete(struct qbman_swp *swp, void *cmd,
u8 cmd_verb)
{
- int loopvar = 1000;
+ int loopvar = 2000;
qbman_swp_mc_submit(swp, cmd, cmd_verb);
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] soc: fsl: dpio: Increase timeout for QBMan Management Commands
2019-03-11 17:30 [PATCH] soc: fsl: dpio: Increase timeout for QBMan Management Commands Roy Pledge
@ 2019-05-01 19:00 ` Li Yang
0 siblings, 0 replies; 2+ messages in thread
From: Li Yang @ 2019-05-01 19:00 UTC (permalink / raw)
To: Roy Pledge; +Cc: linux-kernel, linux-arm-kernel, Youri Querry
On Mon, Mar 11, 2019 at 12:32 PM Roy Pledge <roy.pledge@nxp.com> wrote:
>
> From: Youri Querry <youri.querry_1@nxp.com>
>
> The timeout for QBMan Management Commands can falsely trigger on a
> busy system. This patch doubles the timeout to avoid the
> false error reports
>
> Signed-off-by: Youri Querry <youri.querry_1@nxp.com>
> Signed-off-by: Roy Pledge <roy.pledge@nxp.com>
Applied for next. Thanks.
> ---
> drivers/soc/fsl/dpio/qbman-portal.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/soc/fsl/dpio/qbman-portal.h b/drivers/soc/fsl/dpio/qbman-portal.h
> index 78c700e..f3ec5d2 100644
> --- a/drivers/soc/fsl/dpio/qbman-portal.h
> +++ b/drivers/soc/fsl/dpio/qbman-portal.h
> @@ -1,7 +1,7 @@
> /* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */
> /*
> * Copyright (C) 2014-2016 Freescale Semiconductor, Inc.
> - * Copyright 2016 NXP
> + * Copyright 2016-2019 NXP
> *
> */
> #ifndef __FSL_QBMAN_PORTAL_H
> @@ -433,7 +433,7 @@ static inline int qbman_swp_CDAN_set_context_enable(struct qbman_swp *s,
> static inline void *qbman_swp_mc_complete(struct qbman_swp *swp, void *cmd,
> u8 cmd_verb)
> {
> - int loopvar = 1000;
> + int loopvar = 2000;
>
> qbman_swp_mc_submit(swp, cmd, cmd_verb);
>
> --
> 2.7.4
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-05-01 19:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-11 17:30 [PATCH] soc: fsl: dpio: Increase timeout for QBMan Management Commands Roy Pledge
2019-05-01 19:00 ` Li Yang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).