arch/arm/mm/proc-v7m.S | 10 ++++++++++ 1 file changed, 10 insertions(+)
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
On 10/13/24 14:24, Jisheng Zhang wrote: > 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> Reviewed-by: Vladimir Murzin <vladimir.murzin@arm.com>
On 10/14/24 10:42, Vladimir Murzin wrote: > On 10/13/24 14:24, Jisheng Zhang wrote: >> 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> > > Reviewed-by: Vladimir Murzin <vladimir.murzin@arm.com> Please, upload the patch in RMK's patch system [1] [1] https://www.arm.linux.org.uk/developer/patches/ Vladimir
© 2016 - 2024 Red Hat, Inc.