From: Riana Tauro <riana.tauro@intel.com>
To: Jakub Kicinski <kuba@kernel.org>
Cc: <intel-xe@lists.freedesktop.org>,
<dri-devel@lists.freedesktop.org>,
<aravind.iddamsetty@linux.intel.com>, <anshuman.gupta@intel.com>,
<rodrigo.vivi@intel.com>, <joonas.lahtinen@linux.intel.com>,
<simona.vetter@ffwll.ch>, <airlied@gmail.com>,
<pratik.bari@intel.com>, <joshua.santosh.ranjan@intel.com>,
<ashwin.kumar.kulkarni@intel.com>, <shubham.kumar@intel.com>,
<ravi.kishore.koppuravuri@intel.com>, <raag.jadav@intel.com>,
<anvesh.bakwad@intel.com>,
Zack McKevitt <zachary.mckevitt@oss.qualcomm.com>,
Lijo Lazar <lijo.lazar@amd.com>,
"Hawking Zhang" <Hawking.Zhang@amd.com>,
"David S. Miller" <davem@davemloft.net>,
"Paolo Abeni" <pabeni@redhat.com>,
Eric Dumazet <edumazet@google.com>, <netdev@vger.kernel.org>
Subject: Re: [PATCH v9 1/5] drm/ras: Introduce the DRM RAS infrastructure over generic netlink
Date: Tue, 3 Mar 2026 21:07:29 +0530 [thread overview]
Message-ID: <b348c8e7-4c27-4e0f-8e0f-0679082d51e7@intel.com> (raw)
In-Reply-To: <20260228080414.6f1256cc@kernel.org>
On 2/28/2026 9:34 PM, Jakub Kicinski wrote:
> On Sat, 28 Feb 2026 13:38:25 +0530 Riana Tauro wrote:
>> Documentation/gpu/drm-ras.rst | 103 +++++++
>> Documentation/gpu/index.rst | 1 +
>> Documentation/netlink/specs/drm_ras.yaml | 115 ++++++++
>> drivers/gpu/drm/Kconfig | 10 +
>> drivers/gpu/drm/Makefile | 1 +
>> drivers/gpu/drm/drm_drv.c | 6 +
>> drivers/gpu/drm/drm_ras.c | 354 +++++++++++++++++++++++
>> drivers/gpu/drm/drm_ras_genl_family.c | 42 +++
>> drivers/gpu/drm/drm_ras_nl.c | 56 ++++
>> drivers/gpu/drm/drm_ras_nl.h | 24 ++
>> include/drm/drm_ras.h | 75 +++++
>> include/drm/drm_ras_genl_family.h | 17 ++
>> include/uapi/drm/drm_ras.h | 49 ++++
>
> Doesn't apply to my local trees any more but _looks_ right :)
> Assuming ./tools/net/ynl/ynl-regen.sh -f doesn't result in a dirty tree:
> > Acked-by: Jakub Kicinski <kuba@kernel.org>
No it does not generate any diff.
Thank you for taking the time to look at this patch and for all the
helpful suggestions.
Also thanks again for answering all my tool queries.
>
>> + if (!info->attrs ||
>> + !info->attrs[DRM_RAS_A_ERROR_COUNTER_ATTRS_NODE_ID] ||
>> + !info->attrs[DRM_RAS_A_ERROR_COUNTER_ATTRS_ERROR_ID])
>> + return -EINVAL;
>
> Sorry for not noticing earlier but you could use GENL_REQ_ATTR_CHECK()
> here. It will give the user a nice error pointing out which attr was
> missing (assuming user space uses a competent ynl-based library).
Tried this. Does print a very user friendly message.
Will send a new rev with these changes
Thank you
Riana
prev parent reply other threads:[~2026-03-03 15:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20260228080858.3063532-7-riana.tauro@intel.com>
2026-02-28 8:08 ` [PATCH v9 1/5] drm/ras: Introduce the DRM RAS infrastructure over generic netlink Riana Tauro
2026-02-28 16:04 ` Jakub Kicinski
2026-03-03 15:37 ` Riana Tauro [this message]
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=b348c8e7-4c27-4e0f-8e0f-0679082d51e7@intel.com \
--to=riana.tauro@intel.com \
--cc=Hawking.Zhang@amd.com \
--cc=airlied@gmail.com \
--cc=anshuman.gupta@intel.com \
--cc=anvesh.bakwad@intel.com \
--cc=aravind.iddamsetty@linux.intel.com \
--cc=ashwin.kumar.kulkarni@intel.com \
--cc=davem@davemloft.net \
--cc=dri-devel@lists.freedesktop.org \
--cc=edumazet@google.com \
--cc=intel-xe@lists.freedesktop.org \
--cc=joonas.lahtinen@linux.intel.com \
--cc=joshua.santosh.ranjan@intel.com \
--cc=kuba@kernel.org \
--cc=lijo.lazar@amd.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=pratik.bari@intel.com \
--cc=raag.jadav@intel.com \
--cc=ravi.kishore.koppuravuri@intel.com \
--cc=rodrigo.vivi@intel.com \
--cc=shubham.kumar@intel.com \
--cc=simona.vetter@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox