Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1242512imm; Wed, 19 Sep 2018 14:52:07 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdb2JDFYdwFPuByNxJxIK++BBh/ROPjdMfNfqIfWmJncEmw1krGTzcR1bOfbjkZBmC9KlTnK X-Received: by 2002:a63:c912:: with SMTP id o18-v6mr33124733pgg.331.1537393927675; Wed, 19 Sep 2018 14:52:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537393927; cv=none; d=google.com; s=arc-20160816; b=rtcbEE39HcthLZwzSQrYbNMrnwLUWa7CDwx2XM39qP8+qgj58wj0HzCw3e++6SRRIb a+j3YzToK5/gG/NeKqTdI3GCvIHT4MGUUz9rQvqVD1NIqs4busRTl98hlISufePZV0i6 9ZelMT5s3AZFNSRiW4j+mvEm7mgGSXO2FCYgkk8sK7+HMI7w5F/GJwTZ6pP/56Paj6HI 2OAmwAK4OrtdZ0ePTjcwG+AT0d4hSWQzV7KNL2WJFMqweyRg6hIRpHnnhFJQDpouAi4I kiefXCT9ruomPvG58+dKou3WdO2ED3IDMAcJ0gva1OPRVcVSPCFjofGbLHLfuTM89k33 OSsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=FYUnJL8WUAEWL2rUiTVChneVbi+trVBC/SqVpVVN6/8=; b=a/9g49zdOumlLxRph1zcVuMYHme52rcxj1oUyUWrZ0M57OqkYIaeDMNNhRFGlwB2VX n4FYzhS5uVCHk/ncjdJdw0W2B8Uy1MfSpBR3WRy2dgZP5nPXrJ5ot8Fxg3nJf2DQbAWn krBgCpdRLXe95g4hnCLyqKHedX7w01FzCVPeRRTAJgN94mbyYwJHnZ8Q75wjmou93Q+K mzqG/JOBltY+Emdr7yHtnt8d4+7390zhJNCdHYoYpHId3XNmbcYJHO0BeAZ0DB5UtRLo d+9wDwFzNWbzauU4zgBbaKAygRSxfHXiZ3WnHGniFUMAlCJIkCGIb6N2n14eKXGiBeq1 xHGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dNnJMOCw; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u4-v6si22368101pgk.371.2018.09.19.14.51.52; Wed, 19 Sep 2018 14:52:07 -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=@linaro.org header.s=google header.b=dNnJMOCw; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732263AbeITDUv (ORCPT + 99 others); Wed, 19 Sep 2018 23:20:51 -0400 Received: from mail-pg1-f193.google.com ([209.85.215.193]:36561 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727623AbeITDUv (ORCPT ); Wed, 19 Sep 2018 23:20:51 -0400 Received: by mail-pg1-f193.google.com with SMTP id d1-v6so3359974pgo.3 for ; Wed, 19 Sep 2018 14:40:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=FYUnJL8WUAEWL2rUiTVChneVbi+trVBC/SqVpVVN6/8=; b=dNnJMOCwyu2vz5U+9Uu4+j6Q59jzbPgDoqSjO7w/TRFUytB7pTihVhj/C4dmcVgTfv cH82Z5/Yo9ikYg/IXhBCSbUiYfSxpXsNHyOlcZxJsgwXLPGFmVgxI3zDw9yIgrx5O7zD haKMnLVH7CpSkVN+ywaDOrzo7HWHIbnniYM7E= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=FYUnJL8WUAEWL2rUiTVChneVbi+trVBC/SqVpVVN6/8=; b=NnV7a24S4Cz2OJQNrWPpFubo6RdKijiMUciK5FOm+9ycbOfr4dLJ08yXyFeBcnxCYz x+eykkod1jjqkEe+LdLMJtpB3JS/3XM+MgI9L1VzBLjGle37rAepRoEsXnvKwFL/9zKb 4zdNgkNeTQxq8Qgb7LiR76ROUmgv5S6VCJh65uvFt4Dgo7NZ175rREk8ER2mz9wFCWVJ jPqvISsJcluzjHxO5Oa9T49Xrjjw8DWE5T8CBimpwlgA0sIPPhQ9t8MsKEWRkB50jB48 G802KI9ZgeXxVHTNlVPopuMX7XYPrlmxgHHBKUm3+ZNXNYbTs45POGLe0dnGfOMcU4fw nwAQ== X-Gm-Message-State: APzg51Ac3moJIkDC5ASD1+78355o/qW7j0Y4Fvedb3K2HH2j4mMO9+C3 /3+b/AlZs36Qj0ReQfVUd78tlA== X-Received: by 2002:a63:6a06:: with SMTP id f6-v6mr34006729pgc.63.1537393259652; Wed, 19 Sep 2018 14:40:59 -0700 (PDT) Received: from localhost ([209.121.128.187]) by smtp.gmail.com with ESMTPSA id b14-v6sm39617731pfc.178.2018.09.19.14.40.58 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 19 Sep 2018 14:40:58 -0700 (PDT) Date: Wed, 19 Sep 2018 14:40:58 -0700 From: Viresh Kumar To: Gregory CLEMENT Cc: niklas.cassel@linaro.org, Jason Cooper , Andrew Lunn , Sebastian Hesselbarth , "Rafael J. Wysocki" , linux-pm@vger.kernel.org, Stephen Boyd , Nishanth Menon , Vincent Guittot , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 07/11] cpufreq: mvebu: Remove OPPs using dev_pm_opp_remove() Message-ID: <20180919214058.bp325gyowqyveil2@vireshk-mac-ubuntu> References: <87o9ctjyz3.fsf@bootlin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87o9ctjyz3.fsf@bootlin.com> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 19-09-18, 17:20, Gregory CLEMENT wrote: > Hi Viresh, > > On mer., sept. 12 2018, Viresh Kumar wrote: > > > dev_pm_opp_cpumask_remove_table() is going to change in the next commit > > and will not remove dynamic OPPs automatically. They must be removed > > with a call to dev_pm_opp_remove(). > > So now that mean when adding more than 2 OPPs, we should have the list > of them available in the driver to be able to remove them, right? Right. Maybe we will add a separate API to remove all dynamic ones in one go but I couldn't find any platform which needs to do it right now. > > Signed-off-by: Viresh Kumar > > Reviewed-by: Gregory CLEMENT Thanks. -- viresh