Received: by 10.223.185.116 with SMTP id b49csp1168872wrg; Fri, 23 Feb 2018 13:11:33 -0800 (PST) X-Google-Smtp-Source: AH8x227Txw9Q/pPbw9aABclKtJlbztFczZILby7EKaRDyPbUt69oe8xov8QkinuCsYUU8OvDE36d X-Received: by 10.101.97.72 with SMTP id o8mr2458015pgv.119.1519420293596; Fri, 23 Feb 2018 13:11:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519420293; cv=none; d=google.com; s=arc-20160816; b=hpXz7vlA95TMKT8j6MI+QtGbgj7HGauNx0Nj2NMepxMV/yAB1JUBPCLzAmnxRNTX8s 1OIzat4T6xPbhlJGr8DmeLkl9CR5hn73tLQdf9eRC7BScDG1ZaLxBY4MQEQryRStzScu vGgdPPfQckPemhBg/lyupXETJs2VWMEHGTu9aqPxnKK2cOgLKZpMDjII2eBCUZ+ZdxBV RYwmESNUxow69nAiBcKU8OXDGtHlKvFqgmhxQxy2vxnbF4ON78sLG5Q7B6MpPMLiu1/P lymWtJo47yWsg7Qmat+GcxAdt3/MkND1ekTy62sFBJ+eHwndV/zNDtOCd8Li2rCwv0GL JMXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=Amtk+7mWyWduJ91TY8CEd/uBYe9HWvnniGvOwVpqJIY=; b=nfXb65m18aFwKiEfWfw3oYR55VMOSXpxatPHEi9GiY7cxAUUYuizR6gXZA5F0G8JIU 0m3zkZpU5L0tyyGwqBnlJ+eNDqhwrZ6OCRC6E5E397KCEiReVNZjf5M2BMNn0YrjIQSV +H8MS2KnrVVw0xedefMgI0WDxE8Vgi+RHkL0FieSvyqlg/cQS3G2bvg8Y5Ed/6Vt2jDz QwICQau9wxjHiZRKwkZd+5RLnR1QAgLu9tSTP/hPLTR9qtEbVDpGi+gaHk/NhxEaJCSX RwynJSlH6fbq4wVat5FqFbStvwKezGPBcNRESmgNks3RR+ULUE0T+dvdtmQTpNQLgUee NHCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=beSEqbTf; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j91-v6si2303849pld.353.2018.02.23.13.11.19; Fri, 23 Feb 2018 13:11:33 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=beSEqbTf; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752375AbeBWVJv (ORCPT + 99 others); Fri, 23 Feb 2018 16:09:51 -0500 Received: from mail-qk0-f195.google.com ([209.85.220.195]:45684 "EHLO mail-qk0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752255AbeBWVJs (ORCPT ); Fri, 23 Feb 2018 16:09:48 -0500 Received: by mail-qk0-f195.google.com with SMTP id g2so12411639qkd.12 for ; Fri, 23 Feb 2018 13:09:47 -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=rf4SSrjINfyvugGS/QntSb1x5b77LYOkW7fTOdYHptRLPe/TKByoaEkLvrDBxxW95r KNbP3kFqoIynk0XLxgoY9KAe8LL5wmLGTXaqLqhMXNsPuzjDE07BbU+xfR5VBsmBXvX8 5Fb2qvYxmtVJDMd/N8aGYjtt05FAzRVOuEw945t3WRtK9jVHSYGaKySboRND80hzcuBz e7S6JLUNkbh+4Q47pgpUXj90CGZi1cI/qPifRJbuDGfGjFc7bDGCvy7JlD4jEbE/eIy+ O0TTqbRwvJHIDyA+vnbHfte6uOAnLMofvaF4hMrNsQAar+vK0UDEs0gvLHcO+PfWEIT7 ka7A== X-Gm-Message-State: APf1xPBvgKRWXMQ2Toq8Srscg+WHcZV7ZSDI5PPMbybXb3wHazai74Hr icM4yuFBjqe/ixR1IjnQ7QU= 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 Cc: Doug Berger , Florian Fainelli , Russell King , Brian Norris , Gregory Fong , bcm-kernel-feedback-list@broadcom.com (maintainer:BROADCOM BCM7XXX ARM ARCHITECTURE), Vladimir Murzin , Philippe Ombredanne , Greg Kroah-Hartman , linux-kernel@vger.kernel.org (open list) 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> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 -- 2.14.1