aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/cppc_acpi.c
diff options
context:
space:
mode:
authorAndrzej Hajda <[email protected]>2022-06-24 11:35:28 +0000
committerRodrigo Vivi <[email protected]>2022-07-12 22:21:58 +0000
commit333991c4e66b3d4b5613315f18016da80344f659 (patch)
tree6bd198de9b73ac09658419ad1c8187ed89c84ab2 /drivers/acpi/cppc_acpi.c
parentdrm/i915/gem: Look for waitboosting across the whole object prior to individu... (diff)
downloadkernel-333991c4e66b3d4b5613315f18016da80344f659.tar.gz
kernel-333991c4e66b3d4b5613315f18016da80344f659.zip
drm/i915/selftests: fix subtraction overflow bug
On some machines hole_end can be small enough to cause subtraction overflow. On the other side (addr + 2 * min_alignment) can overflow in case of mock tests. This patch should handle both cases. Fixes: e1c5f754067b59 ("drm/i915: Avoid overflow in computing pot_hole loop termination") Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/3674 Signed-off-by: Andrzej Hajda <[email protected]> Reviewed-by: Andi Shyti <[email protected]> Signed-off-by: Andi Shyti <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Rodrigo Vivi <[email protected]> (cherry picked from commit ab3edc679c552a466e4bf0b11af3666008bd65a2) Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'drivers/acpi/cppc_acpi.c')
0 files changed, 0 insertions, 0 deletions