From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754390AbcKAWvE (ORCPT ); Tue, 1 Nov 2016 18:51:04 -0400 Received: from gloria.sntech.de ([95.129.55.99]:36258 "EHLO gloria.sntech.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754006AbcKAWvC (ORCPT ); Tue, 1 Nov 2016 18:51:02 -0400 From: Heiko Stuebner To: linux-rockchip@lists.infradead.org Cc: linux-kernel@vger.kernel.org, tomeu.vizoso@collabora.com, wxt@rock-chips.com, rjw@rjwysocki.net Subject: Re: [PATCH 0/2] soc: rockchip: fix probe error path in power-domain driver Date: Tue, 01 Nov 2016 23:50:48 +0100 Message-ID: <3287084.B8mS2I86W8@phil> User-Agent: KMail/5.2.3 (Linux/4.7.0-1-amd64; KDE/5.26.0; x86_64; ; ) In-Reply-To: <1473977679-18649-1-git-send-email-heiko@sntech.de> References: <1473977679-18649-1-git-send-email-heiko@sntech.de> 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 Freitag, 16. September 2016, 00:14:37 CET schrieb Heiko Stuebner: > A recent change to generic power-domains revealed that the rockchip > driver cannot safely fail it's probe. Also pm_genpd_init creates a > situation where a probe error leads to the generic power-domains > accessing already freed data. > > The reason for us finding this issue (holes in power-domain lists), will > get fixed in the generic power-domains, but the fixes below will only > work after the newly added genpd-removal code got merged. > > > Therefore I hope to remember to send the two patches below as fix after > 4.9-rc1. > > Alternatively Rafael could include them into his branch directly. I've applied now both in a fixes branch for 4.9 and plan on sending it through arm-soc later this week.