summaryrefslogtreecommitdiffstats
path: root/drivers/xen/swiotlb-xen.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2021-09-07 14:07:21 +0200
committerJuergen Gross <jgross@suse.com>2021-09-15 08:42:04 +0200
commit7fd880a38cfefb2d54a912e4ae809110adec1c94 (patch)
treeefe51ede162d24a83cf58555cbf87a4aba653897 /drivers/xen/swiotlb-xen.c
parent68573c1b5c4d0ebd90c24c6055abb53c474a8fc2 (diff)
downloadlinux-7fd880a38cfefb2d54a912e4ae809110adec1c94.tar.gz
linux-7fd880a38cfefb2d54a912e4ae809110adec1c94.tar.bz2
linux-7fd880a38cfefb2d54a912e4ae809110adec1c94.zip
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>
Diffstat (limited to 'drivers/xen/swiotlb-xen.c')
-rw-r--r--drivers/xen/swiotlb-xen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/xen/swiotlb-xen.c b/drivers/xen/swiotlb-xen.c
index f3d81b2697b7..afe8c7eb31b9 100644
--- a/drivers/xen/swiotlb-xen.c
+++ b/drivers/xen/swiotlb-xen.c
@@ -253,7 +253,7 @@ retry:
panic("%s (rc:%d)", xen_swiotlb_error(XEN_SWIOTLB_EFIXUP), rc);
}
- if (swiotlb_init_with_tbl(start, nslabs, false))
+ if (swiotlb_init_with_tbl(start, nslabs, true))
panic("Cannot allocate SWIOTLB buffer");
swiotlb_set_max_segment(PAGE_SIZE);
}