]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau/secboot: fix WPR address to be 64-bit
authorAlexandre Courbot <acourbot@nvidia.com>
Tue, 31 Jan 2017 09:16:08 +0000 (18:16 +0900)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 7 Mar 2017 07:05:11 +0000 (17:05 +1000)
commit371ce5203dbebae43661d517ebb6e90c60d81ae8
tree8a9b7fffc84de243ace5e3f74d33748812364679
parentd638aaa4d58fc64efd135abcfd76bfd68ce7a29c
drm/nouveau/secboot: fix WPR address to be 64-bit

The WPR address parameter of the ls_write_wpr hook was defined as a u32,
which will very likely overflow on boards with more than 4GB VRAM.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c
drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.h