From: Rodrigo Vivi <rodrigo.vivi@intel.com>
To: Zack McKevitt <zachary.mckevitt@oss.qualcomm.com>
Cc: Aravind Iddamsetty <aravind.iddamsetty@linux.intel.com>,
<intel-xe@lists.freedesktop.org>,
<dri-devel@lists.freedesktop.org>,
"Alex Deucher" <alexander.deucher@amd.com>,
David Airlie <airlied@gmail.com>,
"Simona Vetter" <simona@ffwll.ch>,
Joonas Lahtinen <joonas.lahtinen@linux.intel.com>,
Hawking Zhang <Hawking.Zhang@amd.com>,
Lijo Lazar <lijo.lazar@amd.com>,
Michael J <michael.j.ruhl@intel.com>,
Riana Tauro <riana.tauro@intel.com>,
Anshuman Gupta <anshuman.gupta@intel.com>
Subject: Re: [RFC v5 1/5] drm/netlink: Add netlink infrastructure
Date: Thu, 2 Oct 2025 09:05:32 -0400 [thread overview]
Message-ID: <aN54nJahNKHQ3Tcr@intel.com> (raw)
In-Reply-To: <b92002ac-0fc7-404f-92b6-6bfe9964dfac@oss.qualcomm.com>
On Mon, Aug 25, 2025 at 11:31:49AM -0600, Zack McKevitt wrote:
>
>
> On 8/21/2025 3:45 AM, Aravind Iddamsetty wrote:
> > Glad to know the interest, at present the code does create drm netlink
> > family for accel device as well, but it is tries to register with the
> > drm primary node name which might not be present for dev->accel,
> > checking for the "DRIVER_COMPUTE_ACCEL" and registering with the name
> > will fix that.
>
> This is correct, trying to access dev->primary->kdev->kobj.name through an
> accel device will cause a fault. I believe your solution will work, and the
> node name can instead be retrieved via dev->accel->kdev->kobj.name.
> > But also to bring to your attention the current series focuses on
> > reporting RAS errors and hence the commands are as well oriented towards
> > errors, anything specific to telemetry needs to be added. Do you have
> > any thought as to what kind of data and what kind of command support you
> > might need.
>
> Understood. We will likely be interested in RAS functionality in the future
> but thought this would be a good avenue for telemetry as well since our
> device currently has a functional RAS implementation.
>
> An early prototype for this might add a new command for telemetry and a new
> policy with 4 new attributes: the type of telemetry to read/write (e.g., SoC
> temp), whether the request is a read or write from/to the device, the status
> of the request, and the telemetry value read or written. As actual telemetry
> fields are likely device specific, these can be defined in the driver's uapi
> header and passed opaquely through the netlink interface.
>
> The above description was sufficient for an initial prototype on top of our
> driver. Mostly, however, we want to reiterate our interest in these changes
> and will keep an eye out for a future patchset that incorporates generated
> boilerplate from a YAML description.
>
> Thanks again,
Hi Zack,
thanks for your interest,
could you please take a look in the new version and help with reviews and
feedback there to see if that is flexible enough to be later expanded to your needs:
https://lore.kernel.org/dri-devel/20250929214415.326414-5-rodrigo.vivi@intel.com/
Thanks,
Rodrigo.
>
> Zack
>
> > Thanks,
> > Aravind.
next prev parent reply other threads:[~2025-10-02 13:05 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-30 6:49 [RFC v5 0/5] Proposal to use netlink for RAS and Telemetry across drm subsystem Aravind Iddamsetty
2025-07-30 6:49 ` [RFC v5 1/5] drm/netlink: Add netlink infrastructure Aravind Iddamsetty
2025-08-15 17:07 ` Zack McKevitt
2025-08-21 9:45 ` Aravind Iddamsetty
2025-08-25 17:31 ` Zack McKevitt
2025-10-02 13:05 ` Rodrigo Vivi [this message]
2025-08-15 21:48 ` Rodrigo Vivi
2025-08-26 5:58 ` Aravind Iddamsetty
2025-07-30 6:49 ` [RFC v5 2/5] drm/xe/RAS: Register netlink capability Aravind Iddamsetty
2025-08-15 21:52 ` Rodrigo Vivi
2025-08-26 9:01 ` Aravind Iddamsetty
2025-07-30 6:49 ` [RFC v5 3/5] drm/xe/RAS: Expose the error counters Aravind Iddamsetty
2025-08-15 21:58 ` Rodrigo Vivi
2025-08-26 9:26 ` Aravind Iddamsetty
2025-07-30 6:49 ` [RFC v5 4/5] drm/netlink: Define multicast groups Aravind Iddamsetty
2025-08-15 22:00 ` Rodrigo Vivi
2025-07-30 6:49 ` [RFC v5 5/5] drm/xe/RAS: send multicast event on occurrence of an error Aravind Iddamsetty
2025-08-15 22:01 ` Rodrigo Vivi
2025-08-26 9:34 ` Aravind Iddamsetty
2025-07-30 21:00 ` [RFC v5 0/5] Proposal to use netlink for RAS and Telemetry across drm subsystem Lukas Wunner
2025-07-31 15:30 ` Aravind Iddamsetty
2025-08-13 20:21 ` Rodrigo Vivi
2025-08-15 21:24 ` Rodrigo Vivi
2025-08-26 4:42 ` Aravind Iddamsetty
2025-08-25 9:38 ` Aravind Iddamsetty
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=aN54nJahNKHQ3Tcr@intel.com \
--to=rodrigo.vivi@intel.com \
--cc=Hawking.Zhang@amd.com \
--cc=airlied@gmail.com \
--cc=alexander.deucher@amd.com \
--cc=anshuman.gupta@intel.com \
--cc=aravind.iddamsetty@linux.intel.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=intel-xe@lists.freedesktop.org \
--cc=joonas.lahtinen@linux.intel.com \
--cc=lijo.lazar@amd.com \
--cc=michael.j.ruhl@intel.com \
--cc=riana.tauro@intel.com \
--cc=simona@ffwll.ch \
--cc=zachary.mckevitt@oss.qualcomm.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.