Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: 5738/1: Correct TCM documentation

It turns out that the TCM memory can be remap:ed by the MMU just
like any other memory.

Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

authored by

Linus Walleij and committed by
Russell King
610ea6c6 6176d394

+6 -4
+6 -4
Documentation/arm/tcm.txt
··· 29 29 actually move the physical location of the TCM around. At the 30 30 place you put it, it will mask any underlying RAM from the 31 31 CPU so it is usually wise not to overlap any physical RAM with 32 - the TCM. The TCM memory exists totally outside the MMU and will 33 - override any MMU mappings. 32 + the TCM. 34 33 35 - Code executing inside the ITCM does not "see" any MMU mappings 36 - and e.g. register accesses must be made to physical addresses. 34 + The TCM memory can then be remapped to another address again using 35 + the MMU, but notice that the TCM if often used in situations where 36 + the MMU is turned off. To avoid confusion the current Linux 37 + implementation will map the TCM 1 to 1 from physical to virtual 38 + memory in the location specified by the machine. 37 39 38 40 TCM is used for a few things: 39 41