Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp907387pxb; Wed, 6 Apr 2022 03:57:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy7zs8jCHy+xYpS8WxAxtqoDCnieFlzatB3boeugqh/oQw2AxKXlbsnBC4wQaQphS1OfOBO X-Received: by 2002:a63:de0c:0:b0:378:9365:c3c6 with SMTP id f12-20020a63de0c000000b003789365c3c6mr6636539pgg.301.1649242671198; Wed, 06 Apr 2022 03:57:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649242671; cv=none; d=google.com; s=arc-20160816; b=cOguusI9cuPffSrfGxlIwPxQmbMWq9rdaDFoNSYcgRRexNTiw+fWxSjiM/kZH9NdB4 HTnWqStxlsPZKfTQYa6GvwUxt8+GxIDCrpBUrC1QrAGze1MTjvJNGP3ngL9OEC4VW7CT 3PAKZRBaewOiXkSpGk2sWPDQplmTblMX8h8/LYM9r+6eN5UeMShlhS33xdJOdr7x66TA fEqCaZ1p46MCP8UIdH47iPyIVBJ0NWgWsJN6+DaLZbAJMUADzxhGBDwyPNuLwm8gP/IX gv/bjE+1nxpgyBKJyAgHWY7modrL1JhASWnX+AkzA8HTL/wpUpliUyCrfeo9hYNC13Ki nfJw== 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=tYxwHrfSzqoRx9lBct+XykeES3syZuBra12IsbKMCrg=; b=wj0nHSw2UViuUTeQF2SA01pDoUlmsH5A8QtVTx3F+4wZIWRaRiKaxL4RvqrSixr6Or oTOOLgxbZljlFRNZI+z6b0B73NoSiPq1gycMF5/pRHbVK/lqYcz+rUUq2K7SSeNBTsT/ fOUvEQjz85tQMeKJRrK26CPmEBKofZ8DYZrQW8MXeV02yEpA6AUWi9gJHyQd1SoVW2uA 5vpENnApc8FOH5YYLbI/7DRbtiRb0et77ifvnGqFdygacQj4+jAoihYPtAzoMf7AaO4Q A0jC3qGdjahEc5goGTpqCcZm7CKwemQPlodbeKV+5XCV/9/e65+m39rhTJ4nz0KU3GNJ /s0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=hhOW0vpi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id w22-20020a056a0014d600b004fa3a8dff55si19681526pfu.12.2022.04.06.03.57.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 03:57:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=hhOW0vpi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 612F51B72EF; Wed, 6 Apr 2022 02:16:14 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237490AbiDEXMn (ORCPT + 99 others); Tue, 5 Apr 2022 19:12:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59452 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1353169AbiDEKFt (ORCPT ); Tue, 5 Apr 2022 06:05:49 -0400 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 385E2BE9D3; Tue, 5 Apr 2022 02:54:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1649152465; x=1680688465; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=FvrfFAwIBkVcQbb44q338G+GvCQgvfd7wKltudNp7nY=; b=hhOW0vpitTEhCP8nc2qeltOhLzwnDzEgjFoVOlq6WKo/MkNN8vZcojXN FE0bDOvgd2gW7m+F88iRODUsH1GyVrmWrTr/Vs9J3VZetdLwXonY/p4u7 Ius0XkJI+OSRMCMjI1Coz4WWeUMI8A2idxgEwiA6CffOdh0TPbnIBHIum UqL+xCpg/ujcZlexuK7ZD6aiBQvni8oXv5yPIPT7P1JwLU+WagVQyvX2P wpDwVDc5XGE5EIjFUWywBeWIeqWtAuItnv4yNJb3+oG8/Utf2pUK52Mid j2XasMRuahzsz7JZAP1mQbcCKwT9NZjpfVSn+7nz6Hg/7vJZdxx78RXfc w==; X-IronPort-AV: E=McAfee;i="6200,9189,10307"; a="347150668" X-IronPort-AV: E=Sophos;i="5.90,236,1643702400"; d="scan'208";a="347150668" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Apr 2022 02:54:24 -0700 X-IronPort-AV: E=Sophos;i="5.90,236,1643702400"; d="scan'208";a="556460066" Received: from lahna.fi.intel.com (HELO lahna) ([10.237.72.162]) by fmsmga007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Apr 2022 02:54:21 -0700 Received: by lahna (sSMTP sendmail emulation); Tue, 05 Apr 2022 12:54:19 +0300 Date: Tue, 5 Apr 2022 12:54:19 +0300 From: Mika Westerberg To: "Rafael J. Wysocki" Cc: Linux PCI , Linux PM , LKML , Bjorn Helgaas Subject: Re: [PATCH v1 2/2] PCI: PM: Resume bus after putting the bridge into D0 entirely Message-ID: References: <4198163.ejJDZkT8p0@kreacher> <1807986.atdPhlSkOF@kreacher> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1807986.atdPhlSkOF@kreacher> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 On Mon, Apr 04, 2022 at 05:42:27PM +0200, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > It is rather counter-intuitive to attempt to resume devices on a bus > segment before completing a transition of their parent bridge into > D0, so do that when the transition is complete. > > This matters especially when the transition in question is not > successful, in which case it doesn't make sense to even try to > resume the child devices at all. Good point. > Signed-off-by: Rafael J. Wysocki Reviewed-by: Mika Westerberg