[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


  • To: Stefano Stabellini <sstabellini@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • From: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>
  • Date: Tue, 11 May 2021 19:37:47 -0400
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=irCO4qVBrM4lVCwQYKC+QoX0RJqaChwsrUA4h8A5Qqo=; b=WzUO2Pj8iCpMFeaRU69b3o6PUuegbozSUwgJl5ioawyuQhhyZmNOQU19fosIxvAsCNJ2Zqu0aEWdqN3BJM0qx+CYxcW2/Xhptgg5ETVSCQSgmS19YRaKeLjZxBxdWMDCaanEYLbcD7INfuD/6GjPXISkoDq8tuY43k74+Wf6TY80r9Q385TfFka0deRJft+MA/ZbPQCGjIWrmoRGKiyDeagU9jHZsqS4DxJFPjo3qOcoQD5U/eTE0KFNAU3MLFzqEHROuooni1f5BBHw8HdMspNvOQ0VOCEhMfSmbBRAsC6Ist+X7MVCzcPamGQz8nkj+jcI6lj/tU7WishlzXrg4Q==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SQfoalej1RPBYf91mJTpvVqadzgkICCP495QHoDxLx7eHr5JLIvc2c8X18zxcx8NS2vqARAgsLkhkUcZ5oU9HGK6vqYg1yGgYd6algiorog/v4yDX7t5+foEzMrtDGyAnP402r+cG96nAFHlL1zczqe9qNk4fP/Q7EH1uBs09f6wGO7S6ntghlFc6MScVsuHtUX+WvGmHIzmJMUgBwFgoy/ZvDNCk+2WMeMuOCnceMY7DZI+XcZyo7/A63pW91nSjQMeXLbN+LZZ8rBvbx6pfZ+gOUdWPZ+zohwnkk3MBOPcYb8y1uW4Y6Q6hTbHeNhvk4rYUH7WVeO0dV1EsdkVYg==
  • Authentication-results: suse.com; dkim=none (message not signed) header.d=none;suse.com; dmarc=none action=none header.from=oracle.com;
  • Cc: hch@xxxxxx, linux-kernel@xxxxxxxxxxxxxxx, Stefano Stabellini <stefano.stabellini@xxxxxxxxxx>, jgross@xxxxxxxx
  • Delivery-date: Tue, 11 May 2021 23:38:12 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

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>





 


Rackspace

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