Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp1040501ima; Fri, 1 Feb 2019 15:19:00 -0800 (PST) X-Google-Smtp-Source: ALg8bN5VRdvh1/eisZ2EmEr/At/PX+xEo817ey86PhvdXdoUV47/hpeVqFYpj5BXRlFT/s4ora0D X-Received: by 2002:a17:902:6b0c:: with SMTP id o12mr42293024plk.291.1549063140484; Fri, 01 Feb 2019 15:19:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549063140; cv=none; d=google.com; s=arc-20160816; b=Yrf40kG+LJRhYH8QDO2S5BbXr+SwcoFeVOtlbz8aTkiQXvdc6ObynMHwegl7H+lz+9 GYgWvwtwyWaEd5SZhOaXyFBCapizPubQhfX6yIjP7H1Z9DXr7Yg2V4fhvhqdqGTgPYVi rPYN0zLBKjiCmqMfbv+Buo8hI1borcls6vOlsR0/hc/7pzCB+MOKbq+DKOqcrXf4ty1J Bh/goOZVaW2WJMIiVjsoy6KaT8lFKxiEtQU/729rG5EcSjhfsM1Ugbyv4kRJB/5raFfy ZlRfl5TRIZmzfzZx5+vF05DF3XuIsx7sqgRRyzyuHJDYnGjqywgYn8bkg3Gl5BIpMqRv 1A6A== 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:dkim-signature; bh=P3t5WNHSUS8Dgxi1Pr/Irpvjz8s4J6qeBcQ+P1B20a4=; b=pw8PaLUYkh8wUhj2u5ab4+iSvjRItvna+cxzMC9YeIFfGmEfAYYOqcY9SUxHIuRbNf Jw3OAspFg3MGJ3VCi8l/IlybUJkXw522G8rDZYYfnFbQy+LAoZ60gdtVPiJaHuSqwtsZ wBIvPTMFXDeQk+7uX68j/s0wtKXQaZXpHrPG6gofGv0WO2aDg+qUzvPzGmpEAzr59EJK AJLraQdYzPv1I6nk/MTvKbWwzINS1Dzpbd0DQxBWrKJNA11lLWd2ZhxJcvOmAZiCdvvo TgF/5aVfaJQfUSWuAxBKO7vLnvt8Z9Ruh8ZznOstjFXVVydWcDzyJP0HV/oeOvjDsi3N 7fKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@infradead.org header.s=bombadil.20170209 header.b=CWg12H+s; 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 6si7622282plc.241.2019.02.01.15.18.45; Fri, 01 Feb 2019 15:19:00 -0800 (PST) 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; dkim=neutral (body hash did not verify) header.i=@infradead.org header.s=bombadil.20170209 header.b=CWg12H+s; 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 S1727113AbfBAXRF (ORCPT + 99 others); Fri, 1 Feb 2019 18:17:05 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:32828 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725803AbfBAXRF (ORCPT ); Fri, 1 Feb 2019 18:17:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Mhq2KZqUZtMJuQW3pbnuTPbHweB9VmjgVeq2irU/S0o=; b=CWg12H+seyCQb819CWEDZfkkY x4k43RBlOrw0sGsvfHf0AHLQ8mHQa+SzSIcRBrvZGpnpoQ5VrsrxRHpVN6te1l3YtsUMyHqe5gAec Nx95VoUsPr0y9k5sQ7kBzf9As1Uo2eOrmf8xcJcdJbVxfqGSytV9xm2trDmpmEkpcPrPkWNZi7/Ni 6gEDfsNV4a7gHi3KoldiGIcQ6fA+3g+hywS7ZcznsvMu/dvIsgr/+FtLTnCjImRbAjPjjLyMZhzAb edQjOLWCKFFV9igmDS1kKDBGyGTpG9euuROSt/J8ikaaX/LSexigJ5upgvrTzXxavsdSVK6V4cST5 jWbefSMpA==; Received: from dvhart by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1gpi3U-0007Hx-9X; Fri, 01 Feb 2019 23:17:04 +0000 Date: Fri, 1 Feb 2019 15:17:02 -0800 From: Darren Hart To: Stuart Hayes Cc: Christoph Hellwig , andy@infradead.org, platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] dell_rbu: stop abusing the DMA API Message-ID: <20190201231702.GD105752@fedora.eng.vmware.com> References: <20190129073409.7247-1-hch@lst.de> <4fce2a6c-2e57-bc29-0dca-8ed3bef95333@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4fce2a6c-2e57-bc29-0dca-8ed3bef95333@gmail.com> User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 01, 2019 at 12:28:46PM -0600, Stuart Hayes wrote: > > On 1/29/2019 1:34 AM, Christoph Hellwig wrote: > > For some odd reason dell_rbu actually seems to want the physical and > > not a bus address for the allocated buffer. Lets assume that actually > > is correct given that it is BIOS-related and that is a good source > > of insanity. In that case we should not use dma_alloc_coherent with > > a NULL device to allocate memory, but use GFP_DMA32 to stay under > > the 32-bit BIOS limit. > > > > Signed-off-by: Christoph Hellwig > > --- ... > > Acked-by: Stuart Hayes > Ah, prematurely pulled in Mario - thanks Stuart. -- Darren Hart VMware Open Source Technology Center