From: corone.il.han@gmail.com (Il Han)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] head.S: The official name of the Cache Size Selection Register is CSSELR.
Date: Tue, 6 Sep 2011 20:45:48 +0900 [thread overview]
Message-ID: <1315309548-23188-1-git-send-email-corone.il.han@gmail.com> (raw)
The official name of the Cache Size Selection Register is CSSELR.
Modify it.
Signed-off-by: Il Han <corone.il.han@gmail.com>
---
arch/arm/boot/compressed/head.S | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arm/boot/compressed/head.S b/arch/arm/boot/compressed/head.S
index e95a598..72026dc 100644
--- a/arch/arm/boot/compressed/head.S
+++ b/arch/arm/boot/compressed/head.S
@@ -949,8 +949,8 @@ loop1:
and r1, r1, #7 @ mask of the bits for current cache only
cmp r1, #2 @ see what cache we have at this level
blt skip @ skip if no cache, or just i-cache
- mcr p15, 2, r10, c0, c0, 0 @ select current cache level in cssr
- mcr p15, 0, r10, c7, c5, 4 @ isb to sych the new cssr&csidr
+ mcr p15, 2, r10, c0, c0, 0 @ select current cache level in csselr
+ mcr p15, 0, r10, c7, c5, 4 @ isb to sych the new csselr&csidr
mrc p15, 1, r1, c0, c0, 0 @ read the new csidr
and r2, r1, #7 @ extract the length of the cache lines
add r2, r2, #4 @ add 4 (line length offset)
@@ -980,7 +980,7 @@ skip:
finished:
ldmfd sp!, {r0-r7, r9-r11}
mov r10, #0 @ swith back to cache level 0
- mcr p15, 2, r10, c0, c0, 0 @ select current cache level in cssr
+ mcr p15, 2, r10, c0, c0, 0 @ select current cache level in csselr
iflush:
mcr p15, 0, r10, c7, c10, 4 @ DSB
mcr p15, 0, r10, c7, c5, 0 @ invalidate I+BTB
--
1.7.4.1
next reply other threads:[~2011-09-06 11:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-06 11:45 Il Han [this message]
2011-09-06 11:55 ` [PATCH] head.S: The official name of the Cache Size Selection Register is CSSELR Catalin Marinas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1315309548-23188-1-git-send-email-corone.il.han@gmail.com \
--to=corone.il.han@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox