From: linux@arm.linux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/3] ARM: MM: Add the workaround of Errata 774769
Date: Mon, 10 Dec 2012 00:08:25 +0000 [thread overview]
Message-ID: <20121210000825.GH14363@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <001701cdd669$19e8cdd0$4dba6970$%kim@samsung.com>
On Mon, Dec 10, 2012 at 08:58:35AM +0900, Boojin Kim wrote:
>
> -3: mov r10, #0
> + /* Cortex-A15 Errata */
> +3: ldr r10, =0x00000c0f @ Cortex-A15 primary part number
> + teq r0, r10
> + bne 4f
> +#ifdef CONFIG_ARM_ERRATA_774769
There's not much point testing for the part number of the work-around isn't
enabled.
> + teq r6, #0x4 @ present in r0p4
> + mrceq p15, 0, r10, c1, c0, 1 @ read aux control register
tsteq r10, #1 << 15
to avoid writing to the aux control register if the errata has already been
applied.
> + orreq r10, r10, #1 << 25 @ set bit #25
> + mcreq p15, 0, r10, c1, c0, 1 @ write aux control register
> +#endif
> +
> +4: mov r10, #0
> mcr p15, 0, r10, c7, c5, 0 @ I+BTB cache invalidate
> dsb
> #ifdef CONFIG_MMU
> --
> 1.7.5.4
>
>
>
next prev parent reply other threads:[~2012-12-10 0:08 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-09 23:58 [PATCH 1/3] ARM: MM: Add the workaround of Errata 774769 Boojin Kim
2012-12-10 0:08 ` Russell King - ARM Linux [this message]
2012-12-10 1:19 ` Boojin Kim
2012-12-10 14:10 ` Santosh Shilimkar
2012-12-10 14:16 ` Russell King - ARM Linux
2012-12-10 14:20 ` Santosh Shilimkar
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=20121210000825.GH14363@n2100.arm.linux.org.uk \
--to=linux@arm.linux.org.uk \
--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