]> 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)
commite2d4144e5f80d1b20f8f92d972fe737b0ef6ba38
tree8a9b7fffc84de243ace5e3f74d33748812364679
parented33869659ec39334a5010ac4669d95f92c31cab
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