From patchwork Tue Aug 19 21:33:04 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Schopp X-Patchwork-Id: 35670 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pa0-f70.google.com (mail-pa0-f70.google.com [209.85.220.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 1BB7F202DD for ; Tue, 19 Aug 2014 21:34:42 +0000 (UTC) Received: by mail-pa0-f70.google.com with SMTP id lf10sf61915886pab.5 for ; Tue, 19 Aug 2014 14:34:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:user-agent :mime-version:cc:subject:precedence:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:errors-to:sender :x-original-sender:x-original-authentication-results:mailing-list :content-type:content-transfer-encoding; bh=FPUx15mv3qxXXVnChqHrYxH/i77WuVBmE+cBHPU9sjo=; b=ZvL3OQk3xVMbNRYkeB3artBQcaReJDqSGMSx5j5Vz9zpY90+Ftse4r1iTXTPHTRr5s tZtyrUO+3FK9Gn8USLZ7E/T8EYj+VV11GQ0na73M3E+8O8+8HgaN4U0h24hXdM0Wnfj1 +KS/IAwnpywQ8OmrzI1+e+09HubUucuHbQGb0a8WnGeIbzCLU9HKrKiOt+BvRqn1Agwn UTUGo1FfMgSeUrlb591xWClrvnXqHP9RprrW4aXfiYV2WRnKAsCdG7HX2tSAPrZl0Mj5 9sG75d5kJjlMu0iSiqefg8dzcdIxrihVLGBbG9ASptGe2ayGVT6rIdCIfm3DXGB/dErH nSGA== X-Gm-Message-State: ALoCoQn9iKYWvW1FldsatCj+n+9+gW9jybLrgQh9/dXHRM4Kco7/1DuAHRHNCK4qrtxQ5Iv5wrgx X-Received: by 10.68.222.194 with SMTP id qo2mr23337264pbc.6.1408484080242; Tue, 19 Aug 2014 14:34:40 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.98.99 with SMTP id n90ls26148qge.66.gmail; Tue, 19 Aug 2014 14:34:40 -0700 (PDT) X-Received: by 10.52.165.129 with SMTP id yy1mr2427982vdb.57.1408484080105; Tue, 19 Aug 2014 14:34:40 -0700 (PDT) Received: from mail-vc0-f178.google.com (mail-vc0-f178.google.com [209.85.220.178]) by mx.google.com with ESMTPS id rd6si9625714vcb.39.2014.08.19.14.34.40 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 19 Aug 2014 14:34:40 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.178 as permitted sender) client-ip=209.85.220.178; Received: by mail-vc0-f178.google.com with SMTP id la4so8187287vcb.37 for ; Tue, 19 Aug 2014 14:34:40 -0700 (PDT) X-Received: by 10.52.129.165 with SMTP id nx5mr20570298vdb.25.1408484080011; Tue, 19 Aug 2014 14:34:40 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.45.67 with SMTP id uj3csp983vcb; Tue, 19 Aug 2014 14:34:39 -0700 (PDT) X-Received: by 10.140.84.231 with SMTP id l94mr55928474qgd.84.1408484045211; Tue, 19 Aug 2014 14:34:05 -0700 (PDT) Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id i2si30950664qgf.114.2014.08.19.14.33.54 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 19 Aug 2014 14:34:05 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Received: from localhost ([::1]:53041 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XJr2Q-0006K2-6e for patch@linaro.org; Tue, 19 Aug 2014 17:33:54 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48753) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XJr1o-00063a-SB for qemu-devel@nongnu.org; Tue, 19 Aug 2014 17:33:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XJr1i-0006Dt-Ok for qemu-devel@nongnu.org; Tue, 19 Aug 2014 17:33:16 -0400 Received: from mail-bn1blp0190.outbound.protection.outlook.com ([207.46.163.190]:26942 helo=na01-bn1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XJr1i-0006DX-HV for qemu-devel@nongnu.org; Tue, 19 Aug 2014 17:33:10 -0400 Received: from BY1PR0201CA0001.namprd02.prod.outlook.com (25.160.191.139) by CO1PR02MB045.namprd02.prod.outlook.com (10.242.163.19) with Microsoft SMTP Server (TLS) id 15.0.1005.10; Tue, 19 Aug 2014 21:33:08 +0000 Received: from BN1BFFO11FD005.protection.gbl (2a01:111:f400:7c10::1:170) by BY1PR0201CA0001.outlook.office365.com (2a01:111:e400:4814::11) with Microsoft SMTP Server (TLS) id 15.0.1010.18 via Frontend Transport; Tue, 19 Aug 2014 21:33:08 +0000 Received: from atltwp02.amd.com (165.204.84.222) by BN1BFFO11FD005.mail.protection.outlook.com (10.58.144.68) with Microsoft SMTP Server id 15.0.1010.11 via Frontend Transport; Tue, 19 Aug 2014 21:33:07 +0000 X-WSS-ID: 0NAKP74-08-74M-02 X-M-MSG: Received: from satlvexedge01.amd.com (satlvexedge01.amd.com [10.177.96.28]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by atltwp02.amd.com (Axway MailGate 5.3.1) with ESMTPS id 21CEBD16083; Tue, 19 Aug 2014 16:33:03 -0500 (CDT) Received: from SATLEXDAG05.amd.com (10.181.40.11) by satlvexedge01.amd.com (10.177.96.28) with Microsoft SMTP Server (TLS) id 14.3.195.1; Tue, 19 Aug 2014 16:33:20 -0500 Received: from joelaarch64.amd.com (10.180.168.240) by satlexdag05.amd.com (10.181.40.11) with Microsoft SMTP Server (TLS) id 14.3.195.1; Tue, 19 Aug 2014 17:33:04 -0400 From: Joel Schopp To: Date: Tue, 19 Aug 2014 16:33:04 -0500 Message-ID: <20140819213304.19537.2834.stgit@joelaarch64.amd.com> User-Agent: StGit/0.17.1-4-g4a0c1 MIME-Version: 1.0 X-Originating-IP: [10.180.168.240] X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:165.204.84.222; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019006)(6009001)(428002)(199003)(189002)(74502001)(33646002)(44976005)(46102001)(53416004)(110136001)(77982001)(31966008)(19580405001)(74662001)(50466002)(85306004)(97736001)(68736004)(103116003)(77096002)(83322001)(54356999)(102836001)(97746001)(101416001)(23676002)(99396002)(50986999)(79102001)(19580395003)(81542001)(4396001)(87936001)(81342001)(21056001)(83506001)(92566001)(47776003)(20776003)(80022001)(107046002)(106466001)(229853001)(2351001)(83072002)(64706001)(85852003)(84676001)(105586002)(95666004)(76482001)(92726001)(86362001)(71626003); DIR:OUT; SFP:1102; SCL:1; SRVR:CO1PR02MB045; H:atltwp02.amd.com; FPR:; MLV:sfv; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;UriScan:; X-Forefront-PRVS: 0308EE423E Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) X-OriginatorOrg: amd4.onmicrosoft.com X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 X-Received-From: 207.46.163.190 Cc: Peter Maydell Subject: [Qemu-devel] [PATCH] aarch64: raise max_cpus to 8 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: joel.schopp@amd.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.178 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 I'm running on a system with 8 cpus and it would be nice to have qemu support all of them. The attached patch does that and has been tested. That said, I'm not sure if 8 is enough or if we want to bump this even higher now before systems with many more cpus come along. 255 anyone? Cc: Peter Maydell Signed-off-by: Joel Schopp --- hw/arm/virt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/arm/virt.c b/hw/arm/virt.c index 06f4fad..7a09260 100644 --- a/hw/arm/virt.c +++ b/hw/arm/virt.c @@ -605,7 +605,7 @@ static QEMUMachine machvirt_a15_machine = { .name = "virt", .desc = "ARM Virtual Machine", .init = machvirt_init, - .max_cpus = 4, + .max_cpus = 8, .has_dynamic_sysbus = true, };