Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1967561pxk; Mon, 14 Sep 2020 00:37:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxurrpNe3lKdZmrtnKHseMaVTWaM2ay4qzlqQ2I5qBrlmprpU67tQUjGYMCy8II3/XDuUfx X-Received: by 2002:a05:6402:cb4:: with SMTP id cn20mr15933032edb.369.1600069057216; Mon, 14 Sep 2020 00:37:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600069057; cv=none; d=google.com; s=arc-20160816; b=JHZ7kgR4+yyFnQAWwsCkto+ij8EWdxWFO7OTDVXFBPpGwIYAjoV9ZTlTxRcOj2Vz0n 1dq4njjqVyHNfCGZdR2n6EhXC1Zw+p3/cIkXKONb8GccEG+IoxM0F2k0qXCSxhxwbYjt ruGZFfG6lA2K1B2KDJHvJvxPb7Zodces8ZNMKHWN1xcUbBosKW3zj0bD+qaa/aOcqeJy zR1OtWZaQruYgsOtftieXi9C0k5tK2C29uz71+2oIWWx1nw43GiG8aiXCcn5P7PWJO6Y osgQnvGsb0qcPqW5yV41IXNPY8TYVyPabifPDr4iZejgpvgwRZc38OZoba+8DGTCf++D MUPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=C7dRzELMuzY1ti6Be4zl/P2o9CmOm3JEIs4jyyZleQw=; b=joruvJFnX5pDYzVwxwrNlVy2hTwdfZDWamYyvQkUVbs7Ae9NRqLrSBMbsshYBChFCH ou5MVnhyFtZUvtQ4yvILUD23PX9rA0SUzykUq6iINWJwEPjlnGql5arxHp6Dc3nkaKBh nWkKmSYlf/GPybdLrMtVLKbG58Mhb/gDnKfONuBwQC3OBf79SGbfQN+d30N1bONBlqXp mWoIFM6mhVQGv3TtTs0anPwCARPyfmdDxafBX7FaBqe/YDWGCwdBRyqDQniYcyS5WoPQ ckRsofGohJ6CmTmSwjXVrerFv9XF4xvyj+YCL6wvO+OTY8+rdC+BOtfJv0dfM1aUzx1J iuxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=lwk02yuj; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id mh2si6649807ejb.228.2020.09.14.00.37.14; Mon, 14 Sep 2020 00:37:37 -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; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=lwk02yuj; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726097AbgINHgN (ORCPT + 99 others); Mon, 14 Sep 2020 03:36:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58514 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725951AbgINHgK (ORCPT ); Mon, 14 Sep 2020 03:36:10 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B9A04C06174A; Mon, 14 Sep 2020 00:36:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:In-Reply-To:References; bh=C7dRzELMuzY1ti6Be4zl/P2o9CmOm3JEIs4jyyZleQw=; b=lwk02yujA1vjIelTZNfxXJy9LN v7YD5PWtck3jet/c/PDtH/SmOvHL+NzTK518RPrY0A+aHSvGL4Yb8MIOAoGG3rhJ/Oiu+vNNYdbwz xKV0ICUgng+ECUWVsEsca4S+8Mbode59LZh8n8hyxzw3IYN6Ps9D9XcCzLhV9ZQ+njw4qplkOp8Lb EM+FMEy8jVDpnf9IVRWUBOsm/muxp94nXrEAk06uhAZew11B+2igip5eHeeSAAiF07LDs2Q3vm6qY 31J7KCG0vY7Zv+4Wny08jHxr0+vvKvhPWPu409qwu/N6S7hbTtkQjkwssJ1vOudtyux59KHeFK4ui 4AIuIf/w==; Received: from 089144214092.atnat0023.highway.a1.net ([89.144.214.92] helo=localhost) by casper.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1kHj1m-0008RI-5h; Mon, 14 Sep 2020 07:35:54 +0000 From: Christoph Hellwig To: iommu@lists.linux-foundation.org, Russell King , Santosh Shilimkar , Greg Kroah-Hartman Cc: Jim Quinlan , Nathan Chancellor , Florian Fainelli , Robin Murphy , Rob Herring , Frank Rowand , Ohad Ben-Cohen , Bjorn Andersson , linux-remoteproc@vger.kernel.org, linux-usb@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sh@vger.kernel.org, linux-pci@vger.kernel.org, linux-acpi@vger.kernel.org, devicetree@vger.kernel.org Subject: support range based offsets in dma-direct v2 Date: Mon, 14 Sep 2020 09:33:37 +0200 Message-Id: <20200914073343.1579578-1-hch@lst.de> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all, this series adds range-based offsets to the dma-direct implementation. The guts of the change are a patch from Jim with some modifications from me, but to do it nicely we need to ARM patches to prepare for it as well. Changes since v1: - rebased on top of the latests dma-mapping for-next tree - add two more trivial ARM cleanups - remove the DMA property inheritance hack in usb - move the remaining copy of the ranges into the remoteproc driver as it should not be seen as a general API, but as a quirk for remoteproc that we need to fix ASAP Diffstat: