Received: by 10.223.185.116 with SMTP id b49csp3630209wrg; Tue, 13 Feb 2018 05:24:28 -0800 (PST) X-Google-Smtp-Source: AH8x225q7Y0PfDYwYxEjOlrEhUnZrz9s6WlFnV45Hc4z8OB6jWg2CLedgSmPOfuYggIEkVmkJA06 X-Received: by 2002:a17:902:6116:: with SMTP id t22-v6mr1121383plj.307.1518528268657; Tue, 13 Feb 2018 05:24:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518528268; cv=none; d=google.com; s=arc-20160816; b=DJfGIjKpU0wBaaA7FAdGIQOzq2tyEwpyDsn9sm8oS2/PB9GmlbXth17QFlgggHYARM H5hJnusHyvhVre7xjMWikBMesB6zXm2vYqhRQrVJUUt9iRBVr5JpCBhN2X8IXd8uAy3H G6GpndlKx3ulBM+xFed1W1DE1/IoIzO/oaxr9WqNGrI/eYWeUPXYazm80ydehqKz2/WB CcCZsx3Cx+LitSrY7edFLo56dpyUIlXVEqbKuqa9Q+B7R+yQVjO2r3vEnarqCsYaGNBc kQ/1dbeDg754RWiXmkbOCa472zsu+oqXSlpoO22FJ1agos8MpYNy/ydUv8VT4ZBHKjx8 wYUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=23DFGNI4PdPjk+qU3ournxI1OSKQl44XS6ZxT/HO1Fs=; b=hWxXdmW2soINvl6pHp0rRPM4g+M1Ut4pVTPa3TmbEq8tgXak+ZiAxonGyzhOWNJDKU vwJZNy4DWvvL1LskkvKTtl7u5UKsYlAtOqxbNTQ9aiSwCuDAQjAd4/e7sd4DqDoY+QR2 Bdb4S+j3Vw8thywIXCZIIfTK/THs18wrjFAEZX/QhracswBnohA4+q5J+21Ycbsrepmg vi6fSi17nlZcDQlep3Amv8LYsz1I+2esLVEHkIIj1VrvQJCpVqfzsG3YOQhbY6W+T2on Io5/G9aXi+JGpi9iLKESKGqZsCPBhlP2t+TNPTwFOni7qaRiMaKsM+1IGbe45SXcQGzx vjAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@8bytes.org header.s=mail-1 header.b=fNaHQ7N7; 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=fail (p=NONE sp=NONE dis=NONE) header.from=8bytes.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y101-v6si4500710plh.392.2018.02.13.05.24.12; Tue, 13 Feb 2018 05:24:28 -0800 (PST) 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=fail (test mode) header.i=@8bytes.org header.s=mail-1 header.b=fNaHQ7N7; 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=fail (p=NONE sp=NONE dis=NONE) header.from=8bytes.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935305AbeBMNWT (ORCPT + 99 others); Tue, 13 Feb 2018 08:22:19 -0500 Received: from 8bytes.org ([81.169.241.247]:36196 "EHLO theia.8bytes.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935174AbeBMNWS (ORCPT ); Tue, 13 Feb 2018 08:22:18 -0500 Received: by theia.8bytes.org (Postfix, from userid 1000) id 15009242; Tue, 13 Feb 2018 14:22:17 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=8bytes.org; s=mail-1; t=1518528137; bh=WNQsyAU5bFHeLih7IE5f8z+mUxPkl2jkXWuQiEN7WSg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=fNaHQ7N7zV/H/tTnOnog6sVzaEfadiilUxUs3AxbjjA4M+xHBSAYdylLXXhPEy/BE aUeMsXbyz3BZDXbCoI9ByJCSQY13C564ZuO50svQuXXhcUbhY5d0IflqYgTuNzwQBY OyTByG/8R3Y/4laIQc0KbsH88XS4D4NaLPhGvbNCj1mjoEj+X1rkDpxhg+mAJmO/lC 7i2GVSFErXRLitItEVGyrLawHX/Gf8CyH+1kISbzuIdPEwmMykrIlT7SeF5uTk662H zewaphGe5siHLHATTkMLSsvcJ9OHti+LfrUVYxT0yUUqRfTx7r9G3tP0QGZjebxJKp 009WA0IcqEEug== Date: Tue, 13 Feb 2018 14:22:16 +0100 From: Joerg Roedel To: Gary R Hook Cc: iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] iommu/amd - Use dev_err to send events to the system log Message-ID: <20180213132216.gyhndywyu23cdzbv@8bytes.org> References: <151736066756.21649.4739957712713863861.stgit@sosam4> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <151736066756.21649.4739957712713863861.stgit@sosam4> User-Agent: NeoMutt/20170421 (1.8.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 30, 2018 at 07:04:27PM -0600, Gary R Hook wrote: > + dev_err(dev, "ILLEGAL_DEV_TABLE_ENTRY device=%02x:%02x.%x " > + "address=0x%016llx flags=0x%04x]\n", > + PCI_BUS_NUM(devid), PCI_SLOT(devid), PCI_FUNC(devid), > + address, flags); That prints the PCI device-name of the IOMMU in front of the message. Is that actually helpful? If at all, we should print the name of the iommu-device in front of the message, not the PCI device that hosts the IOMMU. Thanks, Joerg