From: "Tauro, Riana" <riana.tauro@intel.com>
To: "Mallesh, Koujalagi" <mallesh.koujalagi@intel.com>
Cc: <rodrigo.vivi@intel.com>, <anshuman.gupta@intel.com>,
<badal.nilawar@intel.com>, <karthik.poosa@intel.com>,
<sk.anirban@intel.com>, <raag.jadav@intel.com>,
<himal.prasad.ghimiray@intel.com>, <tejas.upadhyay@intel.com>,
<aravind.iddamsetty@linux.intel.com>,
"intel-xe@lists.freedesktop.org" <intel-xe@lists.freedesktop.org>
Subject: Re: [PATCH v1 2/4] drm/xe/ras: Downgrade repeated page removal message to debug
Date: Thu, 3 Dec 2026 13:14:00 +0530 [thread overview]
Message-ID: <820a4151-e6cf-4445-8c17-451358ee88db@intel.com> (raw)
In-Reply-To: <b56a2a4d-030f-4bbc-bded-fa9e834609f2@intel.com>
On 03-12-2026 12:23, Mallesh, Koujalagi wrote:
>
> On 03-12-2026 10:57 am, Tauro, Riana wrote:
>>
>> On 02-12-2026 17:27, Mallesh Koujalagi wrote:
>>> Repeated errors on pages already hard-offlined by firmware only trigger
>>> removal from the offline queue. Log these events at debug level to
>>> avoid unnecessary dmesg noise.
>>>
>>> Keep info-level logging for other page removals.
>>>
>>> Cc: Raag Jadav <raag.jadav@intel.com>
>>> Cc: Riana Tauro <riana.tauro@intel.com>
>>> Cc: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
>>> Cc: Tejas Upadhyay <tejas.upadhyay@intel.com>
>>> Signed-off-by: Mallesh Koujalagi <mallesh.koujalagi@intel.com>
>>> ---
>>> drivers/gpu/drm/xe/xe_ras.c | 3 +++
>>> 1 file changed, 3 insertions(+)
>>>
>>> diff --git a/drivers/gpu/drm/xe/xe_ras.c b/drivers/gpu/drm/xe/xe_ras.c
>>> index 6bce682c32d0..fa23325fb691 100644
>>> --- a/drivers/gpu/drm/xe/xe_ras.c
>>> +++ b/drivers/gpu/drm/xe/xe_ras.c
>>> @@ -307,6 +307,9 @@ static int send_page_offline_cmd(struct
>>> xe_device *xe, u64 page_address,
>>> if (ret)
>>> xe_err(xe, "[RAS]: Failed to store offlined page
>>> 0x%llx: %d\n",
>>> page_address, ret);
>>> + } else if (page_is_hard_offlined(xe, page_address)) {
>>> + xe_dbg(xe, "[RAS]: Page address 0x%llx already offlined,
>>> removed from queue\n",
>>> + page_address);
>>
>> What is the issue with info log? Without any logs, it will be tough
>> to debug any issues here
>
> The message is not removed, only changed from info to debug level, so
> it is still available when we debug.
debug logs are not always enabled in user systems. This is anyway not
treated as error log, only info.
If there is an error in handling this error , how would we know which
action was given to firmware
Riana
>
> The reason to reduce noise in dmesg, since Firmware can repeatedly
> report an already hard-offlined page.
>
> and each repeat emit another info message to dmesg which is not
> required (not carry any additional info, unnecessary noise).
>
>
> Thanks,
>
> -/Mallesh
>
>>
>> Riana
>>
>>> } else {
>>> xe_info(xe, "[RAS]: Page address 0x%llx removed from
>>> queue\n", page_address);
>>> }
next prev parent reply other threads:[~2026-12-03 7:44 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-02 11:57 [PATCH v1 0/4] drm/xe/ras: Suppress repeated DB-ECC reports Mallesh Koujalagi
2026-12-02 11:57 ` [PATCH v1 1/4] drm/xe/ras: Add helper to check hard-offlined pages Mallesh Koujalagi
2026-12-02 13:16 ` Raag Jadav
2026-12-02 13:47 ` Mallesh, Koujalagi
2026-12-02 17:51 ` Rodrigo Vivi
2026-12-03 5:29 ` Tauro, Riana
2026-12-03 6:44 ` Mallesh, Koujalagi
2026-12-02 11:57 ` [PATCH v1 2/4] drm/xe/ras: Downgrade repeated page removal message to debug Mallesh Koujalagi
2026-12-02 17:52 ` Rodrigo Vivi
2026-12-03 5:27 ` Tauro, Riana
2026-12-03 6:53 ` Mallesh, Koujalagi
2026-12-03 7:44 ` Tauro, Riana [this message]
2026-12-02 11:57 ` [PATCH v1 3/4] drm/xe/ras: Skip reports for repeated DB-ECC errors Mallesh Koujalagi
2026-12-02 12:08 ` sashiko-bot
2026-12-02 18:21 ` Rodrigo Vivi
2026-12-03 6:29 ` Mallesh, Koujalagi
2026-12-03 5:28 ` Tauro, Riana
2026-12-03 7:04 ` Mallesh, Koujalagi
2026-12-03 7:38 ` Tauro, Riana
2026-12-02 11:57 ` [PATCH v1 4/4] drm/xe/ras: Avoid duplicate logging for recurrent " Mallesh Koujalagi
2026-12-02 12:06 ` sashiko-bot
2026-12-02 17:53 ` Rodrigo Vivi
2026-12-03 5:33 ` Tauro, Riana
2026-12-03 7:06 ` Mallesh, Koujalagi
2026-12-02 13:36 ` ✓ CI.KUnit: success for drm/xe/ras: Suppress repeated DB-ECC reports Patchwork
2026-12-02 14:08 ` ✓ 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=820a4151-e6cf-4445-8c17-451358ee88db@intel.com \
--to=riana.tauro@intel.com \
--cc=anshuman.gupta@intel.com \
--cc=aravind.iddamsetty@linux.intel.com \
--cc=badal.nilawar@intel.com \
--cc=himal.prasad.ghimiray@intel.com \
--cc=intel-xe@lists.freedesktop.org \
--cc=karthik.poosa@intel.com \
--cc=mallesh.koujalagi@intel.com \
--cc=raag.jadav@intel.com \
--cc=rodrigo.vivi@intel.com \
--cc=sk.anirban@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox