From: "Thomas Weißschuh" <linux@weissschuh.net>
To: "Maarten Lankhorst" <maarten.lankhorst@linux.intel.com>,
"Maxime Ripard" <mripard@kernel.org>,
"Thomas Zimmermann" <tzimmermann@suse.de>,
"David Airlie" <airlied@gmail.com>,
"Simona Vetter" <simona@ffwll.ch>, "Qiang Yu" <yuq825@gmail.com>,
"Jani Nikula" <jani.nikula@linux.intel.com>,
"Joonas Lahtinen" <joonas.lahtinen@linux.intel.com>,
"Rodrigo Vivi" <rodrigo.vivi@intel.com>,
"Tvrtko Ursulin" <tursulin@ursulin.net>,
"Alex Deucher" <alexander.deucher@amd.com>,
"Christian König" <christian.koenig@amd.com>,
"Xinhui Pan" <Xinhui.Pan@amd.com>,
"Harry Wentland" <harry.wentland@amd.com>,
"Leo Li" <sunpeng.li@amd.com>,
"Rodrigo Siqueira" <Rodrigo.Siqueira@amd.com>
Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org,
lima@lists.freedesktop.org, intel-gfx@lists.freedesktop.org,
amd-gfx@lists.freedesktop.org
Subject: Re: [PATCH 0/5] drm: Constify 'struct bin_attribute'
Date: Mon, 10 Feb 2025 17:50:48 +0100 [thread overview]
Message-ID: <58d8838c-1b22-4d24-bdce-89cfa1ede1ed@t-8ch.de> (raw)
In-Reply-To: <20241216-sysfs-const-bin_attr-drm-v1-0-210f2b36b9bf@weissschuh.net>
Hi,
On 2024-12-16 12:34:46+0100, Thomas Weißschuh wrote:
> The sysfs core now allows instances of 'struct bin_attribute' to be
> moved into read-only memory. Make use of that to protect them against
> accidental or malicious modifications.
Can anybody pick up these patches?
Except for lima they all have Acks.
In my opinion they should go through drm-misc.
Thanks,
Thomas
> Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
> ---
> Thomas Weißschuh (5):
> drm/sysfs: Constify 'struct bin_attribute'
> drm/lima: Constify 'struct bin_attribute'
> drm/i915: Constify 'struct bin_attribute'
> drm/amdgpu: Constify 'struct bin_attribute'
> drm/amd/display: Constify 'struct bin_attribute'
>
> drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 6 +++---
> drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 14 +++++++-------
> drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 13 ++++++-------
> drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.c | 8 ++++----
> drivers/gpu/drm/drm_sysfs.c | 10 +++++-----
> drivers/gpu/drm/i915/i915_gpu_error.c | 8 ++++----
> drivers/gpu/drm/i915/i915_sysfs.c | 12 ++++++------
> drivers/gpu/drm/lima/lima_drv.c | 8 ++++----
> 8 files changed, 39 insertions(+), 40 deletions(-)
> ---
> base-commit: 78d4f34e2115b517bcbfe7ec0d018bbbb6f9b0b8
> change-id: 20241215-sysfs-const-bin_attr-drm-9bf7700da886
>
> Best regards,
> --
> Thomas Weißschuh <linux@weissschuh.net>
>
prev parent reply other threads:[~2025-02-10 16:50 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-16 11:34 Thomas Weißschuh
2024-12-16 11:34 ` [PATCH 1/5] drm/sysfs: " Thomas Weißschuh
2024-12-16 11:47 ` Jani Nikula
2025-02-10 17:11 ` Andi Shyti
2024-12-16 11:34 ` [PATCH 2/5] drm/lima: " Thomas Weißschuh
2025-02-10 17:13 ` Andi Shyti
2024-12-16 11:34 ` [PATCH 3/5] drm/i915: " Thomas Weißschuh
2024-12-16 11:48 ` Jani Nikula
2025-02-10 17:14 ` Andi Shyti
2024-12-16 11:34 ` [PATCH 4/5] drm/amdgpu: " Thomas Weißschuh
2024-12-16 19:53 ` Alex Deucher
2024-12-16 11:34 ` [PATCH 5/5] drm/amd/display: " Thomas Weißschuh
2024-12-16 14:57 ` Harry Wentland
2025-02-10 16:50 ` Thomas Weißschuh [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=58d8838c-1b22-4d24-bdce-89cfa1ede1ed@t-8ch.de \
--to=linux@weissschuh.net \
--cc=Rodrigo.Siqueira@amd.com \
--cc=Xinhui.Pan@amd.com \
--cc=airlied@gmail.com \
--cc=alexander.deucher@amd.com \
--cc=amd-gfx@lists.freedesktop.org \
--cc=christian.koenig@amd.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=harry.wentland@amd.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=jani.nikula@linux.intel.com \
--cc=joonas.lahtinen@linux.intel.com \
--cc=lima@lists.freedesktop.org \
--cc=linux-kernel@vger.kernel.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=rodrigo.vivi@intel.com \
--cc=simona@ffwll.ch \
--cc=sunpeng.li@amd.com \
--cc=tursulin@ursulin.net \
--cc=tzimmermann@suse.de \
--cc=yuq825@gmail.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
all inboxes | Powered by JetHome®