Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp758652pxu; Thu, 15 Oct 2020 16:10:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz0oRoJJg6DPLqXFPdQSwPyqwoDHFEMWMCUdeHFwA2g4rS6m64izytwEoJAcNT2HBENtYWa X-Received: by 2002:a17:906:3a8c:: with SMTP id y12mr684537ejd.531.1602803434065; Thu, 15 Oct 2020 16:10:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602803434; cv=none; d=google.com; s=arc-20160816; b=K64VVAzOk27pIRtgOqAgPa32KSxO+S8c3jyHmvzgMtHLEALqh96glffMgYe0YH0XGt X01ll6OC+V+Zi+Pzr+OnzdU6QRfmWVH2q7/WIncf/+HcF4OZB9uMcLXiqzhJiqQnkPmx N+hQtnT8J1JoRjXQAokDP5oRiq2Ok/qzBgzZIeTCoWtQZRrMkBiTCiSC5VOhCIjM6llp SW5X4iEyZhEeRViLE5+DosAM0wAubjXUA66RleBlw44cOEqjLQQTeUaA4/Xnto690CpI fte+f9xuDd/UyEVB8V+TR6akvQ2oOvVvoYRGRx1eay/lcgV+Uch0weeSSueDDcczcGf4 KYDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:autocrypt:from :references:cc:to:subject:dkim-signature; bh=wgIK7zbpXWjdXBtD36efr+BpdwUj1e5hEN/TLn+lrLU=; b=GyzQl2ENcHVS7Cc94hJRPvj+Dw4NQsUyG5ETSVKf5x32ODHbBN9Qp9VzRpkr1Am0Ya CA/kAyBcVJQeKoauq5AoJCW4a7FicrmP3irQAC/Ly25bqz7B/KUOTUYqy6nXCFzbV940 oTnhBRDyEi9tosXRYlJAzHH7vbHYkx1LmKc90eXhgpGODXZSEQMtAA50OuLxUOGHav4p 4ip7DgS0DSTWgL3r9Kf5C2DFmd5/4DI/H6yLYjSM+hi7ifE4zGSZ5Q00GlAURPt+3MEN +ybWkgrun0i4FBSmQP56s20rJj9lpXnNB/dZne1afKWkjCKLXsTU5tFgpWAgqh1fs0jc 83PA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=biUeRCDF; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v19si373270ejf.257.2020.10.15.16.10.11; Thu, 15 Oct 2020 16:10:34 -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=@gmail.com header.s=20161025 header.b=biUeRCDF; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732904AbgJOSRm (ORCPT + 99 others); Thu, 15 Oct 2020 14:17:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36272 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726053AbgJOSRm (ORCPT ); Thu, 15 Oct 2020 14:17:42 -0400 Received: from mail-pl1-x641.google.com (mail-pl1-x641.google.com [IPv6:2607:f8b0:4864:20::641]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D5AAEC061755; Thu, 15 Oct 2020 11:17:41 -0700 (PDT) Received: by mail-pl1-x641.google.com with SMTP id v12so2031239ply.12; Thu, 15 Oct 2020 11:17:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:autocrypt:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=wgIK7zbpXWjdXBtD36efr+BpdwUj1e5hEN/TLn+lrLU=; b=biUeRCDFw/kQDjd1VgIwlkyU00KgC0cYdaP4HvZ6rqPHGLPgov390yhK3n5VVoW1Uj cMY4IvfRerVbf8YTgwqOhIUS/FrkU8N4vJfYOoaYcCqJK0M3xmvZ7G/gLwYATr22Dwg2 7cOFSUT9Z5J2te9ctuCc2MLmwQRDhkK4ebqz11NQBY6uwzI6/U1RiZY+L+O8Dr1HVIvn RB5IOD61atPq95cpXBgRHXROyMCF9boJxDvCKhwfaoYKveYfSVuuxPPlqF/aN7Q72lU2 NKlp/CL6UCJeNJkZskAfdc8TsnXyLSwu1v8dOjDUfUJ/bp/95XUArjyMUhsndBmm3Jq6 sdtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:autocrypt :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=wgIK7zbpXWjdXBtD36efr+BpdwUj1e5hEN/TLn+lrLU=; b=MHPcCUf0ezxX3WZvMWGh0zLspv9dRe0vAQcV+D/6wVw9JTz3oEdacbQOiPuuIhpasE FcRwUhXsqni810YvqcIs1fJD/xhO2HVv7VY2WkkA2tBuQiMMqzeUp6NCEWginjb9CE5x 8fEomDMYs0u5jbEFHSMaLkbJ89UL7iSdV6F+MBT17hK8+BBag7hzA/P22FKuqRR7UcCV uqWj+Z9wIG0gcC9zzOB1uGyBgCcQrkxKLuPEI7p092FQSLmW7qYaVeGBI3KZZWt/ru0H pWFAl7TMWW7V5IuKUUW56CrLtQi1QSLnX43sxNN8Y+PUGYgiXYabz3vdd0Mh0MuHwNGp nUTw== X-Gm-Message-State: AOAM531/SmqFBnpJBtLY6axhb/FX0y8vYqqc5pO+N8TNNOzNNxwQR6df HTYY4q8tt4TciTCtLkLSEoQ= X-Received: by 2002:a17:902:6b8c:b029:d3:f9eb:a328 with SMTP id p12-20020a1709026b8cb02900d3f9eba328mr5248553plk.17.1602785861334; Thu, 15 Oct 2020 11:17:41 -0700 (PDT) Received: from [10.67.48.230] ([192.19.223.252]) by smtp.googlemail.com with ESMTPSA id t2sm44769pji.12.2020.10.15.11.17.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 15 Oct 2020 11:17:40 -0700 (PDT) Subject: Re: arm-smmu 5000000.iommu: Cannot accommodate DMA offset for IOMMU page tables To: Christoph Hellwig , Stephen Rothwell Cc: Poonam Aggrwal , Rob Herring , Joerg Roedel , Arnd Bergmann , Richard Weinberger , Naresh Kamboju , "Z.Q. Hou" , open list , lkft-triage@lists.linaro.org, Will Deacon , Linux-Next Mailing List , linux-mtd@lists.infradead.org, Jim Quinlan , Miquel Raynal , Suram Suram , masonccyang@mxic.com.tw, Robin Murphy , Joerg Roedel References: <20200924090349.GF27174@8bytes.org> <20200924092546.GJ27174@8bytes.org> <20200924095629.GL27174@8bytes.org> <20201011055258.22337d66@canb.auug.org.au> <20201015074821.GG14082@lst.de> From: Florian Fainelli Autocrypt: addr=f.fainelli@gmail.com; prefer-encrypt=mutual; keydata= mQGiBEjPuBIRBACW9MxSJU9fvEOCTnRNqG/13rAGsj+vJqontvoDSNxRgmafP8d3nesnqPyR xGlkaOSDuu09rxuW+69Y2f1TzjFuGpBk4ysWOR85O2Nx8AJ6fYGCoeTbovrNlGT1M9obSFGQ X3IzRnWoqlfudjTO5TKoqkbOgpYqIo5n1QbEjCCwCwCg3DOH/4ug2AUUlcIT9/l3pGvoRJ0E AICDzi3l7pmC5IWn2n1mvP5247urtHFs/uusE827DDj3K8Upn2vYiOFMBhGsxAk6YKV6IP0d ZdWX6fqkJJlu9cSDvWtO1hXeHIfQIE/xcqvlRH783KrihLcsmnBqOiS6rJDO2x1eAgC8meAX SAgsrBhcgGl2Rl5gh/jk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ouCnTZeJRrNHJFTgTgu6E0 caxTGgc5zzQHeX67eMzrGomG3ZnIxmd1sAbgvJUDaD2GrYlulfwGWwWyTNbWRvMighVdPkSF 6XFgQaosWxkV0OELLy2N485YrTr2Uq64VKyxpncLh50e2RnyAJ9Za0Dx0yyp44iD1OvHtkEI M5kY0ACeNhCZJvZ5g4C2Lc9fcTHu8jxmEkI= Message-ID: <8d299e51-2480-28ae-ee1b-988583f0f8e8@gmail.com> Date: Thu, 15 Oct 2020 11:17:37 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20201015074821.GG14082@lst.de> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/15/20 12:48 AM, Christoph Hellwig wrote: > On Sun, Oct 11, 2020 at 05:53:37AM +1100, Stephen Rothwell wrote: >> Hi Naresh, >> >> Just adding Christoph and Jim to cc] > > Well, a Cc doesn't help on its own. Can you send an actual bug > report including the setup, warnings and error messages, a bisection > result and the usual suspects? I don't believe there is a DMA regression for you to look at, this was solved a long time ago thanks to Robin, here is the beginning of the thread: https://lore.kernel.org/lkml/CA+G9fYvuq58q+GsWnzni0sKSHbubuQz-UaK3TASX26V_a7yBVw@mail.gmail.com/ -- Florian