From nobody Fri Nov 29 22:47:56 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=none dis=none) header.from=kernel.org ARC-Seal: i=1; a=rsa-sha256; t=1620850723; cv=none; d=zohomail.com; s=zohoarc; b=MrsA2KJ0BnsyD7dODyzAIG40k8TGH6v1T5v/vM9rwP2I68YeYT9kdh65VoPIZ74WOxwi92AxPzDHEO/5tbdvFI9fgkIFliUSiW1g9pOP+d8RLI1U/xvxAP0WH+YV4u3KECD1pKuezOgBHRAMVp0lVBQGy3DVeT+sUJUL/5oAbiY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1620850723; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:Message-ID:References:Sender:Subject:To; bh=Mvcnm7Vef+91LwvVcLxcVKWU1nvRo8R6MDnr90HJD/U=; b=lVlTke8jP6QCHvVHXQdA4tDnW1S2sXXAZa5l8GAO50QVzPJC6qlTZExe58rtWkBiT7ju6Hr+VwlzYf9rNnCw8+P8OGNuKcPTMNtN8uDVaFLFqqGBUriZh0/WS6QOOpK3YBy9qT+DwTamF2Atg4spydX33HuYuQ1SVlD+Wjb1c7Y= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1620850723270851.9638145394717; Wed, 12 May 2021 13:18:43 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.126371.237907 (Exim 4.92) (envelope-from ) id 1lgvJO-00054U-SL; Wed, 12 May 2021 20:18:30 +0000 Received: by outflank-mailman (output) from mailman id 126371.237907; Wed, 12 May 2021 20:18:30 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1lgvJO-00054N-PL; Wed, 12 May 2021 20:18:30 +0000 Received: by outflank-mailman (input) for mailman id 126371; Wed, 12 May 2021 20:18:29 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1lgvJM-00053i-VT for xen-devel@lists.xenproject.org; Wed, 12 May 2021 20:18:29 +0000 Received: from mail.kernel.org (unknown [198.145.29.99]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id dd05b009-a7cc-4e1e-bda1-ffbca09f8373; Wed, 12 May 2021 20:18:28 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 734D361408; Wed, 12 May 2021 20:18:27 +0000 (UTC) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: dd05b009-a7cc-4e1e-bda1-ffbca09f8373 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1620850707; bh=5GSHqd6UoXwElcgEbYeM8UQG4GJkKSSlVE4wPB43XOk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=vHHpKNOcSv3F8S4EPFQSzTJKfGTM1mlZ8082xqqy+v1IZ8uxlYgnmk6Fw+JHyWk8P lEpvWBAv3fhk7v3LMfPuWzhRFkhPnyuPcey9qCWJOHG6kQ4KAF97xxCO/Vvan8EsLM G8W3vBQSLbZYMTckWaS7Nct+WIRm+WSuwvfYKcE6jW8okm51FrL764aLnv2fwVKbTX fFgm+kluXKRIjYpViGlO+USpxdzUm5zYLq4ZQJQ26qvLAOfIt3DAh0knAAas8Um5n8 tEpW9w3pkYeq6RkfKD0FPsNfFx5Yd7JEr9Cgzmd9SoQien1ww1lkTepk1KEtpz0xot YKaOZF832bj9Q== From: Stefano Stabellini To: xen-devel@lists.xenproject.org Cc: sstabellini@kernel.org, boris.ostrovsky@oracle.com, jgross@suse.com, hch@lst.de, Stefano Stabellini Subject: [PATCH v2 1/3] xen/arm: move xen_swiotlb_detect to arm/swiotlb-xen.h Date: Wed, 12 May 2021 13:18:21 -0700 Message-Id: <20210512201823.1963-1-sstabellini@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: References: X-ZohoMail-DKIM: pass (identity @kernel.org) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Stefano Stabellini Move xen_swiotlb_detect to a static inline function to make it available to !CONFIG_XEN builds. CC: boris.ostrovsky@oracle.com CC: jgross@suse.com Signed-off-by: Stefano Stabellini Reviewed-by: Christoph Hellwig Reviewed-by: Juergen Gross --- Changes in v2: - patch split --- arch/arm/xen/mm.c | 12 ------------ include/xen/arm/swiotlb-xen.h | 15 ++++++++++++++- 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/arch/arm/xen/mm.c b/arch/arm/xen/mm.c index f8f07469d259..223b1151fd7d 100644 --- a/arch/arm/xen/mm.c +++ b/arch/arm/xen/mm.c @@ -135,18 +135,6 @@ void xen_destroy_contiguous_region(phys_addr_t pstart,= unsigned int order) return; } =20 -int xen_swiotlb_detect(void) -{ - if (!xen_domain()) - return 0; - if (xen_feature(XENFEAT_direct_mapped)) - return 1; - /* legacy case */ - if (!xen_feature(XENFEAT_not_direct_mapped) && xen_initial_domain()) - return 1; - return 0; -} - static int __init xen_mm_init(void) { struct gnttab_cache_flush cflush; diff --git a/include/xen/arm/swiotlb-xen.h b/include/xen/arm/swiotlb-xen.h index 2994fe6031a0..33336ab58afc 100644 --- a/include/xen/arm/swiotlb-xen.h +++ b/include/xen/arm/swiotlb-xen.h @@ -2,6 +2,19 @@ #ifndef _ASM_ARM_SWIOTLB_XEN_H #define _ASM_ARM_SWIOTLB_XEN_H =20 -extern int xen_swiotlb_detect(void); +#include +#include + +static inline int xen_swiotlb_detect(void) +{ + if (!xen_domain()) + return 0; + if (xen_feature(XENFEAT_direct_mapped)) + return 1; + /* legacy case */ + if (!xen_feature(XENFEAT_not_direct_mapped) && xen_initial_domain()) + return 1; + return 0; +} =20 #endif /* _ASM_ARM_SWIOTLB_XEN_H */ --=20 2.17.1 From nobody Fri Nov 29 22:47:56 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=none dis=none) header.from=kernel.org ARC-Seal: i=1; a=rsa-sha256; t=1620850727; cv=none; d=zohomail.com; s=zohoarc; b=MDGH3/7ljr7J9QxRi58+H6npTEW4SJ2X22f8exIyVdFlQCTvaNJX+SoFfrNCBsfbEFrQeJf4+mYa0YaaqL9fCD+ZV6+b7G+Fu6+u1Ou/K0JMZ4f+R9OX0liaidETR0Y555G68r+UeOo9JPNLWfXN7v4O6nhDbT8UKGK9Q2lDMLY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1620850727; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:Message-ID:References:Sender:Subject:To; bh=GS4VpO1/fkjmGpSI9nTGZE/tAhz4lG4ulA39ei9EZhQ=; b=mW9JOrytt0lJmWojwaqdNkn/b61Jct2zfOr9a97E5I6bSZOcbnRKLiAXWUCmVtysowg999mOQZkpmU2TYDGW0bAAd8H3ImByzPlzqe8IIUvppXHbdAyBzloaHFIPXI+o7a4vuCkktLq1Zf8hU+Jp/EFwSnbHieqgCcyRjyVcUKM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1620850727874207.91435561979995; Wed, 12 May 2021 13:18:47 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.126373.237919 (Exim 4.92) (envelope-from ) id 1lgvJQ-0005La-4n; Wed, 12 May 2021 20:18:32 +0000 Received: by outflank-mailman (output) from mailman id 126373.237919; Wed, 12 May 2021 20:18:32 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1lgvJQ-0005LR-1a; Wed, 12 May 2021 20:18:32 +0000 Received: by outflank-mailman (input) for mailman id 126373; Wed, 12 May 2021 20:18:30 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1lgvJN-00053u-UJ for xen-devel@lists.xenproject.org; Wed, 12 May 2021 20:18:29 +0000 Received: from mail.kernel.org (unknown [198.145.29.99]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 9ec0c904-6615-4f9e-9af4-e77e4ba4086b; Wed, 12 May 2021 20:18:29 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id E6BFC61421; Wed, 12 May 2021 20:18:27 +0000 (UTC) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 9ec0c904-6615-4f9e-9af4-e77e4ba4086b DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1620850708; bh=ikG741femM1u5L3PYlYRG1oNEZycqnQin0LDEK63UdI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RShGZVhkT1+Cv9URRAR9hvRdm2lnVpZ/vDKhwwndQErexmq58V6abEelgnec4DX+x Iq/powaDhH+V5WHSLB3ryZogB1b2sgnkPU7EiP0/MRRG/nwzIzV/Q5Srxs0gqbB+cH 14MZp+GtgTMFCs0Ih8T5Uvn9iByb8FozTPHOAcZHiN5n9RknvNAxd+0RQUcHqLXTeM jofPjb49sy0g5sdVuYrjnmuG6NNqjf0n9H6kCmi+4WL9vnyH3UOIud8DubTi7dXVH/ FrXkN9yBf13D6H+TzEtt8Qy8V5lcj65NtVqeobNFzPY2KnlgJ0bWtvyv2fiu58p57T I20jFea37G0/w== From: Stefano Stabellini To: xen-devel@lists.xenproject.org Cc: sstabellini@kernel.org, boris.ostrovsky@oracle.com, jgross@suse.com, hch@lst.de, catalin.marinas@arm.com, will@kernel.org, linux-arm-kernel@lists.infradead.org, Stefano Stabellini Subject: [PATCH v2 2/3] arm64: do not set SWIOTLB_NO_FORCE when swiotlb is required Date: Wed, 12 May 2021 13:18:22 -0700 Message-Id: <20210512201823.1963-2-sstabellini@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: References: X-ZohoMail-DKIM: pass (identity @kernel.org) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Christoph Hellwig Although SWIOTLB_NO_FORCE is meant to allow later calls to swiotlb_init, today dma_direct_map_page returns error if SWIOTLB_NO_FORCE. For now, without a larger overhaul of SWIOTLB_NO_FORCE, the best we can do is to avoid setting SWIOTLB_NO_FORCE in mem_init when we know that it is going to be required later (e.g. Xen requires it). CC: boris.ostrovsky@oracle.com CC: jgross@suse.com CC: catalin.marinas@arm.com CC: will@kernel.org CC: linux-arm-kernel@lists.infradead.org Fixes: 2726bf3ff252 ("swiotlb: Make SWIOTLB_NO_FORCE perform no allocation") Signed-off-by: Christoph Hellwig Signed-off-by: Stefano Stabellini Acked-by: Catalin Marinas Reviewed-by: Juergen Gross --- Changes in v2: - patch split --- arch/arm64/mm/init.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm64/mm/init.c b/arch/arm64/mm/init.c index 16a2b2b1c54d..e55409caaee3 100644 --- a/arch/arm64/mm/init.c +++ b/arch/arm64/mm/init.c @@ -43,6 +43,7 @@ #include #include #include +#include =20 /* * We need to be able to catch inadvertent references to memstart_addr @@ -482,7 +483,7 @@ void __init mem_init(void) if (swiotlb_force =3D=3D SWIOTLB_FORCE || max_pfn > PFN_DOWN(arm64_dma_phys_limit)) swiotlb_init(1); - else + else if (!xen_swiotlb_detect()) swiotlb_force =3D SWIOTLB_NO_FORCE; =20 set_max_mapnr(max_pfn - PHYS_PFN_OFFSET); --=20 2.17.1 From nobody Fri Nov 29 22:47:56 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=none dis=none) header.from=kernel.org ARC-Seal: i=1; a=rsa-sha256; t=1620850728; cv=none; d=zohomail.com; s=zohoarc; b=fqt6Ok0+jUZ6HHMHSObcbISVA+JpmGPBLYzUG2XzDUPxwMF4c9UrXzo7xmbogHK6/5Z4rkBUDpMzO+8SZVGuslhe/U4HpukjEmlLhOF1uNAAur4wjpPGSJ9J1eH4Nx+cvA8vcfAtAiGB5uWvmSZS+bNx/576hwJw0eqqhukysCk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1620850728; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:Message-ID:References:Sender:Subject:To; bh=UL3XDRf04YWSr8I9XjfdPqMRfk31ZWhPNe+tdMVJrMw=; b=nUAdO2ZNdu3vx84HV6rRXHglk0xZ6WrK4nQOvMSl1qcufiKHOoCeTXQaveebNcJ9a0L9+v50sXP/gsM4WGQ+Z+ZssciJ/sEqQI0J3zYl/3wx0VNmFsSnmxc2lYTUOMaOdxRtJKNN17N/xSbhjYv6QrL31ZYGCiFblmTOq4epnYE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1620850728326686.1218036552489; Wed, 12 May 2021 13:18:48 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.126374.237931 (Exim 4.92) (envelope-from ) id 1lgvJT-0005fz-Ex; Wed, 12 May 2021 20:18:35 +0000 Received: by outflank-mailman (output) from mailman id 126374.237931; Wed, 12 May 2021 20:18:35 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1lgvJT-0005fk-Ab; Wed, 12 May 2021 20:18:35 +0000 Received: by outflank-mailman (input) for mailman id 126374; Wed, 12 May 2021 20:18:34 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1lgvJR-00053i-UB for xen-devel@lists.xenproject.org; Wed, 12 May 2021 20:18:33 +0000 Received: from mail.kernel.org (unknown [198.145.29.99]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 5a7d3754-4079-4430-a3bb-5eac1d4e94f1; Wed, 12 May 2021 20:18:29 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 8B2C361422; Wed, 12 May 2021 20:18:28 +0000 (UTC) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 5a7d3754-4079-4430-a3bb-5eac1d4e94f1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1620850708; bh=trsGadIQLNKKCXatZO0q0DocnFfhaO1AxO8nVb8w9MQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=aO6VInjY6ndrYTvyGcoofX87u0DhSLAIbZ4pk+S+22qXkOzEWJiYPbKKyB66ULAbr Ez1XQgUO11lRcmTm0tegcEbr0o1MpI77EsK4U0uleRHQUDVoW7S3JNRK/7fsRJ55zv eRBbop6Cmt4odtv8kfuIc/IlsU35LtGBJDuT+N3lFmbhnOovGGOXA0ostEPTbZnrxR Iv19y4rS+AG0b1VuEnJWzsdwMOhAxjWZV2mC0b5eWFAKHTiTtVto+4AHKn2/JeOw9T 9jf1XMRwgsnuKo9jffD/Faxrw6Wd8fvAniEbLr6DDoHoWpwCvUEe0LnObLHMeKztzC SEcUF38QTS2gw== From: Stefano Stabellini To: xen-devel@lists.xenproject.org Cc: sstabellini@kernel.org, boris.ostrovsky@oracle.com, jgross@suse.com, hch@lst.de, Stefano Stabellini Subject: [PATCH v2 3/3] xen/swiotlb: check if the swiotlb has already been initialized Date: Wed, 12 May 2021 13:18:23 -0700 Message-Id: <20210512201823.1963-3-sstabellini@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: References: X-ZohoMail-DKIM: pass (identity @kernel.org) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Stefano Stabellini xen_swiotlb_init calls swiotlb_late_init_with_tbl, which fails with -ENOMEM if the swiotlb has already been initialized. Add an explicit check io_tlb_default_mem !=3D NULL at the beginning of xen_swiotlb_init. If the swiotlb is already initialized print a warning and return -EEXIST. On x86, the error propagates. On ARM, we don't actually need a special swiotlb buffer (yet), any buffer would do. So ignore the error and continue. CC: boris.ostrovsky@oracle.com CC: jgross@suse.com Signed-off-by: Stefano Stabellini Reviewed-by: Boris Ostrovsky Reviewed-by: Christoph Hellwig --- Changes in v2: - use pr_warn - add reviewed-by --- arch/arm/xen/mm.c | 8 +++++++- drivers/xen/swiotlb-xen.c | 5 +++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/arch/arm/xen/mm.c b/arch/arm/xen/mm.c index 223b1151fd7d..a7e54a087b80 100644 --- a/arch/arm/xen/mm.c +++ b/arch/arm/xen/mm.c @@ -138,9 +138,15 @@ void xen_destroy_contiguous_region(phys_addr_t pstart,= unsigned int order) static int __init xen_mm_init(void) { struct gnttab_cache_flush cflush; + int rc; + if (!xen_swiotlb_detect()) return 0; - xen_swiotlb_init(); + + rc =3D xen_swiotlb_init(); + /* we can work with the default swiotlb */ + if (rc < 0 && rc !=3D -EEXIST) + return rc; =20 cflush.op =3D 0; cflush.a.dev_bus_addr =3D 0; diff --git a/drivers/xen/swiotlb-xen.c b/drivers/xen/swiotlb-xen.c index 4c89afc0df62..24d11861ac7d 100644 --- a/drivers/xen/swiotlb-xen.c +++ b/drivers/xen/swiotlb-xen.c @@ -164,6 +164,11 @@ int __ref xen_swiotlb_init(void) int rc =3D -ENOMEM; char *start; =20 + if (io_tlb_default_mem !=3D NULL) { + pr_warn("swiotlb buffer already initialized\n"); + return -EEXIST; + } + retry: m_ret =3D XEN_SWIOTLB_ENOMEM; order =3D get_order(bytes); --=20 2.17.1