From patchwork Wed Dec 20 00:27:54 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Alistair Francis X-Patchwork-Id: 10124775 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 9DF73603B5 for ; Wed, 20 Dec 2017 00:33:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8341E292E6 for ; Wed, 20 Dec 2017 00:33:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 76E7229454; Wed, 20 Dec 2017 00:33:50 +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=-6.8 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A6443292E6 for ; Wed, 20 Dec 2017 00:33:49 +0000 (UTC) Received: from localhost ([::1]:47141 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eRSKR-000310-DH for patchwork-qemu-devel@patchwork.kernel.org; Tue, 19 Dec 2017 19:33:47 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54325) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eRSJ3-0001tW-S8 for qemu-devel@nongnu.org; Tue, 19 Dec 2017 19:32:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eRSIy-00070J-Uc for qemu-devel@nongnu.org; Tue, 19 Dec 2017 19:32:21 -0500 Received: from mail-bl2nam02on0068.outbound.protection.outlook.com ([104.47.38.68]:40755 helo=NAM02-BL2-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eRSIy-0006zz-N3 for qemu-devel@nongnu.org; Tue, 19 Dec 2017 19:32:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector1-xilinx-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=HOBBqRI+Ea4Bp6i1RkSbDmelFc+AsHPNgYU+sXH3rkY=; b=K24VkQ9Ybn8/JEJpXykPSUKxslEChzVA6aC8a38juoILBj7dNjPYvW3Smo6JXtIp9lyVdA1Gj5VtHPM/oHDv2Oz6cdR/nSp7YUaWWya8QcLKoxUKqrkGgC0dJcKlM+hviGLNua55gx3+Mk0nJd0OBzjERVNMX2CyhVLCX+JctMY= Received: from MWHPR0201CA0065.namprd02.prod.outlook.com (10.167.160.42) by CY1PR02MB1333.namprd02.prod.outlook.com (10.161.170.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.323.15; Wed, 20 Dec 2017 00:32:13 +0000 Received: from BL2NAM02FT006.eop-nam02.prod.protection.outlook.com (2a01:111:f400:7e46::200) by MWHPR0201CA0065.outlook.office365.com (2603:10b6:301:73::42) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.323.15 via Frontend Transport; Wed, 20 Dec 2017 00:32:12 +0000 Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.60.83 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.60.83; helo=xsj-pvapsmtpgw01; Received: from xsj-pvapsmtpgw01 (149.199.60.83) by BL2NAM02FT006.mail.protection.outlook.com (10.152.76.239) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.302.6 via Frontend Transport; Wed, 20 Dec 2017 00:32:12 +0000 Received: from unknown-38-66.xilinx.com ([149.199.38.66] helo=xsj-pvapsmtp01) by xsj-pvapsmtpgw01 with esmtp (Exim 4.63) (envelope-from ) id 1eRSIt-00059b-QY; Tue, 19 Dec 2017 16:32:11 -0800 Received: from [127.0.0.1] (helo=localhost) by xsj-pvapsmtp01 with smtp (Exim 4.63) (envelope-from ) id 1eRSIt-0000In-Oa; Tue, 19 Dec 2017 16:32:11 -0800 Received: from xsj-pvapsmtp01 (xsj-mail.xilinx.com [149.199.38.66]) by xsj-smtp-dlp2.xlnx.xilinx.com (8.13.8/8.13.1) with ESMTP id vBK0W82c001080; Tue, 19 Dec 2017 16:32:08 -0800 Received: from [172.19.2.220] (helo=xsjalistai50.xilinx.com) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from ) id 1eRSIp-0000IB-Vj; Tue, 19 Dec 2017 16:32:08 -0800 From: Alistair Francis To: Date: Tue, 19 Dec 2017 16:27:54 -0800 Message-ID: X-Mailer: git-send-email 2.14.1 In-Reply-To: References: MIME-Version: 1.0 X-RCIS-Action: ALLOW X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.2.0.1013-23538.006 X-TM-AS-User-Approved-Sender: Yes;Yes X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:149.199.60.83; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(39380400002)(39860400002)(396003)(346002)(376002)(2980300002)(438002)(189003)(199004)(6916009)(50466002)(118296001)(54906003)(6666003)(478600001)(81156014)(47776003)(81166006)(2950100002)(76176011)(36756003)(2870700001)(966005)(7696005)(23676004)(356003)(77096006)(8676002)(2351001)(305945005)(5820100001)(50226002)(8936002)(106466001)(316002)(6306002)(2906002)(36386004)(59450400001)(9786002)(4326008)(63266004)(5660300001)(39060400002)(106002)(107986001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR02MB1333; H:xsj-pvapsmtpgw01; FPR:; SPF:Pass; PTR:unknown-60-83.xilinx.com; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2NAM02FT006; 1:cUBSmVRuOtt9ZdEGZCf1VsyLJeFUBtksG/DqbZSWtVxqPbdlJ9K/BPfHCLVjMy9RClrM8+BNUkJT+IJasut++5Sb1GGJWW3wvPhMSrcaBGac80AxBsZ5sG3X+lczeIF9 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: c5bd61b1-9758-4abb-fbf1-08d547411ce5 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(5600026)(4604075)(4608076)(2017052603307)(7153060); SRVR:CY1PR02MB1333; X-Microsoft-Exchange-Diagnostics: 1; CY1PR02MB1333; 3:2TAkNenopdJ0FZ4aZdfvMsfTZhVbMAQNZieG2gXdpvrBCuDpj4HnC1KGrpEGJN0Q4xqZDWdaUZ9POGzbXXrm/65J5XrH7BVDSZSD4z0xtTiygOojiv+gVHIKgjE7lzBd2RtoGLTVafTe8zVB7+5DsXzGOBuO6gSfCFSd86pbeLbxnyuEehCl2+seeVFdBa2F4Rixqh62kitQjn3KtNUyHCGkREsThSMdO3uPgy5xaeC0DsO/F5qLpVVFGD0rVUKmDPfaIOrhLdbAejaxgfY6/0JWwuD0iLxV4w89ENNJwr892Y9THmzaYylm0XRCMHdKHhZ4UkCWp+GOa8KWBkkr2KESCMndsWZDUObSdeQhd9U=; 25:6oSDvFoGU9AeM1FooytjvCan/ADL/PuGPDRp2tHTSYsTTcYXr/OK1bDHTcetlf1qZKW0fHu3Ljx/uSUON13EEeTqx0e7UE+FgI3wtAp6Nw9H0+xGXH48YeKX4HzF7dxHMQt5SGDXQmc1UhuX4dzfMEV0/8dvDcGwugHlhh8S2knmL/d+rBHEvZmYH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ange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040467)(2401047)(5005006)(8121501046)(3002001)(10201501046)(3231023)(93006095)(93004095)(6055026)(6041265)(20161123560042)(20161123564042)(20161123562042)(201703131423092)(201702281528075)(20161123555042)(201703061421075)(201703061406153)(20161123558117)(6072148)(201708071742011); SRVR:CY1PR02MB1333; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:CY1PR02MB1333; X-Microsoft-Exchange-Diagnostics: 1; CY1PR02MB1333; 4:Ip7/ttIm96tkHOKy8Oh4EeLeK+MjTdjDUj6UL39EEjlEmw5bcek48HdDcU3IHQTkCVEG53Nc1vtzrZGBAzjaT8bS7qj7HDg1ne5NARP6s1B0xP4n0nHQWfiTsxGOOpcGAd8gN8M7hzHCc5PIFN8FuB13m7u88PPrSlDGvoDcLFKIZXaI0nkTWLi/I+ieBm7ObdnHOP7fLu+ZA/lXKhCka6jS8JDmJRRwO0Ip8oM4VBt2SfHHqhzwsC+XRSvVqmpfV5A6oqydMaH19BokOXBtBORsDKhWaSS9FcGEK0G7KrqbqtTuwY5Eunll0Y0YWOff X-Forefront-PRVS: 0527DFA348 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR02MB1333; 23:zO/7uBlk4Kky2bZ9dmBYjU1a+ONRYffoZn1uz4TI1?= =?us-ascii?Q?G7dxZrYjhE2qBseuRyF0GUt8j5wz7HUOOyEKhPDlIbbeaaLh076JRB3Ah7/C?= =?us-ascii?Q?qjO1PPIDrFiqBS8MBjQ5h3yDqvn1fLxcsSFebFlSQKNC+nM1QVk5d7OT/DYN?= =?us-ascii?Q?uQvzGt9usaoM6Js5mXpaBbrdiJqhReQzSE0jxegjtTKxkfdFunT+DyYdHLG4?= =?us-ascii?Q?CwxFN/AQffuuRwj21wk4fTpzDNGemkq48ZMPAe+FdwNdFwJQlZLyBJn2H8QA?= =?us-ascii?Q?9VG4/zkZAWlUv4iB99G8ajW5zYYsqL28rHpW6w9l2YzN9g6Kh01nj+WsqLMN?= =?us-ascii?Q?/FYj0C9CODFgX4zEODCN+fbsIfSi2rEp7YaL3FW/vgtlIQXQXoNazQXuSu3+?= =?us-ascii?Q?MnZ7tB+MkKyEhGoYfrwYcZ5qjshdfcHlGhyRhlCCDB9bCpQdmrCHYwHwJX3j?= =?us-ascii?Q?uvtChzC2cBQcaNFxzQ/mohYlnyRNI7MivDsohaZQSmEA17KHS8qfq4TjCwJH?= =?us-ascii?Q?WvzydjvFdUgjDBQpziuMWHRU0TBZOdh+QhFDDzt28cyZ0Lsf/DdsPEeh1xS8?= =?us-ascii?Q?p+D8otOEEEIE36Gn1IZeZTCUcjszv9gcqYkdRTC3zmcQqla7VFG806mxp3gg?= =?us-ascii?Q?D6Q3I75Rzr9kjltQGBB4yL2XftEh3Rn25ORnJ0+zva5Q9kjpvWacyP9Ug8F2?= =?us-ascii?Q?PNiR50P86396Af9W8V3gGees18zbjMATASsNgWeJKaHonJw3y6hTKSXBccqQ?= =?us-ascii?Q?potnXVVUdlV3ju+O/XTvWHy5VjX/o57RIUuQec1eJXa5SjnMu43VY8thxV4Q?= =?us-ascii?Q?le4eyM81hJUXmd4TDHDI0J8WHzTawnjkaNwlWZcSeNPsjQ6rvOhCT8UAM96z?= =?us-ascii?Q?7zNEwty8uPyyeTBjDgLyhnw6xes3IZgJ6eQoKoy1ilLMcZzHaOhOqr7yaEw9?= =?us-ascii?Q?RrkoBACYowswlVq1SRcV7sFWt8l5ptIXs1V6hINlDglkt2IUqQymM6ywmv+x?= =?us-ascii?Q?lvULDf2WvK3euzvJKwkXivAVr7RQTQdmCjwxNhZrak72c3i1JFPbFcrCGeL+?= =?us-ascii?Q?FX828vQAhEgDKWCvB+BFebrFCL6TeSV/+Lgbaci0ETu1IMozA=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; CY1PR02MB1333; 6:yI8WyWMOX6PzCGT+NKyvF7EemWZ+DgP9+f79gRBX30xFilBNME8ObcI49xbYSJAQO9Kp9JGZStbYtdrWrAKhugUhCOGaPirbPlQ44ALa1mCj3VtQ/6EQxlcdFC1i+WREBel7e/qwj2463G+oAc0UWW/hcmhfL75tCIp70tKPCF+Z9FbfQuXrwDjRdURTtBShvr8/ZpA8UxBFqFknCSBTR40hyDMXkRs0Zvv0epBif/hiEqP4y/6t7Hy9PifwHGkYglA5iPjXwwO1xqewH+iYq9U35ZseuNJSQxlHraK9i7EGrmvcWAQWIv9BpHg//QCuDGhKWohxtnmNsGr0bNYaKNS0+DXcJjdoXjy50tkt340=; 5:25oNhk4oldPw9f+nm/IcAoCD5Zng/4UkZxrIh6auFHwQkkY/hj/nXYybTlryZp6vlrpt6s8zKZWE6DAVW3jAW+52zitPpctVLMTgRSQ1qNYOjnSitcDV2deyPQ6E209DJt730Dt99orziXPziJNxvdE4KjkYDGuvxIZ7pDSLJEU=; 24:3mTUSNpnnqumRICDUPIxRsDfNx2Sc5SMX55lI972F8hdQTeZdoYzRVl0bJ1EhmHNt6yvjrXKapczTvfsdzHACrnuOkE+z3ht6GWfod0glHA=; 7:3SvWWTahl6nL/xLmkKKwCMKLjnzOupY+XvHuP4TbEoPzVqu1xonqrwVdjGqdIjVs2ZJQEt5LohRWN01j/2X9bPpW52eyChH06tgMAu3oJLW7PLlnOBxdWb4yLv70GwmdNJKoG1J6Wkb/N7VBulRY4Hrgg2HOSnGKoRBycBDjFFs6Q0AvKGOGAFuORrxbMFVuinLV71NkpI1cmSbsMoscccRrdAwm8ioEnirNh8CmvUzFeAQPmO37eqyoT/WR7c6l SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Dec 2017 00:32:12.4198 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c5bd61b1-9758-4abb-fbf1-08d547411ce5 X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c; Ip=[149.199.60.83]; Helo=[xsj-pvapsmtpgw01] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR02MB1333 X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy] X-Received-From: 104.47.38.68 Subject: [Qemu-devel] [PATCH v4 2/5] bcm2836: Use the Cortex-A7 instead of Cortex-A15 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: ehabkost@redhat.com, f4bug@amsat.org, alistair.francis@xilinx.com, imammedo@redhat.com, marcel@redhat.com, alistair23@gmail.com Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP The BCM2836 uses a Cortex-A7 not a Cortex-A15. Update the device to use the correct CPU. https://www.raspberrypi.org/documentation/hardware/raspberrypi/bcm2836/QA7_rev3.4.pdf Signed-off-by: Alistair Francis Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Igor Mammedov --- V3: - Use ARM_CPU_TYPE_NAME() macro V2: - Fix the BCM2836 CPU hw/arm/bcm2836.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/arm/bcm2836.c b/hw/arm/bcm2836.c index 8c43291112..c477772484 100644 --- a/hw/arm/bcm2836.c +++ b/hw/arm/bcm2836.c @@ -30,7 +30,7 @@ static void bcm2836_init(Object *obj) for (n = 0; n < BCM2836_NCPUS; n++) { object_initialize(&s->cpus[n], sizeof(s->cpus[n]), - "cortex-a15-" TYPE_ARM_CPU); + ARM_CPU_TYPE_NAME("cortex-a7")); object_property_add_child(obj, "cpu[*]", OBJECT(&s->cpus[n]), &error_abort); }