mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-06 07:34:03 -04:00
drm/nouveau/secboot: fix WPR region alignment
A WPR region smaller than 256K will result in secure boot failure. Adjust the minimal size. Signed-off-by: Alexandre Courbot <acourbot@nvidia.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
committed by
Ben Skeggs
parent
3e8fbe3191
commit
098ee77224
@@ -381,8 +381,8 @@ acr_r352_ls_write_wpr(struct acr_r352 *acr, struct list_head *imgs,
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* Both size and address of WPR need to be 128K-aligned */
|
||||
#define WPR_ALIGNMENT 0x20000
|
||||
/* Both size and address of WPR need to be 256K-aligned */
|
||||
#define WPR_ALIGNMENT 0x40000
|
||||
/**
|
||||
* acr_r352_prepare_ls_blob() - prepare the LS blob
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user