From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kevin Hilman Subject: Re: [RFC PATCH 2/2] iommu: rockchip: Handle system-wide and runtime PM Date: Mon, 15 Dec 2014 10:06:51 -0800 Message-ID: <7hr3w0iy84.fsf@deeprootsystems.com> References: <1418286387-9663-1-git-send-email-tfiga@chromium.org> <7h8uiemce7.fsf@deeprootsystems.com> <1576771.dIVCOxU0se@vostro.rjw.lan> <7ha92sk533.fsf@deeprootsystems.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: (Geert Uytterhoeven's message of "Mon, 15 Dec 2014 09:35:09 +0100") List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Geert Uytterhoeven Cc: Len Brown , Ulf Hansson , Heiko Stuebner , Geert Uytterhoeven , "linux-pm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "Rafael J. Wysocki" , "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Daniel Kurtz , Tomasz Figa , "open list:ARM/Rockchip SoC..." , iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, Laurent Pinchart , Pavel Machek , Sylwester Nawrocki , "linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org" List-Id: iommu@lists.linux-foundation.org Geert Uytterhoeven writes: > On Fri, Dec 12, 2014 at 9:04 PM, Kevin Hilman wrote: >> An even more exciting problem exists when a CPU is in the same domain as >> other peripherals, those peripherals are all idle and the power domain >> is gated. :) > > We do have pm_genpd_attach_cpuidle() and pm_genpd_name_attach_cpuidle()? Exactly. And I think to solve this problem, we need to generalize the attaching of dependent devices to a PM domain. Kevin From mboxrd@z Thu Jan 1 00:00:00 1970 From: khilman@kernel.org (Kevin Hilman) Date: Mon, 15 Dec 2014 10:06:51 -0800 Subject: [RFC PATCH 2/2] iommu: rockchip: Handle system-wide and runtime PM In-Reply-To: (Geert Uytterhoeven's message of "Mon, 15 Dec 2014 09:35:09 +0100") References: <1418286387-9663-1-git-send-email-tfiga@chromium.org> <7h8uiemce7.fsf@deeprootsystems.com> <1576771.dIVCOxU0se@vostro.rjw.lan> <7ha92sk533.fsf@deeprootsystems.com> Message-ID: <7hr3w0iy84.fsf@deeprootsystems.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Geert Uytterhoeven writes: > On Fri, Dec 12, 2014 at 9:04 PM, Kevin Hilman wrote: >> An even more exciting problem exists when a CPU is in the same domain as >> other peripherals, those peripherals are all idle and the power domain >> is gated. :) > > We do have pm_genpd_attach_cpuidle() and pm_genpd_name_attach_cpuidle()? Exactly. And I think to solve this problem, we need to generalize the attaching of dependent devices to a PM domain. Kevin From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751579AbaLOSHv (ORCPT ); Mon, 15 Dec 2014 13:07:51 -0500 Received: from mail-pa0-f45.google.com ([209.85.220.45]:55978 "EHLO mail-pa0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751153AbaLOSG5 (ORCPT ); Mon, 15 Dec 2014 13:06:57 -0500 From: Kevin Hilman To: Geert Uytterhoeven Cc: Tomasz Figa , "Rafael J. Wysocki" , Ulf Hansson , "open list\:ARM\/Rockchip SoC..." , "linux-pm\@vger.kernel.org" , "linux-arm-kernel\@lists.infradead.org" , "linux-kernel\@vger.kernel.org" , iommu@lists.linux-foundation.org, Len Brown , Pavel Machek , Heiko Stuebner , Joerg Roedel , Geert Uytterhoeven , Sylwester Nawrocki , Daniel Kurtz , Laurent Pinchart Subject: Re: [RFC PATCH 2/2] iommu: rockchip: Handle system-wide and runtime PM References: <1418286387-9663-1-git-send-email-tfiga@chromium.org> <7h8uiemce7.fsf@deeprootsystems.com> <1576771.dIVCOxU0se@vostro.rjw.lan> <7ha92sk533.fsf@deeprootsystems.com> Date: Mon, 15 Dec 2014 10:06:51 -0800 In-Reply-To: (Geert Uytterhoeven's message of "Mon, 15 Dec 2014 09:35:09 +0100") Message-ID: <7hr3w0iy84.fsf@deeprootsystems.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Geert Uytterhoeven writes: > On Fri, Dec 12, 2014 at 9:04 PM, Kevin Hilman wrote: >> An even more exciting problem exists when a CPU is in the same domain as >> other peripherals, those peripherals are all idle and the power domain >> is gated. :) > > We do have pm_genpd_attach_cpuidle() and pm_genpd_name_attach_cpuidle()? Exactly. And I think to solve this problem, we need to generalize the attaching of dependent devices to a PM domain. Kevin