ARCv2: IOC: Tighten up the contraints (specifically base / size alignment)
authorEugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Tue, 15 Aug 2017 18:13:53 +0000 (21:13 +0300)
committerVineet Gupta <vgupta@synopsys.com>
Fri, 1 Sep 2017 18:26:26 +0000 (11:26 -0700)
commitbee91c3a3ce63daf64bb53ae60e6a2fb2961d3d7
tree06d55b2574b1eebbdd5e12e4a56da04f9a9e9806
parent0fa400cb8a90753044bbcb5810fa1a59d96d5ea1
ARCv2: IOC: Tighten up the contraints (specifically base / size alignment)

[Needed for HSDK]

 - Currently IOC base is hardcoded to 0x8000_0000 which is default value
   of LINUX_LINK_BASE, but may not always be the case

 - IOC programming model imposes the constraint that IOC aperture size
   needs to be aligned to IOC base address, which we were not checking
   so far.

Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
[vgupta: reworked the changelog]
arch/arc/mm/cache.c