[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.21.2105121310210.5018@sstabellini-ThinkPad-T480s>
Date: Wed, 12 May 2021 13:10:42 -0700 (PDT)
From: Stefano Stabellini <sstabellini@...nel.org>
To: Boris Ostrovsky <boris.ostrovsky@...cle.com>
cc: Stefano Stabellini <sstabellini@...nel.org>,
xen-devel@...ts.xenproject.org, hch@....de,
linux-kernel@...r.kernel.org,
Stefano Stabellini <stefano.stabellini@...inx.com>,
jgross@...e.com
Subject: 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@...cle.com>
Thank you! I'll send a v2 shortly with the change to pr_warn and your
reviewed-by.
Powered by blists - more mailing lists