[PATCH 2/2] drm/panel: tv101wum: Add STARRY 2081101QFH032011-53G

2021-02-13 Thread Zhengqiao Xia
Add STARRY 2081101QFH032011-53G 10.1" WUXGA TFT LCD panel as a part of tv101wum-n16. Signed-off-by: Zhengqiao Xia --- .../gpu/drm/panel/panel-boe-tv101wum-nl6.c| 132 ++ 1 file changed, 132 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c b/drivers/

Re: [PATCH] proc: Convert S_ permission uses to octal

2021-02-13 Thread Alexey Dobriyan
On Fri, Feb 12, 2021 at 04:01:48PM -0600, Eric W. Biederman wrote: > Joe Perches writes: > > > Convert S_ permissions to the more readable octal. > Something like that should be able to address the readability while > still using symbolic constants. Macros are easy. I've sent a patch long time

include/linux/compiler_types.h:319:38: error: call to '__compiletime_assert_223' declared with attribute error: BUILD_BUG_ON failed: FIX_KMAP_SLOTS > PTRS_PER_PTE

2021-02-13 Thread kernel test robot
months ago config: arc-randconfig-r006-20210213 (attached as .config) compiler: arc-elf-gcc (GCC) 9.3.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https

[tip:x86/entry 14/14] kernel/softirq.o: warning: objtool: do_softirq()+0xdb: return with modified stack frame

2021-02-13 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/entry head: 72f40a2823d6e16229ab58b898c6f22044e5222f commit: 72f40a2823d6e16229ab58b898c6f22044e5222f [14/14] x86/softirq/64: Inline do_softirq_own_stack() config: x86_64-randconfig-a012-20201005 (attached as .config) compil

Re: [PATCH v2] misc: fastrpc: restrict user apps from sending kernel RPC messages

2021-02-13 Thread Greg Kroah-Hartman
On Fri, Feb 12, 2021 at 10:26:58PM +0300, Dmitry Baryshkov wrote: > Verify that user applications are not using the kernel RPC message > handle to restrict them from directly attaching to guest OS on the > remote subsystem. This is a port of CVE-2019-2308 fix. A port of the fix of what to what? I

Re: [PATCH v3 2/2] serial: 8250: Add new 8250-core based Broadcom STB driver

2021-02-13 Thread Greg Kroah-Hartman
On Fri, Feb 12, 2021 at 12:47:02PM -0800, Florian Fainelli wrote: > > > On 2/12/2021 11:57 AM, Al Cooper wrote: > > Add a UART driver for the new Broadcom 8250 based STB UART. The new > > UART is backward compatible with the standard 8250, but has some > > additional features. The new features in

Re: [PATCH net-next v2] misc: Add Renesas Synchronization Management Unit (SMU) support

2021-02-13 Thread Greg KH
On Fri, Feb 12, 2021 at 07:06:17PM +, Min Li wrote: > > > > On Fri, Feb 12, 2021 at 03:44:52PM +, Min Li wrote: > > > > > > > > > > -set combomode > > > > > -get dpll's state > > > > > -get dpll's ffo > > > > > > > > > > This driver must work with Renesas MFD driver to access SMU > > > > >

arch/sh/kernel/cpu/sh2a/clock-sh7206.c:26:44: sparse: sparse: incorrect type in argument 1 (different base types)

2021-02-13 Thread kernel test robot
months ago config: sh-randconfig-s031-20210213 (attached as .config) compiler: sh4-linux-gcc (GCC) 9.3.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install sparse

Re: objtool segfault in 5.10 kernels with binutils-2.36.1

2021-02-13 Thread Greg KH
On Fri, Feb 12, 2021 at 05:51:45PM -0600, Josh Poimboeuf wrote: > On Thu, Feb 11, 2021 at 05:16:56PM +, Ken Moffat wrote: > > Hi, > > > > in 5.10 kernels up to and including 5.10.15 when trying to build the > > kernel for an x86_64 skylake using binutils-2.36.1, gcc-10.2 and > > glibic-2.33 I

Re: [PATCH] nvme-tcp: Check if request has started before processing it

2021-02-13 Thread Hannes Reinecke
On 2/12/21 7:17 PM, Daniel Wagner wrote: blk_mq_tag_to_rq() will always return a request if the command_id is in the valid range. Check if the request has been started. If we blindly process the request we might double complete a request which can be fatal. Signed-off-by: Daniel Wagner --- Thi

Re: [PATCH] nvme-tcp: Check if request has started before processing it

2021-02-13 Thread Hannes Reinecke
On 2/12/21 10:49 PM, Sagi Grimberg wrote: blk_mq_tag_to_rq() will always return a request if the command_id is in the valid range. Check if the request has been started. If we blindly process the request we might double complete a request which can be fatal. How did you get to this one? did t

Re: [PATCH] ARM: dts: sun8i: h3: orangepi-plus: Fix Ethernet PHY mode

2021-02-13 Thread Jernej Škrabec
Hi! Let me first explain that it was oversight on my side not noticing initials in your SoB tag. But since the issue was raised by Maxime, I didn't follow up. Dne sobota, 13. februar 2021 ob 07:51:32 CET je B.R. Oake napisal(a): > On Wed Feb 10 at 16:01:18 CET 2021, Maxime Ripard wrote: > > Unfo

Re: MIPS noncoherent DMA cleanups v2

2021-02-13 Thread Thomas Bogendoerfer
On Wed, Feb 10, 2021 at 10:56:35AM +0100, Christoph Hellwig wrote: > Hi Thomas, > > this series cleans up some of the mips (maybe) noncoherent support. > It also remove the need for the special header only > provided by mips. > > Changes since v1: > - fix a bisection issue due to a missing brac

Re: [PATCH 2/2] MIPS: Simplify EVA cache handling

2021-02-13 Thread Thomas Bogendoerfer
On Wed, Feb 10, 2021 at 05:16:14PM +0100, Thomas Bogendoerfer wrote: > protected_cache_op is only used for flushing user addresses, so > we only need to define protected_cache_op different in EVA mode and > be done with it. > > Signed-off-by: Thomas Bogendoerfer > --- > arch/mips/include/asm/r4k

Re: [PATCH 1/2] Revert "MIPS: kernel: {ftrace,kgdb}: Set correct address limit for cache flushes"

2021-02-13 Thread Thomas Bogendoerfer
On Wed, Feb 10, 2021 at 05:16:13PM +0100, Thomas Bogendoerfer wrote: > This reverts commit 6ebda44f366478d1eea180d93154e7d97b591f50. > > All icache flushes in this code paths are done via flush_icache_range(), > which only uses normal cache instruction. And this is the correct thing > for EVA mode

Re: [PATCH v2 RESEND] MIPS: Add basic support for ptrace single step

2021-02-13 Thread Thomas Bogendoerfer
On Sat, Feb 13, 2021 at 02:20:46AM +0800, Tiezhu Yang wrote: > From: Tiezhu Yang > > In the current code, arch_has_single_step() is not defined on MIPS, > that means MIPS does not support instruction single-step for user mode. > > Delve is a debugger for the Go programming language, the ptrace s

[PATCH v2] mtd: spinand: add support for Foresee FS35ND01G-S1Y2

2021-02-13 Thread Daniel Palmer
Add support for the Foresee FS35ND01G-S1Y2 manufactured by Longsys. Signed-off-by: Daniel Palmer Link: https://datasheet.lcsc.com/szlcsc/2008121142_FORESEE-FS35ND01G-S1Y2QWFI000_C719495.pdf --- drivers/mtd/nand/spi/Makefile | 2 +- drivers/mtd/nand/spi/core.c| 1 + drivers/mtd/nand/spi/

Re: [PATCH mvebu v2 00/10] Armada 37xx: Fix cpufreq changing base CPU speed to 800 MHz from 1000 MHz

2021-02-13 Thread Pali Rohár
On Thursday 11 February 2021 16:41:13 nnet wrote: > On Thu, Feb 11, 2021, at 3:44 PM, Pali Rohár wrote: > > On Thursday 11 February 2021 12:22:52 nnet wrote: > > > On Thu, Feb 11, 2021, at 11:55 AM, Pali Rohár wrote: > > > > On Wednesday 10 February 2021 11:08:59 nnet wrote: > > > > > On Wed, Feb 1

Re: general protection fault in tomoyo_socket_sendmsg_permission

2021-02-13 Thread Tetsuo Handa
Greg, will you queue https://lkml.kernel.org/r/20210205135707.4574-1-penguin-ker...@i-love.sakura.ne.jp (which can close a report which is wasting syzbot's resource with 5300+ crashes) for 5.12 ? The change shown below will be too large to test before merge window for 5.12 opens. The patch for

Re: general protection fault in tomoyo_socket_sendmsg_permission

2021-02-13 Thread Greg Kroah-Hartman
On Sat, Feb 13, 2021 at 07:02:22PM +0900, Tetsuo Handa wrote: > Greg, will you queue > https://lkml.kernel.org/r/20210205135707.4574-1-penguin-ker...@i-love.sakura.ne.jp > (which can > close a report which is wasting syzbot's resource with 5300+ crashes) for > 5.12 ? The change shown below will

Re: general protection fault in tomoyo_socket_sendmsg_permission

2021-02-13 Thread Greg Kroah-Hartman
On Sat, Feb 13, 2021 at 07:02:22PM +0900, Tetsuo Handa wrote: > Greg, will you queue > https://lkml.kernel.org/r/20210205135707.4574-1-penguin-ker...@i-love.sakura.ne.jp > (which can > close a report which is wasting syzbot's resource with 5300+ crashes) for > 5.12 ? The change shown below will

[PATCH 1/4] ASoC: mmp-sspa: drop unneeded snd_soc_dai_set_drvdata

2021-02-13 Thread Julia Lawall
snd_soc_dai_set_drvdata is not needed when the set data comes from snd_soc_dai_get_drvdata or dev_get_drvdata. The problem was fixed usingthe following semantic patch: (http://coccinelle.lip6.fr/) // @@ expression x,y,e; @@ x = dev_get_drvdata(y->dev) ... when != x = e - sn

[PATCH 0/4] drop unneeded snd_soc_dai_set_drvdata

2021-02-13 Thread Julia Lawall
snd_soc_dai_set_drvdata is not needed when the set data comes from snd_soc_dai_get_drvdata or dev_get_drvdata. --- sound/soc/fsl/fsl_micfil.c |2 -- sound/soc/fsl/fsl_sai.c |2 -- sound/soc/fsl/fsl_xcvr.c|1 - sound/soc/mxs/mxs-saif.c| 10 -- sound/soc/pxa/mm

[PATCH 2/4] ASoC: mxs-saif: drop unneeded snd_soc_dai_set_drvdata

2021-02-13 Thread Julia Lawall
snd_soc_dai_set_drvdata is not needed when the set data comes from snd_soc_dai_get_drvdata or dev_get_drvdata. The problem was fixed usingthe following semantic patch: (http://coccinelle.lip6.fr/) // @@ expression x,y,e; @@ x = dev_get_drvdata(y->dev) ... when != x = e - sn

Re: [PATCH RFC 5/6] btrfs: sysfs: Add directory for read policies

2021-02-13 Thread Greg KH
On Tue, Feb 09, 2021 at 09:30:39PM +0100, Michal Rostecki wrote: > From: Michal Rostecki > > Before this change, raid1 read policy could be selected by using the > /sys/fs/btrfs/[fsid]/read_policy file. > > Change it to /sys/fs/btrfs/[fsid]/read_policies/policy. > > The motivation behing creati

[PATCH 3/4] ASoC: sun4i-i2s: drop unneeded snd_soc_dai_set_drvdata

2021-02-13 Thread Julia Lawall
snd_soc_dai_set_drvdata is not needed when the set data comes from snd_soc_dai_get_drvdata or dev_get_drvdata. The problem was fixed usingthe following semantic patch: (http://coccinelle.lip6.fr/) // @@ expression x,y,e; @@ x = dev_get_drvdata(y->dev) ... when != x = e - sn

[PATCH 4/4] ASoC: fsl: drop unneeded snd_soc_dai_set_drvdata

2021-02-13 Thread Julia Lawall
snd_soc_dai_set_drvdata is not needed when the set data comes from snd_soc_dai_get_drvdata or dev_get_drvdata. The problem was fixed usingthe following semantic patch: (http://coccinelle.lip6.fr/) // @@ expression x,y,e; @@ x = dev_get_drvdata(y->dev) ... when != x = e - sn

Re: [RFC PATCH 09/12] drivers: base: reintroduce find_bus()

2021-02-13 Thread Greg KH
On Mon, Feb 08, 2021 at 11:22:00PM +0100, Enrico Weigelt, metux IT consult wrote: > --- > drivers/base/bus.c | 14 ++ > include/linux/device/bus.h | 2 ++ > 2 files changed, 12 insertions(+), 4 deletions(-) Um, no.

Re: [PATCH net-next v2 1/3] net: phy: broadcom: Avoid forward for bcm54xx_config_clock_delay()

2021-02-13 Thread Vladimir Oltean
On Fri, Feb 12, 2021 at 07:46:30PM -0800, Florian Fainelli wrote: > Avoid a forward declaration by moving the callers of > bcm54xx_config_clock_delay() below its body. > > Signed-off-by: Florian Fainelli > --- Reviewed-by: Vladimir Oltean

Re: [PATCH net-next v2 2/3] net: phy: broadcom: Remove unused flags

2021-02-13 Thread Vladimir Oltean
On Fri, Feb 12, 2021 at 07:46:31PM -0800, Florian Fainelli wrote: > We have a number of unused flags defined today and since we are scarce > on space and may need to introduce new flags in the future remove and > shift every existing flag down into a contiguous assignment. > PHY_BCM_FLAGS_MODE_1000

possible deadlock in evict

2021-02-13 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:c6d8570e Merge tag 'io_uring-5.11-2021-02-12' of git://git.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=123a4be2d0 kernel config: https://syzkaller.appspot.com/x/.config?x=bec717fd4ac4bf03 das

Re: [PATCH net-next v2 3/3] net: phy: broadcom: Allow BCM54210E to configure APD

2021-02-13 Thread Vladimir Oltean
On Fri, Feb 12, 2021 at 07:46:32PM -0800, Florian Fainelli wrote: > BCM54210E/BCM50212E has been verified to work correctly with the > auto-power down configuration done by bcm54xx_adjust_rxrefclk(), add it > to the list of PHYs working. > > While we are at it, provide an appropriate name for the

[PULL REQUEST] i2c for v5.11

2021-02-13 Thread Wolfram Sang
Linus, here is one more I2C driver bugfix. Please pull. Thanks, Wolfram The following changes since commit 92bf22614b21a2706f4993b278017e437f7785b3: Linux 5.11-rc7 (2021-02-07 13:57:38 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/wsa/li

Re: [PATCH v2 1/1] riscv/kasan: add KASAN_VMALLOC support

2021-02-13 Thread Alex Ghiti
Hi Nylon, Palmer, Le 2/8/21 à 1:28 AM, Alex Ghiti a écrit : Hi Nylon, Le 1/22/21 à 10:56 PM, Palmer Dabbelt a écrit : On Fri, 15 Jan 2021 21:58:35 PST (-0800), nyl...@andestech.com wrote: It references to x86/s390 architecture. >> So, it doesn't map the early shadow page to cover VMALLOC spac

Re: [PATCH] coresight: etm4x: Add ETM PIDs for Cortex-A55 and Cortex-A78

2021-02-13 Thread Mike Leach
Hi Sai, This patch does not apply to coresight/next - possibly because the PID for A55 has been added in an earlier patch ( [b8336ad947e19 ] coresight: etm4x: add AMBA id for Cortex-A55 and Cortex-A75). Regards Mike On Fri, 12 Feb 2021 at 17:23, Sai Prakash Ranjan wrote: > > Add ETM PIDs for

Re: possible deadlock in start_this_handle (2)

2021-02-13 Thread Dmitry Vyukov
On Fri, Feb 12, 2021 at 4:43 PM Michal Hocko wrote: > > On Fri 12-02-21 21:58:15, Tetsuo Handa wrote: > > On 2021/02/12 21:30, Michal Hocko wrote: > > > On Fri 12-02-21 12:22:07, Matthew Wilcox wrote: > > >> On Fri, Feb 12, 2021 at 08:18:11PM +0900, Tetsuo Handa wrote: > > >>> On 2021/02/12 1:41,

Re: [PATCH v2] ARM: kprobes: rewrite test-[arm|thumb].c in UAL

2021-02-13 Thread Ard Biesheuvel
On Fri, 29 Jan 2021 at 00:30, Ard Biesheuvel wrote: > > On Thu, 28 Jan 2021 at 23:28, Arnd Bergmann wrote: > > > > On Thu, Jan 28, 2021 at 10:03 PM Ard Biesheuvel wrote: > > > On Thu, 28 Jan 2021 at 20:34, Nick Desaulniers > > > wrote: > > > > @@ -468,15 +468,15 @@ void kprobe_thumb32_test_cas

Re: [PATCH 0/6] Support second Image Signal Processor on rk3399

2021-02-13 Thread Sebastian Fricke
Hey Heiko, On 11.02.2021 15:42, Heiko Stübner wrote: Hi Sebastian, Am Donnerstag, 11. Februar 2021, 06:25:15 CET schrieb Sebastian Fricke: Hey Heiko, On 10.02.2021 12:15, Heiko Stübner wrote: >Hi Sebastian, > >Am Freitag, 5. Februar 2021, 15:55:56 CET schrieb Heiko Stübner: >> Hi Sebastian, >

Re: [PATCH] coresight: etm4x: Add ETM PIDs for Cortex-A55 and Cortex-A78

2021-02-13 Thread Sai Prakash Ranjan
Hi Mike, On 2021-02-13 16:24, Mike Leach wrote: Hi Sai, This patch does not apply to coresight/next - possibly because the PID for A55 has been added in an earlier patch ( [b8336ad947e19 ] coresight: etm4x: add AMBA id for Cortex-A55 and Cortex-A75). Apologies, my remote was still pointing t

RE: [PATCH V10 01/10] dt-bindings: remoteproc: convert imx rproc bindings to json-schema

2021-02-13 Thread Peng Fan
> Subject: Re: [PATCH V10 01/10] dt-bindings: remoteproc: convert imx rproc > bindings to json-schema > > On Mon, Feb 08, 2021 at 04:56:02PM +0800, peng@oss.nxp.com wrote: > > From: Peng Fan > > > > Convert the imx rproc binding to DT schema format using json-schema. > > > > Signed-off-by: Pe

Re: [PATCH] pinctrl: Support pin that does not support configuration option

2021-02-13 Thread Michael Nazzareno Trimarchi
Hi Fabio On Fri, Feb 12, 2021 at 9:31 AM Michael Nazzareno Trimarchi wrote: > > Hi > > On Fri, Feb 12, 2021 at 9:26 AM Linus Walleij > wrote: > > > > On Mon, Feb 1, 2021 at 12:54 PM Michael Nazzareno Trimarchi > > wrote: > > > On Mon, Feb 1, 2021 at 12:47 PM Fabio Estevam wrote: > > > > > > >

Re: [PATCH v2] mm/vmalloc: randomize vmalloc() allocations

2021-02-13 Thread Topi Miettinen
Hello, Is there a chance of getting this reviewed and maybe even merged, please? -Topi On 12.12.2020 19.56, Topi Miettinen wrote: Memory mappings inside kernel allocated with vmalloc() are in predictable order and packed tightly toward the low addresses. With new kernel boot parameter 'randomi

Re: [PATCH 2/2] rcu-tasks: add RCU-tasks self tests

2021-02-13 Thread Uladzislau Rezki
On Fri, Feb 12, 2021 at 04:43:28PM -0800, Paul E. McKenney wrote: > On Fri, Feb 12, 2021 at 04:37:09PM -0800, Paul E. McKenney wrote: > > On Fri, Feb 12, 2021 at 03:48:51PM -0800, Paul E. McKenney wrote: > > > On Fri, Feb 12, 2021 at 10:12:07PM +0100, Uladzislau Rezki wrote: > > > > On Fri, Feb 12,

[PATCH v4 0/5] perf cs-etm: Fix pid tracing with VHE

2021-02-13 Thread Leo Yan
This patch set is to follow up the patch series "coresight: etm-perf: Fix pid tracing with VHE" [1]. Since the kernel and documentation patches have been picked up by Mathieu Poirier and will go through the char-misc-next branch [2] to the mainline kernel; the rest patches are for the perf tool, s

[PATCH v4 3/5] perf cs-etm: Support PID tracing in config

2021-02-13 Thread Leo Yan
From: Suzuki K Poulose If the kernel is running at EL2, the pid of a task is exposed via VMID instead of the CONTEXTID. Add support for this in the perf tool. This patch respects user setting if user has specified any configs from "contextid", "contextid1" or "contextid2"; otherwise, it dynamic

[PATCH v4 1/5] tools headers UAPI: Update tools' copy of linux/coresight-pmu.h

2021-02-13 Thread Leo Yan
To get the changes in the commit: "coresight: etm-perf: Clarify comment on perf options". Signed-off-by: Leo Yan Reviewed-by: Suzuki K Poulose Reviewed-by: Mathieu Poirier --- tools/include/linux/coresight-pmu.h | 17 - 1 file changed, 12 insertions(+), 5 deletions(-) diff

[PATCH v4 2/5] perf cs-etm: Fix bitmap for option

2021-02-13 Thread Leo Yan
From: Suzuki K Poulose When set option with macros ETM_OPT_CTXTID and ETM_OPT_TS, it wrongly takes these two values (14 and 28 prespectively) as bit masks, but actually both are the offset for bits. But this doesn't lead to further failure due to the AND logic operation will be always true for E

[PATCH v4 5/5] perf cs-etm: Detect pid in VMID for kernel running at EL2

2021-02-13 Thread Leo Yan
From: Suzuki K Poulose The PID of the task could be traced as VMID when the kernel is running at EL2. Teach the decoder to look for VMID when the CONTEXTIDR (Arm32) or CONTEXTIDR_EL1 (Arm64) is invalid but we have a valid VMID. Cc: Mike Leach Cc: Mathieu Poirier Cc: Al Grant Signed-off-by: S

[PATCH v4 4/5] perf cs-etm: Add helper cs_etm__get_pid_fmt()

2021-02-13 Thread Leo Yan
This patch adds helper function cs_etm__get_pid_fmt(), by passing parameter "traceID", it returns the PID format. Signed-off-by: Leo Yan Reviewed-by: Mathieu Poirier Reviewed-by: Suzuki K Poulose --- tools/perf/util/cs-etm.c | 42 tools/perf/util/cs-etm

[PATCHv2] coresight: etm4x: Add ETM PID for Cortex-A78

2021-02-13 Thread Sai Prakash Ranjan
Add ETM PID for Cortex-A78 to the list of supported ETMs. Signed-off-by: Sai Prakash Ranjan --- Changes in v2: * Rebased on top of coresight/next from kernel.org coresight repo. --- drivers/hwtracing/coresight/coresight-etm4x-core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/

Re: [PATCH v5 net-next 09/11] skbuff: allow to optionally use NAPI cache from __alloc_skb()

2021-02-13 Thread Alexander Lobakin
From: Alexander Duyck Date: Thu, 11 Feb 2021 19:18:45 -0800 > On Thu, Feb 11, 2021 at 11:00 AM Alexander Lobakin wrote: > > > > Reuse the old and forgotten SKB_ALLOC_NAPI to add an option to get > > an skbuff_head from the NAPI cache instead of inplace allocation > > inside __alloc_skb(). > > Th

Re: [PATCH v2] mm/vmalloc: randomize vmalloc() allocations

2021-02-13 Thread Uladzislau Rezki
> Hello, > > Is there a chance of getting this reviewed and maybe even merged, please? > > -Topi > I can review it and help with it. But before that i would like to clarify if such "randomization" is something that you can not leave? For example on 32bit system vmalloc space is limited, such ra

[RFC PATCH 0/7] Add managed version of delayed work init

2021-02-13 Thread Matti Vaittinen
It's not rare that device drivers need delayed work. It's not rare that this work needs driver's data. Often this means that driver must ensure the work is not queued when driver exits. Usually this is done by ensuring new work is not added and then calling cancel_delayed_work_sync() at remove().

[RFC PATCH 1/7] drivers: base: Add resource managed version of delayed work init

2021-02-13 Thread Matti Vaittinen
A few drivers which need a delayed work-queue must cancel work at exit. Some of those implement remove solely for this purpose. Help drivers to avoid unnecessary remove and error-branch implementation by adding managed verision of delayed work initialization Signed-off-by: Matti Vaittinen --- dr

[PATCH] tty: serial: Add earlycon driver for Tegra Combined UART

2021-02-13 Thread Mikko Perttunen
Add an earlycon driver for platforms with TCU, namely Tegra194. The driver is compatible with boot parameters passed by NVIDIA boot chains. Signed-off-by: Mikko Perttunen --- drivers/tty/serial/Kconfig | 12 + drivers/tty/serial/Makefile | 1 + drivers/tty/serial/te

[RFC PATCH 2/7] extconn: Clean-up few drivers by using managed work init

2021-02-13 Thread Matti Vaittinen
Few drivers implement remove call-back only for ensuring a delayed work gets cancelled prior driver removal. Clean-up these by switching to use devm_delayed_work_autocancel() instead. This change is compile-tested only. All testing is appreciated. Signed-off-by: Matti Vaittinen --- drivers/extc

[RFC PATCH 3/7] hwmon: raspberry-pi: Clean-up few drivers by using managed work init

2021-02-13 Thread Matti Vaittinen
Few drivers implement remove call-back only for ensuring a delayed work gets cancelled prior driver removal. Clean-up these by switching to use devm_delayed_work_autocancel() instead. This change is compile-tested only. All testing is appreciated. Signed-off-by: Matti Vaittinen --- drivers/hwmo

[PATCH]: staging: hikey9xx: Fix alignment of function parameters

2021-02-13 Thread Mukul Mehar
This patch fixes the following checkpatch.pl check: CHECK: Alignment should match open parenthesis Signed-off-by: Mukul Mehar --- drivers/staging/hikey9xx/hi6421-spmi-pmic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/hikey9xx/hi6421-spmi-pmic.c b/dr

[RFC PATCH 4/7] platform/x86: gpd pocket fan: Clean-up by using managed work init

2021-02-13 Thread Matti Vaittinen
Few drivers implement remove call-back only for ensuring a delayed work gets cancelled prior driver removal. Clean-up these by switching to use devm_delayed_work_autocancel() instead. This change is compile-tested only. All testing is appreciated. Signed-off-by: Matti Vaittinen --- drivers/plat

[RFC PATCH 5/7] power: supply: Clean-up few drivers by using managed work init

2021-02-13 Thread Matti Vaittinen
Few drivers implement remove call-back only for ensuring a delayed work gets cancelled prior driver removal. Clean-up these by switching to use devm_delayed_work_autocancel() instead. This change is compile-tested only. All testing is appreciated. Signed-off-by: Matti Vaittinen --- drivers/powe

[RFC PATCH 6/7] regulator: qcom_spmi-regulator: Clean-up by using managed work init

2021-02-13 Thread Matti Vaittinen
Few drivers implement remove call-back only for ensuring a delayed work gets cancelled prior driver removal. Clean-up these by switching to use devm_delayed_work_autocancel() instead. This change is compile-tested only. All testing is appreciated. Signed-off-by: Matti Vaittinen --- drivers/regu

Re: [RFC PATCH 3/7] hwmon: raspberry-pi: Clean-up few drivers by using managed work init

2021-02-13 Thread Greg Kroah-Hartman
On Sat, Feb 13, 2021 at 02:07:02PM +0200, Matti Vaittinen wrote: > Few drivers implement remove call-back only for ensuring a delayed > work gets cancelled prior driver removal. Clean-up these by switching > to use devm_delayed_work_autocancel() instead. > > This change is compile-tested only. All

Re: [RFC PATCH 1/7] drivers: base: Add resource managed version of delayed work init

2021-02-13 Thread Greg Kroah-Hartman
On Sat, Feb 13, 2021 at 01:58:44PM +0200, Matti Vaittinen wrote: > A few drivers which need a delayed work-queue must cancel work at exit. > Some of those implement remove solely for this purpose. Help drivers > to avoid unnecessary remove and error-branch implementation by adding > managed verisio

Re: [RFC PATCH 5/7] power: supply: Clean-up few drivers by using managed work init

2021-02-13 Thread Greg Kroah-Hartman
On Sat, Feb 13, 2021 at 02:12:41PM +0200, Matti Vaittinen wrote: > Few drivers implement remove call-back only for ensuring a delayed > work gets cancelled prior driver removal. Clean-up these by switching > to use devm_delayed_work_autocancel() instead. > > This change is compile-tested only. All

[RFC PATCH 7/7] watchdog: retu_wdt: Clean-up by using managed work init

2021-02-13 Thread Matti Vaittinen
Few drivers implement remove call-back only for ensuring a delayed work gets cancelled prior driver removal. Clean-up these by switching to use devm_delayed_work_autocancel() instead. This change is compile-tested only. All testing is appreciated. Signed-off-by: Matti Vaittinen --- drivers/watc

[PATCH v2 0/3] Fixes & a new supplementary feature to SPRD mailbox driver

2021-02-13 Thread Orson Zhai
Fix a real problem fot SPRD's mailbox driver in patch 1/3. Add supplementary inbox support for newly added sc9863a in patch 3/3 and change dt bindings yaml accordingly in patch 2/3. Changes Log: V2: - Change patches order. (Yaml go to the head of dirver) - Remove unnecessary initializing refcnt to

[PATCH v2 1/3] mailbox: sprd: Introduce refcnt when clients requests/free channels

2021-02-13 Thread Orson Zhai
From: Orson Zhai Unisoc mailbox has no way to be enabled/disabled for any single channel. They can only be set to startup or shutdown as a whole device at same time. Add a variable to count references to avoid mailbox FIFO being reset unexpectedly when clients are requesting or freeing channels.

[PATCH v2 2/3] dt-bindings: mailbox: Add interrupt-names to SPRD mailbox

2021-02-13 Thread Orson Zhai
From: Orson Zhai We add an optional supp-outbox interrupt support to SPRD mailbox driver with newly added sc9863a support and change to configure interrupts with names in device tree files. Signed-off-by: Orson Zhai --- .../bindings/mailbox/sprd-mailbox.yaml | 18 +++--- 1

[PATCH v2 3/3] mailbox: sprd: Add supplementary inbox support

2021-02-13 Thread Orson Zhai
From: Orson Zhai Some sensors connected to Unisoc mailbox will send data very frequently. This makes channel 0 very busy and the messages from other remote cores not able to be handled as soon as possible. It's a trick (un-documented) from Unisoc ASIC designers to resolve this special requiremen

Re: [RFC PATCH 1/7] drivers: base: Add resource managed version of delayed work init

2021-02-13 Thread Vaittinen, Matti
On Sat, 2021-02-13 at 13:16 +0100, Greg Kroah-Hartman wrote: > On Sat, Feb 13, 2021 at 01:58:44PM +0200, Matti Vaittinen wrote: > > A few drivers which need a delayed work-queue must cancel work at > > exit. > > Some of those implement remove solely for this purpose. Help > > drivers > > to avoid

[tip:locking/core] BUILD SUCCESS 3765d01bab73bdb920ef711203978f02cd26e4da

2021-02-13 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git locking/core branch HEAD: 3765d01bab73bdb920ef711203978f02cd26e4da Merge branch 'for-mingo-lkmm' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu into locking/core elapsed time: 723m configs teste

[tip:x86/entry] BUILD SUCCESS a3251c1a36f595046bea03935ebe37a1e1f1f1d7

2021-02-13 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git x86/entry branch HEAD: a3251c1a36f595046bea03935ebe37a1e1f1f1d7 Merge branch 'x86/paravirt' into x86/entry elapsed time: 722m configs tested: 146 configs skipped: 2 The following configs have been built successfully

[tip:core/rcu] BUILD SUCCESS 2b392cb11c0db645ba81a08b6a2e96c56ec1fc64

2021-02-13 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git core/rcu branch HEAD: 2b392cb11c0db645ba81a08b6a2e96c56ec1fc64 Merge branch 'for-mingo-nolibc' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu into core/rcu elapsed time: 723m configs tested: 149

[tip:auto-latest] BUILD SUCCESS f1b61f7b4fb971f281978fb905507e9ac9b2d973

2021-02-13 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git auto-latest branch HEAD: f1b61f7b4fb971f281978fb905507e9ac9b2d973 Merge branch 'core/mm' elapsed time: 724m configs tested: 131 configs skipped: 2 The following configs have been built successfully. More configs may

Re: [GIT PULL tip/core/rcu] RCU, LKMM, and KCSAN commits for v5.12

2021-02-13 Thread Willy Tarreau
Hi Paul, On Fri, Feb 12, 2021 at 07:07:05AM -0800, Paul E. McKenney wrote: > Thank you, Ingo! In the future, I will group nolibc with RCU. But there > has to be something other than RCU that needs it. I will take a look. ;-) All my kernels boot using a "preinit" that is built with nolibc and i

INFO: task hung in misc_open (4)

2021-02-13 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:e0756cfc Merge tag 'trace-v5.11-rc7' of git://git.kernel.o.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=147e449cd0 kernel config: https://syzkaller.appspot.com/x/.config?x=1106b4b91e8dfab8 das

Re: [RFC PATCH 1/7] drivers: base: Add resource managed version of delayed work init

2021-02-13 Thread gre...@linuxfoundation.org
On Sat, Feb 13, 2021 at 12:26:59PM +, Vaittinen, Matti wrote: > > On Sat, 2021-02-13 at 13:16 +0100, Greg Kroah-Hartman wrote: > > On Sat, Feb 13, 2021 at 01:58:44PM +0200, Matti Vaittinen wrote: > > > A few drivers which need a delayed work-queue must cancel work at > > > exit. > > > Some of

Re: [PATCH v1] clang_tools:gen_compile_commands: Change the default source directory

2021-02-13 Thread Masahiro Yamada
On Fri, Feb 12, 2021 at 8:20 PM Stephen Zhang wrote: > > Masahiro Yamada 于2021年2月11日周四 下午10:16写道: > > Please stop. > > > > > > Commit 6ca4c6d25949117dc5b4845612e290b6d89e70a8 > > removed the tools/ support. > > > > > > There exist two build systems in the Linux source tree. > > Kbuild covers the

[RFC][PATCH] sched: Fix affine_move_task()

2021-02-13 Thread Peter Zijlstra
When affine_move_task(p) is called on a running task @p, which is not otherwise already changing affinity, we'll first set p->migration_pending and then do: stop_one_cpu(cpu_of_rq(rq), migration_cpu_stop, &arg); This then gets us to migration_cpu_stop() running on the CPU that was prev

Re: [PATCH v5 1/2] pinctrl: use to octal permissions for debugfs files

2021-02-13 Thread Andy Shevchenko
On Sat, Feb 13, 2021 at 12:30 AM Drew Fustini wrote: > > Switch over pinctrl debugfs files to use octal permissions as they are > preferred over symbolic permissions. Refer to commit f90774e1fd27 > ("checkpatch: look for symbolic permissions and suggest octal instead"). > > Note: S_IFREG flag is a

Re: [PATCH 5.10 00/54] 5.10.16-rc1 review

2021-02-13 Thread Greg Kroah-Hartman
On Fri, Feb 12, 2021 at 08:54:01PM +0100, Pavel Machek wrote: > Hi! > > > This is the start of the stable review cycle for the 5.10.16 release. > > There are 54 patches in this series, all will be posted as a response > > to this one. If anyone has any issues with these being applied, please > >

Re: [PATCH 5.10 00/54] 5.10.16-rc1 review

2021-02-13 Thread Greg Kroah-Hartman
On Fri, Feb 12, 2021 at 11:21:26AM -0800, Florian Fainelli wrote: > > > On 2/11/2021 7:01 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.10.16 release. > > There are 54 patches in this series, all will be posted as a response > > to this one. If anyone h

Re: [PATCH 5.10 00/54] 5.10.16-rc1 review

2021-02-13 Thread Greg Kroah-Hartman
On Fri, Feb 12, 2021 at 10:08:25AM -0800, Guenter Roeck wrote: > On Thu, Feb 11, 2021 at 04:01:44PM +0100, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.10.16 release. > > There are 54 patches in this series, all will be posted as a response > > to this one.

Re: [PATCH 5.10 00/54] 5.10.16-rc1 review

2021-02-13 Thread Greg Kroah-Hartman
On Fri, Feb 12, 2021 at 09:17:13AM -0700, Shuah Khan wrote: > On 2/11/21 8:01 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.10.16 release. > > There are 54 patches in this series, all will be posted as a response > > to this one. If anyone has any issues

Re: [PATCH 5.10 00/54] 5.10.16-rc1 review

2021-02-13 Thread Greg Kroah-Hartman
On Fri, Feb 12, 2021 at 09:20:05PM -0600, Ross Schmidt wrote: > On Thu, Feb 11, 2021 at 04:01:44PM +0100, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.10.16 release. > > There are 54 patches in this series, all will be posted as a response > > to this one. I

Re: [PATCH 5.10 00/54] 5.10.16-rc1 review

2021-02-13 Thread Greg Kroah-Hartman
On Fri, Feb 12, 2021 at 08:46:36AM +0530, Naresh Kamboju wrote: > On Thu, 11 Feb 2021 at 20:35, Greg Kroah-Hartman > wrote: > > > > This is the start of the stable review cycle for the 5.10.16 release. > > There are 54 patches in this series, all will be posted as a response > > to this one. If a

Re: [tip: objtool/urgent] objtool: Fix seg fault with Clang non-section symbols

2021-02-13 Thread Greg Kroah-Hartman
On Thu, Feb 11, 2021 at 09:32:03PM +0800, Xi Ruoyao wrote: > Hi all, > > The latest GNU assembler (binutils-2.36.1) is removing unused section symbols > like Clang [1]. So linux-5.10.15 can't be built with binutils-2.36.1 now. It > has been reported as https://bugzilla.kernel.org/show_bug.cgi?id

[GIT PULL] idmapped mounts for v5.12

2021-02-13 Thread Christian Brauner
Hi Linus, /* Summary */ This patch series introduces idmapped mounts which has been in the making for some time. Simply put, different mounts can expose the same file or directory with different ownership. This initial implementation comes with ports for fat, ext4 and with Christoph's port for xfs

[GIT PULL] Btrfs fix for 5.11-rc8

2021-02-13 Thread David Sterba
Hi, a regression fix caused by a refactoring in 5.11. A corrupted superblock wouldn't be detected by checksum verification due to wrongly placed initialization of the checksum length, thus making memcmp always work. I've verified it manually and ran other test suites before sending this. Please p

[PATCH RFC v3 1/3] checkpatch: add verbose mode

2021-02-13 Thread Dwaipayan Ray
Add a new verbose mode to checkpatch.pl to emit additional verbose test descriptions. The verbose mode is optional and can be enabled by the flag -v or --verbose. The test descriptions are parsed from the checkpatch documentation file at `Documentation/dev-tools/checkpatch.rst`. The test descripti

[PATCH RFC v3 0/3] checkpatch: add verbose mode

2021-02-13 Thread Dwaipayan Ray
Add a new verbose mode to checkpatch. The verbose test descriptions are read from the checkpatch documentation file at `Documentation/dev-tools/checkpatch.rst`. The verbose mode is optional and can be enabled by the flag -v or --verbose. The documentation file is only parsed by checkpatch.pl if

[PATCH] staging:wlan-ng: use memdup_user instead of kmalloc/copy_from_user

2021-02-13 Thread Ivan Safonov
memdup_user() is shorter and safer equivalent of kmalloc/copy_from_user pair. Signed-off-by: Ivan Safonov --- drivers/staging/wlan-ng/p80211netdev.c | 28 -- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/drivers/staging/wlan-ng/p80211netdev.c b/drivers/

[PATCH RFC v3 2/3] docs: add documentation for checkpatch

2021-02-13 Thread Dwaipayan Ray
Add documentation for kernel script checkpatch.pl. This documentation is also parsed by checkpatch to enable a verbose mode. The message types in checkpatch are documented with rst field lists. A total of 33 checkpatch type descriptions are added. Signed-off-by: Dwaipayan Ray --- Documentation/

[PATCH] staging:r8188eu: use IEEE80211_FCTL_* kernel definitions

2021-02-13 Thread Ivan Safonov
_TO_DS_, _FROM_DS_, _MORE_FRAG_, _RETRY_, _PWRMGT_, _MORE_DATA_, _PRIVACY_, _ORDER_ definitions are duplicate IEEE80211_FCTL_* kernel definitions. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/include/wifi.h | 51 ++-- 1 file changed, 21 insertions(+), 30 deletion

[PATCH RFC v3 3/3] docs: add documentation for checkpatch

2021-02-13 Thread Dwaipayan Ray
Link the checkpatch documentation to the dev-tools index for sphinx. Signed-off-by: Dwaipayan Ray --- Documentation/dev-tools/index.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/dev-tools/index.rst b/Documentation/dev-tools/index.rst index 1b1cf4f5c9d9..43d28998118b 1006

Linux 4.19.176

2021-02-13 Thread Greg Kroah-Hartman
I'm announcing the release of the 4.19.176 kernel. All users of the 4.19 kernel series must upgrade. The updated 4.19.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.19.y and can be browsed at the normal kernel.org git web browser

Linux 5.4.98

2021-02-13 Thread Greg Kroah-Hartman
I'm announcing the release of the 5.4.98 kernel. All users of the 5.4 kernel series must upgrade. The updated 5.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.4.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.19.176

2021-02-13 Thread Greg Kroah-Hartman
diff --git a/Makefile b/Makefile index db37b39fae69..6bebe3b22b45 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 19 -SUBLEVEL = 175 +SUBLEVEL = 176 EXTRAVERSION = NAME = "People's Front" diff --git a/arch/x86/kvm/svm.c b/arch/

Re: Linux 5.4.98

2021-02-13 Thread Greg Kroah-Hartman
diff --git a/Makefile b/Makefile index 032751f6be0c..4f6bfcf434e8 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 5 PATCHLEVEL = 4 -SUBLEVEL = 97 +SUBLEVEL = 98 EXTRAVERSION = NAME = Kleptomaniac Octopus diff --git a/arch/x86/kvm/svm.c b/arch

Re: Linux 5.10.16

2021-02-13 Thread Greg Kroah-Hartman
diff --git a/Makefile b/Makefile index b62d2d4ea7b0..9a1f26680d83 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 5 PATCHLEVEL = 10 -SUBLEVEL = 15 +SUBLEVEL = 16 EXTRAVERSION = NAME = Kleptomaniac Octopus diff --git a/arch/powerpc/kernel/vdso

  1   2   3   >