All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Dixit, Ashutosh" <ashutosh.dixit@intel.com>
To: Harish Chegondi <harish.chegondi@intel.com>
Cc: <intel-xe@lists.freedesktop.org>,
	Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>,
	<peter.senna@intel.com>
Subject: Re: [PATCH 3/3] drm/xe/eustall: Disallow 0 EU stall property values
Date: Mon, 15 Dec 2025 17:25:45 -0800	[thread overview]
Message-ID: <87jyynw73a.wl-ashutosh.dixit@intel.com> (raw)
In-Reply-To: <9335d8a0-8d06-4fbd-b855-48dfc2966330@intel.com>

On Mon, 15 Dec 2025 17:18:58 -0800, Harish Chegondi wrote:
>
> [1  <text/plain; UTF-8 (7bit)>]
> [2  <text/html; UTF-8 (7bit)>]
> Hi Ashutosh,
>
> On 12/11/25 22:18, Ashutosh Dixit wrote:
>
>  An EU stall property value of 0 is invalid and will cause a NPD.
>
> Reported-by: Peter Senna Tschudin <peter.senna@linux.intel.com>
> Closes: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/6453
>
> Is this the correct URL? I am unable to access this issue.

Likely you will need to log into gitlab to see it.

>
> Fixes: 1537ec85ebd7 ("drm/xe/uapi: Introduce API for EU stall sampling")
> Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
> ---
>  drivers/gpu/drm/xe/xe_eu_stall.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/xe/xe_eu_stall.c b/drivers/gpu/drm/xe/xe_eu_stall.c
> index 97dfb7945b7ac..a5c36a317a707 100644
> --- a/drivers/gpu/drm/xe/xe_eu_stall.c
> +++ b/drivers/gpu/drm/xe/xe_eu_stall.c
> @@ -315,7 +315,7 @@ static int xe_eu_stall_user_ext_set_property(struct xe_device *xe, u64 extension
>		return -EFAULT;
>
>	if (XE_IOCTL_DBG(xe, ext.property >= ARRAY_SIZE(xe_set_eu_stall_property_funcs)) ||
> -	    XE_IOCTL_DBG(xe, ext.pad))
> +	    XE_IOCTL_DBG(xe, !ext.property) || XE_IOCTL_DBG(xe, ext.pad))
>		return -EINVAL;
>
>	idx = array_index_nospec(ext.property, ARRAY_SIZE(xe_set_eu_stall_property_funcs));

  reply	other threads:[~2025-12-16  1:25 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-12  6:18 [PATCH 0/3] OA/EUSTALL: Syzkaller NPD bug fixes Ashutosh Dixit
2025-12-12  6:18 ` [PATCH 1/3] drm/xe/oa: Move default oa unit assignment earlier during stream open Ashutosh Dixit
2025-12-12  6:18 ` [PATCH 2/3] drm/xe/oa: Disallow 0 OA property values Ashutosh Dixit
2025-12-12  6:18 ` [PATCH 3/3] drm/xe/eustall: Disallow 0 EU stall " Ashutosh Dixit
2025-12-16  1:18   ` Harish Chegondi
2025-12-16  1:25     ` Dixit, Ashutosh [this message]
2025-12-12  6:28 ` ✓ CI.KUnit: success for OA/EUSTALL: Syzkaller NPD bug fixes Patchwork
2025-12-12  7:54 ` ✓ Xe.CI.BAT: " Patchwork
2025-12-12 19:10 ` ✓ Xe.CI.Full: " Patchwork
2025-12-16 18:09 ` [PATCH 0/3] " Harish Chegondi

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=87jyynw73a.wl-ashutosh.dixit@intel.com \
    --to=ashutosh.dixit@intel.com \
    --cc=harish.chegondi@intel.com \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=peter.senna@intel.com \
    --cc=umesh.nerlige.ramappa@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 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.