Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/1111888/?format=api
{ "id": 1111888, "url": "http://patchwork.ozlabs.org/api/patches/1111888/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20190607140307.16678-1-alexm.osslist@gmail.com/", "project": { "id": 18, "url": "http://patchwork.ozlabs.org/api/projects/18/?format=api", "name": "U-Boot", "link_name": "uboot", "list_id": "u-boot.lists.denx.de", "list_email": "u-boot@lists.denx.de", "web_url": null, "scm_url": null, "webscm_url": null, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20190607140307.16678-1-alexm.osslist@gmail.com>", "list_archive_url": null, "date": "2019-06-07T14:03:07", "name": "[U-Boot,v2] arm: ls1028a: define the integrated PCI bus (ECAM)", "commit_ref": "062d8148f8a6ed574a45f8b3096ba0226c4b5fca", "pull_url": null, "state": "accepted", "archived": false, "hash": "dd26c25aaf481dbede8fd1a3e0bf358abd11d96b", "submitter": { "id": 76732, "url": "http://patchwork.ozlabs.org/api/people/76732/?format=api", "name": "Alexandru Marginean", "email": "alexm.osslist@gmail.com" }, "delegate": { "id": 2467, "url": "http://patchwork.ozlabs.org/api/users/2467/?format=api", "username": "prabhu_kush", "first_name": "Prabhakar", "last_name": "Kushwaha", "email": "prabhakar@freescale.com" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20190607140307.16678-1-alexm.osslist@gmail.com/mbox/", "series": [ { "id": 112448, "url": "http://patchwork.ozlabs.org/api/series/112448/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=112448", "date": "2019-06-07T14:03:07", "name": "[U-Boot,v2] arm: ls1028a: define the integrated PCI bus (ECAM)", "version": 2, "mbox": "http://patchwork.ozlabs.org/series/112448/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/1111888/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/1111888/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<u-boot-bounces@lists.denx.de>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org", "Authentication-Results": [ "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)", "ozlabs.org;\n\tdmarc=fail (p=none dis=none) header.from=gmail.com", "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"HyxweRN8\"; dkim-atps=neutral" ], "Received": [ "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 45L4J95mc0z9s7h\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 8 Jun 2019 00:13:27 +1000 (AEST)", "by lists.denx.de (Postfix, from userid 105)\n\tid 93273C21F34; Fri, 7 Jun 2019 14:07:07 +0000 (UTC)", "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 0B7A3C21F0C;\n\tFri, 7 Jun 2019 14:06:54 +0000 (UTC)", "by lists.denx.de (Postfix, from userid 105)\n\tid C113DC21F19; Fri, 7 Jun 2019 14:03:19 +0000 (UTC)", "from mail-wr1-f66.google.com (mail-wr1-f66.google.com\n\t[209.85.221.66])\n\tby lists.denx.de (Postfix) with ESMTPS id 01DF7C21F0C\n\tfor <u-boot@lists.denx.de>; Fri, 7 Jun 2019 14:03:19 +0000 (UTC)", "by mail-wr1-f66.google.com with SMTP id d18so2308147wrs.5\n\tfor <u-boot@lists.denx.de>; Fri, 07 Jun 2019 07:03:18 -0700 (PDT)", "from fsr-ub1864-115.ea.freescale.net ([188.25.253.189])\n\tby smtp.gmail.com with ESMTPSA id\n\tg8sm2660075wmf.17.2019.06.07.07.03.17\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tFri, 07 Jun 2019 07:03:17 -0700 (PDT)" ], "X-Spam-Checker-Version": "SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de", "X-Spam-Level": "", "X-Spam-Status": "No, score=0.0 required=5.0 tests=FREEMAIL_FROM,\n\tRCVD_IN_MSPIKE_H2,\n\tT_DKIM_INVALID autolearn=unavailable autolearn_force=no\n\tversion=3.4.0", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=wiO8OCYvWmXxESRaOOhfwRGL8Z3Cgu64yFl18Rwd5BU=;\n\tb=HyxweRN8IP6ajNEOd3sepbiv6J3/glDqPRqpui9A9gmMdGBiBK/KSvFDpKykKV5qHK\n\t/gGXny388Hvzmfi9CNf7enj66Rty42rSuMpVd/8d/crU9sdIUUzVa7nD9eP+VDTL7+Ug\n\tebKGApxEg5DIoWPD7qoQ0WnbE9fba0bZBgLCNb9gxVDXuAeXkOwjTYNyCeDa5XW9Kq4V\n\tJ4VRsGXCFUnDnDc4WtBisRhzElwAERJhFS9a3HSZnTC2pa9MzB34ov/dB1WA6H8LTlVs\n\t+7oR+e7dsCCaOhqYKOAnCKcxbNzgfBC2PfbuOFUUkjLs08hEg9r+5Wx1gM94qL+LfVEM\n\t8y9w==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=wiO8OCYvWmXxESRaOOhfwRGL8Z3Cgu64yFl18Rwd5BU=;\n\tb=ETFmzCVlWa8DFHU/7zf7C1pfW5nirQXZx+Jr2109+rCSt5/HHyCT5wGtdjr+pgHo+N\n\tqVFg0zU/Ljf8c/A8RJLrFYM6DC/7946S6pgKrEkc0l6wDklLT+qMhrlA+YPYEDe1CCXw\n\tdK4izrIz6qOTUE898feZTIHZa+VtHYoA5ZwNQxBWoYPvOThxZWjP05ovm/3090pjI0GG\n\ttyMFAg0HcQLNYx30nsVan11LD5wtOFki7lZaLNM+UDqyVVLuO6U5TIK/TrkJNDorWJzA\n\tClXf3TDhVWCF86dt6iSx7mYAo2180YQy9RdIKPKKtbx3jGl6UGlG4do/yTryw4NvU92U\n\tfZIA==", "X-Gm-Message-State": "APjAAAXS7fwvvdgD00PI3zcIxpBMrD9JzUohqwnOYlAsxdk23nLOsmwE\n\tb+Yl4FD7e06H28FsXHUwsmu/gqgn", "X-Google-Smtp-Source": "APXvYqyLwc+gOOXyUtDUf+l/NEEzQOxXn0cu2Q29CU9i08/ga3W+ZR5VK1rOga1CdmvAqVYNZ7jYsw==", "X-Received": "by 2002:adf:a749:: with SMTP id e9mr34445270wrd.64.1559916198352;\n\tFri, 07 Jun 2019 07:03:18 -0700 (PDT)", "From": "Alex Marginean <alexm.osslist@gmail.com>", "To": "u-boot@lists.denx.de", "Date": "Fri, 7 Jun 2019 17:03:07 +0300", "Message-Id": "<20190607140307.16678-1-alexm.osslist@gmail.com>", "X-Mailer": "git-send-email 2.17.1", "In-Reply-To": "<20190530162627.21316-1-alexm.osslist@gmail.com>", "References": "<20190530162627.21316-1-alexm.osslist@gmail.com>", "Cc": "Tom Rini <trini@konsulko.com>", "Subject": "[U-Boot] [PATCH v2] arm: ls1028a: define the integrated PCI bus\n\t(ECAM)", "X-BeenThere": "u-boot@lists.denx.de", "X-Mailman-Version": "2.1.18", "Precedence": "list", "List-Id": "U-Boot discussion <u-boot.lists.denx.de>", "List-Unsubscribe": "<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>", "List-Archive": "<http://lists.denx.de/pipermail/u-boot/>", "List-Post": "<mailto:u-boot@lists.denx.de>", "List-Help": "<mailto:u-boot-request@lists.denx.de?subject=help>", "List-Subscribe": "<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"utf-8\"", "Content-Transfer-Encoding": "base64", "Errors-To": "u-boot-bounces@lists.denx.de", "Sender": "\"U-Boot\" <u-boot-bounces@lists.denx.de>" }, "content": "LS1028A includes an integrated PCI bus with 11 PCI functions residing on\nbus 0. ECAM plus the device register space takes up 256MB of address\nspace.\n\nSigned-off-by: Alex Marginean <alexm.osslist@gmail.com>\n---\n\nChanges in v2:\n\t- added comments to dts, PCIE3_PHYS_SIZE, rewrote patch description\n\n arch/arm/dts/fsl-ls1028a.dtsi | 11 +++++++++++\n arch/arm/include/asm/arch-fsl-layerscape/cpu.h | 2 ++\n .../arm/include/asm/arch-fsl-layerscape/immap_lsch3.h | 3 +++\n configs/ls1028aqds_tfa_defconfig | 1 +\n configs/ls1028ardb_tfa_defconfig | 1 +\n 5 files changed, 18 insertions(+)", "diff": "diff --git a/arch/arm/dts/fsl-ls1028a.dtsi b/arch/arm/dts/fsl-ls1028a.dtsi\nindex e6a443aa77..b2b55398bb 100644\n--- a/arch/arm/dts/fsl-ls1028a.dtsi\n+++ b/arch/arm/dts/fsl-ls1028a.dtsi\n@@ -108,6 +108,17 @@\n \t\t 0x82000000 0x0 0x40000000 0x88 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */\n \t};\n \n+\tpcie@1f0000000 {\n+\t\tcompatible = \"pci-host-ecam-generic\";\n+\t\t/* ECAM bus 0, HW has more space reserved but not populated */\n+\t\tbus-range = <0x0 0x0>;\n+\t\treg = <0x01 0xf0000000 0x0 0x100000>;\n+\t\t#address-cells = <3>;\n+\t\t#size-cells = <2>;\n+\t\tdevice_type = \"pci\";\n+\t\tranges= <0x82000000 0x0 0x00000000 0x1 0xf8000000 0x0 0x160000>;\n+\t};\n+\n \ti2c0: i2c@2000000 {\n \t\tcompatible = \"fsl,vf610-i2c\";\n \t\t#address-cells = <1>;\ndiff --git a/arch/arm/include/asm/arch-fsl-layerscape/cpu.h b/arch/arm/include/asm/arch-fsl-layerscape/cpu.h\nindex bdeb62576c..7759acdb8f 100644\n--- a/arch/arm/include/asm/arch-fsl-layerscape/cpu.h\n+++ b/arch/arm/include/asm/arch-fsl-layerscape/cpu.h\n@@ -42,7 +42,9 @@\n #else\n #define CONFIG_SYS_PCIE1_PHYS_SIZE\t0x800000000\n #define CONFIG_SYS_PCIE2_PHYS_SIZE\t0x800000000\n+#ifndef CONFIG_SYS_PCIE3_PHYS_SIZE\n #define CONFIG_SYS_PCIE3_PHYS_SIZE\t0x800000000\n+#endif\n #define CONFIG_SYS_PCIE4_PHYS_SIZE\t0x800000000\n #define SYS_PCIE5_PHYS_SIZE\t\t0x800000000\n #define SYS_PCIE6_PHYS_SIZE\t\t0x800000000\ndiff --git a/arch/arm/include/asm/arch-fsl-layerscape/immap_lsch3.h b/arch/arm/include/asm/arch-fsl-layerscape/immap_lsch3.h\nindex 24c1b0e482..06bc08760f 100644\n--- a/arch/arm/include/asm/arch-fsl-layerscape/immap_lsch3.h\n+++ b/arch/arm/include/asm/arch-fsl-layerscape/immap_lsch3.h\n@@ -186,6 +186,9 @@\n #elif CONFIG_ARCH_LS1028A\n #define CONFIG_SYS_PCIE1_PHYS_ADDR\t\t0x8000000000ULL\n #define CONFIG_SYS_PCIE2_PHYS_ADDR\t\t0x8800000000ULL\n+#define CONFIG_SYS_PCIE3_PHYS_ADDR\t\t0x01f0000000ULL\n+/* this is used by integrated PCI on LS1028, includes ECAM and register space */\n+#define CONFIG_SYS_PCIE3_PHYS_SIZE\t\t0x0010000000ULL\n #else\n #define CONFIG_SYS_PCIE1_PHYS_ADDR\t\t0x1000000000ULL\n #define CONFIG_SYS_PCIE2_PHYS_ADDR\t\t0x1200000000ULL\ndiff --git a/configs/ls1028aqds_tfa_defconfig b/configs/ls1028aqds_tfa_defconfig\nindex 717b810523..7982ce4157 100644\n--- a/configs/ls1028aqds_tfa_defconfig\n+++ b/configs/ls1028aqds_tfa_defconfig\n@@ -48,6 +48,7 @@ CONFIG_E1000=y\n CONFIG_PCI=y\n CONFIG_DM_PCI=y\n CONFIG_DM_PCI_COMPAT=y\n+CONFIG_PCIE_ECAM_GENERIC=y\n CONFIG_PCIE_LAYERSCAPE=y\n CONFIG_SCSI=y\n CONFIG_DM_SCSI=y\ndiff --git a/configs/ls1028ardb_tfa_defconfig b/configs/ls1028ardb_tfa_defconfig\nindex a8e4ddb7a8..c65e37df79 100644\n--- a/configs/ls1028ardb_tfa_defconfig\n+++ b/configs/ls1028ardb_tfa_defconfig\n@@ -48,6 +48,7 @@ CONFIG_E1000=y\n CONFIG_PCI=y\n CONFIG_DM_PCI=y\n CONFIG_DM_PCI_COMPAT=y\n+CONFIG_PCIE_ECAM_GENERIC=y\n CONFIG_PCIE_LAYERSCAPE=y\n CONFIG_SCSI=y\n CONFIG_DM_SCSI=y\n", "prefixes": [ "U-Boot", "v2" ] }