All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Menzel <pmenzel@molgen.mpg.de>
To: Tao Zhou <tao.zhou1@amd.com>
Cc: Felix.Kuehling@amd.com, Lijo.Lazar@amd.com,
	amd-gfx@lists.freedesktop.org, yipeng.chai@amd.com,
	stanley.yang@amd.com, hawking.zhang@amd.com
Subject: Re: [PATCH] drm/amdkfd: print unmap queue status for RAS poison consumption (v3)
Date: Tue, 22 Mar 2022 04:42:29 +0100	[thread overview]
Message-ID: <3222c670-13fc-f47c-e463-08c7a6e61ed4@molgen.mpg.de> (raw)
In-Reply-To: <20220322032916.3074-1-tao.zhou1@amd.com>

Dear Tao,


Thank you for rerolling the pacth.

Am 22.03.22 um 04:29 schrieb Tao Zhou:
> Print the status out when it passes, and also tell user gpu reset
> is triggered when we fallback to legacy way.

The verb *fall back* is written with a space.

> v2: make the message more explicitly.

explicit

> v3: change succeeds to succeeded.
>      replace pr_warn with dev_info.

Please give the reason, why to decrease the debug level. (I would also 
do it in a separate commit.)

> Signed-off-by: Tao Zhou <tao.zhou1@amd.com>
> ---
>   drivers/gpu/drm/amd/amdkfd/kfd_int_process_v9.c | 13 +++++++++----
>   1 file changed, 9 insertions(+), 4 deletions(-)
> 
> diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_int_process_v9.c b/drivers/gpu/drm/amd/amdkfd/kfd_int_process_v9.c
> index 56902b5bb7b6..cc9ddc4b4cb8 100644
> --- a/drivers/gpu/drm/amd/amdkfd/kfd_int_process_v9.c
> +++ b/drivers/gpu/drm/amd/amdkfd/kfd_int_process_v9.c
> @@ -105,8 +105,6 @@ static void event_interrupt_poison_consumption(struct kfd_dev *dev,
>   	if (old_poison)
>   		return;
>   
> -	pr_warn("RAS poison consumption handling: client id %d\n", client_id);
> -
>   	switch (client_id) {
>   	case SOC15_IH_CLIENTID_SE0SH:
>   	case SOC15_IH_CLIENTID_SE1SH:
> @@ -130,10 +128,17 @@ static void event_interrupt_poison_consumption(struct kfd_dev *dev,
>   	/* resetting queue passes, do page retirement without gpu reset
>   	 * resetting queue fails, fallback to gpu reset solution
>   	 */
> -	if (!ret)
> +	if (!ret) {
> +		dev_info(dev->adev->dev,
> +			"RAS poison consumption, unmap queue flow succeeded: client id %d\n",
> +			client_id);
>   		amdgpu_amdkfd_ras_poison_consumption_handler(dev->adev, false);
> -	else
> +	} else {
> +		dev_info(dev->adev->dev,
> +			"RAS poison consumption, fallback to gpu reset flow: client id %d\n",

The verb *fall back* is written with a space.

> +			client_id);
>   		amdgpu_amdkfd_ras_poison_consumption_handler(dev->adev, true);
> +	}
>   }
>   
>   static bool event_interrupt_isr_v9(struct kfd_dev *dev,

  reply	other threads:[~2022-03-22  3:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-22  3:29 [PATCH] drm/amdkfd: print unmap queue status for RAS poison consumption (v3) Tao Zhou
2022-03-22  3:42 ` Paul Menzel [this message]
2022-03-22  3:51   ` Zhou1, Tao
2022-03-22  3:57     ` Paul Menzel
2022-03-22  4:06 Tao Zhou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3222c670-13fc-f47c-e463-08c7a6e61ed4@molgen.mpg.de \
    --to=pmenzel@molgen.mpg.de \
    --cc=Felix.Kuehling@amd.com \
    --cc=Lijo.Lazar@amd.com \
    --cc=amd-gfx@lists.freedesktop.org \
    --cc=hawking.zhang@amd.com \
    --cc=stanley.yang@amd.com \
    --cc=tao.zhou1@amd.com \
    --cc=yipeng.chai@amd.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.