Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1504320imm; Thu, 19 Jul 2018 02:56:03 -0700 (PDT) X-Google-Smtp-Source: AAOMgpccD0lV1Wu5WwCCNC2HjvG0E/OWet/wCK+LuI3mKnmIRR0bOWYTFdIaRZA5FtjMy0FIiDZc X-Received: by 2002:a17:902:48c8:: with SMTP id u8-v6mr9525873plh.152.1531994163673; Thu, 19 Jul 2018 02:56:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531994163; cv=none; d=google.com; s=arc-20160816; b=x1ngs2iNIhwq1h+j1x1/s6sES/xxe3r/MjECpNBv+ITfrNyvyv5tPGA6Gd9sortHXB brgVokiZwKpY+VGc3KgLkI1SsSdixsB7VwXBarwOqniCmRttyg0/lXbJsYobwU5YNe1Q 7MP7l0QSUgIsK4fxUssTM2WSZxv4tS4IOuXacOxyJHS+R2Dmrdw+YJRnWGxwwwdlM4Uy uW2zak56AXJN9gHA98cJiR0MzP5y97q6dmcAAlSAc55Kln5KeUJwvOXl/qA4iofCoq0J ZmSLJgYLQWphC4Z0oiPaZ87M3eIs1B4TbAhsPV5OlUXUrfVMeZTFA+hUKt2ENI6AZ5Wi 3mxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject:arc-authentication-results; bh=gIByFdQSSy/TcgIDMmPLvd4vF9KRVq1bck9Sx+75+Qk=; b=0NMxE9xaVDv2X4ABhWAA/VBEUn43zCLVrwnTi2lRilKEP1e7NHrLclzvR4N/ZuQSYV Dg01ALSxOD2sNM4782Pn3VakYVlL66Cg5dApl/UDWGnm+iakOS9ix+w4k3U9VnWs17d2 uwohHJ+OTd8XYgpvuFySe5RRrQrLqbymIzut9szUAMDLZoOYfCeAzFVOfyONrILMd/Fo 1gmyJNrXl9Q59ngdzXguiM9Z8ZeG3aIdH7WzW6zk6ACAwQXsAuVABzB2agqZI1OMfq8u k+sww8KR3U238ca/l8f+q/CHAB9E8hfigQBe1yKqRXk1llZU+xGhILjLKLKdIwLs41hi idcw== ARC-Authentication-Results: i=1; mx.google.com; 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 cd4-v6si5647898plb.516.2018.07.19.02.55.49; Thu, 19 Jul 2018 02:56:03 -0700 (PDT) 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; 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 S1730273AbeGSKhR (ORCPT + 99 others); Thu, 19 Jul 2018 06:37:17 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:9701 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726475AbeGSKhQ (ORCPT ); Thu, 19 Jul 2018 06:37:16 -0400 Received: from DGGEMS412-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 83073F75E6D04; Thu, 19 Jul 2018 17:54:40 +0800 (CST) Received: from [127.0.0.1] (10.202.226.42) by DGGEMS412-HUB.china.huawei.com (10.3.19.212) with Microsoft SMTP Server id 14.3.382.0; Thu, 19 Jul 2018 17:54:40 +0800 Subject: Re: [PATCH 0/2] dt: thermal: Fix broken cooling-maps To: Viresh Kumar References: <5B4F5E00.5050800@hisilicon.com> <20180719024028.vudrlpgxiz6accky@vireshk-i7> CC: Zhang Rui , Eduardo Valentin , , , Vincent Guittot , Daniel Lezcano , , , , From: Wei Xu Message-ID: <5B505FD9.8040609@hisilicon.com> Date: Thu, 19 Jul 2018 10:54:33 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <20180719024028.vudrlpgxiz6accky@vireshk-i7> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.202.226.42] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Viresh, On 2018/7/19 3:40, Viresh Kumar wrote: > On 18-07-18, 16:34, Wei Xu wrote: >> Hi Viresh, >> >> On 2018/7/5 6:09, Viresh Kumar wrote: >>> Hi, >>> >>> This is an attempt to fix the broken or partially defined DT bindings >>> for cooling-maps. We should list every device that participates in >>> cooling down at a certain trip point, instead of just the first in the >>> list as that depends on certain ordering of events to work properly. >>> >>> The first patch extends the binding to allow a list of phandles in >>> "cooling-device" property and the second patch fixes one of the >>> platform's DT. >>> >>> This will be followed up by fixing all platform DT bindings that have >>> these issues after this set is accepted. >>> >>> The kernel also requires some changes to handle the phandle list, but >>> wouldn't break with these changes as it reads the first phandle in the >>> list for now. We can update that separately. >>> >>> -- >>> viresh >>> >>> Viresh Kumar (2): >>> dt-bindings: thermal: Allow multiple devices to share cooling map >>> arm64: dts: hi6220: Add all CPUs in cooling maps >>> >>> Documentation/devicetree/bindings/thermal/thermal.txt | 11 +++-------- >>> arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 9 ++++++++- >>> 2 files changed, 11 insertions(+), 9 deletions(-) >>> >> >> Thanks! >> Applied both to the hisilicon dt tree. > > Hi Wei, > > I expected the first patch to go via the thermal tree as it is for the > thermal core maintainers. Second patch can very well go from your > tree, but only after the 1st one is applied by thermal maintainers. > OK. I will drop them in the pull request and apply the dts patch later. Best Regards, Wei