[PATCH] ARM: Add support for Cortex-M85 processor

Jisheng Zhang posted 1 patch 1 month, 2 weeks ago
arch/arm/mm/proc-v7m.S | 10 ++++++++++
1 file changed, 10 insertions(+)
[PATCH] ARM: Add support for Cortex-M85 processor
Posted by Jisheng Zhang 1 month, 2 weeks ago
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
Re: [PATCH] ARM: Add support for Cortex-M85 processor
Posted by Vladimir Murzin 1 month, 1 week ago
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>
Re: [PATCH] ARM: Add support for Cortex-M85 processor
Posted by Vladimir Murzin 1 month ago
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