Message ID | 20181129174700.16585-26-ulf.hansson@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patches@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp2672716ljp; Thu, 29 Nov 2018 09:47:53 -0800 (PST) X-Received: by 2002:a2e:9f0b:: with SMTP id u11-v6mr1533569ljk.99.1543513673785; Thu, 29 Nov 2018 09:47:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543513673; cv=none; d=google.com; s=arc-20160816; b=d8TJDbW4e7B/23ou7ixID/ljVedOibYZWXbod5mIsdXfA0o8lwx8os/DdskrwvMvWr vbpx1cwGePPpaTn9KEtwQuQlFiUOAEvdjn8gEXGMdUr5mONEXzD5zsl4f00NZrMboa6+ reFu5NYEMK0I2BX+8FMIffnf9le7vbjrnrEF4hiEsC5c4rPXiErLBo1YdHJeaKR3vNr4 zaMr6cFECcUPaPDIbsKYLm/YTpwA/Ey9IoCH2r87UBjPPbw7raHMQPkVBsG7Ic8AaJHS aZBriQfTqXa+gDxH7074e5CXd61WnubgI2xsTuCCThfsVzgjKHMkSDxXr/H01clRFMBb OmLg== 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; bh=creKAO5CsDdP5/fdWi07H8cJaJAAKbloLoHhussbOK8=; b=iGC0co2dSKN8/ZzWbmTV0VZqLv6E4K8AuFw+amSpiNc7UazQXFj/1ZjAmr8+iAV+LV llDYYuBSAVstHwSGsYZ9UXDrI2Oas5YzEVH5+BlSKEYB7Mbx1doxvd8ZVKqFvBC7cBws ntDgfPr+cdEFKK5t9pXdweXOo8S3SX0a7HL4Ztl6OGDvf1snSkRUCheimqPzWPnOK0IC h2VZcEPYxRNFzi1CRAcrcGcCRjdTYHKdoT88h7HZC6fG46gfr3BSyh2t6SCRoj+sEANS EKNgMY3VKf2pCjt5BZPiP5523tXoGCdx1LawZF06Q66IE77vHlw/w/jzEbAMba1UvW6J 7XlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Oq4RLwG9; 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 h14sor788652lfc.14.2018.11.29.09.47.53 for <patches@linaro.org> (Google Transport Security); Thu, 29 Nov 2018 09:47:53 -0800 (PST) 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=Oq4RLwG9; 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=creKAO5CsDdP5/fdWi07H8cJaJAAKbloLoHhussbOK8=; b=Oq4RLwG9RC6q2KpDvl5rQwPShMgDUxq9Bcao8uuCY9Q4AUGv2qJ6j4CCs4QQpzURNm TPpTC3Cm6RmvLVIsxY6SlVz5CJCcQKq09+p++pgz9zsmI8exx5qUyut7Q3F4AYFnUW5Q CrFgG6cAu86X9HxVLNMns/Wgs98w0VXiRfNds= 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=creKAO5CsDdP5/fdWi07H8cJaJAAKbloLoHhussbOK8=; b=fzI3ZTrhJfICiA+37xUC1UIvqe61mVsGHn43lOZlhsLHVoyJYqiy0F2kLZbXcI08S9 AXJxfXJRIESHBWqqartRixV8AirochbwpxlufCrxn6nTqA6ENsz4sNjLQHb2lIebM6XP 1qoaGaEYJSmPOvQtzgA1ociVrancAMTajEgCTK5KQLioM8KVSeVkXi9uKDTsMEvxmrCS y7Pt02HV5l6xn7lUsixfAneE4n9v0XwIpaG3FmUein6KfcsKQ+OTyBNWBxHRUDD5lK01 tN0V3NCmpHk3y0rkKKLatDGuZQF0o0r2c6PdmfIimVDcA0pHpkDTkxUJ9gMD++/OTrBS DWYA== X-Gm-Message-State: AA+aEWZazPRwqHqFfPSJu3njQ0AzeY93/CQ4YjWDJeVnDIGax805FLql rdI3v2D3w7pm6hSB1H7oqqSnq+1J X-Google-Smtp-Source: AFSGD/XXZec1/y3UQsrlSnc/06AM5EYbLIVlOfcxbfHPLR90+FhEc7xHuwtxbcuBhvmXGgdvSxh8tw== X-Received: by 2002:a19:6e0b:: with SMTP id j11mr1724953lfc.124.1543513673516; Thu, 29 Nov 2018 09:47:53 -0800 (PST) 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 j76-v6sm393983ljb.12.2018.11.29.09.47.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 29 Nov 2018 09:47:52 -0800 (PST) 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>, Daniel Lezcano <daniel.lezcano@linaro.org>, linux-pm@vger.kernel.org Cc: "Raju P . L . S . S . S . N" <rplsssn@codeaurora.org>, Stephen Boyd <sboyd@kernel.org>, Tony Lindgren <tony@atomide.com>, Kevin Hilman <khilman@kernel.org>, Lina Iyer <ilina@codeaurora.org>, Ulf Hansson <ulf.hansson@linaro.org>, Viresh Kumar <viresh.kumar@linaro.org>, Vincent Guittot <vincent.guittot@linaro.org>, 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 v10 25/27] arm64: kernel: Respect the hierarchical CPU topology in DT for PSCI Date: Thu, 29 Nov 2018 18:46:58 +0100 Message-Id: <20181129174700.16585-26-ulf.hansson@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181129174700.16585-1-ulf.hansson@linaro.org> References: <20181129174700.16585-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 f4fc1e0544b7..4d59a72f8b0b 100644 --- a/arch/arm64/kernel/setup.c +++ b/arch/arm64/kernel/setup.c @@ -364,6 +364,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 parse for the hierarchical CPU topology in DT and thus potentially initiate the corresponding PM domain data structures, 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> --- Changes in v10: - None. --- arch/arm64/kernel/setup.c | 3 +++ 1 file changed, 3 insertions(+) -- 2.17.1