All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Tauro, Riana" <riana.tauro@intel.com>
To: Rodrigo Vivi <rodrigo.vivi@intel.com>,
	Jakub Kicinski <kuba@kernel.org>,
	Aravind Iddamsetty <aravind.iddamsetty@linux.intel.com>
Cc: <intel-xe@lists.freedesktop.org>,
	<dri-devel@lists.freedesktop.org>, <netdev@vger.kernel.org>,
	<amd-gfx@lists.freedesktop.org>, <simona.vetter@ffwll.ch>,
	<airlied@gmail.com>, <tejas.upadhyay@intel.com>,
	<himal.prasad.ghimiray@intel.com>, <raag.jadav@intel.com>,
	<joshua.santosh.ranjan@intel.com>,
	<ashwin.kumar.kulkarni@intel.com>, <pratik.bari@intel.com>,
	<Hawking.Zhang@amd.com>, <tao.zhou1@amd.com>,
	<YiPeng.Chai@amd.com>, <jinzhou.su@amd.com>, <cesun102@amd.com>,
	<lijo.lazar@amd.com>, <alexander.deucher@amd.com>,
	<christian.koenig@amd.com>
Subject: Re: [PATCH v2 1/2] drm/xe: Expose retired VRAM pages via drm-ras
Date: Fri, 30 Oct 2026 11:46:05 +0530	[thread overview]
Message-ID: <86fb7702-9b70-412c-a8a0-a2d78cb5fae2@intel.com> (raw)
In-Reply-To: <atYFYbLXfSIPLTzA@intel.com>

Hi Aravind/Rodrigo

How about using a generic telemetry node for this series from 
https://lore.kernel.org/dri-devel/20261029203000.1763447-1-zachary.mckevitt@oss.qualcomm.com/T/#t 
instead of a dedicated node for vram-retired-pages?

Thanks
Riana

On 19-10-2026 17:26, Rodrigo Vivi wrote:
> On Fri, Oct 16, 2026 at 03:49:13PM -0700, Jakub Kicinski wrote:
>> On Wed,  7 Oct 2026 13:33:53 +0530 Aravind Iddamsetty wrote:
>>> +  -
>>> +    name: retired-resource-attrs
>>> +    attributes:
>>> +      -
>>> +        name: node-id
>>> +        type: u32
>>> +        doc: Node ID targeted by this retired resource operation.
>>> +      -
>>> +        name: vram-page
>>> +        type: nest
>>> +        nested-attributes: vram-page-attrs
>> why wrap attrs in a nest? Are you planning to add other resource types
>> (than a page)? It's a common anti-pattern in Netlink to over-wrap stuff.
> we should indeed remove the wrap and have only the page info.
>
>>> +        doc: >-
>>> +             Type-specific payload. The resource type is identified by the
>>> +             node (its node-name); each node reports a single resource type.
>>> +  -
>>> +    name: vram-page-attrs
>>> +    attributes:
>>> +      -
>>> +        name: address
>>> +        type: u64
>>> +        doc: Device address of the retired VRAM page (e.g. DPA).
>>> +      -
>>> +        name: size
>>> +        type: u64
>> prefer uint
>>
>>> +        doc: Size of the retired VRAM page in bytes.
>>> +      -
>>> +        name: max-pages
>>> +        type: u32
>>> +        doc: >-
>>> +             Maximum VRAM pages that can be retired. Present only in the
>>> +             leading summary entry of the dump (no address/size/status).
>>> +      -
>>> +        name: status
>>> +        type: u32
>>> +        doc: Retirement status of the retired VRAM page.
>>> +        enum: retired-resource-status
>>> +      -
>>> +        name: pad
>>> +        type: pad
>> And then you won't need pad
> I noticed this in the review prompts, but I have some reservations here.
> We know for sure our value is always u64 because it is our hw definition.
> I don't see a good reason why not use the exact size that matches our hw.

  reply	other threads:[~2026-10-30  6:16 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-07  8:03 [PATCH v2 0/2] drm/xe: Expose retired VRAM pages via drm-ras Aravind Iddamsetty
2026-10-07  8:03 ` [PATCH v2 1/2] " Aravind Iddamsetty
2026-10-07  9:28   ` Christian König
2026-10-07 13:55     ` Rodrigo Vivi
2026-10-14 21:40   ` Rodrigo Vivi
2026-10-16 22:49   ` Jakub Kicinski
2026-10-19 11:56     ` Rodrigo Vivi
2026-10-30  6:16       ` Tauro, Riana [this message]
2026-10-30  8:37         ` Aravind Iddamsetty
2026-10-30  4:54   ` sashiko-bot
2026-10-07  8:03 ` [PATCH v2 2/2] drm/xe: Remove bad VRAM pages debugfs interface Aravind Iddamsetty
2026-10-14 21:41   ` Rodrigo Vivi
2026-10-07  8:38 ` ✗ CI.checkpatch: warning for drm/xe: Expose retired VRAM pages via drm-ras (rev2) Patchwork
2026-10-07  8:40 ` ✓ CI.KUnit: success " Patchwork
2026-10-07  9:27 ` ✓ Xe.CI.BAT: " Patchwork
2026-10-07 10:42 ` ✓ 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=86fb7702-9b70-412c-a8a0-a2d78cb5fae2@intel.com \
    --to=riana.tauro@intel.com \
    --cc=Hawking.Zhang@amd.com \
    --cc=YiPeng.Chai@amd.com \
    --cc=airlied@gmail.com \
    --cc=alexander.deucher@amd.com \
    --cc=amd-gfx@lists.freedesktop.org \
    --cc=aravind.iddamsetty@linux.intel.com \
    --cc=ashwin.kumar.kulkarni@intel.com \
    --cc=cesun102@amd.com \
    --cc=christian.koenig@amd.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=himal.prasad.ghimiray@intel.com \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=jinzhou.su@amd.com \
    --cc=joshua.santosh.ranjan@intel.com \
    --cc=kuba@kernel.org \
    --cc=lijo.lazar@amd.com \
    --cc=netdev@vger.kernel.org \
    --cc=pratik.bari@intel.com \
    --cc=raag.jadav@intel.com \
    --cc=rodrigo.vivi@intel.com \
    --cc=simona.vetter@ffwll.ch \
    --cc=tao.zhou1@amd.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.