From patchwork Wed Jul 27 13:58:30 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 72877 Delivered-To: patch@linaro.org Received: by 10.140.29.52 with SMTP id a49csp329001qga; Wed, 27 Jul 2016 07:01:40 -0700 (PDT) X-Received: by 10.107.146.195 with SMTP id u186mr31664317iod.112.1469628094456; Wed, 27 Jul 2016 07:01:34 -0700 (PDT) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org. [192.237.175.120]) by mx.google.com with ESMTPS id d136si7499040itd.22.2016.07.27.07.01.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 Jul 2016 07:01:34 -0700 (PDT) Received-SPF: neutral (google.com: 192.237.175.120 is neither permitted nor denied by best guess record for domain of xen-devel-bounces@lists.xen.org) client-ip=192.237.175.120; Authentication-Results: mx.google.com; spf=neutral (google.com: 192.237.175.120 is neither permitted nor denied by best guess record for domain of xen-devel-bounces@lists.xen.org) smtp.mailfrom=xen-devel-bounces@lists.xen.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bSPMM-0006S5-0A; Wed, 27 Jul 2016 13:58:54 +0000 Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bSPMK-0006Pa-9N for xen-devel@lists.xen.org; Wed, 27 Jul 2016 13:58:52 +0000 Received: from [85.158.137.68] by server-13.bemta-3.messagelabs.com id A8/80-06162-B1EB8975; Wed, 27 Jul 2016 13:58:51 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrKLMWRWlGSWpSXmKPExsVysyfVTVd634x wgx9/uC2WfFzM4sDocXT3b6YAxijWzLyk/IoE1oyGnQIFszkqpu0yaGBcxtbFyMUhJLCRUeLi toeMEM5pRol5my4xdzFycrAJaErc+fyJCcQWEZCWuPb5MiOIzSywkFHi7e4QEFtYIFzi7LL7b CA2i4CqxJwLq1hBbF4BF4l5nVNYQGwJATmJk8cmg8U5geK9ly6BzREScJY483cj6wRG7gWMDK sYNYpTi8pSi3QNDfWSijLTM0pyEzNzdA0NjPVyU4uLE9NTcxKTivWS83M3MQK9ywAEOxhX/3Y 6xCjJwaQkyrvIcUa4EF9SfkplRmJxRnxRaU5q8SFGGQ4OJQle571AOcGi1PTUirTMHGCYwaQl OHiURHhn7gZK8xYXJOYWZ6ZDpE4xKkqJ8wqA9AmAJDJK8+DaYKF9iVFWSpiXEegQIZ6C1KLcz BJU+VeM4hyMSsK8P/YATeHJzCuBm/4KaDET0OLiWLDFJYkIKakGxmbfC7ff9l1X1wsvX+ay7Y Tb77wrr1IaTCtXe3xd/+B8LlOGqRLHIfHS4vps83p7OyO+6gVCm9Ie8eucEWctO33s+A8fx9A GacmUK+nPttouLWtkCi87GP1y0YaVCVd/FQcfm2BQ4XSm2ea3wLInoXNuvORMv3D/GjNTyWkj Jsc5Kov2r18/U4mlOCPRUIu5qDgRADNC2Q1oAgAA X-Env-Sender: julien.grall@arm.com X-Msg-Ref: server-11.tower-31.messagelabs.com!1469627930!26439899!1 X-Originating-IP: [217.140.101.70] X-SpamReason: No, hits=0.0 required=7.0 tests= X-StarScan-Received: X-StarScan-Version: 8.77; banners=-,-,- X-VirusChecked: Checked Received: (qmail 25334 invoked from network); 27 Jul 2016 13:58:51 -0000 Received: from foss.arm.com (HELO foss.arm.com) (217.140.101.70) by server-11.tower-31.messagelabs.com with SMTP; 27 Jul 2016 13:58:51 -0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id B06F42F; Wed, 27 Jul 2016 07:00:06 -0700 (PDT) Received: from e108454-lin.cambridge.arm.com (e108454-lin.cambridge.arm.com [10.1.218.32]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 3611D3F25F; Wed, 27 Jul 2016 06:58:49 -0700 (PDT) From: Julien Grall To: xen-devel@lists.xen.org Date: Wed, 27 Jul 2016 14:58:30 +0100 Message-Id: <1469627910-3902-10-git-send-email-julien.grall@arm.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1469627910-3902-1-git-send-email-julien.grall@arm.com> References: <1469627910-3902-1-git-send-email-julien.grall@arm.com> Cc: sstabellini@kernel.org, steve.capper@arm.com, Julien Grall , shannon.zhao@linaro.org, shankerd@codeaurora.org, wei.chen@linaro.org Subject: [Xen-devel] [PATCH v3 9/9] xen/arm: Fix coding style and update comment in acpi_route_spis X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" The comment was not correctly indented. Also the preferred name for the initial domain is "hardware domain" and not "dom0, so replace it. Signed-off-by: Julien Grall Acked-by: Stefano Stabellini --- Changes in v3: - Add Stefano's acked-by Changes in v2: - Patch added --- xen/arch/arm/domain_build.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/xen/arch/arm/domain_build.c b/xen/arch/arm/domain_build.c index 5b2f8ad..35ab08d 100644 --- a/xen/arch/arm/domain_build.c +++ b/xen/arch/arm/domain_build.c @@ -1355,8 +1355,9 @@ static int acpi_route_spis(struct domain *d) for( i = NR_LOCAL_IRQS; i < vgic_num_irqs(d); i++ ) { /* - * TODO: Exclude the SPIs SMMU uses which should not be routed to Dom0. - */ + * TODO: Exclude the SPIs SMMU uses which should not be routed to + * the hardware domain. + */ desc = irq_to_desc(i); if ( desc->action != NULL) continue;