Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp870522pxk; Wed, 23 Sep 2020 19:53:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyl2QK9SUr592gNxn6RRm3zU6zG8KXR41a8H9No0a6pj7EKpqYo61urINlT5EvUvXy7+8S/ X-Received: by 2002:a17:906:358c:: with SMTP id o12mr2486805ejb.406.1600915980833; Wed, 23 Sep 2020 19:53:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600915980; cv=none; d=google.com; s=arc-20160816; b=CD4Z7oGIKEOZgVkdEaQGPJ0UlBPS3tjat/eN0sYhowutR59mUh/jqmEG3TaQXYtzB2 DZLNKhrDFRbag6v+jipPTA57fRRxapknNOh0Nqi9zNw8I4PN/YapNfXX2vXPOJz3A8mD pgCj7BBc2GFRCDl170n/fEW1+0UB7T7WN7wTMNuyOEoCynD6SDlW3ygIIr/Eo5ZYViyI UA2wQEhfl1MUhgs3B0tbAaGDLLGjpBcXjSkiuf2h48IwrOMtjrKIwZnmfjqg0y/JCI/G LUazRcGNbTRjAXa5qdt1yiuC+zqXYgKf/m2EpFqym3icGDwEZj4y3UYxCly2dtwzSpwn q6fA== 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:ironport-sdr:ironport-sdr; bh=nnus7pFTPB9oaR55LY8lA44fStqkbOFSVLJzt6kFwsY=; b=IGNWhrwJDjyMYU+neEPNoM+jWGYNCMDFCcXZI3vMoXQ0SYn1vNzmBvT4e6khAqdYLA y4KjHJRdEMpfJmtxXj3dTxy7Gzt/qTt8n0F4KkNpn3OiGWhtphMjLDsuQGthNqVnfC3C 15qE3jyYWtSVYY52xXWU3GnTqzLcG1nhf+0KiGTnDiGt7eRsL9jZKjHe2kmd+0swoT9i kCbj+jx5w1Gw5DATuuUaYYo2qEhXoI402k35FZ8/7LAbYdY38yrRrwfECfgxe+hC9koE OKKlzQeiTRWXbe2jn8KbP7DvbEU3NABz/5gCue7yy5SXiUBYOzX88oyrLZNOwVY04S6p +a5g== 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 t25si1250593ejs.675.2020.09.23.19.52.37; Wed, 23 Sep 2020 19:53:00 -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 S1726350AbgIXCvG (ORCPT + 99 others); Wed, 23 Sep 2020 22:51:06 -0400 Received: from mga17.intel.com ([192.55.52.151]:60567 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726281AbgIXCvG (ORCPT ); Wed, 23 Sep 2020 22:51:06 -0400 IronPort-SDR: VzzOMvbIgAYDyCWlR6gTxBz3sJZA5jmRhVoBsxsUM2kYvVW4FSLrUKoaxZkLDW9ebzn2v7RCjW 3lsfvyn7bBAw== X-IronPort-AV: E=McAfee;i="6000,8403,9753"; a="141085824" X-IronPort-AV: E=Sophos;i="5.77,296,1596524400"; d="scan'208";a="141085824" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Sep 2020 19:51:06 -0700 IronPort-SDR: MY0WoXmH2RYuPS1fhnWOvwlsOolPlf3vcJzS0Cba7JRDXC+Q5P0iZOonb+CkBkMVvm6Oy8YNTi YpMFYuLYH8CQ== X-IronPort-AV: E=Sophos;i="5.77,296,1596524400"; d="scan'208";a="382888683" Received: from jdelagui-mobl.amr.corp.intel.com (HELO [10.255.231.15]) ([10.255.231.15]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Sep 2020 19:51:05 -0700 Subject: Re: [PATCH v3 1/1] PCI/ERR: Fix reset logic in pcie_do_recovery() call To: Sinan Kaya , Bjorn Helgaas Cc: bhelgaas@google.com, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, ashok.raj@intel.com, Jay Vosburgh References: <20200922233333.GA2239404@bjorn-Precision-5520> <704c39bf-6f0c-bba3-70b8-91de6a445e43@linux.intel.com> <3d27d0a4-2115-fa72-8990-a84910e4215f@kernel.org> <526dc846-b12b-3523-4995-966eb972ceb7@kernel.org> From: "Kuppuswamy, Sathyanarayanan" Message-ID: <1fdcc4a6-53b7-2b5f-8496-f0f09405f561@linux.intel.com> Date: Wed, 23 Sep 2020 19:51:03 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <526dc846-b12b-3523-4995-966eb972ceb7@kernel.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/23/20 7:16 PM, Sinan Kaya wrote: > On 9/23/2020 10:04 PM, Kuppuswamy, Sathyanarayanan wrote: >>> AFAIK, DLLSC is a requirement not optional. Why is this not supported by >>> non-hotplug ports? >> Its required for hotplug capable ports. Please check PCIe spec v5.0 sec >> 6.7.3.3. >> >> The Data Link Layer State Changed event provides an indication that the >> state of >> the Data Link Layer Link Active bit in the Link Status Register has >> changed. >> Support for Data Link Layer State Changed events and software >> notification of these >> events are required for hot-plug capable Downstream Ports. > > I see. Can I assume that your system supports DPC? > DPC is supposed to recover the link via dpc_reset_link(). Yes. But the affected device/drivers cleanup during error recovery is handled by hotplug handler. So we are facing issue when dealing with non hotplug capable ports. > -- Sathyanarayanan Kuppuswamy Linux Kernel Developer