Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Laguna, Lukasz" <lukasz.laguna@intel.com>
To: "Piórkowski, Piotr" <piotr.piorkowski@intel.com>,
	intel-xe@lists.freedesktop.org
Subject: Re: [PATCH v1 2/2] drm/xe/mert: Rate limit VF LMTT fault debug log
Date: Thu, 23 Jul 2026 09:06:45 +0200	[thread overview]
Message-ID: <8fea9a5b-b28c-4882-842d-ece14d60678c@intel.com> (raw)
In-Reply-To: <20260721093116.4011940-3-piotr.piorkowski@intel.com>


On 7/21/2026 11:31, Piórkowski, Piotr wrote:
> From: Piotr Piórkowski <piotr.piorkowski@intel.com>
>
> A faulty or malicious VF may repeatedly trigger LMTT faults and
> generate many identical CATERR debug messages.
>
> Use xe_sriov_dbg_ratelimited() to reduce log spam while keeping
> useful debug information available.
>
> Signed-off-by: Piotr Piórkowski <piotr.piorkowski@intel.com>

Reviewed-by: Lukasz Laguna <lukasz.laguna@intel.com>

> ---
>   drivers/gpu/drm/xe/xe_mert.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/xe/xe_mert.c b/drivers/gpu/drm/xe/xe_mert.c
> index f637df95418b..32700c19a1df 100644
> --- a/drivers/gpu/drm/xe/xe_mert.c
> +++ b/drivers/gpu/drm/xe/xe_mert.c
> @@ -77,7 +77,7 @@ static void mert_handle_cat_error(struct xe_device *xe)
>   		xe_device_declare_wedged(xe);
>   		break;
>   	case CATERR_LMTT_FAULT:
> -		xe_sriov_dbg(xe, "MERT: CAT_ERR: VF%u LMTT fault!\n", vfid);
> +		xe_sriov_dbg_ratelimited(xe, "MERT: CAT_ERR: VF%u LMTT fault!\n", vfid);
>   		/* XXX: track/report malicious VF activity */
>   		break;
>   	default:

  reply	other threads:[~2026-07-23  7:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-21  9:31 [PATCH v1 0/2] Reduce MERT debug log spam Piórkowski, Piotr
2026-07-21  9:31 ` [PATCH v1 1/2] drm/xe: Add dbg_ratelimited printk wrappers Piórkowski, Piotr
2026-07-23  7:06   ` Laguna, Lukasz
2026-07-21  9:31 ` [PATCH v1 2/2] drm/xe/mert: Rate limit VF LMTT fault debug log Piórkowski, Piotr
2026-07-23  7:06   ` Laguna, Lukasz [this message]
2026-07-21  9:38 ` ✓ CI.KUnit: success for Reduce MERT debug log spam Patchwork
2026-07-21 10:32 ` ✓ Xe.CI.BAT: " Patchwork

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=8fea9a5b-b28c-4882-842d-ece14d60678c@intel.com \
    --to=lukasz.laguna@intel.com \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=piotr.piorkowski@intel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox