Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2982991imu; Mon, 19 Nov 2018 08:58:40 -0800 (PST) X-Google-Smtp-Source: AJdET5d2ez21jpqWw05pVxHbeDnzY9lvfzde+3Br/FdDqdElbmMPqtTXWrqgmsV+noE+c5uRmgMS X-Received: by 2002:a62:d2c1:: with SMTP id c184mr14661467pfg.248.1542646720542; Mon, 19 Nov 2018 08:58:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542646720; cv=none; d=google.com; s=arc-20160816; b=Oj0tFNTalXF7upi382QH0my5HP2V5GdNJME5u+PYS74x23SEE1L5qRSRSJj73bP2Lb U1L9wcfdn1/ZyKZoOdRTbze2NBGXKrQCWymc4nxTwjhIp6EZ1mF7bN4nbL8ywb9Je6GE BUjpRYuzN5nV2wLALJK6LFBuxl0IxyZofVGgS3/1zCoHuXM2WkwL/5fU1OKJs4rXifko qjeikMVsPspkZkhJQVLaO1ro0QPoU3luxiOr/d3NJkiiJ1/cctB6uLmiYUZwGrDD/Z8S 8SMfM5Q6JT22IhLRez+kk+2JBB6kv3PzDXK/vBhhfLCHbSCsXshi2BjsjS2MSo1nDsPd ROcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=jo6GQ6iREM4Ca9XXY7/1i5t6KEZD+3t9Vm2Iuu8XSvs=; b=NhWtNYOW6XkIX9vOzAecoTzJBBVxzu+UtTCHabRs7qcN8Mp1xAq03PZMdJ/Bqn/UPe y2bF2vXzv2ZIBu06yh0pnlPZ6RJooHzMAyJ0456hhG/CuwDoBkQB7PdjZ3IKshsPlHIy X2ALJwNO9xkR2N/JZIPx54csziQLr6dbXDIiLfYr9Iw9HH8kque2LM7T0CrO9ifVgjXS z97OGL8SFOP5uAQPoaQlv27ssjTPHqusXKYC5WRpcri+lNckgFReZgG+MrTn8Hnk3bWC 8nlLW5GS4bLLyrfquz3reyVpPoKuKPrnG5hqD96asj8EDtnJvMLOM44PYEsfR8GSx1gM djhA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 184si1153799pgj.329.2018.11.19.08.58.25; Mon, 19 Nov 2018 08:58:40 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404317AbeKTDUv (ORCPT + 99 others); Mon, 19 Nov 2018 22:20:51 -0500 Received: from mga14.intel.com ([192.55.52.115]:6527 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404073AbeKTDUt (ORCPT ); Mon, 19 Nov 2018 22:20:49 -0500 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Nov 2018 08:56:35 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,253,1539673200"; d="scan'208";a="282412068" Received: from unknown (HELO localhost.localdomain) ([10.232.112.69]) by fmsmga006.fm.intel.com with ESMTP; 19 Nov 2018 08:56:34 -0800 Date: Mon, 19 Nov 2018 09:53:18 -0700 From: Keith Busch To: Tyler Baicar Cc: okaya@kernel.org, mr.nuke.me@gmail.com, helgaas@google.com, austin_bolen@dell.com, alex_gagniuc@dellteam.com, Shyam_Iyer@dell.com, lukas@wunner.de, bhelgaas@google.com, rjw@rjwysocki.net, lenb@kernel.org, ruscur@russell.cc, sbobroff@linux.ibm.com, oohall@gmail.com, linux-pci@vger.kernel.org, linux-acpi@vger.kernel.org, Linux Kernel Mailing List , linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH 0/2] PCI/AER: Consistently use _OSC to determine who owns AER Message-ID: <20181119165318.GB26595@localhost.localdomain> References: <20181115231605.24352-1-mr.nuke.me@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 19, 2018 at 11:53:05AM -0500, Tyler Baicar wrote: > On Thu, Nov 15, 2018 at 8:49 PM Sinan Kaya wrote: > > > > On 11/15/2018 3:16 PM, Alexandru Gagniuc wrote: > > > I've asked around a few people at Dell and they unanimously agree that > > > _OSC is the correct way to determine ownership of AER. In linux, we > > > use the result of _OSC to enable AER services, but we use HEST to > > > determine AER ownership. That's inconsistent. This series drops the > > > use of HEST in favor of _OSC. > > > > > > [1]https://lkml.org/lkml/2018/11/15/62 > > > > This change breaks the existing systems that rely on the HEST table > > telling the operating system about firmware first presence. > > > > Besides, HEST table has much more granularity about which PCI component > > needs firmware such as global/device/switch. > > > > You should probably circulate these ideas for wider consumption in UEFI > > forum as UEFI owns the HEST table definition. > > I agree with Sinan, this will break existing systems, and the granularity of the > HEST definition is more useful than the single bit in _OSC. But we're not using HEST as a fine grain control. We disable native AER handling if *any* device has FF set in HEST, and that just forces people to use pcie_ports=native to get around that.