Received: by 10.223.148.5 with SMTP id 5csp7592127wrq; Thu, 18 Jan 2018 07:14:33 -0800 (PST) X-Google-Smtp-Source: ACJfBov0t6Kdm+ofFH7Ib2e6MV9hYrDa/zC8QIRHq/UR/WwTCivTIO339zaBieEW/4ezND192yap X-Received: by 10.99.124.4 with SMTP id x4mr24534353pgc.316.1516288473349; Thu, 18 Jan 2018 07:14:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516288473; cv=none; d=google.com; s=arc-20160816; b=MQCNf7xNNnPwEn9bN4yvc8YTeqftTcL38laZcZqC2HEytRq/+QU6ULq1odsdDdvJTc 5ReoZa7iXp1IUI0OpGakHnaMAk9qI4OMklmjXH8yKBU/ud4j5hPme5HXjc7gCofL6PaJ Zz9iYlwMuPT9hCVyMrAE3EGvuVwQqJtPaXB8+10QHimxYeQENGG4O2SR8fpkoiRnflUU k8lWaxOylkI1ZDzkwa3n+VIA8f2MQhezE3OpheD1168x+Fo7xQgoqsm8cjI55HGOyoEi SyAmJG/UDg7rN8S94ujAlB4IhkuC/1BfTrgT/vBvMTSpfxD2LILfope0yKc5YDfJ1UW3 aTcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:from:cc:to:subject :content-transfer-encoding:mime-version:references:in-reply-to :user-agent:date:dkim-signature:arc-authentication-results; bh=voxFTxjqBui0NgMl62vcZGxWMIPMj6tbb8OOyE3g0n0=; b=rdmYiyUIP40vmfRLmMrq9Mi6OwDUE2AZONSmm7rSUyDVWT7DOVt6KfdQV9vBnWJVWy wBZFdAJnlpzNTO48v8hv5RytR4jr/FwuIMItT3ypETstoCNpaKqWv4Qhv+JQbto/RIP5 iX2Ls5i3Dj6yJYOyRu5fKIyXMtseuVpO5awhT3KyC1vN1pvQVlUcYHAVOfEMZzMixZKQ bVZOUDbBMzqSm9DKx3Z+w4p/KWkiumU9noTaf6G9wQsmfazjwIi+Mmc04R8MX8jNZqgE o1w3k9hnWSfPj1eidsNesRGKGzpcFbhiKZ41PuA1esE2VzPDYKHXTr88dbcwl+AV5Lx0 apRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=cMJRpujj; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z14si6179517pgo.298.2018.01.18.07.14.19; Thu, 18 Jan 2018 07:14:33 -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=fail header.i=@gmail.com header.s=20161025 header.b=cMJRpujj; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755024AbeARPMR (ORCPT + 99 others); Thu, 18 Jan 2018 10:12:17 -0500 Received: from mail-oi0-f67.google.com ([209.85.218.67]:43704 "EHLO mail-oi0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932716AbeARPJ3 (ORCPT ); Thu, 18 Jan 2018 10:09:29 -0500 Received: by mail-oi0-f67.google.com with SMTP id t16so15871018oif.10; Thu, 18 Jan 2018 07:09:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:user-agent:in-reply-to:references:mime-version :content-transfer-encoding:subject:to:cc:from:message-id; bh=voxFTxjqBui0NgMl62vcZGxWMIPMj6tbb8OOyE3g0n0=; b=cMJRpujj4LtYpwJ5/7a399NoPKd1R9ztyfntuUfeG3TSSbmiZA0AjW7XY6r4gw5pY8 oe4Tl5Qj7wsSO6c3kyYDy5NjAaODGp153+WpwO5xe5YZurUtMRpaZ3EydpAjBpD+Hh/r FvX2YqZC9GepFIphTEGdZc2kNrTZF3y9eiqUSWjjgTJ8SV7iDhVZv4xoP0qRs/N2PfVe 1Qpz2ogCuikAainb4jXKhXj0vqpE5yhTBdkEggFOO9FOn26Cit6/lJBNpHlZTJ805Vk7 TB++QTYTG2x9bwkXe/r5VP5ikcZCYf/+c8cysO4TCKM32aa2W/2OshF1zSoF4HHKwng0 YmRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:user-agent:in-reply-to:references :mime-version:content-transfer-encoding:subject:to:cc:from :message-id; bh=voxFTxjqBui0NgMl62vcZGxWMIPMj6tbb8OOyE3g0n0=; b=mxuVtOk+4XW/NJTxpSdHaHmEF8+ocAUwRVjv6fuQ+tABkaH8WESebLH7Su+eo7Y6Ss c1BAcGoJstPEJa74jJ01ClXdjrDvlP9KOf3vsj0ouNbeLBv2EFM69DmsOCw1/qMYgey2 NSNW6gTx1p1qqrm8Qkzz5ZlUp4y3PGj2yU+I7+9WKFhb2cHKFRVv6NKNF0BuY1KtiJWQ SYHoteNUCVehaaRDgleCM2UL4gT5/hJEW7yxzT1V/nWrvMj5aS2F2MOK8n91DUjZFUSm i8h9MPBDGSiH0fLw5pNWzNZouE/M5OEj2A0fwDwzqKYnv+kvSY2LaibHw/y/IPdkuAd7 HOxA== X-Gm-Message-State: AKwxytdJAl0NICJJl6zigQi+Z9nROHVb0n1h2/lVSrxZFkPzQWu5mriY JAql56RE/+DtklPdPZufhPRiEHXL X-Received: by 10.202.219.66 with SMTP id s63mr3234057oig.168.1516288168325; Thu, 18 Jan 2018 07:09:28 -0800 (PST) Received: from nexus5x-flo.lan (ip68-109-195-31.pv.oc.cox.net. [68.109.195.31]) by smtp.gmail.com with ESMTPSA id s35sm3396077otd.50.2018.01.18.07.09.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 18 Jan 2018 07:09:27 -0800 (PST) Date: Thu, 18 Jan 2018 07:09:23 -0800 User-Agent: K-9 Mail for Android In-Reply-To: <20180118073123.GA15766@lst.de> References: <1516058925-46522-1-git-send-email-jim2101024@gmail.com> <1516058925-46522-5-git-send-email-jim2101024@gmail.com> <20180118073123.GA15766@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PATCH v4 4/8] PCI: brcmstb: Add dma-range mapping for inbound traffic To: Christoph Hellwig , Rob Herring CC: Jim Quinlan , "linux-kernel@vger.kernel.org" , Bjorn Helgaas , Catalin Marinas , Will Deacon , Brian Norris , Russell King , Robin Murphy , Jonas Gorski , Lorenzo Pieralisi , Mark Rutland , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux-MIPS , linux-pci@vger.kernel.org, Kevin Cernekee , Ralf Baechle , bcm-kernel-feedback-list@broadcom.com, Gregory Fong , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" From: Florian Fainelli Message-ID: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On January 17, 2018 11:31:23 PM PST, Christoph Hellwig wrote= : >On Wed, Jan 17, 2018 at 08:15:33PM -0600, Rob Herring wrote: >> > (a) overriding/redefining the dma_to_phys() and phys_to_dma() calls >> > that are used by the dma_ops routines=2E This is the approach of >> > >> > arch/mips/cavium-octeon/dma-octeon=2Ec >>=20 >> MIPS is rarely an example to follow=2E :) > >But in this case it actually is the example to follow as told >previously=2E > >NAK again for these chained dma ops that only create problems=2E Care to explain what should be done instead? --=20 Florian