diff mbox series

[OpenWrt-Devel] archs38: Update linux kernel to 4.19

Message ID 20190312110157.38314-1-Evgeniy.Didin@synopsys.com
State Changes Requested
Headers show
Series [OpenWrt-Devel] archs38: Update linux kernel to 4.19 | expand

Commit Message

Evgeniy Didin March 12, 2019, 11:01 a.m. UTC
Linux kernel 4.14 is not building with GCC 8.3 and binutils 2.32 for archs38.
Lets update it to 4.19.

Signed-off-by: Evgeniy Didin <Evgeniy.Didin@synopsys.com>
Cc: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Hauke Mehrtens <hauke@hauke-m.de>
Cc: John Crispin <john@phrozen.org>
---
Patch "95aed87b9e2ed982b24122f46ca506cd8b368677"
(ARC: define ARCH_SLAB_MINALIGN = 8) is necessary to
fix hangs during runtime on board. I am not adding it
in patches-4.19 directory because this patch
is already applied in Linux 4.19.26.

 target/linux/archs38/Makefile                                           | 2 +-
 target/linux/archs38/{config-4.14 => config-4.19}                       | 0
 .../700-stmmac-Disable-frame-filtering-completely.patch                 | 0
 3 files changed, 1 insertion(+), 1 deletion(-)
 rename target/linux/archs38/{config-4.14 => config-4.19} (100%)
 rename target/linux/archs38/{patches-4.14 => patches-4.19}/700-stmmac-Disable-frame-filtering-completely.patch (100%)

Comments

Hauke Mehrtens March 12, 2019, 7:13 p.m. UTC | #1
On 3/12/19 12:01 PM, Evgeniy Didin wrote:
> Linux kernel 4.14 is not building with GCC 8.3 and binutils 2.32 for archs38.
> Lets update it to 4.19.

We would like to use only kernel 4.14 in the next release and not kernel
4.19.

Also in current master the build bot found a compile problem in the ARC
targets:
--------------------------------------------------------------------------
In file included from ./arch/arc/include/asm/atomic.h:16:0,
                 from ./include/linux/atomic.h:5,
                 from ./include/linux/spinlock.h:411,
                 from ./include/linux/mmzone.h:8,
                 from ./include/linux/gfp.h:6,
                 from ./include/linux/slab.h:15,
                 from fs/posix_acl.c:14:
fs/posix_acl.c: In function 'get_acl':
./arch/arc/include/asm/cmpxchg.h:95:29: warning: value computed is not
used [-Wunused-value]
 #define cmpxchg(ptr, o, n) ((typeof(*(ptr)))__cmpxchg((ptr), \
                            ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     (unsigned long)(o), (unsigned long)(n)))
     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fs/posix_acl.c:147:3: note: in expansion of macro 'cmpxchg'
   cmpxchg(p, sentinel, ACL_NOT_CACHED);
   ^~~~~~~
--------------------------------------------------------------------------
http://phase1.builds.openwrt.org/builders/archs38%2Fgeneric/builds/1280/steps/images/logs/stdio

Is this the same?
This was first seen in this build:
http://phase1.builds.openwrt.org/builders/archs38%2Fgeneric/builds/1269

This contained an upgrade of the kernel to version 4.14.104.

Hauke

> 
> Signed-off-by: Evgeniy Didin <Evgeniy.Didin@synopsys.com>
> Cc: Alexey Brodkin <abrodkin@synopsys.com>
> Cc: Hauke Mehrtens <hauke@hauke-m.de>
> Cc: John Crispin <john@phrozen.org>
> ---
> Patch "95aed87b9e2ed982b24122f46ca506cd8b368677"
> (ARC: define ARCH_SLAB_MINALIGN = 8) is necessary to
> fix hangs during runtime on board. I am not adding it
> in patches-4.19 directory because this patch
> is already applied in Linux 4.19.26.
> 
>  target/linux/archs38/Makefile                                           | 2 +-
>  target/linux/archs38/{config-4.14 => config-4.19}                       | 0
>  .../700-stmmac-Disable-frame-filtering-completely.patch                 | 0
>  3 files changed, 1 insertion(+), 1 deletion(-)
>  rename target/linux/archs38/{config-4.14 => config-4.19} (100%)
>  rename target/linux/archs38/{patches-4.14 => patches-4.19}/700-stmmac-Disable-frame-filtering-completely.patch (100%)
> 
> diff --git a/target/linux/archs38/Makefile b/target/linux/archs38/Makefile
> index be6be0472b..e348a07933 100644
> --- a/target/linux/archs38/Makefile
> +++ b/target/linux/archs38/Makefile
> @@ -13,7 +13,7 @@ BOARDNAME:=Synopsys DesignWare ARC HS38
>  MAINTAINER:=Alexey Brodkin <abrodkin@synopsys.com>
>  SUBTARGETS:=generic
>  
> -KERNEL_PATCHVER:=4.14
> +KERNEL_PATCHVER:=4.19
>  
>  DEVICE_TYPE:=developerboard
>  
> diff --git a/target/linux/archs38/config-4.14 b/target/linux/archs38/config-4.19
> similarity index 100%
> rename from target/linux/archs38/config-4.14
> rename to target/linux/archs38/config-4.19
> diff --git a/target/linux/archs38/patches-4.14/700-stmmac-Disable-frame-filtering-completely.patch b/target/linux/archs38/patches-4.19/700-stmmac-Disable-frame-filtering-completely.patch
> similarity index 100%
> rename from target/linux/archs38/patches-4.14/700-stmmac-Disable-frame-filtering-completely.patch
> rename to target/linux/archs38/patches-4.19/700-stmmac-Disable-frame-filtering-completely.patch
>
diff mbox series

Patch

diff --git a/target/linux/archs38/Makefile b/target/linux/archs38/Makefile
index be6be0472b..e348a07933 100644
--- a/target/linux/archs38/Makefile
+++ b/target/linux/archs38/Makefile
@@ -13,7 +13,7 @@  BOARDNAME:=Synopsys DesignWare ARC HS38
 MAINTAINER:=Alexey Brodkin <abrodkin@synopsys.com>
 SUBTARGETS:=generic
 
-KERNEL_PATCHVER:=4.14
+KERNEL_PATCHVER:=4.19
 
 DEVICE_TYPE:=developerboard
 
diff --git a/target/linux/archs38/config-4.14 b/target/linux/archs38/config-4.19
similarity index 100%
rename from target/linux/archs38/config-4.14
rename to target/linux/archs38/config-4.19
diff --git a/target/linux/archs38/patches-4.14/700-stmmac-Disable-frame-filtering-completely.patch b/target/linux/archs38/patches-4.19/700-stmmac-Disable-frame-filtering-completely.patch
similarity index 100%
rename from target/linux/archs38/patches-4.14/700-stmmac-Disable-frame-filtering-completely.patch
rename to target/linux/archs38/patches-4.19/700-stmmac-Disable-frame-filtering-completely.patch