]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: 8041/1: pj4: fix cpu_is_pj4 check
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Thu, 24 Apr 2014 21:58:00 +0000 (22:58 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 25 Apr 2014 11:07:34 +0000 (12:07 +0100)
commit582447eb50c4570ef07499a5ef9c775930829a4d
tree34c2e7c7314c3dbe9db3c29227b54ae6589a115d
parent1a295a68ca5f1ff457e1e4a2622a6f79b6bf9e2d
ARM: 8041/1: pj4: fix cpu_is_pj4 check

Commit b70b25be35788820d60c66f0bef396dc41dc2af2
  ("ARM: 8015/1: Add cpu_is_pj4 to distinguish PJ4 because it
    has some differences with V7")
introduced a cpuid check for Marvell PJ4 processors to fix a
regression caused by adding PJ4 based Marvell Dove into
multi_v7.

Unfortunately, this check is too narrow to catch PJ4 used on
Dove itself and breaks iWMMXt support.

This patch therefore relaxes the cpuid mask to match both PJ4
and PJ4B. Also, rework the given comment about PJ4/PJ4B
modifications to be a little bit more specific about the
differences.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Kevin Hilman <khilman@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/cputype.h