From patchwork Wed Jun 11 16:39:57 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Campbell X-Patchwork-Id: 31793 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qa0-f69.google.com (mail-qa0-f69.google.com [209.85.216.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 5748E2054B for ; Wed, 11 Jun 2014 16:41:32 +0000 (UTC) Received: by mail-qa0-f69.google.com with SMTP id w8sf11821qac.0 for ; Wed, 11 Jun 2014 09:41:32 -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:in-reply-to :references:mime-version:cc:subject:precedence:list-id :list-unsubscribe:list-post:list-help:list-subscribe:sender :errors-to:x-original-sender:x-original-authentication-results :mailing-list:list-archive:content-type:content-transfer-encoding; bh=n3yQ1aRUL21vqoIPS57feECiGnIiae7jKvK5RW6srHI=; b=OWC1AJVx3d9luTUEHWOhUmu+3CKsE5sTCMxPreBe2MYCNFQnMZ5cAJIXITf4I31wnb mBbtgQA4xVs0XADltANbd3fvnBd6LKC71RyD0FB/vPBB1Tl/a+GM08YsoB/dMUaqtXHN 87LWpTd7EUqMwDCPG6fXVTdxlWAbCJI95AqIN0Li2+4hAXb08oB1tE/2jdaALYOibgGD ELD4LDN3u4YB7fk7S9q1DthLKGat2mk5WdwHMkdRBudHajNoLT3YlSXb8P1zlOGIuTAM k8E5/woYpDaPdZE20G3qBP5jTQbr9jA/R0QXPeRqJt/OuJjZbrSIO5r+94oQogpgqtwo lVkQ== X-Gm-Message-State: ALoCoQkSVl5McSq7HqJ6pF0yEHpPBqfMk3bIoCOZkLCcPHUDMIojrG9c8q/QUlT2aLVV3DIar/VU X-Received: by 10.236.175.42 with SMTP id y30mr2052487yhl.42.1402504892195; Wed, 11 Jun 2014 09:41:32 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.91.201 with SMTP id z67ls2760790qgd.94.gmail; Wed, 11 Jun 2014 09:41:32 -0700 (PDT) X-Received: by 10.58.29.76 with SMTP id i12mr1117913veh.67.1402504892083; Wed, 11 Jun 2014 09:41:32 -0700 (PDT) Received: from mail-ve0-f169.google.com (mail-ve0-f169.google.com [209.85.128.169]) by mx.google.com with ESMTPS id cn9si13130385vcb.71.2014.06.11.09.41.32 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 11 Jun 2014 09:41:32 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.169 as permitted sender) client-ip=209.85.128.169; Received: by mail-ve0-f169.google.com with SMTP id pa12so5271163veb.28 for ; Wed, 11 Jun 2014 09:41:32 -0700 (PDT) X-Received: by 10.58.67.198 with SMTP id p6mr1185831vet.65.1402504892007; Wed, 11 Jun 2014 09:41:32 -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.54.6 with SMTP id vs6csp317896vcb; Wed, 11 Jun 2014 09:41:31 -0700 (PDT) X-Received: by 10.224.69.130 with SMTP id z2mr54920621qai.87.1402504891431; Wed, 11 Jun 2014 09:41:31 -0700 (PDT) Received: from lists.xen.org (lists.xen.org. [50.57.142.19]) by mx.google.com with ESMTPS id y9si32126480qat.45.2014.06.11.09.41.30 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 11 Jun 2014 09:41:31 -0700 (PDT) Received-SPF: none (google.com: xen-devel-bounces@lists.xen.org does not designate permitted sender hosts) client-ip=50.57.142.19; Received: from localhost ([127.0.0.1] helo=lists.xen.org) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WulZW-00016C-7e; Wed, 11 Jun 2014 16:40:22 +0000 Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WulZU-00014F-Jv for xen-devel@lists.xen.org; Wed, 11 Jun 2014 16:40:20 +0000 Received: from [85.158.143.35:10025] by server-3.bemta-4.messagelabs.com id 32/10-13602-37688935; Wed, 11 Jun 2014 16:40:19 +0000 X-Env-Sender: Ian.Campbell@citrix.com X-Msg-Ref: server-5.tower-21.messagelabs.com!1402504816!10734442!2 X-Originating-IP: [66.165.176.89] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogNjYuMTY1LjE3Ni44OSA9PiAyMDMwMDc=\n X-StarScan-Received: X-StarScan-Version: 6.11.3; banners=-,-,- X-VirusChecked: Checked Received: (qmail 8326 invoked from network); 11 Jun 2014 16:40:18 -0000 Received: from smtp.citrix.com (HELO SMTP.CITRIX.COM) (66.165.176.89) by server-5.tower-21.messagelabs.com with RC4-SHA encrypted SMTP; 11 Jun 2014 16:40:18 -0000 X-IronPort-AV: E=Sophos;i="5.01,459,1400025600"; d="scan'208";a="142556071" Received: from accessns.citrite.net (HELO FTLPEX01CL01.citrite.net) ([10.9.154.239]) by FTLPIPO01.CITRIX.COM with ESMTP; 11 Jun 2014 16:40:05 +0000 Received: from ukmail1.uk.xensource.com (10.80.16.128) by smtprelay.citrix.com (10.13.107.78) with Microsoft SMTP Server id 14.3.181.6; Wed, 11 Jun 2014 12:40:04 -0400 Received: from marilith-n13-p0.uk.xensource.com ([10.80.229.115] helo=marilith-n13.uk.xensource.com.) by ukmail1.uk.xensource.com with esmtp (Exim 4.69) (envelope-from ) id 1WulZE-0004h3-Py; Wed, 11 Jun 2014 17:40:04 +0100 From: Ian Campbell To: Date: Wed, 11 Jun 2014 17:39:57 +0100 Message-ID: <1402504804-29173-1-git-send-email-ian.campbell@citrix.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1402504640.16332.50.camel@kazak.uk.xensource.com> References: <1402504640.16332.50.camel@kazak.uk.xensource.com> MIME-Version: 1.0 X-DLP: MIA2 Cc: julien.grall@linaro.org, tim@xen.org, Ian Campbell , stefano.stabellini@eu.citrix.com Subject: [Xen-devel] [PATCH v2 1/8] xen: arm: dump vcpu gic info in arch_dump_vcpu_info X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Post: , List-Help: , List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: ian.campbell@citrix.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.128.169 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 List-Archive: Instead of looping over vcpus in arch_dump_domain_info Signed-off-by: Ian Campbell Acked-by: Julien Grall --- xen/arch/arm/domain.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/xen/arch/arm/domain.c b/xen/arch/arm/domain.c index 04d0cd0..e494112 100644 --- a/xen/arch/arm/domain.c +++ b/xen/arch/arm/domain.c @@ -742,12 +742,6 @@ int domain_relinquish_resources(struct domain *d) void arch_dump_domain_info(struct domain *d) { - struct vcpu *v; - - for_each_vcpu ( d, v ) - { - gic_dump_info(v); - } } @@ -770,6 +764,7 @@ long arch_do_vcpu_op(int cmd, struct vcpu *v, XEN_GUEST_HANDLE_PARAM(void) arg) void arch_dump_vcpu_info(struct vcpu *v) { + gic_dump_info(v); } void vcpu_mark_events_pending(struct vcpu *v)