From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id ADAD8ECAAD8 for ; Fri, 23 Sep 2022 06:17:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230036AbiIWGRj (ORCPT ); Fri, 23 Sep 2022 02:17:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59126 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230053AbiIWGRd (ORCPT ); Fri, 23 Sep 2022 02:17:33 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB0E512387A; Thu, 22 Sep 2022 23:17:26 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id F3CD2B821C2; Fri, 23 Sep 2022 06:17:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 923D2C433D6; Fri, 23 Sep 2022 06:17:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1663913843; bh=087222Xy8pZjxNKwBirqYA3XIzVV/4i7Mss3vpSpd14=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=JWIwwHV/RaIiU6aBqkf7d1JFcWRbDborvpLhn3FVp0PRRXG/Ofa8dYm9RTBoMHfMx KbV2rEc7i7fUrlTOCJ5CtIynqpFMnkVUjp6hjHhZRtiFI9wlEtLYsbG7x8WALnduAz wGQpsJUKd5Gd1j3aZoJf/HPbJpTfR7meZCsOdBM5gs8e+d5xf1Kb5ZzUv2NCTRrXWq NimW7ZebHGANSFgKT4lEFWpoedoa01T9VVg8KIHDcXX/sL2Q0Pkni/0oFw1xWqbu5n B8bWTYdit0IMdjyJA5OIFtqQ3RC5CsUzu9tNzs9O8SyKJewh5pH9EPvvufNCR222Pp g9Vw4qFwOo+VQ== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1obc06-0006GM-An; Fri, 23 Sep 2022 08:17:26 +0200 Date: Fri, 23 Sep 2022 08:17:26 +0200 From: Johan Hovold To: Kuogee Hsieh Cc: Johan Hovold , Douglas Anderson , Dmitry Baryshkov , Rob Clark , Abhinav Kumar , Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Daniel Vetter , Sean Paul , Stephen Boyd , Bjorn Andersson , Manivannan Sadhasivam , Steev Klimaszewski , dri-devel@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH v2 08/10] drm/msm/hdmi: fix IRQ lifetime Message-ID: References: <20220913085320.8577-1-johan+linaro@kernel.org> <20220913085320.8577-9-johan+linaro@kernel.org> <9e223c13-15e2-de5e-e1e1-0dbbe629a0a1@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9e223c13-15e2-de5e-e1e1-0dbbe629a0a1@quicinc.com> Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org On Thu, Sep 22, 2022 at 12:55:03PM -0700, Kuogee Hsieh wrote: > > On 9/13/2022 1:53 AM, Johan Hovold wrote: > > Device-managed resources allocated post component bind must be tied to > > the lifetime of the aggregate DRM device or they will not necessarily be > > released when binding of the aggregate device is deferred. > > > > This is specifically true for the HDMI IRQ, which will otherwise remain > > requested so that the next bind attempt fails when requesting the IRQ a > > second time. > > > > Fix this by tying the device-managed lifetime of the HDMI IRQ to the DRM > > device so that it is released when bind fails. > > > > Fixes: 067fef372c73 ("drm/msm/hdmi: refactor bind/init") > > Cc: stable@vger.kernel.org # 3.19 > > Reviewed-by: Dmitry Baryshkov > > Signed-off-by: Johan Hovold > > > Tested-by: Kuogee Hsieh > > Reviewed-by: Kuogee Hsieh I believe you meant: Tested-by: Kuogee Hsieh Reviewed-by: Kuogee Hsieh here (i.e. without the '>' quotes). Otherwise the tooling may not pick these up. Thanks for reviewing and testing. Johan