Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp5152126imm; Tue, 31 Jul 2018 06:26:50 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfX3kSnTpHE8HjzgREybKDNbjT6K/IR9uqMs8rVO2X3R0vy2HIefD58guSs14lHbviT/moZ X-Received: by 2002:a17:902:4203:: with SMTP id g3-v6mr13047316pld.30.1533043610086; Tue, 31 Jul 2018 06:26:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533043610; cv=none; d=google.com; s=arc-20160816; b=FxHey2DqMGTp+W05gmOaGlQcbWl3aGkB+YTTQFTUqCpNnoEKnuFXKvyzMALnpp9WSs 27GjElKowj5OSr9tgb8+3nEXa9X700wW7CMXCr2Pv/zKe/irpRKQ9n1T0/3/mtb9qSee DZyM+peebdvL6QJA6nH0kqTdFt6jF2voDpaWRem6GnLdfJYBfKY5wTAD1v4ZS9rVHHk8 8QMOZL+PuW/LjXCFP/rleTNErI/SmSAtIWgdYhA3rvC3In5Pn33/qwHDmT41bWqUig1F uMPxm8CSugBhmkJNQ3gtHxmtbORBPBNZ6rEXT1HGjpxjszfG0/jOwBcf7lr3l7XjtVfA d3xw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=LDmodxtoHaC2KV5DG0oWr0czTx8kllyzlZYkNVyq3h0=; b=Y6iwjVCcIwAAdiME51p6ydp/REoz4glk0rnSUSWfUgehxz5YxopI915KruNmQVjMmh 2ZA3jarcrbm0ML+MLGHfg6DnD1gdAq3CeGH3R0pbbs3hGbd7AdMZAzfoOK1Np1J7Y/XX jMqeNxDbK7D/uv4hZd42RG4K4LD0t3AbCeH/SwspM1dO6Z/EaWogU8YAwj1+KBzdzLHd Bq2lkfBUNFVx3oyoTPEY2Ds+fU5lKT8aqiPEiuQBWRRYHiXwJN0jdQLJSMMvfxBQ+XMN OpfcxiUSbn8ueQlr7hV/QmKLJEEXsr66sbQy/uOa0p89VWjVueV7sBu6dXvQRX6GTabj Ybkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b="o/PGLeV1"; 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 6-v6si12431040plb.409.2018.07.31.06.26.35; Tue, 31 Jul 2018 06:26:50 -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; dkim=fail header.i=@gmail.com header.s=20161025 header.b="o/PGLeV1"; 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 S1732227AbeGaPGH (ORCPT + 99 others); Tue, 31 Jul 2018 11:06:07 -0400 Received: from mail-qk0-f175.google.com ([209.85.220.175]:42069 "EHLO mail-qk0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732168AbeGaPGH (ORCPT ); Tue, 31 Jul 2018 11:06:07 -0400 Received: by mail-qk0-f175.google.com with SMTP id 26-v6so10175813qks.9; Tue, 31 Jul 2018 06:25:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=LDmodxtoHaC2KV5DG0oWr0czTx8kllyzlZYkNVyq3h0=; b=o/PGLeV19FgyPp/XLATLCqVlAsPS1FE9Q/MEmVG0cWGbNzItu36dbEXb/ku1Q04yXn b/FE5IHhN4f2bkmGSyyMAzWftqhiePlXv8JhwOuZsVOwFUtUD1gmU8SJRikq18TG9oBX qvd64ZfV7WWfxoHc4s0v6HVa0AhxPaIuBz5HKdAZmM8aSzEksOcdrHxQgOywwbE/Fd+8 5+ZblMP/n8Cyr8R+13PaD1lnhH362hnGu+jls6wR3+L/ZtY1+yZx6odGmcw4wshxg5YQ Ihck8gullPHxU+m8N0Q6I4PdZS0xJeRrzrOZ1V9CiQUrvBw6yqpHQXX4FQr3UxVIt6b4 YOYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=LDmodxtoHaC2KV5DG0oWr0czTx8kllyzlZYkNVyq3h0=; b=h+nWdcmF6VaoyM45hkJOSKezOH42yEZNoEVB/dfn+5JvF6jSHuKEqkjkio2qB91+sg y3TlS68Bpc5PeRE2MrPYR57U6wxnVVZUe5X1m/gtdV0UXsLjRaBZQOopTzgUfvwutpqq PmsZdXMIMkQlZrk9HvS/LeHoMBsUCD1Jx5XNE6C7nyCrcqW1+QyzkcnPcAXSwTvFbR45 Ea9wxot3MJJPSJrOVkwhYKWzNzbczR9/kcX5HY4eZK9huMiX8UI+NIhWeDu++PX+aIgK TWz2IbsNke25V9drx9vn/oYgUcgu/e056qcpeMTjfelz9VTDooUFL6g76dUxb7AFf9tT RfWA== X-Gm-Message-State: AOUpUlGhYABF0X63dWGr1556YOpvUz9L6N9km/c6GZk5nElsUr6o7/vq 3WGIUBasZaS9rSMgSyBZE2G0eFXu/FBSdLjhzS0= X-Received: by 2002:a37:7946:: with SMTP id u67-v6mr19202913qkc.283.1533043547149; Tue, 31 Jul 2018 06:25:47 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a0c:967d:0:0:0:0:0 with HTTP; Tue, 31 Jul 2018 06:25:46 -0700 (PDT) In-Reply-To: <20180730090648.GA18361@lst.de> References: <20180724120147.15096-1-hch@lst.de> <20180724202115.GA4685@lst.de> <18df6608-61c1-963d-bb1a-d46320232f40@landley.net> <20180730090648.GA18361@lst.de> From: Arnd Bergmann Date: Tue, 31 Jul 2018 15:25:46 +0200 X-Google-Sender-Auth: jIBdO3PgMX2_Kk8vmO3HC3-8eS0 Message-ID: Subject: Re: use the generic dma-noncoherent code for sh V2 To: Christoph Hellwig Cc: Rob Landley , Yoshinori Sato , Rich Felker , Thomas Petazzoni , "open list:IOMMU DRIVERS" , Jacopo Mondi , Linux Kernel Mailing List , Linux-sh list Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 30, 2018 at 11:06 AM, Christoph Hellwig wrote: > On Fri, Jul 27, 2018 at 11:20:21AM -0500, Rob Landley wrote: >> Speaking of DMA: > > Which really has nothing to do with the dma mapping code, which > also means I can't help you much unfortunately. > > That being said sh is the last pending of the initial dma-noncoherent > conversion, I'd greatly appreciate if we could get this reviewed and > merge for the 4.19 merge window.. I've spent 30 minutes looking through your submission to find something wrong with it now, but it all looks fine, the only criticism would be that some of the changelogs could provide a little more background. The original implementation seems odd in some places, but your new version resolves the few concerns I had (like mixing up phys and dma addresses), and I didn't see anything that should change behavior. I hope that helps. Arnd