Skip to content

Commit 7fd880a

Browse files
jbeulichjgross1
authored andcommitted
swiotlb-xen: arrange to have buffer info logged
I consider it unhelpful that address and size of the buffer aren't put in the log file; it makes diagnosing issues needlessly harder. The majority of callers of swiotlb_init() also passes 1 for the "verbose" parameter. Signed-off-by: Jan Beulich <jbeulich@suse.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/2e3c8e68-36b2-4ae9-b829-bf7f75d39d47@suse.com Signed-off-by: Juergen Gross <jgross@suse.com>
1 parent 68573c1 commit 7fd880a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/xen/swiotlb-xen.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ void __init xen_swiotlb_init_early(void)
253253
panic("%s (rc:%d)", xen_swiotlb_error(XEN_SWIOTLB_EFIXUP), rc);
254254
}
255255

256-
if (swiotlb_init_with_tbl(start, nslabs, false))
256+
if (swiotlb_init_with_tbl(start, nslabs, true))
257257
panic("Cannot allocate SWIOTLB buffer");
258258
swiotlb_set_max_segment(PAGE_SIZE);
259259
}

0 commit comments

Comments
 (0)