Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp817337pxb; Tue, 12 Apr 2022 14:16:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx63Rr7hXE1dwIKhLjf/vQbJqQbNqhgokTkab7cR/QctbHI3XJokBTvMp6FD/dwyeVjaTya X-Received: by 2002:a17:90a:4749:b0:1be:ea64:4348 with SMTP id y9-20020a17090a474900b001beea644348mr7097697pjg.231.1649798177975; Tue, 12 Apr 2022 14:16:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649798177; cv=none; d=google.com; s=arc-20160816; b=tlvgsdpMk2UJCuXhYvUTgt91Ku6kT4wVdDPtnJbzHGk8UxDU4Pyzmomy4s8hn+KwC1 tbDnU0dG0h+4tzSTx7o927DcD/BZqdf7aNimMyITB1QQ5MCWxvIjtHAH7d886oVcJVX0 SBaSBh1h8vnEQ9hL6rXLVFkVawLXGruB0ADGJYk8b5rc9XmJMorLO+HU7DY7cMk4OXmj HqnE20iswRYjui3agzvi/v4p1nu3kK90pXyJgoi3Hu9Q8E38gGztsxceeYc9LuduIveR hJX+b7S+S6+HzHLkvb2NmC26LIWLwQRG4mCxEO4f8852UX4NRN/lAW6+O8xQnvUbhJpz Rxng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=W1U5xFnCbAJqJlqW5lfTRRnL2eQXPaE2FVgJo9bdhcA=; b=t8sKWVDnUOh6rF0rTrMAJ282YvG9oADkpGTied3JWIydCs6yizG3qNSQm5TuKacXck EIgJLBZ8wlte0ziTZovOJ29od6kTA5LhjW+7bDQ1Rep9sWEEEUmoIQix/yTTs9o46Lyi W1nqy0WsBhYd0WLr7aDUieJBbfPN63QDCKIQKczEfEILlSkAy6yIYMq7ErVzTQgnNpNI Thdb1nuK20A3pQtgTpsecVA6ELuZfX3BuqASvyG7jAlYAnD4QJT19szrViVjSE1cwf0g y2q/VUyICYrHLjsRWHLraTpph8HhCaWL2/RE7Y2YVKNtUmwkQ5m+nk4cTQcGxE2Bm+vm aJ6Q== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id n3-20020a170903110300b00156ea908d59si13130399plh.304.2022.04.12.14.16.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Apr 2022 14:16:17 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 20054EFFB5; Tue, 12 Apr 2022 13:30:36 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239271AbiDLMat (ORCPT + 99 others); Tue, 12 Apr 2022 08:30:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39632 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352820AbiDLM1q (ORCPT ); Tue, 12 Apr 2022 08:27:46 -0400 Received: from mail-yb1-f169.google.com (mail-yb1-f169.google.com [209.85.219.169]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A7C1091350; Tue, 12 Apr 2022 04:34:51 -0700 (PDT) Received: by mail-yb1-f169.google.com with SMTP id t67so15741195ybi.2; Tue, 12 Apr 2022 04:34:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=W1U5xFnCbAJqJlqW5lfTRRnL2eQXPaE2FVgJo9bdhcA=; b=ExrDDzN2M0V+2e70wKBDpp4ADkXYieviKaQtsRS6GyG4bqnBkxEMOxHppkwZ02E3mM DLbti58FIIRSSp0Dcd82ipRNLpSXJ7Vyxx67zDyiDyG/nFCDQ4pkrzKXaQOyfD3e4ItB rShqMZqDE2FY3yF3NaZLSuLHs6TMkNqZEfHflNGjRx1zmTy7lYY+9LiHdLrC/iOMaNFr beZjk1UlDHxHs0CFSB0QxvJ9jS5aQCNe2YyDbjwKx5eJ/QLvFdubiEAv8ktncJQ132Ei TK+F3qhoLUM1PAwkTTsj1/lAoH/WrWXq0nw7XomRjZTS0ij7JQcZ+hTryZ5kHs9IGzbm SMUw== X-Gm-Message-State: AOAM531PAtwZ8dq+YmboMfV+tYhDONw9S6bbmozjAMxaDauaB4nlxO0W bA7u/nDTn8VYrGAyaQLIMSMZwKyVxwom34BHlag= X-Received: by 2002:a25:e082:0:b0:641:cf5:b91f with SMTP id x124-20020a25e082000000b006410cf5b91fmr13366995ybg.482.1649763290879; Tue, 12 Apr 2022 04:34:50 -0700 (PDT) MIME-Version: 1.0 References: <4419002.LvFx2qVVIh@kreacher> <11975904.O9o76ZdvQC@kreacher> In-Reply-To: From: "Rafael J. Wysocki" Date: Tue, 12 Apr 2022 13:34:39 +0200 Message-ID: Subject: Re: [PATCH v2 0/9] PCI/PM: Improvements related to device transitions into D0 To: Mika Westerberg Cc: "Rafael J. Wysocki" , Linux PCI , Linux PM , LKML , Bjorn Helgaas Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,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 Hi Mika, On Tue, Apr 12, 2022 at 1:24 PM Mika Westerberg wrote: > > Hi Rafael, > > On Mon, Apr 11, 2022 at 04:17:41PM +0200, Rafael J. Wysocki wrote: > > Hi All, > > > > On Saturday, April 9, 2022 3:03:14 PM CEST Rafael J. Wysocki wrote: > > > Hi All, > > > > > > This series supersedes the one at > > > > > > https://lore.kernel.org/linux-pm/4198163.ejJDZkT8p0@kreacher > > > > > > It addresses some potential issues related to PCI device transitions from > > > low-power states into D0 and makes the related code more straightforward > > > and so easier to follow. > > > > > > Please refer to the patch changelogs for details. > > > > Here's a v2 of this patch series which is being sent, because I realized that > > one of the checks in pci_power_up() added by patch [4/7] in v1 was redundant > > and can be dropped, but that affected the last 3 patches in the series and > > then I noticed that more improvements were possible and hence the new patches > > [2/9]. > > I sent a few minor nits separately. The series looks good to me in > general and certainly improves readability :) > > Reviewed-by: Mika Westerberg Thank you! I'll address the issues that you have pointed out and send a v3 of this series later this week.