Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp664361pxb; Thu, 26 Aug 2021 11:27:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwUogh5u9TzBMYqJRKgI0iB1lBGruXEfsn+AgQUmDiq+r317mK6SnJeqoJu7tlqHvl8y+0T X-Received: by 2002:a05:6e02:e42:: with SMTP id l2mr3653979ilk.285.1630002471835; Thu, 26 Aug 2021 11:27:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630002471; cv=none; d=google.com; s=arc-20160816; b=HsNZeuAQq4ZpmWdYx0LJY9jZwHoilU9oEy8K1jP//A1d8U/1Ox+KYCJUPsG0Ub9UTR OqJD9qwiA+6QPfYTCvJeQydc0yuWdiL0UxaRbA5R+Bi98tDGqByS7PG7dL4OgH6H2mfe Eq8P7paGLcV87FmmCdgsdiI+OkQnO3Ahdy1X0kp6JB4xGkWmNvyLC+oesubEKnZmDjJ2 /m2FfHs3+iGoCIAdWRJGCUYKgNa/FYe/3FA7gwi/NGfa40ZS0F8ug7S7Go4Ejk1jMYOp mBzxBNFOYr/87FQju1M3REwkK2ecgW+ErSUEsbkG2e++so6XVhUKKRQKPKp+/r681qg0 /yCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=QrO66WrA+8D0Me1LTr1YHJCA9Pyzsfq7p2qjH2CJf7Y=; b=rFHmX4nzbTfqkKwNuGiqhxsSZdN9lhEhMr8wLpm0IpFGET/Ah8FoAi3qMBlhTojjFP pnRTTmfWC2y2r70bQcTDUyRYIpdCP28H83mAWfYAnLfH//WlPOQKV4xYAIS17h9pnIti aqvuk7DrWWF7Ptq00CXdtbNblTwoWHhGE47mEy4f6UAGn2ln8N4AvFZBzgZw65c3Ycki /X+MsG3VZyowZgYP2WqIoHYcL4wFSLQEUnt1gVpvOZiKpZol3HtzT19OdXK/+84Ep/Rt MIMKV624JjgZaaWq0dNgwHGsdA2IqyBkhffWZodE+QJaKgLWyuwTiICwRH/+NcWiHovX /BsQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e123si4067797iof.100.2021.08.26.11.27.14; Thu, 26 Aug 2021 11:27:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241980AbhHZSZ1 (ORCPT + 99 others); Thu, 26 Aug 2021 14:25:27 -0400 Received: from mga01.intel.com ([192.55.52.88]:18750 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231310AbhHZSZ1 (ORCPT ); Thu, 26 Aug 2021 14:25:27 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10088"; a="240016898" X-IronPort-AV: E=Sophos;i="5.84,354,1620716400"; d="scan'208";a="240016898" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Aug 2021 11:24:38 -0700 X-IronPort-AV: E=Sophos;i="5.84,354,1620716400"; d="scan'208";a="527998334" Received: from mwsmith1-mobl.amr.corp.intel.com (HELO jderrick-mobl.amr.corp.intel.com) ([10.255.7.24]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Aug 2021 11:24:37 -0700 Subject: Re: [PATCH v2] PCI: VMD: ACPI: Make ACPI companion lookup work for VMD bus To: "Rafael J. Wysocki" , Bjorn Helgaas Cc: "Wang, Wendy" , "Rafael J. Wysocki" , Linux PCI , Linux ACPI , LKML , Mika Westerberg , David Box References: <20210825150008.GA3567157@bjorn-Precision-5520> From: Jon Derrick Message-ID: Date: Thu, 26 Aug 2021 12:24:31 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.10.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/25/21 9:26 AM, Rafael J. Wysocki wrote: > On Wed, Aug 25, 2021 at 5:00 PM Bjorn Helgaas wrote: >> >> On Wed, Aug 25, 2021 at 11:02:47AM +0000, Wang, Wendy wrote: >>> Hi Rafael, >>> >>> Tested this PATCH v2 against intel next v5.12 kernel on ADL-S NVME and SATA storages: >>> >>> cat /sys/devices/pci0000\:00/0000\:00\:0e.0/firmware_node/path >>> \_SB_.PC00.VMD0 >>> >>> 10000:e0:17.0 SATA controller: Intel Corporation Device 7ae2 (rev 11) >>> 10000:e0:1d.0 System peripheral: Intel Corporation Device 09ab >>> 10000:e0:1d.4 PCI bridge: Intel Corporation Device 7ab4 (rev 11) >>> 10000:e1:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller PM9A1/PM9A3/980PRO >>> >>> [ 6193.658074] ahci 10000:e0:17.0: PCI PM: Suspend power state: D3hot >>> [ 6193.658156] nvme 10000:e1:00.0: PCI PM: Suspend power state: D3hot >>> [ 6193.710883] pcieport 10000:e0:1d.4: PCI PM: Suspend power state: D3cold > > This doesn't happen without using the ACPI companion object (the > deepest power state you can get then is D3hot) AFAICS. > >>> [ 6193.730318] vmd 0000:00:0e.0: PCI PM: Suspend power state: D3hot >>> >>> cat /sys/kernel/debug/pmc_core/substate_residencies >>> Substate Residency >>> S0i2.0 0 >>> S0i2.1 13862128 >>> >>> Thanks! >> >> I guess (given Rafael's response) that this is a positive test result, >> i.e., you see the desired behavior with this patch? > > So yes. LGTM then Acked-by: Jon Derrick