Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp4097829pxk; Tue, 29 Sep 2020 14:24:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzpahZtyAtmQvKspaKRCGKNIkySrgkNEVjTB0RIhRWPYAm6aDrpO1HG7UjHyusrN5UDOUXz X-Received: by 2002:a50:fd10:: with SMTP id i16mr5667790eds.54.1601414682991; Tue, 29 Sep 2020 14:24:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601414682; cv=none; d=google.com; s=arc-20160816; b=0CYnJspPQzl4LyX5+fHb+1f6ZFl0D0+/KmrP0qJIEkZrCzM6icY39DlsMR1Hkc0mVN D1q5ahP0uQ4Mb5wUgQnaCapdG8smJAkssAtBaEgwufyjsf8Ae9idKEbnrbKv26pi6Y5u bvwmmPRNkIGYPDPiGMKyZy/MB6QY1YVzaypYRewVB58TY7OR4LWgPuJ06GbZsOSTTqia /1Uwe8+NvLPbnUIMrf3qQpFMusPJ2RTkP0qVslcH9uX7OEV/aSAYL/7ZypEr2FcP1/uW Ak0F+7r1JNCNQBR2zdQNtPJku2GNfRSCwtORjQ7NFSe8gOArzFPAhLtwADlXgMa9O6ua XJ7g== 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=mZVjGJYOPcbdrkwGRqOuwQN5+IMQRiJP/8Nf1H5WffA=; b=bio1nt/AN6VNMbgben3eBvXRtaqh39cBvKAPCMkOWn1x+Esv6FPQzRcRsyvhBkpHPb FnU1MQzyevdnhh5TTShKv8W3ED37X1U4n6do9LCBxbYxkk0gPruMk14Y/9nlaCDYXp7S jDK+7RE88Zy+cDUlob5aqsNN223yRJCBTKhkTqkhHDezPY4OCOgbITxL1WHnMODeBU0A y8KHhENDjdNWlP2IDYeUpHIFXYcRI0Zzw75aWwrNMv84jYWUYc3GLRZ36b+weXh7E9Ma Wwf33PLezItgU+gSS7OC+kHg73UsylXEyzF45BvJtnDLFAe75VfypYt0zK94aJgdOaMv QYKg== 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 rs1si3616150ejb.201.2020.09.29.14.24.19; Tue, 29 Sep 2020 14:24:42 -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 S1729480AbgI2VXM (ORCPT + 99 others); Tue, 29 Sep 2020 17:23:12 -0400 Received: from mga18.intel.com ([134.134.136.126]:54184 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728494AbgI2VXL (ORCPT ); Tue, 29 Sep 2020 17:23:11 -0400 IronPort-SDR: 8dGt573LrQC+pcuG38TOhesN0euRxAhyDsNcojf3dzozRgxJYbNVOOyUy7EbZRgwneXsQBEuGm +bSlcuzYjCAg== X-IronPort-AV: E=McAfee;i="6000,8403,9759"; a="150074791" X-IronPort-AV: E=Sophos;i="5.77,319,1596524400"; d="scan'208";a="150074791" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Sep 2020 14:23:11 -0700 IronPort-SDR: 7tUY3DboBHETRogyH1sFrj62m6Y8VtxQgP/jJoGMJCesEkvY79qK7nwn8t/2+YxuqB10HnXJne fBT+wUagxM2w== X-IronPort-AV: E=Sophos;i="5.77,319,1596524400"; d="scan'208";a="312355895" Received: from apickett-mobl.amr.corp.intel.com (HELO [10.255.228.142]) ([10.255.228.142]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Sep 2020 14:23:10 -0700 Subject: Re: [PATCH v9 0/5] Simplify PCIe native ownership detection logic To: bjorn@helgaas.com Cc: Kuppuswamy Sathyanarayanan , Bjorn Helgaas , linux-pci@vger.kernel.org, LKML , "Raj, Ashok" References: From: "Kuppuswamy, Sathyanarayanan" Message-ID: <49fcf84b-7578-2716-cad1-67e6a5cb9c56@linux.intel.com> Date: Tue, 29 Sep 2020 14:23:08 -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: 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 Hi, On 9/29/20 2:04 PM, Bjorn Helgaas wrote: > On Tue, Sep 29, 2020 at 4:00 PM Kuppuswamy, Sathyanarayanan > wrote: >> >> Hi Bjorn, >> >> On 9/27/20 6:11 PM, Kuppuswamy Sathyanarayanan wrote: >>> Currently, PCIe capabilities ownership status is detected by >>> verifying the status of pcie_ports_native, pcie_ports_dpc_native >>> and _OSC negotiated results (cached in struct pci_host_bridge >>> ->native_* members). But this logic can be simplified, and we can >>> use only struct pci_host_bridge ->native_* members to detect it. >>> >> Did you get this patch set or do I need to send it again? > > I got it, thanks. More importantly, it looks like linux-pci got it, too :) Thanks for the confirmation. > > $ b4 am -om/ https://lore.kernel.org/r/a640e9043db50f5adee8e38f5c60ff8423f3f598.1600457297.git.sathyanarayanan.kuppuswamy@linux.intel.com > Looking up https://lore.kernel.org/r/a640e9043db50f5adee8e38f5c60ff8423f3f598.1600457297.git.sathyanarayanan.kuppuswamy%40linux.intel.com > Grabbing thread from lore.kernel.org/linux-pci > Reduced thread to strict matches only (18->10) > Analyzing 10 messages in the thread > --- > Writing m/v9_20200922_sathyanarayanan_kuppuswamy_simplify_pcie_native_ownership_detection_logic.mbx > [PATCH v9 1/5] PCI: Conditionally initialize host bridge native_* members > [PATCH v9 2/5] ACPI/PCI: Ignore _OSC negotiation result if > pcie_ports_native is set. > [PATCH v9 3/5] ACPI/PCI: Ignore _OSC DPC negotiation result if > pcie_ports_dpc_native is set. > [PATCH v9 4/5] PCI/portdrv: Remove redundant pci_aer_available() > check in DPC enable logic > [PATCH v9 5/5] PCI/DPC: Move AER/DPC dependency checks out of DPC driver > --- > Total patches: 5 > --- > Cover: m/v9_20200922_sathyanarayanan_kuppuswamy_simplify_pcie_native_ownership_detection_logic.cover > Link: https://lore.kernel.org/r/cover.1600457297.git.sathyanarayanan.kuppuswamy@linux.intel.com > Base: not found (applies clean to current tree) > git am m/v9_20200922_sathyanarayanan_kuppuswamy_simplify_pcie_native_ownership_detection_logic.mbx > -- Sathyanarayanan Kuppuswamy Linux Kernel Developer