Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp231461rdb; Fri, 6 Oct 2023 01:30:42 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGc7KfzBecD5HxVaRhPNSOGQ5tXnXGl7HX3Cd434RWTNFfHjfIbijBmnaEwtv7iOOQu74lt X-Received: by 2002:a17:902:ee8b:b0:1c6:2927:fbbd with SMTP id a11-20020a170902ee8b00b001c62927fbbdmr7289630pld.18.1696581042072; Fri, 06 Oct 2023 01:30:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696581042; cv=none; d=google.com; s=arc-20160816; b=OTiCsCCcctCdjU1hzflyzC5yLKYVmHwrEbOLtEL7sE9jptRFSWjOZUy0Kn48iaxgLJ 2kCtoW3tOPcjSQGVeZzZ6qm89VJEvj6afdtkHNtDOErs3VRbErt2/WDYJBZt23NeinuG h20DJ+r/MmX+VKkbEExFPFiHTLgOYrtCbzG32rui4mFsCwcYoYYFx4x1vUlo7Y9YUF2c PW02vIPMI1559mwyNdgvuUh42RrMxCp6mP55An89pcAd16CRTswIairE0Ba6Y481DElh /0VY7di/oq2q71BqX1gUv597Wgc7vEooG/UKr2Qc+6tMyz25EuyjDWL8NYf6ikGmYMNM SXrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=f74iSAgi3xH99RuxNXRMhAtqnLjOujnWU9+tJ6ujYWY=; fh=15S+QsWEb5SXkptZcUHGiLPZWTAPBzzFxi7qrZndS6c=; b=MonIfjUmAh1tKHklP+DFUl9PZ8iatWQF3yug2oUStB3m2evL4pMJVgzTrVnPAQ9N1i lbLRK3Tol84xibK+KCyqFdyGRJfUgKGYVqkLGB/iy1+pTCZNEMCa4qeL8G/r+2a2DTFy WYA9HcTiJTAzuHd3qVa9FyTqC5m6TNLiTK6Sc79QobgrTXyS+1VteS/8KxD/CRRHZqnV q+SSTfLy8VJ7ns0Wus1GCbd01Yhb0QkxYRQfWcJrB+3SV08sLHo9ZB+P6PtBtUgHr1pA NY5iKAQTy/GL3fWdNRIbfbpmVpWkUAA8UrIA4j6S7XDkANwcYf0Grf/EaIMFq/FNcg8N PEnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=gIcfG4XW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id l2-20020a170902f68200b001bba4470991si3467456plg.498.2023.10.06.01.30.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 01:30:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=gIcfG4XW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 3AD2882EBE56; Fri, 6 Oct 2023 01:30:41 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231136AbjJFIa3 (ORCPT + 99 others); Fri, 6 Oct 2023 04:30:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42112 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230076AbjJFIa2 (ORCPT ); Fri, 6 Oct 2023 04:30:28 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9B11283; Fri, 6 Oct 2023 01:30:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1696581027; x=1728117027; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=AwhlxzzmAzPePwi2wcwAldf1evn70J98RRqGuI/mr24=; b=gIcfG4XWNQ6Wx96XWumYphNinGU5GZ4l2K1/e3MWRFvrmo/pPxu1/aUR SPsBm5ymlBetf0PtGzo2nEj66Pj5z3ftswFEBDne3JDZUz5Nl/Zd6WYWS QhEWpL5wsvxkI1jKT8V6ri8VwPLc7Rj+93Jj5Qm/tfj4NCCGHxC2vAY87 uLE/zPSw5s5wlYOwhOl9UYWfKLArOYNbN7fbagQkN7GkJKvXeZSWy/noc 4VeSs4yS1/NjKULNMSQEVjgjeGsnXeZjDUwRa1d3YDjipPL90l67INh/j BNVq+HQznOpJjSBIu9fAUaJIWv4svQLuukfnezM9jGWBdgKQBofK6HOIS A==; X-IronPort-AV: E=McAfee;i="6600,9927,10854"; a="383594763" X-IronPort-AV: E=Sophos;i="6.03,203,1694761200"; d="scan'208";a="383594763" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Oct 2023 01:30:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10854"; a="999258780" X-IronPort-AV: E=Sophos;i="6.03,203,1694761200"; d="scan'208";a="999258780" Received: from smile.fi.intel.com ([10.237.72.54]) by fmsmga006.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Oct 2023 01:30:23 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.97-RC1) (envelope-from ) id 1qogE0-00000003EoO-271a; Fri, 06 Oct 2023 11:30:20 +0300 Date: Fri, 6 Oct 2023 11:30:20 +0300 From: Andy Shevchenko To: Tony Lindgren Cc: Greg Kroah-Hartman , Jiri Slaby , Dhruva Gole , Ilpo =?iso-8859-1?Q?J=E4rvinen?= , 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: References: <20231005075644.25936-1-tony@atomide.com> <20231006072738.GI34982@atomide.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231006072738.GI34982@atomide.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_NONE 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 06 Oct 2023 01:30:41 -0700 (PDT) On Fri, Oct 06, 2023 at 10:27:38AM +0300, Tony Lindgren wrote: > * 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. Clearer, thank you! -- With Best Regards, Andy Shevchenko