Re: UBSAN: Undefined behaviour in kernel/rcu/tree_plugin.h in 4.20-rc1

2018-11-10 Thread Paul E. McKenney
On Fri, Nov 09, 2018 at 12:10:30PM -0800, Paul E. McKenney wrote: > On Fri, Nov 09, 2018 at 06:11:20PM +0100, Christophe LEROY wrote: > > (Resending due to error in Paul's address) > > > > Paul > > > > I get the following UBSAN reports in 4.20-rc1 on an MPC8321E > > (powerpc/book3s/32) > > > > I

Re: [PATCH net-next 0/6] Remove VLAN.CFI overload

2018-11-10 Thread David Miller
From: Michał Mirosław Date: Sat, 10 Nov 2018 19:58:29 +0100 > Fix BPF code/JITs to allow for separate VLAN_PRESENT flag > storage and finally move the flag to separate storage in skbuff. > > This is final step to make CLAN.CFI transparent to core Linux > networking stack. > > An #ifdef is intro

Re: [PATCH] kdb: use correct pointer when 'btc' calls 'btt'

2018-11-10 Thread Olof Johansson
Hi Jason, On Mon, Oct 1, 2018 at 12:52 PM Jason Wessel wrote: > > On 09/28/2018 07:57 AM, Michael Ellerman wrote: > > Christophe LEROY writes: > >> Le 27/09/2018 à 13:09, Michael Ellerman a écrit : > >>> Christophe LEROY writes: > Le 26/09/2018 à 13:11, Daniel Thompson a écrit : > > >

[PATCH net-next 6/6] net: remove VLAN_TAG_PRESENT

2018-11-10 Thread Michał Mirosław
Replace VLAN_TAG_PRESENT with single bit flag and free up VLAN.CFI overload. Now VLAN.CFI is visible in networking stack and can be passed around intact. Signed-off-by: Michał Mirosław --- arch/mips/net/bpf_jit.c | 3 --- arch/powerpc/net/bpf_jit_comp.c | 3 --- arch/sparc/net/bpf_ji

[PATCH net-next 4/6] net/bpf_jit: PPC: split VLAN_PRESENT bit handling from VLAN_TCI

2018-11-10 Thread Michał Mirosław
Signed-off-by: Michał Mirosław --- arch/powerpc/net/bpf_jit_comp.c | 18 ++ 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/arch/powerpc/net/bpf_jit_comp.c b/arch/powerpc/net/bpf_jit_comp.c index d5bfe24bb3b5..dc4a2f54e829 100644 --- a/arch/powerpc/net/bpf_jit_comp.

[PATCH net-next 0/6] Remove VLAN.CFI overload

2018-11-10 Thread Michał Mirosław
Fix BPF code/JITs to allow for separate VLAN_PRESENT flag storage and finally move the flag to separate storage in skbuff. This is final step to make CLAN.CFI transparent to core Linux networking stack. An #ifdef is introduced temporarily to mark fragments masking VLAN_TAG_PRESENT. This is remove

[PATCH net-next 1/6] net/skbuff: add macros for VLAN_PRESENT bit

2018-11-10 Thread Michał Mirosław
Wrap VLAN_PRESENT bit using macro like PKT_TYPE_* and CLONED_*, as used by BPF code. Signed-off-by: Michał Mirosław --- include/linux/skbuff.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h index 7dcfb5591dc3..99f38779332c 100644 --- a/i

[PATCH net-next 5/6] net/bpf_jit: SPARC: split VLAN_PRESENT bit handling from VLAN_TCI

2018-11-10 Thread Michał Mirosław
Signed-off-by: Michał Mirosław --- arch/sparc/net/bpf_jit_comp_32.c | 17 ++--- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/arch/sparc/net/bpf_jit_comp_32.c b/arch/sparc/net/bpf_jit_comp_32.c index a5ff88643d5c..48f3c04dd179 100644 --- a/arch/sparc/net/bpf_jit_comp_

[PATCH net-next 3/6] net/bpf_jit: MIPS: split VLAN_PRESENT bit handling from VLAN_TCI

2018-11-10 Thread Michał Mirosław
Signed-off-by: Michał Mirosław --- arch/mips/net/bpf_jit.c | 21 - 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/arch/mips/net/bpf_jit.c b/arch/mips/net/bpf_jit.c index 4d8cb9bb8365..de4c6372ad9a 100644 --- a/arch/mips/net/bpf_jit.c +++ b/arch/mips/net/bpf_jit

[PATCH net-next 2/6] net/bpf: split VLAN_PRESENT bit handling from VLAN_TCI

2018-11-10 Thread Michał Mirosław
Signed-off-by: Michał Mirosław --- net/core/filter.c | 40 +--- 1 file changed, 21 insertions(+), 19 deletions(-) diff --git a/net/core/filter.c b/net/core/filter.c index e521c5ebc7d1..c151b906df53 100644 --- a/net/core/filter.c +++ b/net/core/filter.c @@ -296

Re: [PATCH] powerpc/ptrace: replace ptrace_report_syscall() with a tracehook call

2018-11-10 Thread kbuild test robot
/commits/Elvira-Khabirova/powerpc-ptrace-replace-ptrace_report_syscall-with-a-tracehook-call/20181110-192337 base: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next config: powerpc-defconfig (attached as .config) compiler: powerpc64-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0

Re: [PATCH] powerpc/ptrace: replace ptrace_report_syscall() with a tracehook call

2018-11-10 Thread kbuild test robot
-ci/linux/commits/Elvira-Khabirova/powerpc-ptrace-replace-ptrace_report_syscall-with-a-tracehook-call/20181110-192337 base: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next config: powerpc-allyesconfig (attached as .config) compiler: powerpc64-linux-gnu-gcc (Debian 7.2.0-11

PA6T little endian mode: ppc64le kernels possible?

2018-11-10 Thread Christian Zigotzky
Hi All, I read the following: The part that is debatably the heart of the chip is a PowerPC core called the PA6T, a full blown 64-bit PPC with an FPU, VMX extensions and hypervisor support. It fully conforms to the PowerPC 2.04 architecture spec, and can operate in both big and little-endian m