Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp1996273ybi; Thu, 18 Jul 2019 01:43:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqz5ogIGpIYXw+9U/uaTf4aTnNrQesWNaaAf10aFLNjpKNI4kPhe/S4AS8W8aSifhRFge4Pd X-Received: by 2002:a17:902:9a42:: with SMTP id x2mr49248584plv.106.1563439406160; Thu, 18 Jul 2019 01:43:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563439406; cv=none; d=google.com; s=arc-20160816; b=sVWw3XsDysqYfHUe+a2klW79SDIEr3wX61MDPym8FdZeLJU5JT+Tz0+4HYlVA0X4sk /0lpWDANBFaA2M8C/04apKS3JGbgjT9CH5yMeAljeNJGaiArKpHETAIqT9QDZfZZXBxB s7T4aNeiyN5pTnte3xpsI7HxyW52sqI3nFv/8WX6aJqhEqb/pBa3L2OJTy6eoBkCF/GU EFQ4kn2aykwvSnprwrJ0kNUa/UU7s6qmh1/AXH5UC7kk3EmrTX1qYZFI4AaUV5RAzGa8 ML4kzwXk9ogYeFz8iM9e6A9+8H6eQhFQVg+tNQX7VhsokuXrI5T9pzPLLOUJl0UgpaX2 9YTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=Uho8AIs/x0IHUMuyRXrzfLnyEe6X51lZooNaaAc6Gxw=; b=fqy8EwQiYr6Xq8zn3+gnGvUQxA+9H3oaoX1sbsGig4BSC7xGY8i2G2UFtIMMJVYXb6 QBgZ8OA5dQGe4LjA0lHFbQrcn8Nt+lzgB8YPPZk05kzwi0C2KqCUZ9ivU3wXdl32Kdkc JvgK8FfMPbGQLi2tqxf0diu/mpS1MLZi2RkEov0QcLXmVmiZRwR6jvRyrYfJ+PKgO6YP 0OiYc086aUFnyUeu8EXMIhoqXna+KPk42yywfn9GGGMImlxHl2Msdogi8zfUhw18+Uyi f6r3OLb5CgDkHHIG8iLxvRxc0evCVZxiMge9gqnsstanqPmnjP6w5l/9xwFsD3HqMlKx Seqg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 26si1899937pgs.520.2019.07.18.01.43.09; Thu, 18 Jul 2019 01:43:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389411AbfGRImc (ORCPT + 99 others); Thu, 18 Jul 2019 04:42:32 -0400 Received: from verein.lst.de ([213.95.11.211]:57833 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726000AbfGRImc (ORCPT ); Thu, 18 Jul 2019 04:42:32 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id 7AC8568B05; Thu, 18 Jul 2019 10:42:30 +0200 (CEST) Date: Thu, 18 Jul 2019 10:42:30 +0200 From: Christoph Hellwig To: Thiago Jung Bauermann Cc: x86@kernel.org, iommu@lists.linux-foundation.org, linux-fsdevel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org, Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , Christoph Hellwig , Marek Szyprowski , Robin Murphy , Konrad Rzeszutek Wilk , Alexey Dobriyan , Thomas Lendacky , Halil Pasic , Mike Anderson , Ram Pai Subject: Re: [PATCH v3 3/6] dma-mapping: Remove dma_check_mask() Message-ID: <20190718084230.GB24562@lst.de> References: <20190718032858.28744-1-bauerman@linux.ibm.com> <20190718032858.28744-4-bauerman@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190718032858.28744-4-bauerman@linux.ibm.com> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 18, 2019 at 12:28:55AM -0300, Thiago Jung Bauermann wrote: > sme_active() is an x86-specific function so it's better not to call it from > generic code. Christoph Hellwig mentioned that "There is no reason why we > should have a special debug printk just for one specific reason why there > is a requirement for a large DMA mask.", so just remove dma_check_mask(). > > Signed-off-by: Thiago Jung Bauermann Looks good, Reviewed-by: Christoph Hellwig