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=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no 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 826B5C47E4C for ; Wed, 25 Sep 2019 15:09:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 62B5F222BF for ; Wed, 25 Sep 2019 15:09:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726036AbfIYPJV (ORCPT ); Wed, 25 Sep 2019 11:09:21 -0400 Received: from foss.arm.com ([217.140.110.172]:51802 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2437241AbfIYPJU (ORCPT ); Wed, 25 Sep 2019 11:09:20 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 19E381000; Wed, 25 Sep 2019 08:09:19 -0700 (PDT) Received: from [10.1.197.57] (e110467-lin.cambridge.arm.com [10.1.197.57]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 3A1433F59C; Wed, 25 Sep 2019 08:09:14 -0700 (PDT) Subject: Re: [PATCH 00/11] of: Fix DMA configuration for non-DT masters To: Nicolas Saenz Julienne , Rob Herring Cc: devicetree@vger.kernel.org, Frank Rowand , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , linux-wireless , "linux-kernel@vger.kernel.org" , linux-arm-msm , "open list:DMA GENERIC OFFLOAD ENGINE SUBSYSTEM" , etnaviv@lists.freedesktop.org, dri-devel , xen-devel@lists.xenproject.org, linux-tegra@vger.kernel.org, Linux Media Mailing List , linux-pci@vger.kernel.org, Matthias Brugger , Florian Fainelli , james.quinlan@broadcom.com, Stefan Wahren , Dan Williams , freedreno References: <20190924181244.7159-1-nsaenzjulienne@suse.de> From: Robin Murphy Message-ID: Date: Wed, 25 Sep 2019 16:09:12 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit Sender: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org On 25/09/2019 15:52, Nicolas Saenz Julienne wrote: > On Tue, 2019-09-24 at 16:59 -0500, Rob Herring wrote: >> On Tue, Sep 24, 2019 at 1:12 PM Nicolas Saenz Julienne >> wrote: >>> Hi All, >>> this series tries to address one of the issues blocking us from >>> upstreaming Broadcom's STB PCIe controller[1]. Namely, the fact that >>> devices not represented in DT which sit behind a PCI bus fail to get the >>> bus' DMA addressing constraints. >>> >>> This is due to the fact that of_dma_configure() assumes it's receiving a >>> DT node representing the device being configured, as opposed to the PCIe >>> bridge node we currently pass. This causes the code to directly jump >>> into PCI's parent node when checking for 'dma-ranges' and misses >>> whatever was set there. >>> >>> To address this I create a new API in OF - inspired from Robin Murphys >>> original proposal[2] - which accepts a bus DT node as it's input in >>> order to configure a device's DMA constraints. The changes go deep into >>> of/address.c's implementation, as a device being having a DT node >>> assumption was pretty strong. >>> >>> On top of this work, I also cleaned up of_dma_configure() removing its >>> redundant arguments and creating an alternative function for the special >>> cases >>> not applicable to either the above case or the default usage. >>> >>> IMO the resulting functions are more explicit. They will probably >>> surface some hacky usages that can be properly fixed as I show with the >>> DT fixes on the Layerscape platform. >>> >>> This was also tested on a Raspberry Pi 4 with a custom PCIe driver and >>> on a Seattle AMD board. >> >> Humm, I've been working on this issue too. Looks similar though yours >> has a lot more churn and there's some other bugs I've found. > > That's good news, and yes now that I see it, some stuff on my series is overly > complicated. Specially around of_translate_*(). > > On top of that, you removed in of_dma_get_range(): > > - /* > - * At least empty ranges has to be defined for parent node if > - * DMA is supported > - */ > - if (!ranges) > - break; > > Which I assumed was bound to the standard and makes things easier. > >> Can you test out this branch[1]. I don't have any h/w needing this, >> but wrote a unittest and tested with modified QEMU. > > I reviewed everything, I did find a minor issue, see the patch attached. WRT that patch, the original intent of "force_dma" was purely to consider a device DMA-capable regardless of the presence of "dma-ranges". Expecting of_dma_configure() to do anything for a non-OF device has always been bogus - magic paravirt devices which appear out of nowhere and expect to be treated as genuine DMA masters are a separate problem that we haven't really approached yet. Robin. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robin Murphy Subject: Re: [PATCH 00/11] of: Fix DMA configuration for non-DT masters Date: Wed, 25 Sep 2019 16:09:12 +0100 Message-ID: References: <20190924181244.7159-1-nsaenzjulienne@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Language: en-GB Sender: linux-kernel-owner@vger.kernel.org To: Nicolas Saenz Julienne , Rob Herring Cc: devicetree@vger.kernel.org, Frank Rowand , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , linux-wireless , "linux-kernel@vger.kernel.org" , linux-arm-msm , "open list:DMA GENERIC OFFLOAD ENGINE SUBSYSTEM" , etnaviv@lists.freedesktop.org, dri-devel , xen-devel@lists.xenproject.org, linux-tegra@vger.kernel.org, Linux Media Mailing List , linux-pci@vger.kernel.org, Matthias Brugger , Florian Fainelli , james.quinlan@broadcom.com, Stefan Wahren , Dan Williams List-Id: linux-tegra@vger.kernel.org On 25/09/2019 15:52, Nicolas Saenz Julienne wrote: > On Tue, 2019-09-24 at 16:59 -0500, Rob Herring wrote: >> On Tue, Sep 24, 2019 at 1:12 PM Nicolas Saenz Julienne >> wrote: >>> Hi All, >>> this series tries to address one of the issues blocking us from >>> upstreaming Broadcom's STB PCIe controller[1]. Namely, the fact that >>> devices not represented in DT which sit behind a PCI bus fail to get the >>> bus' DMA addressing constraints. >>> >>> This is due to the fact that of_dma_configure() assumes it's receiving a >>> DT node representing the device being configured, as opposed to the PCIe >>> bridge node we currently pass. This causes the code to directly jump >>> into PCI's parent node when checking for 'dma-ranges' and misses >>> whatever was set there. >>> >>> To address this I create a new API in OF - inspired from Robin Murphys >>> original proposal[2] - which accepts a bus DT node as it's input in >>> order to configure a device's DMA constraints. The changes go deep into >>> of/address.c's implementation, as a device being having a DT node >>> assumption was pretty strong. >>> >>> On top of this work, I also cleaned up of_dma_configure() removing its >>> redundant arguments and creating an alternative function for the special >>> cases >>> not applicable to either the above case or the default usage. >>> >>> IMO the resulting functions are more explicit. They will probably >>> surface some hacky usages that can be properly fixed as I show with the >>> DT fixes on the Layerscape platform. >>> >>> This was also tested on a Raspberry Pi 4 with a custom PCIe driver and >>> on a Seattle AMD board. >> >> Humm, I've been working on this issue too. Looks similar though yours >> has a lot more churn and there's some other bugs I've found. > > That's good news, and yes now that I see it, some stuff on my series is overly > complicated. Specially around of_translate_*(). > > On top of that, you removed in of_dma_get_range(): > > - /* > - * At least empty ranges has to be defined for parent node if > - * DMA is supported > - */ > - if (!ranges) > - break; > > Which I assumed was bound to the standard and makes things easier. > >> Can you test out this branch[1]. I don't have any h/w needing this, >> but wrote a unittest and tested with modified QEMU. > > I reviewed everything, I did find a minor issue, see the patch attached. WRT that patch, the original intent of "force_dma" was purely to consider a device DMA-capable regardless of the presence of "dma-ranges". Expecting of_dma_configure() to do anything for a non-OF device has always been bogus - magic paravirt devices which appear out of nowhere and expect to be treated as genuine DMA masters are a separate problem that we haven't really approached yet. Robin. 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=-2.2 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no 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 B7083C432C2 for ; Wed, 25 Sep 2019 15:10:03 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 8A0E321D7B for ; Wed, 25 Sep 2019 15:10:03 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="erGG8/h8" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8A0E321D7B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender:Content-Type: Content-Transfer-Encoding:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=wZj0oqclrDNhQz2npLALCwkpSSeCEfdQNjwIMzMtojw=; b=erGG8/h8m4Xm/lhbRkOvCiIKF fFfmrmYSROBgQjPgSyxiH1C2g7zAjGZXQvTRy1xz6AQdh200UHPMmSQEfkfU6ORYirTbC9MqyVRap oEmEweH1TiCmQXxKOretnhIrLNUYX+whOKKzxSJvOwLX8UNehpFeiLcH/9ZQgKsIQhQXkgaNr3qkB jRIofJkd+wmEimi7en8kBfeGOGBidUx7U4uGTEoKaV2vds4WFNBVIAO/gJ40mrn94VEjiJUc5ATJf l3jy5lgpEZZJSfyM5nuApMS+bMSCFYVHiCSG8D+sy3139QcS3h9wX1uC4GsRb30QVl/YXM24dY447 70FLfhXzA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.2 #3 (Red Hat Linux)) id 1iD8vN-0006Vi-2Z; Wed, 25 Sep 2019 15:09:49 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.92.2 #3 (Red Hat Linux)) id 1iD8uu-0006DC-Ho for linux-arm-kernel@lists.infradead.org; Wed, 25 Sep 2019 15:09:22 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 19E381000; Wed, 25 Sep 2019 08:09:19 -0700 (PDT) Received: from [10.1.197.57] (e110467-lin.cambridge.arm.com [10.1.197.57]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 3A1433F59C; Wed, 25 Sep 2019 08:09:14 -0700 (PDT) Subject: Re: [PATCH 00/11] of: Fix DMA configuration for non-DT masters To: Nicolas Saenz Julienne , Rob Herring References: <20190924181244.7159-1-nsaenzjulienne@suse.de> From: Robin Murphy Message-ID: Date: Wed, 25 Sep 2019 16:09:12 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Language: en-GB X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190925_080921_031287_08C9D415 X-CRM114-Status: GOOD ( 23.41 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Matthias Brugger , linux-arm-msm , linux-wireless , "linux-kernel@vger.kernel.org" , dri-devel , etnaviv@lists.freedesktop.org, linux-tegra@vger.kernel.org, Florian Fainelli , Stefan Wahren , james.quinlan@broadcom.com, linux-pci@vger.kernel.org, "open list:DMA GENERIC OFFLOAD ENGINE SUBSYSTEM" , xen-devel@lists.xenproject.org, Dan Williams , freedreno , Frank Rowand , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , Linux Media Mailing List Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 25/09/2019 15:52, Nicolas Saenz Julienne wrote: > On Tue, 2019-09-24 at 16:59 -0500, Rob Herring wrote: >> On Tue, Sep 24, 2019 at 1:12 PM Nicolas Saenz Julienne >> wrote: >>> Hi All, >>> this series tries to address one of the issues blocking us from >>> upstreaming Broadcom's STB PCIe controller[1]. Namely, the fact that >>> devices not represented in DT which sit behind a PCI bus fail to get the >>> bus' DMA addressing constraints. >>> >>> This is due to the fact that of_dma_configure() assumes it's receiving a >>> DT node representing the device being configured, as opposed to the PCIe >>> bridge node we currently pass. This causes the code to directly jump >>> into PCI's parent node when checking for 'dma-ranges' and misses >>> whatever was set there. >>> >>> To address this I create a new API in OF - inspired from Robin Murphys >>> original proposal[2] - which accepts a bus DT node as it's input in >>> order to configure a device's DMA constraints. The changes go deep into >>> of/address.c's implementation, as a device being having a DT node >>> assumption was pretty strong. >>> >>> On top of this work, I also cleaned up of_dma_configure() removing its >>> redundant arguments and creating an alternative function for the special >>> cases >>> not applicable to either the above case or the default usage. >>> >>> IMO the resulting functions are more explicit. They will probably >>> surface some hacky usages that can be properly fixed as I show with the >>> DT fixes on the Layerscape platform. >>> >>> This was also tested on a Raspberry Pi 4 with a custom PCIe driver and >>> on a Seattle AMD board. >> >> Humm, I've been working on this issue too. Looks similar though yours >> has a lot more churn and there's some other bugs I've found. > > That's good news, and yes now that I see it, some stuff on my series is overly > complicated. Specially around of_translate_*(). > > On top of that, you removed in of_dma_get_range(): > > - /* > - * At least empty ranges has to be defined for parent node if > - * DMA is supported > - */ > - if (!ranges) > - break; > > Which I assumed was bound to the standard and makes things easier. > >> Can you test out this branch[1]. I don't have any h/w needing this, >> but wrote a unittest and tested with modified QEMU. > > I reviewed everything, I did find a minor issue, see the patch attached. WRT that patch, the original intent of "force_dma" was purely to consider a device DMA-capable regardless of the presence of "dma-ranges". Expecting of_dma_configure() to do anything for a non-OF device has always been bogus - magic paravirt devices which appear out of nowhere and expect to be treated as genuine DMA masters are a separate problem that we haven't really approached yet. Robin. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel 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=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no 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 70DEAC4360C for ; Wed, 25 Sep 2019 15:09:41 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (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 4A2AC21D7E for ; Wed, 25 Sep 2019 15:09:41 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4A2AC21D7E Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iD8ux-0003M8-0y; Wed, 25 Sep 2019 15:09:23 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iD8uv-0003M2-09 for xen-devel@lists.xenproject.org; Wed, 25 Sep 2019 15:09:21 +0000 X-Inumbo-ID: 72b6de2c-dfa6-11e9-9636-12813bfff9fa Received: from foss.arm.com (unknown [217.140.110.172]) by localhost (Halon) with ESMTP id 72b6de2c-dfa6-11e9-9636-12813bfff9fa; Wed, 25 Sep 2019 15:09:19 +0000 (UTC) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 19E381000; Wed, 25 Sep 2019 08:09:19 -0700 (PDT) Received: from [10.1.197.57] (e110467-lin.cambridge.arm.com [10.1.197.57]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 3A1433F59C; Wed, 25 Sep 2019 08:09:14 -0700 (PDT) To: Nicolas Saenz Julienne , Rob Herring References: <20190924181244.7159-1-nsaenzjulienne@suse.de> From: Robin Murphy Message-ID: Date: Wed, 25 Sep 2019 16:09:12 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Language: en-GB Subject: Re: [Xen-devel] [PATCH 00/11] of: Fix DMA configuration for non-DT masters X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Matthias Brugger , linux-arm-msm , linux-wireless , "linux-kernel@vger.kernel.org" , dri-devel , etnaviv@lists.freedesktop.org, linux-tegra@vger.kernel.org, Florian Fainelli , Stefan Wahren , james.quinlan@broadcom.com, linux-pci@vger.kernel.org, "open list:DMA GENERIC OFFLOAD ENGINE SUBSYSTEM" , xen-devel@lists.xenproject.org, Dan Williams , freedreno , Frank Rowand , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , Linux Media Mailing List Content-Transfer-Encoding: base64 Content-Type: text/plain; charset="utf-8"; Format="flowed" Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" T24gMjUvMDkvMjAxOSAxNTo1MiwgTmljb2xhcyBTYWVueiBKdWxpZW5uZSB3cm90ZToKPiBPbiBU dWUsIDIwMTktMDktMjQgYXQgMTY6NTkgLTA1MDAsIFJvYiBIZXJyaW5nIHdyb3RlOgo+PiBPbiBU dWUsIFNlcCAyNCwgMjAxOSBhdCAxOjEyIFBNIE5pY29sYXMgU2FlbnogSnVsaWVubmUKPj4gPG5z YWVuemp1bGllbm5lQHN1c2UuZGU+IHdyb3RlOgo+Pj4gSGkgQWxsLAo+Pj4gdGhpcyBzZXJpZXMg dHJpZXMgdG8gYWRkcmVzcyBvbmUgb2YgdGhlIGlzc3VlcyBibG9ja2luZyB1cyBmcm9tCj4+PiB1 cHN0cmVhbWluZyBCcm9hZGNvbSdzIFNUQiBQQ0llIGNvbnRyb2xsZXJbMV0uIE5hbWVseSwgdGhl IGZhY3QgdGhhdAo+Pj4gZGV2aWNlcyBub3QgcmVwcmVzZW50ZWQgaW4gRFQgd2hpY2ggc2l0IGJl aGluZCBhIFBDSSBidXMgZmFpbCB0byBnZXQgdGhlCj4+PiBidXMnIERNQSBhZGRyZXNzaW5nIGNv bnN0cmFpbnRzLgo+Pj4KPj4+IFRoaXMgaXMgZHVlIHRvIHRoZSBmYWN0IHRoYXQgb2ZfZG1hX2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