diff options
author | Paul Walmsley <paul@pwsan.com> | 2010-12-21 23:08:14 -0500 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2010-12-21 23:08:14 -0500 |
commit | 1124d2f9186ec9e42e1c3f78c20199ba2cb597e2 (patch) | |
tree | 03bc5dea770709662e4a0eeeadd2b9d94a4c1120 /arch/arm/mach-omap2/sram242x.S | |
parent | f1f4b7703f8fd165ece458ae97ebddb2b62b2ce3 (diff) |
OMAP2/3: SRAM: add comment about crashes during a TLB miss
Some users were observing crashes during the execution of CORE DVFS
code from OCM RAM -- a locally-modified copy of the linux-omap code.
Richard Woodruff tracked this down to a DTLB miss which had been
inadvertently and intermittently caused by the local modifications.
(The TLB miss caused the ARM MMU to attempt to walk the page tables
stored in SDRAM, which was not possible since SDRAM is off-line for a
portion of the CORE DVFS OCM RAM code.)
Add a note to the OMAP2 & OMAP3 CORE DVFS SRAM code to warn others that
changes may result in crashes here if they are not carefully tested.
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: Richard Woodruff <r-woodruff2@ti.com>
Cc: Jon Hunter <jon-hunter@ti.com>
Cc: Nishanth Menon <nm@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/sram242x.S')
-rw-r--r-- | arch/arm/mach-omap2/sram242x.S | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/sram242x.S b/arch/arm/mach-omap2/sram242x.S index 8e7e6fef09ef..055310cc77de 100644 --- a/arch/arm/mach-omap2/sram242x.S +++ b/arch/arm/mach-omap2/sram242x.S | |||
@@ -21,6 +21,12 @@ | |||
21 | * along with this program; if not, write to the Free Software | 21 | * along with this program; if not, write to the Free Software |
22 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, | 22 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, |
23 | * MA 02111-1307 USA | 23 | * MA 02111-1307 USA |
24 | * | ||
25 | * Richard Woodruff notes that any changes to this code must be carefully | ||
26 | * audited and tested to ensure that they don't cause a TLB miss while | ||
27 | * the SDRAM is inaccessible. Such a situation will crash the system | ||
28 | * since it will cause the ARM MMU to attempt to walk the page tables. | ||
29 | * These crashes may be intermittent. | ||
24 | */ | 30 | */ |
25 | #include <linux/linkage.h> | 31 | #include <linux/linkage.h> |
26 | #include <asm/assembler.h> | 32 | #include <asm/assembler.h> |