Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1250327imu; Tue, 20 Nov 2018 14:19:46 -0800 (PST) X-Google-Smtp-Source: AFSGD/VATFa9BMljGo8HWl5W1mNI4/AIc+/BcRpNOHvb392w5fJ/vAhEV/+kqAQsPI4As1nPMxuE X-Received: by 2002:a17:902:59c8:: with SMTP id d8mr4108491plj.116.1542752386298; Tue, 20 Nov 2018 14:19:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542752386; cv=none; d=google.com; s=arc-20160816; b=MoyJSV5wSXjqafZ281Iejo4SfjXYL7D8jMQyM2XOVuQP2cgINCGWNP+9SdZ0F7hJ78 nJ9p9Snz1upYJ2dB+CB+WXzvy5E/uNgCPDHpsjeNdUlbNlWPXa9NnBU1WI4yoBn94GQX bA1ax3I+OtdIDvw31+MoKfoIMuq10hxmF5wDEAsqBwSo/hanhDiImfTRwcEVj15GaSw7 BJdToLhFbnmFsV7fJEZs2918D8vFOo2/zzidW5no/J7cfRxY6vg/qLVE6g64N14Q28bE joxRC8W8yX3xGmMxpyS5kLK7dgz6Z6qtSrYm/FBGvFSUeeX1xu0tUy+G8auJaCo5iCO/ VM5w== 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=2MDrdkjAX2SqBgdjUm/1TIU9X/zqxmXnVcxkxZzvTAo=; b=eqatPvNsNEMi/GgeC4itxGZ4doEPQI1IYseP6ll+e5dohvgnDjUExLP8vZghQQ+HPH EHjA4m2nUiakI5L4q0luj7NBY7JB5NKgBbtIi6QdfkM4Ok0Dgta+bPuV3cqKZrv8kzx0 xsYXzrfYqp7o5xw77orjwg/7ugdlHQcTwVRflGUBsjNETUkaVWhEPsWSFhtJi8JQ0Emv 8ssF5AEnlq+A10IQpj59V4sMP+IKh9HAvGzjYMcbjnW4NrWx+e0yD5PprWHeSEv0qAcb CmPIQElvD6+phEA2udvj8Ka6POENu0/I3kK9VUQxCL3VloheKTAg9T/6FxFMEzF4veFp oYbA== 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 i5si18444958pfo.189.2018.11.20.14.19.31; Tue, 20 Nov 2018 14:19:46 -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 S1726026AbeKUIRN (ORCPT + 99 others); Wed, 21 Nov 2018 03:17:13 -0500 Received: from mga01.intel.com ([192.55.52.88]:14530 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725939AbeKUIRN (ORCPT ); Wed, 21 Nov 2018 03:17:13 -0500 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Nov 2018 13:45:57 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,258,1539673200"; d="scan'208";a="107936095" Received: from unknown (HELO localhost.localdomain) ([10.232.112.69]) by fmsmga004.fm.intel.com with ESMTP; 20 Nov 2018 13:45:57 -0800 Date: Tue, 20 Nov 2018 14:42:43 -0700 From: Keith Busch To: Sinan Kaya Cc: Alex_Gagniuc@Dellteam.com, mr.nuke.me@gmail.com, baicar.tyler@gmail.com, Austin.Bolen@dell.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@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH 0/2] PCI/AER: Consistently use _OSC to determine who owns AER Message-ID: <20181120214243.GG26707@localhost.localdomain> References: <20181119181051.GA26707@localhost.localdomain> <3f923367-2cc1-c0d6-bca6-bf9a03d1b9ca@gmail.com> <84013a8a-287d-d700-6710-91cc35f507c8@kernel.org> <9c9531c7efb846438f03f744b9afc466@ausx13mps321.AMER.DELL.COM> <3b18a9fa-7bdd-0fb4-285d-4efb454be50a@kernel.org> <314e59da-48e1-545b-3ee9-6e5056b90fd9@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <314e59da-48e1-545b-3ee9-6e5056b90fd9@kernel.org> 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 Tue, Nov 20, 2018 at 04:02:21PM -0500, Sinan Kaya wrote: > On 11/20/2018 3:44 PM, Alex_Gagniuc@Dellteam.com wrote: > > I'd prefer "sure" instead of "think". "I think it breaks some system I'm > > not telling you about" doesn't help much in figuring out how not to > > break said system(s).:) > > Sorry, I thought I mentioned why it would break but let me repeat. > > The systems I have seen rely on the HEST table presence as an indicator > to the OS that firmware first is enabled. If you go look at the _OSC bits > on such systems, it still says OS owns the AER service. > > The assumption here is that HEST table has precedence over the _OSC bits. > That's what needs to be clarified in the UEFI forum. > > If this code is to go in and ignore the HEST table presence, then firmware > will think that it owns AER service and OS will think that it owns AER > service too. How does that work? If the OS takes control, it sets up MSIs that FW don't react to, and disables system errors through PCIe Root Control. Aren't those sys errs the mechanism FW knows it has something to do, which means the OS can effectively fence it off?