From patchwork Thu Feb 15 16:34:35 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Harvey X-Patchwork-Id: 873992 X-Patchwork-Delegate: blogic@openwrt.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (helo) smtp.helo=arrakis.dune.hu (client-ip=78.24.191.176; helo=arrakis.dune.hu; envelope-from=openwrt-devel-bounces@lists.openwrt.org; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gateworks-com.20150623.gappssmtp.com header.i=@gateworks-com.20150623.gappssmtp.com header.b="IC5TcXg2"; dkim-atps=neutral Received: from arrakis.dune.hu (arrakis.dune.hu [78.24.191.176]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3zj21z4Vt5z9t2c for ; Fri, 16 Feb 2018 03:35:19 +1100 (AEDT) Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 17453B80A7F; Thu, 15 Feb 2018 17:35:10 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on arrakis.dune.hu X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.1 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP; Thu, 15 Feb 2018 17:35:10 +0100 (CET) Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id D43CCB80153 for ; Thu, 15 Feb 2018 17:35:00 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .gateworks. - helo: .mail-pg0-f47.google. - helo-domain: .google.) FROM/MX_MATCHES_NOT_HELO(DOMAIN)=1; rate: -4 Received: from mail-pg0-f47.google.com (mail-pg0-f47.google.com [74.125.83.47]) by arrakis.dune.hu (Postfix) with ESMTPS for ; Thu, 15 Feb 2018 17:35:00 +0100 (CET) Received: by mail-pg0-f47.google.com with SMTP id j9so145898pgp.11 for ; Thu, 15 Feb 2018 08:34:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gateworks-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:in-reply-to:references; bh=owIwX/f5+7ellljgsHFvB8GgPEQM1diEHlDhdR6lOlI=; b=IC5TcXg2fpIDLk/fCmvXXbVuhaYsixU6IcFqhi6PYXY5KSKqoCJuLCnJ9J4Qg1oAeh X77QpIFH5ct4ICDH2af+L6C7Fh/qT7kaBX3PW6noow3zRGHxQKFDXZ0i4xfKx40bOIef kO4X/Cccr5zWy3QBJ80JiXiwJipgpwnXrbNxj+MguSU7LnirxQe5hmNbTbhswYyixef1 DiqeepF/ZbHl9vNMk4L3+Mnq+oQzubsDi/OnzDcN52pPFlyldR0OBq96mQbTthDnbugJ Eg0Aq3gY3ucnShshmo/B2laS7rB1uNDGJMYu9eb2oem+mfKurxoYXzVGLinNSzRWCPOh hkxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=owIwX/f5+7ellljgsHFvB8GgPEQM1diEHlDhdR6lOlI=; b=YKVX56eJ/VpDzGAGGrfj/dznX7pJBbXlV59UCtD1IJslYHbp0IeGMOk5GoQLnwD092 QgfyTHRdD01LgkC1imX+5J849DAdQkL3JKC1DfmcpxCtqEBYrcyHyoX7IJDx87taHDps hkQJ+gGG31erHBf4BjC5MDzpXI1s7k5f3JgSgYZNh8bDxubMUtxSmdggtaAq5xQmTBWp fcBf+BAwUEvqufVYUasdUEmAwyZK2u6Os3yDUzH7QqEj/cwA2axo8CDvu9Xe71mYlXGl QMEwxwEPZ7xCNH/b9wQUCIsd4P5kMV5e+5I/dYVhR9yMGqbwkB2MNZIYw7R7ChxR9QHI WMgQ== X-Gm-Message-State: APf1xPAV+ciQnz4Qn978yYEen/Ynr+tcVUAR3dJ872Uj89ivnWX7C0au nPwbzlwzvJ4TknFmCamlNQ0SXAb9 X-Google-Smtp-Source: AH8x226dYfmrV+sNirxkSnEAQUnxflMjbSVikcEym6vTcUHeEwhff81REJn7blDTY3ZDaa3qkRkuFA== X-Received: by 10.101.76.143 with SMTP id m15mr2707776pgt.445.1518712498102; Thu, 15 Feb 2018 08:34:58 -0800 (PST) Received: from tharvey.pdc.gateworks.com (68-189-91-139.static.snlo.ca.charter.com. [68.189.91.139]) by smtp.gmail.com with ESMTPSA id j1sm34521786pff.94.2018.02.15.08.34.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 15 Feb 2018 08:34:56 -0800 (PST) From: Tim Harvey To: openwrt-devel@lists.openwrt.org, lede-dev@lists.infradead.org, Luka Perkov , John Crispin Date: Thu, 15 Feb 2018 08:34:35 -0800 Message-Id: <1518712478-21603-2-git-send-email-tharvey@gateworks.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1518712478-21603-1-git-send-email-tharvey@gateworks.com> References: <1518712478-21603-1-git-send-email-tharvey@gateworks.com> Subject: [OpenWrt-Devel] [PATCH v3 1/4] kernel: backport dwc pci enumeration fix X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: openwrt-devel-bounces@lists.openwrt.org Sender: "openwrt-devel" Backport of: http://patchwork.ozlabs.org/patch/860701/ Signed-off-by: Tim Harvey --- .../generic/pending-4.14/812-pci-dwc-fix-enumeration.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 target/linux/generic/pending-4.14/812-pci-dwc-fix-enumeration.patch diff --git a/target/linux/generic/pending-4.14/812-pci-dwc-fix-enumeration.patch b/target/linux/generic/pending-4.14/812-pci-dwc-fix-enumeration.patch new file mode 100644 index 0000000..ce9e815 --- /dev/null +++ b/target/linux/generic/pending-4.14/812-pci-dwc-fix-enumeration.patch @@ -0,0 +1,11 @@ +--- a/drivers/pci/dwc/pcie-designware-host.c ++++ b/drivers/pci/dwc/pcie-designware-host.c +@@ -607,7 +607,7 @@ void dw_pcie_setup_rc(struct pcie_port * + /* setup bus numbers */ + val = dw_pcie_readl_dbi(pci, PCI_PRIMARY_BUS); + val &= 0xff000000; +- val |= 0x00010100; ++ val |= 0x00ff0100; + dw_pcie_writel_dbi(pci, PCI_PRIMARY_BUS, val); + + /* setup command register */