]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/xe/oa: Disallow 0 OA property values
authorAshutosh Dixit <ashutosh.dixit@intel.com>
Fri, 12 Dec 2025 06:18:49 +0000 (22:18 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Jan 2026 09:17:19 +0000 (10:17 +0100)
commitf19cb78876f90d424ca14949b185a6668b05aecd
treec77cd799c3ff8b7091a029d0ba6f8c71fce3a48d
parenta965d4869eefe50767966f1973cc5bb06e2eedf0
drm/xe/oa: Disallow 0 OA property values

commit 3595114bc31d1eb5e1996164c901485c1ffac6f7 upstream.

An OA property value of 0 is invalid and will cause a NPD.

Reported-by: Peter Senna Tschudin <peter.senna@linux.intel.com>
Closes: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/6452
Fixes: cc4e6994d5a2 ("drm/xe/oa: Move functions up so they can be reused for config ioctl")
Cc: stable@vger.kernel.org
Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Reviewed-by: Harish Chegondi <harish.chegondi@intel.com>
Link: https://patch.msgid.link/20251212061850.1565459-3-ashutosh.dixit@intel.com
(cherry picked from commit 7a100e6ddcc47c1f6ba7a19402de86ce24790621)
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/xe/xe_oa.c