Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp4736238imm; Wed, 30 May 2018 10:57:05 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKxLxC9qP0sEAyUpnyiO6trIxQPLS/kPzpZ2imvF9B+TIwF+k5sQ3YRre+5TwR2tx7CJ7sF X-Received: by 2002:a63:744c:: with SMTP id e12-v6mr3001090pgn.4.1527703025096; Wed, 30 May 2018 10:57:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527703025; cv=none; d=google.com; s=arc-20160816; b=ymrRH9/Bo72SpoksMHaPkyw46pCfecGKyQ+8SUCWI/c54U2yIelwRZgd4oKvKOK556 mz2TH0Kf6zYYlkUIuYOO7/vQWI5x3B4rJ0/uog9DPj0pW78sCZOuqu2/dtAATs2dskvv LCtEoUIXlAblYffZg9H9AU9Z1aBx2nzI9tbh8RiGZF6dBRTjmHHJlDvnN+iL5sbuohZ+ YqjLWrkv6Pb8xqUnintTnVPqq3esWOMQpWE5jbxJBk6NYKscWp6bgFNhTRN8fs1lEmJm MiGPTgCLiLcxOOaT7p5V3W0RNGEKBW8WBXOuyFckyXD3Sa541OgLltHFyspqERTkvXKr y8Hg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:message-id:date:cc:to:from:subject:dkim-signature :arc-authentication-results; bh=rIj28HxKB/LIMYdbjZbiNOjLpokZmnT9mZdTtBY/E3A=; b=PikEFQNsU0ylXlqLf4sW6507ZorV7n71Kx5MbL8e7fOAd8vwmWRI25b3iaMIyE50qK XPCb6ChEY+Zivlh1qo5Y2sBTlO+XJcDE5v1XMZ+rLjq3OPkxZlTCi2imBXxHb84cbX/6 217IZqU2hFzLFBikU7Uq1hdJUfX+liSDQHM47s7sdeh6SdWzJs2jZuXHZNQFbCl2c3QP INHacw1lfPCU+oki9vpIFNhe+dD+HJ2/RSXqMLbzrOn8/zYyrEWw8EkCvdEITcQ9rLIT lLtnx9E/pbUE9cDB7Ht0Js+DwCHCTp28a56MW1NHa1N3JGBpoQf59NMhWXE7uMy0M5gz EXVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=0V3aXMpI; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m37-v6si18882857plg.491.2018.05.30.10.56.51; Wed, 30 May 2018 10:57:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=0V3aXMpI; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753898AbeE3RyR (ORCPT + 99 others); Wed, 30 May 2018 13:54:17 -0400 Received: from mail.kernel.org ([198.145.29.99]:43808 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753859AbeE3RyL (ORCPT ); Wed, 30 May 2018 13:54:11 -0400 Received: from localhost (unknown [104.133.8.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 9A21E20843; Wed, 30 May 2018 17:54:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1527702850; bh=T7CsCIFFe/mN/T5i4OkMENRj0PMZ+Onxa+QR2XCAxig=; h=Subject:From:To:Cc:Date:From; b=0V3aXMpIGWX3ofKZjzPo2TJ4KqatqLgVsk3PRbzbRhPeAMkBVgD8CNLAKmit5ScwE tkydKiPfZZ7Lu7TMSv6CuOPKe5+igmCuLL9TYu88ORU91ZwW4W24TCCunoZyboVmmm wrFDRs0HEdeFTgrQkjd/GmUtHxUgcK2EG1luaZR4= Subject: [PATCH v1 0/2] PCI/AER: Clean up minor logging issues From: Bjorn Helgaas To: linux-pci@vger.kernel.org Cc: Oza Pawandeep , linux-kernel@vger.kernel.org Date: Wed, 30 May 2018 12:54:10 -0500 Message-ID: <152770259826.80701.7360032106128917833.stgit@bhelgaas-glaptop.roam.corp.google.com> User-Agent: StGit/0.18 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org AER logging printed the plain 16-bit Requester ID straight out of the TLP, which is hard to interpret, e.g., id=00e4 corresponds to what we normally see as 00:1c.4 in dmesg or lspci. Also, there's no need to print the vendor/device ID of the root port reporting an error; we can easily find that from dmesg or lspci. --- Bjorn Helgaas (2): PCI/AER: Decode Error Source Requester ID PCI/AER: Stop printing vendor/device ID drivers/pci/pcie/aer/aerdrv_errprint.c | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-)