From patchwork Wed Dec 1 13:29:07 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vladimir Murzin X-Patchwork-Id: 12694327 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 C3112C433EF for ; Wed, 1 Dec 2021 13:31:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=BAw6MDdyjiTE6XU/sy1BbqY5eiZd2a0wITxawnAtudI=; b=Q/BYb2dzcXhWN4 WkG9mZ0deX4EUR5lEc8G1pnLbIgwJT6vf7lulKHNcVcawIjDlF43LggcMCYllXFdXgFI0T0h/aEjJ UUz1Dxv4bVWnYAD1xqwUyBNGlpXbyXPRZ08Qs2oUwsIwJmokmCTyrdUwpGbor0FjXHIMNxTzei+Lj PQR8+KxRxxwd5NYp4BkKTFgX/WSas8+5EueN91GT8aOTRcZeJ2ARHNLNOMXgG91X/qJHvsg7qAago PrvYD4ox4qmAPhE/lPJYcspJyWOs2kmDEiq1uaRWypu8KvLoFMtww3LyqLlTfuc0qvj4qHz7EsfdT 9UBI849QF2ieHgeKqp+Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1msPg5-008q9y-DA; Wed, 01 Dec 2021 13:29:41 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1msPfq-008q89-2O for linux-arm-kernel@lists.infradead.org; Wed, 01 Dec 2021 13:29:27 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id D64C11FB; Wed, 1 Dec 2021 05:29:23 -0800 (PST) Received: from login2.euhpc.arm.com (login2.euhpc.arm.com [10.6.27.34]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 5E2033F5A1; Wed, 1 Dec 2021 05:29:23 -0800 (PST) From: Vladimir Murzin To: linux-arm-kernel@lists.infradead.org, linux@armlinux.org.uk Subject: [PATCH 1/2] ARM: Add support for Cortex-M33 processor Date: Wed, 1 Dec 2021 13:29:07 +0000 Message-Id: <20211201132908.106711-1-vladimir.murzin@arm.com> X-Mailer: git-send-email 2.24.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211201_052926_181981_B9F77DA1 X-CRM114-Status: UNSURE ( 8.32 ) 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 Cortex-M33 is the first feature rich implementation of the Armv8-M architecture (still compatible with v7M) Signed-off-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 84459c1..fc12637 100644 --- a/arch/arm/mm/proc-v7m.S +++ b/arch/arm/mm/proc-v7m.S @@ -194,6 +194,16 @@ ENDPROC(__v7m_setup) .endm /* + * Match ARM Cortex-M33 processor. + */ + .type __v7m_cm33_proc_info, #object +__v7m_cm33_proc_info: + .long 0x410fd210 /* ARM Cortex-M33 0xD21 */ + .long 0xff0ffff0 /* Mask off revision, patch release */ + __v7m_proc __v7m_cm33_proc_info, __v7m_setup, hwcaps = HWCAP_EDSP + .size __v7m_cm33_proc_info, . - __v7m_cm33_proc_info + + /* * Match ARM Cortex-M7 processor. */ .type __v7m_cm7_proc_info, #object