Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp15738331ybl; Tue, 31 Dec 2019 14:10:22 -0800 (PST) X-Google-Smtp-Source: APXvYqygyWc7BVCGN1RBiE5PYjP/8twrC4P+QdP2lfdUbFxPqBA2HsoC78IOAcvP75I2QuuzfUqJ X-Received: by 2002:a17:906:1c5b:: with SMTP id l27mr76802088ejg.143.1577830222547; Tue, 31 Dec 2019 14:10:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577830222; cv=none; d=google.com; s=arc-20160816; b=DjNOXMGGIO60KE/5cjclYS87lugu6y1QGyu/ljNcKp2UE5I4VXv215Iw3HVqItQC8L 9xtQkGfHhvqifyePgIe8vm4IxjtNKPEpEifNZ2emcBQmuAxKuyJdgKq4jk5kxDhf1tM7 ed8RJcsmVimCotAXnY3FF7LFIl1DcOVfxnspQepHKIoXn8AAWVT434yCC40H+oioVegX a0QKDDQ8x0cdlmKl0UhHd7dGu4VJypvgiZaxBPvkORP9V5bosT/cH1vnCn1NWqRfG9x0 E7M9LgO0bo7jn62QXP7tvqRm2fK/AMoVaAJkbgbzvrvKDEgjAVN9Z4528ZOHWaKq62VD lQJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:references:cc:to:from:subject:dkim-signature; bh=UyKWBjTYtMhvO9CkUZXNZDev/n9QRhV/4KmWAGx3d9M=; b=m/UhjtZiV1+z2nCVXO+IlUKToOfh/JD65uj1zPjjOkFYE7eagZLEa9MDCJSrajeC7m Qua7w5FyQMCUDa9O6S/WHIyaPcUVPotE7gX9bl9Oxy9BwIySRD4OnamIDsP04CyOf7Lr C5flW2xIUW2tI1PORrdyPEC6SNJzSVDhzbeqRhnBqSbNhlMYS3nE+7YgkoR+EyKI2nrM BJsBm83yT9d077BA2dO0hl6ZZdW3y0qXVBEAOhWK4N5AzuYFNQMUglhxbg91QWs4M013 bFjvsPCoezwVRjSMvndBsGClO12+1sABlD3Gt/E4duFQufsqjKnWkXXbvlNcbraz8qmZ u2tw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=BXl4VwVP; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e26si32279843eje.430.2019.12.31.14.09.32; Tue, 31 Dec 2019 14:10:22 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=BXl4VwVP; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727093AbfLaWGy (ORCPT + 99 others); Tue, 31 Dec 2019 17:06:54 -0500 Received: from mail-pj1-f65.google.com ([209.85.216.65]:38867 "EHLO mail-pj1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727056AbfLaWGx (ORCPT ); Tue, 31 Dec 2019 17:06:53 -0500 Received: by mail-pj1-f65.google.com with SMTP id l35so1632147pje.3; Tue, 31 Dec 2019 14:06:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:from:to:cc:references:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=UyKWBjTYtMhvO9CkUZXNZDev/n9QRhV/4KmWAGx3d9M=; b=BXl4VwVPTLF4wJmXzKQRGjKLNC916gV7fQJmv+Bcfrxb3AYMAMwq5uiSf0LyAt4rHf MgaSse7K2QcJNXjp5m7kxZLoqdkwjVhXCwjJEJZpMqKsMw+PYbI97+4rMU5Bm1nTX+4s r0iX7RqJUGVOQcbGQLW8bdafTQnzqCPINxM6ST3FMLLPlcB7iehwU4E7eP0v0WTuwgZy kDBIcpjyae1f4cke7KvavQiOw7OzhueQNifXvwE9OA6rdP+bO8wk3PeWnuNwZ3qdIa1n QuYKUWomZLLaR25nCLZ6pMpedHYhOkkGvbW+1sWxKxmtJN+8tTQV/m/qhZX8TC6sz1UB 3O7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:cc:references:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=UyKWBjTYtMhvO9CkUZXNZDev/n9QRhV/4KmWAGx3d9M=; b=WwmQ9K/0c+X6DdTmF6myj/YpV8UJJr+71ZzMQdc8wcfgIZtPU1z8ZXjqmrpnlEqoDy PvGk+8ude5TSfbG7VvjGURMLNhjJA9akjl6PHT1/A2iMyIyJr9ak/xPymbRNBFYDjp3r jRW+79vxxhz5eMFSCUElEq//aeWcUxtUKYwsmDqcsD97nZY0ZPklPcL4VZsUn1Klbyoe 5Qv2Z/PX5QZ6FuZnKt+NDa5m32XEkcAjlLz6agghPjCK36+sn8x2fYYp6DIRKGJu0nsF ElVrqSSc6VrI8W0ThfDCucN0trRmYUHWnjr3sBkmqTBPQGYgUlw9CJ3f8K/ayckltTTC qwug== X-Gm-Message-State: APjAAAVT6PH1d+8t5b+tUM3EYbKOblftSDzoTM0J8YMy7vnw1S/npXc4 7LnR6IQ0+kbJv8az1O72X1A= X-Received: by 2002:a17:90b:4004:: with SMTP id ie4mr8971773pjb.49.1577830013234; Tue, 31 Dec 2019 14:06:53 -0800 (PST) Received: from [100.71.96.87] ([143.166.81.254]) by smtp.gmail.com with ESMTPSA id 3sm54207358pfi.13.2019.12.31.14.06.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 31 Dec 2019 14:06:52 -0800 (PST) Subject: Re: [PATCH v4 1/3] PCI: pciehp: Add support for disabling in-band presence From: Stuart Hayes To: Bjorn Helgaas Cc: Austin Bolen , Keith Busch , Alexandru Gagniuc , "Rafael J . Wysocki" , Mika Westerberg , Andy Shevchenko , "Gustavo A . R . Silva" , Sinan Kaya , Oza Pawandeep , linux-pci@vger.kernel.org, Linux Kernel Mailing List , Lukas Wunner References: <20191025190047.38130-2-stuart.w.hayes@gmail.com> <20191127013613.GA233706@google.com> Message-ID: Date: Tue, 31 Dec 2019 16:06:45 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/26/19 8:19 PM, Stuart Hayes wrote: > On Tue, Nov 26, 2019 at 7:36 PM Bjorn Helgaas wrote: >> >> On Fri, Oct 25, 2019 at 03:00:45PM -0400, Stuart Hayes wrote: >>> From: Alexandru Gagniuc >>> >>> The presence detect state (PDS) is normally a logical or of in-band and >>> out-of-band presence. As of PCIe 4.0, there is the option to disable >>> in-band presence so that the PDS bit always reflects the state of the >>> out-of-band presence. >>> >>> The recommendation of the PCIe spec is to disable in-band presence >>> whenever supported. >> >> I think I'm fine with this patch, but I would like to include the >> specific reference for this recommendation. If you have it handy, I >> can just insert it. >> > > The PCI Express Base Specification Revision 5.0, Version 1.0, in the > implementation note under Appendix I ("Async Hot-Plug Reference > Model"), it says "If OOB PD is being used and the associated DSP > supports In-Band PD Disable, it is recommended that the In-Band PD > Disable bit be Set, ..." > > Is that what you were looking for? Please let me know if there's anything else I can do to help.