[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 4.14] vPCI: replace %pp
- To: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: Jan Beulich <jbeulich@xxxxxxxx>
- Date: Thu, 7 Apr 2022 17:04:04 +0200
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=jnqZVrwb0NaHLt4TFQFuycfDG5MtXpUoN1vga+mT/TI=; b=fpuKatJ8mjRr6S89zgKLMY6LEdEpy+vnganUa6SuNOUOZXrJZHHyx7WYGp8wytQ/AfQN4t2N/HnKAk3GktUcdB4X+/3UtM6xtUBUHHJbwQnZlxXXEBG7YnQLne9D4M90KJFYIOaffbhX8plfYsFWWmzoHawN3vLNQRgMGmR9UjIVtRC6h8bpc9I2S+jG3lR9UNQQW+UefWhl1OdRflhstkOXg73LS7aTR3lLXLqB3fon/OUoiMKZ6BYdd3TH5t+rLnFS/B0qrt5kGLch1B7RNIIV6Q3KYwH00GKYfgwlS5u69AMpWSGYVjdL82PlGulpFZWOQzI2vvyZS2sEdMEdNg==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ctd5KEB8eG+/JwkDf9kHU8c9fQVPd0LtEwkSBtn0xoAe1OSruBKVpiC3bSiLml7A2jPuRLFRD773PnWQUuO0wSyTSHTcfvl0QMYU8OzlXMkzH9kIGYQBUT2e2o29IF4ShlIVfsLDyG733Cu2p9pmqq/eTe2xIu8Qvv+TnpmV1P/nOh5zh3GCIznAQdCL4xFxrwvRDNOSuQQFg4wcBK0hOicfsxbcsp/0CfBtXwLxKXOJBMmeXeEUVLOG14gAX/gT75KGuvpOkmlcOkvv0szHC6bOGi+gdGPWURb0Tq+lRcu3BpDFwt0E+mBi/2DIzTQPSIp/SUYtn/YYMf50+ziuZw==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
- Cc: Roger Pau Monné <roger.pau@xxxxxxxxxx>
- Delivery-date: Thu, 07 Apr 2022 15:04:20 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
4.14 doesn't know of this format specifier extension yet.
Fixes: 47188b2fdcc6 ("vpci/msix: fix PBA accesses")
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
--- a/xen/drivers/vpci/msix.c
+++ b/xen/drivers/vpci/msix.c
@@ -258,8 +258,9 @@ static int msix_read(struct vcpu *v, uns
if ( !pba )
{
gprintk(XENLOG_WARNING,
- "%pp: unable to map MSI-X PBA, report all pending\n",
- msix->pdev);
+ "%04x:%02x:%02x.%u: unable to map MSI-X PBA, report all
pending\n",
+ msix->pdev->seg, msix->pdev->bus,
PCI_SLOT(msix->pdev->devfn),
+ PCI_FUNC(msix->pdev->devfn));
return X86EMUL_OKAY;
}
@@ -342,8 +343,10 @@ static int msix_write(struct vcpu *v, un
{
/* Unable to map the PBA, ignore write. */
gprintk(XENLOG_WARNING,
- "%pp: unable to map MSI-X PBA, write ignored\n",
- msix->pdev);
+ "%04x:%02x:%02x.%u: unable to map MSI-X PBA, write
ignored\n",
+ msix->pdev->seg, msix->pdev->bus,
+ PCI_SLOT(msix->pdev->devfn),
+ PCI_FUNC(msix->pdev->devfn));
return X86EMUL_OKAY;
}
|