Received: by 2002:a05:7412:8521:b0:e2:908c:2ebd with SMTP id t33csp47017rdf; Thu, 2 Nov 2023 13:21:06 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHr8kyfAZG+flaMrO1DOGX13QwvrHm2CpuJqN5jf9uegnDuXjXtBDsF9lKTYStslBJYLHoE X-Received: by 2002:a05:6a21:a58d:b0:16e:ab42:9837 with SMTP id gd13-20020a056a21a58d00b0016eab429837mr22999731pzc.29.1698956465965; Thu, 02 Nov 2023 13:21:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698956465; cv=none; d=google.com; s=arc-20160816; b=OXIIQH21PlJGbNG4KL0fDpUJ6uS1E983/NUTAzIf/8Oz6Aws6ZVmlqyoThJa1hHsom Y0AqYvrtX8f1YL1gKX6PzQhaEELxV65b/VOev+IkiPjtDwmyPCYZ2Ii+LlQx+bHZLxHh 8KX3SeMNWxLncpyeOWdZ737ec1eP1JDtV9FpY70vd+21fyfD10oiA87yO2BoCrSBFOVJ ujYmUwb0+f803BAjHZctnUv5YxKcV8ZuybrFmP4tx9XcJo8VOpcgVx3r+PvItzskENlF 2NsNJiuxbT1ac7HlmLhX7OSnkBxqy/OCi8zn+voJUQZ8NiY6fKRrnn1US3NECNJD1o8q TszA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=GOveo0hYRpPlGA0yyiAqAGZrbRtf7FbdXxDub1wp9hA=; fh=MECtojnoz8kgpOPUoby17BC/8pDUGUFUD6Ebq2uxJCo=; b=QZ413F3Rndi3VJhfRSqkORwX2ERvj0ydYM8ARdBn+x3leYlIbUz9I5cOlEiWovpkZT RdxOXtCjWwFIDQlWMzpSr14C1qIk9q0l/U4s/aWQ9QftuZVs3TEG6u2gwY8+nx28eQAU B5gxH3c4iCAawtCEY7469+1YxpsZ/ky6hGNcxN/ZiYPgVhh+71gdNLYnCDwkBkJC864R fzxOzt6pHcL7OS4IMW1ygYhMdVGO6m4v+J5FJv3XLlMMC8UggNb1K1TaDJiSr3brW/ZP nSOv2f/yCvLFzU3SJGYe2WIx+MOYdEqHxS5ww9ndGbBmhnVTyUddpx3qCzXTg99mCBkO 5yQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Volb+oa9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id 4-20020a630d44000000b005b96cdc0687si217153pgn.328.2023.11.02.13.21.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Nov 2023 13:21:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Volb+oa9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id EF7518392316; Thu, 2 Nov 2023 13:20:57 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232099AbjKBUUQ (ORCPT + 99 others); Thu, 2 Nov 2023 16:20:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51280 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234389AbjKBUUM (ORCPT ); Thu, 2 Nov 2023 16:20:12 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 879F1D41; Thu, 2 Nov 2023 13:19:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1698956398; x=1730492398; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=8FvPa+/6GRdbomabAjZ76exDDp8U1uvgYhrgr1oPcEY=; b=Volb+oa9yMdihZzj4akQaA6nWId+HhbiBc1Bsdak7Q+XAc4OfheX7hf0 Q2vbbedbZLJmx9Sw+d+kw6cEa6OXZHi5apnRNUeVx4mclsQ0F6gB/Nzof FXGS5iqY/xy6DUN/B/WIEKy0UYWlZkoo5R3a2IJcB37QvVOIuKlPcMUan kfZDE4IwPdoasnMzk5pLObQs8zLr9XJg5P233Xx96Jx59P0iEA0csaOSd EGUAjNuHjCG8dhRYiihE8LBAgVuD0Pr8K0qRRf9I9rlLXD6/hBEdRIrc7 j/Bjz7cQEMvai1HzlW5hfKJBDqfevz4Q4CDU700+LQMqmMdIFGiEx1sgK w==; X-IronPort-AV: E=McAfee;i="6600,9927,10882"; a="385984624" X-IronPort-AV: E=Sophos;i="6.03,272,1694761200"; d="scan'208";a="385984624" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Nov 2023 13:19:57 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10882"; a="878378211" X-IronPort-AV: E=Sophos;i="6.03,272,1694761200"; d="scan'208";a="878378211" Received: from aschofie-mobl2.amr.corp.intel.com (HELO aschofie-mobl2) ([10.251.28.107]) by fmsmga002-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Nov 2023 13:19:56 -0700 Date: Thu, 2 Nov 2023 13:19:55 -0700 From: Alison Schofield To: Terry Bowman Cc: vishal.l.verma@intel.com, ira.weiny@intel.com, bwidawsk@kernel.org, dan.j.williams@intel.com, dave.jiang@intel.com, Jonathan.Cameron@huawei.com, linux-cxl@vger.kernel.org, Smita.KoralahalliChannabasappa@amd.com, rrichter@amd.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH] cxl/pci: Change CXL AER support check to use native AER Message-ID: References: <20231102155232.1421261-1-terry.bowman@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231102155232.1421261-1-terry.bowman@amd.com> X-Spam-Status: No, score=-1.3 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Thu, 02 Nov 2023 13:20:58 -0700 (PDT) On Thu, Nov 02, 2023 at 10:52:32AM -0500, Terry Bowman wrote: > Native CXL protocol errors are delivered to the OS through AER > reporting. The owner of AER owns CXL Protocol error management with > respect to _OSC negotiation.[1] CXL device errors are handled by a > separate interrupt with native control gated by _OSC control field > 'CXL Memory Error Reporting Control'. > > The CXL driver incorrectly checks for 'CXL Memory Error Reporting > Control' before accessing AER registers and caching RCH downport > AER registers. Replace the current check in these 2 cases with > native AER checks. Hi Terry, Does this have a user visible impact? Alison > --snip