From: Jisheng Zhang <jszhang@kernel.org>
To: Russell King <linux@armlinux.org.uk>,
Vladimir Murzin <vladimir.murzin@arm.com>
Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: [PATCH] ARM: Add support for Cortex-M85 processor
Date: Sun, 13 Oct 2024 21:24:35 +0800 [thread overview]
Message-ID: <20241013132435.2825-1-jszhang@kernel.org> (raw)
Add processor info object for ARM Cortex-M85 CPU which inherits the
setup procedure, the processor and cache operation function from
Cortex-M7 processor info object.
Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
---
arch/arm/mm/proc-v7m.S | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/arch/arm/mm/proc-v7m.S b/arch/arm/mm/proc-v7m.S
index d4675603593b..ed7781c84341 100644
--- a/arch/arm/mm/proc-v7m.S
+++ b/arch/arm/mm/proc-v7m.S
@@ -194,6 +194,16 @@ ENDPROC(__v7m_setup)
.long \cache_fns
.endm
+ /*
+ * Match ARM Cortex-M85 processor.
+ */
+ .type __v7m_cm85_proc_info, #object
+__v7m_cm85_proc_info:
+ .long 0x410fd230 /* ARM Cortex-M85 0xD23 */
+ .long 0xff0ffff0 /* Mask off revision, patch release */
+ __v7m_proc __v7m_cm85_proc_info, __v7m_cm7_setup, hwcaps = HWCAP_EDSP, cache_fns = v7m_cache_fns, proc_fns = cm7_processor_functions
+ .size __v7m_cm85_proc_info, . - __v7m_cm85_proc_info
+
/*
* Match ARM Cortex-M55 processor.
*/
--
2.45.2
next reply other threads:[~2024-10-13 13:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-13 13:24 Jisheng Zhang [this message]
2024-10-14 9:42 ` [PATCH] ARM: Add support for Cortex-M85 processor Vladimir Murzin
2024-10-22 10:39 ` Vladimir Murzin
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=20241013132435.2825-1-jszhang@kernel.org \
--to=jszhang@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=vladimir.murzin@arm.com \
/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;
as well as URLs for NNTP newsgroup(s).