From patchwork Tue Jun 10 09:57:53 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Campbell X-Patchwork-Id: 31616 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qc0-f198.google.com (mail-qc0-f198.google.com [209.85.216.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 7B6992100A for ; Tue, 10 Jun 2014 09:59:55 +0000 (UTC) Received: by mail-qc0-f198.google.com with SMTP id m20sf5888983qcx.9 for ; Tue, 10 Jun 2014 02:59:55 -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=ijRU0n9T9u37FoIVhDw8ZApREt+tI84IFgau0Alg8q8=; b=GBFJsBh+pJF6YquZfwujhBT6PudJ7qOZa5IYHATqNwcOpBZvizphXXdysIPRN3Zo61 Jb9p4k4ptWJ1S/Nww7rXT4/WUDi/l+B8+iXYRnJWf7315ubXdfjvNkO5K7RQpE37K6VJ EjRkkcuP9ht5kr+2oJroH0VxFA9k7KrzLAVD1gsl0cIabTBetlYhLezuU91HojZm/97X sLv+s4Q9AHS1BxX+j849AiMAg8sGqQjDYh1bQE2hRI/7SHaFaMME8pUXDfiI2o2HDiIN klndoG3RXjDu/M4k7ppHNbalLdbk8DNox7UsUgkkxU+YRSvyc30iegTdo4lY9OsocBaJ ywFQ== X-Gm-Message-State: ALoCoQlFM4guN7ai2HRnSLxgtk1+ifh35MleJXCgOeQxilpzMqTHZCbk6f+KNjPz5id5PqST9twl X-Received: by 10.236.133.201 with SMTP id q49mr4277434yhi.1.1402394395233; Tue, 10 Jun 2014 02:59:55 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.109.247 with SMTP id l110ls1965628qgf.90.gmail; Tue, 10 Jun 2014 02:59:55 -0700 (PDT) X-Received: by 10.52.76.33 with SMTP id h1mr26900295vdw.45.1402394395064; Tue, 10 Jun 2014 02:59:55 -0700 (PDT) Received: from mail-vc0-f170.google.com (mail-vc0-f170.google.com [209.85.220.170]) by mx.google.com with ESMTPS id j2si12869625vdw.74.2014.06.10.02.59.55 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 10 Jun 2014 02:59:55 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.170 as permitted sender) client-ip=209.85.220.170; Received: by mail-vc0-f170.google.com with SMTP id hy10so3327256vcb.29 for ; Tue, 10 Jun 2014 02:59:55 -0700 (PDT) X-Received: by 10.58.220.230 with SMTP id pz6mr11389284vec.9.1402394394985; Tue, 10 Jun 2014 02:59:54 -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 vs6csp212641vcb; Tue, 10 Jun 2014 02:59:54 -0700 (PDT) X-Received: by 10.224.161.138 with SMTP id r10mr41772088qax.2.1402394394542; Tue, 10 Jun 2014 02:59:54 -0700 (PDT) Received: from lists.xen.org (lists.xen.org. [50.57.142.19]) by mx.google.com with ESMTPS id fo10si25915028qcb.35.2014.06.10.02.59.54 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 10 Jun 2014 02:59:54 -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 1WuIof-0007gb-5r; Tue, 10 Jun 2014 09:58:05 +0000 Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WuIod-0007gP-DR for xen-devel@lists.xen.org; Tue, 10 Jun 2014 09:58:03 +0000 Received: from [85.158.139.211:23592] by server-10.bemta-5.messagelabs.com id E3/5A-01434-AA6D6935; Tue, 10 Jun 2014 09:58:02 +0000 X-Env-Sender: Ian.Campbell@citrix.com X-Msg-Ref: server-5.tower-206.messagelabs.com!1402394280!9063329!1 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 6589 invoked from network); 10 Jun 2014 09:58:01 -0000 Received: from smtp.citrix.com (HELO SMTP.CITRIX.COM) (66.165.176.89) by server-5.tower-206.messagelabs.com with RC4-SHA encrypted SMTP; 10 Jun 2014 09:58:01 -0000 X-IronPort-AV: E=Sophos; i="4.98,1008,1392163200"; d="scan'208"; a="141868036" Received: from accessns.citrite.net (HELO FTLPEX01CL01.citrite.net) ([10.9.154.239]) by FTLPIPO01.CITRIX.COM with ESMTP; 10 Jun 2014 09:57:59 +0000 Received: from norwich.cam.xci-test.com (10.80.248.129) by smtprelay.citrix.com (10.13.107.78) with Microsoft SMTP Server id 14.3.181.6; Tue, 10 Jun 2014 05:57:59 -0400 Received: from marilith-n13-p0.uk.xensource.com ([10.80.229.115] helo=marilith-n13.uk.xensource.com.) by norwich.cam.xci-test.com with esmtp (Exim 4.72) (envelope-from ) id 1WuIoZ-000207-0z; Tue, 10 Jun 2014 09:57:59 +0000 From: Ian Campbell To: Date: Tue, 10 Jun 2014 10:57:53 +0100 Message-ID: <1402394278-9850-1-git-send-email-ian.campbell@citrix.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1402394127.29980.52.camel@kazak.uk.xensource.com> References: <1402394127.29980.52.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 1/6] 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.220.170 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)