]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: remove aliasing alignment if HW has antialising support
authorLeonid Yegoshin <Leonid.Yegoshin@imgtec.com>
Fri, 20 Nov 2015 01:38:21 +0000 (17:38 -0800)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 13 May 2016 12:02:16 +0000 (14:02 +0200)
commit5d245cdecbea77c5889a329bcbecb1644bd025b0
tree1d62247de2bc0a2ebf5fea040756b6150130ff94
parent524222564c3edcaa6d6fd6968913dad20dce20e8
MIPS: remove aliasing alignment if HW has antialising support

MIPS hardware may have an antialising support and it works even
page size is small.

Setup a shared memory aliasing mask to page size if hardware has
an antialising support. Big shared memory mask forces a disruption
in page address assignment and that corrupts Android library memory
handling.

Signed-off-by: Leonid Yegoshin <Leonid.Yegoshin@imgtec.com>
Cc: cernekee@gmail.com
Cc: paul.gortmaker@windriver.com
Cc: kumba@gentoo.org
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/11516/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mm/c-r4k.c