From patchwork Sun Oct 13 13:24:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jisheng Zhang X-Patchwork-Id: 13834020 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 01B0ACF2579 for ; Sun, 13 Oct 2024 13:41:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=fAIolXVamR43U9Nr7blZn6WR3qSBDZaHhjGfyOy35fU=; b=f4ZRnPmCzisOMNK3iJmGBwg5fw f7ZP+rP5gFK1Lzl0D9F1yX+s5fBEiF8vqq0T3MhMXM/43TlOQTHKGG/GCFwwJJP10sjMaFl10DD7j iSWBMKmjPzDq2Lu2COB98qrEy8FA093scJB+vy/quV4Bf3oOqi8oRW8bRTGYn2wAZv1TqrY31QqdA yKWF6KCW1ocdDrH8inzX56NnXN+CW851mPaVjiXeqPZCJH9MGSIr3yHcmYYVnANJcf0GTbFpvvAab xkesEuj54/PDpzs1AYRROON2fPXzqx5Vglv8/5r/HyB7SdeYoWnu+cacVbBNuxw/UbRbhpBqoGgPO 0nKaYKSA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1szyqO-00000002jSX-0nON; Sun, 13 Oct 2024 13:41:12 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1szyoz-00000002jKR-2haZ for linux-arm-kernel@lists.infradead.org; Sun, 13 Oct 2024 13:39:47 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 977D45C3F14; Sun, 13 Oct 2024 13:39:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C9A69C4CEC5; Sun, 13 Oct 2024 13:39:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1728826783; bh=uzLTAGz3TtqIRD8gVWK0hNU4xISDn+1hLbRXKYbV4To=; h=From:To:Cc:Subject:Date:From; b=EjVQ5dX6b3TDEthKgxifd8qdMRB9hMSYl86iCHiCRsXzAIvIpVSyPu2QJjiUYcVj+ tn3e65+n3S7evXD+fhYTfuXIg7NDDoD5NrI+8ijs8EFYEj9l+SEOLAwFKz7JM+iSK8 NiC0vbguJYmcnAmqAiAHKFmKbt8jKdFv9FZlh5v1gqxczDwnQ8IypEnfP3sZw7ZTp9 EuRv9YW8z8Mh/C09J57EqI0GTyQB39RZnZljqLA2WlAaCvc3MFG3LY7Hx53769UetC POKiuuIeP8pxJvto9fA78iheltR5lWOL3OnQu01xxs3voZeaMfZFh9JgKpvBtwZ2n6 STYBP1Exvu+mg== From: Jisheng Zhang To: Russell King , Vladimir Murzin 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 Message-ID: <20241013132435.2825-1-jszhang@kernel.org> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241013_063945_749717_F28CD63B X-CRM114-Status: UNSURE ( 8.95 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 Reviewed-by: Vladimir Murzin --- 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. */