[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241013132435.2825-1-jszhang@kernel.org>
Date: Sun, 13 Oct 2024 21:24:35 +0800
From: Jisheng Zhang <jszhang@...nel.org>
To: Russell King <linux@...linux.org.uk>,
Vladimir Murzin <vladimir.murzin@....com>
Cc: linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: [PATCH] ARM: Add support for Cortex-M85 processor
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@...nel.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
Powered by blists - more mailing lists