summaryrefslogtreecommitdiff
path: root/drivers/clk/clk-conf.c
diff options
context:
space:
mode:
authorDmitry Osipenko <digetx@gmail.com>2019-04-12 01:12:48 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-05-25 19:26:49 +0300
commit6f0d9b0b5ec1076be6c70878500a316ddcdb0a14 (patch)
tree5a2348f7cd525d480c4bc0bdb3a0fb6cef7134e2 /drivers/clk/clk-conf.c
parent17fe9003ffccd0f7b26f9935cc1d60d0bf2bdc12 (diff)
downloadlinux-6f0d9b0b5ec1076be6c70878500a316ddcdb0a14.tar.xz
memory: tegra: Fix integer overflow on tick value calculation
commit b906c056b6023c390f18347169071193fda57dde upstream. Multiplying the Memory Controller clock rate by the tick count results in an integer overflow and in result the truncated tick value is being programmed into hardware, such that the GR3D memory client performance is reduced by two times. Cc: stable <stable@vger.kernel.org> Signed-off-by: Dmitry Osipenko <digetx@gmail.com> Signed-off-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/clk/clk-conf.c')
0 files changed, 0 insertions, 0 deletions