From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) (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 647E933B6D8; Wed, 14 Jan 2026 18:55:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.176.79.56 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768416931; cv=none; b=BdE2cpMq3Qy+IkuLEP4y94aPl80UZIOyDtHsxyEJYeqQNNUoprHZ8e+1+hUQRObYR9Cn5GgLflpXwuSKMAPx8/4yNwP2rTlGcXqZe05mrDArVLt8RXY/ewJ1GHTmbdy59Z2jlH4ADZilu9g3PQUHjnpfDFws2q7XvMauZOgsUpQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768416931; c=relaxed/simple; bh=UzvYntjso0Ej9JuGdU5l5S8Oz92gQdxu7XMGc/X+DPY=; h=Date:From:To:CC:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=mi4AeCD2EBnMwo8x2oitp+ptng2u93ylnj/TGzcOF+SzFYYkOCsp/6Srx44EdKWffTbDJjVmV5R1wWVqQAL1SdNuLMAK71HIvrjf5bHErvqtAhqkAxZ6T4o+0VYii1wonLw+LEEno8smf4ggnThBO6dTyVpJgB2hNY55EQ9i/t4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=185.176.79.56 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.18.224.150]) by frasgout.his.huawei.com (SkyGuard) with ESMTPS id 4drwKV4LqLzJ468F; Thu, 15 Jan 2026 02:55:10 +0800 (CST) Received: from dubpeml100005.china.huawei.com (unknown [7.214.146.113]) by mail.maildlp.com (Postfix) with ESMTPS id A722940563; Thu, 15 Jan 2026 02:55:25 +0800 (CST) Received: from localhost (10.203.177.15) by dubpeml100005.china.huawei.com (7.214.146.113) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.36; Wed, 14 Jan 2026 18:55:24 +0000 Date: Wed, 14 Jan 2026 18:55:23 +0000 From: Jonathan Cameron To: Terry Bowman CC: , , , , , , , , , , , , , , , , , , , Subject: Re: [PATCH v14 06/34] PCI: Replace cxl_error_is_native() with pcie_aer_is_native() Message-ID: <20260114185523.000046b1@huawei.com> In-Reply-To: <20260114182055.46029-7-terry.bowman@amd.com> References: <20260114182055.46029-1-terry.bowman@amd.com> <20260114182055.46029-7-terry.bowman@amd.com> X-Mailer: Claws Mail 4.3.0 (GTK 3.24.42; x86_64-w64-mingw32) Precedence: bulk X-Mailing-List: linux-pci@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: lhrpeml500009.china.huawei.com (7.191.174.84) To dubpeml100005.china.huawei.com (7.214.146.113) On Wed, 14 Jan 2026 12:20:27 -0600 Terry Bowman wrote: > The AER driver includes a CXL support function cxl_error_is_native(). This > function adds no additional value from pcie_aer_is_native(). > > Simplify the codebase by removing cxl_error_is_native() and replace > occurrences of cxl_error_is_native() with pcie_aer_is_native(). > > Signed-off-by: Terry Bowman > Reviewed-by: Dan Williams Reviewed-by: Jonathan Cameron Dave, if for any reason the rest gets delayed, nice if we can pick this one up anyway.