linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Disable MMIO tracing from QUP wrapper and serial driver
@ 2022-05-02 10:45 Vijaya Krishna Nivarthi
  2022-05-02 10:45 ` [PATCH 1/2] soc: qcom: geni: Disable MMIO tracing Vijaya Krishna Nivarthi
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Vijaya Krishna Nivarthi @ 2022-05-02 10:45 UTC (permalink / raw)
  To: agross, bjorn.andersson, gregkh, jirislaby, linux-arm-msm,
	linux-kernel, linux-serial
  Cc: quic_msavaliy, quic_vtanuku, Vijaya Krishna Nivarthi

Register read/write tracing is causing excessive
logging and filling the rtb buffer and effecting
performance.

Disabled MMIO tracing from QUP wrapper and serial
driver to disable register read/write tracing.

Vijaya Krishna Nivarthi (2):
  soc: qcom: geni: Disable MMIO tracing
  tty: serial: qcom_geni_serial: Disable MMIO tracing

 drivers/soc/qcom/qcom-geni-se.c       | 8 +++++++-
 drivers/tty/serial/qcom_geni_serial.c | 8 +++++++-
 2 files changed, 14 insertions(+), 2 deletions(-)

-- 


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH 1/2] soc: qcom: geni: Disable MMIO tracing
  2022-05-02 10:45 [PATCH 0/2] Disable MMIO tracing from QUP wrapper and serial driver Vijaya Krishna Nivarthi
@ 2022-05-02 10:45 ` Vijaya Krishna Nivarthi
  2022-05-02 12:07   ` Greg KH
  2022-05-02 10:45 ` [PATCH 2/2] tty: serial: qcom_geni_serial: " Vijaya Krishna Nivarthi
  2022-05-02 12:06 ` [PATCH 0/2] Disable MMIO tracing from QUP wrapper and serial driver Greg KH
  2 siblings, 1 reply; 7+ messages in thread
From: Vijaya Krishna Nivarthi @ 2022-05-02 10:45 UTC (permalink / raw)
  To: agross, bjorn.andersson, gregkh, jirislaby, linux-arm-msm,
	linux-kernel, linux-serial
  Cc: quic_msavaliy, quic_vtanuku, Vijaya Krishna Nivarthi

Register read/write tracing is causing excessive
logging and filling the rtb buffer and effecting
performance.

Disabled MMIO tracing to disable register
read/write tracing.

Signed-off-by: Visweswara Tanuku <quic_vtanuku@quicinc.com>
Signed-off-by: Vijaya Krishna Nivarthi <quic_vnivarth@quicinc.com>
---
 drivers/soc/qcom/qcom-geni-se.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/drivers/soc/qcom/qcom-geni-se.c b/drivers/soc/qcom/qcom-geni-se.c
index 28a8c0d..40e11c3 100644
--- a/drivers/soc/qcom/qcom-geni-se.c
+++ b/drivers/soc/qcom/qcom-geni-se.c
@@ -1,5 +1,11 @@
 // SPDX-License-Identifier: GPL-2.0
-// Copyright (c) 2017-2018, The Linux Foundation. All rights reserved.
+/*
+ * Copyright (c) 2017-2018, The Linux foundation. All rights reserved.
+ * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
+ */
+
+/* Disable MMIO tracing */
+#define __DISABLE_TRACE_MMIO__
 
 #include <linux/acpi.h>
 #include <linux/clk.h>
-- 
Qualcomm INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, hosted by the Linux Foundation.


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH 2/2] tty: serial: qcom_geni_serial: Disable MMIO tracing
  2022-05-02 10:45 [PATCH 0/2] Disable MMIO tracing from QUP wrapper and serial driver Vijaya Krishna Nivarthi
  2022-05-02 10:45 ` [PATCH 1/2] soc: qcom: geni: Disable MMIO tracing Vijaya Krishna Nivarthi
@ 2022-05-02 10:45 ` Vijaya Krishna Nivarthi
  2022-05-02 12:07   ` Greg KH
  2022-05-02 12:06 ` [PATCH 0/2] Disable MMIO tracing from QUP wrapper and serial driver Greg KH
  2 siblings, 1 reply; 7+ messages in thread
From: Vijaya Krishna Nivarthi @ 2022-05-02 10:45 UTC (permalink / raw)
  To: agross, bjorn.andersson, gregkh, jirislaby, linux-arm-msm,
	linux-kernel, linux-serial
  Cc: quic_msavaliy, quic_vtanuku, Vijaya Krishna Nivarthi

Register read/write tracing is causing excessive
logging and filling the rtb buffer and effecting
performance.

Disabled MMIO tracing to disable register
read/write tracing.

Signed-off-by: Visweswara Tanuku <quic_vtanuku@quicinc.com>
Signed-off-by: Vijaya Krishna Nivarthi <quic_vnivarth@quicinc.com>
---
 drivers/tty/serial/qcom_geni_serial.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/drivers/tty/serial/qcom_geni_serial.c b/drivers/tty/serial/qcom_geni_serial.c
index f496102..aa8facb 100644
--- a/drivers/tty/serial/qcom_geni_serial.c
+++ b/drivers/tty/serial/qcom_geni_serial.c
@@ -1,5 +1,11 @@
 // SPDX-License-Identifier: GPL-2.0
-// Copyright (c) 2017-2018, The Linux foundation. All rights reserved.
+/*
+ * Copyright (c) 2017-2018, The Linux foundation. All rights reserved.
+ * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
+ */
+
+/* Disable MMIO tracing */
+#define __DISABLE_TRACE_MMIO__
 
 #include <linux/clk.h>
 #include <linux/console.h>
-- 
Qualcomm INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, hosted by the Linux Foundation.


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH 0/2] Disable MMIO tracing from QUP wrapper and serial driver
  2022-05-02 10:45 [PATCH 0/2] Disable MMIO tracing from QUP wrapper and serial driver Vijaya Krishna Nivarthi
  2022-05-02 10:45 ` [PATCH 1/2] soc: qcom: geni: Disable MMIO tracing Vijaya Krishna Nivarthi
  2022-05-02 10:45 ` [PATCH 2/2] tty: serial: qcom_geni_serial: " Vijaya Krishna Nivarthi
@ 2022-05-02 12:06 ` Greg KH
  2022-05-05  3:19   ` Sai Prakash Ranjan
  2 siblings, 1 reply; 7+ messages in thread
From: Greg KH @ 2022-05-02 12:06 UTC (permalink / raw)
  To: Vijaya Krishna Nivarthi
  Cc: agross, bjorn.andersson, jirislaby, linux-arm-msm, linux-kernel,
	linux-serial, quic_msavaliy, quic_vtanuku

On Mon, May 02, 2022 at 04:15:12PM +0530, Vijaya Krishna Nivarthi wrote:
> Register read/write tracing is causing excessive
> logging and filling the rtb buffer and effecting
> performance.
> 
> Disabled MMIO tracing from QUP wrapper and serial
> driver to disable register read/write tracing.
> 
> Vijaya Krishna Nivarthi (2):
>   soc: qcom: geni: Disable MMIO tracing
>   tty: serial: qcom_geni_serial: Disable MMIO tracing
> 
>  drivers/soc/qcom/qcom-geni-se.c       | 8 +++++++-
>  drivers/tty/serial/qcom_geni_serial.c | 8 +++++++-
>  2 files changed, 14 insertions(+), 2 deletions(-)
> 
> -- 
> 

Doesn't this series depend on the MMIO tracing series?  Why not just
make it part of that one?

confused,

greg k-h

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 1/2] soc: qcom: geni: Disable MMIO tracing
  2022-05-02 10:45 ` [PATCH 1/2] soc: qcom: geni: Disable MMIO tracing Vijaya Krishna Nivarthi
@ 2022-05-02 12:07   ` Greg KH
  0 siblings, 0 replies; 7+ messages in thread
From: Greg KH @ 2022-05-02 12:07 UTC (permalink / raw)
  To: Vijaya Krishna Nivarthi
  Cc: agross, bjorn.andersson, jirislaby, linux-arm-msm, linux-kernel,
	linux-serial, quic_msavaliy, quic_vtanuku

On Mon, May 02, 2022 at 04:15:13PM +0530, Vijaya Krishna Nivarthi wrote:
> Register read/write tracing is causing excessive
> logging and filling the rtb buffer and effecting
> performance.
> 
> Disabled MMIO tracing to disable register
> read/write tracing.
> 
> Signed-off-by: Visweswara Tanuku <quic_vtanuku@quicinc.com>
> Signed-off-by: Vijaya Krishna Nivarthi <quic_vnivarth@quicinc.com>
> ---
>  drivers/soc/qcom/qcom-geni-se.c | 8 +++++++-
>  1 file changed, 7 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/soc/qcom/qcom-geni-se.c b/drivers/soc/qcom/qcom-geni-se.c
> index 28a8c0d..40e11c3 100644
> --- a/drivers/soc/qcom/qcom-geni-se.c
> +++ b/drivers/soc/qcom/qcom-geni-se.c
> @@ -1,5 +1,11 @@
>  // SPDX-License-Identifier: GPL-2.0
> -// Copyright (c) 2017-2018, The Linux Foundation. All rights reserved.
> +/*
> + * Copyright (c) 2017-2018, The Linux foundation. All rights reserved.
> + * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.

As stated before, I do not think this is a copyrightable change, and
will be glad to discuss that with your corporate lawyers if they insist.

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 2/2] tty: serial: qcom_geni_serial: Disable MMIO tracing
  2022-05-02 10:45 ` [PATCH 2/2] tty: serial: qcom_geni_serial: " Vijaya Krishna Nivarthi
@ 2022-05-02 12:07   ` Greg KH
  0 siblings, 0 replies; 7+ messages in thread
From: Greg KH @ 2022-05-02 12:07 UTC (permalink / raw)
  To: Vijaya Krishna Nivarthi
  Cc: agross, bjorn.andersson, jirislaby, linux-arm-msm, linux-kernel,
	linux-serial, quic_msavaliy, quic_vtanuku

On Mon, May 02, 2022 at 04:15:14PM +0530, Vijaya Krishna Nivarthi wrote:
> Register read/write tracing is causing excessive
> logging and filling the rtb buffer and effecting
> performance.
> 
> Disabled MMIO tracing to disable register
> read/write tracing.
> 
> Signed-off-by: Visweswara Tanuku <quic_vtanuku@quicinc.com>
> Signed-off-by: Vijaya Krishna Nivarthi <quic_vnivarth@quicinc.com>
> ---
>  drivers/tty/serial/qcom_geni_serial.c | 8 +++++++-
>  1 file changed, 7 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/tty/serial/qcom_geni_serial.c b/drivers/tty/serial/qcom_geni_serial.c
> index f496102..aa8facb 100644
> --- a/drivers/tty/serial/qcom_geni_serial.c
> +++ b/drivers/tty/serial/qcom_geni_serial.c
> @@ -1,5 +1,11 @@
>  // SPDX-License-Identifier: GPL-2.0
> -// Copyright (c) 2017-2018, The Linux foundation. All rights reserved.
> +/*
> + * Copyright (c) 2017-2018, The Linux foundation. All rights reserved.
> + * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.

As stated before, this change is not proper.

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 0/2] Disable MMIO tracing from QUP wrapper and serial driver
  2022-05-02 12:06 ` [PATCH 0/2] Disable MMIO tracing from QUP wrapper and serial driver Greg KH
@ 2022-05-05  3:19   ` Sai Prakash Ranjan
  0 siblings, 0 replies; 7+ messages in thread
From: Sai Prakash Ranjan @ 2022-05-05  3:19 UTC (permalink / raw)
  To: Greg KH, Vijaya Krishna Nivarthi
  Cc: agross, bjorn.andersson, jirislaby, linux-arm-msm, linux-kernel,
	linux-serial, quic_msavaliy, quic_vtanuku

On 5/2/2022 5:36 PM, Greg KH wrote:
> On Mon, May 02, 2022 at 04:15:12PM +0530, Vijaya Krishna Nivarthi wrote:
>> Register read/write tracing is causing excessive
>> logging and filling the rtb buffer and effecting
>> performance.
>>
>> Disabled MMIO tracing from QUP wrapper and serial
>> driver to disable register read/write tracing.
>>
>> Vijaya Krishna Nivarthi (2):
>>    soc: qcom: geni: Disable MMIO tracing
>>    tty: serial: qcom_geni_serial: Disable MMIO tracing
>>
>>   drivers/soc/qcom/qcom-geni-se.c       | 8 +++++++-
>>   drivers/tty/serial/qcom_geni_serial.c | 8 +++++++-
>>   2 files changed, 14 insertions(+), 2 deletions(-)
>>
>> -- 
>>
> Doesn't this series depend on the MMIO tracing series?  Why not just
> make it part of that one?
>
> confused,
>
> greg k-h
>
>

It is already a part of MMIO tracing series - https://lore.kernel.org/lkml/cover.1651663123.git.quic_saipraka@quicinc.com/
There was some disconnect before but they have been informed. Now this series will be dropped and
will be taken as part of MMIO tracing series.

Thanks,
Sai

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-05-05  3:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-02 10:45 [PATCH 0/2] Disable MMIO tracing from QUP wrapper and serial driver Vijaya Krishna Nivarthi
2022-05-02 10:45 ` [PATCH 1/2] soc: qcom: geni: Disable MMIO tracing Vijaya Krishna Nivarthi
2022-05-02 12:07   ` Greg KH
2022-05-02 10:45 ` [PATCH 2/2] tty: serial: qcom_geni_serial: " Vijaya Krishna Nivarthi
2022-05-02 12:07   ` Greg KH
2022-05-02 12:06 ` [PATCH 0/2] Disable MMIO tracing from QUP wrapper and serial driver Greg KH
2022-05-05  3:19   ` Sai Prakash Ranjan

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).