Skip to content

Commit 3c2bfba

Browse files
committed
Merge branch 'fixes' of git://git.armlinux.org.uk/~rmk/linux-arm
Pull ARM fixes from Russell King: "Three more fixes: - Fix the previous fix merged in the last pull for the Thumb2 decompressor. - A fix from Vladimir to correctly identify the V7M cache type. - The optimised 3G vmsplit case does not work with LPAE, so don't allow this to be selected for LPAE configurations" * 'fixes' of git://git.armlinux.org.uk/~rmk/linux-arm: ARM: 8682/1: V7M: Set cacheid iff DminLine or IminLine is nonzero ARM: 8681/1: make VMSPLIT_3G_OPT depends on !ARM_LPAE ARM: 8680/1: boot/compressed: fix inappropriate Thumb2 mnemonic for __nop
2 parents da8b14e + d360a68 commit 3c2bfba

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

arch/arm/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1416,6 +1416,7 @@ choice
14161416
config VMSPLIT_3G
14171417
bool "3G/1G user/kernel split"
14181418
config VMSPLIT_3G_OPT
1419+
depends on !ARM_LPAE
14191420
bool "3G/1G user/kernel split (for full 1G low memory)"
14201421
config VMSPLIT_2G
14211422
bool "2G/2G user/kernel split"

arch/arm/boot/compressed/efi-header.S

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
@ there.
1818
.inst 'M' | ('Z' << 8) | (0x1310 << 16) @ tstne r0, #0x4d000
1919
#else
20-
W(mov) r0, r0
20+
AR_CLASS( mov r0, r0 )
21+
M_CLASS( nop.w )
2122
#endif
2223
.endm
2324

arch/arm/kernel/setup.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ static void __init cacheid_init(void)
315315
if (arch >= CPU_ARCH_ARMv6) {
316316
unsigned int cachetype = read_cpuid_cachetype();
317317

318-
if ((arch == CPU_ARCH_ARMv7M) && !cachetype) {
318+
if ((arch == CPU_ARCH_ARMv7M) && !(cachetype & 0xf000f)) {
319319
cacheid = 0;
320320
} else if ((cachetype & (7 << 29)) == 4 << 29) {
321321
/* ARMv7 register format */

0 commit comments

Comments
 (0)