From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756418AbcIOWA2 (ORCPT ); Thu, 15 Sep 2016 18:00:28 -0400 Received: from gloria.sntech.de ([95.129.55.99]:54279 "EHLO gloria.sntech.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754966AbcIOWAT (ORCPT ); Thu, 15 Sep 2016 18:00:19 -0400 From: Heiko =?ISO-8859-1?Q?St=FCbner?= To: Tomeu Vizoso Cc: linux-kernel@vger.kernel.org, Jon Hunter , "Rafael J. Wysocki" , Kevin Hilman , Ulf Hansson , Len Brown , Pavel Machek , Greg Kroah-Hartman , linux-pm@vger.kernel.org Subject: Re: [PATCH v2] PM / Domains: Allow holes in genpd_data.domains array Date: Fri, 16 Sep 2016 00:00:06 +0200 Message-ID: <2780473.p0Dg5RSlIV@diego> User-Agent: KMail/4.14.10 (Linux/4.6.0-1-amd64; KDE/4.14.22; x86_64; ; ) In-Reply-To: <1473941123-15090-1-git-send-email-tomeu.vizoso@collabora.com> References: <5256c34e-5afb-2cfe-9818-8e6a6e1f0fa3@nvidia.com> <1473941123-15090-1-git-send-email-tomeu.vizoso@collabora.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Donnerstag, 15. September 2016, 14:05:23 schrieb Tomeu Vizoso: > In platforms such as Rockchip's, the array of domains isn't always > filled without holes, as which domains are present depend on the > particular SoC revision. > > By allowing holes to be in the array, such SoCs can still use a single > set of constants to index the array of power domains. > > Fixes: 0159ec670763 ("PM / Domains: Verify the PM domain is present when > adding a provider") Signed-off-by: Tomeu Vizoso > > Cc: Jon Hunter > Cc: Heiko Stuebner We talked about this today and the change looks good for handling the holes in Rockchip power-domain lists, so Reviewed-by: Heiko Stuebner also, on a rk3288-veyron Chromebook the display comes up again with this patch (by not defering because of the missing domains), so Tested-by: Heiko Stuebner Thanks Heiko