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=-8.8 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,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 2F023C433DF for ; Fri, 14 Aug 2020 13:19:22 +0000 (UTC) Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (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 E976B20866 for ; Fri, 14 Aug 2020 13:19:21 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="cpZwP2g/" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E976B20866 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=iommu-bounces@lists.linux-foundation.org Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 8B7FB26087; Fri, 14 Aug 2020 13:19:21 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YvlP4mXCNXMv; Fri, 14 Aug 2020 13:19:18 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by silver.osuosl.org (Postfix) with ESMTP id 94B0E26067; Fri, 14 Aug 2020 13:19:18 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 88304C07FF; Fri, 14 Aug 2020 13:19:18 +0000 (UTC) Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by lists.linuxfoundation.org (Postfix) with ESMTP id 6B8FCC004D for ; Fri, 14 Aug 2020 13:19:16 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 59AAD88C40 for ; Fri, 14 Aug 2020 13:19:16 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hJkIpy0aS6hZ for ; Fri, 14 Aug 2020 13:19:13 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f65.google.com (mail-wr1-f65.google.com [209.85.221.65]) by hemlock.osuosl.org (Postfix) with ESMTPS id 8CD5488C3D for ; Fri, 14 Aug 2020 13:19:13 +0000 (UTC) Received: by mail-wr1-f65.google.com with SMTP id y3so8339319wrl.4 for ; Fri, 14 Aug 2020 06:19:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=tyacguIGHHXsED289fd39lR1bWbtVfQPtH3fTepckZY=; b=cpZwP2g/7XZePuqzXyIT+2dWS2vatxuYvpS40kBioWQMZ54CsBv4sHxJuWQwK6YamD 6+58laePhHIUrnObzWrJ5p89hNnDfHxQ3dyOLaPJ+xCRzg1YMRDWqjA0rJJ4cbtyWWE9 bmgXfUsCj8+xTBU6Wr5iKXtvh81gkZI4rf8PqE2j5lZtcWwN8g9Mevd6/IXyyobmsR54 nMSaZFb+mWB5HUejbbZKThI/vCt+0XwU3riqdJpswvU9Sa4vq6C+C1JNXTR057dk7osL YnuQoAGsKoPPhvcphq3K+VH9ZvFJ+bIiFCtftVAbPKCcQK46KZEZA51HoKyuJqEbpiUr uZ7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=tyacguIGHHXsED289fd39lR1bWbtVfQPtH3fTepckZY=; b=Kv4QKyBigKbMXsW15S+wnsBRDPCNQHL4itMulHngXi4J7r5H0jLGYPKUWAD85DkLT/ 8AoEYEWSwNWzyD5qBxh6EYOzYrIHYNf1HWwk+DWj+FclmAxlcUWJ9FRpbiGW9EMTBcTh SyMuQwSsl4LUaI4DUSM/9vUNHD6f7itktsogJs1sBuzcXbApcfR+hUSyIBO8Hz3QtRfx Yjd2We3u+RRUV1Pq/T1D02bfLnJPw/zX2jRILQn3ZchydVuE1FQfyBj5EbAOFSmEu1Rm yBBlOLMRBJ0A3AB9jgSNe40h6uJeC22/kgbvS1W3tUlwLbkKePWuAZwQUpzDJfXktCx7 t6bw== X-Gm-Message-State: AOAM530Ki/ySGkAZ8kNItzANwE89aGdClHP1LmGBnB0ycRqlzes8FB1O Rs6WmS11MTIMLPnx6gqI3l86qlJOg9QsppxzACOxFA== X-Google-Smtp-Source: ABdhPJw5Yy1Vffms01Njx5oCbd4CYLl2ai89zPD4KhUODy+zk//A9mZYsRdg5wgrh0cBp+Jjn1J3NcPEufy4cQQGF9s= X-Received: by 2002:adf:d84f:: with SMTP id k15mr2603518wrl.176.1597411152041; Fri, 14 Aug 2020 06:19:12 -0700 (PDT) MIME-Version: 1.0 References: <20200814102625.25599-1-nsaenzjulienne@suse.de> In-Reply-To: <20200814102625.25599-1-nsaenzjulienne@suse.de> From: Amit Pundir Date: Fri, 14 Aug 2020 18:48:35 +0530 Message-ID: Subject: Re: [PATCH v4 0/2] dma-pool fixes To: Nicolas Saenz Julienne Cc: lkml , jeremy.linton@arm.com, iommu , linux-rpi-kernel@lists.infradead.org, David Rientjes , Robin Murphy , Christoph Hellwig X-BeenThere: iommu@lists.linux-foundation.org X-Mailman-Version: 2.1.15 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 Errors-To: iommu-bounces@lists.linux-foundation.org Sender: "iommu" On Fri, 14 Aug 2020 at 15:56, Nicolas Saenz Julienne wrote: > > Now that we have an explanation to Amir's issue, we can re-spin this > series. Hi, Smoke tested (boots AOSP to UI with Touch/WiFi/BT working) on my Poco F1 phone, with upstream commit 00e4db51259a (+ 30 odd out of tree patches [1]) and I see no obvious regressions. For both the patches in the series: Tested-by: Amit Pundir [1] https://github.com/pundiramit/linux/commits/beryllium-mainline-display > > --- > Changes since v3: > - Do not use memblock_start_of_DRAM() > > Changes since v2: > - Go back to v1's behavior for patch #2 > > Changes since v1: > - Make cma_in_zone() more strict, GFP_KERNEL doesn't default to true > now > > - Check if phys_addr_ok() exists prior calling it > > Christoph Hellwig (1): > dma-pool: fix coherent pool allocations for IOMMU mappings > > Nicolas Saenz Julienne (1): > dma-pool: Only allocate from CMA when in same memory zone > > drivers/iommu/dma-iommu.c | 4 +- > include/linux/dma-direct.h | 3 - > include/linux/dma-mapping.h | 5 +- > kernel/dma/direct.c | 13 +++- > kernel/dma/pool.c | 145 +++++++++++++++++++----------------- > 5 files changed, 92 insertions(+), 78 deletions(-) > > -- > 2.28.0 > _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu