aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx
diff options
context:
space:
mode:
authorKoen Vandeputte <koen.vandeputte@ncentric.com>2019-11-18 10:17:24 +0100
committerKoen Vandeputte <koen.vandeputte@ncentric.com>2019-11-19 14:59:03 +0100
commitd6aea46a50d976745df30b550ed76357363e7ca8 (patch)
tree268b6f149a7ec80e2d0f771200e52f5cdbe94c32 /target/linux/brcm63xx
parentd2ee9220515d0bbfe74414c84ef55cff640726ba (diff)
downloadupstream-d6aea46a50d976745df30b550ed76357363e7ca8.tar.gz
upstream-d6aea46a50d976745df30b550ed76357363e7ca8.tar.bz2
upstream-d6aea46a50d976745df30b550ed76357363e7ca8.zip
kernel: bump 4.14 to 4.14.154
Refreshed all patches. Altered patches: - 902-debloat_proc.patch - 040-dmaengine-qcom-bam-Process-multiple-pending-descript.patch - 807-usb-support-layerscape.patch - 809-flexcan-support-layerscape.patch - 816-pcie-support-layerscape.patch Remove upstreamed: - 150-MIPS-bmips-mark-exception-vectors-as-char-arrays.patch - 303-spi-nor-enable-4B-opcodes-for-mx66l51235l.patch New symbols: X86_INTEL_MPX X86_INTEL_MEMORY_PROTECTION_KEYS X86_INTEL_TSX_MODE_OFF X86_INTEL_TSX_MODE_ON X86_INTEL_TSX_MODE_AUTO SGL_ALLOC Compile-tested on: cns3xxx, x86_64 Runtime-tested on: cns3xxx Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Diffstat (limited to 'target/linux/brcm63xx')
-rw-r--r--target/linux/brcm63xx/patches-4.14/150-MIPS-bmips-mark-exception-vectors-as-char-arrays.patch93
1 files changed, 0 insertions, 93 deletions
diff --git a/target/linux/brcm63xx/patches-4.14/150-MIPS-bmips-mark-exception-vectors-as-char-arrays.patch b/target/linux/brcm63xx/patches-4.14/150-MIPS-bmips-mark-exception-vectors-as-char-arrays.patch
deleted file mode 100644
index 11d79ea21c..0000000000
--- a/target/linux/brcm63xx/patches-4.14/150-MIPS-bmips-mark-exception-vectors-as-char-arrays.patch
+++ /dev/null
@@ -1,93 +0,0 @@
-From badf0fc9f7dc72d06a47357123c7d97dc45792f5 Mon Sep 17 00:00:00 2001
-From: Jonas Gorski <jonas.gorski@gmail.com>
-Date: Tue, 15 Oct 2019 23:27:10 +0200
-Subject: [PATCH v2] MIPS: bmips: mark exception vectors as char arrays
-
-The vectors span more than one byte, so mark them as arrays.
-
-Fixes the following build error when building when using GCC 8.3:
-
-In file included from ./include/linux/string.h:19,
- from ./include/linux/bitmap.h:9,
- from ./include/linux/cpumask.h:12,
- from ./arch/mips/include/asm/processor.h:15,
- from ./arch/mips/include/asm/thread_info.h:16,
- from ./include/linux/thread_info.h:38,
- from ./include/asm-generic/preempt.h:5,
- from ./arch/mips/include/generated/asm/preempt.h:1,
- from ./include/linux/preempt.h:81,
- from ./include/linux/spinlock.h:51,
- from ./include/linux/mmzone.h:8,
- from ./include/linux/bootmem.h:8,
- from arch/mips/bcm63xx/prom.c:10:
-arch/mips/bcm63xx/prom.c: In function 'prom_init':
-./arch/mips/include/asm/string.h:162:11: error: '__builtin_memcpy' forming offset [2, 32] is out of the bounds [0, 1] of object 'bmips_smp_movevec' with type 'char' [-Werror=array-bounds]
- __ret = __builtin_memcpy((dst), (src), __len); \
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-arch/mips/bcm63xx/prom.c:97:3: note: in expansion of macro 'memcpy'
- memcpy((void *)0xa0000200, &bmips_smp_movevec, 0x20);
- ^~~~~~
-In file included from arch/mips/bcm63xx/prom.c:14:
-./arch/mips/include/asm/bmips.h:80:13: note: 'bmips_smp_movevec' declared here
- extern char bmips_smp_movevec;
-
-Fixes: 18a1eef92dcd ("MIPS: BMIPS: Introduce bmips.h")
-Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
----
-
-v1 -> v2:
- * Actually update the callers as well, to not break the build in a
- different way.
-
- arch/mips/bcm63xx/prom.c | 2 +-
- arch/mips/include/asm/bmips.h | 10 +++++-----
- arch/mips/kernel/smp-bmips.c | 8 ++++----
- 3 files changed, 10 insertions(+), 10 deletions(-)
-
---- a/arch/mips/bcm63xx/prom.c
-+++ b/arch/mips/bcm63xx/prom.c
-@@ -84,7 +84,7 @@ void __init prom_init(void)
- * Here we will start up CPU1 in the background and ask it to
- * reconfigure itself then go back to sleep.
- */
-- memcpy((void *)0xa0000200, &bmips_smp_movevec, 0x20);
-+ memcpy((void *)0xa0000200, bmips_smp_movevec, 0x20);
- __sync();
- set_c0_cause(C_SW0);
- cpumask_set_cpu(1, &bmips_booted_mask);
---- a/arch/mips/include/asm/bmips.h
-+++ b/arch/mips/include/asm/bmips.h
-@@ -75,11 +75,11 @@ static inline int register_bmips_smp_ops
- #endif
- }
-
--extern char bmips_reset_nmi_vec;
--extern char bmips_reset_nmi_vec_end;
--extern char bmips_smp_movevec;
--extern char bmips_smp_int_vec;
--extern char bmips_smp_int_vec_end;
-+extern char bmips_reset_nmi_vec[];
-+extern char bmips_reset_nmi_vec_end[];
-+extern char bmips_smp_movevec[];
-+extern char bmips_smp_int_vec[];
-+extern char bmips_smp_int_vec_end[];
-
- extern int bmips_smp_enabled;
- extern int bmips_cpu_offset;
---- a/arch/mips/kernel/smp-bmips.c
-+++ b/arch/mips/kernel/smp-bmips.c
-@@ -457,10 +457,10 @@ static void bmips_wr_vec(unsigned long d
-
- static inline void bmips_nmi_handler_setup(void)
- {
-- bmips_wr_vec(BMIPS_NMI_RESET_VEC, &bmips_reset_nmi_vec,
-- &bmips_reset_nmi_vec_end);
-- bmips_wr_vec(BMIPS_WARM_RESTART_VEC, &bmips_smp_int_vec,
-- &bmips_smp_int_vec_end);
-+ bmips_wr_vec(BMIPS_NMI_RESET_VEC, bmips_reset_nmi_vec,
-+ bmips_reset_nmi_vec_end);
-+ bmips_wr_vec(BMIPS_WARM_RESTART_VEC, bmips_smp_int_vec,
-+ bmips_smp_int_vec_end);
- }
-
- struct reset_vec_info {