Received: by 10.192.165.148 with SMTP id m20csp1887614imm; Thu, 3 May 2018 07:02:59 -0700 (PDT) X-Google-Smtp-Source: AB8JxZq65r0Sl6xa34G4yAI4di+bxY7GQDwAKzIIjxrwP9eqrLGzcmbNvg7orJNKS0dsPTSxf5dG X-Received: by 2002:a65:4844:: with SMTP id i4-v6mr19223685pgs.191.1525356179556; Thu, 03 May 2018 07:02:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525356179; cv=none; d=google.com; s=arc-20160816; b=SAVPldb2CdvuiVII83FjcCS+Z+5Cm0bJ+kqlkbcIoIGPjLDmGr+em4yMXRYohgtw3N /71+X+uZHX38X18Vcv1MTH4nWp48PfBYY1dsWrRL78hfEvQ0AwlkDMzL+xJXd0vNyKxH lyMaar29qj3CtBLFbeCvjiMuG7OExcZfjluybs2Yawgy7BuJzPls9Qb0KcBvDQbMQ3P3 EgM/4JjCa4zo1mdNd4r1NXMci5P1O3jmZmT+NkQVSJZq4ve9VlLEuP4IwmL995zBAZlf DRZDcqSFaBmrUbLgaDKFRxpBDo6Glqg02e7Sk0ly9b/zoy5XlflFaxu3tgpcOMNslcD7 L8jg== 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=OVsILzHFnCHl94CG86frIy2FJ5hlu/RZT/PSxXz/9CQ=; b=uLDwWQnrIQv6Aza0TV4UNLzJvTWReWuAeoUAuCip7o8XRzuWIiARqGjhmSc22aebDF UolIOYOqtmPYPqZDhHZHZTNgHdaqskLGlvValge6imU0VehFAhfOJ/GPT1j901uuZINK zichCPowBDfSpKwzppcBt+um9a7n9CrUBtUAbrQCKnhDqr0+IVzz95gyseZo4Ck+BzIg PalLtFIVG/CnVD/KNck4CnosxrJruXKAxmy5vIE8mf0OtDrlsTAyFR0Ao/pG1lrj4XDW CQQLTssHjIUsiuuCQT0qaNLRRYCcqSJBnQRumIZ2fyJb5Th160xxdSqhlFkRvIgph/LF tQjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@8bytes.org header.s=mail-1 header.b=OJyP04+j; 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 w34-v6si13497738pla.319.2018.05.03.07.01.58; Thu, 03 May 2018 07:02:59 -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=fail (test mode) header.i=@8bytes.org header.s=mail-1 header.b=OJyP04+j; 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 S1751133AbeECN5K (ORCPT + 99 others); Thu, 3 May 2018 09:57:10 -0400 Received: from 8bytes.org ([81.169.241.247]:55262 "EHLO theia.8bytes.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750922AbeECN5J (ORCPT ); Thu, 3 May 2018 09:57:09 -0400 Received: by theia.8bytes.org (Postfix, from userid 1000) id 0A8E5188; Thu, 3 May 2018 15:57:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=8bytes.org; s=mail-1; t=1525355828; bh=cBaI3MP/ghsBbAh8eH5n780d0xufJBMQLf5qaFMP6o0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=OJyP04+jZM9g5CZoITZleUfusXXtS8N4M9eTPeB61RSlzNYkGuaw4UCx/1rmBcBv8 WfdehIPGUvPdLSpGXOuTOEyOicfGJ1CniMh0vONbA3DvbtmSIXxhDfZK8tsij2dM63 y0Q+dHzdGMIQV+WRBp5pEqIWJlfGL60b7mMmKKmJM8xeeDMYD9ggZX46dWh7+HGXqt UDsin27KnIRzcFCWqRgdkKSNQQmvmcJ/bRUh0CTsRjKrBvx3kjQ63uWAh5dJ/X1riM VjMSmkj2cx/JVgb9q4AQVg25B/phDpaxTBSNTKdFylTGd2jwJ4Z7ty44lP4zlA9L2o UjN66xIQzi5yw== Date: Thu, 3 May 2018 15:57:07 +0200 From: Joerg Roedel To: Gary R Hook Cc: iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] iommu/amd - Update the PASID information printed to the system log Message-ID: <20180503135706.nypxlwlt7jhqhhum@8bytes.org> References: <152520429853.30928.9793486018349326103.stgit@taos> <152520437211.30928.8410126837908568791.stgit@taos> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <152520437211.30928.8410126837908568791.stgit@taos> 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, May 01, 2018 at 02:52:52PM -0500, Gary R Hook wrote: > @@ -567,7 +567,7 @@ static void iommu_print_event(struct amd_iommu *iommu, void *__evt) > } > > if (type == EVENT_TYPE_IO_FAULT) { > - amd_iommu_report_page_fault(devid, domid, address, flags); > + amd_iommu_report_page_fault(devid, pasid, address, flags); According to the spec this could be a domid or a pasid, it would be good to make that visible in the error message, depending on the value of the GN flag in the event entry. But that can be done in a separate patch, I applied these two, thanks.