From nobody Tue Nov 11 07:09:26 2025 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org ARC-Seal: i=1; a=rsa-sha256; t=1569581415; cv=none; d=zoho.com; s=zohoarc; b=jhvfKjxVvizJnIY86issDb3LwCwkhqacP9cHTuC7WtO4hIcSRqZeGUKr/kMQCJp/jSMfZtjajFQUq2dEv2fSzpS/dlnyUXrKvi5HjuRoTUbyeYPMNIOB/Uaik5nJeCLYy6mNTCOhkDqg4Z+xZFAvONXzuMbBdkvArRGgtY2nF/U= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1569581415; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To:ARC-Authentication-Results; bh=l0EAWrleILd/lBNvnjp3325GN2Nju9PfR1eM5xEDjx8=; b=ByobWCYvgi5ROBlnAqc+qTrabqYVe/FrNFm5VjvwjsdbE0HwsyLxT0gnrIE1Hb2EtXB0wtQmthVSNvKfczYFF0AvtDo6L39dONtpGeZl2ELsytM4PDGTK7uiv6jXaJLE/Fy7RoJFAnar6fFGYlQa3NNqElZG002WS/JWzFdsNtA= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=fail; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1569581415009212.93810532001362; Fri, 27 Sep 2019 03:50:15 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iDnoH-0002K0-Gf; Fri, 27 Sep 2019 10:49:13 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iDnoG-0002Ju-6Q for xen-devel@lists.xenproject.org; Fri, 27 Sep 2019 10:49:12 +0000 Received: from esa6.hc3370-68.iphmx.com (unknown [216.71.155.175]) by localhost (Halon) with ESMTPS id 705007b6-e114-11e9-bf31-bc764e2007e4; Fri, 27 Sep 2019 10:49:11 +0000 (UTC) X-Inumbo-ID: 705007b6-e114-11e9-bf31-bc764e2007e4 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=citrix.com; s=securemail; t=1569581351; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=4WMGbJkM2W3PHvI5FBS2jC03Z72y36r8F1GBQvn8tCs=; b=CCW90O3DZFURg9GRlQ3+CVzOw3o3DOZ3t53NydlblJB3ecrVQ+KeCs+f P2YhsRIDkHm/LYiE+4zNxg9x+t8eZr7yIhjQIA8SnDevRIPsOoWBsqOYt USv9bp/9KZVXi/ODkUPhOPgTNsQIXqGQhIvVYGvHO4qCfEqk16WNispP9 o=; Authentication-Results: esa6.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none; spf=None smtp.pra=roger.pau@citrix.com; spf=Pass smtp.mailfrom=roger.pau@citrix.com; spf=None smtp.helo=postmaster@mail.citrix.com Received-SPF: none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Received-SPF: None (esa6.hc3370-68.iphmx.com: no sender authenticity information available from domain of roger.pau@citrix.com) identity=pra; client-ip=162.221.158.21; receiver=esa6.hc3370-68.iphmx.com; envelope-from="roger.pau@citrix.com"; x-sender="roger.pau@citrix.com"; x-conformance=sidf_compatible Received-SPF: Pass (esa6.hc3370-68.iphmx.com: domain of roger.pau@citrix.com designates 162.221.158.21 as permitted sender) identity=mailfrom; client-ip=162.221.158.21; receiver=esa6.hc3370-68.iphmx.com; envelope-from="roger.pau@citrix.com"; x-sender="roger.pau@citrix.com"; x-conformance=sidf_compatible; x-record-type="v=spf1"; x-record-text="v=spf1 ip4:209.167.231.154 ip4:178.63.86.133 ip4:195.66.111.40/30 ip4:85.115.9.32/28 ip4:199.102.83.4 ip4:192.28.146.160 ip4:192.28.146.107 ip4:216.52.6.88 ip4:216.52.6.188 ip4:162.221.158.21 ip4:162.221.156.83 ~all" Received-SPF: None (esa6.hc3370-68.iphmx.com: no sender authenticity information available from domain of postmaster@mail.citrix.com) identity=helo; client-ip=162.221.158.21; receiver=esa6.hc3370-68.iphmx.com; envelope-from="roger.pau@citrix.com"; x-sender="postmaster@mail.citrix.com"; x-conformance=sidf_compatible IronPort-SDR: Glbaq/sg9I8Ymi4L3aHZKtvSgEb7ESq4LRnLp8MnkuIgW4suRMHqMhWTdp1d6ksrHy8Q0cJ4hX SESKs4duOeOsp0LZ6hs4TU2cy6kehE+emfmV+9/zvRvB6/q2vMiiWWxBWzZg3HV8KAx1CDPVSQ huCejNyP/zXCE+H1lwZsqATGPkG3l1xiF86tAgw+CfeSxr0IcmXZjgf61OmdTJGDHG5CbkurVP 9xMnprUomhOyNlGRZ2Hk0L/LGUiiBeauPz1a4hvP8vMyMjN3GBLLDIhmHPhLfMVN7jiil4daMf nPE= X-SBRS: 2.7 X-MesageID: 6444143 X-Ironport-Server: esa6.hc3370-68.iphmx.com X-Remote-IP: 162.221.158.21 X-Policy: $RELAYED X-IronPort-AV: E=Sophos;i="5.64,555,1559534400"; d="scan'208";a="6444143" From: Roger Pau Monne To: Date: Fri, 27 Sep 2019 12:48:58 +0200 Message-ID: <20190927104858.43325-1-roger.pau@citrix.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Subject: [Xen-devel] [PATCH] x86/iommu: improve logging message X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Juergen Gross , Paul Durrant , Jan Beulich , Roger Pau Monne Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Switch to using pd and also print the pfn that failed. No functional change intended. Signed-off-by: Roger Pau Monn=C3=A9 Reviewed-by: Jan Beulich --- xen/drivers/passthrough/x86/iommu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xen/drivers/passthrough/x86/iommu.c b/xen/drivers/passthrough/= x86/iommu.c index 47a3e55213..7107b11757 100644 --- a/xen/drivers/passthrough/x86/iommu.c +++ b/xen/drivers/passthrough/x86/iommu.c @@ -200,8 +200,8 @@ void __hwdom_init arch_iommu_hwdom_init(struct domain *= d) IOMMUF_readable | IOMMUF_writable, &flush_flags= ); =20 if ( rc ) - printk(XENLOG_WARNING " d%d: IOMMU mapping failed: %d\n", - d->domain_id, rc); + printk(XENLOG_WARNING "%pd: identity %smapping of %lx failed: = %d\n", + d, !paging_mode_translate(d) ? "IOMMU " : "", pfn, rc); =20 if (!(i & 0xfffff)) process_pending_softirqs(); --=20 2.23.0 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel