Message ID | 1521046715-30683-25-git-send-email-ulf.hansson@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id DD5946061F for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 14 Mar 2018 17:11:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CCD4E2239D for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 14 Mar 2018 17:11:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C10A528517; Wed, 14 Mar 2018 17:11:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id AD7C62239D for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 14 Mar 2018 17:11:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=x4Rqld12RyzPqthA/zUt7UaE6VC0VXFihT6GZsr+bM4=; b=lRWIy82jb44x9nw9DYj8evzyiO uAhhnvN3WsQmxGot5SbE0Ea6WdnnA6MqR+siPVlV2kWDVNvNuPNm/4zQ6nuKKGdT+4LLp1ycTrFdZ xJ3GuSCKSZQAGWx3HWa3ePBU3SKcPIiyR9/a9P86K2E22iUMVxa56lPpR395Cm0EjR9BfV/sSBzPx pJac6SnI1BHKLX0oZ/j2izcwegMrTKsIQbbjWw6mLY6XAFKpeB5T6Yy/6/8vLzWSctrE7h7A88Wlb yKf5Gw9g4iPqlCfl+F/2YKrNshiyG8WdBlhU/0lpbQvBvl+gQoRiVBWnA3U40io1KlzoopXRsuiqb 1B/tQB3Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1ew9vs-0007uv-MI; Wed, 14 Mar 2018 17:11:20 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1ew9s7-0004Fg-7G for linux-arm-kernel@bombadil.infradead.org; Wed, 14 Mar 2018 17:07:27 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=yNE497aPz9W7UIFPW6KZihJP9jsgHg4yN9657mM9uu8=; b=cijKmiLxmC5sMUxRHtez1lJAe xEL5Vg00ASYuBpeVwahN1A7D3pReUY9htoSBrpt/4tZmI7niPctNgmEcC7R9Q0mZE6r87wABQL4oA plDL/6qg5YRGEP10H1VMBBfVitXGcmfYfzO5/hATS7MChtnWkfdTO+f7cWEZZ4cpCblHEhfkvJa4y 6Lc2FENGV5ROXk+5lRV47Qm9A7pi96rM64w2Coy+Lq8HSIZBPJjf07rMLQbbi9T0YMK3Vi3T5gDGS nGwgxwzmUphUZkdZw/9Dfn7Fa1RVr5GgLLTIDVi8/zCjnZxft6wSUqsDEgsoYQ9sUYrElGPX9Djgm 7nnMy3Bhg==; Received: from mail-lf0-x242.google.com ([2a00:1450:4010:c07::242]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1ew9ks-0000tX-44 for linux-arm-kernel@lists.infradead.org; Wed, 14 Mar 2018 16:59:59 +0000 Received: by mail-lf0-x242.google.com with SMTP id v9-v6so5857078lfa.11 for <linux-arm-kernel@lists.infradead.org>; Wed, 14 Mar 2018 09:59:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=yNE497aPz9W7UIFPW6KZihJP9jsgHg4yN9657mM9uu8=; b=Ic09qpdC1/eLYVbhcYOz7+DecrWiCBR6jbpXMDJUom3xvGcUIjm106mQfyOxv8TWaC k1wPXk/0GB74zgPjsGwLyFQiwjdMlBBGgSh1EqMLMSncVhGoBP9yPmQwANX/u8fZEG6e Nikr8U337SBFAmOoK0Ysr7vHHjtY1m35BTE8A= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=yNE497aPz9W7UIFPW6KZihJP9jsgHg4yN9657mM9uu8=; b=qhoMLLhC7RpDgU08e4WkNssYspjQ2VvJ/7AwTTcp2M9UPUQoxNQnZtL9aIVKa4XMda QZJHjCHl4wFqryHAT53z9TcstpageMDLxd7VmC+FtvCrsgTB15PWLH6dUuV2+aRx8OPS E+o4w7mQIxoXAcB1dM3/iGuz/DoN+xb42gWIeI5uZal/ty00AH3UJsTaURdBUluL6SiN U8eYLSwNs24mt8DyZWGQfWLvCwbTl4nbOzp9ye7E60V4WhVp1Auqqy3ElIwhZO9h/pa+ I1KJU0IgEj4SHz1W232jsNAR2vEwCOX3B0wz2onGzDuvS30EtW2dhva32BuoyxO3NJdf n6DQ== X-Gm-Message-State: AElRT7F7OC7gl6HmRz6xP7afm6keOLpIK+8KOZNPKgQ9quV3EhdF4yi+ Tq44AZ0b9u0/9wkL/uGhECrWTw== X-Google-Smtp-Source: AG47ELtroVocYWjrkPQ4P6WWERCPllfN/8m25g8jmfA8KdhmuICrps0L5Y7S8Tna2vwtab3d+AT19w== X-Received: by 2002:a19:7b12:: with SMTP id w18-v6mr4095818lfc.104.1521046786756; Wed, 14 Mar 2018 09:59:46 -0700 (PDT) Received: from uffe-XPS-13-9360.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id t24-v6sm724849lfi.30.2018.03.14.09.59.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 14 Mar 2018 09:59:46 -0700 (PDT) From: Ulf Hansson <ulf.hansson@linaro.org> To: "Rafael J . Wysocki" <rjw@rjwysocki.net>, Sudeep Holla <sudeep.holla@arm.com>, Lorenzo Pieralisi <Lorenzo.Pieralisi@arm.com>, linux-pm@vger.kernel.org Subject: [PATCH v6 24/25] arm64: kernel: Respect the hierarchical CPU topology in DT for PSCI Date: Wed, 14 Mar 2018 17:58:34 +0100 Message-Id: <1521046715-30683-25-git-send-email-ulf.hansson@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1521046715-30683-1-git-send-email-ulf.hansson@linaro.org> References: <1521046715-30683-1-git-send-email-ulf.hansson@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180314_165958_169198_9479883A X-CRM114-Status: GOOD ( 14.44 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: Ulf Hansson <ulf.hansson@linaro.org>, Vincent Guittot <vincent.guittot@linaro.org>, Juri Lelli <juri.lelli@arm.com>, Geert Uytterhoeven <geert+renesas@glider.be>, Kevin Hilman <khilman@kernel.org>, Stephen Boyd <sboyd@kernel.org>, linux-arm-msm@vger.kernel.org, Daniel Lezcano <daniel.lezcano@linaro.org>, Will Deacon <will.deacon@arm.com>, linux-kernel@vger.kernel.org, Lina Iyer <ilina@codeaurora.org>, Rob Herring <robh+dt@kernel.org>, linux-arm-kernel@lists.infradead.org, Catalin Marinas <catalin.marinas@arm.com>, Thomas Gleixner <tglx@linutronix.de>, Lina Iyer <lina.iyer@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/arch/arm64/kernel/setup.c b/arch/arm64/kernel/setup.c index 30ad2f0..574a504 100644 --- a/arch/arm64/kernel/setup.c +++ b/arch/arm64/kernel/setup.c @@ -331,6 +331,9 @@ static int __init topology_init(void) { int i; + if (acpi_disabled) + psci_dt_topology_init(); + for_each_online_node(i) register_one_node(i);
To let the PSCI driver to parse the CPU topology in DT, as to create CPU PM domains in case the hierarchical layout is used, let's call psci_dt_topology_init() from the existing topology_init() subsys_initcall. Cc: Catalin Marinas <catalin.marinas@arm.com> Cc: Will Deacon <will.deacon@arm.com> Cc: Lina Iyer <ilina@codeaurora.org> Co-developed-by: Lina Iyer <lina.iyer@linaro.org> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> --- arch/arm64/kernel/setup.c | 3 +++ 1 file changed, 3 insertions(+)