diff options
author | afzal mohammed <afzal.mohd.ma@gmail.com> | 2017-03-23 13:49:32 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2017-03-29 17:38:41 +0100 |
commit | 3cc070c1c81948b33ebe2ea68cd39307ce2b312d (patch) | |
tree | 06ffca2e2a9bc7fa144ae9e6445564064d648f58 /arch/powerpc/sysdev/fsl_85xx_l2ctlr.c | |
parent | 916a008b4b8ecc02fbd035cfb133773dba1ff3d7 (diff) | |
download | lwn-3cc070c1c81948b33ebe2ea68cd39307ce2b312d.tar.gz lwn-3cc070c1c81948b33ebe2ea68cd39307ce2b312d.zip |
ARM: 8665/1: nommu: access ID_PFR1 only if CPUID scheme
Greg upon trying to boot no-MMU Kernel on ARM926EJ reported boot
failure. He root caused it to ID_PFR1 access introduced by the
commit mentioned in the fixes tag below.
All CP15 processors need not have processor feature registers, only
for architectures defined by CPUID scheme would have it. Hence check
for it before accessing processor feature register, ID_PFR1.
Fixes: f8300a0b5de0 ("ARM: 8647/2: nommu: dynamic exception base address setting")
Reported-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: afzal mohammed <afzal.mohd.ma@gmail.com>
Tested-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'arch/powerpc/sysdev/fsl_85xx_l2ctlr.c')
0 files changed, 0 insertions, 0 deletions