Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1850188imu; Wed, 28 Nov 2018 16:37:06 -0800 (PST) X-Google-Smtp-Source: AJdET5d/hEXRHvUXFqQ46HZDiZrLoK0LxzarT07MIilCGRdFRMW76eas7iSKiEQceR8gG9RBERig X-Received: by 2002:a62:e704:: with SMTP id s4mr40274928pfh.124.1543451826376; Wed, 28 Nov 2018 16:37:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543451826; cv=none; d=google.com; s=arc-20160816; b=RHSda9r8pwSvfaHTxwC/15EfbLPY2yEnUxq4xV3n827yvU/zsz3WbTIgHYXF45cgX/ /URGCKN6X9azufFO1fbain5K0AybCrHvpOegVDLH3EYw8mR25dAuvfMa6ySl4kqAQAbc wbkEqBZrN0tgc9HJrZrduZl0HKRyDKRGmPTC8lkEnHmTycUz6Sho0Sk2cJe7gSKBgrOE 78FRtp/aAljePaMGKH+Pmoo0q47YTUoXbsvGR3zbmytWG1UZJpUQ/TYdi0MXHwCmFAfw Ys8EwxeaGIvrrEg1dox5sLYzkwgiyu2nI2EIJpIVRnG+xG27f7sCw6fVadIc7Fbe4C+k p27A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature; bh=hndcEIZvQSPxo331N4IP2E3Cu/Bllx4uMSSHcVyGMbs=; b=iivUDMrQEdfU560vjxYOKkZhsKcna8hVFx6nWLqEdTzhMMkrMPcykQfEp20H3v6/q0 jx9treG6VsrXuaatPTceufBCNN5l27/YSkdQmxLP8ZD++BWlmyYbLpBQCf0ozz+lSg1R LAVSS6MifkdHMWJqOzehDyt9IRu8o53uYbwcTV9rIBV6labZy6voD4w/zL3s74CQ6OLC Gb6d8rSA9WD2wfzlgzyyRh/3Xa5pmE5JCopoqazGIZT+0QGIVBJWRcDTjK2j5JuUY3W2 hyT/cmCNpnEUEKhjtXpqIZbsUSAyX068CmkRG6E2XidMjC/YngoXZ2PLbZ1XfYweIpIV GdgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=rDzDTkc1; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s8si138005pgm.508.2018.11.28.16.36.51; Wed, 28 Nov 2018 16:37:06 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=rDzDTkc1; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727028AbeK2Lid (ORCPT + 99 others); Thu, 29 Nov 2018 06:38:33 -0500 Received: from mail-pf1-f196.google.com ([209.85.210.196]:45912 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726713AbeK2Lid (ORCPT ); Thu, 29 Nov 2018 06:38:33 -0500 Received: by mail-pf1-f196.google.com with SMTP id g62so81750pfd.12 for ; Wed, 28 Nov 2018 16:35:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=hndcEIZvQSPxo331N4IP2E3Cu/Bllx4uMSSHcVyGMbs=; b=rDzDTkc1rqdCDn021yXemMAI/PGfBc4LcVeeCp451EsSqOr62YTwKA9Lg8zpiZ41cn uXgys0veMOi+lUCpcSVzvg7S5pT1M1vz8MudcGr3ynYUH8xkpThiBZMXFaGyo1Mvc3CE wpn3yf1AtbSo+xDwf5eWtvqPJTe8tRD+KInbOFl8s54WCrozRCK/iuQtppIABAJ+A5N+ 1Jpk25n/gPAutYwmPJYLMDwd03c+pu2J05jWCUFLC2v0ULCjwFdJBy0dhSTM3lWu9lDX uEmmphxwU8JT/VxQhgw09FMdXclbWFH/7d+1GkS3PbPzuhpf1mOlTzbLP+EBQ69BNP+j 3S6Q== 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:in-reply-to:references:date :message-id:mime-version; bh=hndcEIZvQSPxo331N4IP2E3Cu/Bllx4uMSSHcVyGMbs=; b=GWdItbg5CQ+nqXZj5BE0d4WF4rXWx/dpyV2HaS3zHbTf/e4tzsDEFPVWzzPt6l6Tl/ NbWFrAuPD2VyrAIJVebdiB660bGfSmjYuP86fvEfkmNDKgmbVnvThyIVDC+l8MV7I69M lTMXzlFVyl5li0su88Pb7QtKYa/wygm+xSQ+nv0mYRnEKvhJsKldrtAeQcdsR+IB0QK5 9/PRJvMRj4cnJA4WcXCjW+vj98fh4kjeBqFnxUQXSk4P5gXfcH0JLVsTVeHZYZaNthyY YSK8Gr4KDADBUftJFfzrDmMSyHwv3KiBvm+7S3+OKE5/xHBeb+QNwUPGodvIpq0/maiE fwTQ== X-Gm-Message-State: AA+aEWZvrFVXhAgfrFjav1l+3mduMBVTmqSvp03CSZ0lk0f2gEr7ERL2 RG2MYD9pEXub/4NhnZlVGCnNwg== X-Received: by 2002:a63:4e15:: with SMTP id c21mr35208834pgb.50.1543451704773; Wed, 28 Nov 2018 16:35:04 -0800 (PST) Received: from localhost (c-71-197-186-152.hsd1.wa.comcast.net. [71.197.186.152]) by smtp.googlemail.com with ESMTPSA id t13sm127956pgr.42.2018.11.28.16.35.03 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 28 Nov 2018 16:35:04 -0800 (PST) From: Kevin Hilman To: Viresh Kumar , Mark Rutland , Rob Herring , arm@kernel.org, Carlo Caione Cc: Viresh Kumar , devicetree@vger.kernel.org, Vincent Guittot , Daniel Lezcano , linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 01/10] ARM64: dts: amlogic: Add all CPUs in cooling maps In-Reply-To: <2778d0d4813cc56be851719846afecbab5f2e657.1542362530.git.viresh.kumar@linaro.org> References: <2778d0d4813cc56be851719846afecbab5f2e657.1542362530.git.viresh.kumar@linaro.org> Date: Wed, 28 Nov 2018 16:35:03 -0800 Message-ID: <7hd0qod8lk.fsf@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Viresh Kumar writes: > Each CPU can (and does) participate in cooling down the system but the > DT only captures a handful of them, normally CPU0, in the cooling maps. > Things work by chance currently as under normal circumstances its the > first CPU of each cluster which is used by the operating systems to > probe the cooling devices. But as soon as this CPU ordering changes and > any other CPU is used to bring up the cooling device, we will start > seeing failures. > > Also the DT is rather incomplete when we list only one CPU in the > cooling maps, as the hardware doesn't have any such limitations. > > Update cooling maps to include all devices affected by individual trip > points. > > Signed-off-by: Viresh Kumar Queued for v4.21, Thanks! Kevin