Received: by 2002:ab2:7041:0:b0:1f4:bcc8:f211 with SMTP id x1csp220588lql; Fri, 12 Apr 2024 08:26:42 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXrCXY5UA0iyKjtiMgU5dSvP3kEOqaP88qMoxOGwEjxBCqREsN1G6NnLFk1+/jHNVvx1bUo/DqKThlrYnmGgeQ75OU2zEDAwU82ecxj/Q== X-Google-Smtp-Source: AGHT+IHlDJmWCgbT0Q9ZDyn0Jwyyq1aqT89jvro7o90inIls7wJasp/spWI0v4wN+3pKflFXI2Eq X-Received: by 2002:a05:622a:4cc:b0:431:5f79:6748 with SMTP id q12-20020a05622a04cc00b004315f796748mr3277026qtx.51.1712935602360; Fri, 12 Apr 2024 08:26:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712935602; cv=pass; d=google.com; s=arc-20160816; b=vOaaN9VKgg3N1ToRz2cYkoIBHlzwnQlK59VVzgnXzxF0Eyg9XG+Yak/hJu2dXoQSHw SxaBF0tBjU4JQzTX0dH7LdbCWJBTOCIabFLsGQV3Nc1pr6ORCSeNoe8kR/zVBx2GUx5Y Clotbu1XMjBkDoJa4wloLEUnMe0K0ZUPQcVjGCEK/U1lIFeD7sSIcS8eUdQZiuyl8gEw qAvXjNK8t+sAHQDmfIefp6BUzYxenN43D/vLXpu9hNE1JR7U91FKKWPY/kxV4VhUIKqc kN7voT9C0cVaJe3P03ZCvBbGCYbu7zU4e4WFd50rv6D7nQZQyXd03UDxpqdMe/FYiEu2 SliQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=FIz3NGDfzmJN41frD+g21SxC3GhBG/BTkK6ruWY/EWg=; fh=OBysYNnG7F0Gh8ugIEu8rwIFqIgKZ1DM30uiTzyBm4w=; b=hfmc+UDkiTlSZHi3mzHFfJMPzWlBtiKnV9s1eqWUDPCGgWeBHbxGZ34NbevGWKCYaf Hm5aLmArAVMq5BZf7EjE1bqC6V11lyZ0tMLDEgRLed5OgsZoqy6tG/X6JyOvACRxprCe 0OFH2DuQO9PUTVuRQvMkR9tg76kSgzOsNSNWMNgz0UF9QkfKUSmWQaJw5i7uZN8AurPg TT90mZRb3HomsX5+7mLQSJDRZeZoAq/d7xkXFzXpQuwJx+1/AuRlmxwOJ1MR316LWDA/ td8x8v73ATSzVqWVczhKZvYw+CcybfII/nWIt/zhHXBa+DxMsgDYrsYRyNb2jyt1wkd9 s6Jw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=i1y1lOn9; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-142740-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-142740-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id o14-20020ac85a4e000000b004367eb0edd2si2385808qta.722.2024.04.12.08.26.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Apr 2024 08:26:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-142740-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=i1y1lOn9; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-142740-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-142740-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 247751C22D87 for ; Fri, 12 Apr 2024 13:36:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 14F13824BC; Fri, 12 Apr 2024 13:36:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="i1y1lOn9" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.8]) (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 A96D97E108; Fri, 12 Apr 2024 13:36:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.8 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712929009; cv=none; b=K+Te1xJsCDSU4UZa2zt+brr3ttsWgwSJz0xLYTMNVXfGCN2hIE3h2bhY0LFVMOhr2Ps/p+PBCjPXqb68V+Gng+YuM6SuZAGYr00VqAM7fMNkd3YSv3holVmKfY4OmQWuCROfOQtssAorSymBPGFhytUHCn4RyKsCEXAPwNQfRiM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712929009; c=relaxed/simple; bh=UA1sS56M2vTYHjdAbQdVD560pz+AgXlcwN7dZXpHgAk=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Content-Type; b=D1MT7zCQmX4PqwzoFwC29Ol0jmoco1cw5x0Hn5+VnCFn8xNpdpR99lT0LgjYu7AomNL2BCqDJkyDdSvelCycKePT/CzT8IclZlAgBBhRIqlMqfAHSEtJXsEaMUPxZD+13Wh96kXE1Oxb3ywsXTncf40yqJboauwS3uik8esAx74= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=i1y1lOn9; arc=none smtp.client-ip=192.198.163.8 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1712929007; x=1744465007; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=UA1sS56M2vTYHjdAbQdVD560pz+AgXlcwN7dZXpHgAk=; b=i1y1lOn9mG7lba9/BkIsfDqsnS6/z/gpit+8HPn0b5+oAgmd5aiVmdlh wv4xk6xNcaTbSo2WuLvBgaXZJqkhjsMuYRkIB7T5NRmotPh+zIgmUG+n2 O6HjRErCy/GOVLLAEtyy6++RRhz5LIvc39QIwmviqJIs0DB0j8eClq1/h lMd4WqdwaSbLFnEpNYdIJrfwzl4QpORV/JRH5M3PKW9fpblB7HyrXeKXt 41ZUUmmpjNdNdgMflJTPlbgnH/RilHQQ/FWVDHX6awV0jxvocCvFbt1Hh gPXpm3SJmmtFzQHHLv5vxXAJsE862rSE940wNRpVqKQhVrnbEw+xmp1k2 A==; X-CSE-ConnectionGUID: ES3oa4UPQc6f1azagZjptw== X-CSE-MsgGUID: 70F8Aei6TC+YZ2JjC3CMWg== X-IronPort-AV: E=McAfee;i="6600,9927,11041"; a="25897874" X-IronPort-AV: E=Sophos;i="6.07,196,1708416000"; d="scan'208";a="25897874" Received: from orviesa001.jf.intel.com ([10.64.159.141]) by fmvoesa102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Apr 2024 06:36:46 -0700 X-CSE-ConnectionGUID: ZBZQ50teQMiKo5vgjat3hQ== X-CSE-MsgGUID: 9eukN5+eSm6g0F6L2hBfoQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,196,1708416000"; d="scan'208";a="58662876" Received: from ijarvine-desk1.ger.corp.intel.com (HELO localhost) ([10.245.247.32]) by smtpauth.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Apr 2024 06:36:43 -0700 From: =?UTF-8?q?Ilpo=20J=C3=A4rvinen?= To: Bjorn Helgaas , linux-pci@vger.kernel.org, Mahesh J Salgaonkar , Oliver O'Halloran , Lukas Wunner Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, =?UTF-8?q?Ilpo=20J=C3=A4rvinen?= Subject: [PATCH v3 0/2] PCI: Consolidate TLP Log reading and printing Date: Fri, 12 Apr 2024 16:36:33 +0300 Message-Id: <20240412133635.3831-1-ilpo.jarvinen@linux.intel.com> X-Mailer: git-send-email 2.39.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This series has the remaining patches of the AER & DPC TLP Log handling consolidation. v3: - Small rewording in a commit message v2: - Don't add EXPORT()s - Don't include igxbe changes - Don't use pr_cont() as it's incompatible with pci_err() and according to Andy Shevchenko should not be used in the first place Ilpo Järvinen (2): PCI: Add TLP Prefix reading into pcie_read_tlp_log() PCI: Create helper to print TLP Header and Prefix Log drivers/pci/ats.c | 2 +- drivers/pci/pci.c | 66 +++++++++++++++++++++++++++++++---- drivers/pci/pcie/aer.c | 14 +++----- drivers/pci/pcie/dpc.c | 23 +++++++----- drivers/pci/probe.c | 14 +++++--- include/linux/aer.h | 7 +++- include/linux/pci.h | 2 +- include/uapi/linux/pci_regs.h | 2 ++ 8 files changed, 98 insertions(+), 32 deletions(-) -- 2.39.2