Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp369145pxa; Fri, 14 Aug 2020 06:38:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy0qEsgpBY9OkT4Jj25u2OBY6vLBRLBK8thT7ifiNqZD5J6XA5fTTCsGUy9NxmtF9/pA3vQ X-Received: by 2002:a17:906:d786:: with SMTP id pj6mr2467530ejb.261.1597412311343; Fri, 14 Aug 2020 06:38:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597412311; cv=none; d=google.com; s=arc-20160816; b=EAP2zDnNipfwKY0ACP/7uSCwhaM5MgFE3KUpXWdTiED5YLWSQm5d97SNxeumyIHhOX 5yNK47jLGblUiZJ/X950LLoGWzfLnKfytPl5n1jmY8eaY2FKXP0FH19dVdk91BI2FGvm 8iB5HSmHNmj/Opy0Q5e0X3Lm+Z9mn8a8ClQk963IUBvwTESgg3UGrmZgD2SNUNhORZ+n qqoB0ZUqmSG7CAc7kv74NGzp84VhJHN39WPbgEqpC9aA9m6n0hsedUjzcG/OMh+z0Tbl g1hNI5KtluK6M79JpcoX/Os88gRhJ8y1vUBeUjvL3ngHj2ve99odlFPDNBhW8I1sR/u4 E0WQ== 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 :in-reply-to:references:mime-version:dkim-signature; bh=tyacguIGHHXsED289fd39lR1bWbtVfQPtH3fTepckZY=; b=YFBxZedKepzs9HzT/Ej3WavekGh/+3Pup9aQiSXjkSe9NcKHUn0z58IcN+jy/lMo09 ghtrY62u5ppnaeMv7E7lbPHVDCpwzd3OdeApCwH1KwQ3/Di12Ek701U/hcCRE3ozvGDP qEOt3ZX9p4ovv7p5rReIX2JR6BF8ejrN7FcN8d3DC5gpHCAjKwdMdP716cJwJtGarpDw PAjHTN75lmqLJB0l7Ei9TQkpUTpOaLGV/VLPmPRV4TANmjTxFcxGhA0q4DMAYyw+pyLJ 71CEN9hKZoE3BobWrxKB+kkoQw/4i8tybieteRn2gnz9SRJWSXWwO7Aj+xajapTkizB9 3CMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="cpZwP2g/"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u6si5370458ejc.54.2020.08.14.06.38.08; Fri, 14 Aug 2020 06:38:31 -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=pass header.i=@linaro.org header.s=google header.b="cpZwP2g/"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727857AbgHNNTO (ORCPT + 99 others); Fri, 14 Aug 2020 09:19:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55080 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726283AbgHNNTN (ORCPT ); Fri, 14 Aug 2020 09:19:13 -0400 Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 56777C061384 for ; Fri, 14 Aug 2020 06:19:13 -0700 (PDT) Received: by mail-wr1-x441.google.com with SMTP id a5so8329289wrm.6 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=E0J8ZSc5s8mMGzY6fgPNB0Dh6Jz+G14A2uaGCkvy+oGZDKYuz8rsnzad1RPafbWkAV piEbfrWyAhvpG9eSe1cAXmhBK509h28eamorvArSxLdsYv554e8D/BsdF05ne7l9eyhP zYNpiefqiR2RNfoMCMso+D633CavUS93hH9rIKoFi7ZjzvhssDuXDDSlKvuAniDiflSR nM0LtRpUrM6oHsn1BjKVnoxmnxQiVllrxccLPf3l5ZR5jRsQP1kP5J5TBecOU061HWNi 2ckoYdiJYNqe3INap2INoOjPZJmFDYJjarHLKZEK+cL52YQelbgmzEKTUK4NnqmXJ5yk In3A== X-Gm-Message-State: AOAM530Co2+5dml/XgyLQmmENGFz88bs6kgRFag48s8GapLGozmW0zA3 rJKq1vCld8tMmONjXH/ZkJNujKWHv6nDLCZNkmvsMw== 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: Christoph Hellwig , lkml , David Rientjes , jeremy.linton@arm.com, linux-rpi-kernel@lists.infradead.org, Robin Murphy , iommu 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 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 >