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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/