[PATCH] ASoC: fsl_xcvr: remove unneeded semicolon

2021-02-01 Thread Yang Li
Eliminate the following coccicheck warning: ./sound/soc/fsl/fsl_xcvr.c:739:2-3: Unneeded semicolon Reported-by: Abaci Robot Signed-off-by: Yang Li --- sound/soc/fsl/fsl_xcvr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/fsl/fsl_xcvr.c

Re: FSL P5040: KVM HV doesn't work with the RC5 of kernel 5.11

2021-02-01 Thread Christian Zigotzky
Hello, I compiled the RC6 of kernel 5.11 today and KVM HV works again. Therefore I don't need the patch below anymore. Many thanks for solving the issue, Christian On 27 January 2021 at 05:07pm, Christian Zigotzky wrote: Hello, I compiled the RC5 of kernel 5.11 today. Unfortunately KVM HV

RE: [PATCH] powerpc/603: Fix protection of user pages mapped with PROT_NONE

2021-02-01 Thread PLATTNER Christoph
Hello to all, and thank you very much for first and second fast response. I do not have a long history on PowerPC MMU environment, I hacked into this topic for about 3 months for analyzing that problem- so, sorry, if I am wrong in some points ... What I learn so far from this MPC5121e (variant

Re: [PATCH] powerpc/603: Fix protection of user pages mapped with PROT_NONE

2021-02-01 Thread Christophe Leroy
Le 01/02/2021 à 11:22, PLATTNER Christoph a écrit : Hello to all, and thank you very much for first and second fast response. I do not have a long history on PowerPC MMU environment, I hacked into this topic for about 3 months for analyzing that problem- so, sorry, if I am wrong in some

Re: [PATCH 04/13] module: use RCU to synchronize find_module

2021-02-01 Thread Christoph Hellwig
On Fri, Jan 29, 2021 at 04:29:02PM +0100, Miroslav Benes wrote: > > > > - mutex_lock(_mutex); > > + rcu_read_lock_sched(); > > /* > > * We do not want to block removal of patched modules and therefore > > * we do not take a reference here. The patches are removed by > > @@

Re: [PATCH 05/13] kallsyms: refactor {,module_}kallsyms_on_each_symbol

2021-02-01 Thread Miroslav Benes
One more thing... > @@ -4379,8 +4379,7 @@ int module_kallsyms_on_each_symbol(int (*fn)(void *, > const char *, > unsigned int i; > int ret; > > - module_assert_mutex(); > - > + mutex_lock(_mutex); > list_for_each_entry(mod, , list) { > /* We hold

RE: [PATCH] powerpc/603: Fix protection of user pages mapped with PROT_NONE

2021-02-01 Thread PLATTNER Christoph
Thank you very much, I appreciate your fast responses. Thank you also for clarification, I did completely oversee the permission settings in the segment setup and expected the fault reaction on the PP bits in the TLB. And I will re-read the chapters, got get deeper into this topic. Greetings

Re: [PATCH 04/13] module: use RCU to synchronize find_module

2021-02-01 Thread Miroslav Benes
On Mon, 1 Feb 2021, Jessica Yu wrote: > +++ Miroslav Benes [29/01/21 16:29 +0100]: > >On Thu, 28 Jan 2021, Christoph Hellwig wrote: > > > >> Allow for a RCU-sched critical section around find_module, following > >> the lower level find_module_all helper, and switch the two callers > >> outside of

Re: [RFC 00/20] TLB batching consolidation and enhancements

2021-02-01 Thread Peter Zijlstra
On Sun, Jan 31, 2021 at 07:57:01AM +, Nadav Amit wrote: > > On Jan 30, 2021, at 7:30 PM, Nicholas Piggin wrote: > > I'll go through the patches a bit more closely when they all come > > through. Sparc and powerpc of course need the arch lazy mode to get > > per-page/pte information for

Re: [PATCH 05/13] kallsyms: refactor {,module_}kallsyms_on_each_symbol

2021-02-01 Thread Miroslav Benes
On Mon, 1 Feb 2021, Christoph Hellwig wrote: > On Fri, Jan 29, 2021 at 10:43:36AM +0100, Petr Mladek wrote: > > > --- a/kernel/livepatch/core.c > > > +++ b/kernel/livepatch/core.c > > > @@ -164,12 +164,8 @@ static int klp_find_object_symbol(const char > > > *objname, const char *name, > > >

RE: [PATCH v4 02/10] powerpc/signal: Add unsafe_copy_{vsx, fpr}_from_user()

2021-02-01 Thread David Laight
From: Christopher M. Riedl > Sent: 01 February 2021 15:56 > > On Thu Jan 28, 2021 at 4:38 AM CST, David Laight wrote: > > From: Christopher M. Riedl > > > Sent: 28 January 2021 04:04 > > > > > > Reuse the "safe" implementation from signal.c except for calling > > > unsafe_copy_from_user() to copy

Re: [PATCH 05/13] kallsyms: refactor {,module_}kallsyms_on_each_symbol

2021-02-01 Thread Christoph Hellwig
On Mon, Feb 01, 2021 at 02:37:12PM +0100, Miroslav Benes wrote: > > > This change is not needed. (objname == NULL) means that we are > > > interested only in symbols in "vmlinux". > > > > > > module_kallsyms_on_each_symbol(klp_find_callback, ) > > > will always fail when objname == NULL. > > > >

RE: [PATCH v4 02/10] powerpc/signal: Add unsafe_copy_{vsx, fpr}_from_user()

2021-02-01 Thread Christopher M. Riedl
On Mon Feb 1, 2021 at 10:15 AM CST, David Laight wrote: > From: Christopher M. Riedl > > Sent: 01 February 2021 15:56 > > > > On Thu Jan 28, 2021 at 4:38 AM CST, David Laight wrote: > > > From: Christopher M. Riedl > > > > Sent: 28 January 2021 04:04 > > > > > > > > Reuse the "safe"

RE: [PATCH v4 02/10] powerpc/signal: Add unsafe_copy_{vsx, fpr}_from_user()

2021-02-01 Thread Christopher M. Riedl
On Thu Jan 28, 2021 at 4:38 AM CST, David Laight wrote: > From: Christopher M. Riedl > > Sent: 28 January 2021 04:04 > > > > Reuse the "safe" implementation from signal.c except for calling > > unsafe_copy_from_user() to copy into a local buffer. > > > > Signed-off-by: Christopher M. Riedl > >

Re: [PATCH 05/13] kallsyms: refactor {,module_}kallsyms_on_each_symbol

2021-02-01 Thread Christoph Hellwig
On Fri, Jan 29, 2021 at 10:43:36AM +0100, Petr Mladek wrote: > > --- a/kernel/livepatch/core.c > > +++ b/kernel/livepatch/core.c > > @@ -164,12 +164,8 @@ static int klp_find_object_symbol(const char *objname, > > const char *name, > > .pos = sympos, > > }; > > > > -

Re: [PATCH 04/13] module: use RCU to synchronize find_module

2021-02-01 Thread Jessica Yu
+++ Miroslav Benes [29/01/21 16:29 +0100]: On Thu, 28 Jan 2021, Christoph Hellwig wrote: Allow for a RCU-sched critical section around find_module, following the lower level find_module_all helper, and switch the two callers outside of module.c to use such a RCU-sched critical section instead

Re: [RFC 11/20] mm/tlb: remove arch-specific tlb_start/end_vma()

2021-02-01 Thread Peter Zijlstra
On Sat, Jan 30, 2021 at 04:11:23PM -0800, Nadav Amit wrote: > diff --git a/include/asm-generic/tlb.h b/include/asm-generic/tlb.h > index 427bfcc6cdec..b97136b7010b 100644 > --- a/include/asm-generic/tlb.h > +++ b/include/asm-generic/tlb.h > @@ -334,8 +334,8 @@ static inline void

Re: [PATCH v15 09/10] arm64: Call kmalloc() to allocate DTB buffer

2021-02-01 Thread Thiago Jung Bauermann
Joe Perches writes: > On Thu, 2021-01-28 at 00:52 -0300, Thiago Jung Bauermann wrote: >> The problem is that this patch implements only part of the suggestion, >> which isn't useful in itself. So the patch series should either drop >> this patch or consolidate the FDT allocation between the

[PATCH] powerpc/64/signal: Fix regression in __kernel_sigtramp_rt64 semantics

2021-02-01 Thread Raoni Fassina Firmino
Tested on powerpc64 and powerpc64le, with a glibc build and running the affected glibc's testcase[2], inspected that glibc's backtrace() now gives the correct result and gdb backtrace also keeps working as before. I believe this should be backported to releases 5.9 and 5.10 as userspace is

Re: [PATCH v4 02/10] powerpc/signal: Add unsafe_copy_{vsx, fpr}_from_user()

2021-02-01 Thread Gabriel Paubert
On Mon, Feb 01, 2021 at 09:55:44AM -0600, Christopher M. Riedl wrote: > On Thu Jan 28, 2021 at 4:38 AM CST, David Laight wrote: > > From: Christopher M. Riedl > > > Sent: 28 January 2021 04:04 > > > > > > Reuse the "safe" implementation from signal.c except for calling > > >

Re: [PATCH net v2] ibmvnic: device remove has higher precedence over reset

2021-02-01 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net.git (refs/heads/master): On Thu, 28 Jan 2021 22:34:01 -0600 you wrote: > Returning -EBUSY in ibmvnic_remove() does not actually hold the > removal procedure since driver core doesn't care for the return > value (see __device_release_driver() in

[RFC PATCH 0/9] KVM: PPC: Book3S: C-ify the P9 entry/exit code

2021-02-01 Thread Nicholas Piggin
This series goes on top of the KVM patches I sent for the next merge window. It's pretty rough and incomplete at the moment but has started booting a simple guest into busybox in sim. One of the main points of this is to avoid running KVM in a special mode (aka "realmode") which is hostile to the

[RFC PATCH 7/9] KVM: PPC: Book3S HV: move bad_host_intr check to HV handler

2021-02-01 Thread Nicholas Piggin
This is not used by PR KVM. Signed-off-by: Nicholas Piggin --- arch/powerpc/kvm/book3s_64_entry.S | 3 --- arch/powerpc/kvm/book3s_hv_rmhandlers.S | 4 +++- arch/powerpc/kvm/book3s_segment.S | 7 +++ 3 files changed, 10 insertions(+), 4 deletions(-) diff --git

[PATCH] powerpc/eeh: remove unneeded semicolon

2021-02-01 Thread Yang Li
Eliminate the following coccicheck warning: ./arch/powerpc/kernel/eeh.c:782:2-3: Unneeded semicolon Reported-by: Abaci Robot Signed-off-by: Yang Li --- arch/powerpc/kernel/eeh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/kernel/eeh.c

[PATCH] crypto: powerpc: remove unneeded semicolon

2021-02-01 Thread Yang Li
Eliminate the following coccicheck warning: ./arch/powerpc/crypto/sha256-spe-glue.c:132:2-3: Unneeded semicolon Reported-by: Abaci Robot Signed-off-by: Yang Li --- arch/powerpc/crypto/sha256-spe-glue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH] powerpc/fault: fix wrong KUAP fault for IO_URING

2021-02-01 Thread Christophe Leroy
Le 02/02/2021 à 06:55, Aneesh Kumar K.V a écrit : Aneesh Kumar K.V writes: Nicholas Piggin writes: Excerpts from Michael Ellerman's message of January 30, 2021 9:22 pm: Christophe Leroy writes: +Aneesh Le 29/01/2021 à 07:52, Zorro Lang a écrit : .. [ 96.200296] [ cut

Re: [PATCH] ASoC: fsl_spdif: Utilize the defined parameter to clear code

2021-02-01 Thread Shengjiu Wang
On Thu, Jan 28, 2021 at 7:28 PM Tang Bin wrote: > > Utilize the defined parameter 'dev' to make the code cleaner. > > Signed-off-by: Tang Bin Acked-by: Shengjiu Wang

[RFC PATCH 3/9] KVM: PPC: Book3S 64: add hcall interrupt handler

2021-02-01 Thread Nicholas Piggin
Add a separate hcall entry point. This can be used to deal with the different calling convention. Signed-off-by: Nicholas Piggin --- arch/powerpc/kernel/exceptions-64s.S | 4 ++-- arch/powerpc/kvm/book3s_64_entry.S | 4 2 files changed, 6 insertions(+), 2 deletions(-) diff --git

[RFC PATCH 4/9] KVM: PPC: Book3S HV: Move hcall early register setup to KVM

2021-02-01 Thread Nicholas Piggin
System calls / hcalls have a different calling convention than other interrupts, so there is code in the KVMTEST to massage these into the same form as other interrupt handlers. Move this work into the KVM hcall handler. This means teaching KVM a little more about the low level interrupt handler

[PATCH] powerpc/book3s64: remove unneeded semicolon

2021-02-01 Thread Yang Li
Eliminate the following coccicheck warning: ./arch/powerpc/platforms/pseries/lpar.c:1632:2-3: Unneeded semicolon ./arch/powerpc/platforms/pseries/lpar.c:1663:2-3: Unneeded semicolon Reported-by: Abaci Robot Signed-off-by: Yang Li --- arch/powerpc/platforms/pseries/lpar.c | 4 ++-- 1 file

Re: [PATCH] dma-mapping: remove unneeded semicolon

2021-02-01 Thread Geoff Levand
On 2/1/21 7:41 PM, Yang Li wrote: > Eliminate the following coccicheck warning: > ./arch/powerpc/platforms/ps3/system-bus.c:606:2-3: Unneeded semicolon > ./arch/powerpc/platforms/ps3/system-bus.c:765:2-3: Unneeded semicolon > > Reported-by: Abaci Robot > Signed-off-by: Yang Li > --- >

Re: [PATCH] powerpc/fault: fix wrong KUAP fault for IO_URING

2021-02-01 Thread Aneesh Kumar K.V
Nicholas Piggin writes: > Excerpts from Michael Ellerman's message of January 30, 2021 9:22 pm: >> Christophe Leroy writes: >>> +Aneesh >>> >>> Le 29/01/2021 à 07:52, Zorro Lang a écrit : >> .. [ 96.200296] [ cut here ] [ 96.200304] Bug: Read fault blocked

Re: [PATCH v4 11/23] powerpc/syscall: Rename syscall_64.c into syscall.c

2021-02-01 Thread Nicholas Piggin
Excerpts from Christophe Leroy's message of February 2, 2021 4:15 pm: > > > Le 28/01/2021 à 00:50, Nicholas Piggin a écrit : >> Excerpts from David Laight's message of January 26, 2021 8:28 pm: >>> From: Nicholas Piggin Sent: 26 January 2021 10:21 Excerpts from Christophe Leroy's

Re: [PATCH] ASoC: fsl_xcvr: remove unneeded semicolon

2021-02-01 Thread Shengjiu Wang
On Mon, Feb 1, 2021 at 4:08 PM Yang Li wrote: > > Eliminate the following coccicheck warning: > ./sound/soc/fsl/fsl_xcvr.c:739:2-3: Unneeded semicolon > > Reported-by: Abaci Robot > Signed-off-by: Yang Li Acked-by: Shengjiu Wang

Re: [PATCH] powerpc/fault: fix wrong KUAP fault for IO_URING

2021-02-01 Thread Aneesh Kumar K.V
On 2/2/21 11:32 AM, Christophe Leroy wrote: Le 02/02/2021 à 06:55, Aneesh Kumar K.V a écrit : Aneesh Kumar K.V writes: Nicholas Piggin writes: Excerpts from Michael Ellerman's message of January 30, 2021 9:22 pm: Christophe Leroy writes: +Aneesh Le 29/01/2021 à 07:52, Zorro Lang a

Re: [RFC 11/20] mm/tlb: remove arch-specific tlb_start/end_vma()

2021-02-01 Thread Nicholas Piggin
Excerpts from Peter Zijlstra's message of February 1, 2021 10:09 pm: > On Sat, Jan 30, 2021 at 04:11:23PM -0800, Nadav Amit wrote: > >> diff --git a/include/asm-generic/tlb.h b/include/asm-generic/tlb.h >> index 427bfcc6cdec..b97136b7010b 100644 >> --- a/include/asm-generic/tlb.h >> +++

Re: [PATCH v4 11/23] powerpc/syscall: Rename syscall_64.c into syscall.c

2021-02-01 Thread Christophe Leroy
Le 02/02/2021 à 07:38, Nicholas Piggin a écrit : Excerpts from Christophe Leroy's message of February 2, 2021 4:15 pm: Le 28/01/2021 à 00:50, Nicholas Piggin a écrit : Excerpts from David Laight's message of January 26, 2021 8:28 pm: From: Nicholas Piggin Sent: 26 January 2021 10:21

[RFC PATCH 5/9] powerpc/64s: Remove EXSLB interrupt save area

2021-02-01 Thread Nicholas Piggin
SLB faults should not be taken while the PACA save areas are live, so EXSLB is not be required. Signed-off-by: Nicholas Piggin --- arch/powerpc/include/asm/paca.h | 3 +-- arch/powerpc/kernel/asm-offsets.c| 1 - arch/powerpc/kernel/exceptions-64s.S | 5 - 3 files changed, 1

[PATCH] powerpc/prom_init: remove unneeded semicolon

2021-02-01 Thread Yang Li
Eliminate the following coccicheck warning: ./arch/powerpc/kernel/prom_init.c:2990:2-3: Unneeded semicolon Reported-by: Abaci Robot Signed-off-by: Yang Li --- arch/powerpc/kernel/prom_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/kernel/prom_init.c

[PATCH] KVM: PPC: remove unneeded semicolon

2021-02-01 Thread Yang Li
Eliminate the following coccicheck warning: ./arch/powerpc/kvm/booke.c:701:2-3: Unneeded semicolon Reported-by: Abaci Robot Signed-off-by: Yang Li --- arch/powerpc/kvm/booke.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/kvm/booke.c

[PATCH] dma-mapping: remove unneeded semicolon

2021-02-01 Thread Yang Li
Eliminate the following coccicheck warning: ./arch/powerpc/platforms/ps3/system-bus.c:606:2-3: Unneeded semicolon ./arch/powerpc/platforms/ps3/system-bus.c:765:2-3: Unneeded semicolon Reported-by: Abaci Robot Signed-off-by: Yang Li --- arch/powerpc/platforms/ps3/system-bus.c | 4 ++-- 1 file

Re: [PATCH] powerpc/fault: fix wrong KUAP fault for IO_URING

2021-02-01 Thread Aneesh Kumar K.V
On 2/2/21 11:50 AM, Christophe Leroy wrote: Le 02/02/2021 à 07:16, Aneesh Kumar K.V a écrit : On 2/2/21 11:32 AM, Christophe Leroy wrote: Le 02/02/2021 à 06:55, Aneesh Kumar K.V a écrit : Aneesh Kumar K.V writes: Nicholas Piggin writes: Excerpts from Michael Ellerman's message of

[RFC PATCH 2/9] KVM: PPC: Book3S 64: Move GUEST_MODE_SKIP test into KVM

2021-02-01 Thread Nicholas Piggin
Move the GUEST_MODE_SKIP logic into KVM code. This is quite a KVM internal detail that has no real need to be in common handlers. (XXX: Need to confirm CBE handlers etc) Signed-off-by: Nicholas Piggin --- arch/powerpc/kernel/exceptions-64s.S | 64

[RFC PATCH 1/9] KVM: PPC: Book3S 64: move KVM interrupt entry to a common entry point

2021-02-01 Thread Nicholas Piggin
Rather than bifurcate the call depending on whether or not HV is possible, and have the HV entry test for PR, just make a single common point which does the demultiplexing. This makes it simpler to add another type of exit handler. Signed-off-by: Nicholas Piggin ---

Re: [PATCH] powerpc/fault: fix wrong KUAP fault for IO_URING

2021-02-01 Thread Christophe Leroy
Le 02/02/2021 à 07:16, Aneesh Kumar K.V a écrit : On 2/2/21 11:32 AM, Christophe Leroy wrote: Le 02/02/2021 à 06:55, Aneesh Kumar K.V a écrit : Aneesh Kumar K.V writes: Nicholas Piggin writes: Excerpts from Michael Ellerman's message of January 30, 2021 9:22 pm: Christophe Leroy

[PATCH] powerpc/perf: Fix the guest crash issue with trace-imc

2021-02-01 Thread Athira Rajeev
when perf kvm record with trace_imc event is attach to guest pid(with -p option), the qemu process gets killed with permission issue. This happens because trace_imc event requires admin privileges to monitor the process.If the qemu creates threads, by default child tasks also inherit the counters

[RFC PATCH 6/9] KVM: PPC: Book3S HV: Move interrupt early register setup to KVM

2021-02-01 Thread Nicholas Piggin
Like the earlier patch for hcalls, KVM interrupt entry requires a different calling convention than the Linux interrupt handlers set up. Move the code that converts from one to the other into KVM. Signed-off-by: Nicholas Piggin --- arch/powerpc/kernel/exceptions-64s.S | 126

[RFC PATCH 9/9] KVM: PPC: Book3S HV: Implement the rest of the P9 entry/exit handling in C

2021-02-01 Thread Nicholas Piggin
Almost all logic is moved to C, by introducing a new in_guest mode that selects and branches very early in the interrupt handler to the P9 exit code. The remaining asm is a low level stack setup, with VCPU vs host register save and restore. Only the GPRs that might be touched by the compiler are

[PATCH] powerpc/64s: remove unneeded semicolon

2021-02-01 Thread Yang Li
Eliminate the following coccicheck warning: ./arch/powerpc/platforms/powernv/setup.c:160:2-3: Unneeded semicolon Reported-by: Abaci Robot Signed-off-by: Yang Li --- arch/powerpc/platforms/powernv/setup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH] powerpc/eeh: remove unneeded semicolon

2021-02-01 Thread Oliver O'Halloran
On Tue, Feb 2, 2021 at 2:21 PM Yang Li wrote: > > Eliminate the following coccicheck warning: > ./arch/powerpc/kernel/eeh.c:782:2-3: Unneeded semicolon Doesn't appear to be a load-bearing semicolon. It's hard to tell with EEH. Reviewed-by: Oliver O'Halloran > > Reported-by: Abaci Robot >

Re: [PATCH v7 00/42] powerpc: interrupt wrappers

2021-02-01 Thread Christophe Leroy
Le 30/01/2021 à 14:08, Nicholas Piggin a écrit : This adds interrupt handler wrapper functions, similar to the generic / x86 code, and moves several common operations into them from either asm or open coded in the individual handlers. This series is based on powerpc fixes-test tree, there's

Re: [PATCH v4 11/23] powerpc/syscall: Rename syscall_64.c into syscall.c

2021-02-01 Thread Christophe Leroy
Le 28/01/2021 à 00:50, Nicholas Piggin a écrit : Excerpts from David Laight's message of January 26, 2021 8:28 pm: From: Nicholas Piggin Sent: 26 January 2021 10:21 Excerpts from Christophe Leroy's message of January 26, 2021 12:48 am: syscall_64.c will be reused almost as is for PPC32.

[RFC PATCH 8/9] KVM: PPC: Book3S HV: Minimise hcall handler calling convention differences

2021-02-01 Thread Nicholas Piggin
Signed-off-by: Nicholas Piggin --- arch/powerpc/kernel/exceptions-64s.S | 16 +++- arch/powerpc/kvm/book3s_64_entry.S | 22 +++--- 2 files changed, 18 insertions(+), 20 deletions(-) diff --git a/arch/powerpc/kernel/exceptions-64s.S

[PATCH] cpufreq: Remove unused flag CPUFREQ_PM_NO_WARN

2021-02-01 Thread Viresh Kumar
This flag is set by one of the drivers but it isn't used in the code otherwise. Remove the unused flag and update the driver. Signed-off-by: Viresh Kumar --- Rebased over: https://lore.kernel.org/lkml/a59bb322b22c247d570b70a8e94067804287623b.1612241683.git.viresh.ku...@linaro.org/

Re: [PATCH] powerpc/fault: fix wrong KUAP fault for IO_URING

2021-02-01 Thread Aneesh Kumar K.V
Aneesh Kumar K.V writes: > Nicholas Piggin writes: > >> Excerpts from Michael Ellerman's message of January 30, 2021 9:22 pm: >>> Christophe Leroy writes: +Aneesh Le 29/01/2021 à 07:52, Zorro Lang a écrit : >>> .. > [ 96.200296] [ cut here ] > [

Re: [PATCH v4 02/10] powerpc/signal: Add unsafe_copy_{vsx, fpr}_from_user()

2021-02-01 Thread Christopher M. Riedl
On Mon Feb 1, 2021 at 10:54 AM CST, Gabriel Paubert wrote: > On Mon, Feb 01, 2021 at 09:55:44AM -0600, Christopher M. Riedl wrote: > > On Thu Jan 28, 2021 at 4:38 AM CST, David Laight wrote: > > > From: Christopher M. Riedl > > > > Sent: 28 January 2021 04:04 > > > > > > > > Reuse the "safe"

RE: [PATCH v4 02/10] powerpc/signal: Add unsafe_copy_{vsx, fpr}_from_user()

2021-02-01 Thread David Laight
From: Christopher M. Riedl > Sent: 01 February 2021 16:55 ... > > > > > + int i; > > > > > \ > > > > > + > > > > > \ > > > > > + unsafe_copy_from_user(buf, __f,

RE: [PATCH v4 02/10] powerpc/signal: Add unsafe_copy_{vsx, fpr}_from_user()

2021-02-01 Thread Christopher M. Riedl
On Mon Feb 1, 2021 at 11:37 AM CST, David Laight wrote: > From: Christopher M. Riedl > > Sent: 01 February 2021 16:55 > ... > > > > > > + int i; > > > > > > \ > > > > > > +