[PATCH] ALSA: emu10k1: Use dma_set_mask_and_coherent to simplify code

2020-11-21 Thread Christophe JAILLET
'pci_set_dma_mask()' + 'pci_set_consistent_dma_mask()' can be replaced by an equivalent 'dma_set_mask_and_coherent()' which is much less verbose. With at it replace the 'card->dev' parameter passed to a 'dev_err()' call by an equivalent '&pci->dev' which is more consistent with the test just one l

drivers/media/pci/intel/ipu3/ipu3-cio2.c:163:56: warning: implicit conversion from 'unsigned long' to 'u16' (aka 'unsigned short') changes value from 131072 to 0

2020-11-21 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 27bba9c532a8d21050b94224ffd310ad0058c353 commit: 7b285f41f7376dc37e7fad1e803995fd39f42848 media: ipu3-cio2: Introduce CIO2_LOP_ENTRIES constant date: 2 months ago config: arm64-randconfig-r031-20201121

Re: [PATCH] ALSA: emu10k1: Use dma_set_mask_and_coherent to simplify code

2020-11-21 Thread Takashi Iwai
On Sat, 21 Nov 2020 09:16:32 +0100, Christophe JAILLET wrote: > > 'pci_set_dma_mask()' + 'pci_set_consistent_dma_mask()' can be replaced by > an equivalent 'dma_set_mask_and_coherent()' which is much less verbose. It's a good cleanup, but ... > With at it replace the 'card->dev' parameter passed

I NEED YOUR URGENT RESPOND.

2020-11-21 Thread omra musa
>From Mr Omra Musa Bank Of Africa (B.O.A) Burkina Faso Ouagadougou My Dear Friend, Please I want you to read this letter very carefully and I must apologize for barging this message into your mail box without any formal introduction due to the urgency and confidential of this issue and I know tha

Re: [PATCH 068/141] ALSA: sb: Fix fall-through warnings for Clang

2020-11-21 Thread Takashi Iwai
On Fri, 20 Nov 2020 19:34:12 +0100, Gustavo A. R. Silva wrote: > > In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning > by explicitly adding a break statement instead of letting the code fall > through to the next case. > > Link: https://github.com/KSPP/linux/issues/115 > Si

Re: [PATCH 066/141] ALSA: hdspm: Fix fall-through warnings for Clang

2020-11-21 Thread Takashi Iwai
On Fri, 20 Nov 2020 19:33:52 +0100, Gustavo A. R. Silva wrote: > > In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning > by explicitly adding a break statement instead of letting the code fall > through to the next case. > > Link: https://github.com/KSPP/linux/issues/115 > Si

Re: [PATCH 067/141] ALSA: pcsp: Fix fall-through warnings for Clang

2020-11-21 Thread Takashi Iwai
On Fri, 20 Nov 2020 19:34:01 +0100, Gustavo A. R. Silva wrote: > > In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning > by explicitly adding a break statement instead of letting the code fall > through to the next case. > > Link: https://github.com/KSPP/linux/issues/115 > Si

Re: [PATCH] ALSA: aloop: Constify ops structs

2020-11-21 Thread Takashi Iwai
On Sat, 21 Nov 2020 00:10:46 +0100, Rikard Falkeborn wrote: > > The only usage of the ops field in the loopback_cable struct is to call > its members, the field it self is never changed. Make it a pointer to > const. This allows us to constify two static loopback_ops structs to > allow the compile

[RFC PATCH] blk-cgroup: prevent rcu_sched detected stalls warnings in blkg_destroy_all()

2020-11-21 Thread Yu Kuai
test procedures: a. create 2 cgroups, and echo "8:0 1" to blkio.throttle.write_bps_device b. echo 1 > /sys/blocd/sda/device/delete test result: CPU: 6 PID: 472 Comm: bash Not tainted 5.10.0-rc4-next-20201120-dirty #62 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS ?-2019

Re: [PATCH 4.19 00/14] 4.19.159-rc1 review

2020-11-21 Thread Pavel Machek
Hi! > This is the start of the stable review cycle for the 4.19.159 release. > There are 14 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses should be made by Sun, 22 Nov 2020 10:45:32 +

[PATCH V2] ALSA: emu10k1: Use dma_set_mask_and_coherent to simplify code

2020-11-21 Thread Christophe JAILLET
'pci_set_dma_mask()' + 'pci_set_consistent_dma_mask()' can be replaced by an equivalent 'dma_set_mask_and_coherent()' which is much less verbose. Signed-off-by: Christophe JAILLET --- v2: do not update the dev_err message, to keep consistency with other dev_err --- sound/pci/emu10k1/emu10k1x.c |

Re: [RFC PATCH v2 3/4] RISC-V: Initial DTS for Microchip ICICLE board

2020-11-21 Thread Anup Patel
On Sat, Nov 14, 2020 at 1:56 AM Atish Patra wrote: > > Add initial DTS for Microchip ICICLE board having only > essential devcies (clocks, sdhci, ethernet, serial, etc). > The device tree is based on the U-Boot patch. > > https://patchwork.ozlabs.org/project/uboot/patch/20201110103414.10142-6-padm

[PATCH 1/2] net: pch_gbe: Use dma_set_mask_and_coherent to simplify code

2020-11-21 Thread Christophe JAILLET
'pci_set_dma_mask()' + 'pci_set_consistent_dma_mask()' can be replaced by an equivalent 'dma_set_mask_and_coherent()' which is much less verbose. Signed-off-by: Christophe JAILLET --- .../net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c | 14 -- 1 file changed, 4 insertions(+), 10 dele

[PATCH 2/2] net: pch_gbe: Use 'dma_free_coherent()' to undo 'dma_alloc_coherent()'

2020-11-21 Thread Christophe JAILLET
Memory allocation are done with 'dma_alloc_coherent()'. Be consistent and use 'dma_free_coherent()' to free the corresponding memory. Signed-off-by: Christophe JAILLET --- drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff

Re: [PATCH] m68k: Fix WARNING splat in pmac_zilog driver

2020-11-21 Thread Geert Uytterhoeven
Hi Finn, On Sat, Nov 21, 2020 at 12:47 AM Finn Thain wrote: > On Fri, 20 Nov 2020, Geert Uytterhoeven wrote: > > On Fri, Nov 20, 2020 at 5:51 AM Finn Thain > > wrote: > > > Don't add platform resources that won't be used. This avoids a > > > recently-added warning from the driver core, that can

Re: [PATCH v3 1/2] epoll: add nsec timeout support with epoll_pwait2

2020-11-21 Thread Arnd Bergmann
On Fri, Nov 20, 2020 at 11:28 PM Willem de Bruijn wrote: > On Fri, Nov 20, 2020 at 2:23 PM Arnd Bergmann wrote: > > On Fri, Nov 20, 2020 at 5:01 PM Willem de Bruijn > > wrote: > > I think it'll be better to split the patchsets: > > epoll: convert internal api to timespec64 > epoll: add syscall

Re: [PATCH V2] ALSA: emu10k1: Use dma_set_mask_and_coherent to simplify code

2020-11-21 Thread Takashi Iwai
On Sat, 21 Nov 2020 09:37:47 +0100, Christophe JAILLET wrote: > > 'pci_set_dma_mask()' + 'pci_set_consistent_dma_mask()' can be replaced by > an equivalent 'dma_set_mask_and_coherent()' which is much less verbose. > > Signed-off-by: Christophe JAILLET > --- > v2: do not update the dev_err messag

[tip: x86/cleanups] x86/boot/compressed/64: Use TEST %reg,%reg instead of CMP $0,%reg

2020-11-21 Thread tip-bot2 for Uros Bizjak
The following commit has been merged into the x86/cleanups branch of tip: Commit-ID: ab09b58e4bdfdbcec425e54ebeaf6e209a96318f Gitweb: https://git.kernel.org/tip/ab09b58e4bdfdbcec425e54ebeaf6e209a96318f Author:Uros Bizjak AuthorDate:Thu, 29 Oct 2020 17:02:58 +01:00 Committe

Re: [PATCH v24 02/12] landlock: Add ruleset and domain management

2020-11-21 Thread Mickaël Salaün
On 21/11/2020 08:00, Jann Horn wrote: > On Thu, Nov 12, 2020 at 9:51 PM Mickaël Salaün wrote: >> A Landlock ruleset is mainly a red-black tree with Landlock rules as >> nodes. This enables quick update and lookup to match a requested >> access, e.g. to a file. A ruleset is usable through a ded

Re: [RFC PATCH] bpf: preload: Fix build error when O= is set

2020-11-21 Thread David Gow
On Sat, Nov 21, 2020 at 3:38 PM Andrii Nakryiko wrote: > > On Thu, Nov 19, 2020 at 12:51 AM David Gow wrote: > > > > If BPF_PRELOAD is enabled, and an out-of-tree build is requested with > > make O=, compilation seems to fail with: > > > > tools/scripts/Makefile.include:4: *** O=.kunit does not e

[PATCH] IB/qib: Use dma_set_mask_and_coherent to simplify code

2020-11-21 Thread Christophe JAILLET
'pci_set_dma_mask()' + 'pci_set_consistent_dma_mask()' can be replaced by an equivalent 'dma_set_mask_and_coherent()' which is much less verbose. Signed-off-by: Christophe JAILLET --- drivers/infiniband/hw/qib/qib_pcie.c | 11 ++- 1 file changed, 2 insertions(+), 9 deletions(-) diff --g

Re: [PATCH v24 07/12] landlock: Support filesystem access-control

2020-11-21 Thread Mickaël Salaün
On 21/11/2020 08:00, Jann Horn wrote: > On Thu, Nov 12, 2020 at 9:52 PM Mickaël Salaün wrote: >> Thanks to the Landlock objects and ruleset, it is possible to identify >> inodes according to a process's domain. To enable an unprivileged >> process to express a file hierarchy, it first needs to

Re: [PATCH v24 01/12] landlock: Add object management

2020-11-21 Thread Mickaël Salaün
On 21/11/2020 08:00, Jann Horn wrote: > On Thu, Nov 12, 2020 at 9:51 PM Mickaël Salaün wrote: >> A Landlock object enables to identify a kernel object (e.g. an inode). >> A Landlock rule is a set of access rights allowed on an object. Rules >> are grouped in rulesets that may be tied to a set o

Re: [RFC PATCH bpf-next 3/8] tcp: Migrate TCP_ESTABLISHED/TCP_SYN_RECV sockets in accept queues.

2020-11-21 Thread Kuniyuki Iwashima
From: Martin KaFai Lau Date: Thu, 19 Nov 2020 17:53:46 -0800 > On Fri, Nov 20, 2020 at 07:09:22AM +0900, Kuniyuki Iwashima wrote: > > From: Martin KaFai Lau > > Date: Wed, 18 Nov 2020 15:50:17 -0800 > > > On Tue, Nov 17, 2020 at 06:40:18PM +0900, Kuniyuki Iwashima wrote: > > > > This patch le

Re: [PATCH v6] cper, apei, mce: Pass x86 CPER through the MCA handling chain

2020-11-21 Thread Borislav Petkov
On Thu, Nov 19, 2020 at 12:29:38PM -0600, Smita Koralahalli wrote: > diff --git a/drivers/firmware/efi/cper-x86.c b/drivers/firmware/efi/cper-x86.c > index 2531de49f56c..438ed9eff6d0 100644 > --- a/drivers/firmware/efi/cper-x86.c > +++ b/drivers/firmware/efi/cper-x86.c > @@ -2,6 +2,7 @@ > // Copyr

Re: [PATCH v6 04/17] misc/habana: Use FOLL_LONGTERM for userptr

2020-11-21 Thread Oded Gabbay
On Thu, Nov 19, 2020 at 4:41 PM Daniel Vetter wrote: > > These are persistent, not just for the duration of a dma operation. > > Signed-off-by: Daniel Vetter > Cc: Jason Gunthorpe > Cc: Andrew Morton > Cc: John Hubbard > Cc: Jérôme Glisse > Cc: Jan Kara > Cc: Dan Williams > Cc: linux...@kva

Re: [RFC PATCH bpf-next 0/8] Socket migration for SO_REUSEPORT.

2020-11-21 Thread Kuniyuki Iwashima
From: Martin KaFai Lau Date: Thu, 19 Nov 2020 18:31:57 -0800 > On Fri, Nov 20, 2020 at 07:17:49AM +0900, Kuniyuki Iwashima wrote: > > From: Martin KaFai Lau > > Date: Wed, 18 Nov 2020 17:49:13 -0800 > > > On Tue, Nov 17, 2020 at 06:40:15PM +0900, Kuniyuki Iwashima wrote: > > > > The SO_RE

[PATCH] e1000e: remove the redundant value assignment in e1000_update_nvm_checksum_spt

2020-11-21 Thread xiakaixu1987
From: Kaixu Xia Both of the statements are value assignment of the variable act_offset. The first value assignment is overwritten by the second and is useless. Remove it. Reported-by: Tosk Robot Signed-off-by: Kaixu Xia --- drivers/net/ethernet/intel/e1000e/ich8lan.c | 7 --- 1 file chang

[PATCH] Documentation: Chinese translation of Documentation/arm64/elf_hwcaps.rst

2020-11-21 Thread Bailu Lin
This is a Chinese translated version of Documentation/arm64/elf_hwcaps.rst Signed-off-by: Bailu Lin --- Documentation/arm64/elf_hwcaps.rst| 2 + .../translations/zh_CN/arm64/elf_hwcaps.rst | 240 ++ .../translations/zh_CN/arm64/index.rst| 1 + 3 files c

Re: [PATCH] drm/mediatek: dsi: Modify horizontal front/back porch byte formula

2020-11-21 Thread Chun-Kuang Hu
Bilal Wasim 於 2020年11月20日 週五 上午8:30寫道: > > Hi CK, > > On Fri, 20 Nov 2020 07:23:35 +0800 > Chun-Kuang Hu wrote: > > > From: CK Hu > > > > In the patch to be fixed, horizontal_backporch_byte become to large > > for some panel, so roll back that patch. For small hfp or hbp panel, > > using vm->hfr

Re: [PATCH v6] cper, apei, mce: Pass x86 CPER through the MCA handling chain

2020-11-21 Thread Ard Biesheuvel
On Sat, 21 Nov 2020 at 11:15, Borislav Petkov wrote: > > On Thu, Nov 19, 2020 at 12:29:38PM -0600, Smita Koralahalli wrote: > > diff --git a/drivers/firmware/efi/cper-x86.c > > b/drivers/firmware/efi/cper-x86.c > > index 2531de49f56c..438ed9eff6d0 100644 > > --- a/drivers/firmware/efi/cper-x86.c

Re: [PATCH 1/2] kthread: Move prio/affinite change into the newly created thread

2020-11-21 Thread Thomas Gleixner
On Tue, Nov 17 2020 at 13:45, Peter Zijlstra wrote: > On Tue, Nov 10, 2020 at 12:38:47PM +0100, Sebastian Andrzej Siewior wrote: > > Moo... yes this is certainly the easiest solution, because nouveau is a > horrible rats nest. But when I spoke to Greg KH about this, he suggested > nouveau ought to

[tip: ras/core] x86/mce, cper: Pass x86 CPER through the MCA handling chain

2020-11-21 Thread tip-bot2 for Smita Koralahalli
The following commit has been merged into the ras/core branch of tip: Commit-ID: 4a24d80b8c3e9f89d6a6a7b89bd057c463b638d3 Gitweb: https://git.kernel.org/tip/4a24d80b8c3e9f89d6a6a7b89bd057c463b638d3 Author:Smita Koralahalli AuthorDate:Thu, 19 Nov 2020 12:29:38 -06:00 Commit

Re: [PATCH v6] cper, apei, mce: Pass x86 CPER through the MCA handling chain

2020-11-21 Thread Borislav Petkov
On Sat, Nov 21, 2020 at 11:38:02AM +0100, Ard Biesheuvel wrote: > Acked-by: Ard Biesheuvel Thanks! -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette

Re: [PATCH 1/1] pci: pciehp: Handle MRL interrupts to enable slot for hotplug.

2020-11-21 Thread Lukas Wunner
On Thu, Nov 19, 2020 at 02:08:07PM -0800, Raj, Ashok wrote: > On Thu, Nov 19, 2020 at 08:51:20AM +0100, Lukas Wunner wrote: > > If an Attention Button is present, the current behavior is to bring up > > the hotplug slot as soon as presence or link is detected. We don't wait > > for a button press.

Re: [PATCH 5.9 00/14] 5.9.10-rc1 review

2020-11-21 Thread Naresh Kamboju
On Fri, 20 Nov 2020 at 16:39, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.9.10 release. > There are 14 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Resp

Re: [PATCH v7 00/17] Add support for Clang LTO

2020-11-21 Thread Marc Zyngier
On 2020-11-20 23:53, Nick Desaulniers wrote: On Fri, Nov 20, 2020 at 3:30 PM Ard Biesheuvel wrote: On Fri, 20 Nov 2020 at 21:19, Nick Desaulniers wrote: > > On Fri, Nov 20, 2020 at 2:30 AM Ard Biesheuvel wrote: > > > > On Thu, 19 Nov 2020 at 00:42, Nick Desaulniers wrote: > > > > > > Tha

Re: [PATCH v4] fs/aio.c: Cosmetic

2020-11-21 Thread Alejandro Colomar
Hi Randy, Thanks for the review. Next time I'll do it in two parts, as you wished. Thanks, Alex On 11/21/20 2:22 AM, Randy Dunlap wrote: > On 11/20/20 2:06 PM, Alejandro Colomar wrote: >> Changes: >> - Consistently use 'unsigned int', instead of 'unsigned'. >> - Add a blank line after variable

Re: [PATCH 4.19 00/14] 4.19.159-rc1 review

2020-11-21 Thread Naresh Kamboju
On Fri, 20 Nov 2020 at 16:38, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.19.159 release. > There are 14 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Re

Re: [PATCH 4.14 00/17] 4.14.208-rc1 review

2020-11-21 Thread Naresh Kamboju
On Fri, 20 Nov 2020 at 16:36, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.14.208 release. > There are 17 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Re

Re: [PATCH 5.4 00/17] 5.4.79-rc1 review

2020-11-21 Thread Naresh Kamboju
On Fri, 20 Nov 2020 at 16:37, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.4.79 release. > There are 17 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Resp

RE: [RFC PATCH 5/5] locking/rwsem: Remove reader optimistic spinning

2020-11-21 Thread David Laight
From: Davidlohr Bueso > Sent: 20 November 2020 21:38 > > On Fri, 20 Nov 2020, David Laight wrote: > >I got massive performance improvements from changing a driver > >we have to use mutex instead of the old semaphores (the driver > >was written a long time ago). > > > >While these weren't 'rw' the

Re: [PATCH v3] checkpatch: add fix option for ASSIGNMENT_CONTINUATIONS

2020-11-21 Thread Aditya
On 20/11/20 11:32 pm, Aditya wrote: > On 20/11/20 10:56 pm, Joe Perches wrote: >> On Fri, 2020-11-20 at 16:11 +0530, Aditya wrote: >>> On 17/11/20 10:48 pm, Aditya Srivastava wrote: Currently, checkpatch warns us if an assignment operator is placed at the start of a line and not at the en

[PATCH v4] checkpatch: add fix option for ASSIGNMENT_CONTINUATIONS

2020-11-21 Thread Aditya Srivastava
Currently, checkpatch warns us if an assignment operator is placed at the start of a line and not at the end of previous line. E.g., running checkpatch on commit 8195b1396ec8 ("hv_netvsc: fix deadlock on hotplug") reports: CHECK: Assignment operator '=' should be on the previous line + stru

Re: [PATCH v4] checkpatch: add fix option for ASSIGNMENT_CONTINUATIONS

2020-11-21 Thread Joe Perches
On Sat, 2020-11-21 at 17:34 +0530, Aditya Srivastava wrote: > Currently, checkpatch warns us if an assignment operator is placed > at the start of a line and not at the end of previous line. Right, thanks. Acked-by: Joe Perches > > E.g., running checkpatch on commit 8195b1396ec8 ("hv_netvsc: f

Re: [PATCH v5 0/4] MT7621 PCIe PHY

2020-11-21 Thread Vinod Koul
On 20-11-20, 17:20, Sergio Paracuellos wrote: > Hi Vinod, > > On Thu, Nov 19, 2020 at 4:43 PM Sergio Paracuellos > wrote: > > > > This series adds support for the PCIe PHY found in the Mediatek > > MT7621 SoC. > > > > There is also a 'mt7621-pci' driver which is the controller part > > which is s

[PATCH v2] checkpatch: add fix option for LOGICAL_CONTINUATIONS

2020-11-21 Thread Aditya Srivastava
Currently, checkpatch warns if logical continuations are placed at the start of a line and not at the end of previous line. E.g., running checkpatch on commit 3485507fc272 ("staging: bcm2835-camera: Reduce length of enum names") reports: CHECK:LOGICAL_CONTINUATIONS: Logical continuations should b

Re: [PATCH v9 2/2] Add Intel LGM SoC DMA support.

2020-11-21 Thread Vinod Koul
On 20-11-20, 19:30, Reddy, MallikarjunaX wrote: > Hi Vinod, > > Thanks for the review. My comments inline. > > On 11/19/2020 1:38 AM, Vinod Koul wrote: > > On 12-11-20, 13:38, Amireddy Mallikarjuna reddy wrote: > > > Add DMA controller driver for Lightning Mountain (LGM) family of SoCs. > > > >

[PATCH] staging: rtl8723bs: remove redundant statements

2020-11-21 Thread xiakaixu1987
From: Kaixu Xia The bool variable is2T is true, so the if statement is redundant. we can directly set the variable bound to 8 and remove the if statement. Reported-by: Tosk Robot Signed-off-by: Kaixu Xia --- drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c | 7 +-- 1 file changed, 1 inserti

Re: [PATCH v9 1/2] dt-bindings: dma: Add bindings for Intel LGM SoC

2020-11-21 Thread Vinod Koul
On 20-11-20, 19:30, Reddy, MallikarjunaX wrote: > Hi Vinod, > Thanks for the review. My comments inline. > > On 11/18/2020 11:55 PM, Vinod Koul wrote: > > On 12-11-20, 13:38, Amireddy Mallikarjuna reddy wrote: > > > Add DT bindings YAML schema for DMA controller driver > > > of Lightning Mountain

Re: [PATCH 2/2] hwspinlock: add sunxi hardware spinlock support

2020-11-21 Thread fuyao
On Fri, Nov 20, 2020 at 05:42:31PM +0100, Maxime Ripard wrote: > Hi, > > On Thu, Nov 19, 2020 at 11:13:43AM +0100, Wilken Gottwalt wrote: > > On Thu, 19 Nov 2020 08:15:23 +0100 > > Maxime Ripard wrote: > > > > can you help me here a bit? I still try to figure out how to do patch > > > > sets > >

[rcu:dev.2020.11.19b] BUILD SUCCESS 81ed34a95adf97372ad0971b1e4e9e92096537c5

2020-11-21 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2020.11.19b branch HEAD: 81ed34a95adf97372ad0971b1e4e9e92096537c5 squash! srcu: Provide polling interfaces for Tree SRCU grace periods elapsed time: 722m configs tested: 97 configs skipped: 2 The followin

Re: [PATCH 060/141] habanalabs: Fix fall-through warnings for Clang

2020-11-21 Thread Oded Gabbay
On Fri, Nov 20, 2020 at 8:33 PM Gustavo A. R. Silva wrote: > > In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning > by explicitly adding a fallthrough pseudo-keyword instead of letting the > code fall through to the next case. > > Link: https://github.com/KSPP/linux/issues/11

[PATCH] habanalabs/gaudi: fix missing code in ECC handling

2020-11-21 Thread Oded Gabbay
There is missing statement and missing "break;" in the ECC handling code in gaudi.c This will cause a wrong behavior upon certain ECC interrupts. Signed-off-by: Oded Gabbay --- drivers/misc/habanalabs/gaudi/gaudi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/misc/habanalabs/gau

Re: [PATCH v4 10/18] dt-bindings: usb: Convert DWC USB3 bindings to DT schema

2020-11-21 Thread Rob Herring
On Thu, Nov 12, 2020 at 01:29:46PM +0300, Serge Semin wrote: > On Wed, Nov 11, 2020 at 02:14:23PM -0600, Rob Herring wrote: > > On Wed, Nov 11, 2020 at 12:08:45PM +0300, Serge Semin wrote: > > > DWC USB3 DT node is supposed to be compliant with the Generic xHCI > > > Controller schema, but with add

Re: [PATCH v4 02/18] dt-bindings: usb: Convert generic USB properties to DT schemas

2020-11-21 Thread Rob Herring
On Wed, 11 Nov 2020 12:08:37 +0300, Serge Semin wrote: > The generic USB properties have been described in the legacy bindings > text file: Documentation/devicetree/bindings/usb/generic.txt . Let's > convert its content into the generic USB, USB HCD and USB DRD DT > schemas. So the Generic USB sche

Re: [PATCH v2 1/2] ide/Falcon: Remove in_interrupt() usage.

2020-11-21 Thread Sebastian Andrzej Siewior
On 2020-11-20 14:35:35 [-0800], Andrew Morton wrote: > On Fri, 20 Nov 2020 10:24:20 +0100 Sebastian Andrzej Siewior > wrote: > > > falconide_get_lock() is called by ide_lock_host() and its caller > > (ide_issue_rq()) has already a might_sleep() check. > > > > stdma_lock() has wait_event() which

Re: [PATCH v6 03/17] misc/habana: Stop using frame_vector helpers

2020-11-21 Thread Oded Gabbay
On Thu, Nov 19, 2020 at 4:41 PM Daniel Vetter wrote: > > All we need are a pages array, pin_user_pages_fast can give us that > directly. Plus this avoids the entire raw pfn side of get_vaddr_frames. > > Note that pin_user_pages_fast is a safe replacement despite the > seeming lack of checking for

Re: [PATCH 1/2] dt-bindings: drm/bridge: anx7625: Add power supplies

2020-11-21 Thread Rob Herring
On Thu, Nov 12, 2020 at 04:37:03PM +0800, Hsin-Yi Wang wrote: > anx7625 requires 3 power supply regulators. > > Signed-off-by: Hsin-Yi Wang > --- > .../display/bridge/analogix,anx7625.yaml | 18 ++ > 1 file changed, 18 insertions(+) > > diff --git > a/Documentation/device

Re: [PATCH v1] dt-bindings: touchscreen: add touchscreen-read-duration-us and touchscreen-settling-time-us properties

2020-11-21 Thread Rob Herring
On Thu, 12 Nov 2020 12:20:48 +0100, Oleksij Rempel wrote: > According to the TI application bulletin [1] we deal with two generic > mechanisms which would affect the precision of provided input events: > > |TOUCH SCREEN SETTLING TIME > | > |When the touch panel is pressed or touched, there are >

Re: [PATCH 1/2] RISC-V: Update l2 cache DT documentation to add support for SiFive FU740

2020-11-21 Thread Rob Herring
On Thu, Nov 12, 2020 at 02:41:13PM +0530, Yash Shah wrote: > The L2 cache controller in SiFive FU740 has 4 ECC interrupt sources as > compared to 3 in FU540. Update the DT documentation accordingly with > "compatible" and "interrupt" property changes. > > Signed-off-by: Yash Shah > --- > .../dev

Re: [PATCH 1/3] dt-bindings: riscv: Add DT documentation for SiFive Bus Error Unit

2020-11-21 Thread Rob Herring
On Thu, 12 Nov 2020 17:30:55 +0530, Yash Shah wrote: > Add DT json-schema for SiFive Bus Error unit present in FU740-C000 chip > > Signed-off-by: Yash Shah > --- > .../devicetree/bindings/riscv/sifive-beu.yaml | 47 > ++ > 1 file changed, 47 insertions(+) > create mode

Re: [PATCH v3] dt-bindings: misc: convert fsl,qoriq-mc from txt to YAML

2020-11-21 Thread Rob Herring
On Thu, Nov 12, 2020 at 03:32:54PM +0200, Laurentiu Tudor wrote: > From: Ionut-robert Aron > > Convert fsl,qoriq-mc to YAML in order to automate the verification > process of dts files. In addition, update MAINTAINERS accordingly > and, while at it, add some missing files. > > Signed-off-by: Ion

kernel BUG at include/linux/highmem.h:LINE!

2020-11-21 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:7c8ca812 Add linux-next specific files for 20201117 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=16ea946a50 kernel config: https://syzkaller.appspot.com/x/.config?x=ff4bc71371dc5b13 dashboard

arm: lockdep complaining about static memory allocations

2020-11-21 Thread Jan Kardell
Jan Kardell skrev: Hi, I'm lifting our old barrier_braker code on an omap am3552 custom board, and building it on master per 13 november. I currently run it as an zImage-initramfs, but the board normally uses ubifs on nand flash. I get exceptions logged to dmesg, included snippets from the l

Re: [PATCH 072/141] can: peak_usb: Fix fall-through warnings for Clang

2020-11-21 Thread Marc Kleine-Budde
On 11/20/20 7:34 PM, Gustavo A. R. Silva wrote: > In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning > by explicitly adding a break statement instead of letting the code fall > through to the next case. > > Link: https://github.com/KSPP/linux/issues/115 > Signed-off-by: Gusta

Re: [PATCH] dt-bindings: fsl-imx-drm: fix example compatible string

2020-11-21 Thread Rob Herring
On Fri, 13 Nov 2020 18:06:19 +0300, Cengiz Can wrote: > Example `display-subsystem` has an incorrect compatible string. > > Required properties section tells that developers should use > "fsl,imx-display-subsystem" as "compatible" string but the example > misses 'imx-' prefix. > > Change example

Re: [PATCH v3 1/5] dt-bindings: clock: add dt binding header for mt7621 clocks

2020-11-21 Thread Rob Herring
On Fri, 13 Nov 2020 16:46:28 +0100, Sergio Paracuellos wrote: > Adds dt binding header for 'mediatek,mt7621-clk' clocks. > > Signed-off-by: Sergio Paracuellos > --- > include/dt-bindings/clock/mt7621-clk.h | 41 ++ > 1 file changed, 41 insertions(+) > create mode 100644

Re: [PATCH v3 2/5] dt: bindings: add mt7621-clk device tree binding documentation

2020-11-21 Thread Rob Herring
On Fri, Nov 13, 2020 at 04:46:29PM +0100, Sergio Paracuellos wrote: > Adds device tree binding documentation for clocks in the > MT7621 SOC. > > Signed-off-by: Sergio Paracuellos > --- > .../bindings/clock/mediatek,mt7621-clk.yaml | 61 +++ > 1 file changed, 61 insertions(+) >

Re: [PATCH v9 0/8] Carry forward IMA measurement log on kexec on ARM64

2020-11-21 Thread Rob Herring
On Fri, Nov 13, 2020 at 11:22:35AM -0800, Lakshmi Ramasubramanian wrote: > On kexec file load Integrity Measurement Architecture (IMA) subsystem > may verify the IMA signature of the kernel and initramfs, and measure > it. The command line parameters passed to the kernel in the kexec call > may als

[PATCH 4/4] fs/binfmt_elf.c: Cosmetic

2020-11-21 Thread Alejandro Colomar
Non-trivial changes: Invert 'if's to simplify logic. Use 'goto' in conjunction with the above, when appropriate. Signed-off-by: Alejandro Colomar --- fs/binfmt_elf.c | 115 +--- 1 file changed, 59 insertions(+), 56 deletions(-) diff --git a/fs/binfmt

[PATCH 1/4] fs/anon_inodes.c: Use "%s" + __func__ instead of hardcoding function name

2020-11-21 Thread Alejandro Colomar
Signed-off-by: Alejandro Colomar --- fs/anon_inodes.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/anon_inodes.c b/fs/anon_inodes.c index 89714308c25b..7609d208bb53 100644 --- a/fs/anon_inodes.c +++ b/fs/anon_inodes.c @@ -152,11 +152,11 @@ static int __init anon_inod

[PATCH 3/4] fs/attr.c, fs/bad_inode.c, fs/binfmt_aout.c, fs/binfmt_elf.c: Cosmetic

2020-11-21 Thread Alejandro Colomar
Slightly non-trivial changes: - Move declarations to the top of function definitions. - Split multiple assignments in a single line to multiple lines with a signle assignment each. Signed-off-by: Alejandro Colomar --- fs/attr.c| 5 ++--- fs/bad_inode.c | 5 +++-- fs/binfmt_aout.c

[PATCH 2/4] fs/anon_inodes.c, fs/attr.c, fs/bad_inode.c, fs/binfmt_aout.c, fs/binfmt_elf.c: Cosmetic

2020-11-21 Thread Alejandro Colomar
This patch contains only trivial changes: Some of them found with checkpatch.pl in strict mode. - Remove trailing whitespace. - Remove spaces coming before tabs. - Fix typos in comments. - Convert spaces into tabs. - Add a space around operators that should have them, and remove them when they s

[PATCH 0/4] Cosmetic

2020-11-21 Thread Alejandro Colomar
Hello Alexander, I passed chackpatch.pl to these files, and found many things to fix. I splitted the changes into a few different patches, to make it easier for review. Cheers, Alex Alejandro Colomar (4): fs/anon_inodes.c: Use "%s" + __func__ instead of hardcoding function name fs/ano

[PATCH v9 2/4] iommu: Add support to change default domain of an iommu group

2020-11-21 Thread Lu Baolu
From: Sai Praneeth Prakhya Presently, the default domain of an iommu group is allocated during boot time and it cannot be changed later. So, the device would typically be either in identity (also known as pass_through) mode or the device would be in DMA mode as long as the machine is up and runni

[PATCH v9 4/4] iommu: Document usage of "/sys/kernel/iommu_groups//type" file

2020-11-21 Thread Lu Baolu
From: Sai Praneeth Prakhya The default domain type of an iommu group can be changed by writing to "/sys/kernel/iommu_groups//type" file. Hence, document it's usage and more importantly spell out its limitations. Cc: Christoph Hellwig Cc: Joerg Roedel Cc: Ashok Raj Cc: Will Deacon Cc: Sohil M

Re: [PATCH v2 4/6] dt-binding: ata: tegra: Add dt-binding documentation for Tegra186

2020-11-21 Thread Rob Herring
On Fri, 13 Nov 2020 11:36:56 -0800, Sowjanya Komatineni wrote: > This patch adds dt-bindings documentation for Tegra186 AHCI > controller. > > Signed-off-by: Sowjanya Komatineni > --- > .../devicetree/bindings/ata/nvidia,tegra-ahci.yaml | 38 > ++ > 1 file changed, 38 insert

[PATCH v9 0/4] iommu: Add support to change default domain of

2020-11-21 Thread Lu Baolu
Hi, The description and last post of this series could be found here. https://lore.kernel.org/linux-iommu/20200925190620.18732-1-ashok@intel.com/ Change log in this series: 1. Changes according to comments at https://lore.kernel.org/linux-iommu/243ce89c33fe4b9da4c56ba35aceb...@huawei.c

[PATCH v9 3/4] iommu: Take lock before reading iommu group default domain type

2020-11-21 Thread Lu Baolu
From: Sai Praneeth Prakhya "/sys/kernel/iommu_groups//type" file could be read to find out the default domain type of an iommu group. The default domain of an iommu group doesn't change after booting and hence could be read directly. But, after addding support to dynamically change iommu group de

[PATCH v9 1/4] iommu: Move def_domain type check for untrusted device into core

2020-11-21 Thread Lu Baolu
So that the vendor iommu drivers are no more required to provide the def_domain_type callback to always isolate the untrusted devices. Link: https://lore.kernel.org/linux-iommu/243ce89c33fe4b9da4c56ba35aceb...@huawei.com/ Cc: Shameerali Kolothum Thodi Signed-off-by: Lu Baolu --- drivers/iommu/

Re: [PATCH 0/2] introduce sunxi hwspinlock

2020-11-21 Thread fuyao
On Fri, Nov 20, 2020 at 05:07:10PM +0100, Maxime Ripard wrote: > Hi! > > On Thu, Nov 19, 2020 at 02:44:51PM +0800, fu...@allwinnertech.com wrote: > > From: fuyao > > > > this series add hwspinlock of sunxi. it provides hardware assistance for > > synchronization between the multiple processors i

[PATCH 00/29] RFC: iov_iter: Switch to using an ops table

2020-11-21 Thread David Howells
Hi Pavel, Willy, Jens, Al, I had a go switching the iov_iter stuff away from using a type bitmask to using an ops table to get rid of the if-if-if-if chains that are all over the place. After I pushed it, someone pointed me at Pavel's two patches. I have another iterator class that I want to a

[PATCH 02/29] iov_iter: Split copy_page_to_iter()

2020-11-21 Thread David Howells
Split copy_page_to_iter() by type. Signed-off-by: David Howells --- lib/iov_iter.c | 44 +--- 1 file changed, 25 insertions(+), 19 deletions(-) diff --git a/lib/iov_iter.c b/lib/iov_iter.c index e403d524c797..fee8e99fbb9c 100644 --- a/lib/iov_iter.c ++

[PATCH 03/29] iov_iter: Split iov_iter_fault_in_readable

2020-11-21 Thread David Howells
Split iov_iter_fault_in_readable() by type. Signed-off-by: David Howells --- lib/iov_iter.c | 29 - 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/lib/iov_iter.c b/lib/iov_iter.c index fee8e99fbb9c..280b5c9c9a9c 100644 --- a/lib/iov_iter.c +++ b/li

[PATCH 04/29] iov_iter: Split the iterate_and_advance() macro

2020-11-21 Thread David Howells
Split the iterate_and_advance() macro into iovec, bvec, kvec and discard variants. It doesn't handle pipes. Signed-off-by: David Howells --- lib/iov_iter.c | 62 1 file changed, 62 insertions(+) diff --git a/lib/iov_iter.c b/lib/iov_i

Re: [PATCHv4 net-next 2/3] octeontx2-af: Add devlink health reporters for NPA

2020-11-21 Thread Jiri Pirko
Sat, Nov 21, 2020 at 05:02:00AM CET, george.cher...@marvell.com wrote: >Add health reporters for RVU NPA block. >NPA Health reporters handle following HW event groups > - GENERAL events > - ERROR events > - RAS events > - RVU event >An event counter per event is maintained in SW. > >Output: > # dev

[PATCH 06/29] iov_iter: Split copy_mc_to_iter()

2020-11-21 Thread David Howells
Split copy_mc_to_iter() by type. Signed-off-by: David Howells --- lib/iov_iter.c | 54 +- 1 file changed, 33 insertions(+), 21 deletions(-) diff --git a/lib/iov_iter.c b/lib/iov_iter.c index 0865e0b6eee9..7c1d92f7d020 100644 --- a/lib/iov_i

[PATCH 01/29] iov_iter: Switch to using a table of operations

2020-11-21 Thread David Howells
Switch to using a table of operations. In a future patch the individual methods will be split up by type. For the moment, however, the ops tables just jump directly to the old functions - which are now static. Inline wrappers are provided to jump through the hooks. Signed-off-by: David Howells

[PATCH 08/29] iov_iter: Split the iterate_all_kinds() macro

2020-11-21 Thread David Howells
Split the iterate_all_kinds() macro into iovec, bvec and kvec variants. It doesn't handle pipes and the discard variant is a no-op and can be built in directly. Signed-off-by: David Howells --- lib/iov_iter.c | 27 +++ 1 file changed, 27 insertions(+) diff --git a/lib

[PATCH 07/29] iov_iter: Split copy_from_iter()

2020-11-21 Thread David Howells
Split copy_from_iter() by type. Signed-off-by: David Howells --- lib/iov_iter.c | 50 -- 1 file changed, 32 insertions(+), 18 deletions(-) diff --git a/lib/iov_iter.c b/lib/iov_iter.c index 7c1d92f7d020..5b18dfe0dcc7 100644 --- a/lib/iov_iter.c

[PATCH 09/29] iov_iter: Split copy_from_iter_full()

2020-11-21 Thread David Howells
Split copy_from_iter_full() by type. Signed-off-by: David Howells --- lib/iov_iter.c | 59 +++- 1 file changed, 41 insertions(+), 18 deletions(-) diff --git a/lib/iov_iter.c b/lib/iov_iter.c index 934193627540..3dba665a1ee9 100644 --- a/lib

[PATCH 10/29] iov_iter: Split copy_from_iter_nocache()

2020-11-21 Thread David Howells
Split copy_from_iter_nocache() by type. Signed-off-by: David Howells --- lib/iov_iter.c | 38 +++--- 1 file changed, 23 insertions(+), 15 deletions(-) diff --git a/lib/iov_iter.c b/lib/iov_iter.c index 3dba665a1ee9..c57c2171f730 100644 --- a/lib/iov_iter.c +++

[PATCH 05/29] iov_iter: Split copy_to_iter()

2020-11-21 Thread David Howells
Split copy_to_iter() by type. Signed-off-by: David Howells --- lib/iov_iter.c | 47 +++ 1 file changed, 31 insertions(+), 16 deletions(-) diff --git a/lib/iov_iter.c b/lib/iov_iter.c index a221e7771201..0865e0b6eee9 100644 --- a/lib/iov_iter.c +++

[PATCH 11/29] iov_iter: Split copy_from_iter_flushcache()

2020-11-21 Thread David Howells
Split copy_from_iter_flushcache() by type. Signed-off-by: David Howells --- lib/iov_iter.c | 42 +- 1 file changed, 25 insertions(+), 17 deletions(-) diff --git a/lib/iov_iter.c b/lib/iov_iter.c index c57c2171f730..6b4739d7dd9a 100644 --- a/lib/iov_ite

[PATCH 12/29] iov_iter: Split copy_from_iter_full_nocache()

2020-11-21 Thread David Howells
Split copy_from_iter_full_nocache() by type. Signed-off-by: David Howells --- lib/iov_iter.c | 44 +--- 1 file changed, 29 insertions(+), 15 deletions(-) diff --git a/lib/iov_iter.c b/lib/iov_iter.c index 6b4739d7dd9a..544e532e3e9f 100644 --- a/lib/iov

[PATCH 15/29] iov_iter: Split copy_from_user_atomic()

2020-11-21 Thread David Howells
Split copy_from_user_atomic() by type. Signed-off-by: David Howells --- lib/iov_iter.c | 53 - 1 file changed, 40 insertions(+), 13 deletions(-) diff --git a/lib/iov_iter.c b/lib/iov_iter.c index 9a167f53ecff..a626d41fef72 100644 --- a/lib/

[PATCH 14/29] iov_iter: Split iov_iter_zero()

2020-11-21 Thread David Howells
Split iov_iter_zero() by type. Signed-off-by: David Howells --- lib/iov_iter.c | 40 +++- 1 file changed, 27 insertions(+), 13 deletions(-) diff --git a/lib/iov_iter.c b/lib/iov_iter.c index 54029aeab3ec..9a167f53ecff 100644 --- a/lib/iov_iter.c +++ b/lib/

[PATCH 17/29] iov_iter: Split iov_iter_revert()

2020-11-21 Thread David Howells
Split iov_iter_revert() by type. Signed-off-by: David Howells --- lib/iov_iter.c | 132 ++-- 1 file changed, 79 insertions(+), 53 deletions(-) diff --git a/lib/iov_iter.c b/lib/iov_iter.c index 9859b4b8a116..b8e3da20547e 100644 --- a/lib/iov

[PATCH 18/29] iov_iter: Split iov_iter_single_seg_count()

2020-11-21 Thread David Howells
Split iov_iter_single_seg_count() by type. Signed-off-by: David Howells --- lib/iov_iter.c | 31 ++- 1 file changed, 18 insertions(+), 13 deletions(-) diff --git a/lib/iov_iter.c b/lib/iov_iter.c index b8e3da20547e..90291188ace5 100644 --- a/lib/iov_iter.c +++ b/l

  1   2   3   4   >