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 31C38C77B7A for ; Thu, 1 Jun 2023 10:57:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232881AbjFAK5V (ORCPT ); Thu, 1 Jun 2023 06:57:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52484 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232127AbjFAK5T (ORCPT ); Thu, 1 Jun 2023 06:57:19 -0400 Received: from muru.com (muru.com [72.249.23.125]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 9D606107; Thu, 1 Jun 2023 03:57:18 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 116B180F1; Thu, 1 Jun 2023 10:57:18 +0000 (UTC) Date: Thu, 1 Jun 2023 13:57:16 +0300 From: Tony Lindgren To: Steven Price Cc: Greg Kroah-Hartman , Jiri Slaby , Andy Shevchenko , Dhruva Gole , Ilpo =?utf-8?B?SsOkcnZpbmVu?= , John Ogness , Johan Hovold , Sebastian Andrzej Siewior , Vignesh Raghavendra , linux-omap@vger.kernel.org, Andy Shevchenko , linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org Subject: Re: [PATCH v12 1/1] serial: core: Start managing serial controllers to enable runtime PM Message-ID: <20230601105716.GY14287@atomide.com> References: <20230525113034.46880-1-tony@atomide.com> <20230601104431.GX14287@atomide.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Steven Price [230601 10:53]: > On 01/06/2023 11:44, Tony Lindgren wrote: > > Hi, > > > > * Steven Price [230601 10:04]: > >> I haven't studied this change in detail, but I assume the bug is that > >> serial_base_port_device_remove() shouldn't be dropping port_mutex. The > >> below hack gets my board booting again. > > > > You're right. I wonder how I managed to miss that.. Care to post a proper > > fix for this or do you want me to post it? > > I'll post a proper fix shortly. Thanks for the confirmation of the fix. OK great thanks! > > Seems you can remove out here and just do a return earlier instead of goto. > > Yes, this was just the smallest change. I'll do it properly with an > early return in the proper patch. OK Regards, Tony