From patchwork Wed Jul 2 12:34:49 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 32977 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f200.google.com (mail-ie0-f200.google.com [209.85.223.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id C072C20672 for ; Wed, 2 Jul 2014 12:36:45 +0000 (UTC) Received: by mail-ie0-f200.google.com with SMTP id tr6sf67892687ieb.7 for ; Wed, 02 Jul 2014 05:36:45 -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:cc:subject :precedence:list-id:list-unsubscribe:list-post:list-help :list-subscribe:mime-version:sender:errors-to:x-original-sender :x-original-authentication-results:mailing-list:list-archive :content-type:content-transfer-encoding; bh=QbqJigdXMpPntUci1xY65aOPme8A0+Az4c7MQHY5T14=; b=mn+t7rqgNNdD5WOXx88Jn5y+PaiCyQ/lgxj60CzElzbkou/gmIfaaKUTaW/l3oTFSt 7AbQgD4dH0zP5hFfyKI20ZMGIaQ/bDN3FLMIvKpw/rTTjYY3bEWG9LILxbQOnJs+5sJa jIrdoNfegsJlRJs6zqEIbu0Onjyeo4Y96+BLdsO/p6Fj2xq0R8JoqLlFnmeMKUSQbE1G 6gVqMo7+++dvCFUGhH5r0S35t41K7xgmPLeyDVjUgM9aZRrREX+mgTVZ+FKHb3JE4EXU kmsTnBn6XyHiRRfpiy/XJ5HA51Dz+ma42m1u8jDReY7/e9hJUcGDiwpDPgBgiUJ/I/R1 DQ1g== X-Gm-Message-State: ALoCoQmgN3fX7AfZpMHKKUasN1yo8GGBRluz1CXh4517myj1TFrN9pAGstPH3sblia8E7if+Ub3G X-Received: by 10.182.29.1 with SMTP id f1mr28234300obh.23.1404304605229; Wed, 02 Jul 2014 05:36:45 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.34.36 with SMTP id k33ls21395qgk.40.gmail; Wed, 02 Jul 2014 05:36:45 -0700 (PDT) X-Received: by 10.52.239.6 with SMTP id vo6mr77261vdc.59.1404304605057; Wed, 02 Jul 2014 05:36:45 -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 wz6si12845862vcb.13.2014.07.02.05.36.45 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 02 Jul 2014 05:36:45 -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 pa12so11297059veb.0 for ; Wed, 02 Jul 2014 05:36:45 -0700 (PDT) X-Received: by 10.58.243.1 with SMTP id wu1mr50591990vec.27.1404304604944; Wed, 02 Jul 2014 05:36:44 -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 tc5csp289993vcb; Wed, 2 Jul 2014 05:36:44 -0700 (PDT) X-Received: by 10.58.30.35 with SMTP id p3mr48410823veh.25.1404304604641; Wed, 02 Jul 2014 05:36:44 -0700 (PDT) Received: from lists.xen.org (lists.xen.org. [50.57.142.19]) by mx.google.com with ESMTPS id fn3si5384968vec.42.2014.07.02.05.36.44 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 02 Jul 2014 05:36:44 -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 1X2Jka-00052I-OL; Wed, 02 Jul 2014 12:35:00 +0000 Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1X2JkZ-00051q-0b for xen-devel@lists.xenproject.org; Wed, 02 Jul 2014 12:34:59 +0000 Received: from [85.158.137.68:43859] by server-14.bemta-3.messagelabs.com id 89/B6-19846-27CF3B35; Wed, 02 Jul 2014 12:34:58 +0000 X-Env-Sender: julien.grall@linaro.org X-Msg-Ref: server-2.tower-31.messagelabs.com!1404304497!13525896!1 X-Originating-IP: [74.125.82.178] X-SpamReason: No, hits=0.5 required=7.0 tests=BODY_RANDOM_LONG X-StarScan-Received: X-StarScan-Version: 6.11.3; banners=-,-,- X-VirusChecked: Checked Received: (qmail 18634 invoked from network); 2 Jul 2014 12:34:57 -0000 Received: from mail-we0-f178.google.com (HELO mail-we0-f178.google.com) (74.125.82.178) by server-2.tower-31.messagelabs.com with RC4-SHA encrypted SMTP; 2 Jul 2014 12:34:57 -0000 Received: by mail-we0-f178.google.com with SMTP id x48so11108462wes.9 for ; Wed, 02 Jul 2014 05:34:57 -0700 (PDT) X-Received: by 10.180.93.9 with SMTP id cq9mr4035858wib.27.1404304497222; Wed, 02 Jul 2014 05:34:57 -0700 (PDT) Received: from belegaer.uk.xensource.com ([185.25.64.249]) by mx.google.com with ESMTPSA id w9sm30203769wif.12.2014.07.02.05.34.55 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 02 Jul 2014 05:34:56 -0700 (PDT) From: Julien Grall To: xen-devel@lists.xenproject.org Date: Wed, 2 Jul 2014 13:34:49 +0100 Message-Id: <1404304489-24396-1-git-send-email-julien.grall@linaro.org> X-Mailer: git-send-email 1.7.10.4 Cc: stefano.stabellini@citrix.com, Julien Grall , tim@xen.org, ian.campbell@citrix.com Subject: [Xen-devel] [PATCH] xen/arm: Small fixes after GICv2 changes by commit ee65c87 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: , MIME-Version: 1.0 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: julien.grall@linaro.org 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: The commit ee65c87 moves the GICv2 code in a separate file. Even though this patch is only deals with code movement, a comment was modify for no reason. Also rename gic_v2_init into gicv2_setup which is what the function does and less confusing with the other function called gicv2_init. Signed-off-by: Julien Grall --- xen/arch/arm/gic-v2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xen/arch/arm/gic-v2.c b/xen/arch/arm/gic-v2.c index 695c232..74c72d6 100644 --- a/xen/arch/arm/gic-v2.c +++ b/xen/arch/arm/gic-v2.c @@ -372,12 +372,12 @@ static void gicv2_clear_lr(int lr) writel_relaxed(0, GICH + GICH_LR + lr * 4); } -static int gicv_v2_init(struct domain *d) +static int gicv2_setup(struct domain *d) { int ret; /* - * Domain 0 gets the hardware address. + * The hardware domain gets the hardware address. * Guests get the virtual platform layout. */ if ( is_hardware_domain(d) )