Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1275865pxk; Fri, 18 Sep 2020 08:18:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyEhYkGmvkY9avzWOfjSxR52GApXgtSagjE0VkNgs07vRjscDZfVDVnG4K7ksChxN2pou/E X-Received: by 2002:a17:906:6a50:: with SMTP id n16mr35677602ejs.107.1600442290661; Fri, 18 Sep 2020 08:18:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600442290; cv=none; d=google.com; s=arc-20160816; b=SwDYLSgPE9lgGzmyxvw7M7rUojVw2LIT566SIQosJ8YeHdXCrOAJ/uVyb25qIFPG7f ayBa4YhI4qJ4E9JZokSDyPnQ5E7TWdTORDae8lqK/G1m0XksbkIsSHR2I3rgZ6XO3pL9 FjWJIawrvlXreXg80uWnKtuARQPKEhwTfQuTVy0X+wfO9g/X1hS681BppIk9tGOe0Y8P b4YzzHPVd1j8386FPWFDvCsemB5C8YZwVQ6ucafhA1YWm+pQL0XT1ezhJ8CrSalnoB7h yKQY1k66VFt1mV21y302I0O+OpzATgwMp3jnmuWo4Ttme3QHRapKnWC2ziMwoYGSj9ou m8aw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=aUuJAlPSlrFbgheMnQIwh2JS+kIGxeMMXxTHGiFsdfA=; b=OIv2NRa6sz/x4T5XVEhANfHhhXeSOi5hyIJJnGjhmDcXExsFEacsa7Q+iLel7qKJ+k ES7BklBlOgz/q09111afqJFsAOOS3v33S36umCpZTdpLeYC+otx01xTh7FlUPUquUxP1 2up6hovKjH9/PvW6saa+3VqWLdhNrnIMtLMxc67CteRkWAROdeRgw1RDNjJF3UfuAjXo YtSV03xDaMi8ZhNzT+n2xWtCQHjh8oHZ4idc3+MVqNvQOO21vzySfiEeOhSDCQOhlkkd UgFnz32pQw8/GjrbGqe0gO3pxjK31y8vBRPyzMyyd2hJ7/sDYR7Cl7zssGZGs7sNb7ee 8DzQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=8bytes.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i26si2360146ejx.591.2020.09.18.08.17.46; Fri, 18 Sep 2020 08:18:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=8bytes.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726149AbgIRPOg (ORCPT + 99 others); Fri, 18 Sep 2020 11:14:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34744 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726115AbgIRPOg (ORCPT ); Fri, 18 Sep 2020 11:14:36 -0400 Received: from theia.8bytes.org (8bytes.org [IPv6:2a01:238:4383:600:38bc:a715:4b6d:a889]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 12067C0613CE for ; Fri, 18 Sep 2020 08:14:36 -0700 (PDT) Received: by theia.8bytes.org (Postfix, from userid 1000) id 8F3E9A8D; Fri, 18 Sep 2020 17:14:31 +0200 (CEST) Date: Fri, 18 Sep 2020 17:14:29 +0200 From: Joerg Roedel To: Tom Murphy Cc: iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] Handle init_iova_flush_queue failure in dma-iommu path Message-ID: <20200918151429.GA27174@8bytes.org> References: <20200910122539.3662-1-murphyt7@tcd.ie> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200910122539.3662-1-murphyt7@tcd.ie> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 10, 2020 at 01:25:38PM +0100, Tom Murphy wrote: > init_iova_flush_queue can fail if we run out of memory. Fall back to noflush > queue if it fails. > > Signed-off-by: Tom Murphy > --- > drivers/iommu/dma-iommu.c | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-) Applied, thanks Tom.