Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp148325ybd; Tue, 25 Jun 2019 18:31:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqzANaNGjW3CQTAZ2aAzkhFZa7lZnkRTfzq/j2vO/F9lNGUm/BKsARl3YP3yWIjZ6aEVPmJU X-Received: by 2002:a17:902:8c98:: with SMTP id t24mr1978060plo.320.1561512714973; Tue, 25 Jun 2019 18:31:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561512714; cv=none; d=google.com; s=arc-20160816; b=yqpzMVirzrwPO5FB2F45ittVEMHt7Pbda8duQ1AXCDmtqlgfFmqeDyA3Rnt+eMrV9u cUsIgTf2d9ktDvdgCCp9juHZWcrKwZmAGW3I6fy/ulxf6qWZBe8zwRtKuITnKQA2Ct8+ nk320jngqQHTIPBXMuvz9DtJXtpBNSYyQc5vZ6Thpq36noEVimaLEvGBdlU+bGOmSTWS vGcq3Imj8gw6UBdKBdKxMr60Bc/SHf5gbhOeJ6sdgfBQsaDftvA9fq1d+H5fA4Au+sCA 0Gu4AeCBi4vDkXoTVCmglPnBSnCnQ8MfcOMbFIYJLnfQmuFLB3DTxmfCOSkMpAfT/mse A3TA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:dlp-filter:cms-type :content-transfer-encoding:date:message-id:in-reply-to:cc:to:from :reply-to:subject:mime-version:dkim-signature:dkim-filter; bh=Il1LdZLD5oiDYRYYiHJZH9tmhj0oCguKH8iBAMUtDsw=; b=F2n+d62y+vQetvj9bIoLFu4jtBIDjpvRDcut4HpN5UWqkskrANKk91glPS/KpwQtu5 QCmtlJtPIzIvtH8BlNTeyQmEsUkVu0rJEuE8kLPEtiCqGOMI0PCyj98TGqWj4bZgWvWK C07Ph8heRsQhv0qvcmd7RpAo+181w8JSbvqbdqfdZCpyF4jkwaie9D2kvCBhMLMjXBZB FqDEA/IA/0M9iJlXCJV5qfZOpiEZIPQUlcaPapN9JZuTxs4b9yqC4Dr1e5QnDdHwBHA6 dljidO4qcSAlWCdct3D2YbSM7EiDBD9d16/jzqVUTpRa3/aR6SnumGnpTjg5+0UW28uU LWkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=HaforL3O; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c9si15243717pgp.72.2019.06.25.18.31.39; Tue, 25 Jun 2019 18:31:54 -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; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=HaforL3O; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726401AbfFZBb0 (ORCPT + 99 others); Tue, 25 Jun 2019 21:31:26 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:64121 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726068AbfFZBb0 (ORCPT ); Tue, 25 Jun 2019 21:31:26 -0400 Received: from epcas1p2.samsung.com (unknown [182.195.41.46]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20190626013122epoutp0398633181fc4dd4b3b451cffb6f369179~rm4MA0WV81635416354epoutp03V for ; Wed, 26 Jun 2019 01:31:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20190626013122epoutp0398633181fc4dd4b3b451cffb6f369179~rm4MA0WV81635416354epoutp03V DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1561512682; bh=Il1LdZLD5oiDYRYYiHJZH9tmhj0oCguKH8iBAMUtDsw=; h=Subject:Reply-To:From:To:CC:In-Reply-To:Date:References:From; b=HaforL3OyyziafSE3AAtuohzicPbMPvhX3ryMAR6mirWtN5K/PEXErW2EwHBj++rs pbtTm3JSausyrsmmQaK+J933xUHYLf7zn5RsmsIPf1/G/rIj/taFp2y85szyRHlkzL qC/SkGCWbu/OFhQNjtSEf2nNeBPoHarr8EzKHJD0= Received: from epsmges1p1.samsung.com (unknown [182.195.40.157]) by epcas1p1.samsung.com (KnoxPortal) with ESMTP id 20190626013120epcas1p156adfe77f254edb4f6509c5c7c5937f9~rm4JyOLXn0228102281epcas1p13; Wed, 26 Jun 2019 01:31:20 +0000 (GMT) X-AuditID: b6c32a35-973ff7000000102b-58-5d12cae21491 Received: from epcas1p1.samsung.com ( [182.195.41.45]) by epsmges1p1.samsung.com (Symantec Messaging Gateway) with SMTP id 4F.C9.04139.2EAC21D5; Wed, 26 Jun 2019 10:31:14 +0900 (KST) Mime-Version: 1.0 Subject: RE: [PATCH v2 4/4] PM / devfreq: Add required OPPs support to passive governor Reply-To: myungjoo.ham@samsung.com From: MyungJoo Ham To: Kyungmin Park , Chanwoo Choi , Viresh Kumar , Nishanth Menon , Stephen Boyd , "Rafael J. Wysocki" CC: Saravana Kannan , "kernel-team@android.com" , "linux-pm@vger.kernel.org" , "linux-kernel@vger.kernel.org" X-Priority: 3 X-Content-Kind-Code: NORMAL In-Reply-To: <20190625213337.157525-5-saravanak@google.com> X-Drm-Type: N,general X-Msg-Generator: Mail X-Msg-Type: PERSONAL X-Reply-Demand: N Message-ID: <20190626013114epcms1p16c69c10cd3af6265a9efa2f9db8a2b3b@epcms1p1> Date: Wed, 26 Jun 2019 10:31:14 +0900 X-CMS-MailID: 20190626013114epcms1p16c69c10cd3af6265a9efa2f9db8a2b3b Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" X-Sendblock-Type: SVC_REQ_APPROVE X-CPGSPASS: Y X-CPGSPASS: Y CMS-TYPE: 101P X-Brightmail-Tracker: H4sIAAAAAAAAA12SbVBMYRTHPXvv3r3J8liLR4zNNYzMbHVldaMwwuxMoZk+ZWRddafSvtm7 2whjdpC0ZKLIpDcjasJoN3Y3DR9WSW3rQ4iGmjTRmLHeivEyXnbbjca333Pmf87/nPMcEpNY iTAyR2vkDFpWTRFTcfu9CLl8qEuSHt3atYx544pgno6NCBmnQ8p4Dr8VMY9uVxLMaHEbYN5+ 9QiYbnePkLG4fhLMr14rzjQP3ifWhyrtrXahstZmUtoaiwjlzSeFuPLUzUag7HjmEChHbQtT RNtz47M5NpMzhHPaDF1mjjYrgUpKVSWqFKuiaTkdx8RS4VpWwyVQG5NT5Jtz1L4OqfA8Vm3y hVJYnqei1sYbdCYjF56t440JFKfPVOvj9JE8q+FN2qzIDJ1mNR0dvULhE+7KzX50oQHXl+L7 PpSewczAgVlACIngSuRtb8YtYCopgU6A6quqRRZAkmI4E/10zvJrZsE0VGIbxv0sgRQy993F AvEodHzQDvxMQDm61dQ/XkcKhwCy148R/gcGnwPU8rtIGHATo/OFr/AAz0eO+lvj2SFwDbJe /ygKxGejvqvev/z+fg0IsBQVDHiCXc9Eg99awUSd82W/gzUPoN7ySyK/MYJHASq+WhYURaHu qk7Cz2K4Bbkt3vGGcLgEORuuBc02ok/tTwV+xqAMObyVmH8TGIxAN25HBSSLUMuPKjAxi9n6 Q/Q/Y3A6evf55N95ndXDggAvRa7WuqB+AXKXX8RKAFXxb9cVk4wr/hnXAqwRzOH0vCaL42k9 Pfl7bWD8XJcrnKDsYbILQBJQ08RmmSRdImTz+HyNCyASo6TiyyxMl4gz2fz9nEGnMpjUHO8C Ct/8p7Gw2Rk63/FrjSpasSImJoZZSa9S0DQ1V6wK7dshgVmskcvlOD1nmMgTkCFhZrDzYHNb t+XKpukyz7SWQs/A2kPnnuS6v3bfpTpjmx7o4oe/WG/sKoq7NwIGOvobjh1GHbLV1jcnei7X PG9qI+cltYtH+ns33EmqUyx7vPXAPPLlq0szug5FLp5St+3ite97rHXE6xO93oGhfJF6cWqB tLpZths7cnav271uc1ri4IsxCuezWXo5ZuDZP66QIeDEAwAA DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20190625213358epcas4p2391bcf70b54646880cbb60eae8b73acf References: <20190625213337.157525-5-saravanak@google.com> <20190625213337.157525-1-saravanak@google.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >Look at the required OPPs of the "parent" device to determine the OPP that >is required from the slave device managed by the passive governor. This >allows having mappings between a parent device and a slave device even when >they don't have the same number of OPPs. > >Signed-off-by: Saravana Kannan >--- > drivers/devfreq/governor_passive.c | 20 +++++++++++++++----- > 1 file changed, 15 insertions(+), 5 deletions(-) Acked-by: MyungJoo Ham Cheers, MyungJoo