From patchwork Thu Mar 28 16:59:48 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marc Gonzalez X-Patchwork-Id: 10875423 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id AF6BA13B5 for ; Thu, 28 Mar 2019 17:07:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8CCB328AC6 for ; Thu, 28 Mar 2019 17:07:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 806D628E23; Thu, 28 Mar 2019 17:07:40 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,FREEMAIL_FROM, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5529928AC6 for ; Thu, 28 Mar 2019 17:07:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726348AbfC1RHf (ORCPT ); Thu, 28 Mar 2019 13:07:35 -0400 Received: from ns.iliad.fr ([212.27.33.1]:51220 "EHLO ns.iliad.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725816AbfC1RHf (ORCPT ); Thu, 28 Mar 2019 13:07:35 -0400 Received: from ns.iliad.fr (localhost [127.0.0.1]) by ns.iliad.fr (Postfix) with ESMTP id 015B5209A8; Thu, 28 Mar 2019 18:07:34 +0100 (CET) Received: from [192.168.108.8] (freebox.vlq16.iliad.fr [213.36.7.13]) by ns.iliad.fr (Postfix) with ESMTP id E1C8E20875; Thu, 28 Mar 2019 18:07:33 +0100 (CET) From: Marc Gonzalez Subject: [PATCH v1 0/3] PCIe and AR8151 on APQ8098/MSM8998 To: Bjorn Andersson Cc: Jeffrey Hugo , Vivek Gautam , Manu Gautam , Evan Green , Douglas Anderson , Robin Murphy , Lorenzo Pieralisi , Joerg Roedel , Stanimir Varbanov , Srinivas Kandagatla , Bjorn Helgaas , MSM , PCI , iommu Message-ID: <5eedbe6d-f440-1a77-8a7e-81a920e3a0e7@free.fr> Date: Thu, 28 Mar 2019 17:59:48 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 MIME-Version: 1.0 Content-Language: en-US X-Virus-Scanned: ClamAV using ClamSMTP ; ns.iliad.fr ; Thu Mar 28 18:07:34 2019 +0100 (CET) Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hello everyone, After a lot of poking, I am finally able to use the AR8151 ethernet on the APQ8098 board. The magic bits are the iommu-map prop and the PCIE20_PARF_BDF_TRANSLATE_N setup. The WIP thread is archived here: https://marc.info/?t=155059539200004&r=1&w=2 Marc Gonzalez (3): PCI: qcom: Setup PCIE20_PARF_BDF_TRANSLATE_N arm64: dts: qcom: msm8998: Add PCIe SMMU node arm64: dts: qcom: msm8998: Add PCIe PHY and RC nodes arch/arm64/boot/dts/qcom/msm8998.dtsi | 93 ++++++++++++++++++++++++++ drivers/pci/controller/dwc/pcie-qcom.c | 4 ++ 2 files changed, 97 insertions(+)