From patchwork Fri Feb 23 21:09:21 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Fainelli X-Patchwork-Id: 10239857 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 7359060390 for ; Fri, 23 Feb 2018 21:12:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6188C29831 for ; Fri, 23 Feb 2018 21:12:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 55D1829853; Fri, 23 Feb 2018 21:12:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id DF88929831 for ; Fri, 23 Feb 2018 21:12:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=RJJPQNVpft/o3+VnTBnPe8VSN9vfGbarZnxE4U1vEsc=; b=dat7stMULRrRB1e1py3zVtOPvk psU+p9MFAmNACb6lEryCGe2/zC+yWlhMF8ItbPdTEL4t3hklT4c6oE72zu5s+C47hS/PTRiOzf3hc ckpuFPu66/EV5iWNMqSHf8L++L/qf8DKi9UrWwLumdBMPvIZ7GUzpVS4ffQtWwPVnQaYmI9j2HVCW IQ1O+dl7HLoPEKNkNStC0ZR/kGL83JfPEJzOl8VEj1Scl9DZsokoK2l0U7WRVUsi2g+cMd/CSxVEp FkCngqW/ZV6Ny8kJtbAYNE8SBi6egMxTn0+iva18W7Nu0JDh+GATuNGAnpuqN3mg2n/2uRaR4GXbH 1Tr8E/Dw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1epKdz-0003Zq-I3; Fri, 23 Feb 2018 21:12:39 +0000 Received: from mail-qk0-x244.google.com ([2607:f8b0:400d:c09::244]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1epKbP-00018y-F9 for linux-arm-kernel@lists.infradead.org; Fri, 23 Feb 2018 21:10:15 +0000 Received: by mail-qk0-x244.google.com with SMTP id b130so12426073qkg.9 for ; Fri, 23 Feb 2018 13:09:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Amtk+7mWyWduJ91TY8CEd/uBYe9HWvnniGvOwVpqJIY=; b=beSEqbTfcQkPupk0RMPXQ9GZNHR1WJRC9sdLNFDMM3ay8en1MuCr0SYzRWVfB1MP5g LDKsDOMA/rmkpWiX3Rq1typP5DvcCSepc5Ukf+08X1ufXqC7sk4VIRwOz94AQCnIWmXp F70p5olqlmj0jUdpT7HhCr9g1zv8Z3CEMTZaVo1nziqU0lsNg1OYEgsJCvsh2TOUwy2u n9TNTS/A61Y1Trn1nxEvPu5MueGMapcKA0qMbhEH9TrhvG9Hy429GJ7uAcmZ5+DUpcaE ASnaoGDuiZtqOJcpez5zoqlb1mpYF8Qw4ELL6gprDemsxcCkgsLJOSR66Vh8bBlnSsY0 8Btg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Amtk+7mWyWduJ91TY8CEd/uBYe9HWvnniGvOwVpqJIY=; b=IJNHdI/NgQbvkm7157EnBPD1NSTmvaw6UC06YGxVzJ/3vksNVCwUeBJjJci8q1gb6C YcyOAML1X4Apizv1yXnk576aTLGcGj5p/iJrpZ4YMpwFaMn/DQrEEWFZpKKVtuFwqWN8 WXKvqiuT6l4o8qzf/tWuwWB1yPeZ6Doc5atCr7UPmUdqARhjweI5bHa3UL21Z4MN0OKP F+KGuShcWDhP/+x/q1hemus+90SvCWbuU9C4pziOlANJGVVW7auowuI9E6jEJhP7WlCo O5CnK5l14ySSGo3AZrXOTCJ/JVw48YOrYYzXJ2AwmIwlXyDY3bYkmw9ipyGwT1UOqKFp E+SA== X-Gm-Message-State: APf1xPCPnnLwZnjjbhFj/5J3Y2KTIrUM94Dd84aPRNic+cmQ/uGH4X/n JcjiXePJsfNtBv1jvchqyzVX1XQ3 X-Google-Smtp-Source: AG47ELvj8Hi4kouSOfepw8Ix3+qYINZOY3sDI1isMVDDpC4IgjPhOBBGP3jQfppYRtEJeoz5XZU+zg== X-Received: by 10.55.105.6 with SMTP id e6mr4878925qkc.192.1519420187423; Fri, 23 Feb 2018 13:09:47 -0800 (PST) Received: from fainelli-desktop.igp.broadcom.net ([192.19.223.250]) by smtp.gmail.com with ESMTPSA id m13sm1912561qtf.31.2018.02.23.13.09.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 23 Feb 2018 13:09:46 -0800 (PST) From: Florian Fainelli To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 2/4] ARM: add Broadcom Brahma-B53 main ID definition Date: Fri, 23 Feb 2018 13:09:21 -0800 Message-Id: <20180223210923.544-3-f.fainelli@gmail.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180223210923.544-1-f.fainelli@gmail.com> References: <20180223210923.544-1-f.fainelli@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180223_130959_599415_9E9A1B6A X-CRM114-Status: UNSURE ( 9.28 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Vladimir Murzin , Florian Fainelli , Greg Kroah-Hartman , Russell King , open list , Doug Berger , "maintainer:BROADCOM BCM7XXX ARM ARCHITECTURE" , Gregory Fong , Philippe Ombredanne , Brian Norris MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Doug Berger This commit allows a Broadcom Brahma-B53 core to be detected when executing an arm architecture kernel in aarch32 state. Signed-off-by: Doug Berger Signed-off-by: Florian Fainelli --- arch/arm/include/asm/cputype.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/include/asm/cputype.h b/arch/arm/include/asm/cputype.h index e7632f536633..6d1c7b22faea 100644 --- a/arch/arm/include/asm/cputype.h +++ b/arch/arm/include/asm/cputype.h @@ -59,6 +59,7 @@ ((mpidr >> (MPIDR_LEVEL_BITS * level)) & MPIDR_LEVEL_MASK) #define ARM_CPU_IMP_ARM 0x41 +#define ARM_CPU_IMP_BRCM 0x42 #define ARM_CPU_IMP_DEC 0x44 #define ARM_CPU_IMP_INTEL 0x69 @@ -76,6 +77,9 @@ #define ARM_CPU_PART_CORTEX_A15 0x4100c0f0 #define ARM_CPU_PART_MASK 0xff00fff0 +/* Broadcom implemented processors */ +#define ARM_CPU_PART_BRAHMA_B53 0x42001000 + /* DEC implemented cores */ #define ARM_CPU_PART_SA1100 0x4400a110