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)
commit3e8fbe3191d1fd94d4b25f72d383c4db7309ca4a
tree8a9b7fffc84de243ace5e3f74d33748812364679
parenta335f078df6006bd7694a1480e7dfbcf7e0de00c
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