From patchwork Wed Dec 20 00:28:01 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Alistair Francis X-Patchwork-Id: 10124779 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 AB096603B5 for ; Wed, 20 Dec 2017 00:34:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 99D62285B7 for ; Wed, 20 Dec 2017 00:34:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8ECB8292E6; Wed, 20 Dec 2017 00:34:10 +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 D4C72285B7 for ; Wed, 20 Dec 2017 00:34:09 +0000 (UTC) Received: from localhost ([::1]:47144 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eRSKn-0003Ed-1h for patchwork-qemu-devel@patchwork.kernel.org; Tue, 19 Dec 2017 19:34:09 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54413) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eRSJE-00021M-Hd for qemu-devel@nongnu.org; Tue, 19 Dec 2017 19:32:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eRSJ9-00075n-LP for qemu-devel@nongnu.org; Tue, 19 Dec 2017 19:32:32 -0500 Received: from mail-bn3nam01on0055.outbound.protection.outlook.com ([104.47.33.55]:63232 helo=NAM01-BN3-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 1eRSJ9-00075b-Fa for qemu-devel@nongnu.org; Tue, 19 Dec 2017 19:32:27 -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=mxh2o/jcEOxY+BZlWpnQrwAp/xzGfGnsUQHY0+OHoZQ=; b=pIK7ufZ9yOoBqMnSUTmZQYMLftuOYsoQiDO2QOmDGi+XU3L/me4PYdsWe2wp6iKOyE2dsmk2PbCRiYMDiUPDDDFbQSDwtClspXOryfjq2ZD1BQMt67TRGsiAdByPh3mA4aFt5en/OkYMGsz0Jy5UZgXk7QgV2xZaDwEPr1bicyo= Received: from CY4PR02CA0017.namprd02.prod.outlook.com (10.169.188.27) by SN1PR02MB1344.namprd02.prod.outlook.com (10.162.0.15) 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:24 +0000 Received: from BL2NAM02FT061.eop-nam02.prod.protection.outlook.com (2a01:111:f400:7e46::209) by CY4PR02CA0017.outlook.office365.com (2603:10b6:903:18::27) 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:24 +0000 Authentication-Results: spf=pass (sender IP is 149.199.60.83) smtp.mailfrom=xilinx.com; amsat.org; dkim=none (message not signed) header.d=none;amsat.org; dmarc=bestguesspass action=none header.from=xilinx.com; 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 BL2NAM02FT061.mail.protection.outlook.com (10.152.77.7) 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:23 +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 1eRSJ5-00059w-0S; Tue, 19 Dec 2017 16:32:23 -0800 Received: from [127.0.0.1] (helo=localhost) by xsj-pvapsmtp01 with smtp (Exim 4.63) (envelope-from ) id 1eRSJ4-0000KR-3O; Tue, 19 Dec 2017 16:32:23 -0800 Received: from xsj-pvapsmtp01 (xsj-pvapsmtp01.xilinx.com [149.199.38.66]) by xsj-smtp-dlp2.xlnx.xilinx.com (8.13.8/8.13.1) with ESMTP id vBK0WF7f001139; Tue, 19 Dec 2017 16:32:15 -0800 Received: from [172.19.2.220] (helo=xsjalistai50.xilinx.com) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from ) id 1eRSIx-0000Jf-7h; Tue, 19 Dec 2017 16:32:15 -0800 From: Alistair Francis To: Date: Tue, 19 Dec 2017 16:28:01 -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)(979002)(39380400002)(346002)(39860400002)(396003)(376002)(2980300002)(438002)(189003)(199004)(8676002)(118296001)(50466002)(6666003)(316002)(9786002)(2351001)(5660300001)(106002)(2906002)(23676004)(2950100002)(6916009)(7696005)(50226002)(305945005)(39060400002)(54906003)(76176011)(356003)(106466001)(8936002)(47776003)(81156014)(36756003)(2870700001)(36386004)(551934003)(77096006)(4326008)(5820100001)(63266004)(81166006)(478600001)(107986001)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:SN1PR02MB1344; H:xsj-pvapsmtpgw01; FPR:; SPF:Pass; PTR:unknown-60-83.xilinx.com; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2NAM02FT061; 1:6cQ9e/fPrb2iBypTeMM739K7jRiEkdR0u9OYd3zIk+PxRGNFuzeO8BLXYFaeSZ2idZoHKq2i7K5M1hlW3y2CdndqkiW2IHorUCQqbna8f7W0kn575E7xXWG/5vQnDtlq X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ce0c79a3-1ebf-461a-d283-08d5474123a1 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(5600026)(4604075)(4608076)(2017052603307)(7153060); SRVR:SN1PR02MB1344; X-Microsoft-Exchange-Diagnostics: 1; SN1PR02MB1344; 3:dYtVkcVuhNZpp/a7uA/UDiiFMKLcsKLMQBw7irXI/Pkhn7bsYGRCoaUy0bp1RBxI8icMll87Ob3m9RJt3MR3OssP0kuHpd3J6xsOSfyyBP4PrrZTX15/9Oq73tAfPvC7bO6ACJlbTKmXVYUxchX9p0w0OTo+i+DqjsPi1unCazKHtLR0iFJKv9LoHlz+a6/RPR2W06qeXejE0/cyoU5vCefrVPAoRgG7wmfIJ+/X58ZYv6Ki0BcZ4z83JpWZcYKTcGieW6QTdmFBLX9W3ZqmBKls82eJ6DD33G3JbM0uvkcz8ksTUgWaNLDSiZnMU3RR3sQS/cVrzvJDJq59ORys7bJ75CAvlFJN6M5IKeRMzno=; 25:LR3zMECdvQzdvIyxG4yOCS+lSt6/O0hPz5n8Aa6NZkB/kZeTzqS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/0wDhlmSj8SAgey/wQxBd16CUPUp7g6t4O3QYBJVNMeKKKmumqH2EsKS8pos X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(192813158149592); X-Exchange-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:SN1PR02MB1344; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:SN1PR02MB1344; X-Microsoft-Exchange-Diagnostics: 1; SN1PR02MB1344; 4:nS33HBVSWM8Wq15zuGfko/tOr8KB9JD0i96gfDbBzXbTfvLp+B/+Z4DV3B9mm/rDd77uJIg4YzMeRCjq9VGXaO0ZPvsokxqrUWVNp02yenf9/Cp0KjiisRNmmaXilVu4ez2jnnWAuSOnWVYonAZ75AXcBD2eKJF/lSeyFUDQ++DmcaoKBKTM5a2TcpDeEK7416UIBoYxNyNw5pJONsf2nPQbThAwpwW7jSdjbrFk/tCJdaK8LqrB0W2bEJilUOwyV/Z07a9OJtXqUSxJXtXLeRjbf2LUE44lcXjtKymlU6NZVcvDWsQdX4sBCfcgZm6q X-Forefront-PRVS: 0527DFA348 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN1PR02MB1344; 23:PvxbspXp5Jf1mxvjOY8pQTHtZP/PP3CAhj0FH1K7S?= =?us-ascii?Q?36ttJMFWfbNxfA12oC4u0moCywuHntzBWA71hQdraBkIpNRex4NnO6A2iDPf?= =?us-ascii?Q?gx2Va4DciJ7YRaeI7DrQGm+VnWnkbzQihCptVGKbXbj8cN9uGQUhFJ9Kkw96?= =?us-ascii?Q?3jWbVhOD9EJ1qxEJexZzys+Qh+7zxMAgeEd3Pb+X5IhH3x8opXnKHyp20Byq?= =?us-ascii?Q?jtyCyffauU9BGWo5J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-OriginalArrivalTime: 20 Dec 2017 00:32:23.7172 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ce0c79a3-1ebf-461a-d283-08d5474123a1 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: SN1PR02MB1344 X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy] X-Received-From: 104.47.33.55 Subject: [Qemu-devel] [PATCH v4 5/5] xilinx_zynq: Specify the valid CPUs 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 List all possible valid CPU options. Signed-off-by: Alistair Francis Reviewed-by: Philippe Mathieu-Daudé --- V4: - Remove spaces V3: - Make variable static V2: - Fixup alignment hw/arm/xilinx_zynq.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hw/arm/xilinx_zynq.c b/hw/arm/xilinx_zynq.c index 1836a4ed45..4005230847 100644 --- a/hw/arm/xilinx_zynq.c +++ b/hw/arm/xilinx_zynq.c @@ -313,6 +313,11 @@ static void zynq_init(MachineState *machine) arm_load_kernel(ARM_CPU(first_cpu), &zynq_binfo); } +static const char *xlnx_zynq_7000_valid_cpus[] = { + ARM_CPU_TYPE_NAME("cortex-a9"), + NULL +}; + static void zynq_machine_init(MachineClass *mc) { mc->desc = "Xilinx Zynq Platform Baseboard for Cortex-A9"; @@ -321,6 +326,7 @@ static void zynq_machine_init(MachineClass *mc) mc->no_sdcard = 1; mc->ignore_memory_transaction_failures = true; mc->default_cpu_type = ARM_CPU_TYPE_NAME("cortex-a9"); + mc->valid_cpu_types = xlnx_zynq_7000_valid_cpus; } DEFINE_MACHINE("xilinx-zynq-a9", zynq_machine_init)