drivers/rtc/rtc-pcf8523.c:35:9: warning: 'REG_OFFSET' macro redefined

2021-02-13 Thread kernel test robot
Hi Thomas, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: ac30d8ce28d61c05ac3a8b1452e889371136f3af commit: 7fd70c65faacd39628ba5f670be6490010c8132f ARM: irqstat: Get rid of duplicated declaration date: 3 months

Re: [PATCH v3 2/3] x86/platform/dell-privacy-wmi: add document for dell privacy driver

2021-02-13 Thread Perry Yuan
Hi Mario: Thanks for the review. On 2021/1/13 1:54, Limonciello, Mario wrote: -Original Message- From: Yuan, Perry Sent: Tuesday, January 12, 2021 11:18 To: oder_ch...@realtek.com; pe...@perex.cz; ti...@suse.com; hdego...@redhat.com; mgr...@linux.intel.com Cc: lgirdw...@gmail.com;

[PATCH 1/2] dt-bindings: display: tv101wum: Add STARRY 2081101QFH032011-53G

2021-02-13 Thread Zhengqiao Xia
Add dt-bindings for 10.1" TFT LCD module called STARRY 2081101 QFH032011-53G. Signed-off-by: Zhengqiao Xia --- .../devicetree/bindings/display/panel/boe,tv101wum-nl6.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git

Re: [PATCH v3 1/3] platform/x86: dell-privacy: Add support for Dell hardware privacy

2021-02-13 Thread Perry Yuan
Hi Randy. On 2021/1/13 1:39, Randy Dunlap wrote: On 1/12/21 9:17 AM, Perry Yuan wrote: +config DELL_PRIVACY + tristate "Dell Hardware Privacy Support" + depends on ACPI + depends on ACPI_WMI + depends on INPUT + depends on DELL_LAPTOP + depends on

[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

Re: [PATCH v5 0/2] add support for GPIO or IRQ based evemt counter

2021-02-13 Thread William Breathitt Gray
On Mon, Feb 08, 2021 at 02:53:45PM +0100, Oleksij Rempel wrote: > changes v5: > - rename it to event counter, since it support different event sources At the risk of bikeshedding, I feel "event counter" is too general of a phrase to be useful here -- not to mention that the Counter subsystem

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

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

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?

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: 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

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 > --- >

[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)

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: 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

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

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 ---

[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 +

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

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 > > > >

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

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: > >

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

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

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 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 -

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.

[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 ---

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.

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

[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

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: 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

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

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

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

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

2021-02-13 Thread Topi Miettinen
On 13.2.2021 13.55, Uladzislau Rezki wrote: 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? This happens to interest

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

2021-02-13 Thread Greg Kroah-Hartman
On Fri, Feb 12, 2021 at 12:45:47PM -0500, Steven Rostedt wrote: > On Fri, 12 Feb 2021 11:07:50 -0600 > Josh Poimboeuf wrote: > > > > > Any ideas are appreciated. > > > > [ Adding Steve Rostedt ] > > > > This error message comes from recordmcount. It probably can't handle > > the missing

Re: [PATCH V3] clk: imx: Fix reparenting of UARTs not associated with sdout

2021-02-13 Thread Adam Ford
On Wed, Feb 3, 2021 at 3:22 PM Adam Ford wrote: > > On Thu, Jan 21, 2021 at 4:24 AM Abel Vesa wrote: > > > > On 21-01-21 10:56:17, Sascha Hauer wrote: > > > On Wed, Jan 20, 2021 at 06:14:21PM +0200, Abel Vesa wrote: > > > > On 21-01-20 16:50:01, Sascha Hauer wrote: > > > > > On Wed, Jan 20, 2021

[PATCH] drivers/media/pci/cx18: Fix a spelling minimze to minimize in the file cx18-firmware.c

2021-02-13 Thread Bhaskar Chowdhury
s/minimze/minimize/ Signed-off-by: Bhaskar Chowdhury --- drivers/media/pci/cx18/cx18-firmware.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/pci/cx18/cx18-firmware.c b/drivers/media/pci/cx18/cx18-firmware.c index 876b96c11290..fdac310d7477 100644 ---

[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 -

[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 --

[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 -

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. >

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

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: > > > > > >

[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

[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:

[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

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(). > >

[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 ---

[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

[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

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

[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, ); This then gets us to migration_cpu_stop() running on the CPU that was

[tip:x86/mm] BUILD SUCCESS 40c1fa52cdb7c13ef88232e374b4b8ac8d820c4f

2021-02-13 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/mm branch HEAD: 40c1fa52cdb7c13ef88232e374b4b8ac8d820c4f Merge branch 'x86/cleanups' into x86/mm elapsed time: 736m configs tested: 129 configs skipped: 53 The following configs have been built successfully. More

[PATCH v6 net-next 10/11] skbuff: allow to use NAPI cache from __napi_alloc_skb()

2021-02-13 Thread Alexander Lobakin
{,__}napi_alloc_skb() is mostly used either for optional non-linear receive methods (usually controlled via Ethtool private flags and off by default) and/or for Rx copybreaks. Use __napi_build_skb() here for obtaining skbuff_heads from NAPI cache instead of inplace allocations. This includes both

[PATCH] ia64: Depend on non-static printk for cmpxchg debug

2021-02-13 Thread Chris Down
With !CONFIG_PRINTK, printk() is static in the header, but ia64's cmpxchg.h with CONFIG_IA64_DEBUG_CMPXCHG doesn't take this into account before trying to use it as extern, resulting in a compiler error: ./include/linux/printk.h:219:5: error: static declaration of 'printk' follows non-static

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

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

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 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:

[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

[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 ---

[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 +

[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

[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

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

[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

Linux 5.10.16

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

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

2021-02-13 Thread Hans de Goede
Hi, On 2/13/21 1:16 PM, 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 unnecessary remove

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 02:18:06PM +0100, Hans de Goede wrote: > Hi, > > On 2/13/21 1:16 PM, 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

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

2021-02-13 Thread kernel test robot
drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Mikko-Perttunen/tty-serial-Add-earlycon-driver-for-Tegra-Combined-UART/20210213-200425 base: https://git.kernel.org

Re: [PATCH v5 net-next 06/11] skbuff: remove __kfree_skb_flush()

2021-02-13 Thread Alexander Lobakin
From: Alexander Duyck Date: Thu, 11 Feb 2021 19:28:52 -0800 > On Thu, Feb 11, 2021 at 10:57 AM Alexander Lobakin wrote: > > > > This function isn't much needed as NAPI skb queue gets bulk-freed > > anyway when there's no more room, and even may reduce the efficiency > > of bulk operations. > >

[PATCH] MIPS: kernel: Drop kgdb_call_nmi_hook

2021-02-13 Thread Thomas Bogendoerfer
With the removal of set_fs() calls kgdb_call_nmi_hook() is now the same as the default implementation, so we can remove it. Signed-off-by: Thomas Bogendoerfer --- arch/mips/kernel/kgdb.c | 5 - 1 file changed, 5 deletions(-) diff --git a/arch/mips/kernel/kgdb.c b/arch/mips/kernel/kgdb.c

[PATCH v6 net-next 01/11] skbuff: move __alloc_skb() next to the other skb allocation functions

2021-02-13 Thread Alexander Lobakin
In preparation before reusing several functions in all three skb allocation variants, move __alloc_skb() next to the __netdev_alloc_skb() and __napi_alloc_skb(). No functional changes. Signed-off-by: Alexander Lobakin --- net/core/skbuff.c | 284 +++--- 1

[PATCH v6 net-next 04/11] skbuff: simplify __alloc_skb() a bit

2021-02-13 Thread Alexander Lobakin
Use unlikely() annotations for skbuff_head and data similarly to the two other allocation functions and remove totally redundant goto. Signed-off-by: Alexander Lobakin --- net/core/skbuff.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/net/core/skbuff.c

[PATCH v6 net-next 00/11] skbuff: introduce skbuff_heads bulking and reusing

2021-02-13 Thread Alexander Lobakin
Currently, all sorts of skb allocation always do allocate skbuff_heads one by one via kmem_cache_alloc(). On the other hand, we have percpu napi_alloc_cache to store skbuff_heads queued up for freeing and flush them by bulks. We can use this cache not only for bulk-wiping, but also to obtain

[PATCH v6 net-next 02/11] skbuff: simplify kmalloc_reserve()

2021-02-13 Thread Alexander Lobakin
Eversince the introduction of __kmalloc_reserve(), "ip" argument hasn't been used. _RET_IP_ is embedded inside kmalloc_node_track_caller(). Remove the redundant macro and rename the function after it. Signed-off-by: Alexander Lobakin --- net/core/skbuff.c | 7 ++- 1 file changed, 2

[PATCH v6 net-next 03/11] skbuff: make __build_skb_around() return void

2021-02-13 Thread Alexander Lobakin
__build_skb_around() can never fail and always returns passed skb. Make it return void to simplify and optimize the code. Signed-off-by: Alexander Lobakin --- net/core/skbuff.c | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/net/core/skbuff.c

Re: [PATCH v4] printk: Userspace format enumeration support

2021-02-13 Thread Chris Down
kernel test robot writes: Hi Chris, Thank you for the patch! Yet something to improve: I'm pretty sure !CONFIG_PRINTK && CONFIG_IA64_DEBUG_CMPXCHG has been broken like this long before this change. With !CONFIG_PRINTK, printk() is static in the header, but ia64's cmpxchg.h with

Re: [PATCH v3 1/3] drm/mediatek: mtk_dpi: Add check for max clock rate in mode_valid

2021-02-13 Thread Nicolas Boichat
+Pi-Hsun Shih On Mon, Feb 8, 2021 at 9:42 AM Jitao Shi wrote: > > Add per-platform max clock rate check in mtk_dpi_bridge_mode_valid. > > Signed-off-by: Jitao Shi I believe this patch (and the following) were actually authored by Pi-Hsun: https://crrev.com/c/2628812 . Would be best to keep the

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

[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 -

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

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] 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

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

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

[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 ---

[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 ---

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.

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

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

  1   2   3   >