[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 2/2] xen/swiotlb: check if the swiotlb has already been initialized



On Tue, 11 May 2021, Boris Ostrovsky wrote:
> On 5/11/21 1:41 PM, Stefano Stabellini wrote:
> > --- a/drivers/xen/swiotlb-xen.c
> > +++ b/drivers/xen/swiotlb-xen.c
> > @@ -164,6 +164,11 @@ int __ref xen_swiotlb_init(void)
> >     int rc = -ENOMEM;
> >     char *start;
> >  
> > +   if (io_tlb_default_mem != NULL) {
> > +           printk(KERN_WARNING "Xen-SWIOTLB: swiotlb buffer already 
> > initialized\n");
> 
> 
> pr_warn().
> 
> 
> Reviewed-by: Boris Ostrovsky <boris.ostrvsky@xxxxxxxxxx>

Thank you! I'll send a v2 shortly with the change to pr_warn and your
reviewed-by.



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.