From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 39AAA48820F; Tue, 25 Aug 2026 15:05:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.11 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787670343; cv=none; b=W5G3YLErdPGkr+3+sowWbH+ssY3uADcxvlmQgV6qbB27qF7iMW4HiVvM+8Xk2/7ku73mrzA5Fqela5V54/Ae4onNWuh5sD9XJqyCyacu7aZD8sNCqpqDxwWJMhvr9amqYBB3+FwR9bk7/9d25rLrV+tOq2Wb5Ww2eJyZvs3QUqc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787670343; c=relaxed/simple; bh=6IbQ8NWl5SENvhE9qlGU3xV95t3hiRlF1/ts9X37Uao=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=J4dRUNhRh9CiNopofyBACmbG1CFxp4FmIMTXtaGnxG08s3ZAxYALly8qIJN5jAzUxTsmyLjeuJkLr4qDTQrAf3dxHEflop7N6QqETH5Ym1NKu/kFdw4zihKIVsa8tqv/ouyVxl3C8BG4gPq4XQuwzlsQcrSeies0XK1CHbZDrE8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=RYxrj4Dq; arc=none smtp.client-ip=192.198.163.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="RYxrj4Dq" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1787670340; x=1819206340; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=6IbQ8NWl5SENvhE9qlGU3xV95t3hiRlF1/ts9X37Uao=; b=RYxrj4DqV4wTtTJHApbCTb3PxMLM+7GtM4xQ3qbIpbGxGp7eGtaaRN2+ wrVoUFcIljfK4DCMTKeWc5ed/bVVMEG7zvC7CLo6efvzxtDQHLQI3+KX9 THr9Dl+vB0UsCNpghnEKf17JsyI+UaTMVPUpxI/0p83U5r/PbnMATiOVI jJPNTkIyGYK0+vmFkNJ0yIl15T8W1A0Le9f9N1PQi0udi7l3Xs+EYHSXX cRt+llcpgubKEv9nRN6uvgljOVyaXptgppPf2lukPyNTWCkEYkU56vFP4 2cAQrpCAjIM4vWhLowC3T82CSmDlrSvC4ip0et+r7Av5kWxXt9JqCcnAd Q==; X-CSE-ConnectionGUID: BUEpmGqDQfG0YRpzB70JUw== X-CSE-MsgGUID: as9IhNP/RzuEsyStokJouA== X-IronPort-AV: E=McAfee;i="6800,10657,11885"; a="98729731" X-IronPort-AV: E=Sophos;i="6.25,242,1779174000"; d="scan'208";a="98729731" Received: from fmviesa003.fm.intel.com ([10.60.135.143]) by fmvoesa105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Aug 2026 08:05:39 -0700 X-CSE-ConnectionGUID: 2I20LNVrR2KonyR4apRJnA== X-CSE-MsgGUID: uln+ABYsTEizmI3rYmY76A== X-ExtLoop1: 1 Received: from rchatre-mobl4.amr.corp.intel.com (HELO [10.125.109.2]) ([10.125.109.2]) by fmviesa003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Aug 2026 08:05:37 -0700 Message-ID: <37843d00-c9c7-439d-830a-33c6fb89f1b3@intel.com> Date: Tue, 25 Aug 2026 08:05:36 -0700 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 1/2] PCI/AER: Export pcie_aer_is_native() to AER namespace To: Rodrigo Vivi , Raag Jadav Cc: dave@stgolabs.net, jic23@kernel.org, alison.schofield@intel.com, vishal.l.verma@intel.com, djbw@kernel.org, iweiny@kernel.org, ming.li@zohomail.com, bhelgaas@google.com, linux-cxl@vger.kernel.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, intel-xe@lists.freedesktop.org, lukas@wunner.de, riana.tauro@intel.com, michal.wajdeczko@intel.com, matthew.d.roper@intel.com References: <20260825054312.1319951-1-raag.jadav@intel.com> <20260825054312.1319951-2-raag.jadav@intel.com> From: Dave Jiang Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 8/25/26 7:18 AM, Rodrigo Vivi wrote: > On Tue, Aug 25, 2026 at 11:12:50AM +0530, Raag Jadav wrote: >> pcie_aer_is_native() was originally exported to CXL namespace in commit >> 49f776724e64 ("PCI/AER: Export pcie_aer_is_native()"). This is a bit >> misleading as the symbol or its underlying implementation does not reflect >> any distinguishable CXL functionality. >> >> Change this and export pcie_aer_is_native() to AER namespace, which is >> cleaner and more suitable for its implementation. >> >> Suggested-by: Lukas Wunner >> Signed-off-by: Raag Jadav >> --- >> drivers/cxl/port.c | 1 + >> drivers/pci/pcie/aer.c | 2 +- > > PCI and CXL folks, ack to get this through drm-next branches towards 7.4? > Or any of you wanting to pull this through your trees for 7.3-rc1? It's not really a fix and with no fixes tag. Also it's not a bug that popped up in the 7.3 merge window. It'll have to be 7.4. I can pull it through CXL when all the appropriate tags show up or you can take it through DRM. Probably more reasonable for the DRM tree given the second patch is what needs the change. Just make it clear to the maintainers how you want to do this. DJ > > Thanks, > Rodrigo. > > btw: > > Reviewed-by: Rodrigo Vivi > >> 2 files changed, 2 insertions(+), 1 deletion(-) >> >> diff --git a/drivers/cxl/port.c b/drivers/cxl/port.c >> index 99cf77b6b699..00f675163b3d 100644 >> --- a/drivers/cxl/port.c >> +++ b/drivers/cxl/port.c >> @@ -340,5 +340,6 @@ module_exit(cxl_port_exit); >> >> MODULE_DESCRIPTION("CXL: Port enumeration and services"); >> MODULE_LICENSE("GPL v2"); >> +MODULE_IMPORT_NS("AER"); >> MODULE_IMPORT_NS("CXL"); >> MODULE_ALIAS_CXL(CXL_DEVICE_PORT); >> diff --git a/drivers/pci/pcie/aer.c b/drivers/pci/pcie/aer.c >> index c4fd9c0b2a54..8660b18bac8b 100644 >> --- a/drivers/pci/pcie/aer.c >> +++ b/drivers/pci/pcie/aer.c >> @@ -248,7 +248,7 @@ int pcie_aer_is_native(struct pci_dev *dev) >> >> return pcie_ports_native || host->native_aer; >> } >> -EXPORT_SYMBOL_NS_GPL(pcie_aer_is_native, "CXL"); >> +EXPORT_SYMBOL_NS_GPL(pcie_aer_is_native, "AER"); >> >> static int pci_enable_pcie_error_reporting(struct pci_dev *dev) >> { >> -- >> 2.43.0 >>