microblaze: Prevent the overflow of the start
authorShubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Sat, 11 Jan 2020 13:14:34 +0000 (18:44 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 24 Feb 2020 07:34:53 +0000 (08:34 +0100)
commit9598feb0859f891574dd36ec42b799347a6b71f5
treef6e0f3a1062efeb637f43df57060d0ab5a567b84
parentaf9be1a3b46eacded3cbc0dfeaca484dacebefd5
microblaze: Prevent the overflow of the start

[ Upstream commit 061d2c1d593076424c910cb1b64ecdb5c9a6923f ]

In case the start + cache size is more than the max int the
start overflows.
Prevent the same.

Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/microblaze/kernel/cpu/cache.c