Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp575451rwd; Thu, 1 Jun 2023 04:12:11 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5fnz6CArkWp7VkWXfcUtcITMjlVQTEoNWUe9yGidq/aiRodtYRC6TWx33ycA4o3zUk3oNM X-Received: by 2002:a05:6a20:729c:b0:103:946d:8a4c with SMTP id o28-20020a056a20729c00b00103946d8a4cmr7180809pzk.5.1685617931628; Thu, 01 Jun 2023 04:12:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685617931; cv=none; d=google.com; s=arc-20160816; b=uGnb4jQq4MNPat8RmkbsWy7Mptg2jmMD4VPS3ksPv++o5h2QvwA2+AWAgzoSrtJ2PX P9eVvQguUGfyygsxF1bzbyKGP1JilqkIESzRbdik4A33QHb9pPdqvHIV1i/z5hbjg56m E0tSNxVUwQ+wgFjkIgUmOxuXv8oXxx5IihPCMnkD1DAWNdtzXlug1eG6pJMEWM1pRKWN nLWa4U6y+zJsnaYIHsCbEAZVya9WD/sML3fh00YTanptcT4WBY+EEEjTv8pwxQzWb/Im 01dYmKPDLlEFL/vwaJ5fSM0zRpdMG2rIXHiR7ewb83HXVi582WZy+/2wWjrOXLaIs+O7 fgGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=Um9sS5yg6ulSr7q7L2qLoPf7OIKzVYEv143USUDCOkY=; b=vLqcC/SOUZrqmFZ1FzAB3OH4UN0uGygMlWTNykpMFv+uE7VyOoYhxadxmWka5/dRJG q8tbtIy231bAs9zDhdJKbgqq+8n2Ye4vZHc5bMkAJylKS2KwHTSZ9yxoVQF67roLTx0A cMNF334HW3e7qmzq7/WFlmnJbXZ8Ry8j+8lZhL0AVJZmW1iKTuR0MLz5IIxf0RAa3mAg UB05lqUo3KKkuBWg+om8b5sflyaJPLMzkg6Nek2VyuXBRLwjOkAGgyNeEzv1rgL9bpoR k96gnscBwZFwR0L6m53kF0weE/RQZ2WDUf7lwrUyWcGHD1Qa1SOnb8WxLWDFvKHqvizz Kh2Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s22-20020aa78bd6000000b00643b2b72c8esi5188640pfd.317.2023.06.01.04.11.59; Thu, 01 Jun 2023 04:12:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232699AbjFAK5U (ORCPT + 99 others); Thu, 1 Jun 2023 06:57:20 -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: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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