VT-d: replace bogus gprintk()
PATCH 1/1 VT-d: replace bogus gprintk()
Just like the other messages in this function this one should be issued through plain printk() - the current vCPU is irrelevant here. (Noticed while backporting to older trees, which don't have gprintk().)
xen/drivers/passthrough/vtd/iommu.c +2 -2
@@ -858,8 +858,8 @@ static int iommu_page_fault_do_one(strucbreak ; } - gprintk(XENLOG_G_WARNING VTDPREFIX, "%s: reason %02x - %s\n", - kind, fault_reason, reason); + printk(XENLOG_G_WARNING VTDPREFIX "%s: reason %02x - %s\n", + kind, fault_reason, reason);if ( iommu_verbose && fault_type ==DMA_REMAP ) print_vtd_entries(iommu, PCI_BUS(source_id), PCI_DEVFN2(source_id),
VT-d: replace bogus gprintk()
Just like the other messages in this function this one should be issued through plain printk() - the current vCPU is irrelevant here. (Noticed while backporting to older trees, which don't have gprintk().)
xen/drivers/passthrough/vtd/iommu.c +2 -2
@@ -858,8 +858,8 @@ static int iommu_page_fault_do_one(strucbreak ; } - gprintk(XENLOG_G_WARNING VTDPREFIX, "%s: reason %02x - %s\n", - kind, fault_reason, reason); + printk(XENLOG_G_WARNING VTDPREFIX "%s: reason %02x - %s\n", + kind, fault_reason, reason);if ( iommu_verbose && fault_type ==DMA_REMAP ) print_vtd_entries(iommu, PCI_BUS(source_id), PCI_DEVFN2(source_id),
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 8 lines
From: Jan Beulich [mailto:[email protected]]
Sent: Tuesday, April 21, 2015 3:31 PMJust like the other messages in this function this one should be issued through plain
printk()- the current vCPU is irrelevant here. (Noticed while backporting to older trees, which don't havegprintk().)Signed-off-by Jan Beulich <[email protected]>
Quoted 17 lines
xen/drivers/passthrough/vtd/iommu.c +2
-2@@ -858,8 +858,8 @@ static int iommu_page_fault_do_one(strucbreak ; } - gprintk(XENLOG_G_WARNING VTDPREFIX, "%s: reason %02x - %s\n", - kind, fault_reason, reason); + printk(XENLOG_G_WARNING VTDPREFIX "%s: reason %02x - %s\n", + kind, fault_reason, reason);if ( iommu_verbose && fault_type ==DMA_REMAP ) print_vtd_entries(iommu, PCI_BUS(source_id),
PCI_DEVFN2(source_id),