Message ID | 20180620172226.15012-26-ulf.hansson@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patches@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp1051142lji; Wed, 20 Jun 2018 10:23:21 -0700 (PDT) X-Received: by 2002:a2e:635b:: with SMTP id x88-v6mr15648177ljb.103.1529515401203; Wed, 20 Jun 2018 10:23:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529515401; cv=none; d=google.com; s=arc-20160816; b=krHBYXL9gdmntkl2s5mg1emh7KctNMghIYzqrN735jMA8dhYW/3BN6SIeez0bCev02 4OX+ni0CT5/LT+85tqUEb3WqZvK0p8GSaqb3VgGAAnajc2Adyxi5jaY80sWd14vpaH23 w3qtg9GTu733+YDrmNgDH7Vt9GFgrZkAR+CcocHZr3ctWZbhIn8eSFoM1+WuGd21+UlK ymT2w9DVl9dYOAzrkEcpbSbeWGOxHtbH7eQbBvaNaqA/vcMMxzcHa2esD3/fPic5E34l 4VMhwD42MILEt2ekqwPtad42xu0aDHnDR6ACRxV88rozKgJbG7ZhckZOnzUwPvA3+PUy GATg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=A0wHhSMjy2YWUBymI+ELB3cg7YhnejdDuSmcctGS5h0=; b=BplwKcQNQD5l1+h82Bdru0+dJgDcqbwePHh20m/6/hQCcAU6HUcOSbex+2wzSRZh0l UYBCUVo88GH/srM/bDxxIDqOakjju3asvECjHV9GXuiZnH4NPA8X4EnTHARa/hJ7dyU6 rIf0nbhrSPBT7bPoPLEM4Bg0tZP+LJVnkD8r+sDpvjDsPfP9AMR9z3XXeiyVeOvsjkAH gkUJuGdQklYMmYwe2uHWyiXpRPQauMBKYr/HyMOEuzPiSX9qG9Qv0OEquJkWqhHzT9g/ W/JaynIlG00+ML+g5wT/WQ118TB4eKcabW4xIS0RXlNJGNTxF7gDbZ8OqC5M/lyqA5yi rXbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Cc4UVhff; spf=pass (google.com: domain of ulf.hansson@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=ulf.hansson@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <ulf.hansson@linaro.org> Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id l3-v6sor655039lfc.52.2018.06.20.10.23.21 for <patches@linaro.org> (Google Transport Security); Wed, 20 Jun 2018 10:23:21 -0700 (PDT) Received-SPF: pass (google.com: domain of ulf.hansson@linaro.org designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Cc4UVhff; spf=pass (google.com: domain of ulf.hansson@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=ulf.hansson@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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=A0wHhSMjy2YWUBymI+ELB3cg7YhnejdDuSmcctGS5h0=; b=Cc4UVhffJoYlqO+SbXv2kjA+4gpKKMPUH7+iUg1inol2Yd6GYumCkm6L9D0jffBF9g tId+4hG1pleNCzu5HlGkbCq6Z7yj6wdpXf2Fv4FuYgUNGv1mdzBpApn7ACORNAtB01sa h+4biO8cruT23jkl70yQj5Iby7nf+htjQvVeI= 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=A0wHhSMjy2YWUBymI+ELB3cg7YhnejdDuSmcctGS5h0=; b=sr/FR2AkJ5WMM0MzkUvHz69ZJCefw+AvjbUIyPzv9F7zAv4QFMkKzaKjrq7Xjs31m5 qBlGqqfvvss31QQKkLfTcMp0YTz307Qte9bfI0S7NMEpj8O+Xaj3GTypWvfY98p5lVwx Dweero9aXAKc1lmxTy/IBtxdszWyxzr5IIJI9mWLGjuadryiKoAdUMOV3kPNSj9Z3/bk qHqN1D5Gccsphxm10Ei+jjLFitRsZQQ7T4vPiTJf2fr0WcpFtp16a/dl52do//g2RpHm zm45o2anco9Kjf2eAi8yIUYD4r64/axVeR4B5fuqJIyL0pZSp+EkG72tTycDxxqLE63L BNoA== X-Gm-Message-State: APt69E1InsOtWUYNBMGDhAVYVCsPeARuVm/s0bejfdiHUzm/OgRw2zRs BJf16r/iHFgKv1RxNE/IViQChqMx X-Google-Smtp-Source: ADUXVKKGrJcQbuFacYuCzcPcajO2mFMxaQ9jmU/ZoosHYpnzyrE0TthM05Jg6JQq6VHUdQj72V3vRQ== X-Received: by 2002:a19:a78a:: with SMTP id q132-v6mr5269049lfe.126.1529515400950; Wed, 20 Jun 2018 10:23:20 -0700 (PDT) Return-Path: <ulf.hansson@linaro.org> Received: from localhost.localdomain (h-158-174-22-210.NA.cust.bahnhof.se. [158.174.22.210]) by smtp.gmail.com with ESMTPSA id b2-v6sm514441lji.85.2018.06.20.10.23.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 Jun 2018 10:23:20 -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>, Mark Rutland <mark.rutland@arm.com>, linux-pm@vger.kernel.org Cc: Kevin Hilman <khilman@kernel.org>, Lina Iyer <ilina@codeaurora.org>, Lina Iyer <lina.iyer@linaro.org>, Ulf Hansson <ulf.hansson@linaro.org>, Rob Herring <robh+dt@kernel.org>, Daniel Lezcano <daniel.lezcano@linaro.org>, Thomas Gleixner <tglx@linutronix.de>, Vincent Guittot <vincent.guittot@linaro.org>, Stephen Boyd <sboyd@kernel.org>, Juri Lelli <juri.lelli@arm.com>, Geert Uytterhoeven <geert+renesas@glider.be>, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Catalin Marinas <catalin.marinas@arm.com>, Will Deacon <will.deacon@arm.com> Subject: [PATCH v8 25/26] arm64: kernel: Respect the hierarchical CPU topology in DT for PSCI Date: Wed, 20 Jun 2018 19:22:25 +0200 Message-Id: <20180620172226.15012-26-ulf.hansson@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180620172226.15012-1-ulf.hansson@linaro.org> References: <20180620172226.15012-1-ulf.hansson@linaro.org> |
Series |
PM / Domains: Support hierarchical CPU arrangement (PSCI/ARM)
|
expand
|
diff --git a/arch/arm64/kernel/setup.c b/arch/arm64/kernel/setup.c index 30ad2f085d1f..574a5045f2f0 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(+) -- 2.17.1