# ARMv7 MMU and cache enabling code in boot/compressed/head.S

- From: Moon Hwa Hong \<hidden\>
- Date: 2011-08-26 00:31:27 
- List: linux-tegra
- Page: https://ratatoskr.run/linux-tegra/2011/08/3757313
- Thread: https://ratatoskr.run/linux-arm-kernel/2011/08/3757313/t.md

```text
Hi!

I started arm linux kernel hacking.
I can't understand 554 line.
I think that 554 line is not necessary.
Because ISB instruction(556 line) makes synchronization between 553 and 557.
Please advice to me.


530 __armv7_mmu_cache_on:
.
.
.
553         mcr p15, 0, r0, c1, c0, 0   @ load control register
554         mrc p15, 0, r0, c1, c0, 0   @ and read it back
555         mov r0, #0
556         mcr p15, 0, r0, c7, c5, 4   @ ISB
557         mov pc, r12

Have a nice day.

MH Hong.
```
