From patchwork Wed Dec 1 13:29:08 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vladimir Murzin X-Patchwork-Id: 12694328 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 24B84C433FE for ; Wed, 1 Dec 2021 13:31:09 +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:References:In-Reply-To: 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: List-Owner; bh=hcj4mKHEgtjnm/GvKJYux/b4CXQJrtDGzptfhTq3sNY=; b=Yse8ZlP2L9+RqY SgLvAK3PYE+bOoZPsJCr5y6h2fp76gBuVRIaWW/HgI8Srn4wnBmj4joYH9+74n1rKGRyyfgTTfJq5 +872AI5E5tMRNZvpo/u0IqDEBMGzR0QI0c0Mb5J8B74ir7D0bisLAv073QKAolQhlmnUP0L9dSMmo 64oB0+/DYJhCSZeIIXj4PyTwZ0DXK8YrI2jTEgTcjvaF27QLgxxB4Nwq6DB+I8Se6wnZ4+Kokzcj7 3P5w5637KxcUrL/dVaCfUZYyns8ES8XT8wxHTWyLogkAybgaBwCA5KVE7vYyZxBnz+5eqKs4ERGH/ BxMvCImsbmzwSpo7219g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1msPfu-008q96-3w; Wed, 01 Dec 2021 13:29:30 +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-008q8A-2N 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 8D25A106F; Wed, 1 Dec 2021 05:29:24 -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 1508C3F5A1; 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 2/2] ARM: Add support for Cortex-M55 processor Date: Wed, 1 Dec 2021 13:29:08 +0000 Message-Id: <20211201132908.106711-2-vladimir.murzin@arm.com> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20211201132908.106711-1-vladimir.murzin@arm.com> References: <20211201132908.106711-1-vladimir.murzin@arm.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211201_052926_185085_FD82BD04 X-CRM114-Status: UNSURE ( 8.53 ) 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 From: Tigran Tadevosyan Add processor info object for ARM Cortex-M55 CPU which inherits the setup procedure, the processor and cache operation function from Cortex-M7 processor info object. Signed-off-by: Tigran Tadevosyan 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 fc12637..335144d 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-M55 processor. + */ + .type __v7m_cm55_proc_info, #object +__v7m_cm55_proc_info: + .long 0x410fd220 /* ARM Cortex-M55 0xD22 */ + .long 0xff0ffff0 /* Mask off revision, patch release */ + __v7m_proc __v7m_cm55_proc_info, __v7m_cm7_setup, hwcaps = HWCAP_EDSP, cache_fns = v7m_cache_fns, proc_fns = cm7_processor_functions + .size __v7m_cm55_proc_info, . - __v7m_cm55_proc_info + + /* * Match ARM Cortex-M33 processor. */ .type __v7m_cm33_proc_info, #object