Skip to content
Snippets Groups Projects
Commit 3cc070c1 authored by afzal mohammed's avatar afzal mohammed Committed by Russell King
Browse files

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: f8300a0b ("ARM: 8647/2: nommu: dynamic exception base address setting")
Reported-by: default avatarGreg Ungerer <gerg@uclinux.org>
Signed-off-by: default avatarafzal mohammed <afzal.mohd.ma@gmail.com>
Tested-by: default avatarGreg Ungerer <gerg@uclinux.org>
Signed-off-by: default avatarRussell King <rmk+kernel@armlinux.org.uk>
parent 916a008b
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment