Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp2294337ybd; Thu, 27 Jun 2019 09:56:24 -0700 (PDT) X-Google-Smtp-Source: APXvYqzG8GKiaT5Jh3hdGJOwYxQs+mnxDPZBDdzuuwZa2YE7BrYpeea4MY6ileK/dQFvhGnzq2is X-Received: by 2002:a17:902:968c:: with SMTP id n12mr6077644plp.59.1561654584300; Thu, 27 Jun 2019 09:56:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561654584; cv=none; d=google.com; s=arc-20160816; b=BEWIfNWkCnN9M3yci8zOlY0WAEr1eGiot/0tEVL3ZcVD/9/nM6AnrfrAMfH3Vs0siH VO6/cUBA/c18kj4NK7Ar65+dNpN0U/Mm53zcKC3APpP+5mbxEl6JzOZESJkob0NHpcPY rwXcy2ohrVvZskIgb2RYP0G2siZp1dJ6WEVyR0L4NVlqNOmi9pzbcfXg4Yf1l5+XDZxk LR4qyKYMvFzPWQNYZGX4CrE/NeJsN9c3kabCFC2VXOjWJ2QR7C4vUdLFMI12pCtcFlHp gmHKpgjD52tS2gROAnOVKGHy6hpUEISm9Pr79ihcjpya8c0HmUCIm+Kr5/1WZQNgr836 oyBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:openpgp:from:references:cc:to:subject; bh=iX5Y5xg7SCif1R47JsHU6LFAMVVb+DLrZ4Y7+3FPgag=; b=SjGzLaxTJmO8/VSSuAe+ivwo+FF9Qu/+FLl1HYEXs3Q9cggAIESmI6Xu7xXkoU2WD+ XzYR3ZNS2OQ1r52SDwwSTWLgfsr8uPBsEtytDOIkBF75k+aE6bkshQ5HCia6+9LkgyfR qistxeBakjymljJRKnP0zDu0XzQYLq004P8LIoGZgKVFAHKA4lPZ7EJ7QPLM3H2/qZVK ID9BahKMTMJk+TttGCR6CIotZrQPOHpYP07qBLflxKL3H+u1GTu4HhSOFxooXTNIwLq3 DQG9IFtWWMr7IHdX6gWXlwfPLUIduIOrrJ/cHrpPIeIbAd/xRLu7hCpSEnHmuRwZzDcp T34A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 19si76328pfc.239.2019.06.27.09.56.08; Thu, 27 Jun 2019 09:56:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726508AbfF0Qzt (ORCPT + 99 others); Thu, 27 Jun 2019 12:55:49 -0400 Received: from mout.kundenserver.de ([212.227.17.24]:35303 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726405AbfF0Qzt (ORCPT ); Thu, 27 Jun 2019 12:55:49 -0400 Received: from [192.168.1.162] ([37.4.249.111]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MRTEp-1hspKc0A8z-00NSkY; Thu, 27 Jun 2019 18:55:27 +0200 Subject: Re: [PATCH v5 04/12] PCI: brcmstb: add dma-range mapping for inbound traffic To: Jim Quinlan Cc: ard.biesheuvel@linaro.org, Lorenzo Pieralisi , linux-pci , linux-kernel@vger.kernel.org, Florian Fainelli , bcm-kernel-feedback-list , Gregory Fong , Bjorn Helgaas , Brian Norris , Robin Murphy , Christoph Hellwig , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" References: <1537367527-20773-1-git-send-email-jim2101024@gmail.com> <1537367527-20773-5-git-send-email-jim2101024@gmail.com> <7fa897cf-4d58-c63f-afdd-a3ec5a6a56bf@gmail.com> From: Stefan Wahren Openpgp: preference=signencrypt Autocrypt: addr=stefan.wahren@i2se.com; keydata= xsFNBFt6gBMBEACub/pBevHxbvJefyZG32JINmn2bsEPX25V6fejmyYwmCGKjFtL/DoUMEVH DxCJ47BMXo344fHV1C3AnudgN1BehLoBtLHxmneCzgH3KcPtWW7ptj4GtJv9CQDZy27SKoEP xyaI8CF0ygRxJc72M9I9wmsPZ5bUHsLuYWMqQ7JcRmPs6D8gBkk+8/yngEyNExwxJpR1ylj5 bjxWDHyYQvuJ5LzZKuO9LB3lXVsc4bqXEjc6VFuZFCCk/syio/Yhse8N+Qsx7MQagz4wKUkQ QbfXg1VqkTnAivXs42VnIkmu5gzIw/0tRJv50FRhHhxpyKAI8B8nhN8Qvx7MVkPc5vDfd3uG YW47JPhVQBcUwJwNk/49F9eAvg2mtMPFnFORkWURvP+G6FJfm6+CvOv7YfP1uewAi4ln+JO1 g+gjVIWl/WJpy0nTipdfeH9dHkgSifQunYcucisMyoRbF955tCgkEY9EMEdY1t8iGDiCgX6s 50LHbi3k453uacpxfQXSaAwPksl8MkCOsv2eEr4INCHYQDyZiclBuuCg8ENbR6AGVtZSPcQb enzSzKRZoO9CaqID+favLiB/dhzmHA+9bgIhmXfvXRLDZze8po1dyt3E1shXiddZPA8NuJVz EIt2lmI6V8pZDpn221rfKjivRQiaos54TgZjjMYI7nnJ7e6xzwARAQABzSlTdGVmYW4gV2Fo cmVuIDxzdGVmYW4ud2FocmVuQGluLXRlY2guY29tPsLBdwQTAQgAIQUCXIdehwIbAwULCQgH AgYVCAkKCwIEFgIDAQIeAQIXgAAKCRCUgewPEZDy2yHTD/9UF7QlDkGxzQ7AaCI6N95iQf8/ 1oSUaDNu2Y6IK+DzQpb1TbTOr3VJwwY8a3OWz5NLSOLMWeVxt+osMmlQIGubD3ODZJ8izPlG /JrN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VkiDv3Rk7hTFmhT sMq78xv2XRsXMR6yQhSTPFZCYDUExElEsSo9FWHWr6zHyYcc8qDLFvG9FPhmQuT2s9Blx6gI 323GnEq1lwWPJVzP4jQkJKIAXwFpv+W8CWLqzDWOvdlrDaTaVMscFTeH5W6Uprl65jqFQGMp cRGCs8GCUW13H0IyOtQtwWXA4ny+SL81pviAmaSXU8laKaRu91VOVaF9f4sAEQEAAcLBXwQY AQIACQUCW3qAEwIbDAAKCRCUgewPEZDy2+oXD/9cHHRkBZOfkmSq14Svx062PtU0KV470TSn p/jWoYJnKIw3G0mXIRgrtH2dPwpIgVjsYyRSVMKmSpt5ZrDf9NtTbNWgk8VoLeZzYEo+J3oP qFrTMs3aYYv7e4+JK695YnmQ+mOD9nia915tr5AZj95UfSTlyUmyic1d8ovsf1fP7XCUVRFc RjfNfDF1oL/pDgMP5GZ2OwaTejmyCuHjM8IR1CiavBpYDmBnTYk7Pthy6atWvYl0fy/CqajT Ksx7+p9xziu8ZfVX+iKBCc+He+EDEdGIDhvNZ/IQHfOB2PUXWGS+s9FNTxr/A6nLGXnA9Y6w 93iPdYIwxS7KXLoKJee10DjlzsYsRflFOW0ZOiSihICXiQV1uqM6tzFG9gtRcius5UAthWaO 1OwUSCQmfCOm4fvMIJIA9rxtoS6OqRQciF3crmo0rJCtN2awZfgi8XEif7d6hjv0EKM9XZoi AZYZD+/iLm5TaKWN6oGIti0VjJv8ZZOZOfCb6vqFIkJW+aOu4orTLFMz28aoU3QyWpNC8FFm dYsVua8s6gN1NIa6y3qa/ZB8bA/iky59AEz4iDIRrgUzMEg8Ak7Tfm1KiYeiTtBDCo25BvXj bqsyxkQD1nkRm6FAVzEuOPIe8JuqW2xD9ixGYvjU5hkRgJp3gP5b+cnG3LPqquQ2E6goKUML AQ== Message-ID: Date: Thu, 27 Jun 2019 18:55:25 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US X-Provags-ID: V03:K1:l0xqY3UsxG8WEbzy1MkAb9rzx+/CW3Sl86OkU9r+x4PXh3NDpHY 1fwSKXJXdqciEj2c2bsPwifFf8+/31Gek/e6wGpwtSJqPM+76aw6uGipn+WSViX7bpUjccb 9zPy89bXBT9oPQCwtOulXmsYEP6wsu+5J3kc0qetQHJHRlDsDoCwRdHPrudpPnmS3C4UQXb 74x2o4zcoNmEV0yL/aemw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:klzKvQL7Mbc=:b++CW595MCjhCMXg9C4h31 RtO/vAve4myjETFhYIxsF5oFo5fRpCpdJH2139LBmLFuxAJgnmtH6Pr0u5ZHeThJKVKz2Ejpk jDcvjod4IGE+4yJyitnP/HoEIxcxHOTRiJVkuUa8x+b+vRAP3P795AwCT1Q5LCkkD0LLb2B1W vcUHjwpnmZoSMvU565P1Ms2Glmw/qjV5HXVk1miUwZfvzv3eqTe1uogzQr8OBbAGLEowVRhhU CP/GqAj5pUjo3BvhA311IgmmBAA5fUIRsdOzdV2xIRAdSpqUlL+GkajB5Q6ISAHYS4X1l5W5q PjZOMdCeBoolYEgp6hm9UM/+plE2lo/Asq8G2k7g3TMaXfJvkT7M+AXV4oA0B3AxKqhWJIJFo DwdTB3N/mog32B9umoVLSeyozBsVgQyb05MjqKBO4+sw2EI0wd2D0RCbVZLiBUM/WvxRXyO+K lvtVY0fkO4KJ9uuPTgmkhVbVOh01k+3MiVVcWeX1iCnJhucYno1VHzorRnI1qmnyr/ygGdGkl NVCFxrtaux/gGO10Af4qijoAjDjuQVOH92ZuGuuJiwkjOEnGZSNUUQ2UlhgNbP/yX7L+lDUBD JWFw68rIATVEm1HFgoCbniN/tVXYlIsiAGlOWS5YIndUfXdN+DZy6T1EJwo0R34AqX0pSirMS FX72uEEHggC8IaBDbfz5bXSIWxJ9gh1oTvJTHxikDpAlTxEMzLAppcMblW2z5qCTySFFvIMAF /PMQkbheeqzQANXwVlQy4KiZuAVut5luUMrvdtR41GmGRRMLS2BhQkOTPu8= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jim, Am 24.09.18 um 17:01 schrieb Jim Quinlan: > On Mon, Sep 24, 2018 at 4:25 AM Ard Biesheuvel > wrote: >> On Fri, 21 Sep 2018 at 19:41, Jim Quinlan wrote: >>> On Thu, Sep 20, 2018 at 5:39 PM Florian Fainelli wrote: >>>> On 09/20/2018 02:33 PM, Ard Biesheuvel wrote: >>>>> On 20 September 2018 at 14:31, Florian Fainelli wrote: >>>>>> On 09/20/2018 02:04 PM, Ard Biesheuvel wrote: >>>>>>> On 20 September 2018 at 13:55, Florian Fainelli wrote: >>>>>>>> On 09/19/2018 07:19 PM, Ard Biesheuvel wrote: >>>>>>>>> On 19 September 2018 at 07:31, Jim Quinlan wrote: >>>>>>>>>> The Broadcom STB PCIe host controller is intimately related to the >>>>>>>>>> memory subsystem. This close relationship adds complexity to how cpu >>>>>>>>>> system memory is mapped to PCIe memory. Ideally, this mapping is an >>>>>>>>>> identity mapping, or an identity mapping off by a constant. Not so in >>>>>>>>>> this case. are there any plans to release a new version of this series? The Raspberry Pi 4 uses a similiar PCIe controller, so it would be nice to get this upstream. Unfortunately i have no clue about PCI, so i the only thing i can do is testing. Regards Stefan