From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.7 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 066F5C04A6B for ; Mon, 6 May 2019 13:50:36 +0000 (UTC) Received: from mail.linuxfoundation.org (mail.linuxfoundation.org [140.211.169.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CAC2320675 for ; Mon, 6 May 2019 13:50:35 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="PuOjunm9" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CAC2320675 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=samsung.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=iommu-bounces@lists.linux-foundation.org Received: from mail.linux-foundation.org (localhost [127.0.0.1]) by mail.linuxfoundation.org (Postfix) with ESMTP id 82FA24674; Mon, 6 May 2019 13:50:35 +0000 (UTC) Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id 310794567 for ; Mon, 6 May 2019 13:49:40 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailout1.w1.samsung.com (mailout1.w1.samsung.com [210.118.77.11]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id B9C797DB for ; Mon, 6 May 2019 13:49:39 +0000 (UTC) Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20190506134937euoutp01c26474bba6ba93ec3607da48c385b092~cHDNNa0CT0837508375euoutp01r for ; Mon, 6 May 2019 13:49:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20190506134937euoutp01c26474bba6ba93ec3607da48c385b092~cHDNNa0CT0837508375euoutp01r DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1557150577; bh=P7VhdfKau4WWhvUvStqz4ZpxoPa4I41d5iy+2lZ2Xkg=; h=Subject:To:Cc:From:Date:In-Reply-To:References:From; b=PuOjunm988K37iwCo4rMbtDeQPRdGj/VY29pgrBON62b5jyl/cS055dsqc+sZbEd9 ZKzi1jd7mHne31xOUpIuPqj84X63iM7VcU+/F/he0ListBbjmWGblCtygcUTCJABRK AQAD0/kbOtf/5+eNGBG36KZTClSrKrZjJfnsCBNg= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190506134937eucas1p29e237a8ab0f697f175a0afa018f1909b~cHDM2ZcY_2976629766eucas1p2t; Mon, 6 May 2019 13:49:37 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 8D.28.04298.17B30DC5; Mon, 6 May 2019 14:49:37 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20190506134936eucas1p2bc1a530cb7ec454d489f04c1d17a1747~cHDMInob-1945619456eucas1p2f; Mon, 6 May 2019 13:49:36 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20190506134936eusmtrp216ef39ffea283ca81041002d4039c9ff~cHDL6UHf62143621436eusmtrp2D; Mon, 6 May 2019 13:49:36 +0000 (GMT) X-AuditID: cbfec7f2-f2dff700000010ca-06-5cd03b71f187 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 34.02.04140.07B30DC5; Mon, 6 May 2019 14:49:36 +0100 (BST) Received: from [106.120.51.71] (unknown [106.120.51.71]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190506134935eusmtip2dd0c9c67ac2900917d7e4ab75aabb56e~cHDLbjmJb1830718307eusmtip2W; Mon, 6 May 2019 13:49:35 +0000 (GMT) Subject: Re: [PATCH 2/7] au1100fb: fix DMA API abuse To: Christoph Hellwig From: Bartlomiej Zolnierkiewicz Message-ID: <7a63eeae-4ec3-c82e-c497-8adc7bcb3cea@samsung.com> Date: Mon, 6 May 2019 15:49:35 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <20190430110032.25301-3-hch@lst.de> X-Brightmail-Tracker: H4sIAAAAAAAAA01SbUhTYRjt3d3u7oaT69R8UDEclhBpChHXDLGQuNWfsD9hUq28qOQ223Wa FeWPLJ0wv/qwYWiCmotU5rdl5pxT8Ss1TNNIUUuUqamRRbPc7gT/ned5znnPOfASmPSdwJtI VKYwaqU8SYaL+Y2W34NBN8I/xIbM6MVU1asuHlXaHk7l96zxqfm8KZzq0a0KqNHWYpzKNjYg au5HH5/SLVkwauRtQKSYzmzLw2mjIRunu6pe8+jC8UpEv5nIwOkl8wyftmkfYfS60e8cESM+ HsckJaYy6sMRV8QJQ4XlWPIX7GZ2bYMwA+VgWiQigDwC3ZkdSIvEhJR8iUA3bMO4YQOB2fgC 54Z1BA35Y2hHMlm0IeQOlQj6LctOiRXB/WUDz85y32Y1Fm86FB6kDOYXBxwmGFnNA52uwHHA yWOQ/9DgwBIyAuYraoR2zCcD4Ilet/0qQXiSFyC3P5CjuEHvszm+HYvIEChvNgnsGNvG5rJ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ywdr0LPsQowMGo xMProXQ+Rog1say4MvcQowQHs5IIb+KzczFCvCmJlVWpRfnxRaU5qcWHGE2BnpjILCWanA9M DXkl8YamhuYWlobmxubGZhZK4rwdAgdjhATSE0tSs1NTC1KLYPqYODilGhhTCi9XsvsLf3Ps dAw7oqGvrl3fYZuq4P5NL/XZV/U/S69P3vzomrDV3/mRZUUGj3n+v44/uT4l8Pf0T3FlT05O f+t3+VVL561lPI9/5LP9PHx6XfP8I7d+MW9rXMMZf0rqrvzt6cdZpPZG86jnmt/wYa8025MX 9MTuV80qE6n2F48NZFoDufcqsRRnJBpqMRcVJwIAhi4zqNUCAAA= X-CMS-MailID: 20190506134936eucas1p2bc1a530cb7ec454d489f04c1d17a1747 X-Msg-Generator: CA X-RootMTR: 20190430110118epcas2p24019c7551331cc6390e5b5e07b381dd9 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190430110118epcas2p24019c7551331cc6390e5b5e07b381dd9 References: <20190430110032.25301-1-hch@lst.de> <20190430110032.25301-3-hch@lst.de> Cc: Michal Simek , James Hogan , linux-mips@vger.kernel.org, Ralf Baechle , linux-kernel@vger.kernel.org, Paul Burton , iommu@lists.linux-foundation.org, linux-fbdev@vger.kernel.org, Ley Foon Tan X-BeenThere: iommu@lists.linux-foundation.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Development issues for Linux IOMMU support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: iommu-bounces@lists.linux-foundation.org Errors-To: iommu-bounces@lists.linux-foundation.org On 04/30/2019 01:00 PM, Christoph Hellwig wrote: > Virtual addresses return from dma(m)_alloc_coherent are opaque in what > backs then, and drivers must not poke into them. Switch the driver > to use the generic DMA API mmap helper to avoid these games. > > Signed-off-by: Christoph Hellwig Acked-by: Bartlomiej Zolnierkiewicz Best regards, -- Bartlomiej Zolnierkiewicz Samsung R&D Institute Poland Samsung Electronics _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu