aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/mpi/mpi-mul.c
diff options
context:
space:
mode:
authorDaniele Ceraolo Spurio <[email protected]>2025-06-11 21:44:54 +0000
committerThomas Hellström <[email protected]>2025-06-19 15:24:30 +0000
commita39d082c3553d35b4fe5585e1e2fb221c130cae8 (patch)
treed3dc59bb637abebb409b07224c0fad096fcf5d28 /lib/crypto/mpi/mpi-mul.c
parentdrm/xe: Fix memset on iomem (diff)
downloadkernel-a39d082c3553d35b4fe5585e1e2fb221c130cae8.tar.gz
kernel-a39d082c3553d35b4fe5585e1e2fb221c130cae8.zip
drm/xe: Fix early wedge on GuC load failure
When the GuC fails to load we declare the device wedged. However, the very first GuC load attempt on GT0 (from xe_gt_init_hwconfig) is done before the GT1 GuC objects are initialized, so things go bad when the wedge code attempts to cleanup GT1. To fix this, check the initialization status in the functions called during wedge. Fixes: 7dbe8af13c18 ("drm/xe: Wedge the entire device") Signed-off-by: Daniele Ceraolo Spurio <[email protected]> Cc: Rodrigo Vivi <[email protected]> Cc: Matthew Brost <[email protected]> Cc: Jonathan Cavitt <[email protected]> Cc: Lucas De Marchi <[email protected]> Cc: Zhanjun Dong <[email protected]> Cc: [email protected] # v6.12+: 1e1981b16bb1: drm/xe: Fix taking invalid lock on wedge Cc: [email protected] # v6.12+ Reviewed-by: Jonathan Cavitt <[email protected]> Reviewed-by: Lucas De Marchi <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Lucas De Marchi <[email protected]> (cherry picked from commit 0b93b7dcd9eb888a6ac7546560877705d4ad61bf) Signed-off-by: Thomas Hellström <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-mul.c')
0 files changed, 0 insertions, 0 deletions