Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp5383400imw; Wed, 20 Jul 2022 04:50:36 -0700 (PDT) X-Google-Smtp-Source: AGRyM1scHVpcZp+31sBmhspF4qSiOX7BUG1hr7Ut9Y9qSVJ+QjntZ8qclOlHRZMwmI1lOUgXviby X-Received: by 2002:a17:90b:1e4d:b0:1f0:462b:b531 with SMTP id pi13-20020a17090b1e4d00b001f0462bb531mr5131092pjb.34.1658317835907; Wed, 20 Jul 2022 04:50:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658317835; cv=none; d=google.com; s=arc-20160816; b=ooSe20FMOgy1CT6QGh/PlTBok4BLSqFrElBdeQIJ26uXOLXZRZUATX0Y2/Zl1bxZm2 IzOuIGgnHggGEuRFMMk29jdEAUtcDTofbQFqVoCwwYsPlbfZJF/MWub7bVM+NHYpzc8l 6O0BulZc7St9v3A34k1uHH7awyPUyBBCmheoXlTuqyShSx59iIL1LFFT005bwZjWN7Ap YlOS8/LVQ/2tiVr0BGlausCCkfsnH1qmbOV8bl7e4dLpY8wgNMPdRSxUBGohBTkz42Lk O7U43fcSzYN0/kPzEhCZJsjPg+WKrN9iZVIy9MOwMyXUlrnRu6WNZO0Ydt5M1/gB30AM qKcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=S7GG37Kqp5yKnl9yq4pvkiBAVpdRhjBOCbGPLuueS44=; b=IS7bFf4YqzQjHBBkfNMfZnpTytybkPKlTIRlzBPYNSnFt6PauivJm0WHhH8mqaSN4E Qxi/NJaMknV5mxlleU5iy6/RYZYqcLZKC3ffxyjP8OyrzOALmJp6ciPyT6HfcwUpOoa/ rziZhp43TV6G1qwkfj1SVcOzg7QHQnrgW39inbOkPO7NLBk0C0MAm2gNcacqToY63Il1 rC4qDu2VwMwwm7jx0l5PY54I3FwO44wLtVB/eVbSt4KK1q/jU9FDDDP8KwqHTT5SEJ0z qzMDU+iX9d2zGtVpfG6jvGqEXOl/OpN4TBlrVlgjgXxhwW4GfjxpOM8kxCfJT2fXPxcR tmsw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q143-20020a632a95000000b0041a486f36f6si6245386pgq.388.2022.07.20.04.50.20; Wed, 20 Jul 2022 04:50:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239940AbiGTLhI (ORCPT + 99 others); Wed, 20 Jul 2022 07:37:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48464 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239720AbiGTLhG (ORCPT ); Wed, 20 Jul 2022 07:37:06 -0400 Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.13]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7E80425EA6; Wed, 20 Jul 2022 04:37:05 -0700 (PDT) Received: from mail-yw1-f180.google.com ([209.85.128.180]) by mrelayeu.kundenserver.de (mreue109 [213.165.67.113]) with ESMTPSA (Nemesis) id 1N8onQ-1nPrbt0cp4-015t42; Wed, 20 Jul 2022 13:37:03 +0200 Received: by mail-yw1-f180.google.com with SMTP id 00721157ae682-31e560aa854so58569257b3.6; Wed, 20 Jul 2022 04:37:02 -0700 (PDT) X-Gm-Message-State: AJIora8z8yEmCHyo9sbV7I9Dw4M09OZPsBEhzQOOuYdtoYglJv5y1X8A T9SDWfH+suMKxAYKPCtcCdX8ziW468X3Q6ZEj54= X-Received: by 2002:a81:6dce:0:b0:31e:5a3b:d3a2 with SMTP id i197-20020a816dce000000b0031e5a3bd3a2mr8532088ywc.495.1658317021746; Wed, 20 Jul 2022 04:37:01 -0700 (PDT) MIME-Version: 1.0 References: <20220718202843.6766-1-maukka@ext.kapsi.fi> In-Reply-To: <20220718202843.6766-1-maukka@ext.kapsi.fi> From: Arnd Bergmann Date: Wed, 20 Jul 2022 13:36:45 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 0/2] PCI: mvebu: add support for orion soc To: Mauri Sandberg Cc: linux-pci , DTML , Linux Kernel Mailing List , Linux ARM , Bjorn Helgaas , Rob Herring , Krzysztof Kozlowski , Andrew Lunn , Sebastian Hesselbarth , Gregory CLEMENT , Russell King - ARM Linux , Lorenzo Pieralisi , =?UTF-8?Q?Krzysztof_Wilczy=C5=84ski?= , Thomas Petazzoni , =?UTF-8?Q?Pali_Roh=C3=A1r?= Content-Type: text/plain; charset="UTF-8" X-Provags-ID: V03:K1:AMR1ZC4GWmRHB88H75CbIvf9GY2S4dM5EVX6AxfQbofzyegrWlT b4aECQw+a8kysEPj/z2p3CGgppbUkU9W+UU91ch8uwQuIJIrwrg4mja5IjmV2OsGW3r3StS 3ehCZcG3sc7MfeX/+D3oXS3F1zG9fEUqdegj7NeH0AsslAludI1qWOHyspgGzs2AxxqP1k8 LHFLlSbawZEmDo5prJX9g== X-UI-Out-Filterresults: notjunk:1;V03:K0:TVoKnYn9ioI=:Mz75K8mP34pTRgWbwXJnrD VGb5nzs2QRg/rbxpGq7Wk3sERYOzDQ7tayREXA5fr4nU7CknEn6ZZx8fMaTdEu81VpmZDVlmQ POPAE7Ul7Dm87aJ3xgbwaiTh+OiIzi6w5n+i9qVGO81DL4tqvXoJcBrJ6kA2WTMYBNXvdKgGQ TywFMuH3bBRYTOII5QQVVdyesjTKg4jz6j3RD+oojLwk/TlClL3AwVwDwWIvIR6Vt1Xgy2VSS y8wdhnPXHh7nZ4H1l810ZdVaBlS2mFSm9+D0vFlgnY16zG8pIAYMcbc3D9fO155INTFbDmnM7 ySVTOLv1IgcLIvQI2jGsi+VQUH5cc7KBiJVE8U95KHTFDq69hFiXzLaJSxRTyFcZWWjx9DH/U +hrc40dzRtRtX9/itnSY2fWmO9IkvDJIux4UkVJI0FwOXgJM18t9fCkQbNF9F5IRhqy1iv2wq APXCDSNdodEW4pNn8kimepBs4GWfrN5cz862ooI92nA7AeR0b2oNj9wHhkKlCGk97CKIZjRrE Ro6cLtY+r3PuVU0dDFzByctBNSugs5yVwy2ZalnNZeZeXBM7XlHjJHqDeg+ptz+gx8yytKhiF ePLQjIrEovQwOBHMREX39rWGUYmRJxXEfbQMx72qcYBgcSIJMgnHy0stxxLgKktRB6nNecsvw LfTioxOP8dFDxabNuHYq5Lom+0taLUHj5JlldFD5haO1NI/4qgzrK/9Tw7PpDErP2f81z70wz NnhQNGIBG+N1FqGikMk/ZkboUw7HGk6s/BJtQDdpIsltNmes78LnsnWLm/OFo8tl/NNH+lsxU n0qp5f8DcEYnd8Ejmn2UIa9j8oS322KWHlri+Dh3AGBStKYHB4nJTDTNZ5anXIksa/y+ZGZFp Bm1DWQrG9z5QR7WmMkScfeIkvg47/Xm6J4OA2MXaE= X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 18, 2022 at 10:28 PM Mauri Sandberg wrote: > > Hello all! > > Working in close co-operation with Pali we made an initial attempt at bringing > support for orion PCIe into mvebu PCIe driver. Currently the address of > workaround memory range is hard coded and based on compatible string only. As > Pali describes in another thread, we were not able to figure out what's the > correct way to configure a configuration space. That discussion is here: > https://lore.kernel.org/linux-pci/20220710225108.bgedria6igtqpz5l@pali/T/#u > > I tested this with D-Link DNS-323 rev A1 and it's working. As usual, all > comments and feedback is welcome. Hi Mauri, I've managed to dig out my old series for reworking the orion5x PCI/PCIe support, to the point where the two drivers are completely independent. Please have a look at https://git.kernel.org/pub/scm/linux/kernel/git/arnd/playground.git/log/?h=orion-pci-cleanup to see if this helps you at all. I see now that your DNS-323 only supports PCIe but not PCI, so maybe it's not all that helpful for your machine, but it should help for converting the other ones that do use legacy PCI and want to base DT support on top of this work. Arnd