Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1037456ybl; Wed, 8 Jan 2020 09:55:57 -0800 (PST) X-Google-Smtp-Source: APXvYqz/Bu/d1TQpQherA4uV1xbGgf3esUXdqIX27rlOmro0jzEQKlw9p/+HJlX7lOYUBcqcFRHG X-Received: by 2002:a9d:f26:: with SMTP id 35mr5438570ott.260.1578506157307; Wed, 08 Jan 2020 09:55:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578506157; cv=none; d=google.com; s=arc-20160816; b=Ae7+hGvjOzSOEe82oUAKkXBPhvA9X64NhhbMjz+BrGyeEGs3PX5sHm80Xnu6OgZNFg Gf+MnN7ubwGvhcB1tURzr6FnXJL7r9d19YxtkM16g05T96zWrSlaJDkx06a4kTa65EhC e+ytBo5LczD3eTZie+j5X0zXNN1kkNef2OOIE8HzBYUPNKhFd8DULxnM/uK3DQC/1Pfp B8hwZTddktpjOUTQa/APtfRpYLamnMsPpnGJnURlSr9m3WtA0Pp+KczZBuVGoW9MJZpy CLcuO0/gdBMONOI/Amn9yZDQRu+G0U4MToM6zHb/TkR8O5kOwNRC18R9x2MjiisV6SrL IZyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=cUbkapGV6usokmQ+FjkB5jOvk1qHqcO9wl6AKNn00Nk=; b=Hsg9WTECeAbhEKIq0wNAU3ZY5kVgul41FJXeLvwB9ZhfmA38KcMvkVWWvRxMCRqTgM +TBbCO5SA57sk5dlLg9kl6TQ0UwbR1wAF9Gil9uzz3vqCXQ/v54rUo75RXXN06K/HZ6a o6SATotVQcpuldPOzwr6/Ux/OMn7IZ7i5wfBe041GPWpzZclmOjMKtfL3J5Spcmo/Rl2 r5U2442JvmZEH2dAWmfYEoiolNuj7tAszKAy9JQTGE11qgykn8Jq84TXUmQwoCWJIe9t YxyfIQDAX+gbo/5WW3gITypUyDAqDLoHy6Xz/ugQFXA+FYdYm4AzB9Yh5/tg5uLmreuK BzLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=h8knQN1o; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m25si2215060otn.208.2020.01.08.09.55.45; Wed, 08 Jan 2020 09:55:57 -0800 (PST) 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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=h8knQN1o; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728468AbgAHQWQ (ORCPT + 99 others); Wed, 8 Jan 2020 11:22:16 -0500 Received: from mail-wr1-f65.google.com ([209.85.221.65]:40782 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727241AbgAHQWQ (ORCPT ); Wed, 8 Jan 2020 11:22:16 -0500 Received: by mail-wr1-f65.google.com with SMTP id c14so4020884wrn.7; Wed, 08 Jan 2020 08:22:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=cUbkapGV6usokmQ+FjkB5jOvk1qHqcO9wl6AKNn00Nk=; b=h8knQN1o2rUkXrs6cmqV6R0pZjpNIqTB7V3oR6JagTvF2BpOTk33TgZQ2VL93ruQ7P NNtDsRaibXPh7F02dYHtJ23M3Y3TC1viY/GMDwFXVwsH7Drp2dVaq+ui+IOEhKqEWxww RkI1XxZjkJLPRpBc3L41n30oe3o1GEAs4M3Vf0C9LFw4uYItxRTiYzLwTXE8YL6e6lF7 ejW2UtnyvBVNEuAw3RGFEgpsA20udS2bYVFlzlOWNZ6OhFIWCLIfEayHqXthpZXu3lfl ruevaOxPDyQiiiDNRjoGGGj4DGK0ynXBLEITcvzszreVeWlDIGmLWGx9Dl8JZK2FYWcR rrxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=cUbkapGV6usokmQ+FjkB5jOvk1qHqcO9wl6AKNn00Nk=; b=nkDqtskOAfVkvyShgRwxCXv+owi2GHE//gTa7CCDDPLnruO8InaXQZ4rE1ejbyhclv +oV1DM5gjRhppxMKCknUjq/VkoIudrTTrDk+2q42Ef8g4+iqisxt+lZ1twqRgPA7bzzd +A5LmZ6LYtK0NYTy6o+gKOq9uMljaOhVWNlnViMiwQPVQJU3nJw5c684ZC5Q2QpHUP19 hvEt9lkRNVeCvy3UKpWEUQ9ejFs6Y1fsiqsZ3zfbrvDdFJwcXskcEDeHPwOmWOG21Pb1 A0Wn77qixXvKEwVoFUDTnWp7Pnjdso3pv5FI4l5JZXOpNi3kEIMadWm3/UR85ERDe6uq zHHA== X-Gm-Message-State: APjAAAWYIKLIiegsRceJUZwGVTQfDPc5ru9Tdib8JE/kZvfr+0QBwWC/ b6hyDtttjtftfwb8MIHT0E0= X-Received: by 2002:a05:6000:12c9:: with SMTP id l9mr5761235wrx.304.1578500533082; Wed, 08 Jan 2020 08:22:13 -0800 (PST) Received: from prasmi.home ([2a00:23c6:d18:6d00:2811:8b65:294e:fa09]) by smtp.gmail.com with ESMTPSA id q3sm5112180wrn.33.2020.01.08.08.22.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jan 2020 08:22:12 -0800 (PST) From: Lad Prabhakar X-Google-Original-From: Lad Prabhakar To: Bjorn Helgaas , Rob Herring , Mark Rutland , Geert Uytterhoeven , Magnus Damm , Kishon Vijay Abraham I , Marek Vasut , Yoshihiro Shimoda , linux-pci@vger.kernel.org Cc: Catalin Marinas , Will Deacon , Lorenzo Pieralisi , Arnd Bergmann , Greg Kroah-Hartman , Andrew Murray , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-renesas-soc@vger.kernel.org, Chris Paterson , Frank Rowand , Gustavo Pimentel , Jingoo Han , Simon Horman , Shawn Lin , Tom Joseph , Heiko Stuebner , linux-rockchip@lists.infradead.org, Lad Prabhakar Subject: [v3 0/6] Add support for PCIe controller to work in endpoint mode on R-Car SoCs Date: Wed, 8 Jan 2020 16:22:05 +0000 Message-Id: <20200108162211.22358-1-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series adds support for PCIe controller on rcar to work in endpoint mode, this also extends the epf framework to handle base region for mapping PCI address locally.. Note: The cadence/rockchip/designware endpoint drivers are build tested only. Changes for v3: 1] Fixed review comments from Bjorn and Kishon. 3] Converted to DT schema Changes for v2: 1] Fixed review comments from Biju for dt-bindings to include an example for a tested platform. 2] Fixed review comments from Kishon to extend the features of outbound regions in epf framework. 3] Added support to parse outbound-ranges in OF. lspci output on host: ===================== 01:00.0 Unassigned class [ff00]: Renesas Technology Corp. Device 002d Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR-