Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Karthik Poosa <karthik.poosa@intel.com>
To: intel-xe@lists.freedesktop.org
Cc: rodrigo.vivi@intel.com, anshuman.gupta@intel.com,
	badal.nilawar@intel.com, raag.jadav@intel.com,
	riana.tauro@intel.com, sk.anirban@intel.com,
	mallesh.koujalagi@intel.com, soham.purkait@intel.com,
	ravi.kishore.koppuravuri@intel.com,
	Karthik Poosa <karthik.poosa@intel.com>
Subject: [PATCH v2 0/2] drm/xe/pcode: Increase default mailbox timeout
Date: Mon,  7 Sep 2026 14:05:18 +0530	[thread overview]
Message-ID: <20260907083520.192418-1-karthik.poosa@intel.com> (raw)

This small series raises the default pcode mailbox timeout from 1ms to
10ms and consolidates the value behind a single shared macro.

We have observed sporadic mailbox write timeouts where 1ms was not enough
for the command to complete, resulting in spurious -ETIMEDOUT failures.
Bumping the default to 10ms avoids these while staying well within the
pcode mailbox specification guidance.

Patch 1 introduces PCODE_DEFAULT_TIMEOUT_MS and switches the default
pcode read/write paths to it.

Patch 2 drops the duplicate PL_WRITE_MBX_TIMEOUT_MS macro in hwmon and
reuses PCODE_DEFAULT_TIMEOUT_MS, keeping the power limit write in sync
with the pcode default.

This series continues the effort to address the review feedback received
on patch series https://patchwork.freedesktop.org/series/171303/.

Karthik Poosa (2):
  drm/xe/pcode: Increase default pcode mailbox timeout to 10ms
  drm/xe/hwmon: Use shared pcode default timeout for power limit write

 drivers/gpu/drm/xe/xe_hwmon.c | 7 +------
 drivers/gpu/drm/xe/xe_pcode.c | 2 +-
 drivers/gpu/drm/xe/xe_pcode.h | 4 +++-
 3 files changed, 5 insertions(+), 8 deletions(-)

-- 
2.25.1


             reply	other threads:[~2026-09-07  8:36 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-07  8:35 Karthik Poosa [this message]
2026-09-07  8:35 ` [PATCH v2 1/2] drm/xe/pcode: Increase default pcode mailbox timeout to 10ms Karthik Poosa
2026-09-10 21:59   ` Rodrigo Vivi
2026-09-07  8:35 ` [PATCH v2 2/2] drm/xe/hwmon: Use shared pcode default timeout for power limit write Karthik Poosa
2026-09-07  8:44   ` sashiko-bot
2026-09-08  6:06     ` Poosa, Karthik
2026-09-10 21:59   ` Rodrigo Vivi
2026-09-07  8:44 ` ✓ CI.KUnit: success for drm/xe/pcode: Increase default mailbox timeout Patchwork
2026-09-07  9:34 ` ✓ Xe.CI.BAT: " Patchwork
2026-09-07 10:59 ` ✗ Xe.CI.FULL: failure " 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=20260907083520.192418-1-karthik.poosa@intel.com \
    --to=karthik.poosa@intel.com \
    --cc=anshuman.gupta@intel.com \
    --cc=badal.nilawar@intel.com \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=mallesh.koujalagi@intel.com \
    --cc=raag.jadav@intel.com \
    --cc=ravi.kishore.koppuravuri@intel.com \
    --cc=riana.tauro@intel.com \
    --cc=rodrigo.vivi@intel.com \
    --cc=sk.anirban@intel.com \
    --cc=soham.purkait@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