Re: [PATCH 00/30] DMA: Mundane typo fixes

2021-03-28 Thread Bhaskar Chowdhury
On 07:29 Mon 29 Mar 2021, Christoph Hellwig wrote: I really don't think these typo patchbomb are that useful. I'm all for fixing typos when working with a subsystem, but I'm not sure these patchbombs help anything. I am sure you are holding the wrong end of the wand and grossly failing to unde

Re: [PATCH 00/30] DMA: Mundane typo fixes

2021-03-28 Thread Christoph Hellwig
I really don't think these typo patchbomb are that useful. I'm all for fixing typos when working with a subsystem, but I'm not sure these patchbombs help anything. On Mon, Mar 29, 2021 at 05:22:56AM +0530, Bhaskar Chowdhury wrote: > This patch series fixes some trivial and rudimentary spellings i

Re: [PATCH] powerpc/64s: power4 nap fixup in C

2021-03-28 Thread Michael Ellerman
Nicholas Piggin writes: > There is no need for this to be in asm, use the new intrrupt entry wrapper. > > Signed-off-by: Nicholas Piggin > --- > Hopefully this works on a real G5 now, but I couldn't reproduce the > problem with QEMU. It still prevents my G5 from booting. Next time someone is in

[PATCH v2] powerpc: Fix HAVE_HARDLOCKUP_DETECTOR_ARCH build configuration

2021-03-28 Thread Chen Huang
When compiling the powerpc with the SMP disabled, it shows the issue: arch/powerpc/kernel/watchdog.c: In function ‘watchdog_smp_panic’: arch/powerpc/kernel/watchdog.c:177:4: error: implicit declaration of function ‘smp_send_nmi_ipi’; did you mean ‘smp_send_stop’? [-Werror=implicit-function-decla

Re: [PATCH] powerpc: Fix HAVE_HARDLOCKUP_DETECTOR_ARCH build configuration

2021-03-28 Thread Chen Huang
在 2021/3/28 19:06, Christophe Leroy 写道: > > > Le 27/03/2021 à 10:49, Chen Huang a écrit : >> When compiling the powerpc with the SMP disabled, it shows the issue: >> >> arch/powerpc/kernel/watchdog.c: In function ‘watchdog_smp_panic’: >> arch/powerpc/kernel/watchdog.c:177:4: error: implicit de

RE: [PATCH v3 09/17] nios2: Convert to GENERIC_CMDLINE

2021-03-28 Thread Tan, Ley Foon
> -Original Message- > From: Christophe Leroy > Sent: Friday, March 26, 2021 9:45 PM > To: w...@kernel.org; danie...@cisco.com; r...@kernel.org; > dan...@gimpelevich.san-francisco.ca.us > Cc: linux-a...@vger.kernel.org; devicet...@vger.kernel.org; linuxppc- > d...@lists.ozlabs.org; linu

[PATCH 30/30] xilinx_dma.c: Fix a typo

2021-03-28 Thread Bhaskar Chowdhury
s/interace/interface/ Signed-off-by: Bhaskar Chowdhury --- drivers/dma/xilinx/xilinx_dma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/xilinx/xilinx_dma.c b/drivers/dma/xilinx/xilinx_dma.c index 3aded7861fef..63d2f447ad79 100644 --- a/drivers/dma/xilinx/xilinx

[PATCH 29/30] edma.c: Fix a typo

2021-03-28 Thread Bhaskar Chowdhury
s/transfering/transferring/ Signed-off-by: Bhaskar Chowdhury --- drivers/dma/ti/edma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/ti/edma.c b/drivers/dma/ti/edma.c index 35d81bd857f1..5ad771e34457 100644 --- a/drivers/dma/ti/edma.c +++ b/drivers/dma/ti/edma.c

[PATCH 28/30] usb-dmac.c: Fix a typo

2021-03-28 Thread Bhaskar Chowdhury
s/descritpor/descriptor/ Signed-off-by: Bhaskar Chowdhury --- drivers/dma/sh/usb-dmac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/sh/usb-dmac.c b/drivers/dma/sh/usb-dmac.c index 8f7ceb698226..7092a657932b 100644 --- a/drivers/dma/sh/usb-dmac.c +++ b/drivers/

[PATCH 27/30] dpaa2-qdma.c: Fix a typo

2021-03-28 Thread Bhaskar Chowdhury
s/contoller/controller/ Signed-off-by: Bhaskar Chowdhury --- drivers/dma/sh/shdmac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/sh/shdmac.c b/drivers/dma/sh/shdmac.c index 5aafe548ca5f..7b51b15b45b1 100644 --- a/drivers/dma/sh/shdmac.c +++ b/drivers/dma/sh/sh

[PATCH 26/30] dw-axi-dmac-platform.c: Few typos fixed

2021-03-28 Thread Bhaskar Chowdhury
s/configurarion/configuration/ s/inerrupts/interrupts/ s/chanels/channels/ two different places. s/Synopsys/Synopsis/ Signed-off-by: Bhaskar Chowdhury --- drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/dma/d

[PATCH 25/30] ste_dma40.c: Few spello fixes

2021-03-28 Thread Bhaskar Chowdhury
s/ealier/earlier/ s/orignal/original/ s/manouver/maneuver/ s/transfer/transfer/ s/succees/success/ Signed-off-by: Bhaskar Chowdhury --- drivers/dma/ste_dma40.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/dma/ste_dma40.c b/drivers/dma/ste_dma40.c index 2

[PATCH 24/30] Kconfig: Change Synopsys to Synopsis

2021-03-28 Thread Bhaskar Chowdhury
s/Synopsys/Synopsis/ .two different places. ..and for some unknown reason it introduce a empty line deleted and added back. Signed-off-by: Bhaskar Chowdhury --- drivers/dma/Kconfig | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/dma/Kconfig b/drivers/dma

[PATCH 23/30] dma-jz4780.c: Fix a typo

2021-03-28 Thread Bhaskar Chowdhury
s/proceeed/proceed/ Signed-off-by: Bhaskar Chowdhury --- drivers/dma/dma-jz4780.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/dma-jz4780.c b/drivers/dma/dma-jz4780.c index ebee94dbd630..451bc754b609 100644 --- a/drivers/dma/dma-jz4780.c +++ b/drivers/dma/dma-j

[PATCH 22/30] at_hdmac_regs.h: Couple of typo fixes

2021-03-28 Thread Bhaskar Chowdhury
s/availlable/available/ s/signle/single/ Signed-off-by: Bhaskar Chowdhury --- drivers/dma/at_hdmac_regs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/dma/at_hdmac_regs.h b/drivers/dma/at_hdmac_regs.h index 4d1ebc040031..46ecc40edaa8 100644 --- a/drivers/dma/at

[PATCH 21/30] owl-dma.c: Fix a typo

2021-03-28 Thread Bhaskar Chowdhury
s/Eventhough/"Even though"/ Signed-off-by: Bhaskar Chowdhury --- drivers/dma/owl-dma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/owl-dma.c b/drivers/dma/owl-dma.c index 1f0bbaed4643..3c7283afa443 100644 --- a/drivers/dma/owl-dma.c +++ b/drivers/dma/owl-dma.c

[PATCH 20/30] at_hdmac.c: Quite a few spello fixes

2021-03-28 Thread Bhaskar Chowdhury
s/tranfers/transfers/ s/maxium/maximum/ s/previouly/previously/ s/broked/broken/ s/embedds/embeds/ three different places. Signed-off-by: Bhaskar Chowdhury --- drivers/dma/at_hdmac.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/dma/at_hdmac.c b/

[PATCH 19/30] xgene-dma.c: Few spello fixes

2021-03-28 Thread Bhaskar Chowdhury
s/definations/definitions/ two different places. s/Configue/Configure/ Signed-off-by: Bhaskar Chowdhury --- drivers/dma/xgene-dma.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/dma/xgene-dma.c b/drivers/dma/xgene-dma.c index 3589b4ef50b8..9b0010b6e033 1

[PATCH 18/30] tegra20-apb-dma.c: Fixed a typo

2021-03-28 Thread Bhaskar Chowdhury
s/programing/programming/ Signed-off-by: Bhaskar Chowdhury --- drivers/dma/tegra20-apb-dma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/tegra20-apb-dma.c b/drivers/dma/tegra20-apb-dma.c index 71827d9b0aa1..e64789432587 100644 --- a/drivers/dma/tegra20-apb-dma

[PATCH 17/30] ste_dma40_ll.h: Fix a typo

2021-03-28 Thread Bhaskar Chowdhury
s/directy/directly/ Signed-off-by: Bhaskar Chowdhury --- drivers/dma/ste_dma40_ll.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/ste_dma40_ll.h b/drivers/dma/ste_dma40_ll.h index c504e855eb02..2e30e9a94a1e 100644 --- a/drivers/dma/ste_dma40_ll.h +++ b/drivers/d

[PATCH 16/30] st_fdma.h: Fix couple of typos

2021-03-28 Thread Bhaskar Chowdhury
s/transfert/transfer/ ...two different places. Signed-off-by: Bhaskar Chowdhury --- drivers/dma/st_fdma.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/dma/st_fdma.h b/drivers/dma/st_fdma.h index fa15b97a3bab..702b21021124 100644 --- a/drivers/dma/st_fdma.h +++

[PATCH 15/30] s3c24xx-dma.c: Few typos fixed

2021-03-28 Thread Bhaskar Chowdhury
s/transfered/transferred/ s/desintation/destination/ ...two different places. Signed-off-by: Bhaskar Chowdhury --- drivers/dma/s3c24xx-dma.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/dma/s3c24xx-dma.c b/drivers/dma/s3c24xx-dma.c index 8e14c72d03f0..045f2f

[PATCH 14/30] Revert "s3c24xx-dma.c: Fix a typo"

2021-03-28 Thread Bhaskar Chowdhury
s/transferred/transfered/ This reverts commit a2ddb8aea8106bd5552f8516ad7a8a26b9282a8f. --- drivers/dma/s3c24xx-dma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/s3c24xx-dma.c b/drivers/dma/s3c24xx-dma.c index c98ae73cdcc3..8e14c72d03f0 100644 --- a/drivers/dma

[PATCH 13/30] s3c24xx-dma.c: Fix a typo

2021-03-28 Thread Bhaskar Chowdhury
s/transfered/transferred/ Signed-off-by: Bhaskar Chowdhury --- drivers/dma/s3c24xx-dma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/s3c24xx-dma.c b/drivers/dma/s3c24xx-dma.c index 8e14c72d03f0..c98ae73cdcc3 100644 --- a/drivers/dma/s3c24xx-dma.c +++ b/drivers

[PATCH 12/30] of-dma.c: Fixed a typo

2021-03-28 Thread Bhaskar Chowdhury
s/propety/properly/ Signed-off-by: Bhaskar Chowdhury --- drivers/dma/of-dma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/of-dma.c b/drivers/dma/of-dma.c index ec00b20ae8e4..e028acff7fe8 100644 --- a/drivers/dma/of-dma.c +++ b/drivers/dma/of-dma.c @@ -337,7 +3

[PATCH 11/30] nbpfaxi.c: Fixed a typo

2021-03-28 Thread Bhaskar Chowdhury
s/superflous/superfluous/ Signed-off-by: Bhaskar Chowdhury --- drivers/dma/nbpfaxi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/nbpfaxi.c b/drivers/dma/nbpfaxi.c index 9c52c57919c6..9eacaa20ddb3 100644 --- a/drivers/dma/nbpfaxi.c +++ b/drivers/dma/nbpfaxi.c @

[PATCH 10/30] mv_xor_v2.c: Fix a typo

2021-03-28 Thread Bhaskar Chowdhury
s/assosiated/associated/ Signed-off-by: Bhaskar Chowdhury --- drivers/dma/mv_xor_v2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/mv_xor_v2.c b/drivers/dma/mv_xor_v2.c index 9b0d463f89bb..8a45861299a0 100644 --- a/drivers/dma/mv_xor_v2.c +++ b/drivers/dma/mv_x

[PATCH 09/30] mv_xor.h: Fixed a typo

2021-03-28 Thread Bhaskar Chowdhury
s/writen/written/ Signed-off-by: Bhaskar Chowdhury --- drivers/dma/mv_xor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/mv_xor.h b/drivers/dma/mv_xor.h index d86086b05b0e..c87cefd38a07 100644 --- a/drivers/dma/mv_xor.h +++ b/drivers/dma/mv_xor.h @@ -99,7 +99,7

[PATCH 08/30] mv_xor.c: Fix a typo

2021-03-28 Thread Bhaskar Chowdhury
s/capabilites/capabilities/ Signed-off-by: Bhaskar Chowdhury --- drivers/dma/mv_xor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/mv_xor.c b/drivers/dma/mv_xor.c index 23b232b57518..a43388b6a30d 100644 --- a/drivers/dma/mv_xor.c +++ b/drivers/dma/mv_xor.c @@ -

[PATCH 07/30] iop-adma.c: Few typos fixed

2021-03-28 Thread Bhaskar Chowdhury
s/asynchrounous/asynchronous/ s/depedency/dependency/ s/capabilites/capabilities/ Signed-off-by: Bhaskar Chowdhury --- drivers/dma/iop-adma.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/dma/iop-adma.c b/drivers/dma/iop-adma.c index 310b899d581f..81f32dc964e2

[PATCH 06/30] idma64.c: Fix couple of typos

2021-03-28 Thread Bhaskar Chowdhury
s/transfered/transferred/ ...two different places Signed-off-by: Bhaskar Chowdhury --- drivers/dma/idma64.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/dma/idma64.c b/drivers/dma/idma64.c index f4c07ad3be15..3d0d48b12e28 100644 --- a/drivers/dma/idma64.c +++

[PATCH 05/30] bcm2835-dma.c: Fix a typo

2021-03-28 Thread Bhaskar Chowdhury
s/missmatch/mismatch/ Signed-off-by: Bhaskar Chowdhury --- drivers/dma/bcm2835-dma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/bcm2835-dma.c b/drivers/dma/bcm2835-dma.c index 630dfbb01a40..e6baf17b0434 100644 --- a/drivers/dma/bcm2835-dma.c +++ b/drivers/dma

[PATCH 04/30] bcm-sba-raid.c: Few typos fixed

2021-03-28 Thread Bhaskar Chowdhury
s/Maibox/Mailbox/ s/alloced/allocated/ s/atleast/"at least"/ s/parallely/parallel/ Signed-off-by: Bhaskar Chowdhury --- drivers/dma/bcm-sba-raid.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/dma/bcm-sba-raid.c b/drivers/dma/bcm-sba-raid.c index 64239da02e7

[PATCH 03/30] amba-pl08x.c: Fixed couple of typos

2021-03-28 Thread Bhaskar Chowdhury
s/busses/buses/ s/accound/account/ Signed-off-by: Bhaskar Chowdhury --- drivers/dma/amba-pl08x.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/dma/amba-pl08x.c b/drivers/dma/amba-pl08x.c index a24882ba3764..d15182634789 100644 --- a/drivers/dma/amba-pl08x.c ++

[PATCH 02/30] altera-msgdma.c: Couple of typos fixed

2021-03-28 Thread Bhaskar Chowdhury
s/assosiated/associated/ s/oder/order/ Signed-off-by: Bhaskar Chowdhury --- drivers/dma/altera-msgdma.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/dma/altera-msgdma.c b/drivers/dma/altera-msgdma.c index 9a841ce5f0c5..c3483bf2aaa7 100644 --- a/drivers/dma/alte

[PATCH 01/30] acpi-dma.c: Fix couple of typos

2021-03-28 Thread Bhaskar Chowdhury
s/exctract/extract/ s/avaiable/available/ Signed-off-by: Bhaskar Chowdhury --- drivers/dma/acpi-dma.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/dma/acpi-dma.c b/drivers/dma/acpi-dma.c index 235f1396f968..4b1d5183bf64 100644 --- a/drivers/dma/acpi-dma.c +++

[PATCH 00/30] DMA: Mundane typo fixes

2021-03-28 Thread Bhaskar Chowdhury
This patch series fixes some trivial and rudimentary spellings in the COMMENT sections. Bhaskar Chowdhury (30): acpi-dma.c: Fix couple of typos altera-msgdma.c: Couple of typos fixed amba-pl08x.c: Fixed couple of typos bcm-sba-raid.c: Few typos fixed bcm2835-dma.c: Fix a typo idma64.c:

Re: [PATCH] powerpc/process: Enhance readability for trap types.

2021-03-28 Thread Xiongwei Song
> On Mar 28, 2021, at 11:21 PM, Christophe Leroy > wrote: > > > > Le 28/03/2021 à 16:35, Xiongwei Song a écrit : >> From: Xiongwei Song >> Define macros to enhance the code readability on ppc trap types. > > Good idea > >> Signed-off-by: Xiongwei Song >> --- >> arch/powerpc/kernel/proce

[PATCH] powerpc/process: Enhance readability for trap types.

2021-03-28 Thread Xiongwei Song
From: Xiongwei Song Define macros to enhance the code readability on ppc trap types. Signed-off-by: Xiongwei Song --- arch/powerpc/kernel/process.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/powerpc/kernel/process.c b/arch/powerpc/kernel/process.c index 3231c

Re: [PATCH] powerpc/process: Enhance readability for trap types.

2021-03-28 Thread Christophe Leroy
Le 28/03/2021 à 16:35, Xiongwei Song a écrit : From: Xiongwei Song Define macros to enhance the code readability on ppc trap types. Good idea Signed-off-by: Xiongwei Song --- arch/powerpc/kernel/process.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/

[PATCH] powerpc/signal32: Fix Oops on sigreturn with unmapped VDSO

2021-03-28 Thread Christophe Leroy
PPC32 encounters a KUAP fault when trying to handle a signal with VDSO unmapped. Kernel attempted to read user page (7fc07ec0) - exploit attempt? (uid: 0) BUG: Unable to handle kernel data access on read at 0x7fc07ec0 Faulting instruction address: 0xc00111d4 Oops:

Re: [PATCH v5 4/7] powerpc/qspinlock: Add ARCH_USE_QUEUED_SPINLOCKS_XCHG32

2021-03-28 Thread Guo Ren
On Sun, Mar 28, 2021 at 7:14 PM Christophe Leroy wrote: > > > > Le 28/03/2021 à 08:30, guo...@kernel.org a écrit : > > From: Guo Ren > > > > We don't have native hw xchg16 instruction, so let qspinlock > > generic code to deal with it. > > We have lharx/sthcx pair on some versions of powerpc. > >

Re: [PATCH v5 4/7] powerpc/qspinlock: Add ARCH_USE_QUEUED_SPINLOCKS_XCHG32

2021-03-28 Thread Christophe Leroy
Le 28/03/2021 à 08:30, guo...@kernel.org a écrit : From: Guo Ren We don't have native hw xchg16 instruction, so let qspinlock generic code to deal with it. We have lharx/sthcx pair on some versions of powerpc. See https://patchwork.ozlabs.org/project/linuxppc-dev/patch/20201107032328.245

Re: [PATCH] powerpc: Fix HAVE_HARDLOCKUP_DETECTOR_ARCH build configuration

2021-03-28 Thread Christophe Leroy
Le 27/03/2021 à 10:49, Chen Huang a écrit : When compiling the powerpc with the SMP disabled, it shows the issue: arch/powerpc/kernel/watchdog.c: In function ‘watchdog_smp_panic’: arch/powerpc/kernel/watchdog.c:177:4: error: implicit declaration of function ‘smp_send_nmi_ipi’; did you mean ‘