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 8186AE92FF3 for ; Fri, 6 Oct 2023 07:27:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230269AbjJFH1p (ORCPT ); Fri, 6 Oct 2023 03:27:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40802 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230232AbjJFH1p (ORCPT ); Fri, 6 Oct 2023 03:27:45 -0400 Received: from muru.com (muru.com [72.249.23.125]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 10ABBE9; Fri, 6 Oct 2023 00:27:41 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 484FC80E0; Fri, 6 Oct 2023 07:27:40 +0000 (UTC) Date: Fri, 6 Oct 2023 10:27:38 +0300 From: Tony Lindgren To: Andy Shevchenko Cc: Greg Kroah-Hartman , Jiri Slaby , Dhruva Gole , Ilpo =?utf-8?B?SsOkcnZpbmVu?= , John Ogness , Johan Hovold , Sebastian Andrzej Siewior , Vignesh Raghavendra , linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, Maximilian Luz Subject: Re: [PATCH] serial: core: Fix checks for tx runtime PM state Message-ID: <20231006072738.GI34982@atomide.com> References: <20231005075644.25936-1-tony@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-serial@vger.kernel.org * Andy Shevchenko [231005 12:01]: > On Thu, Oct 05, 2023 at 10:56:42AM +0300, Tony Lindgren wrote: > > The serdev device and the serial core controller devices are siblings of > > the serial port hardware device. The runtime PM usage count from serdev > > I'm a bit lost in terminology here. > AFAIU there are: > 1) children of the serial physical device; > 2) siblings (to each other). > > But may be I mistakenly deciphered the diagram from the previous discussion. You're right, so how about: The serdev device and the serial core controller devices are children of the serial port hardware device. The runtime PM usage count from serdev device does not propagate to the serial core device siblings, it only propagates to the parent. Regards, Tony