Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp1501301imj; Fri, 8 Feb 2019 02:32:08 -0800 (PST) X-Google-Smtp-Source: AHgI3IYtJmDbtodb2ZH9B5mMjYTCkDVq29E+v1zxwQb/8rVZLtfJ/tGgU4l94vASGCLS4Z6HK+Pz X-Received: by 2002:a62:5d0c:: with SMTP id r12mr22225625pfb.0.1549621928246; Fri, 08 Feb 2019 02:32:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549621928; cv=none; d=google.com; s=arc-20160816; b=uij4Veq06VQrfvLL61BNLBLEoXG7P7wB3wkuVirzHIiqBmhiAfXdoN6lF62Fa5zSZi uSa2WhwFWMTGGIfB0Q+MB52DQ0Ij5/UDT/u67pxn5BriayrxVsxE/aBk9n2PfPOjehsL 3vC99462UrUl/5KI/tdAdDeKR4Vjo1dtwPQW/vy0WEW8I4TlrePpOaaxWMFpc4xMfpis V7rFOmnAJ+Fx9lGwuu17u7zY6kfGk89Y03K1/iGtULEauWL285a44whg2m+Dbtgz07Fr 0agCasbamMyb4wJ1O7L+keDkVBG5pIxNpzerefcB3q67PtlIOCCbh/BEbxKe7y2uAAVo DKvg== 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=jQnRx3jx5kYsooGE4xB5m6f/htvos/xPbonT7mCMh08=; b=VNes8sOQS4Xjtk+NwtqxbuK5E+WFFxyQ+pLlj9EPYzxLdiabK/AS/VY6+qXnDbGCMh WoHmPBoQmvtNuKY+NXGvzk/8uyu9+JlLjHz5QvmBE7VVMw0bJwjzTvxiMdUg/OSLB76W PZrKNOISJbWTztP8VE4RQxh21iXZRRlvFAnNrBMF/0N6keSGIJhFswA+FeuNFgoy50PE BH87glJGuVKv/awEVIFTMsBKxxK3QODP3YnEwGX5PxI1I1CORB8UzwhtY2GUO/8uRuLW spk2BD+62t5/00banZEJgemqUHfY8kdqThVCtOcGUm9sqMTtx15A8CeAI6Qg4B/ghS64 gCzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tHMN6Tbq; 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 j39si1885101plb.272.2019.02.08.02.31.52; Fri, 08 Feb 2019 02:32:08 -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=@linaro.org header.s=google header.b=tHMN6Tbq; 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 S1727620AbfBHKbh (ORCPT + 99 others); Fri, 8 Feb 2019 05:31:37 -0500 Received: from mail-pl1-f196.google.com ([209.85.214.196]:42189 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727485AbfBHKbg (ORCPT ); Fri, 8 Feb 2019 05:31:36 -0500 Received: by mail-pl1-f196.google.com with SMTP id s1so1490562plp.9 for ; Fri, 08 Feb 2019 02:31:36 -0800 (PST) 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=jQnRx3jx5kYsooGE4xB5m6f/htvos/xPbonT7mCMh08=; b=tHMN6Tbqvn21LH6TvA+OkWD7py028QbowNl4w8mKnkh61EBxige+sFElIajBUP1dhb CFhGa7KzOQ/aUoVM/jSiySREUTIGsw1cbnN6gi3zLFEwMCdt/72kvG95r1PEWA4lxjio oujexO60Hxw4/s4VhV71msA19nl5SnsQ7RRUxqa8OsG+X/3c/WoBnKoDJiDIBIsEr84l WBQaBe9AFgM0l/96A61eQRQzPWiX+IXJ/Ru5m1WwcmXejaN1cKxKdp8iWmqmuqiuEh8M 4zZOrJO1fT6mxWFAgW8qSXXfVwZoZJi9Pohju7Jei2oUV0pRw7b7mavplc+YVBt1fBSw G0dw== 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=jQnRx3jx5kYsooGE4xB5m6f/htvos/xPbonT7mCMh08=; b=jOG+xlmqwItBNpXcC7gE3+iJHznaZ8ECKHwTK3+1LDrf7RQe10oalxqXrlDxfzEz9f ORbWRAeQo9mt09b3Z3MJfXfFY+NzGP7DTrQ3hpxMIwPvmIMF0juK15qks51/vi5IU9h0 r2BU4kod614mqu5XifH2/VrhmFRdAb5KZSYDFLVjj4bTO5USojOw/KVjn/2eCCbaK4Hb gA/m2jtgaSDtS5SxY6QbkfLFT2EnPpuM31uGbzA7J5jrdo5LWdzvhB3GeaDMMz4Bj4P+ pvGHVMKKZmCWuYV1N/uyjFmFLdHrHzmwkcKTvVOBPr4gvjaZ7/Ul0xXv57865G6OIA42 otMQ== X-Gm-Message-State: AHQUAuYMRyeUPnhUmpaWitVsSb+p6jXKQj97vOL9xQOjj08vgnObErPk E//xxh1uPTzO/ituTf7uccedkBTLRts= X-Received: by 2002:a17:902:1aa:: with SMTP id b39mr18960186plb.244.1549621896209; Fri, 08 Feb 2019 02:31:36 -0800 (PST) Received: from localhost ([122.172.102.63]) by smtp.gmail.com with ESMTPSA id y5sm4786244pge.49.2019.02.08.02.31.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 08 Feb 2019 02:31:35 -0800 (PST) Date: Fri, 8 Feb 2019 16:01:33 +0530 From: Viresh Kumar To: "Rafael J. Wysocki" Cc: Marek Szyprowski , Linux Kernel Mailing List , Linux PM , Linux Samsung SoC , "Rafael J . Wysocki" , Nishanth Menon , Stephen Boyd , Bartlomiej Zolnierkiewicz , Dave Gerlach , Wolfram Sang Subject: Re: [PATCH 0/2] cpufreq/opp: rework regulator initialization Message-ID: <20190208103133.ysvaroyniuc3k4i5@vireshk-i7> References: <20190207122227.19873-1-m.szyprowski@samsung.com> <20190208064957.zhyue42kpgaoslwm@vireshk-i7> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180323-120-3dd1ac Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08-02-19, 11:22, Rafael J. Wysocki wrote: > There are cpufreq driver suspend and resume callbacks, maybe use them? > > The driver could do the I2C transactions in its suspend/resume > callbacks and do nothing in online/offline if those are part of > system-wide suspend/resume. These are per-policy things that we need to do, not sure if driver suspend/resume is a good place for that. It is more for a case where CPU 0-3 are in one policy and 4-7 in another. Now 1-7 are hot-unplugged during system suspend and hotplugged later on. This is more like complete removal/addition of devices instead of suspend/resume. -- viresh