Re: [PATCH RESEND v2 4/5] iommu/tegra-smmu: Rework tegra_smmu_probe_device()

2021-02-10 Thread Nicolin Chen
Hi Guillaume, On Sat, Feb 06, 2021 at 01:40:13PM +, Guillaume Tucker wrote: > > It'd be nicer if I can get both logs of the vanilla kernel (failing) > > and the commit-reverted version (passing), each applying this patch. > > Sure, I've run 3 jobs: > > * v5.11-rc6 as a reference, to see the

Re: [PATCH v4 0/8] Make fw_devlink=on more forgiving

2021-02-10 Thread Tudor.Ambarus
Hi, Saravana, On 2/6/21 12:26 AM, Saravana Kannan wrote: > There are a lot of devices/drivers where they never have a struct device > created for them or the driver initializes the hardware without ever > binding to the struct device. > > This series is intended to avoid any boot regressions due

Re: [PATCH RFC 6/6] btrfs: Add roundrobin raid1 read policy

2021-02-10 Thread Anand Jain
On 10/02/2021 04:30, Michal Rostecki wrote: From: Michal Rostecki Add a new raid1 read policy `roundrobin`. For each read request, it selects the mirror which has lower load than queue depth and it starts iterating from the last used mirror (by the current CPU). Load is defined as the number

Re: linux-next: build failure after merge of the powerpc tree

2021-02-10 Thread Nicholas Piggin
Excerpts from Stephen Rothwell's message of February 9, 2021 8:19 pm: > Hi all, > > After merging the powerpc tree, today's linux-next build (powerpc > allyesconfig) failed like this: > > arch/powerpc/kernel/head_64.o:(__ftr_alt_97+0x0): relocation truncated to > fit: R_PPC64_REL24 (OPD)

Re: [PATCH 1/2] power: supply: bq25980: Applies multiple fixes brought on

2021-02-10 Thread Krzysztof Kozlowski
On Wed, 10 Feb 2021 at 00:52, Ricardo Rivera-Matos wrote: > > fix: corrects various register step size and offset values > > fix: corrects bq25980_get_input_curr_lim() and bq25980_set_input_curr_lim() > > fix: corrects bq25980_get_const_charge_curr() and > bq25980_set_const_charge_curr() > >

Re: Linux 4.4.257

2021-02-10 Thread Greg Kroah-Hartman
diff --git a/Makefile b/Makefile index 0057587d2cbe..8de8f9ac3279 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 4 -SUBLEVEL = 256 +SUBLEVEL = 257 EXTRAVERSION = NAME = Blurry Fish Butt @@ -830,12 +830,6 @@ KBUILD_CFLAGS += $(call

[PATCH] soc: ti: omap-prm: Fix reboot issue with invalid pcie reset map for dra7

2021-02-10 Thread Tony Lindgren
Yongqin Liu reported an issue where reboot hangs on beagleboard-x15. This started happening after commit 7078a5ba7a58 ("soc: ti: omap-prm: Fix boot time errors for rst_map_012 bits 0 and 1"). We now assert any 012 type resets on init to prevent unconfigured accelerator MMUs getting enabled on

Linux 4.9.257

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

Linux 4.4.257

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

[PATCH 1/2] locking/mutex: Kill mutex_trylock_recursive()

2021-02-10 Thread Sebastian Andrzej Siewior
There are not users of mutex_trylock_recursive() in tree as of v5.11-rc7. Remove it. Signed-off-by: Sebastian Andrzej Siewior --- include/linux/mutex.h | 25 - kernel/locking/mutex.c | 10 -- 2 files changed, 35 deletions(-) diff --git a/include/linux/mutex.h

Linux 4.19.175

2021-02-10 Thread Greg Kroah-Hartman
I'm announcing the release of the 4.19.175 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

Re: Linux 4.19.175

2021-02-10 Thread Greg Kroah-Hartman
diff --git a/Makefile b/Makefile index 8f326d0652a7..db37b39fae69 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 19 -SUBLEVEL = 174 +SUBLEVEL = 175 EXTRAVERSION = NAME = "People's Front" @@ -859,12 +859,6 @@ KBUILD_CFLAGS

Linux 5.4.97

2021-02-10 Thread Greg Kroah-Hartman
I'm announcing the release of the 5.4.97 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 5.4.97

2021-02-10 Thread Greg Kroah-Hartman
diff --git a/Makefile b/Makefile index 7a47a2594f95..032751f6be0c 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 5 PATCHLEVEL = 4 -SUBLEVEL = 96 +SUBLEVEL = 97 EXTRAVERSION = NAME = Kleptomaniac Octopus @@ -920,12 +920,6 @@ KBUILD_CFLAGS

Linux 5.10.15

2021-02-10 Thread Greg Kroah-Hartman
I'm announcing the release of the 5.10.15 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

[PATCH v3] arm64: dts: qcom: sdm845-xiaomi-beryllium: Add DSI and panel bits

2021-02-10 Thread Amit Pundir
From: Sumit Semwal Enabling the Display panel for beryllium requires DSI labibb regulators and panel dts nodes to be added. It is also required to keep some of the regulators as always-on. Signed-off-by: Sumit Semwal Signed-off-by: Amit Pundir --- v3: Addressed Konrad's concerns. Configured

[PATCH v3 1/3] perf core: Factor out __perf_sw_event_sched

2021-02-10 Thread Namhyung Kim
In some cases, we need to check more than whether the software event is enabled. So split the condition check and the actual event handling. This is a preparation for the next change. Suggested-by: Peter Zijlstra Signed-off-by: Namhyung Kim --- include/linux/perf_event.h | 33

Re: [PATCH v2 2/2] pinctrl: pinmux: Add pinmux-select debugfs file

2021-02-10 Thread Geert Uytterhoeven
Hi Drew, On Wed, Feb 10, 2021 at 8:50 AM Drew Fustini wrote: > Add "pinmux-select" to debugfs which will activate a function and group > when 2 integers " " are written to > the file. The write operation pinmux_select() handles this by checking > if fsel and gsel are valid selectors and then

[PATCH v3 3/3] perf tools: Add 'cgroup-switches' software event

2021-02-10 Thread Namhyung Kim
It counts how often cgroups are changed actually during the context switches. # perf stat -a -e context-switches,cgroup-switches -a sleep 1 Performance counter stats for 'system wide': 11,267 context-switches 10,950 cgroup-switches

[PATCH v3 2/3] perf core: Add PERF_COUNT_SW_CGROUP_SWITCHES event

2021-02-10 Thread Namhyung Kim
This patch adds a new software event to count context switches involving cgroup switches. So it's counted only if cgroups of previous and next tasks are different. Note that it only checks the cgroups in the perf_event subsystem. For cgroup v2, it shouldn't matter anyway. One can argue that we

Re: [PATCH v5 2/2] power: supply: bq25790: Introduce the BQ25790 charger driver

2021-02-10 Thread Krzysztof Kozlowski
On Tue, 2 Feb 2021 at 03:20, Ricardo Rivera-Matos wrote: > > From: Dan Murphy > > BQ25790 is a highly integrated switch-mode buck-boost charger > for 1-4 cell Li-ion battery and Li-polymer battery. > > Signed-off-by: Ricardo Rivera-Matos > Signed-off-by: Dan Murphy Looks like wrong order of

Re: [PATCH 5.10 000/120] 5.10.15-rc1 review

2021-02-10 Thread Greg Kroah-Hartman
On Mon, Feb 08, 2021 at 07:33:53PM +0100, Pavel Machek wrote: > On Mon 2021-02-08 15:59:47, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.10.15 release. > > There are 120 patches in this series, all will be posted as a response > > to this one. If anyone has

Re: [PATCH 5.10 000/120] 5.10.15-rc1 review

2021-02-10 Thread Greg Kroah-Hartman
On Mon, Feb 08, 2021 at 01:01:09PM -0700, Shuah Khan wrote: > On 2/8/21 7:59 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.10.15 release. > > There are 120 patches in this series, all will be posted as a response > > to this one. If anyone has any issues

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

2021-02-10 Thread Geert Uytterhoeven
Hi Drew, On Wed, Feb 10, 2021 at 8:50 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"). > > Signed-off-by:

[PATCH v6 3/2] powerpc/syscall: Avoid storing 'current' in another pointer

2021-02-10 Thread Christophe Leroy
By saving the pointer pointing to thread_info.flags, gcc copies r2 in a non-volatile register. We know 'current' doesn't change, so avoid that intermediaite pointer. Reduces null_syscall benchmark by 2 cycles (322 => 320 cycles) On PPC64, gcc seems to know that 'current' is not changing, and it

Re: Linux 4.14.221

2021-02-10 Thread Greg Kroah-Hartman
diff --git a/Makefile b/Makefile index 088dc5383dcf..b25ce26c1cd7 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 14 -SUBLEVEL = 220 +SUBLEVEL = 221 EXTRAVERSION = NAME = Petit Gorille @@ -844,12 +844,6 @@ KBUILD_CFLAGS +=

[PATCH] arch: x86: entry: vdso: Fix the spelling postive to positive in the file vsgx.S

2021-02-10 Thread Bhaskar Chowdhury
s/postive/positive/ Signed-off-by: Bhaskar Chowdhury --- arch/x86/entry/vdso/vsgx.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/entry/vdso/vsgx.S b/arch/x86/entry/vdso/vsgx.S index 86a0e94f68df..99dafac992e2 100644 --- a/arch/x86/entry/vdso/vsgx.S +++

Re: [PATCH v5 20/22] powerpc/syscall: Avoid storing 'current' in another pointer

2021-02-10 Thread Christophe Leroy
Le 10/02/2021 à 03:00, Nicholas Piggin a écrit : Excerpts from Christophe Leroy's message of February 10, 2021 3:03 am: Le 09/02/2021 à 15:31, David Laight a écrit : From: Segher Boessenkool Sent: 09 February 2021 13:51 On Tue, Feb 09, 2021 at 12:36:20PM +1000, Nicholas Piggin wrote:

Linux 4.14.221

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

[RFC][PATCH] objtool: WARN about ENDBR instructions

2021-02-10 Thread Peter Zijlstra
Given all the ENDBR fun we recently had, do we want the below? Until someone comes and fixes up kprobes/ftrace/livepatch etc.. having them is a giant pain and we'd better warn about it. --- diff --git a/tools/objtool/arch/x86/decode.c b/tools/objtool/arch/x86/decode.c index

Re: [PATCH v10 7/7] at24: Support probing while off

2021-02-10 Thread Sakari Ailus
On Tue, Feb 09, 2021 at 05:58:12PM +0100, Rafael J. Wysocki wrote: > On Tue, Feb 9, 2021 at 5:54 PM Sakari Ailus > wrote: > > > > On Tue, Feb 09, 2021 at 05:42:45PM +0100, Rafael J. Wysocki wrote: > > > On Tue, Feb 9, 2021 at 5:23 PM Sakari Ailus > > > wrote: > > > > > > > > Hi Bartosz, Rafael,

Re: [PATCH] mm/hugetlb: use some helper functions to cleanup code

2021-02-10 Thread David Hildenbrand
On 10.02.21 07:53, Miaohe Lin wrote: We could use pages_per_huge_page to get the number of pages per hugepage, use get_hstate_idx to calculate hstate index, and use hstate_is_gigantic to check if a hstate is gigantic to make code more succinct. Another suggestion, please collect and group

Re: linux-next: build failure after merge of the modules tree

2021-02-10 Thread Masahiro Yamada
On Wed, Feb 10, 2021 at 5:06 PM Jessica Yu wrote: > > +++ Stephen Rothwell [10/02/21 08:50 +1100]: > >Hi Jessica, > > > >On Tue, 9 Feb 2021 16:16:20 +0100 Jessica Yu wrote: > >> > >> Hmm, these errors don't look like it's related to that particular commit. > >> I was > > > >I found this commit

Re: [PATCH 4/5] ARM: dts: stm32: enable the analog filter for all I2C nodes in stm32mp151

2021-02-10 Thread Pierre Yves MORDRET
Hello Looks good to me Reviewed-by: Pierre-Yves MORDRET Thx Regards On 2/5/21 9:51 AM, Alain Volmat wrote: > Enable the analog filter for all I2C nodes of the stm32mp151. > > Signed-off-by: Alain Volmat > --- > arch/arm/boot/dts/stm32mp151.dtsi | 6 ++ > 1 file changed, 6

Re: [init/console] a91bd6223e: unixbench.score -5.9% regression

2021-02-10 Thread Petr Mladek
Hello, just for record. On Tue 2021-02-09 13:49:25, kernel test robot wrote: > > Greeting, > > FYI, we noticed a -5.9% regression of unixbench.score due to commit: > > > commit: a91bd6223ecd46addc71ee6fcd432206d39365d2 ("Revert "init/console: Use > ttynull as a fallback when there is no

Re: [PATCH] clk: at91: Fix the declaration of the clocks

2021-02-10 Thread Geert Uytterhoeven
Hi Saravana, On Wed, Feb 10, 2021 at 1:57 AM Saravana Kannan wrote: > On Tue, Feb 9, 2021 at 4:54 PM Stephen Boyd wrote: > > Quoting tudor.amba...@microchip.com (2021-02-08 01:49:45) > > > Do you plan to take this patch for v5.12? > > > If fw_devlink will remain set to ON for v5.12, some of our

Re: [PATCH] mm/hugetlb: use some helper functions to cleanup code

2021-02-10 Thread Miaohe Lin
On 2021/2/10 16:35, David Hildenbrand wrote: > On 10.02.21 07:53, Miaohe Lin wrote: >> We could use pages_per_huge_page to get the number of pages per hugepage, >> use get_hstate_idx to calculate hstate index, and use hstate_is_gigantic >> to check if a hstate is gigantic to make code more

Re: [PATCH] sign-file: add openssl engine support

2021-02-10 Thread David Woodhouse
On 10 February 2021 07:45:54 GMT, Yang Song wrote: >Use a customized signature service supported by openssl engine >to sign the kernel module. >Add command line parameters that support engine for sign-file >to use the customized openssl engine service to sign kernel modules. > >Signed-off-by:

Re: [PATCH v3] mm: cma: support sysfs

2021-02-10 Thread Greg KH
On Tue, Feb 09, 2021 at 11:55:09PM -0800, Minchan Kim wrote: > Since CMA is getting used more widely, it's more important to > keep monitoring CMA statistics for system health since it's > directly related to user experience. > > This patch introduces sysfs statistics for CMA, in order to provide

[PATCH v2] staging: gdm724x: Fix DMA from stack

2021-02-10 Thread Amey Narkhede
Stack allocated buffers cannot be used for DMA on all architectures so allocate hci_packet buffer using kzalloc(). Signed-off-by: Amey Narkhede --- Changes in v2: - Fixed build warning - Fixed memory leak using kfree drivers/staging/gdm724x/gdm_usb.c | 9 +++-- 1 file

[PATCH v2 0/2] phy: amlogic: Add support for the G12A Analog MIPI D-PHY

2021-02-10 Thread Neil Armstrong
The Amlogic G12A SoCs embeds an Analog MIPI D-PHY to communicate with DSI panels, this adds the bindings. This Analog D-PHY works with a separate Digital MIPI D-PHY. This serie adds the Bindings and the PHY driver. Changes from v1 at [1]: - Bindings fixes [1]

[PATCH v2 2/2] phy: amlogic: Add G12A Analog MIPI D-PHY driver

2021-02-10 Thread Neil Armstrong
The Amlogic G12A SoCs embeds an Analog MIPI D-PHY used to communicate with DSI panels. Signed-off-by: Neil Armstrong --- drivers/phy/amlogic/Kconfig | 12 ++ drivers/phy/amlogic/Makefile | 1 + .../amlogic/phy-meson-g12a-mipi-dphy-analog.c | 177

[PATCH v2 1/2] dt-bindings: phy: add Amlogic G12A Analog MIPI D-PHY bindings

2021-02-10 Thread Neil Armstrong
The Amlogic G12A SoCs embeds an Analog MIPI D-PHY to communicate with DSI panels, this adds the bindings. This Analog D-PHY works with a separate Digital MIPI D-PHY. Signed-off-by: Neil Armstrong --- .../phy/amlogic,g12a-mipi-dphy-analog.yaml| 35 +++ 1 file changed, 35

Re: [PATCH 1/5] ath10k: fix conf_mutex lock assert in ath10k_debug_fw_stats_request()

2021-02-10 Thread Kalle Valo
Shuah Khan wrote: > ath10k_debug_fw_stats_request() is called ath10k_sta_statistics() > without holding conf_mutex. ath10k_debug_fw_stats_request() simply > returns when CONFIG_ATH10K_DEBUGFS is disabled. > > When CONFIG_ATH10K_DEBUGFS is enabled, ath10k_debug_fw_stats_request() > code path

Re: [PATCH v1 5/5] driver core: Set fw_devlink=on by default

2021-02-10 Thread Saravana Kannan
On Tue, Feb 9, 2021 at 9:54 PM Guenter Roeck wrote: > > On Thu, Dec 17, 2020 at 07:17:03PM -0800, Saravana Kannan wrote: > > Cyclic dependencies in some firmware was one of the last remaining > > reasons fw_devlink=on couldn't be set by default. Now that cyclic > > dependencies don't block

Re: [PATCH net-next 7/9] net: phy: icplus: select page before writing control register

2021-02-10 Thread Michael Walle
Hi, Am 2021-02-10 08:03, schrieb Heiner Kallweit: On 09.02.2021 17:40, Michael Walle wrote: Registers >= 16 are paged. Be sure to set the page. It seems this was working for now, because the default is correct for the registers used in the driver at the moment. But this will also assume,

Re: [PATCH v4 4/8] of: property: Add fw_devlink support for optional properties

2021-02-10 Thread Geert Uytterhoeven
Hi Saravana, CC iommu On Tue, Feb 9, 2021 at 10:55 PM Saravana Kannan wrote: > On Tue, Feb 9, 2021 at 1:33 PM Rob Herring wrote: > > On Fri, Feb 05, 2021 at 02:26:40PM -0800, Saravana Kannan wrote: > > > Not all DT bindings are mandatory bindings. Add support for optional DT > > > bindings and

Re: [PATCH 4/5] ath10k: detect conf_mutex held ath10k_drain_tx() calls

2021-02-10 Thread Kalle Valo
Shuah Khan writes: > ath10k_drain_tx() must not be called with conf_mutex held as workers can > use that also. Add check to detect conf_mutex held calls. > > Signed-off-by: Shuah Khan The commit log does not answer to "Why?". How did you find this? What actual problem are you trying to solve?

Re: [PATCH v5 3/3] iio: proximity: Add a ChromeOS EC MKBP proximity driver

2021-02-10 Thread Gwendal Grignou
On Tue, Feb 9, 2021 at 6:51 PM Stephen Boyd wrote: > > Add support for a ChromeOS EC proximity driver that exposes a "front" > proximity sensor via the IIO subsystem. The EC decides when front > proximity is near and sets an MKBP switch 'EC_MKBP_FRONT_PROXIMITY' to > notify the kernel of

Re: [PATCH 5.10 000/120] 5.10.15-rc1 review

2021-02-10 Thread Greg Kroah-Hartman
On Tue, Feb 09, 2021 at 07:28:16PM -0600, Ross Schmidt wrote: > On Mon, Feb 08, 2021 at 03:59:47PM +0100, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.10.15 release. > > There are 120 patches in this series, all will be posted as a response > > to this one.

Re: [PATCH 5.10 000/120] 5.10.15-rc1 review

2021-02-10 Thread Greg Kroah-Hartman
On Tue, Feb 09, 2021 at 10:14:44AM -0800, Guenter Roeck wrote: > On Mon, Feb 08, 2021 at 03:59:47PM +0100, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.10.15 release. > > There are 120 patches in this series, all will be posted as a response > > to this one.

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

2021-02-10 Thread Joe Perches
On Tue, 2021-02-09 at 23:49 -0800, 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"). > > Signed-off-by: Drew

Re: [PATCH 5.10 000/120] 5.10.15-rc1 review

2021-02-10 Thread Greg Kroah-Hartman
On Tue, Feb 09, 2021 at 07:42:34PM +0530, Naresh Kamboju wrote: > On Mon, 8 Feb 2021 at 20:44, Greg Kroah-Hartman > wrote: > > > > This is the start of the stable review cycle for the 5.10.15 release. > > There are 120 patches in this series, all will be posted as a response > > to this one. If

[PATCH 2/2] checkpatch: Don't check for mutex_trylock_recursive()

2021-02-10 Thread Sebastian Andrzej Siewior
mutex_trylock_recursive() has been removed from the tree, there is no need to check for it. Remove traces of mutex_trylock_recursive()'s existence. Signed-off-by: Sebastian Andrzej Siewior --- scripts/checkpatch.pl | 6 -- 1 file changed, 6 deletions(-) diff --git a/scripts/checkpatch.pl

Re: [RFC PATCH v1 0/4] vfio: Add IOPF support for VFIO passthrough

2021-02-10 Thread Shenming Lu
On 2021/2/9 19:06, Liu, Yi L wrote: >> From: Tian, Kevin >> Sent: Thursday, February 4, 2021 2:52 PM >> >>> From: Shenming Lu >>> Sent: Tuesday, February 2, 2021 2:42 PM >>> >>> On 2021/2/1 15:56, Tian, Kevin wrote: > From: Alex Williamson > Sent: Saturday, January 30, 2021 6:58 AM

Re: [PATCH] virtio-mmio: Use to_virtio_mmio_device() to simply code

2021-02-10 Thread Jason Wang
On 2021/2/10 上午11:04, Tang Bin wrote: The file virtio_mmio.c has defined the function to_virtio_mmio_device, so use it instead of container_of() to simply code. And remove superfluous blank lines in this file. Signed-off-by: Tang Bin --- drivers/virtio/virtio_mmio.c | 16 +---

Re: [PATCH] clk: at91: sama5d2: Mark device OF_POPULATED after setup

2021-02-10 Thread Tudor.Ambarus
Hi, Saravana, On 2/9/21 9:06 PM, Saravana Kannan wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > On Tue, Feb 9, 2021 at 7:21 AM wrote: >> >> Hi, Saravana, >> >> On 2/9/21 11:11 AM, Saravana Kannan wrote: >>> EXTERNAL EMAIL: Do not click

Re: [PATCH] x86, sched: Allow NUMA nodes to share an LLC on Intel platforms

2021-02-10 Thread Peter Zijlstra
On Tue, Feb 09, 2021 at 11:09:27PM +, Luck, Tony wrote: > > +#define X86_BUG_NUMA_SHARES_LLCX86_BUG(25) /* CPU may > > enumerate an LLC shared by multiple NUMA nodes */ > > During internal review I wondered why this is a "BUG" rather than a "FEATURE" > bit. > > Apparently, the

[PATCH] net: dsa: mv88e6xxx: NET_DSA_MV88E6XXX_PTP should depend on NET_DSA_MV88E6XXX

2021-02-10 Thread Geert Uytterhoeven
Making global2 support mandatory removed the Kconfig symbol NET_DSA_MV88E6XXX_GLOBAL2. This symbol also served as an intermediate symbol to make NET_DSA_MV88E6XXX_PTP depend on NET_DSA_MV88E6XXX. With the symbol removed, the user is always asked about PTP support for Marvell 88E6xxx switches,

Re: [PATCH 2/2] arm64: dts: meson: add initial device-tree for Minix NEO U9-H

2021-02-10 Thread Neil Armstrong
On 01/02/2021 22:05, Christian Hewitt wrote: > Minix NEO U9-H is based on the Amlogic Q200 reference board with an > S912-H chip and the following specs: > > - 2GB DDR3 RAM > - 16GB eMMC > - 10/100/1000 Base-T Ethernet > - AP6356S Wireless (802.11 a/b/g/n/ac, BT 4.1) > - RTC chip > - HDMI 2.1

Re: [PATCH 5.10 000/120] 5.10.15-rc1 review

2021-02-10 Thread Greg Kroah-Hartman
On Mon, Feb 08, 2021 at 05:22:07PM -0300, Davidson Francis wrote: > On Mon, Feb 08, 2021 at 03:59:47PM +0100, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.10.15 release. > > There are 120 patches in this series, all will be posted as a response > > to this

Re: [PATCH] sign-file: add openssl engine support

2021-02-10 Thread David Howells
Yang Song wrote: > + "Usage: scripts/sign-file [-edp] [] >[]\n"); Do you mean: "Usage: scripts/sign-file [-dp] [-e ] []\n"); > + opt = getopt(argc, argv, "sedpk"); "se:dpk"? > + if (use_engine) { > +

Re: [PATCH 4/5] ath10k: detect conf_mutex held ath10k_drain_tx() calls

2021-02-10 Thread kernel test robot
. 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/Shuah-Khan/ath10k-fixes-for-warns/20210210-085259 base: https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-next.git

Re: [PATCH] x86, sched: Allow NUMA nodes to share an LLC on Intel platforms

2021-02-10 Thread Peter Zijlstra
On Tue, Feb 09, 2021 at 02:39:43PM -0800, Alison Schofield wrote: > Commit 1340ccfa9a9a ("x86,sched: Allow topologies where NUMA nodes > share an LLC") added a vendor and model specific check to skip the > topology_sane() check for Intel's Sky Lake Server CPUs where NUMA > nodes shared an LLC. >

Re: [PATCH] MAINTAINERS: replace non-matching patterns for loongson{2,3}

2021-02-10 Thread Joe Perches
On Wed, 2021-02-10 at 08:59 +0100, Lukas Bulwahn wrote: > Commit ffe1f9356fbe ("MAINTAINERS: Add Loongson-2/Loongson-3 maintainers") > adds quite generic file entries for drivers/*/*loongson{2,3}* and > drivers/*/*/*loongson{2,3}* to be informed on changes to all loongson{2,3} > files in drivers.

Re: [PATCH 5/5] ath10k: reduce invalid ht params rate message noise

2021-02-10 Thread Kalle Valo
Wen Gong writes: > On 2021-02-10 08:42, Shuah Khan wrote: >> ath10k_mac_get_rate_flags_ht() floods dmesg with the following >> messages, >> when it fails to find a match for mcs=7 and rate=1440. >> >> supported_ht_mcs_rate_nss2: >> {7, {1300, 2700, 1444, 3000} } >> >> ath10k_pci :02:00.0:

Re: [PATCH 5.4 00/65] 5.4.97-rc1 review

2021-02-10 Thread Greg Kroah-Hartman
On Tue, Feb 09, 2021 at 08:00:00AM -0300, Igor Torrente wrote: > On Mon, Feb 8, 2021 at 12:24 PM Greg Kroah-Hartman > wrote: > > > > This is the start of the stable review cycle for the 5.4.97 release. > > There are 65 patches in this series, all will be posted as a response > > to this one. If

[PATCH 0/1] MHI fix for v5.12

2021-02-10 Thread Manivannan Sadhasivam
Hi Greg, At the last moment we noticed a regression which existed since last release. Since we are very late for v5.11 rc, please consider merging this patch for v5.12. Thanks, Mani Loic Poulain (1): mhi: Fix double dma free drivers/bus/mhi/core/init.c | 3 +++ 1 file changed, 3

[PATCH 1/1] mhi: Fix double dma free

2021-02-10 Thread Manivannan Sadhasivam
From: Loic Poulain mhi_deinit_chan_ctxt functionthat takes care of unitializing channel resources, including unmapping coherent MHI areas, can be called from different path in case of controller unregistering/removal: - From a client driver remove callback, via mhi_unprepare_channel - From

Re: [PATCH 5.4 00/65] 5.4.97-rc1 review

2021-02-10 Thread Greg Kroah-Hartman
On Mon, Feb 08, 2021 at 09:39:52AM -0800, Florian Fainelli wrote: > On 2/8/21 7:00 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.4.97 release. > > There are 65 patches in this series, all will be posted as a response > > to this one. If anyone has any

Re: Linux 4.9.257

2021-02-10 Thread Greg Kroah-Hartman
diff --git a/Makefile b/Makefile index 69af44d3dcd1..e53096154f81 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 9 -SUBLEVEL = 256 +SUBLEVEL = 257 EXTRAVERSION = NAME = Roaring Lionus @@ -841,12 +841,6 @@ KBUILD_CFLAGS += $(call

Re: [PATCH v5 1/2] dt-bindings: power: Add the bq25790 dt bindings

2021-02-10 Thread Krzysztof Kozlowski
On Tue, 2 Feb 2021 at 03:20, Ricardo Rivera-Matos wrote: > > From: Dan Murphy > > Add the bindings for the bq25790. > > Reviewed-by: Rob Herring > Signed-off-by: Ricardo Rivera-Matos > Signed-off-by: Dan Murphy Order of tags is entirely wrong. Did Rob review it before Dan write it? Your Sob

[PATCH] MAINTAINERS: replace non-matching patterns for loongson{2,3}

2021-02-10 Thread Lukas Bulwahn
Commit ffe1f9356fbe ("MAINTAINERS: Add Loongson-2/Loongson-3 maintainers") adds quite generic file entries for drivers/*/*loongson{2,3}* and drivers/*/*/*loongson{2,3}* to be informed on changes to all loongson{2,3} files in drivers. However, only the pattern 'drivers/*/*loongson2*' matches to

Re: [PATCH v3] mm: cma: support sysfs

2021-02-10 Thread John Hubbard
On 2/9/21 11:55 PM, Minchan Kim wrote: Since CMA is getting used more widely, it's more important to keep monitoring CMA statistics for system health since it's directly related to user experience. This patch introduces sysfs statistics for CMA, in order to provide some basic monitoring of the

Re: [PATCH] selftests/vDSO: fix ABI selftest on riscv

2021-02-10 Thread Tobias Klauser
On 2021-02-09 at 00:37:24 +0100, Shuah Khan wrote: > On 2/5/21 12:57 AM, Tobias Klauser wrote: > > On 2021-02-05 at 08:06:37 +0100, Palmer Dabbelt wrote: > > > On Thu, 04 Feb 2021 06:50:42 PST (-0800), tklau...@distanz.ch wrote: > > > > [...] > > > > > Reviewed-by: Palmer Dabbelt > > >

Re: linux-next: build failure after merge of the modules tree

2021-02-10 Thread Jessica Yu
+++ Stephen Rothwell [10/02/21 08:50 +1100]: Hi Jessica, On Tue, 9 Feb 2021 16:16:20 +0100 Jessica Yu wrote: Hmm, these errors don't look like it's related to that particular commit. I was I found this commit by bisection and then tested by reverting it. Before this commit,

Re: [PATCH v2] staging: gdm724x: Fix DMA from stack

2021-02-10 Thread Greg KH
On Wed, Feb 10, 2021 at 01:31:34PM +0530, Amey Narkhede wrote: > Stack allocated buffers cannot be used for DMA > on all architectures so allocate hci_packet buffer > using kzalloc(). > > Signed-off-by: Amey Narkhede > --- > Changes in v2: > - Fixed build warning > - Fixed memory

Re: [PATCH] staging: rtl8723bs: fix function comments to follow kernel-doc

2021-02-10 Thread Dan Carpenter
On Wed, Feb 10, 2021 at 02:42:30AM +0530, karthik alapati wrote: > fix checkpatch.pl warning for "block comments should align the > * on each line" and make function comments follow kernel-doc > > Signed-off-by: karthik alapati > --- > .../staging/rtl8723bs/hal/rtl8723b_phycfg.c | 209

Re: [PATCH 2/5] ath10k: fix WARNING: suspicious RCU usage

2021-02-10 Thread Kalle Valo
Shuah Khan wrote: > ieee80211_find_sta_by_ifaddr() must be called under the RCU lock and > the resulting pointer is only valid under RCU lock as well. > > Fix ath10k_wmi_tlv_parse_peer_stats_info() to hold RCU lock before it > calls ieee80211_find_sta_by_ifaddr() and release it when the

Re: [PATCH v2] arm64: dts: qcom: sdm845-xiaomi-beryllium: Add DSI and panel bits

2021-02-10 Thread Amit Pundir
Hi, On Mon, 8 Feb 2021 at 20:11, Konrad Dybcio wrote: > > > >>> + ports { > >>> + port@1 { > >>> + endpoint { > >>> + remote-endpoint = <_nt36672a_in_0>; > >>> + data-lanes = <0 1 2 3>; > >>> +

Re: [PATCH] checkpatch: add warning for non-lore mailing list URLs

2021-02-10 Thread Kees Cook
On Thu, Dec 17, 2020 at 04:50:41PM -0800, Joe Perches wrote: > On Thu, 2020-12-17 at 17:56 -0600, Bjorn Helgaas wrote: > > From: Bjorn Helgaas > > > > The lkml.org, marc.info, spinics.net, etc archives are not quite as useful > > as lore.kernel.org because they use different styles, add

Re: [PATCH] video: use getter/setter functions

2021-02-10 Thread Lee Jones
On Tue, 09 Feb 2021, Julia Lawall wrote: > Use getter and setter functions, for platform_device structures and a > spi_device structure. > > Signed-off-by: Julia Lawall > > --- > drivers/video/backlight/qcom-wled.c |2 > +- This patch is fine. Could you

Re: [PATCH 2/2] power: supply: bq25980: Moves properties from battery node

2021-02-10 Thread Krzysztof Kozlowski
On Wed, 10 Feb 2021 at 00:52, Ricardo Rivera-Matos wrote: > > fix: exposes POWER_SUPPLY_PROP_CONSTANT_CHARGE_CURRENT on the > > charger node Why is this a fix? Why is exposing this property wrong? What is the problem here? Why do you start sentences with a small letter? Your commit message

Re: [RFC PATCH 2/2] mm,page_alloc: Make alloc_contig_range handle free hugetlb pages

2021-02-10 Thread David Hildenbrand
On 08.02.21 11:38, Oscar Salvador wrote: Free hugetlb pages are trickier to handle as to in order to guarantee no userspace appplication disruption, we need to replace the current free hugepage with a new one. In order to do that, a new function called alloc_and_dissolve_huge_page in

[PATCH RESEND] MAINTAINERS: replace non-matching patterns for loongson{2,3}

2021-02-10 Thread Lukas Bulwahn
Commit ffe1f9356fbe ("MAINTAINERS: Add Loongson-2/Loongson-3 maintainers") adds quite generic file entries for drivers/*/*loongson{2,3}* and drivers/*/*/*loongson{2,3}* to be informed on changes to all loongson{2,3} files in drivers. However, only the pattern 'drivers/*/*loongson2*' matches to

[PATCH v14 0/4] Adding the Sparx5 Serdes driver

2021-02-10 Thread Steen Hegelund
Adding the Sparx5 Serdes driver This series of patches provides the serdes driver for the Microchip Sparx5 ethernet switch. The serdes driver supports the 10G and 25G serdes instances available in the Sparx5. The Sparx5 serdes support several interface modes with several speeds and also allows

[PATCH 0/2] locking/mutex: Kill mutex_trylock_recursive()

2021-02-10 Thread Sebastian Andrzej Siewior
Remove mutex_trylock_recursive() from the API and tell checkpatch not to check it for it anymore. Sebastian

include/linux/compiler_types.h:338:38: error: call to '__compiletime_assert_603' declared with attribute error: must adapt SMC_WR_TX_SIZE to sizeof(struct smc_llc_msg); if not all smc_wr upper layer p

2021-02-10 Thread kernel test robot
Hi Will, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: e0756cfc7d7cd08c98a53b6009c091a3f6a50be6 commit: eb5c2d4b45e3d2d5d052ea6b8f1463976b1020d5 compiler.h: Move compiletime_assert() macros into compiler_types.h

Re: [PATCH] clk: at91: Fix the declaration of the clocks

2021-02-10 Thread Greg Kroah-Hartman
On Wed, Feb 10, 2021 at 09:51:14AM +0100, Geert Uytterhoeven wrote: > Hi Saravana, > > On Wed, Feb 10, 2021 at 1:57 AM Saravana Kannan wrote: > > On Tue, Feb 9, 2021 at 4:54 PM Stephen Boyd wrote: > > > Quoting tudor.amba...@microchip.com (2021-02-08 01:49:45) > > > > Do you plan to take this

Re: [PATCH v1 7/7] ACPI: property: Allow counting a single value as an array of 1 element

2021-02-10 Thread Andy Shevchenko
On Wed, Feb 10, 2021 at 04:01:16PM +0100, Rafael J. Wysocki wrote: > On Wed, Feb 10, 2021 at 3:48 PM Andy Shevchenko > wrote: > > On Wed, Feb 10, 2021 at 02:48:09PM +0100, Rafael J. Wysocki wrote: > > > On Wednesday, February 10, 2021 2:31:48 PM CET Rafael J. Wysocki wrote: > > > > On Wednesday,

[gustavoars-linux:testing/drm/vega10_pptable] BUILD SUCCESS 52f22637cd181836877c11b1f9d9a69ad8e03bca

2021-02-10 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux.git testing/drm/vega10_pptable branch HEAD: 52f22637cd181836877c11b1f9d9a69ad8e03bca drm/amd/pm: Replace one-element array with flexible-array in struct _ATOM_Vega10_GFXCLK_Dependency_Table elapsed time: 1148m

[gustavoars-linux:testing/uapi/nfsd/nfsfh] BUILD REGRESSION d28670226e028e65b0de5e6744c5df188fc2728b

2021-02-10 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux.git testing/uapi/nfsd/nfsfh branch HEAD: d28670226e028e65b0de5e6744c5df188fc2728b UAPI: linux: nfsd: nfsfh.h: Replace one-element array with flexible-array Error/Warning reports:

Re: [PATCH v1 7/7] ACPI: property: Allow counting a single value as an array of 1 element

2021-02-10 Thread Rafael J. Wysocki
On Wed, Feb 10, 2021 at 4:42 PM Andy Shevchenko wrote: > > On Wed, Feb 10, 2021 at 04:01:16PM +0100, Rafael J. Wysocki wrote: > > On Wed, Feb 10, 2021 at 3:48 PM Andy Shevchenko > > wrote: > > > On Wed, Feb 10, 2021 at 02:48:09PM +0100, Rafael J. Wysocki wrote: > > > > On Wednesday, February 10,

Re: [PATCH v1] vdpa/mlx5: Restore the hardware used index after change map

2021-02-10 Thread Eli Cohen
On Wed, Feb 10, 2021 at 12:59:03AM -0800, Si-Wei Liu wrote: > > > On 2/9/2021 7:53 PM, Jason Wang wrote: > > > > On 2021/2/10 上午10:30, Si-Wei Liu wrote: > > > > > > > > > On 2/8/2021 10:37 PM, Jason Wang wrote: > > > > > > > > On 2021/2/9 下午2:12, Eli Cohen wrote: > > > > > On Tue, Feb 09,

Re: [PATCH] locking/arch: Move qrwlock.h include after qspinlock.h

2021-02-10 Thread Waiman Long
On 2/10/21 10:05 AM, Guenter Roeck wrote: On 2/10/21 6:45 AM, Waiman Long wrote: The queued rwlock code has a dependency on the current spinlock implementation (likely to be qspinlock), but not vice versa. Including qrwlock.h before qspinlock.h can be problematic when expanding qrwlock

Re: [PATCH] nbd: Convert to DEFINE_SHOW_ATTRIBUTE

2021-02-10 Thread Josef Bacik
On 2/6/21 2:10 AM, winnd...@163.com wrote: From: Liao Pingfang Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Liao Pingfang Reviewed-by: Josef Bacik Thanks, Josef

[PATCH net-next RFC] net: hdlc_x25: Queue outgoing LAPB frames

2021-02-10 Thread Xie He
When sending packets, we will first hand over the (L3) packets to the LAPB module, then the LAPB module will hand over the corresponding LAPB (L2) frames back to us for us to transmit. The LAPB module can also emit LAPB (L2) frames at any time without an (L3) packet currently being sent, when it

[PATCH] KVM: nSVM: call nested_svm_load_cr3 on nested state load

2021-02-10 Thread Maxim Levitsky
While KVM's MMU should be fully reset by loading of nested CR0/CR3/CR4 by KVM_SET_SREGS, we are not in nested mode yet when we do it and therefore only root_mmu is reset. On regular nested entries we call nested_svm_load_cr3 which both updates the guest's CR3 in the MMU when it is needed, and it

[PATCH v2] mm: remove lru_add_drain_all in alloc_contig_range

2021-02-10 Thread Minchan Kim
__alloc_contig_migrate_range already has lru_add_drain_all call via migrate_prep. It's necessary to move LRU taget pages into LRU list to be able to isolated. However, lru_add_drain_all call after __alloc_contig_migrate_range is pointless since it has changed source page freeing from

KASAN: invalid-free in ieee80211_ibss_leave

2021-02-10 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:b75dba7f Merge tag 'libnvdimm-fixes-5.11-rc7' of git://git.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1570c95f50 kernel config: https://syzkaller.appspot.com/x/.config?x=e83e68d0a6aba5f6

  1   2   3   4   5   6   7   8   9   10   >