✓ CI.checkpatch: success for drm/xe: Fix out-of-bounds field write in MI_STORE_DATA_IMM
Patchwork
patchwork at emeril.freedesktop.org
Fri May 23 15:54:34 UTC 2025
== Series Details ==
Series: drm/xe: Fix out-of-bounds field write in MI_STORE_DATA_IMM
URL : https://patchwork.freedesktop.org/series/149435/
State : success
== Summary ==
+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt
Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master
202708c00696422fd217223bb679a353a5936e23
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 6a5edcd816a9bbbece9364987f22cc87c621cbb3
Author: Jia Yao <jia.yao at intel.com>
Date: Fri May 23 15:04:18 2025 +0000
drm/xe: Fix out-of-bounds field write in MI_STORE_DATA_IMM
According to Bspec, bits 0~9 of MI_STORE_DATA_IMM must not exceed 0x3FE.
The macro MI_SDI_NUM_QW(x) evaluates to 2 * x + 1, which means the
condition 2 * x + 1 <= 0x3FE must be satisfied. Therefore, the maximum
valid value for x is 0x1FE, not 0x1FF.
Bspec: 60246
Fixes: 9c44fd5f6e8a ("drm/xe: Add migrate layer functions for SVM support")
Cc: Matthew Brost <matthew.brost at intel.com>
Cc: Brian3 Nguyen <brian3.nguyen at intel.com>
Cc: Alex Zuo <alex.zuo at intel.com>
Suggested-by: Shuicheng Lin <shuicheng.lin at intel.com>
Signed-off-by: Jia Yao <jia.yao at intel.com>
+ /mt/dim checkpatch 5ed61f4a36b342006a85c561ce0d1ccdd035f9c7 drm-intel
6a5edcd816a9 drm/xe: Fix out-of-bounds field write in MI_STORE_DATA_IMM
More information about the Intel-xe
mailing list