From: sboyd@codeaurora.org (Stephen Boyd)
To: linux-arm-kernel@lists.infradead.org
Subject: [RFC PATCH] ARM: update legacy CPU ID in decompressor cache support jump table
Date: Mon, 3 Jun 2013 17:35:25 -0700 [thread overview]
Message-ID: <20130604003525.GI599@codeaurora.org> (raw)
In-Reply-To: <CAO1A-8AaWyp6eq7c5nkU=KBxwrm1CM3erXcsxLmYpCn2mHhMUA@mail.gmail.com>
On 06/03, Marc C wrote:
> Hello,
>
> The following is a formal RFC PATCH for the suggestion offered by rmk
> in this thread:
> http://lists.infradead.org/pipermail/linux-arm-kernel/2010-January/007871.html
>
> The previous mask values for the legacy ARM CPU IDs were conflicting
> with the CPU ID assignments for late-generation CPUs (like the
> Qualcomm MSM/QSD or Broadcom Brahma-15 processors). This change
> corrects the legacy ARM CPU ID value so that the jump table can
> fall-through to the appropriate cache maintenance / MMU functions.
>
> To: linux-arm-kernel at lists.infradead.org
> Signed-off-by: Marc Carino <marc.ceeeee@gmail.com>
> ---
> arch/arm/boot/compressed/head.S | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/boot/compressed/head.S b/arch/arm/boot/compressed/head.S
> index fe4d9c3..a1b9e83 100644
> --- a/arch/arm/boot/compressed/head.S
> +++ b/arch/arm/boot/compressed/head.S
> @@ -805,8 +805,8 @@ call_cache_fn: adr r12, proc_types
> .align 2
> .type proc_types,#object
> proc_types:
> - .word 0x00000000 @ old ARM ID
> - .word 0x0000f000
> + .word 0x41000000 @ old ARM ID
> + .word 0xff00f000
> mov pc, lr
> THUMB( nop )
> mov pc, lr
I sent a similar patch and Russell just applied it[1]. It removes
this entry on V7 builds. Your patch will also work for me.
[1] http://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=7736/1
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by The Linux Foundation
next prev parent reply other threads:[~2013-06-04 0:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-03 23:35 [RFC PATCH] ARM: update legacy CPU ID in decompressor cache support jump table Marc C
2013-06-04 0:35 ` Stephen Boyd [this message]
2013-06-04 2:23 ` Marc C
2013-06-04 9:34 ` Russell King - ARM Linux
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=20130604003525.GI599@codeaurora.org \
--to=sboyd@codeaurora.org \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.