]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: 7788/1: elf: fix lpae hwcap feature reporting in proc/cpuinfo
authorTetsuyuki Kobayashi <koba@kmckk.co.jp>
Mon, 22 Jul 2013 13:58:17 +0000 (14:58 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 22 Jul 2013 14:53:41 +0000 (15:53 +0100)
commit1c3e50aa6543324fe56e81c207fde01cf47d58b8
tree4b5782c0113112146741900481a96e21547a3444
parent2e4eb472821959e50b68b6b98983fddd04db4c23
ARM: 7788/1: elf: fix lpae hwcap feature reporting in proc/cpuinfo

Commit 8eba58c564c5 ("ARM: elf: add new hwcap for identifying atomic
ldrd/strd instructions") added a new hwcap to identify LPAE on CPUs
which support it. Whilst the hwcap data is correct, the string reported
in /proc/cpuinfo actually matches on HWCAP_VFPD32, which was missing
an entry in the string table.

This patch fixes this problem by adding a "vfpd32" string at the correct
offset, preventing us from falsely advertising LPAE on CPUs which do not
support it.

[will: added commit message]

Acked-by: Will Deacon <will.deacon@arm.com>
Tested-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Tetsuyuki Kobayashi <koba@kmckk.co.jp>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/setup.c