From: Rodrigo Vivi <rodrigo.vivi@intel.com>
To: Riana Tauro <riana.tauro@intel.com>
Cc: <intel-xe@lists.freedesktop.org>, <anshuman.gupta@intel.com>,
<badal.nilawar@intel.com>, <aravind.iddamsetty@linux.intel.com>,
<raag.jadav@intel.com>, <ravi.kishore.koppuravuri@intel.com>,
<mallesh.koujalagi@intel.com>, <tejas.upadhyay@intel.com>
Subject: Re: [PATCH v2 2/2] drm/xe/ras: Drop SIGID logging for sysctrl errors
Date: Mon, 23 Nov 2026 14:14:25 -0500 [thread overview]
Message-ID: <awSQkSBPmv0C2Ba3@intel.com> (raw)
In-Reply-To: <20261122153015.877434-6-riana.tauro@intel.com>
On Sun, Nov 22, 2026 at 09:00:18PM +0530, Riana Tauro wrote:
> The sysctrl mailbox layer already logs the failure with its group and
> command IDs via SIGID. Drop SIGID logging and replace with plain xe_err logs
> to avoid multiple CPERs.
>
> Fixes: 6d8ad0217f9d ("drm/xe/xe_ras: Add support to query page offline queue and list")
> Signed-off-by: Riana Tauro <riana.tauro@intel.com>
> ---
> v2: split patches
> add more detailed commit message
> remove non-functional changes from commit (Rodrigo)
Thank you
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
pushing it soon...
> ---
> drivers/gpu/drm/xe/xe_ras.c | 26 ++++++++++++--------------
> 1 file changed, 12 insertions(+), 14 deletions(-)
>
> diff --git a/drivers/gpu/drm/xe/xe_ras.c b/drivers/gpu/drm/xe/xe_ras.c
> index 07c048149da6..f8c1d8a97fc0 100644
> --- a/drivers/gpu/drm/xe/xe_ras.c
> +++ b/drivers/gpu/drm/xe/xe_ras.c
> @@ -277,21 +277,20 @@ static int send_page_offline_cmd(struct xe_device *xe, u64 page_address,
>
> ret = xe_sysctrl_send_command(&xe->sc, &command, &rlen);
> if (ret) {
> - xe_log_err(xe, SYSCTRL, ret, "failed to send page offline command\n");
> + xe_err(xe, "sysctrl: failed to send page offline command %d\n", ret);
> return ret;
> }
>
> if (rlen != sizeof(response)) {
> - xe_log_err(xe, SYSCTRL, -EINVAL,
> - "unexpected page offline response length %zu (expected %zu)\n",
> - rlen, sizeof(response));
> + xe_err(xe, "sysctrl: unexpected page offline response length %zu (expected %zu)\n",
> + rlen, sizeof(response));
> return -EINVAL;
> }
>
> ret = ras_status_to_errno(response.status);
> if (ret) {
> - xe_log_err(xe, SYSCTRL, ret, "page offline command failed with status %u\n",
> - response.status);
> + xe_err(xe, "sysctrl: page offline command failed with status %#x\n",
> + response.status);
> return ret;
> }
>
> @@ -421,15 +420,15 @@ static void process_offline_pages(struct xe_device *xe, u32 cmd, void *req, size
>
> ret = xe_sysctrl_send_command(&xe->sc, &command, &rlen);
> if (ret) {
> - xe_log_err(xe, SYSCTRL, ret, "failed to get page offline data, cmd=%#x\n",
> - cmd);
> + xe_err(xe, "sysctrl: failed to get page offline data %d, cmd=%#x\n", ret,
> + cmd);
> return;
> }
>
> if (rlen != resp_size) {
> - xe_log_err(xe, SYSCTRL, -EINVAL,
> - "unexpected page offline response length %zu (expected %zu), cmd=%#x\n",
> - rlen, resp_size, cmd);
> + xe_err(xe,
> + "sysctrl: unexpected page offline response length %zu (expected %zu), cmd=%#x\n",
> + rlen, resp_size, cmd);
> return;
> }
>
> @@ -459,9 +458,8 @@ static void process_offline_pages(struct xe_device *xe, u32 cmd, void *req, size
> total_pages = common->total_pages;
>
> if (count > total_pages) {
> - xe_log_err(xe, SYSCTRL, -EINVAL,
> - "Pages returned exceed total pages %u, returned %u, cmd=%#x\n",
> - total_pages, count, cmd);
> + xe_err(xe, "sysctrl: pages returned %u exceed total pages %u, cmd=%#x\n",
> + count, total_pages, cmd);
> return;
> }
> } while (common->additional_data);
> --
> 2.47.1
>
next prev parent reply other threads:[~2026-11-23 19:16 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-22 15:30 [PATCH v2 0/2] Drop repeated SIGID logging Riana Tauro
2026-11-22 15:30 ` [PATCH v2 1/2] drm/xe/ras: Drop SIGID logging in page offline flow Riana Tauro
2026-11-23 19:13 ` Rodrigo Vivi
2026-11-22 15:30 ` [PATCH v2 2/2] drm/xe/ras: Drop SIGID logging for sysctrl errors Riana Tauro
2026-11-23 19:14 ` Rodrigo Vivi [this message]
2026-11-22 15:38 ` ✗ CI.checkpatch: warning for Drop repeated SIGID logging Patchwork
2026-11-22 15:41 ` ✓ CI.KUnit: success " Patchwork
2026-11-22 16:15 ` ✓ Xe.CI.BAT: " Patchwork
2026-11-23 15:14 ` ✓ Xe.CI.FULL: " 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=awSQkSBPmv0C2Ba3@intel.com \
--to=rodrigo.vivi@intel.com \
--cc=anshuman.gupta@intel.com \
--cc=aravind.iddamsetty@linux.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=tejas.upadhyay@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.