unsubscribe

2020-12-29 Thread Shawn Landden
-- Shawn Landden

unsubscribe

2020-12-20 Thread Shawn Landden
-- Shawn Landden

[RESEND v4 PATCH 2/2] [PowerPC] Allow use of SIMD in interrupts from kernel code

2019-05-18 Thread Shawn Landden
This even allows simd in preemptible kernel code, as does x86, although this is rarely safe (could be used with kthread_create_on_cpu). All callers are disabling preemption. v4: fix build without CONFIG_AVX change commit message Signed-off-by: Shawn Landden --- arch/powerpc/include/asm

[RESEND v4 PATCH 1/2] [PowerPC] Add simd.h implementation

2019-05-18 Thread Shawn Landden
Based off the x86 one. WireGuard really wants to be able to do SIMD in interrupts, so it can accelerate its in-bound path. v4: allow using the may_use_simd symbol even when it always returns false (via include guards) Signed-off-by: Shawn Landden --- arch/powerpc/include/asm/simd.h | 17

Re: Latest Git kernel: Section mismatch in reference from the variable start_here_multiplatform to the function .init.text:.early_setup()

2019-05-16 Thread Shawn Landden
Hi El mié., 15 may. 2019 5:17, Christophe Leroy escribió: > Hi, > > Le 15/05/2019 à 12:09, Christian Zigotzky a écrit : > > Hi All, > > > > I got the following error messages with the latest Git kernel today: > > > > GEN .version > >CHK include/generated/compile.h > >LD

Re: [v4 PATCH 1/2] [PowerPC] Add simd.h implementation

2019-05-15 Thread Shawn Landden
On Wed, May 15, 2019 at 1:27 AM Christophe Leroy wrote: > Could you please as usual list here the changes provided by each version > to ease the review ? A bunch of embarrassing stuff that caused it not to build on some set-ups (the functions were under the wrong include guards), and I added

[v4 PATCH 2/2] [PowerPC] Allow use of SIMD in interrupts from kernel code

2019-05-14 Thread Shawn Landden
This second patch is separate because it could be wrong, like I am not sure about how kernel thread migration works, and it is even allowing simd in preemptible kernel code. v4: fix build without CONFIG_AVX Signed-off-by: Shawn Landden --- arch/powerpc/include/asm/switch_to.h | 15 +--- arch

[v4 PATCH 1/2] [PowerPC] Add simd.h implementation

2019-05-14 Thread Shawn Landden
Based off the x86 one. WireGuard really wants to be able to do SIMD in interrupts, so it can accelerate its in-bound path. Signed-off-by: Shawn Landden --- arch/powerpc/include/asm/simd.h | 17 + arch/powerpc/kernel/process.c | 30 ++ 2 files

[PATCH 1/2] [PowerPC] Add simd.h implementation

2019-05-14 Thread Shawn Landden
Based off the x86 one. WireGuard really wants to be able to do SIMD in interrupts, so it can accelerate its in-bound path. Signed-off-by: Shawn Landden --- arch/powerpc/include/asm/simd.h | 17 + arch/powerpc/kernel/process.c | 30 ++ 2 files

Re: [PATCH] powerpc: Allow may_use_simd() to function as feature detection

2019-05-14 Thread Shawn Landden
8AM -0300, Shawn Landden wrote: > > ARM does this, so we might as well too. > > I am a bit confused however as CONFIG_ALTIVEC does not select > > CONFIG_PPC_FPU. Would you ever have altivec without a fpu? > > There is no hardware like that, none supported anyway. It does

Re: [PATCH 1/2] [PowerPC] Add simd.h implementation

2019-05-14 Thread Shawn Landden
On Tue, May 14, 2019 at 12:43 AM Benjamin Herrenschmidt wrote: > > On Mon, 2019-05-13 at 22:44 -0300, Shawn Landden wrote: > > + > > +/* > > + * Were we in user mode when we were > > + * interrupted? > > + * > > + * Doing kernel_altiv

Re: [v2 2/2] [PowerPC] Allow use of SIMD in interrupts from kernel code

2019-05-14 Thread Shawn Landden
On Tue, May 14, 2019 at 2:22 AM Russell Currey wrote: > > On Mon, 2019-05-13 at 23:23 -0300, Shawn Landden wrote: > > This second patch is separate because it could be wrong, > > like I am not sure about how kernel thread migration works, > > and it is even allowing si

[v3 2/2] [PowerPC] Allow use of SIMD in interrupts from kernel code

2019-05-14 Thread Shawn Landden
This second patch is separate because it could be wrong, like I am not sure about how kernel thread migration works, and it is even allowing simd in preemptible kernel code. Signed-off-by: Shawn Landden --- arch/powerpc/include/asm/switch_to.h | 15 ++- arch/powerpc/kernel/process.c

[v3 1/2] [PowerPC] Add simd.h implementation

2019-05-14 Thread Shawn Landden
Based off the x86 one. WireGuard really wants to be able to do SIMD in interrupts, so it can accelerate its in-bound path. Signed-off-by: Shawn Landden --- arch/powerpc/include/asm/simd.h | 17 + arch/powerpc/kernel/process.c | 30 ++ 2 files

[PATCH] powerpc: Allow may_use_simd() to function as feature detection

2019-05-14 Thread Shawn Landden
ARM does this, so we might as well too. I am a bit confused however as CONFIG_ALTIVEC does not select CONFIG_PPC_FPU. Would you ever have altivec without a fpu? Signed-off-by: Shawn Landden --- arch/powerpc/include/asm/simd.h | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch

[v2 2/2] [PowerPC] Allow use of SIMD in interrupts from kernel code

2019-05-13 Thread Shawn Landden
This second patch is separate because it could be wrong, like I am not sure about how kernel thread migration works, and it is even allowing simd in preemptible kernel code. Signed-off-by: Shawn Landden --- arch/powerpc/include/asm/switch_to.h | 15 ++- arch/powerpc/kernel/process.c

[v2 1/2] [PowerPC] Add simd.h implementation

2019-05-13 Thread Shawn Landden
Based off the x86 one. WireGuard really wants to be able to do SIMD in interrupts, so it can accelerate its in-bound path. Signed-off-by: Shawn Landden --- arch/powerpc/include/asm/simd.h | 10 ++ arch/powerpc/kernel/process.c | 30 ++ 2 files changed, 40

[PATCH 2/2] [PowerPC] Allow use of SIMD in interrupts from kernel code

2019-05-13 Thread Shawn Landden
This second patch is separate because it could be wrong, like I am not sure about how kernel thread migration works, and it is even allowing simd in preemptible kernel code. Signed-off-by: Shawn Landden --- arch/powerpc/include/asm/simd.h | 8 + arch/powerpc/include/asm/switch_to.h

[PATCH 1/2] [PowerPC] Add simd.h implementation

2019-05-13 Thread Shawn Landden
Based off the x86 one. WireGuard really wants to be able to do SIMD in interrupts, so it can accelerate its in-bound path. Signed-off-by: Shawn Landden --- arch/powerpc/include/asm/simd.h | 13 + arch/powerpc/kernel/process.c | 30 ++ 2 files changed

[PATCH] powerpc: add simd.h implementation specific to PowerPC

2019-05-12 Thread Shawn Landden
://bugzilla.kernel.org/show_bug.cgi?id=203571 Signed-off-by: Shawn Landden --- arch/powerpc/include/asm/simd.h | 15 +++ 1 file changed, 15 insertions(+) create mode 100644 arch/powerpc/include/asm/simd.h diff --git a/arch/powerpc/include/asm/simd.h b/arch/powerpc/include/asm/simd.h new file mode

[PATCH RESEND] powerpc: add simd.h implementation specific to PowerPC

2019-05-12 Thread Shawn Landden
this linuxppc-dev didn't seem to accept it. Buglink: https://bugzilla.kernel.org/show_bug.cgi?id=203571 Signed-off-by: Shawn Landden --- arch/powerpc/include/asm/simd.h | 15 +++ 1 file changed, 15 insertions(+) create mode 100644 arch/powerpc/include/asm/simd.h diff --git a/arch/powerpc