All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ata: libata: add qc->flags in ata_qc_complete_template tracepoint
@ 2022-06-16  0:16 Edward Wu
  2022-06-16  0:34 ` Damien Le Moal
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Edward Wu @ 2022-06-16  0:16 UTC (permalink / raw)
  To: Damien Le Moal, Steven Rostedt, Ingo Molnar, Hannes Reinecke,
	Edward Wu, linux-ide, linux-kernel

Add flags value to check the result of ata completion

Signed-off-by: Edward Wu <edwardwu@realtek.com>
---
 include/trace/events/libata.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/trace/events/libata.h b/include/trace/events/libata.h
index d4e631aa976f..6025dd8ba4aa 100644
--- a/include/trace/events/libata.h
+++ b/include/trace/events/libata.h
@@ -288,6 +288,7 @@ DECLARE_EVENT_CLASS(ata_qc_complete_template,
 		__entry->hob_feature	= qc->result_tf.hob_feature;
 		__entry->nsect		= qc->result_tf.nsect;
 		__entry->hob_nsect	= qc->result_tf.hob_nsect;
+		__entry->flags		= qc->flags;
 	),
 
 	TP_printk("ata_port=%u ata_dev=%u tag=%d flags=%s status=%s " \
-- 
2.17.1


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

* Re: [PATCH] ata: libata: add qc->flags in ata_qc_complete_template tracepoint
  2022-06-16  0:16 [PATCH] ata: libata: add qc->flags in ata_qc_complete_template tracepoint Edward Wu
@ 2022-06-16  0:34 ` Damien Le Moal
  2022-06-16  0:48 ` [PATCH v2] " Edward Wu
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 8+ messages in thread
From: Damien Le Moal @ 2022-06-16  0:34 UTC (permalink / raw)
  To: Edward Wu, Steven Rostedt, Ingo Molnar, Hannes Reinecke,
	linux-ide, linux-kernel

On 2022/06/16 9:16, Edward Wu wrote:
> Add flags value to check the result of ata completion
> 
> Signed-off-by: Edward Wu <edwardwu@realtek.com>
> ---
>  include/trace/events/libata.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/include/trace/events/libata.h b/include/trace/events/libata.h
> index d4e631aa976f..6025dd8ba4aa 100644
> --- a/include/trace/events/libata.h
> +++ b/include/trace/events/libata.h
> @@ -288,6 +288,7 @@ DECLARE_EVENT_CLASS(ata_qc_complete_template,
>  		__entry->hob_feature	= qc->result_tf.hob_feature;
>  		__entry->nsect		= qc->result_tf.nsect;
>  		__entry->hob_nsect	= qc->result_tf.hob_nsect;
> +		__entry->flags		= qc->flags;
>  	),
>  
>  	TP_printk("ata_port=%u ata_dev=%u tag=%d flags=%s status=%s " \

Doesn't this need a Fixes tag ?

-- 
Damien Le Moal
Western Digital Research

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

* [PATCH v2] ata: libata: add qc->flags in ata_qc_complete_template tracepoint
  2022-06-16  0:16 [PATCH] ata: libata: add qc->flags in ata_qc_complete_template tracepoint Edward Wu
  2022-06-16  0:34 ` Damien Le Moal
@ 2022-06-16  0:48 ` Edward Wu
  2022-06-16  2:55   ` Damien Le Moal
  2022-06-17  3:00 ` [PATCH v3] " Edward Wu
  2022-06-17  3:32 ` [PATCH v4] " Edward Wu
  3 siblings, 1 reply; 8+ messages in thread
From: Edward Wu @ 2022-06-16  0:48 UTC (permalink / raw)
  To: Damien Le Moal, Steven Rostedt, Ingo Molnar, Hannes Reinecke,
	Edward Wu, Tejun Heo, linux-ide, linux-kernel

Add flags value to check the result of ata completion

Fixes: 255c03d15a29 ("libata: Add tracepoints")
Link: https://lkml.kernel.org/r/20220616001615.11636-1-edwardwu@realtek.com
Signed-off-by: Edward Wu <edwardwu@realtek.com>
---
v2:
- Add Fixes tag

 include/trace/events/libata.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/trace/events/libata.h b/include/trace/events/libata.h
index d4e631aa976f..6025dd8ba4aa 100644
--- a/include/trace/events/libata.h
+++ b/include/trace/events/libata.h
@@ -288,6 +288,7 @@ DECLARE_EVENT_CLASS(ata_qc_complete_template,
 		__entry->hob_feature	= qc->result_tf.hob_feature;
 		__entry->nsect		= qc->result_tf.nsect;
 		__entry->hob_nsect	= qc->result_tf.hob_nsect;
+		__entry->flags		= qc->flags;
 	),
 
 	TP_printk("ata_port=%u ata_dev=%u tag=%d flags=%s status=%s " \
-- 
2.17.1


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

* Re: [PATCH v2] ata: libata: add qc->flags in ata_qc_complete_template tracepoint
  2022-06-16  0:48 ` [PATCH v2] " Edward Wu
@ 2022-06-16  2:55   ` Damien Le Moal
  0 siblings, 0 replies; 8+ messages in thread
From: Damien Le Moal @ 2022-06-16  2:55 UTC (permalink / raw)
  To: Edward Wu, Steven Rostedt, Ingo Molnar, Hannes Reinecke,
	Tejun Heo, linux-ide, linux-kernel

On 6/16/22 09:48, Edward Wu wrote:
> Add flags value to check the result of ata completion
> 
> Fixes: 255c03d15a29 ("libata: Add tracepoints")
> Link: https://lkml.kernel.org/r/20220616001615.11636-1-edwardwu@realtek.com

What is this Link tag for ? I do not think it is needed.
And please add:

Cc: stable@vger.kernel.org

> Signed-off-by: Edward Wu <edwardwu@realtek.com>
> ---
> v2:
> - Add Fixes tag
> 
>   include/trace/events/libata.h | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/include/trace/events/libata.h b/include/trace/events/libata.h
> index d4e631aa976f..6025dd8ba4aa 100644
> --- a/include/trace/events/libata.h
> +++ b/include/trace/events/libata.h
> @@ -288,6 +288,7 @@ DECLARE_EVENT_CLASS(ata_qc_complete_template,
>   		__entry->hob_feature	= qc->result_tf.hob_feature;
>   		__entry->nsect		= qc->result_tf.nsect;
>   		__entry->hob_nsect	= qc->result_tf.hob_nsect;
> +		__entry->flags		= qc->flags;
>   	),
>   
>   	TP_printk("ata_port=%u ata_dev=%u tag=%d flags=%s status=%s " \


-- 
Damien Le Moal
Western Digital Research

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

* [PATCH v3] ata: libata: add qc->flags in ata_qc_complete_template tracepoint
  2022-06-16  0:16 [PATCH] ata: libata: add qc->flags in ata_qc_complete_template tracepoint Edward Wu
  2022-06-16  0:34 ` Damien Le Moal
  2022-06-16  0:48 ` [PATCH v2] " Edward Wu
@ 2022-06-17  3:00 ` Edward Wu
  2022-06-17  3:26   ` Damien Le Moal
  2022-06-17  3:32 ` [PATCH v4] " Edward Wu
  3 siblings, 1 reply; 8+ messages in thread
From: Edward Wu @ 2022-06-17  3:00 UTC (permalink / raw)
  To: Damien Le Moal, Steven Rostedt, Ingo Molnar, Hannes Reinecke,
	Edward Wu, Tejun Heo, linux-ide, linux-kernel
  Cc: stable

Add flags value to check the result of ata completion

Fixes: 255c03d15a29 ("libata: Add tracepoints")
Cc: stable@vger.kernel.org
Acked-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Signed-off-by: Edward Wu <edwardwu@realtek.com>
---
Thanks for your kindly guiding.

 include/trace/events/libata.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/trace/events/libata.h b/include/trace/events/libata.h
index d4e631aa976f..6025dd8ba4aa 100644
--- a/include/trace/events/libata.h
+++ b/include/trace/events/libata.h
@@ -288,6 +288,7 @@ DECLARE_EVENT_CLASS(ata_qc_complete_template,
 		__entry->hob_feature	= qc->result_tf.hob_feature;
 		__entry->nsect		= qc->result_tf.nsect;
 		__entry->hob_nsect	= qc->result_tf.hob_nsect;
+		__entry->flags		= qc->flags;
 	),
 
 	TP_printk("ata_port=%u ata_dev=%u tag=%d flags=%s status=%s " \
-- 
2.17.1


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

* Re: [PATCH v3] ata: libata: add qc->flags in ata_qc_complete_template tracepoint
  2022-06-17  3:00 ` [PATCH v3] " Edward Wu
@ 2022-06-17  3:26   ` Damien Le Moal
  0 siblings, 0 replies; 8+ messages in thread
From: Damien Le Moal @ 2022-06-17  3:26 UTC (permalink / raw)
  To: Edward Wu, Steven Rostedt, Ingo Molnar, Hannes Reinecke,
	Tejun Heo, linux-ide, linux-kernel

On 6/17/22 12:00, Edward Wu wrote:
> Add flags value to check the result of ata completion
> 
> Fixes: 255c03d15a29 ("libata: Add tracepoints")
> Cc: stable@vger.kernel.org
> Acked-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>

Looks good. But please do not randomly add tags like the above ack. I
never sent that ! And since I will be applying this patch, I will add my
signed-of-by tag, not a acked-by tag.

> Signed-off-by: Edward Wu <edwardwu@realtek.com>
> ---
> Thanks for your kindly guiding.
> 
>  include/trace/events/libata.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/include/trace/events/libata.h b/include/trace/events/libata.h
> index d4e631aa976f..6025dd8ba4aa 100644
> --- a/include/trace/events/libata.h
> +++ b/include/trace/events/libata.h
> @@ -288,6 +288,7 @@ DECLARE_EVENT_CLASS(ata_qc_complete_template,
>  		__entry->hob_feature	= qc->result_tf.hob_feature;
>  		__entry->nsect		= qc->result_tf.nsect;
>  		__entry->hob_nsect	= qc->result_tf.hob_nsect;
> +		__entry->flags		= qc->flags;
>  	),
>  
>  	TP_printk("ata_port=%u ata_dev=%u tag=%d flags=%s status=%s " \


-- 
Damien Le Moal
Western Digital Research

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

* [PATCH v4] ata: libata: add qc->flags in ata_qc_complete_template tracepoint
  2022-06-16  0:16 [PATCH] ata: libata: add qc->flags in ata_qc_complete_template tracepoint Edward Wu
                   ` (2 preceding siblings ...)
  2022-06-17  3:00 ` [PATCH v3] " Edward Wu
@ 2022-06-17  3:32 ` Edward Wu
  2022-06-17  7:32   ` Damien Le Moal
  3 siblings, 1 reply; 8+ messages in thread
From: Edward Wu @ 2022-06-17  3:32 UTC (permalink / raw)
  To: Damien Le Moal, Steven Rostedt, Ingo Molnar, Hannes Reinecke,
	Edward Wu, Tejun Heo, linux-ide, linux-kernel
  Cc: stable

Add flags value to check the result of ata completion

Fixes: 255c03d15a29 ("libata: Add tracepoints")
Cc: stable@vger.kernel.org
Signed-off-by: Edward Wu <edwardwu@realtek.com>
---
Fixed, thanks again

 include/trace/events/libata.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/trace/events/libata.h b/include/trace/events/libata.h
index d4e631aa976f..6025dd8ba4aa 100644
--- a/include/trace/events/libata.h
+++ b/include/trace/events/libata.h
@@ -288,6 +288,7 @@ DECLARE_EVENT_CLASS(ata_qc_complete_template,
 		__entry->hob_feature	= qc->result_tf.hob_feature;
 		__entry->nsect		= qc->result_tf.nsect;
 		__entry->hob_nsect	= qc->result_tf.hob_nsect;
+		__entry->flags		= qc->flags;
 	),
 
 	TP_printk("ata_port=%u ata_dev=%u tag=%d flags=%s status=%s " \
-- 
2.17.1


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

* Re: [PATCH v4] ata: libata: add qc->flags in ata_qc_complete_template tracepoint
  2022-06-17  3:32 ` [PATCH v4] " Edward Wu
@ 2022-06-17  7:32   ` Damien Le Moal
  0 siblings, 0 replies; 8+ messages in thread
From: Damien Le Moal @ 2022-06-17  7:32 UTC (permalink / raw)
  To: Edward Wu, Steven Rostedt, Ingo Molnar, Hannes Reinecke,
	Tejun Heo, linux-ide, linux-kernel
  Cc: stable

On 6/17/22 12:32, Edward Wu wrote:
> Add flags value to check the result of ata completion
> 
> Fixes: 255c03d15a29 ("libata: Add tracepoints")
> Cc: stable@vger.kernel.org
> Signed-off-by: Edward Wu <edwardwu@realtek.com>
> ---
> Fixed, thanks again
> 
>  include/trace/events/libata.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/include/trace/events/libata.h b/include/trace/events/libata.h
> index d4e631aa976f..6025dd8ba4aa 100644
> --- a/include/trace/events/libata.h
> +++ b/include/trace/events/libata.h
> @@ -288,6 +288,7 @@ DECLARE_EVENT_CLASS(ata_qc_complete_template,
>  		__entry->hob_feature	= qc->result_tf.hob_feature;
>  		__entry->nsect		= qc->result_tf.nsect;
>  		__entry->hob_nsect	= qc->result_tf.hob_nsect;
> +		__entry->flags		= qc->flags;
>  	),
>  
>  	TP_printk("ata_port=%u ata_dev=%u tag=%d flags=%s status=%s " \

Applied to for-5.19-fixes. Thanks !

-- 
Damien Le Moal
Western Digital Research

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

end of thread, other threads:[~2022-06-17  7:32 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-16  0:16 [PATCH] ata: libata: add qc->flags in ata_qc_complete_template tracepoint Edward Wu
2022-06-16  0:34 ` Damien Le Moal
2022-06-16  0:48 ` [PATCH v2] " Edward Wu
2022-06-16  2:55   ` Damien Le Moal
2022-06-17  3:00 ` [PATCH v3] " Edward Wu
2022-06-17  3:26   ` Damien Le Moal
2022-06-17  3:32 ` [PATCH v4] " Edward Wu
2022-06-17  7:32   ` Damien Le Moal

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.