Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp41304pxb; Tue, 12 Apr 2022 16:13:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw6QA3DLc5d6pWh0iBOvmeOFBmJgAo4DeGDZZTVpF160Kl/t0tm+VTFNu+xy5/UyQNxTG7n X-Received: by 2002:a05:6a02:19c:b0:399:3007:c8fb with SMTP id bj28-20020a056a02019c00b003993007c8fbmr32330585pgb.571.1649805208179; Tue, 12 Apr 2022 16:13:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649805208; cv=none; d=google.com; s=arc-20160816; b=Agr57ekzdmyJPZPNDwPj0xlB5Cby89idQX1FH8Sj91EMmAnY6GVQUmxvdcz8sQCkQa KsRwaNyT7RCn/FlFv72SmydJoHGOxaVbVAQghtV2ItGBa3BI24tvZ/CkUWeOSffsaPaM qdPIgno4EvFDb/xgwfCA+QWVP6r12Yo3xGDT2fvD+Hw0kEqvwfKSJreDePfuGP9L702N 91XI/XF3X7ffer0ilutGugFg9R9T6wNJwA5esx1HQulXSPH/8eem2AaitZ9EElVCtz3b XODf+3yNsAWbrTIqZZjqPnjITtHphRqcdKaZ1P8CMZYddLhv2pthOOWiuOBCecORpl+B mY6Q== 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=FaflxtjiKkxyQsuVHjWDitjpj4rR193VNQfbaSulm+s=; b=xOILVFMT8pzUzNSQf5Q/wlDqWupzyz5i6sJ6zEbGnrq+d100tSQOXR8dWES60LHhvh XD/p5iDmjgT8vk9gWmoihKbCkGK4jImwLIVVSdU1rlUTZPVqLsh9BLNiPzkMdXFxHYo2 zFfew7QkivfI15SfeTTJ+ZT15Aa8YD2OcrnL30vGzVY+mftOB+Hf44kDzyx6Gl0prW7p Ipxe5F/RYEc7Plmyd1rdXfCPf1lAJ2HrR8+j9tcVDKS6bVRn5z4itEw2uYoJeGutavVY p7Jm2k3EdOnjo4/KAhN78QmfMFfGVJlvYay7yFwDmXGPEZmzQK3nvn+gvzptVyKAIvgQ lWdQ== 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 z7-20020a056a00240700b004fa842a4794si13711260pfh.214.2022.04.12.16.13.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Apr 2022 16:13:28 -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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B0DD512B76D; Tue, 12 Apr 2022 14:56:17 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350916AbiDLMCf (ORCPT + 99 others); Tue, 12 Apr 2022 08:02:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41512 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344748AbiDLMCK (ORCPT ); Tue, 12 Apr 2022 08:02:10 -0400 Received: from mail-yw1-f171.google.com (mail-yw1-f171.google.com [209.85.128.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 18403673DA; Tue, 12 Apr 2022 03:57:13 -0700 (PDT) Received: by mail-yw1-f171.google.com with SMTP id 00721157ae682-2ed65e63afcso37161307b3.9; Tue, 12 Apr 2022 03:57:13 -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=FaflxtjiKkxyQsuVHjWDitjpj4rR193VNQfbaSulm+s=; b=69zQX/d8z1w1b30EETIqSMYqlqtkdJ+Rkve2oyhQSpNvc+A10ZH3cPnRfwgBsjOKYz Rbl8zxjA8d6IljjYDsPnQrF66aF6BOJRsjU0xXcMuC8+CWVNiY4+lfJrUTFfqVVO9N1u /Gco4mWVift0Cn7NQuaXc7hPq7W6lnlOGjLAzb2uNKHMdh7jnQNCYul1aU3vd+znshAo pYCwvU227ikf2DPB0WWJjwHsE2koad3ikabWRDanbrjleWlkQrOaV6Vq7N6JifXPkwK2 AsnazcZboq5j/yUW9InhATSpKRfvWfu9fCHObMkKQuGgjbOJEIBjR0KBNW/q/I23H6PU Uofw== X-Gm-Message-State: AOAM532Iega3dPX8rzkodURY+D9orrGipYG2f7mlbyS6rhCxniCtVPQr 0JhSZ++4JPBCTl52LDYyDOAH0JkeRXYXQ/mEXE8= X-Received: by 2002:a81:1b97:0:b0:2db:640f:49d8 with SMTP id b145-20020a811b97000000b002db640f49d8mr28631839ywb.326.1649761032367; Tue, 12 Apr 2022 03:57:12 -0700 (PDT) MIME-Version: 1.0 References: <4419002.LvFx2qVVIh@kreacher> <11975904.O9o76ZdvQC@kreacher> <4721615.GXAFRqVoOG@kreacher> In-Reply-To: From: "Rafael J. Wysocki" Date: Tue, 12 Apr 2022 12:56:59 +0200 Message-ID: Subject: Re: [PATCH v2 3/9] PCI/PM: Rearrange pci_update_current_state() 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 On Tue, Apr 12, 2022 at 12:54 PM Mika Westerberg wrote: > > On Mon, Apr 11, 2022 at 04:21:04PM +0200, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > Save one config space access in pci_update_current_state() by > > testing the retireved PCI_PM_CTRL register value against > ^^^^^^^^^ > retrieved Yup, thanks!