From patchwork Thu Jan 11 15:04:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Koen Vandeputte X-Patchwork-Id: 859173 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=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133; helo=bombadil.infradead.org; envelope-from=lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="V3u9LzzN"; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=ncentric.com header.i=@ncentric.com header.b="tVIu2axP"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3zHTj35cQsz9s8J for ; Fri, 12 Jan 2018 02:05:59 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Subject:References: In-Reply-To:Message-Id:Date:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=W5P3iVnP/1oQOJc7SWWyFH7Ge4hr83WbhGQty6rmC/I=; b=V3u9LzzNEdwa6U hNhw46h2aHIt96txAQZrZwbTAEaiXSAYfClN7UMgRojItDH4LF3BIo3Rhk+ye3XJcR+QrAKkAv/wn hs3PbmMCNulGW8ukvWnZNjCYgBNCNqSPLJKIZtEvAebS8l15MK6wI0KuLCdHLZUpKwqs5EZ2L5msF oF4rEUB8kYLdy96RDv2S+DVwApP+O9xmD9MYWRrK+TAeNmMTpOfQPaI96zW7w8jjfqIpbagwHcgQq 0mDgRSRDLrqx6xE/x71MeImlcHSHfMmLYnX8X9IxnScy8BZUtK8TnavnJzE78bPqzlq1TF00H/3hn NRyKCatDYhr2dIzCTr9g==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1eZeQX-0003vP-BZ; Thu, 11 Jan 2018 15:05:57 +0000 Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eZePn-0002QI-Cu for lede-dev@lists.infradead.org; Thu, 11 Jan 2018 15:05:15 +0000 Received: by mail-wm0-x242.google.com with SMTP id f140so6023647wmd.2 for ; Thu, 11 Jan 2018 07:05:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ncentric.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=3XQCJDyHBk2+1ofx9O+Etwr+/rna3pYK5SzyzJnkkm0=; b=tVIu2axP8oSElfk/3Dl3FxoKXuE/SB+VrN2OeYd7aQ3BAQmS5MNPtI/ExJ3R3S+cfq 1OPR9maymhCut1Wv9MZjsH5LmcBncns2GvQdMXsAZpHp97DEpF46f+mcptw9NorPuMnG x3azp33R9pC8neyAeV7fFeTI5/y5dRiEBPqow= 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:in-reply-to :references; bh=3XQCJDyHBk2+1ofx9O+Etwr+/rna3pYK5SzyzJnkkm0=; b=Y6530Qpu9I+yJo+De4lcGKiPbXQaZyW0dI+/PtnFMXKgZFrkRT2l3XJJ/kl4hqBJcr fXYeg27yolv7FLs0o6dqQ3EFBvsiJLZbuxq4GlXQbPsixrXfFsYBgvGwoYyJ7xsVp/2h pEBPGzeHJo/fnu65MC+ZVCVBwAIHYvYX6+EwEmSSVgqw7tvXvZa5vv52yNMS8Tmtmm0W c2PCL2r4MmCBkaPhm96yZxDp749o4s2pUdDrI4wHbSJj0xY4juLddL+60ilBpOjSAZ8v sfsj5wiEHYk871YSUB3jBhB3HoUs9mNb3AIJILezxvN83dYYxzncNshezwTQc7X5m18m CL8Q== X-Gm-Message-State: AKGB3mIrUS6tvACchRCCu+2bBgM54EzTP02uBgZ37CtRzD3uBK6P+aO+ BpiufCxzTYjPbIGgoGSpZjj7tSIm3ws= X-Google-Smtp-Source: ACJfBovKfBhU8WWYLX6LshsGOPYkw3a7RAjXJffS1kdeXSIoxN+iLtSRxti7YCzey7es8PzxJjRayw== X-Received: by 10.80.170.200 with SMTP id r8mr30677921edc.230.1515683103640; Thu, 11 Jan 2018 07:05:03 -0800 (PST) Received: from localhost.localdomain (d515300d8.static.telenet.be. [81.83.0.216]) by smtp.googlemail.com with ESMTPSA id x28sm13398188edd.0.2018.01.11.07.05.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 11 Jan 2018 07:05:02 -0800 (PST) From: Koen Vandeputte To: lede-dev@lists.infradead.org Date: Thu, 11 Jan 2018 16:04:39 +0100 Message-Id: <1515683081-31607-8-git-send-email-koen.vandeputte@ncentric.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1515683081-31607-1-git-send-email-koen.vandeputte@ncentric.com> References: <1515683081-31607-1-git-send-email-koen.vandeputte@ncentric.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180111_070511_478915_6F804E3F X-CRM114-Status: GOOD ( 12.30 ) X-Spam-Score: -2.0 (--) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-2.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [2a00:1450:400c:c09:0:0:0:242 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid Subject: [LEDE-DEV] [PATCH 7/9] cns3xxx: refresh patches X-BeenThere: lede-dev@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: tharvey@gateworks.com, Koen Vandeputte , nbd@nbd.name MIME-Version: 1.0 Sender: "Lede-dev" Errors-To: lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Signed-off-by: Koen Vandeputte --- .../patches-4.14/010-arm_introduce-dma-fiq-irq-broadcast.patch | 6 +++--- target/linux/cns3xxx/patches-4.14/020-watchdog_support.patch | 8 ++++---- target/linux/cns3xxx/patches-4.14/025-smp_support.patch | 4 ++-- target/linux/cns3xxx/patches-4.14/040-fiq_support.patch | 6 +++--- target/linux/cns3xxx/patches-4.14/070-i2c_support.patch | 6 +++--- target/linux/cns3xxx/patches-4.14/095-gpio_support.patch | 4 ++-- target/linux/cns3xxx/patches-4.14/100-laguna_support.patch | 4 ++-- ...CIE_BUS_PEER2PEER-to-set-MRSS-128-to-fix-CNS3xxx-BM-DMA..patch | 4 ++-- 8 files changed, 21 insertions(+), 21 deletions(-) diff --git a/target/linux/cns3xxx/patches-4.14/010-arm_introduce-dma-fiq-irq-broadcast.patch b/target/linux/cns3xxx/patches-4.14/010-arm_introduce-dma-fiq-irq-broadcast.patch index b2b6f509dbe5..ca7148b3015f 100644 --- a/target/linux/cns3xxx/patches-4.14/010-arm_introduce-dma-fiq-irq-broadcast.patch +++ b/target/linux/cns3xxx/patches-4.14/010-arm_introduce-dma-fiq-irq-broadcast.patch @@ -20,7 +20,7 @@ #endif --- a/arch/arm/mm/Kconfig +++ b/arch/arm/mm/Kconfig -@@ -873,6 +873,17 @@ config DMA_CACHE_RWFO +@@ -899,6 +899,17 @@ config DMA_CACHE_RWFO in hardware, other workarounds are needed (e.g. cache maintenance broadcasting in software via FIQ). @@ -48,7 +48,7 @@ /* * The zero page is never written to, so never has any dirty -@@ -329,7 +330,10 @@ void flush_dcache_page(struct page *page +@@ -335,7 +336,10 @@ void flush_dcache_page(struct page *page mapping = page_mapping(page); @@ -62,7 +62,7 @@ else { --- a/arch/arm/mm/dma.h +++ b/arch/arm/mm/dma.h -@@ -4,8 +4,13 @@ +@@ -5,8 +5,13 @@ #include #ifndef MULTI_CACHE diff --git a/target/linux/cns3xxx/patches-4.14/020-watchdog_support.patch b/target/linux/cns3xxx/patches-4.14/020-watchdog_support.patch index 4f9f3e646522..6dd0ef0fef3b 100644 --- a/target/linux/cns3xxx/patches-4.14/020-watchdog_support.patch +++ b/target/linux/cns3xxx/patches-4.14/020-watchdog_support.patch @@ -4,7 +4,7 @@ Signed-off-by: Felix Fietkau --- --- a/drivers/watchdog/Kconfig +++ b/drivers/watchdog/Kconfig -@@ -324,6 +324,13 @@ config KS8695_WATCHDOG +@@ -355,6 +355,13 @@ config KS8695_WATCHDOG Watchdog timer embedded into KS8695 processor. This will reboot your system when the timeout is reached. @@ -20,8 +20,8 @@ Signed-off-by: Felix Fietkau help --- a/drivers/watchdog/Makefile +++ b/drivers/watchdog/Makefile -@@ -47,6 +47,7 @@ obj-$(CONFIG_21285_WATCHDOG) += wdt285.o - obj-$(CONFIG_977_WATCHDOG) += wdt977.o +@@ -49,6 +49,7 @@ obj-$(CONFIG_977_WATCHDOG) += wdt977.o + obj-$(CONFIG_GEMINI_WATCHDOG) += gemini_wdt.o obj-$(CONFIG_IXP4XX_WATCHDOG) += ixp4xx_wdt.o obj-$(CONFIG_KS8695_WATCHDOG) += ks8695_wdt.o +obj-$(CONFIG_MPCORE_WATCHDOG) += mpcore_wdt.o @@ -151,7 +151,7 @@ Signed-off-by: Felix Fietkau +MODULE_LICENSE("GPL"); --- a/arch/arm/include/asm/smp_twd.h +++ b/arch/arm/include/asm/smp_twd.h -@@ -33,5 +33,6 @@ struct twd_local_timer name __initdata = +@@ -34,5 +34,6 @@ struct twd_local_timer name __initdata = }; int twd_local_timer_register(struct twd_local_timer *); diff --git a/target/linux/cns3xxx/patches-4.14/025-smp_support.patch b/target/linux/cns3xxx/patches-4.14/025-smp_support.patch index 7c2624a3a639..dc8e4b03c2c9 100644 --- a/target/linux/cns3xxx/patches-4.14/025-smp_support.patch +++ b/target/linux/cns3xxx/patches-4.14/025-smp_support.patch @@ -1,6 +1,6 @@ --- a/arch/arm/mach-cns3xxx/Makefile +++ b/arch/arm/mach-cns3xxx/Makefile -@@ -5,3 +5,5 @@ cns3xxx-y += core.o pm.o +@@ -6,3 +6,5 @@ cns3xxx-y += core.o pm.o cns3xxx-$(CONFIG_ATAGS) += devices.o cns3xxx-$(CONFIG_PCI) += pcie.o cns3xxx-$(CONFIG_MACH_CNS3420VB) += cns3420vb.o @@ -8,7 +8,7 @@ +cns3xxx-$(CONFIG_HOTPLUG_CPU) += hotplug.o --- a/arch/arm/mach-cns3xxx/Kconfig +++ b/arch/arm/mach-cns3xxx/Kconfig -@@ -2,6 +2,9 @@ menuconfig ARCH_CNS3XXX +@@ -3,6 +3,9 @@ menuconfig ARCH_CNS3XXX bool "Cavium Networks CNS3XXX family" depends on ARCH_MULTI_V6 select ARM_GIC diff --git a/target/linux/cns3xxx/patches-4.14/040-fiq_support.patch b/target/linux/cns3xxx/patches-4.14/040-fiq_support.patch index b391eb92d0f4..a52c55450382 100644 --- a/target/linux/cns3xxx/patches-4.14/040-fiq_support.patch +++ b/target/linux/cns3xxx/patches-4.14/040-fiq_support.patch @@ -1,6 +1,6 @@ --- a/arch/arm/mach-cns3xxx/Kconfig +++ b/arch/arm/mach-cns3xxx/Kconfig -@@ -5,6 +5,7 @@ menuconfig ARCH_CNS3XXX +@@ -6,6 +6,7 @@ menuconfig ARCH_CNS3XXX select HAVE_ARM_SCU if SMP select HAVE_ARM_TWD select HAVE_SMP @@ -10,7 +10,7 @@ --- a/arch/arm/mach-cns3xxx/Makefile +++ b/arch/arm/mach-cns3xxx/Makefile -@@ -5,5 +5,5 @@ cns3xxx-y += core.o pm.o +@@ -6,5 +6,5 @@ cns3xxx-y += core.o pm.o cns3xxx-$(CONFIG_ATAGS) += devices.o cns3xxx-$(CONFIG_PCI) += pcie.o cns3xxx-$(CONFIG_MACH_CNS3420VB) += cns3420vb.o @@ -29,7 +29,7 @@ */ --- a/arch/arm/mm/Kconfig +++ b/arch/arm/mm/Kconfig -@@ -856,7 +856,7 @@ config VDSO +@@ -882,7 +882,7 @@ config VDSO config DMA_CACHE_RWFO bool "Enable read/write for ownership DMA cache maintenance" diff --git a/target/linux/cns3xxx/patches-4.14/070-i2c_support.patch b/target/linux/cns3xxx/patches-4.14/070-i2c_support.patch index dc64da1e07f8..bacec360857e 100644 --- a/target/linux/cns3xxx/patches-4.14/070-i2c_support.patch +++ b/target/linux/cns3xxx/patches-4.14/070-i2c_support.patch @@ -1,6 +1,6 @@ --- a/drivers/i2c/busses/Kconfig +++ b/drivers/i2c/busses/Kconfig -@@ -441,6 +441,18 @@ config I2C_CBUS_GPIO +@@ -473,6 +473,18 @@ config I2C_CBUS_GPIO This driver can also be built as a module. If so, the module will be called i2c-cbus-gpio. @@ -21,11 +21,11 @@ depends on CPM1 || CPM2 --- a/drivers/i2c/busses/Makefile +++ b/drivers/i2c/busses/Makefile -@@ -114,6 +114,7 @@ obj-$(CONFIG_I2C_VIPERBOARD) += i2c-vipe +@@ -128,6 +128,7 @@ obj-$(CONFIG_I2C_VIPERBOARD) += i2c-vipe obj-$(CONFIG_I2C_ACORN) += i2c-acorn.o obj-$(CONFIG_I2C_BCM_KONA) += i2c-bcm-kona.o obj-$(CONFIG_I2C_BRCMSTB) += i2c-brcmstb.o +obj-$(CONFIG_I2C_CNS3XXX) += i2c-cns3xxx.o obj-$(CONFIG_I2C_CROS_EC_TUNNEL) += i2c-cros-ec-tunnel.o obj-$(CONFIG_I2C_ELEKTOR) += i2c-elektor.o - obj-$(CONFIG_I2C_OPAL) += i2c-opal.o + obj-$(CONFIG_I2C_MLXCPLD) += i2c-mlxcpld.o diff --git a/target/linux/cns3xxx/patches-4.14/095-gpio_support.patch b/target/linux/cns3xxx/patches-4.14/095-gpio_support.patch index 76eb7f64c255..8345f2f14464 100644 --- a/target/linux/cns3xxx/patches-4.14/095-gpio_support.patch +++ b/target/linux/cns3xxx/patches-4.14/095-gpio_support.patch @@ -13,7 +13,7 @@ } --- a/arch/arm/mach-cns3xxx/Kconfig +++ b/arch/arm/mach-cns3xxx/Kconfig -@@ -2,6 +2,8 @@ menuconfig ARCH_CNS3XXX +@@ -3,6 +3,8 @@ menuconfig ARCH_CNS3XXX bool "Cavium Networks CNS3XXX family" depends on ARCH_MULTI_V6 select ARM_GIC @@ -24,7 +24,7 @@ select HAVE_SMP --- a/arch/arm/mach-cns3xxx/Makefile +++ b/arch/arm/mach-cns3xxx/Makefile -@@ -1,7 +1,7 @@ +@@ -2,7 +2,7 @@ ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/$(src)/include obj-$(CONFIG_ARCH_CNS3XXX) += cns3xxx.o diff --git a/target/linux/cns3xxx/patches-4.14/100-laguna_support.patch b/target/linux/cns3xxx/patches-4.14/100-laguna_support.patch index 3c0bba4316e7..c0160d8f1201 100644 --- a/target/linux/cns3xxx/patches-4.14/100-laguna_support.patch +++ b/target/linux/cns3xxx/patches-4.14/100-laguna_support.patch @@ -1,6 +1,6 @@ --- a/arch/arm/mach-cns3xxx/Kconfig +++ b/arch/arm/mach-cns3xxx/Kconfig -@@ -22,4 +22,12 @@ config MACH_CNS3420VB +@@ -23,4 +23,12 @@ config MACH_CNS3420VB This is a platform with an on-board ARM11 MPCore and has support for USB, USB-OTG, MMC/SD/SDIO, SATA, PCI-E, etc. @@ -15,7 +15,7 @@ endif --- a/arch/arm/mach-cns3xxx/Makefile +++ b/arch/arm/mach-cns3xxx/Makefile -@@ -7,3 +7,5 @@ cns3xxx-$(CONFIG_PCI) += pcie.o +@@ -8,3 +8,5 @@ cns3xxx-$(CONFIG_PCI) += pcie.o cns3xxx-$(CONFIG_MACH_CNS3420VB) += cns3420vb.o cns3xxx-$(CONFIG_SMP) += platsmp.o headsmp.o cns3xxx_fiq.o cns3xxx-$(CONFIG_HOTPLUG_CPU) += hotplug.o diff --git a/target/linux/cns3xxx/patches-4.14/130-Extend-PCIE_BUS_PEER2PEER-to-set-MRSS-128-to-fix-CNS3xxx-BM-DMA..patch b/target/linux/cns3xxx/patches-4.14/130-Extend-PCIE_BUS_PEER2PEER-to-set-MRSS-128-to-fix-CNS3xxx-BM-DMA..patch index 2e30fe500692..42430ead4cbf 100644 --- a/target/linux/cns3xxx/patches-4.14/130-Extend-PCIE_BUS_PEER2PEER-to-set-MRSS-128-to-fix-CNS3xxx-BM-DMA..patch +++ b/target/linux/cns3xxx/patches-4.14/130-Extend-PCIE_BUS_PEER2PEER-to-set-MRSS-128-to-fix-CNS3xxx-BM-DMA..patch @@ -1,6 +1,6 @@ --- a/drivers/pci/probe.c +++ b/drivers/pci/probe.c -@@ -2015,7 +2015,8 @@ static void pcie_write_mrrs(struct pci_d +@@ -2303,7 +2303,8 @@ static void pcie_write_mrrs(struct pci_d /* In the "safe" case, do not configure the MRRS. There appear to be * issues with setting MRRS to 0 on a number of devices. */ @@ -12,7 +12,7 @@ /* For Max performance, the MRRS must be set to the largest supported --- a/include/linux/pci.h +++ b/include/linux/pci.h -@@ -783,7 +783,7 @@ enum pcie_bus_config_types { +@@ -845,7 +845,7 @@ enum pcie_bus_config_types { PCIE_BUS_DEFAULT, /* ensure MPS matches upstream bridge */ PCIE_BUS_SAFE, /* use largest MPS boot-time devices support */ PCIE_BUS_PERFORMANCE, /* use MPS and MRRS for best performance */