From patchwork Thu Jun 26 10:17:10 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Campbell X-Patchwork-Id: 32548 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ve0-f200.google.com (mail-ve0-f200.google.com [209.85.128.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id E60B72066E for ; Thu, 26 Jun 2014 10:19:14 +0000 (UTC) Received: by mail-ve0-f200.google.com with SMTP id i13sf6577132veh.3 for ; Thu, 26 Jun 2014 03:19:14 -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=Ut3AWOTXYDmlnPY4LOppfkgpO6ddIBIkpnXXrUZc040=; b=Fiy0DYrZaDR+UbK9NpxTqcgP+gIIKGuNyFoD5hpvdip4H0JaL0sYJ3o8XPZtTPj2CA osQZ6hU3jjJ1YwJksG/aWJIfjcmbGIbEZzUEw5kRW40cteTglpMN/NwPDrAdcdEmt/tp tWKs6ZeVRUmgKX5Q9PLeOuS0vPy8XK8tcbwsonN1fUI/ChLSbPaH8MJ13alXNmbAMKud RiwZ/Nb15d/hikYAf5ykuoeinuai+zmDTwQyDCnQknFFTsGtjioWeXGjuCbu80Qf1n57 5A2axa2PR1jZ8HV+8YPbnVVvH8pfIn+FWq/ogknt8zkP3UPwmt/VPuJ8jWOhDKJrfPat DEtw== X-Gm-Message-State: ALoCoQmhA6DWlVuYt/OEvmBdOkmwQTYtqXYNhtpPraa8xjBzDJq34T7+daOQnCkoqT6EL7lJTbsY X-Received: by 10.58.19.227 with SMTP id i3mr7410094vee.2.1403777954712; Thu, 26 Jun 2014 03:19:14 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.21.85 with SMTP id 79ls151370qgk.41.gmail; Thu, 26 Jun 2014 03:19:14 -0700 (PDT) X-Received: by 10.58.69.76 with SMTP id c12mr12153597veu.35.1403777954642; Thu, 26 Jun 2014 03:19:14 -0700 (PDT) Received: from mail-ve0-f175.google.com (mail-ve0-f175.google.com [209.85.128.175]) by mx.google.com with ESMTPS id yw1si4052404vdb.44.2014.06.26.03.19.14 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 26 Jun 2014 03:19:14 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.175 as permitted sender) client-ip=209.85.128.175; Received: by mail-ve0-f175.google.com with SMTP id jx11so3398280veb.20 for ; Thu, 26 Jun 2014 03:19:14 -0700 (PDT) X-Received: by 10.58.38.34 with SMTP id d2mr169790vek.58.1403777954545; Thu, 26 Jun 2014 03:19:14 -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.37.5 with SMTP id tc5csp19470vcb; Thu, 26 Jun 2014 03:19:14 -0700 (PDT) X-Received: by 10.221.58.144 with SMTP id wk16mr12365246vcb.23.1403777954162; Thu, 26 Jun 2014 03:19:14 -0700 (PDT) Received: from lists.xen.org (lists.xen.org. [50.57.142.19]) by mx.google.com with ESMTPS id r6si4059913vcy.51.2014.06.26.03.19.13 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 26 Jun 2014 03:19:14 -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 1X06k6-00065b-AR; Thu, 26 Jun 2014 10:17:22 +0000 Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1X06k4-000656-Si for xen-devel@lists.xen.org; Thu, 26 Jun 2014 10:17:21 +0000 Received: from [193.109.254.147:5719] by server-12.bemta-14.messagelabs.com id 26/B9-32179-033FBA35; Thu, 26 Jun 2014 10:17:20 +0000 X-Env-Sender: Ian.Campbell@citrix.com X-Msg-Ref: server-3.tower-27.messagelabs.com!1403777838!13757819!1 X-Originating-IP: [66.165.176.63] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogNjYuMTY1LjE3Ni42MyA9PiAzMDYwNDg=\n X-StarScan-Received: X-StarScan-Version: 6.11.3; banners=-,-,- X-VirusChecked: Checked Received: (qmail 16056 invoked from network); 26 Jun 2014 10:17:19 -0000 Received: from smtp02.citrix.com (HELO SMTP02.CITRIX.COM) (66.165.176.63) by server-3.tower-27.messagelabs.com with RC4-SHA encrypted SMTP; 26 Jun 2014 10:17:19 -0000 X-IronPort-AV: E=Sophos;i="5.01,552,1400025600"; d="scan'208";a="147289036" Received: from accessns.citrite.net (HELO FTLPEX01CL02.citrite.net) ([10.9.154.239]) by FTLPIPO02.CITRIX.COM with ESMTP; 26 Jun 2014 10:17:19 +0000 Received: from ukmail1.uk.xensource.com (10.80.16.128) by smtprelay.citrix.com (10.13.107.79) with Microsoft SMTP Server id 14.3.181.6; Thu, 26 Jun 2014 06:17:17 -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 1X06k1-0004Wh-C3; Thu, 26 Jun 2014 11:17:17 +0100 From: Ian Campbell To: Date: Thu, 26 Jun 2014 11:17:10 +0100 Message-ID: <1403777837-16779-1-git-send-email-ian.campbell@citrix.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1403777793.16595.21.camel@kazak.uk.xensource.com> References: <1403777793.16595.21.camel@kazak.uk.xensource.com> MIME-Version: 1.0 X-DLP: MIA1 Cc: julien.grall@linaro.org, tim@xen.org, Ian Campbell , stefano.stabellini@eu.citrix.com Subject: [Xen-devel] [PATCH v3 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.175 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 437885d..702ddfb 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)