[PATCH v3 6/6] ARM: dts: Add dts for RPi4b + Cirrus Logic Lochnagar2 + CS47L15

2020-12-17 Thread Richard Fitzgerald
This adds a devicetree configuration for Raspberry Pi 4b connected to Cirrus Logic Lochnagar 2 audio development board and CS47L15 codec. The common (codec-independent) Lochnagar 2 configuration is separated into a dtsi to simplify re-using it for other codecs. Signed-off-by: Richard Fitzgerald

[PATCH v3 2/6] ASoC: audio-graph-card: Add plls and sysclks DT bindings

2020-12-17 Thread Richard Fitzgerald
The audio-graph-card driver has bindings for configuring the clocking for DAIs within a component, but is missing bindings for setting up the PLLs and sysclks of the component. This patch adds the two new bindings 'plls' and 'sysclks' so that the audio-graph-driver can fully configure the

Re: [PATCH 0/3] add support for metadata encryption to F2FS

2020-12-17 Thread Satya Tangirala
On Sat, Oct 10, 2020 at 05:53:06PM +0800, Chao Yu wrote: > On 2020/10/5 15:36, Satya Tangirala wrote: > > This patch series adds support for metadata encryption to F2FS using > > blk-crypto. > > It looks this implementation is based on hardware crypto engine, could you > please add this info into

Re: [PATCH RFC 1/2] Documentation: devicetree: Add property for ignoring the dummy bits sent before read transfer

2020-12-17 Thread Rob Herring
On Thu, Dec 17, 2020 at 7:48 AM Aswath Govindraju wrote: > > Hi Rob, > > On 15/12/20 9:42 pm, Aswath Govindraju wrote: > > Hi Rob, > > On 15/12/20 3:53 am, Rob Herring wrote: > >> On Fri, Dec 11, 2020 at 08:34:57PM +0530, Aswath Govindraju wrote: > >>> Hi, > >>> On 11/12/20 9:03 am, Rob Herring

Re: [PATCH v2 7/8] usb: host: ehci-tegra: Remove the driver

2020-12-17 Thread Alan Stern
On Thu, Dec 17, 2020 at 12:40:06PM +0300, Dmitry Osipenko wrote: > The ChipIdea driver now provides USB2 host mode support for NVIDIA Tegra > SoCs. The ehci-tegra driver is obsolete now, remove it and redirect the > older Kconfig entry to the CI driver. > > Tested-by: Matt Merhar > Tested-by:

Re: [External] Re: [PATCH v10 00/11] Free some vmemmap pages of HugeTLB page

2020-12-17 Thread Muchun Song
On Thu, Dec 17, 2020 at 11:00 PM Oscar Salvador wrote: > > On Thu, Dec 17, 2020 at 08:12:52PM +0800, Muchun Song wrote: > > In this case, for the 1GB HugeTLB page, we can save 4088 pages(There are > > 4096 pages for struct page structs, we reserve 2 pages for vmemmap and 8 > > pages for page

KASAN: null-ptr-deref Read in filp_close

2020-12-17 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:5e60366d Merge tag 'fallthrough-fixes-clang-5.11-rc1' of g.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=15f1541350 kernel config: https://syzkaller.appspot.com/x/.config?x=db720fe37a6a41d8

Re: [PATCH] kfence: fix typo in test

2020-12-17 Thread Alexander Potapenko
On Wed, Dec 16, 2020 at 12:44 AM Marco Elver wrote: > > On Wed, 16 Dec 2020 at 00:31, Marco Elver wrote: > > Fix a typo/accidental copy-paste that resulted in the obviously > > incorrect 'GFP_KERNEL * 2' expression. > > > > Reported-by: kernel test robot > > Signed-off-by: Marco Elver

[PATCH v5 0/9] Add k/uprobe & fentry & error_injection supported

2020-12-17 Thread guoren
From: Guo Ren This the 5th round of riscv k/uprobe support patchset, it's based on linux-5.10 and you can test it with the repo: https://github.com/c-sky/csky-linux/tree/linux-5.10-probe-dev The important fixup is about the trampoline call site, we change the prologue of the function call

Re: [PATCH RFC 1/2] Documentation: devicetree: Add property for ignoring the dummy bits sent before read transfer

2020-12-17 Thread Aswath Govindraju
Hi Rob, On 17/12/20 9:18 pm, Rob Herring wrote: > On Thu, Dec 17, 2020 at 7:48 AM Aswath Govindraju wrote: >> >> Hi Rob, >> >> On 15/12/20 9:42 pm, Aswath Govindraju wrote: >>> Hi Rob, >>> On 15/12/20 3:53 am, Rob Herring wrote: On Fri, Dec 11, 2020 at 08:34:57PM +0530, Aswath Govindraju

[PATCH v5 1/9] RISC-V: Implement ptrace regs and stack API

2020-12-17 Thread guoren
From: Patrick Stählin Needed for kprobes support. Copied and adapted from arm64 code. Guo Ren fixup pt_regs type for linux-5.8-rc1. Signed-off-by: Patrick Stählin Signed-off-by: Guo Ren Reviewed-by: Pekka Enberg Reviewed-by: Zong Li Reviewed-by: Masami Hiramatsu --- arch/riscv/Kconfig

[PATCH v5 3/9] riscv: Fixup wrong ftrace remove cflag

2020-12-17 Thread guoren
From: Guo Ren We must use $(CC_FLAGS_FTRACE) instead of directly using -pg. It will cause -fpatchable-function-entry error. Signed-off-by: Guo Ren --- arch/riscv/kernel/Makefile | 4 ++-- arch/riscv/mm/Makefile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH v5 4/9] riscv: Fixup patch_text panic in ftrace

2020-12-17 Thread guoren
From: Guo Ren Just like arm64, we can't trace the function in the patch_text path. Here is the bug log: [ 45.234334] Unable to handle kernel paging request at virtual address ffd38ae80900 [ 45.242313] Oops [#1] [ 45.244600] Modules linked in: [ 45.247678] CPU: 0 PID: 11 Comm:

[PATCH v5 5/9] riscv: Using PATCHABLE_FUNCTION_ENTRY instead of MCOUNT

2020-12-17 Thread guoren
From: Guo Ren This patch changes the current detour mechanism of dynamic ftrace which has been discussed during LPC 2020 RISCV-MC [1]. Before the patch, we used mcount for detour: : addi sp,sp,-16 sd ra,8(sp) sd s0,0(sp) addi s0,sp,16 mv a5,ra

UBSAN: invalid-load in param_get_bool

2020-12-17 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:accefff5 Merge tag 'arm-soc-omap-genpd-5.11' of git://git... git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1238561350 kernel config: https://syzkaller.appspot.com/x/.config?x=5d42216b510180e3

[PATCH v3 0/5] Backport of patch series for stable 4.4 branch

2020-12-17 Thread SeongJae Park
From: SeongJae Park Changes from v2 (https://lore.kernel.org/stable/20201217130501.12702-1-sjp...@amazon.com/) - Move 'nr_pending' increase from 5th patch to 4th patch Changes from v1 (https://lore.kernel.org/stable/20201217081727.8253-1-sjp...@amazon.com/) - Remove wrong 'Signed-off-by' lines

[PATCH v5 2/9] riscv: Fixup compile error BUILD_BUG_ON failed

2020-12-17 Thread guoren
From: Guo Ren Unfortunately, the current code couldn't be compiled: CC arch/riscv/kernel/patch.o In file included from ./include/linux/kernel.h:11, from ./include/linux/list.h:9, from ./include/linux/preempt.h:11, from

[PATCH v5 6/9] riscv: Add kprobes supported

2020-12-17 Thread guoren
From: Guo Ren This patch enables "kprobe & kretprobe" to work with ftrace interface. It utilized software breakpoint as single-step mechanism. Some instructions which can't be single-step executed must be simulated in kernel execution slot, such as: branch, jal, auipc, la ... Some instructions

[PATCH v3 2/5] xen/xenbus: Add 'will_handle' callback support in xenbus_watch_path()

2020-12-17 Thread SeongJae Park
From: SeongJae Park Some code does not directly make 'xenbus_watch' object and call 'register_xenbus_watch()' but use 'xenbus_watch_path()' instead. This commit adds support of 'will_handle' callback in the 'xenbus_watch_path()' and it's wrapper, 'xenbus_watch_pathfmt()'. This is part of

[PATCH v3 1/5] xen/xenbus: Allow watches discard events before queueing

2020-12-17 Thread SeongJae Park
From: SeongJae Park If handling logics of watch events are slower than the events enqueue logic and the events can be created from the guests, the guests could trigger memory pressure by intensively inducing the events, because it will create a huge number of pending events that exhausting the

[PATCH v5 7/9] riscv: Add KPROBES_ON_FTRACE supported

2020-12-17 Thread guoren
From: Guo Ren This patch adds support for kprobes on ftrace call sites to avoids much of the overhead with regular kprobes. Try it with simple steps: echo 'p:myprobe sys_clone a0=%a0 a1=%a1 stack_val=+4($stack)' > /sys/kernel/de bug/tracing/kprobe_events echo 1 >

Re: [RFC 0/4] vfio-pci/zdev: Fixing s390 vfio-pci ISM support

2020-12-17 Thread Matthew Rosato
On 12/17/20 7:59 AM, Cornelia Huck wrote: On Fri, 11 Dec 2020 10:04:43 -0500 Matthew Rosato wrote: On 12/11/20 10:01 AM, Matthew Rosato wrote: On 12/11/20 9:35 AM, Cornelia Huck wrote: Let me summarize this to make sure I understand this new region correctly: - some devices may have

[PATCH v3 4/5] xen/xenbus: Count pending messages for each watch

2020-12-17 Thread SeongJae Park
From: SeongJae Park This commit adds a counter of pending messages for each watch in the struct. It is used to skip unnecessary pending messages lookup in 'unregister_xenbus_watch()'. It could also be used in 'will_handle' callback. This is part of XSA-349 This is upstream commit

[PATCH v5 8/9] riscv: Add uprobes supported

2020-12-17 Thread guoren
From: Guo Ren This patch adds support for uprobes on riscv architecture. Just like kprobe, it support single-step and simulate instructions. Signed-off-by: Guo Ren Reviewed-by: Pekka Enberg Cc: Oleg Nesterov Cc: Masami Hiramatsu Cc: Palmer Dabbelt --- arch/riscv/Kconfig

[PATCH v3 3/5] xen/xenbus/xen_bus_type: Support will_handle watch callback

2020-12-17 Thread SeongJae Park
From: SeongJae Park This commit adds support of the 'will_handle' watch callback for 'xen_bus_type' users. This is part of XSA-349 This is upstream commit be987200fbaceaef340872841d4f7af2c5ee8dc3 Cc: sta...@vger.kernel.org Signed-off-by: SeongJae Park Reported-by: Michael Kurth Reported-by:

[PATCH v5 9/9] riscv: Add support for function error injection

2020-12-17 Thread guoren
From: Guo Ren Inspired by the commit 42d038c4fb00 ("arm64: Add support for function error injection"), this patch supports function error injection for riscv. This patch mainly support two functions: one is regs_set_return_value() which is used to overwrite the return value; the another

[PATCH v3 5/5] xenbus/xenbus_backend: Disallow pending watch messages

2020-12-17 Thread SeongJae Park
From: SeongJae Park 'xenbus_backend' watches 'state' of devices, which is writable by guests. Hence, if guests intensively updates it, dom0 will have lots of pending events that exhausting memory of dom0. In other words, guests can trigger dom0 memory pressure. This is known as XSA-349.

[PATCH net-next] net: mvpp2: prs: improve ipv4 parse flow

2020-12-17 Thread stefanc
From: Stefan Chulski Patch didn't fix any issue, just improve parse flow and align ipv4 parse flow with ipv6 parse flow. Currently ipv4 kenguru parser first check IP protocol(TCP/UDP) and then destination IP address. Patch introduce reverse ipv4 parse, first destination IP address parsed and

Re: [PATCH] remoteproc: Create a separate workqueue for recovery tasks

2020-12-17 Thread Alex Elder
On 12/15/20 4:55 PM, Bjorn Andersson wrote: On Sat 12 Dec 14:48 CST 2020, Rishabh Bhatnagar wrote: Create an unbound high priority workqueue for recovery tasks. I have been looking at a different issue that is caused by crash notification. What happened was that the modem crashed while the

Re: keembay-ocs-aes-core.c:undefined reference to `devm_ioremap_resource'

2020-12-17 Thread Alessandrelli, Daniele
pport for Keem Bay OCS AES/SM4 > date: 6 days ago > config: s390-randconfig-c004-20201217 (attached as .config) > compiler: s390-linux-gcc (GCC) 9.3.0 > reproduce (this is a W=1 build): > wget > https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross >

[PATCH] f2fs-tools: man page fix for sload compression

2020-12-17 Thread Robin Hsu
From: Robin Hsu Fix man page for sload.f2fs compression support Signed-off-by: Robin Hsu --- man/sload.f2fs.8 | 94 ++-- 1 file changed, 84 insertions(+), 10 deletions(-) diff --git a/man/sload.f2fs.8 b/man/sload.f2fs.8 index d07330c..c165b35

Re: [PATCH 1/3] vfs: add new f_op->syncfs vector

2020-12-17 Thread Vivek Goyal
On Thu, Dec 17, 2020 at 10:57:28AM +0100, Jan Kara wrote: > On Thu 17-12-20 00:49:35, Al Viro wrote: > > [Christoph added to Cc...] > > On Wed, Dec 16, 2020 at 06:31:47PM -0500, Vivek Goyal wrote: > > > Current implementation of __sync_filesystem() ignores the return code > > > from ->sync_fs(). I

Re: [PATCH] f2fs-tools: man page fix for sload compression

2020-12-17 Thread Jaegeuk Kim
Applied into the original patch. Thanks~ On 12/18, Robin Hsu wrote: > From: Robin Hsu > > Fix man page for sload.f2fs compression support > > Signed-off-by: Robin Hsu > --- > man/sload.f2fs.8 | 94 ++-- > 1 file changed, 84 insertions(+), 10

[bisected] Re: drm, qxl: post 5.11 merge warning+explosion

2020-12-17 Thread Mike Galbraith
ee5d2a8e549e90325fcc31825269f89647cd6fac is the first bad commit commit ee5d2a8e549e90325fcc31825269f89647cd6fac Author: Christian König Date: Sat Oct 24 13:10:28 2020 +0200 drm/ttm: wire up the new pool as default one v2 Provide the necessary parameters by all drivers and use the new

Re: [bisected] Re: drm, qxl: post 5.11 merge warning+explosion

2020-12-17 Thread Christian König
Hi Mike, what exactly is the warning from qxl you are seeing? Thanks, Christian. Am 17.12.20 um 17:21 schrieb Mike Galbraith: ee5d2a8e549e90325fcc31825269f89647cd6fac is the first bad commit commit ee5d2a8e549e90325fcc31825269f89647cd6fac Author: Christian König Date: Sat Oct 24 13:10:28

Re: New objtool warning..

2020-12-17 Thread Josh Poimboeuf
On Thu, Dec 17, 2020 at 11:45:56AM +0100, Peter Zijlstra wrote: > On Wed, Dec 16, 2020 at 02:01:58PM -0600, Josh Poimboeuf wrote: > > So this is kind of tricky, because the unreachable() annotation usually > > means "the previous instruction is a dead end". Most of the time, the > > next

[PATCH] ASoC: wm8962: Add optional mclk device tree binding

2020-12-17 Thread Adam Ford
The driver can request an optional clock for mclk. Update the txt file to reflect this. Suggested-by: Geert Uytterhoeven Signed-off-by: Adam Ford diff --git a/Documentation/devicetree/bindings/sound/wm8962.txt b/Documentation/devicetree/bindings/sound/wm8962.txt index

[GIT PULL] Ceph updates for 5.11-rc1

2020-12-17 Thread Ilya Dryomov
Hi Linus, The following changes since commit 2c85ebc57b3e1817b6ce1a6b703928e113a90442: Linux 5.10 (2020-12-13 14:41:30 -0800) are available in the Git repository at: https://github.com/ceph/ceph-client.git tags/ceph-for-5.11-rc1 for you to fetch changes up to

Re: [PATCH 1/1] mwifiex: Fix possible buffer overflows in mwifiex_config_scan

2020-12-17 Thread Kalle Valo
Brian Norris writes: > On Tue, Dec 8, 2020 at 7:14 AM Xiaohui Zhang wrote: >> >> From: Zhang Xiaohui >> >> mwifiex_config_scan() calls memcpy() without checking >> the destination size may trigger a buffer overflower, >> which a local user could use to cause denial of service >> or the

Re: [PATCH v1 ] ALSA: core: memalloc: add page alignment for iram

2020-12-17 Thread Takashi Iwai
On Thu, 17 Dec 2020 16:38:22 +0100, Lars-Peter Clausen wrote: > > >> Maybe what we need is a check that runtime->dma_area is page aligned > >> and runtime->dma_bytes is a multiple of PAGE_SIZE. With a warning at > >> first and then turn this into a error a year later or so. > > OK, how about the

Re: [bisected] Re: drm, qxl: post 5.11 merge warning+explosion

2020-12-17 Thread Mike Galbraith
On Thu, 2020-12-17 at 17:24 +0100, Christian König wrote: > Hi Mike, > > what exactly is the warning from qxl you are seeing? [1.815561] WARNING: CPU: 7 PID: 355 at drivers/gpu/drm/ttm/ttm_pool.c:365 ttm_pool_alloc+0x41b/0x540 [ttm] [1.815561] Modules linked in: ext4(E) crc16(E)

[PATCH RESEND v4] riscv: Enable per-task stack canaries

2020-12-17 Thread guoren
From: Guo Ren This enables the use of per-task stack canary values if GCC has support for emitting the stack canary reference relative to the value of tp, which holds the task struct pointer in the riscv kernel. After compare arm64 and x86 implementations, seems arm64's is more flexible and

Re: [PATCH] ARM: dts: sun8i-v3s: Add PWM controller and pins definitions

2020-12-17 Thread Maxime Ripard
Hi, On Thu, Dec 17, 2020 at 12:20:31PM +0100, Paul Kocialkowski wrote: > This introduces definitions for the PWM controller found in the V3s, > as well as associated pins. This fashion of the controller has two PWM > outputs and is register-compatible with the A20. > > Both PWM outputs were

[PATCH] crypto: keembay-ocs-aes - Add dependency on HAS_IOMEM

2020-12-17 Thread Daniele Alessandrelli
From: Daniele Alessandrelli Add dependency for CRYPTO_DEV_KEEMBAY_OCS_AES_SM4 on HAS_IOMEM to prevent build failures. Fixes: 88574332451380f4 ("crypto: keembay - Add support for Keem Bay OCS AES/SM4") Reported-by: kernel test robot Signed-off-by: Daniele Alessandrelli ---

Re: [bisected] Re: drm, qxl: post 5.11 merge warning+explosion

2020-12-17 Thread Christian König
Am 17.12.20 um 17:26 schrieb Mike Galbraith: On Thu, 2020-12-17 at 17:24 +0100, Christian König wrote: Hi Mike, what exactly is the warning from qxl you are seeing? [1.815561] WARNING: CPU: 7 PID: 355 at drivers/gpu/drm/ttm/ttm_pool.c:365 ttm_pool_alloc+0x41b/0x540 [ttm] Yeah, that is

[PATCH] selftests/vDSO: add additional binaries to .gitignore

2020-12-17 Thread Tobias Klauser
Add the test binaries introduced by commit 693f5ca08ca0 ("kselftest: Extend vDSO selftest"), commit 03f55c7952c9 ("kselftest: Extend vDSO selftest to clock_getres") and commit c7e5789b24d3 ("kselftest: Move test_vdso to the vDSO test suite") to .gitignore. Signed-off-by: Tobias Klauser ---

Re: [PATCH 1/2] futex: mark futex_detect_cmpxchg() as 'noinline'

2020-12-17 Thread Arnd Bergmann
On Thu, Dec 17, 2020 at 4:32 PM Andreas Larsson wrote: > On 2020-12-16 00:24, Arnd Bergmann wrote: > > On Tue, Dec 15, 2020 at 8:38 PM Sam Ravnborg wrote: > >> On Tue, Dec 15, 2020 at 12:26:10PM +0100, Arnd Bergmann wrote: > >>> > >>> - Disable SMP support for sun4m/sun4d. From the historic git

Re: [PATCH v3 14/15] x86/paravirt: switch functions with custom code to ALTERNATIVE

2020-12-17 Thread kernel test robot
Hi Juergen, I love your patch! Yet something to improve: [auto build test ERROR on linus/master] [cannot apply to xen-tip/linux-next tip/x86/core tip/x86/asm v5.10 next-20201217] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use

[PATCH] selftests/vDSO: fix -Wformat warning in vdso_test_correctness

2020-12-17 Thread Tobias Klauser
Fix the following -Wformat warnings in vdso_test_correctness.c: vdso_test_correctness.c: In function ‘test_one_clock_gettime64’: vdso_test_correctness.c:352:21: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘long long int’ [-Wformat=] 352 |

Re: KASAN: null-ptr-deref Read in filp_close

2020-12-17 Thread Christian Brauner
On Thu, Dec 17, 2020 at 07:54:09AM -0800, syzbot wrote: > Hello, > > syzbot found the following issue on: > > HEAD commit:5e60366d Merge tag 'fallthrough-fixes-clang-5.11-rc1' of g.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=15f1541350 >

Re: linux-next: Tree for Dec 17 (objtool warnings)

2020-12-17 Thread Randy Dunlap
On 12/16/20 9:53 PM, Stephen Rothwell wrote: > Hi all, > > Please do not add any v5.12 destined code to your linux-next included > branches until after v5.11-rc1 has been released. > > Changes since 20201216: > on x86_64: (These are on 2 different builds.) > gcc --version gcc (SUSE Linux)

Re: [PATCH v3 10/15] x86/paravirt: simplify paravirt macros

2020-12-17 Thread kernel test robot
Hi Juergen, I love your patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v5.10] [cannot apply to xen-tip/linux-next tip/x86/core tip/x86/asm next-20201217] [If your patch is applied to the wrong git tree, kindly drop us a note. And when

Re: [PATCH v5 1/7] pwm: pca9685: Switch to atomic API

2020-12-17 Thread Clemens Gruber
Hi Sven, On Wed, Dec 16, 2020 at 10:58:07PM -0500, Sven Van Asbroeck wrote: > Hi Clemens, this looks compact, simple and neat. I like it a lot !! Thanks! > > Few very minor nits below. > > On Wed, Dec 16, 2020 at 7:53 AM Clemens Gruber > wrote: > > > > The switch to the atomic API goes hand

Re: [PATCH] arm64: Kconfig: Add SYS_SUPPORTS_APM_EMULATION

2020-12-17 Thread Catalin Marinas
On Thu, Dec 17, 2020 at 12:41:47AM +0800, Lecopzer Chen wrote: > so there is two points > 1. out-of-tree function can't be approved > I totally agree with this :) so we may have a driver upstream in the > future. It may not be upstreamable if it relies on the old APM interface ;). > 2. APM

Re: [PATCH v2 1/3] dt-bindings: rtc: add reset-source property

2020-12-17 Thread Rob Herring
On Fri, Dec 11, 2020 at 5:10 PM Rasmus Villemoes wrote: > > On 11/12/2020 23.30, Rob Herring wrote: > > On Fri, Dec 11, 2020 at 3:56 PM Rasmus Villemoes > > wrote: > >> > >> Some RTCs, e.g. the pcf2127, can be used as a hardware watchdog. But > >> if the reset pin is not actually wired up, the

[PATCH] proc/wchan: Use printk format instead of lookup_symbol_name()

2020-12-17 Thread Helge Deller
To resolve the symbol fuction name for wchan, use the printk format specifier %ps instead of manually looking up the symbol function name via lookup_symbol_name(). Signed-off-by: Helge Deller diff --git a/fs/proc/base.c b/fs/proc/base.c index b362523a9829..c4593e1cafa4 100644 ---

Re: [bisected] Re: drm, qxl: post 5.11 merge warning+explosion

2020-12-17 Thread Mike Galbraith
On Thu, 2020-12-17 at 17:38 +0100, Christian König wrote: > > Mike can you test the attached patch? Yup, one-liner made it all better. That was quick like bunny. -Mike

Re: [PATCH v2] net: mhi: Add raw IP mode support

2020-12-17 Thread Jakub Kicinski
On Thu, 17 Dec 2020 16:34:09 +0100 Loic Poulain wrote: > MHI net is protocol agnostic, the payload protocol depends on the modem > configuration, which can be either RMNET (IP muxing and aggregation) or > raw IP. This patch adds support for incomming IPv4/IPv6 packets, that > was previously

Re: [PATCH V3.1] entry: Pass irqentry_state_t by reference

2020-12-17 Thread Thomas Gleixner
On Mon, Nov 23 2020 at 22:09, ira weiny wrote: > From: Ira Weiny > > Currently struct irqentry_state_t only contains a single bool value > which makes passing it by value is reasonable. However, future patches > add information to this struct. This includes the PKRS thread state, > included in

[PATCH 0/2] MAINTAINERS: update STMicroelectronics email

2020-12-17 Thread patrice.chotard
From: Patrice Chotard This series: _ update st.com to foss.st.com email for some maintainers. _ Remove Vincent Abriou as STI/STM DRM driver Patrice Chotard (2): MAINTAINERS: Update some st.com email addresses to foss.st.com MAINTAINERS: Remove Vincent Abriou for STM/STI DRM drivers.

[PATCH 1/2] MAINTAINERS: Update some st.com email addresses to foss.st.com

2020-12-17 Thread patrice.chotard
From: Patrice Chotard Update some st.com to foss.st.com addresses related to STMicroelectronics drivers. All these people will now use this new email address for upstream activities. Signed-off-by: Patrice Chotard --- MAINTAINERS | 28 ++-- 1 file changed, 14

[PATCH 2/2] MAINTAINERS: Remove Vincent Abriou for STM/STI DRM drivers.

2020-12-17 Thread patrice.chotard
From: Patrice Chotard Remove Vincent Abriou's email as he has no more review activities on STM/STI DRM drivers. Signed-off-by: Patrice Chotard Cc: Vincent Abriou --- MAINTAINERS | 2 -- 1 file changed, 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 685b72a22cee..010160a89a10

Re: [PATCH] checkpatch: fix false positive for COMMIT_LOG_LONG_LINE with URLs

2020-12-17 Thread Joe Perches
On Thu, 2020-12-17 at 19:12 +0530, Aditya Srivastava wrote: > Currently checkpatch warns for long line in commit messages even for > URL lines. > > An evaluation over v4.13..v5.8 showed that out of ~11000 warnings for > this class, around 790 are due to the line containing link. > > E.g. running

general protection fault in bond_ipsec_add_sa

2020-12-17 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:6bff9bb8 Merge tag 'scsi-fixes' of git://git.kernel.org/pu.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=14aba80f50 kernel config: https://syzkaller.appspot.com/x/.config?x=a438b63f5a7f3806

Re: linux-next: manual merge of the akpm-current tree with the risc-v tree

2020-12-17 Thread Palmer Dabbelt
On Thu, 17 Dec 2020 01:40:51 PST (-0800), andy.shevche...@gmail.com wrote: On Thu, Dec 17, 2020 at 3:28 AM Stephen Rothwell wrote: Hi all, On Mon, 14 Dec 2020 20:21:07 +1100 Stephen Rothwell wrote: > > Today's linux-next merge of the akpm-current tree got a conflict in: > > lib/Makefile

Re: dwc: tegra194: issue with card containing a bridge

2020-12-17 Thread Mian Yousaf Kaukab
On Thu, Dec 17, 2020 at 08:58:57AM -0600, Rob Herring wrote: > On Tue, Dec 15, 2020 at 09:52:35PM +0100, Mian Yousaf Kaukab wrote: > > On Tue, Dec 15, 2020 at 09:41:47AM -0600, Rob Herring wrote: > > > On Tue, Dec 15, 2020 at 02:25:04PM +0100, Mian Yousaf Kaukab wrote: > > > > On Tue, Dec 15, 2020

Re: [PATCH v8 3/3] net: ax88796c: ASIX AX88796C SPI Ethernet Adapter Driver

2020-12-17 Thread Jakub Kicinski
On Thu, 17 Dec 2020 12:46:57 +0100 Lukasz Stelmach wrote: > > to the correct values so the stack pre-allocates the needed spaces, > > when it can. > > Yes, I fonud these. However, I am not sure setting needed_tailroom has > any effect. In many places where alloc_skb() is called needed_headrom >

Re: [PATCH v3 0/3] UIO support for dfl devices

2020-12-17 Thread Greg KH
On Thu, Dec 17, 2020 at 05:35:51AM -0800, Tom Rix wrote: > > On 12/16/20 9:44 PM, Xu Yilun wrote: > > This patchset supports some dfl device drivers written in userspace. > > > > In the patchset v1, the "driver_override" interface should be used to bind > > the DFL UIO driver to DFL devices. But

Re: [PATCH] cpufreq: intel_pstate: Use the latest guaranteed freq during verify

2020-12-17 Thread Srinivas Pandruvada
On Thu, 2020-12-17 at 16:24 +0100, Rafael J. Wysocki wrote: > On Thu, Dec 17, 2020 at 4:21 PM Srinivas Pandruvada > wrote: > > > > On Thu, 2020-12-17 at 16:12 +0100, Rafael J. Wysocki wrote: > > > On Thursday, December 17, 2020 3:23:44 PM CET Srinivas Pandruvada > > > wrote: > > > > On Thu,

Re: [PATCH v5 1/7] pwm: pca9685: Switch to atomic API

2020-12-17 Thread Sven Van Asbroeck
On Thu, Dec 17, 2020 at 11:48 AM Clemens Gruber wrote: > > I can initialize the values to 0 of course and check the file for other > places with missing initializations. > > Or would it be better to check the return codes of regmap_read/write in > such cases? I'm not sure. I think that checking

Re: [EXT] Re: [PATCH 1/2] mmc: Support kmsg dumper based on pstore/blk

2020-12-17 Thread Ulf Hansson
On Thu, 17 Dec 2020 at 12:36, Bhaskara Budiredla wrote: > > > [...] > > >> >> An extra check can be added to see if host was runtime suspended > >> >> ahead of panic write attempt. > >> > > >> >What if that is the case, should we just return an error? > >> > > >> Yes. > >> > >> >Moreover, even

[PATCH] checkpatch: add new warning when lookup_symbol_name() is used

2020-12-17 Thread Helge Deller
In most cases people use lookup_symbol_name() to resolve a kernel symbol and then print it via printk(). In such cases using the %ps, %pS, %pSR or %pB printk formats are easier to use and thus should be preferred. Signed-off-by: Helge Deller diff --git a/scripts/checkpatch.pl

Re: [PATCH v3 6/6] ARM: dts: Add dts for RPi4b + Cirrus Logic Lochnagar2 + CS47L15

2020-12-17 Thread Florian Fainelli
On 12/17/20 7:41 AM, 'Richard Fitzgerald' via BCM-KERNEL-FEEDBACK-LIST,PDL wrote: > This adds a devicetree configuration for Raspberry Pi 4b connected to > Cirrus Logic Lochnagar 2 audio development board and CS47L15 codec. > > The common (codec-independent) Lochnagar 2 configuration is separated

[PATCH] ARM: sti: Fix spelling mistake in Kconfig "targetted" -> "targeted"

2020-12-17 Thread Colin King
From: Colin Ian King There is a spelling mistake in the Kconfig help text. Fix it. Signed-off-by: Colin Ian King --- arch/arm/mach-sti/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-sti/Kconfig b/arch/arm/mach-sti/Kconfig index

Re: i386: rcu-torture: WARNING: at kernel/rcu/rcutorture.c:1169 rcu_torture_writer [rcutorture]

2020-12-17 Thread Naresh Kamboju
> Is this reproducible? If so, could you please try bisection? Yes. This issue is reproducible. I will run bisection and get back to you (might take some time). - Naresh

Re: [PATCH] ARM: sti: Fix spelling mistake in Kconfig "targetted" -> "targeted"

2020-12-17 Thread Patrice CHOTARD
Hi Colin On 12/17/20 6:13 PM, Colin King wrote: > From: Colin Ian King > > There is a spelling mistake in the Kconfig help text. Fix it. > > Signed-off-by: Colin Ian King > --- > arch/arm/mach-sti/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

[PATCH] timekeeping: Fix spelling mistake in Kconfig "fullfill" -> "fulfill"

2020-12-17 Thread Colin King
From: Colin Ian King There is a spelling mistake in the Kconfig help text. Fix it. Signed-off-by: Colin Ian King --- kernel/time/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/time/Kconfig b/kernel/time/Kconfig index 9a41848b6ebb..83e158d016ba 100644 ---

Re: [PATCH -next] tools: perf: convert comma to semicolon

2020-12-17 Thread Joe Perches
On Wed, 2020-12-16 at 21:15 +0800, Zheng Yongjun wrote: > Replace a comma between expression statements by a semicolon. If you are going to submit patches for comma/semicolon conversions, please to not use checkpatch to produce them. checkpatch is a trivial tool that does not have very good

[PATCH] mpt3sas: fix spelling mistake in Kconfig: "compatiblity" -> "compatibility"

2020-12-17 Thread Colin King
From: Colin Ian King There is a spelling mistake in the Kconfig help text. Fix it. Signed-off-by: Colin Ian King --- drivers/scsi/mpt3sas/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/mpt3sas/Kconfig b/drivers/scsi/mpt3sas/Kconfig index

Re: [PATCH] x86/sev-es: Fix SEV-ES OUT/IN immediate opcode vc handling

2020-12-17 Thread Sean Christopherson
On Wed, Dec 16, 2020, Peter Gonda wrote: > > The IN and OUT immediate instructions only use an 8-bit immediate. The > current VC handler uses the entire 32-bit immediate value. These > instructions only set the first bytes. > > Tested with a loop back port with "outb %0,$0xe0". Before the port

[RFC PATCH v2] taskstats: add /proc/taskstats to fetch pid/tgid status

2020-12-17 Thread Weiping Zhang
If a program needs monitor lots of process's status, it needs two syscalls for every process. The first one is telling kernel which pid/tgid should be monitored by send a command(write socket) to kernel. The second one is read the statistics by read socket. This patch add a new interface

[PATCH] xtensa: fix spelling mistake in Kconfig "wont" -> "won't"

2020-12-17 Thread Colin King
From: Colin Ian King There is a spelling mistake in the Kconfig help text. Fix it. Signed-off-by: Colin Ian King --- arch/xtensa/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/xtensa/Kconfig b/arch/xtensa/Kconfig index 37ce1489364e..97beddc9d645 100644 ---

[GIT PULL]: dmaengine update for v5.11-rc1

2020-12-17 Thread Vinod Koul
Hi Linus, Please pull to receive last dmaengine updates for this year :) This contains couple of new drivers, new device support and updates to bunch of drivers. SFR reminded me to tell you that there will be a merge conflict which I am pretty sure would be easy for you. Nevertheless correct

[PATCH 1/2] ARM: dts: imx6q-logicpd: Drop unused clock-names reference

2020-12-17 Thread Adam Ford
The wlf,wm8962 driver does not use the clock-names property. Drop it. Signed-off-by: Adam Ford diff --git a/arch/arm/boot/dts/imx6-logicpd-baseboard.dtsi b/arch/arm/boot/dts/imx6-logicpd-baseboard.dtsi index 665d63765cdc..d9de9b4f0c52 100644 --- a/arch/arm/boot/dts/imx6-logicpd-baseboard.dtsi

[PATCH net] net: mvpp2: prs: fix PPPoE with ipv6 packet parse

2020-12-17 Thread stefanc
From: Stefan Chulski Current PPPoE+IPv6 entry is jumping to 'next-hdr' field and not to 'DIP' field as done for IPv4. Fixes: db9d7d36eecc ("net: mvpp2: Split the PPv2 driver to a dedicated directory") Reported-by: Liron Himi Signed-off-by: Stefan Chulski ---

[PATCH 2/2] arm64: dts: imx8mm-beacon: Drop unused clock-names reference

2020-12-17 Thread Adam Ford
The wlf,wm8962 driver does not use the clock-names property. Drop it. Signed-off-by: Adam Ford diff --git a/arch/arm64/boot/dts/freescale/imx8mm-beacon-baseboard.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-beacon-baseboard.dtsi index d6b9dedd168f..6f5e63696ec0 100644 ---

Re: [PATCH] dt-bindings: display: bridge: tc358768: Remove maintainer information

2020-12-17 Thread Sam Ravnborg
Hi Peter. On Wed, Dec 16, 2020 at 09:44:59AM +0200, Peter Ujfalusi wrote: > > On 15/12/2020 16.26, Rob Herring wrote: > > On Tue, 15 Dec 2020 14:42:27 +0200, Peter Ujfalusi wrote: > >> My employment with TI is coming to an end and I will not have access to > >> the board where this bridge is

Re: [PATCH bpf-next 1/2] bpf: Add a bpf_kallsyms_lookup helper

2020-12-17 Thread Yonghong Song
On 12/17/20 7:31 AM, Florent Revest wrote: On Mon, Dec 14, 2020 at 7:47 AM Yonghong Song wrote: On 12/11/20 6:40 AM, Florent Revest wrote: On Wed, Dec 2, 2020 at 10:18 PM Alexei Starovoitov wrote: I still think that adopting printk/vsnprintf for this instead of reinventing the wheel is

[PATCH] mm: Fix spelling mistake in Kconfig "whats" -> "what's"

2020-12-17 Thread Colin King
From: Colin Ian King There is a spelling mistake in the Kconfig help text. Fix it. Signed-off-by: Colin Ian King --- mm/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/Kconfig b/mm/Kconfig index 7af1a55b708e..585d440a554a 100644 --- a/mm/Kconfig +++ b/mm/Kconfig

Re: [PATCH] checkpatch: add new warning when lookup_symbol_name() is used

2020-12-17 Thread Joe Perches
On Thu, 2020-12-17 at 18:11 +0100, Helge Deller wrote: > In most cases people use lookup_symbol_name() to resolve a kernel symbol > and then print it via printk(). > > In such cases using the %ps, %pS, %pSR or %pB printk formats are easier > to use and thus should be preferred. [] > diff --git

Re: New objtool warning..

2020-12-17 Thread Linus Torvalds
On Thu, Dec 17, 2020 at 8:25 AM Josh Poimboeuf wrote: > > Oh yeah, I forgot about that. That would be another option if my patch > doesn't work out. Well, one option is to just say "ok, we know gcc generates horrible code that falls through to another function in a situation that we claim is

Re: [PATCH] atm: ambassador: remove h from printk format specifier

2020-12-17 Thread Jakub Kicinski
On Thu, 17 Dec 2020 05:17:24 -0800 Tom Rix wrote: > On 12/16/20 4:45 PM, Jakub Kicinski wrote: > > On Tue, 15 Dec 2020 06:22:28 -0800 t...@redhat.com wrote: > >> From: Tom Rix > >> > >> See Documentation/core-api/printk-formats.rst. > >> h should no longer be used in the format specifier for

Re: [PATCH v2] fair/util_est: fix schedutil may use an old util_est.enqueued value at dequeue

2020-12-17 Thread Dietmar Eggemann
On 16/12/2020 05:50, Xuewen Yan wrote: > From: Xuewen Yan > > when a task dequeued, it would update it's util and cfs_rq's util, > the following calling relationship exists here: > > update_load_avg() -> cfs_rq_util_change() -> cpufreq_update_util()-> > sugov_update_[shared\|single] ->

Re: [PATCH v4 3/5] mm: Speedup mremap on 1GB or larger regions

2020-12-17 Thread Guenter Roeck
On Wed, Oct 14, 2020 at 12:53:08AM +, Kalesh Singh wrote: > Android needs to move large memory regions for garbage collection. > The GC requires moving physical pages of multi-gigabyte heap > using mremap. During this move, the application threads have to > be paused for correctness. It is

Re: [PATCH] cpufreq: intel_pstate: Use the latest guaranteed freq during verify

2020-12-17 Thread Rafael J. Wysocki
On Thu, Dec 17, 2020 at 6:09 PM Srinivas Pandruvada wrote: > > On Thu, 2020-12-17 at 16:24 +0100, Rafael J. Wysocki wrote: > > On Thu, Dec 17, 2020 at 4:21 PM Srinivas Pandruvada > > wrote: > > > > > > On Thu, 2020-12-17 at 16:12 +0100, Rafael J. Wysocki wrote: > > > > On Thursday, December 17,

Re: [PATCH v2 1/7] regulator: dt-bindings: remove useless properties

2020-12-17 Thread Jagan Teki
On Wed, Dec 16, 2020 at 5:26 AM Adrien Grassein wrote: > > regulator-name is a generic property of the regulator. > Don't repeat it here. > > Signed-off-by: Adrien Grassein > --- > .../regulator/nxp,pf8x00-regulator.yaml | 17 - > 1 file changed, 17 deletions(-) Please

RE: [PATCH v3 06/15] x86/paravirt: switch time pvops functions to use static_call()

2020-12-17 Thread Michael Kelley
From: Juergen Gross Sent: Thursday, December 17, 2020 1:31 AM > The time pvops functions are the only ones left which might be > used in 32-bit mode and which return a 64-bit value. > > Switch them to use the static_call() mechanism instead of pvops, as > this allows quite some simplification

Re: [PATCH V2 0/3] mm/hotplug: Pre-validate the address range with platform

2020-12-17 Thread David Hildenbrand
On 17.12.20 16:28, Anshuman Khandual wrote: > This series adds a mechanism allowing platforms to weigh in and prevalidate > incoming address range before proceeding further with the memory hotplug. > This helps prevent potential platform errors for the given address range, > down the hotplug call

Re: [PATCH v2 2/7] regulator: pf8x00: add a doc for the module

2020-12-17 Thread Jagan Teki
On Wed, Dec 16, 2020 at 5:27 AM Adrien Grassein wrote: > > pf8x00 module build was not documented. > > Signed-off-by: Adrien Grassein > --- > drivers/regulator/Kconfig | 4 > 1 file changed, 4 insertions(+) > > diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig > index

[PATCH v12 0/4] Carry forward IMA measurement log on kexec on ARM64

2020-12-17 Thread Lakshmi Ramasubramanian
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 also be measured by IMA. A remote attestation service can verify a TPM quote based

  1   2   3   4   5   6   7   8   9   10   >