Message ID | 1389961514-13562-15-git-send-email-hanjun.guo@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBDWLZTMOWUARB6WN4SLAKGQEZKTPI7Q@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qa0-f71.google.com (mail-qa0-f71.google.com [209.85.216.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 1EDE620540 for <linaro@patches.linaro.org>; Fri, 17 Jan 2014 12:50:03 +0000 (UTC) Received: by mail-qa0-f71.google.com with SMTP id j5sf5922126qaq.2 for <linaro@patches.linaro.org>; Fri, 17 Jan 2014 04:50:02 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=W/w+eU6w0FBEQEsvpQOiCDug2N0bFua7iwz/gooz78Q=; b=iGdOgFsJmM8VBzuqC07Co/wGfM2Jj0nn+He8EhXJNtxw3MmGuyXyIAykJMbIRqZfEW k5bUDpCeoRxCwaITtImv92SB3yAfLV0KRsNoERHdpTyqabB3tztVib9TX9r4icAXLbea MeJOYWlO4qdb37aSrMgbFWrhPwNlDiSXtwDTJ3FkILWsJuxkPRpgLUjbFr7/EU0QBdTS cCOP+cs+NKZrqWCCzYQpltpYSZyytA8ERoXexu4AtrDnL4KzivxyN1HoLK1LQz/HgyY+ rUwv+gMP+4JnlV0GLqPyrELl77PhFm6Mt0pHHUSo49xtHQhPf/Fo+dGRTNuQZ/pqcMF4 hNFQ== X-Gm-Message-State: ALoCoQnDEexuGe3saSjkyT9K8zPkjrHFfHveyy+ufQtydw/5PkNtmUdgQrGS2Ua2W+wU3oNT7oq5 X-Received: by 10.236.127.199 with SMTP id d47mr479193yhi.29.1389963002226; Fri, 17 Jan 2014 04:50:02 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.82.135 with SMTP id i7ls1259599qey.30.gmail; Fri, 17 Jan 2014 04:50:02 -0800 (PST) X-Received: by 10.52.100.135 with SMTP id ey7mr82787vdb.58.1389963002126; Fri, 17 Jan 2014 04:50:02 -0800 (PST) Received: from mail-ve0-f181.google.com (mail-ve0-f181.google.com [209.85.128.181]) by mx.google.com with ESMTPS id x5si4851635veb.149.2014.01.17.04.50.02 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 17 Jan 2014 04:50:02 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.181 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.181; Received: by mail-ve0-f181.google.com with SMTP id cz12so1536230veb.40 for <patchwork-forward@linaro.org>; Fri, 17 Jan 2014 04:50:02 -0800 (PST) X-Received: by 10.220.58.202 with SMTP id i10mr822424vch.23.1389963002038; Fri, 17 Jan 2014 04:50:02 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.59.13.131 with SMTP id ey3csp17176ved; Fri, 17 Jan 2014 04:50:01 -0800 (PST) X-Received: by 10.68.34.37 with SMTP id w5mr1758912pbi.159.1389963001150; Fri, 17 Jan 2014 04:50:01 -0800 (PST) Received: from mail-pd0-f181.google.com (mail-pd0-f181.google.com [209.85.192.181]) by mx.google.com with ESMTPS id k3si10039506pbb.354.2014.01.17.04.50.00 for <patches@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 17 Jan 2014 04:50:01 -0800 (PST) Received-SPF: neutral (google.com: 209.85.192.181 is neither permitted nor denied by best guess record for domain of hanjun.guo@linaro.org) client-ip=209.85.192.181; Received: by mail-pd0-f181.google.com with SMTP id y10so411575pdj.40 for <patches@linaro.org>; Fri, 17 Jan 2014 04:50:00 -0800 (PST) X-Received: by 10.68.12.138 with SMTP id y10mr1814017pbb.101.1389963000731; Fri, 17 Jan 2014 04:50:00 -0800 (PST) Received: from localhost ([218.17.215.175]) by mx.google.com with ESMTPSA id ug2sm30359279pac.21.2014.01.17.04.49.10 for <multiple recipients> (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 17 Jan 2014 04:49:59 -0800 (PST) From: Hanjun Guo <hanjun.guo@linaro.org> To: "Rafael J. Wysocki" <rjw@rjwysocki.net>, Catalin Marinas <catalin.marinas@arm.com>, Will Deacon <will.deacon@arm.com>, Russell King - ARM Linux <linux@arm.linux.org.uk> Cc: linux-acpi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Grant Likely <grant.likely@linaro.org>, Matthew Garrett <mjg59@srcf.ucam.org>, Olof Johansson <olof@lixom.net>, Linus Walleij <linus.walleij@linaro.org>, Bjorn Helgaas <bhelgaas@google.com>, Rob Herring <robh@kernel.org>, Mark Rutland <mark.rutland@arm.com>, Arnd Bergmann <arnd@arndb.de>, patches@linaro.org, linux-kernel@vger.kernel.org, linaro-kernel@lists.linaro.org, linaro-acpi@lists.linaro.org, Charles.Garcia-Tobin@arm.com, Hanjun Guo <hanjun.guo@linaro.org>, Graeme Gregory <graeme.gregory@linaro.org> Subject: [PATCH 14/20] Irqchip / gic: Set as default domain so we can access from ACPI Date: Fri, 17 Jan 2014 20:25:08 +0800 Message-Id: <1389961514-13562-15-git-send-email-hanjun.guo@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1389961514-13562-1-git-send-email-hanjun.guo@linaro.org> References: <1389961514-13562-1-git-send-email-hanjun.guo@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: hanjun.guo@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.181 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: <patchwork-forward.linaro.org> X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe>, <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com> |
diff --git a/drivers/irqchip/irq-gic.c b/drivers/irqchip/irq-gic.c index 341c601..40fde7b 100644 --- a/drivers/irqchip/irq-gic.c +++ b/drivers/irqchip/irq-gic.c @@ -963,6 +963,13 @@ void __init gic_init_bases(unsigned int gic_nr, int irq_start, register_cpu_notifier(&gic_cpu_notifier); #endif set_handle_irq(gic_handle_irq); + + /* + * do not set default host for GIC domain multi-times. + * FIXME: This probably needs revisited when multi GICs + * supported + */ + irq_set_default_host(gic->domain); } gic_chip.flags |= gic_arch_extn.flags;