From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 97C83C4828D for ; Tue, 6 Feb 2024 14:04:41 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 410A661162; Tue, 6 Feb 2024 14:04:41 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 410A661162 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org; s=default; t=1707228281; bh=4Nr6dU2rmCXT6AY8jPwfs2yNfoItq4kTnpt7lysw1dY=; h=From:To:Date:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:Cc:From; b=ivaPpYhzHwix3nqvZ0FXe8h7oN4XrNX6RXlE1gTM2nxJPi9c3ctVK4iEz3pM8cCpR MRffhOLhJCsRHMs9PdOnABkNJcensyApTang2tnu7c+o/MAIyo5kkH9i2XnbCjLJ4r 5TlrKXWKw7pkFqBVpGlPNtCuNl+iCqLzbDxIdLbnp9wus9NHgaBNcnvWzNfcESaMVE Q/2ewIMy4TODdPk1/VMVlhjppHQ7ED/ABNLszHGkwKFj1LwEFgoWKawitbtw9KB+Kx G9JQtoiP14+5WKVm0hIjEjcfvPs8WAaOGVqbaQLgoyuHo9n5oT+s/As4aD5D1pXsXh Eo10D3fvS1kiw== X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oY7bcvVN03fI; Tue, 6 Feb 2024 14:04:40 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp3.osuosl.org (Postfix) with ESMTP id 7C6C2611AD; Tue, 6 Feb 2024 14:04:40 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 7C6C2611AD Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id E89A21BF576 for ; Tue, 6 Feb 2024 14:04:38 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id D3C7C81F9C for ; Tue, 6 Feb 2024 14:04:38 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xYlvuuKC7tLD for ; Tue, 6 Feb 2024 14:04:38 +0000 (UTC) X-Greylist: delayed 426 seconds by postgrey-1.37 at util1.osuosl.org; Tue, 06 Feb 2024 14:04:37 UTC DMARC-Filter: OpenDMARC Filter v1.4.2 smtp1.osuosl.org E2A0581ED9 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org E2A0581ED9 Received-SPF: None (mailfrom) identity=mailfrom; client-ip=192.198.163.14; helo=mgamail.intel.com; envelope-from=ilpo.jarvinen@linux.intel.com; receiver= Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.14]) by smtp1.osuosl.org (Postfix) with ESMTPS id E2A0581ED9 for ; Tue, 6 Feb 2024 14:04:37 +0000 (UTC) X-IronPort-AV: E=McAfee;i="6600,9927,10975"; a="905144" X-IronPort-AV: E=Sophos;i="6.05,247,1701158400"; d="scan'208";a="905144" Received: from fmviesa006.fm.intel.com ([10.60.135.146]) by fmvoesa108.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Feb 2024 05:57:30 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.05,247,1701158400"; d="scan'208";a="1309627" Received: from ijarvine-desk1.ger.corp.intel.com (HELO localhost) ([10.246.36.139]) by fmviesa006-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Feb 2024 05:57:25 -0800 From: =?UTF-8?q?Ilpo=20J=C3=A4rvinen?= To: linux-pci@vger.kernel.org, Bjorn Helgaas , Jesse Brandeburg , intel-wired-lan@lists.osuosl.org, Tony Nguyen Date: Tue, 6 Feb 2024 15:57:13 +0200 Message-Id: <20240206135717.8565-1-ilpo.jarvinen@linux.intel.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1707228278; x=1738764278; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=+6R/x2mXrJ2mSjnMfGMWqrnVr3TA5VqeovMhAdWHed8=; b=KcTcGHxCA2LctJHKxiIcwYuB6WG9dAhec5Y7/umSbOO8yL9Lt/QMnsIf BRAmMKM9Bt1TSNzuSbw9RYqkPGKko4RLW+OHLDiEBJrrRPvF2CDgEx6gW Tz2qM5yUthYZK1XZNonQwNc8LkFCjDeZMazBsKpuHmESQ7tshSXmlRFdV 6Ov4PFCo5rDgqowXcCmtwSwkT71HaUgWd5J2wid9volIVCbhmKIf9ktOK pEqkRn2ZyBE4qZujYp2/WYcGaAtNhime0tqDAHHGzGl7NIkUXCqNrYSpQ 5e1OZp538DGYpdEan4p4o1/L9nDEvqQYcW4dvamiPbGO1nJ3/wAo85pq2 A==; X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dmarc=none (p=none dis=none) header.from=linux.intel.com X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dkim=pass (2048-bit key, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=KcTcGHxC Subject: [Intel-wired-lan] [PATCH 0/4] PCI: Consolidate TLP Log reading and printing X-BeenThere: intel-wired-lan@osuosl.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel Wired Ethernet Linux Kernel Driver Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Oliver O'Halloran , linux-efi@vger.kernel.org, Tony Luck , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, "David S. Miller" , Eric Dumazet , Paolo Abeni , Borislav Petkov , =?UTF-8?q?Ilpo=20J=C3=A4rvinen?= , Jakub Kicinski , Mahesh J Salgaonkar , linuxppc-dev@lists.ozlabs.org, Ard Biesheuvel , linux-edac@vger.kernel.org Errors-To: intel-wired-lan-bounces@osuosl.org Sender: "Intel-wired-lan" This series consolidates AER & DPC TLP Log handling code. Helpers are added for reading and printing the TLP Log and the format is made to include E-E Prefixes in both cases (previously only one DPC RP PIO displayed the E-E Prefixes). I'd appreciate if people familiar with ixgbe could check the error handling conversion within the driver is correct. Ilpo Järvinen (4): PCI/AER: Cleanup register variable PCI: Generalize TLP Header Log reading PCI: Add TLP Prefix reading into pcie_read_tlp_log() PCI: Create helper to print TLP Header and Prefix Log drivers/firmware/efi/cper.c | 4 +- drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 39 +++------ drivers/pci/ats.c | 2 +- drivers/pci/pci.c | 79 +++++++++++++++++++ drivers/pci/pci.h | 2 +- drivers/pci/pcie/aer.c | 28 ++----- drivers/pci/pcie/dpc.c | 31 ++++---- drivers/pci/probe.c | 14 ++-- include/linux/aer.h | 16 ++-- include/linux/pci.h | 2 +- include/ras/ras_event.h | 10 +-- include/uapi/linux/pci_regs.h | 2 + 12 files changed, 145 insertions(+), 84 deletions(-) -- 2.39.2