Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp515325pxb; Thu, 2 Sep 2021 09:04:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJySeUbVQZcTG7tNcKSWYPo1DwHnm5kHoi+xJjyutPdT15YT1/PGgd4Rb/E0TFdL+UzAcTMq X-Received: by 2002:a50:e789:: with SMTP id b9mr4193868edn.101.1630598676794; Thu, 02 Sep 2021 09:04:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630598676; cv=none; d=google.com; s=arc-20160816; b=Q33CA9d54nHaASfTuq5aqzaG6Z4qX/KQM/1jHRNNj+Z2iJIwEHEiES+RBXu8SJ/aoi VtmOIMs2cvc54Ijtzicwqp5eCOcAs61eDKUezyk8yq8c6CL3TkO38Cej/MpVZFBb2s/3 qGQvWY2w6XlQyLtqE61F24R+JKgB+oqHXQzqhC7jHW96rfXNLQS+PKdKVMyYWN73csLh XVktfog0cpkfOtdkhNdOVdVa51DjqHcCNIBcoEYzDJlRWXjk5T21F9l8LqC+6wZC/qEG 5f+UUYssM/X3Uw0KF+GPuckwJPuZG8LdppcRVqEOG37aZj0GOBAzWxZoT1HJ/h/ff1sn b9iw== 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=stuopRO3CP83IQAKJVdvFe0fxa8pn8OZxAVEiwXSWr8=; b=l4WailDKLlVXAMhqyF5+/FqaCS1rIbMh4bBZaYgNIt7q5EsNUggP1XqTVvMndn+Stg QbyOJ1CKXR0BdDm+2gAWEA9gfcdJ8xxp3yjnSwlGkDZLjAjfsGkh5sjRngnELbKzpXHA wSZGdZZDVvH+03odzeJqXe06qC8g23yTpxH3uNUBbJ6liPkXCoRKe6DkWggkcu1YPX+j CLJri6WSTp2TTUq7QN5qcS1DBBkAST8EXI0eXLlCw2IY33yCulxtxmdoV2xT9KE8esQz LDm52XJIC5m9ZVSG3jU+MM7rKx7goUkj2G72mJfceyCYmaRFfxlhDJF0COr5vuG3XJU5 Auww== 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 10si2325068ejw.91.2021.09.02.09.03.46; Thu, 02 Sep 2021 09:04:36 -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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234335AbhIBP6v (ORCPT + 99 others); Thu, 2 Sep 2021 11:58:51 -0400 Received: from mail-oi1-f176.google.com ([209.85.167.176]:46966 "EHLO mail-oi1-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230091AbhIBP6u (ORCPT ); Thu, 2 Sep 2021 11:58:50 -0400 Received: by mail-oi1-f176.google.com with SMTP id w144so2603400oie.13; Thu, 02 Sep 2021 08:57:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=stuopRO3CP83IQAKJVdvFe0fxa8pn8OZxAVEiwXSWr8=; b=eeVaORroJMWgAnw5iCgsg+GE3Y1tjItMXBfOs+6pdA6u2QgQ8O25/EYaRbdRWnYLou XOCkeEI+mvRybVSrYpjsB26MhKz8sgCdw7+aeXj7tDpxFINtdE+nC/F4ByaykNQwRCb8 x5I0q/pV1wLE/12oqnjBnRziQ41VasbJdfOPEFnjXya2A6rkRS0eHiaFonfHdQBAXWWo u1zsnhLVKAcSk9q0fokMCq7RCWTQFycTrhZd7EQKEZb9YpdA8dZxd7Qn7vgpQI1Q5uQQ XulKME+Ydsl18m3vouaUlses5cV9BaVHuPbyZVwrx9hrDMw4iyGZl9+f0hNV1BdmJbBS DMqA== X-Gm-Message-State: AOAM531iYFpDnTXYUUXxxr6MRC/a8wmSNWaEkzZ0dHSwdXmp3/VdbAca oypA90ZQgb1hBu3mm3PoYkhBO1+uopNJ1U6L6oE= X-Received: by 2002:a05:6808:10c1:: with SMTP id s1mr2622964ois.69.1630598272038; Thu, 02 Sep 2021 08:57:52 -0700 (PDT) MIME-Version: 1.0 References: <20210825150008.GA3567157@bjorn-Precision-5520> In-Reply-To: From: "Rafael J. Wysocki" Date: Thu, 2 Sep 2021 17:57:41 +0200 Message-ID: Subject: Re: [PATCH v2] PCI: VMD: ACPI: Make ACPI companion lookup work for VMD bus To: Jon Derrick , Linux PCI Cc: "Rafael J. Wysocki" , Bjorn Helgaas , "Wang, Wendy" , "Rafael J. Wysocki" , Linux ACPI , LKML , Mika Westerberg , David Box Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 26, 2021 at 8:24 PM Jon Derrick wrote: > > > > 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 Thank you! It doesn't look like there are any concerns regarding this patch, so I'll queue it up for merging next week.