Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp207844rdb; Fri, 6 Oct 2023 00:28:04 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFlX7JwWKj82E1sMZ0Vnxgx9fgDW5fefyuzqFCR8us3b6W0WvsXo/PjszY+QNP2X4PFaxu1 X-Received: by 2002:a17:902:ced2:b0:1bc:25ed:374 with SMTP id d18-20020a170902ced200b001bc25ed0374mr7898014plg.49.1696577284161; Fri, 06 Oct 2023 00:28:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696577284; cv=none; d=google.com; s=arc-20160816; b=saOyQDDZLSBpakuoUqfWnNbdv3Fg0DnZQ1b/4Zi5lOIhE+Bz9WR51SHF3sJ/PSY/aV /zDETOyUoCqgvvRFS5xfwGaj0+1ziJD175/dZ3E75TiqsSi3/wZ+6xm6lwdpvTIm4KqW d+E7OhJbRJQPwl1pzKovIh8rTNAqUF5I/46ZZV2UNuJy58XnPxdm6Ya/fhsvnyD2DDSn NfYn4lCdTccbto1MFOzM4OLxy2DrPewK/2fl7bcopcPyXfXXkUjubR8GFWHSqoZdBsQZ y4T8KQln63xg6/IU64tK+wvoD9CRnMffVgkjmlj4KhL9cH410Yk0aHZ4n2nJm9NLnDPa ELrw== 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=wDuXk00NNORzTg///RgP8024rKOrEWzfdEFgqndQEyQ=; fh=BRRPopxDycbJOYLB+sjiEs0e8VMpe+49clz33hkxT2w=; b=oTXxalwO/BRHxzxG326Lo4bi7z1TJ/bcdwQBH9R2jAtAw3OS/UJouPBZIKnYYng9k9 IZ8LXUHH5HnEJGpkaw51rj/aLjuCWS/SH0WLR/wUWo0vVGa2KoTqLz9I3OEE5YDiq91e oIy6XoO0045J+q8hY9SvAYJcyvlS4SgVB8srspnZDMfpgqWDqozonzsyLwqDXZP2xZeM 2n/tOLMOkbOyhlgNPiJkc4qZFzZ2tXwXkuJB3TkNexsY0ITW3FJ0mkpEYXGq161dVTML UG3KqOJJZV3KdNAV0ASy8g3S9vNyhF7xiOW3F23BpUL3qZllRkcFEtSdd++PuchRgevY 77GA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id c14-20020a170903234e00b001c60ec1e662si3326081plh.29.2023.10.06.00.28.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 00:28:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 0BE1D82295DB; Fri, 6 Oct 2023 00:28:02 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230292AbjJFH1q (ORCPT + 99 others); Fri, 6 Oct 2023 03:27:46 -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: X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Fri, 06 Oct 2023 00:28:02 -0700 (PDT) * 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