Re: [PATCH -next] vdpa: Mark macaddr_buf with static keyword

2020-12-17 Thread Stefano Garzarella
On Fri, Dec 18, 2020 at 09:51:35AM +0800, Zou Wei wrote: Fix the following sparse warning: drivers/vdpa/vdpa_sim/vdpa_sim_net.c:36:4: warning: symbol 'macaddr_buf' was not declared. Should it be static? Reported-by: Hulk Robot Signed-off-by: Zou Wei --- drivers/vdpa/vdpa_sim/vdpa_sim_net.c

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

2020-12-17 Thread Loic Poulain
Hi Jakub, On Thu, 17 Dec 2020 at 17:58, Jakub Kicinski wrote: > > On Thu, 17 Dec 2020 16:34:09 +0100 Loic Poulain wrote: > > MHI net is protocol agnostic, the payload protocol depends on the modem > > configuration, which can be either RMNET (IP muxing and aggregation) or > > raw IP. This patch

[PATCH] KVM: x86: change in pv_eoi_get_pending() to make code more readable

2020-12-17 Thread Stephen Zhang
Signed-off-by: Stephen Zhang --- arch/x86/kvm/lapic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kvm/lapic.c b/arch/x86/kvm/lapic.c index 3136e05..7882322 100644 --- a/arch/x86/kvm/lapic.c +++ b/arch/x86/kvm/lapic.c @@ -674,7 +674,7 @@ static bool

[PATCH] driver: staging: count ashmem_range into SLAB_RECLAIMBLE

2020-12-17 Thread Huangzhaoyang
From: Zhaoyang Huang Add SLAB_RECLAIM_ACCOUNT to ashmem_range cache since it has registered shrinker, which make memAvailable more presiced. Signed-off-by: Zhaoyang Huang --- drivers/staging/android/ashmem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

RE: [PATCH v7 1/4] dt-bindings: soc: imx8m: add DT Binding doc for soc unique ID

2020-12-17 Thread Alice Guo (OSS)
> -Original Message- > From: Rob Herring > Sent: 2020年12月16日 4:33 > To: Alice Guo (OSS) > Cc: shawn...@kernel.org; s.ha...@pengutronix.de; ker...@pengutronix.de; > feste...@gmail.com; k...@kernel.org; devicet...@vger.kernel.org; > linux-arm-ker...@lists.infradead.org;

Re: [PATCH v2 0/6] kernfs: proposed locking and concurrency improvement

2020-12-17 Thread Ian Kent
On Thu, 2020-12-17 at 10:14 -0500, Tejun Heo wrote: > Hello, > > On Thu, Dec 17, 2020 at 07:48:49PM +0800, Ian Kent wrote: > > > What could be done is to make the kernfs node attr_mutex > > > a pointer and dynamically allocate it but even that is too > > > costly a size addition to the kernfs

Re: [xfs] 237d7887ae: xfstests.xfs.513.fail

2020-12-17 Thread kaixuxia
Hi, The patch https://www.spinics.net/lists/linux-xfs/msg47389.html for xfstests will fix this regression. Thanks, Kaixu On 2020/12/18 13:58, kernel test robot wrote: > > Greeting, > > FYI, we noticed the following commit (built with gcc-9): > > commit:

Re: [PATCH] JFS: more checks for invalid superblock

2020-12-17 Thread kernel test robot
Hi Randy, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on shaggy/jfs-next] [also build test WARNING on linux/master linus/master v5.10 next-20201217] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest

Re: [PATCH 12/13] cpufreq: qcom-hw: Implement CPRh aware OSM programming

2020-12-17 Thread Viresh Kumar
On 26-11-20, 19:45, AngeloGioacchino Del Regno wrote: > On new SoCs (SDM845 onwards) the Operating State Manager (OSM) is > being programmed in the bootloader and write-protected by the > hypervisor, leaving to the OS read-only access to some of its > registers (in order to read the Lookup Tables

[PATCH] mmc: mediatek: fix race condition between msdc_request_timeout and irq

2020-12-17 Thread Chaotian Jing
when get request SW timeout, if CMD/DAT xfer done irq coming right now, then there is race between the msdc_request_timeout work and irq handler, and the host->cmd and host->data may set to NULL in irq handler. also, current flow ensure that only one path can go to msdc_request_done(), so no need

Re: [PATCH v2 00/48] Introduce core voltage scaling for NVIDIA Tegra20/30 SoCs

2020-12-17 Thread Viresh Kumar
On 17-12-20, 21:05, Dmitry Osipenko wrote: > Introduce core voltage scaling for NVIDIA Tegra20/30 SoCs, which reduces > power consumption and heating of the Tegra chips. Tegra SoC has multiple > hardware units which belong to a core power domain of the SoC and share > the core voltage. The voltage

Re: [PATCH] ARM: OMAP1: OSK: fix ohci-omap breakage

2020-12-17 Thread Tony Lindgren
* Aaro Koskinen [201214 23:01]: > From: Linus Walleij > > Commit 45c5775460f3 ("usb: ohci-omap: Fix descriptor conversion") tried to > fix all issues related to ohci-omap descriptor conversion, but a wrong > patch was applied, and one needed change to the OSK board file is still > missing. Fix

Re: [PATCH v1 4/5] driver core: Handle cycles in device links created by fw_devlink

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

Re: [PATCH] DTS: ARM: gta04: remove legacy spi-cs-high to make display work again

2020-12-17 Thread Tony Lindgren
* H. Nikolaus Schaller [201212 11:59]: > This reverts > > commit f1f028ff89cb ("DTS: ARM: gta04: introduce legacy spi-cs-high to make > display work again") > > which had to be intruduced after > > commit 6953c57ab172 ("gpio: of: Handle SPI chipselect legacy bindings") > > broke the GTA04

Re: [resend/standalone PATCH v4] Add auxiliary bus support

2020-12-17 Thread Greg KH
On Thu, Dec 17, 2020 at 10:19:37PM +0100, Alexandre Belloni wrote: > Hello, > > On 05/12/2020 16:51:36+0100, Greg KH wrote: > > > To me, the documentation was written, and reviewed, more from the > > > perspective of "why not open code a custom bus instead". So I can see > > > after the fact how

Re: [PATCH] dt-bindings: Fix JSON pointers

2020-12-17 Thread Vinod Koul
On 17-12-20, 16:34, Rob Herring wrote: > The correct syntax for JSON pointers begins with a '/' after the '#'. > Without a '/', the string should be interpretted as a subschema > identifier. The jsonschema module currently doesn't handle subschema > identifiers and incorrectly allows JSON pointers

[PATCH v5 3/3] scsi: ufs: Revert "Make sure clk scaling happens only when HBA is runtime ACTIVE"

2020-12-17 Thread Can Guo
Commit 73cc291c27024 ("Make sure clk scaling happens only when HBA is runtime ACTIVE") is no longer needed since commit f7a42540928a8 ("scsi: ufs: Protect some contexts from unexpected clock scaling") is a more mature fix to protect UFS LLD stability from clock scaling invoked through sysfs nodes

[PATCH v5 2/3] scsi: ufs: Clean up ufshcd_exit_clk_scaling/gating()

2020-12-17 Thread Can Guo
ufshcd_hba_exit() is always called after ufshcd_exit_clk_scaling() and ufshcd_exit_clk_gating(), so move ufshcd_exit_clk_scaling/gating() to ufshcd_hba_exit(). Reviewed-by: Stanley Chu Reviewed-by: Bean Huo Signed-off-by: Can Guo --- drivers/scsi/ufs/ufshcd.c | 32

[PATCH v5 1/3] scsi: ufs: Protect some contexts from unexpected clock scaling

2020-12-17 Thread Can Guo
In contexts like suspend, shutdown and error handling, we need to suspend devfreq to make sure these contexts won't be disturbed by clock scaling. However, suspending devfreq is not enough since users can still trigger a clock scaling by manipulating the sysfs node clkscale_enable and devfreq

Re: [PATCH v2] cgroup-v1: add disabled controller check in cgroup1_parse_param()

2020-12-17 Thread Zefan Li
On 2020/12/18 14:17, Chen Zhou wrote: > When mounting a cgroup hierarchy with disabled controller in cgroup v1, > all available controllers will be attached. > > Add disabled controller check in cgroup1_parse_param() and return directly > if the specified controller is disabled. > >

[PATCH v2] powerpc/32s: Only build hash code when CONFIG_PPC_BOOK3S_604 is selected

2020-12-17 Thread Christophe Leroy
It is now possible to only build book3s/32 kernel for CPUs without hash table. Opt out hash related code when CONFIG_PPC_BOOK3S_604 is not selected. Signed-off-by: Christophe Leroy --- v2: Rebased --- arch/powerpc/kernel/head_book3s_32.S | 12 arch/powerpc/mm/book3s32/Makefile

Re: [PATCH] Input: gtco - remove driver

2020-12-17 Thread Dmitry Torokhov
Hi Jiri, On Thu, Dec 17, 2020 at 12:22:17PM +0100, Jiri Kosina wrote: > On Sat, 5 Dec 2020, Dmitry Torokhov wrote: > > > The driver has its own HID descriptor parsing code, that had and still > > has several issues discovered by syzbot and other tools. Ideally we > > should move the driver over

Re: 5.10.1: UBSAN: shift-out-of-bounds in ./include/linux/log2.h:57:1

2020-12-17 Thread Randy Dunlap
Hi, [adding linux-mm] On 12/16/20 1:54 AM, Toralf Förster wrote: > Hi, > > I got this recently at this hardened Gentoo Linux server: > > Linux mr-fox 5.10.1 #1 SMP Tue Dec 15 22:09:42 CET 2020 x86_64 Intel(R) > Xeon(R) CPU E5-1650 v3 @ 3.50GHz GenuineIntel GNU/Linux > > > Dec 15 23:31:51

[PATCH] Input: da7280 - protect OF match table with CONFIG_OF

2020-12-17 Thread Dmitry Torokhov
The OF match table is only used when OF is enabled. Fixes: cd3f609823a5 ("Input: new da7280 haptic driver") Reported-by: kernel test robot Signed-off-by: Dmitry Torokhov --- drivers/input/misc/da7280.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/input/misc/da7280.c

Re: [PATCH v2] xen/xenbus: make xs_talkv() interruptible

2020-12-17 Thread Jürgen Groß
On 17.12.20 19:25, Andrew Cooper wrote: On 16/12/2020 08:21, Jürgen Groß wrote: On 15.12.20 21:59, Andrew Cooper wrote: On 15/12/2020 11:10, Juergen Gross wrote: In case a process waits for any Xenstore action in the xenbus driver it should be interruptible by signals. Signed-off-by: Juergen

Re: [PATCH v1 4/5] driver core: Handle cycles in device links created by fw_devlink

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

Re: [PATCH] block/rnbd: Adding name to the Contributors List

2020-12-17 Thread Jinpu Wang
Hi Jens, On Thu, Dec 17, 2020 at 6:44 PM swapnil ingle wrote: > > Adding linux-r...@vger.kernel.org > > On Fri, Nov 27, 2020 at 1:54 PM Danil Kipnis > wrote: >> >> On Fri, Nov 27, 2020 at 1:31 PM Swapnil Ingle wrote: >> > >> > Adding name to the Contributors List >> > >> > Signed-off-by:

Re: [PATCH v1 4/5] driver core: Handle cycles in device links created by fw_devlink

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

[RFC PATCH] driver core: fw_devlink_relax_cycle() can be static

2020-12-17 Thread kernel test robot
Reported-by: kernel test robot Signed-off-by: kernel test robot --- core.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/base/core.c b/drivers/base/core.c index 4cc0303611650c..4e15193aafad6a 100644 --- a/drivers/base/core.c +++ b/drivers/base/core.c @@

Re: [PATCH v2 0/4] scsi: ufs: Cleanup and refactor clock scaling

2020-12-17 Thread Can Guo
On 2020-12-18 14:24, Stanley Chu wrote: Hi Can, On Fri, 2020-12-18 at 14:20 +0800, Can Guo wrote: On 2020-12-16 21:16, Stanley Chu wrote: > Hi, > This series cleans up and refactors clk-scaling feature, and shall not > change any functionality. > > This series is based on Can's series "Three

Re: drivers/tty/vt/keyboard.c:2037:13: sparse: sparse: incorrect type in initializer (different address spaces)

2020-12-17 Thread Jiri Slaby
On 16. 12. 20, 13:07, kernel test robot wrote: tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: d01e7f10dae29eba0f9ada82b65d24e035d5b2f9 commit: 07edff9265204e15c9fc8d07cc69e38c4c484e15 vt: keyboard, reorder user buffer handling in vt_do_kdgkb_ioctl

Re: [PATCH v4 1/3] scsi: ufs: Protect some contexts from unexpected clock scaling

2020-12-17 Thread Can Guo
On 2020-12-15 13:43, Stanley Chu wrote: Hi Can, On Sun, 2020-12-13 at 08:31 -0800, Can Guo wrote: In contexts like suspend, shutdown and error handling, we need to suspend devfreq to make sure these contexts won't be disturbed by clock scaling. However, suspending devfreq is not enough since

Re: [PATCH v2 0/4] scsi: ufs: Cleanup and refactor clock scaling

2020-12-17 Thread Stanley Chu
Hi Can, On Fri, 2020-12-18 at 14:20 +0800, Can Guo wrote: > On 2020-12-16 21:16, Stanley Chu wrote: > > Hi, > > This series cleans up and refactors clk-scaling feature, and shall not > > change any functionality. > > > > This series is based on Can's series "Three changes related with UFS > >

Re: [PATCH v12 2/4] powerpc: Move arch independent ima kexec functions to drivers/of/kexec.c

2020-12-17 Thread Lakshmi Ramasubramanian
On 12/17/20 2:01 PM, Rob Herring wrote: [...] +#ifdef CONFIG_IMA_KEXEC +/** + * arch_ima_add_kexec_buffer - do arch-specific steps to add the IMA buffer + * + * @image: kimage struct to set IMA buffer data + * @load_addr: Starting address where IMA buffer is loaded at + * @size: Number of

[PATCH] lib/logic_pio: Fix overlap check for pio registery

2020-12-17 Thread Jiahui Cen
Since the [start, end) is a half-open interval, a range with the end equal to the start of another range should not be considered as overlapped. Signed-off-by: Jiahui Cen --- lib/logic_pio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/logic_pio.c b/lib/logic_pio.c

[PATCH] powerpc/mm: Limit allocation of SWIOTLB on server machines

2020-12-17 Thread Thiago Jung Bauermann
On server-class POWER machines, we don't need the SWIOTLB unless we're a secure VM. Nevertheless, if CONFIG_SWIOTLB is enabled we unconditionally allocate it. In most cases this is harmless, but on a few machine configurations (e.g., POWER9 powernv systems with 4 GB area reserved for crashdump

Re: [PATCH v2 0/4] scsi: ufs: Cleanup and refactor clock scaling

2020-12-17 Thread Can Guo
On 2020-12-16 21:16, Stanley Chu wrote: Hi, This series cleans up and refactors clk-scaling feature, and shall not change any functionality. This series is based on Can's series "Three changes related with UFS clock scaling" in 5.10/scsi-fixes branch in Martin's tree. Hi Stanley, Thanks for

Re: [PATCH v2 4/4] scsi: ufs: Fix build warning by incorrect function description

2020-12-17 Thread Can Guo
On 2020-12-16 21:16, Stanley Chu wrote: Fix build warnings as below due to incorrect function description of ufshcd_try_to_abort_task(). ufshcd.c:6651: warning: Function parameter or member 'hba' not described in 'ufshcd_try_to_abort_task' ufshcd.c:6651: warning: Function parameter or member

Re: [PATCH v2 3/4] scsi: ufs: Cleanup and refactor clk-scaling feature

2020-12-17 Thread Can Guo
On 2020-12-16 21:16, Stanley Chu wrote: Manipulate clock scaling related stuff only if the host capability supports clock scaling feature to avoid redundant code execution. Signed-off-by: Stanley Chu --- drivers/scsi/ufs/ufshcd.c | 64 --- 1 file changed,

Re: [net-next PATCH v2 10/14] device property: Introduce fwnode_get_id()

2020-12-17 Thread Calvin Johnson
On Tue, Dec 15, 2020 at 07:45:16PM +0200, Andy Shevchenko wrote: > On Tue, Dec 15, 2020 at 6:44 PM Calvin Johnson > wrote: > > > > Using fwnode_get_id(), get the reg property value for DT node > > and get the _ADR object value for ACPI node. > > and -> or > > ... > > > +/** > > + *

[PATCH v2] cgroup-v1: add disabled controller check in cgroup1_parse_param()

2020-12-17 Thread Chen Zhou
When mounting a cgroup hierarchy with disabled controller in cgroup v1, all available controllers will be attached. Add disabled controller check in cgroup1_parse_param() and return directly if the specified controller is disabled. Signed-off-by: Chen Zhou --- Changes in v2: - Fix line over 80

Re: [net-next PATCH v2 10/14] device property: Introduce fwnode_get_id()

2020-12-17 Thread Calvin Johnson
Hi Laurent, Thanks for reviewing. On Tue, Dec 15, 2020 at 07:00:28PM +0200, Laurent Pinchart wrote: > Hi Calvin, > > Thank you for the patch. > > On Tue, Dec 15, 2020 at 10:13:11PM +0530, Calvin Johnson wrote: > > Using fwnode_get_id(), get the reg property value for DT node > > and get the

Re: [PATCH v2 2/4] scsi: ufs: Remove redundant null checking of devfreq instance

2020-12-17 Thread Can Guo
On 2020-12-16 21:16, Stanley Chu wrote: hba->devfreq is zero-initialized thus it is not required to check its existence in ufshcd_add_lus() function which is invoked during initialization only. Signed-off-by: Stanley Chu --- drivers/scsi/ufs/ufshcd.c | 14 ++ 1 file changed, 6

Re: [PATCH 1/1] device-dax: avoid an unnecessary check in alloc_dev_dax_range()

2020-12-17 Thread Leizhen (ThunderTown)
On 2020/11/20 17:22, Zhen Lei wrote: > Swap the calling sequence of krealloc() and __request_region(), call the > latter first. In this way, the value of dev_dax->nr_range does not need to > be considered when __request_region() failed. > > Signed-off-by: Zhen Lei > --- > drivers/dax/bus.c |

Re: [PATCH v2 1/4] scsi: ufs: Refactor cancelling clkscaling works

2020-12-17 Thread Can Guo
On 2020-12-16 21:16, Stanley Chu wrote: Cancelling suspend_work and resume_work is only required while suspending clk-scaling. Thus moving these two invokes into ufshcd_suspend_clkscaling() function. Signed-off-by: Stanley Chu --- drivers/scsi/ufs/ufshcd.c | 17 ++--- 1 file

Re: linux-next: Signed-off-by missing for commit in the cifs tree

2020-12-17 Thread Steve French
I have now amended the patches to have the correct author and repushed On Thu, Dec 17, 2020 at 11:57 PM Stephen Rothwell wrote: > > Hi all, > > Commits > > ee04fe87f4d0 ("cifs: Re-indent cifs_swn_reconnect()") > 2c6dd2f9742d ("cifs: Unlock on errors in cifs_swn_reconnect()") > fb2356b3739b

Re: [PATCH 1/1] device-dax: avoid an unnecessary check in alloc_dev_dax_range()

2020-12-17 Thread Leizhen (ThunderTown)
On 2020/12/18 11:10, Dan Williams wrote: > On Fri, Nov 20, 2020 at 1:23 AM Zhen Lei wrote: >> >> Swap the calling sequence of krealloc() and __request_region(), call the >> latter first. In this way, the value of dev_dax->nr_range does not need to >> be considered when __request_region()

[PATCH] genirq/msi: Initialize msi_alloc_info to zero for msi_prepare API

2020-12-17 Thread Zenghui Yu
Since commit 5fe71d271df8 ("irqchip/gic-v3-its: Tag ITS device as shared if allocating for a proxy device"), some of the devices are wrongly marked as "shared" by the ITS driver on systems equipped with the ITS(es). The problem is that the @info->flags may not be initialized anywhere and we end up

Re: [PATCH v2 2/4] scsi: ufs: Remove redundant null checking of devfreq instance

2020-12-17 Thread Can Guo
On 2020-12-16 21:16, Stanley Chu wrote: hba->devfreq is zero-initialized thus it is not required to check its existence in ufshcd_add_lus() function which is invoked during initialization only. Signed-off-by: Stanley Chu --- drivers/scsi/ufs/ufshcd.c | 14 ++ 1 file changed, 6

linux-next: Signed-off-by missing for commit in the cifs tree

2020-12-17 Thread Stephen Rothwell
Hi all, Commits ee04fe87f4d0 ("cifs: Re-indent cifs_swn_reconnect()") 2c6dd2f9742d ("cifs: Unlock on errors in cifs_swn_reconnect()") fb2356b3739b ("cifs: Delete a stray unlock in cifs_swn_reconnect()") are missing a Signed-off-by from their author. This is the problem with the mailing

Re: Question for AMD patches

2020-12-17 Thread Greg K-H
On Fri, Dec 18, 2020 at 05:18:16AM +0800, Young Hsieh wrote: > Hi Greg, > > Thanks. I am looking for the Essential, RAS & Perf patches for AMD Milan as > follows: > I don't see anything here :( > I am not familiar the rules for stable kernel patches, can you help to > elaborate ? Thanks

Re: [net-next PATCH v2 09/14] net/fsl: Use fwnode_mdiobus_register()

2020-12-17 Thread Calvin Johnson
On Tue, Dec 15, 2020 at 07:55:01PM +0200, Andy Shevchenko wrote: > On Tue, Dec 15, 2020 at 6:44 PM Calvin Johnson > wrote: > > > > fwnode_mdiobus_register() internally takes care of both DT > > and ACPI cases to register mdiobus. Replace existing > > of_mdiobus_register() with

Re: [PATCH V2 1/1] scsi: ufs: Fix a possible NULL pointer issue

2020-12-17 Thread Can Guo
On 2020-12-14 22:32, Bean Huo wrote: On Sun, 2020-12-13 at 19:41 -0800, Can Guo wrote: Fixes: 88a92d6ae4fe ("scsi: ufs: Serialize eh_work with system PM events and async scan") Signed-off-by: Can Guo --- drivers/scsi/ufs/ufshcd.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-)

Re: [net-next PATCH v2 08/14] net: mdiobus: Introduce fwnode_mdiobus_register()

2020-12-17 Thread Calvin Johnson
On Tue, Dec 15, 2020 at 07:53:26PM +0200, Andy Shevchenko wrote: > On Tue, Dec 15, 2020 at 6:44 PM Calvin Johnson > wrote: > > > > Introduce fwnode_mdiobus_register() to register PHYs on the mdiobus. > > If the fwnode is DT node, then call of_mdiobus_register(). > > If it is an ACPI node, then:

Re: [PATCH v4 3/4] pinctrl: qcom: Don't clear pending interrupts when enabling

2020-12-17 Thread Rajendra Nayak
On 12/12/2020 3:45 AM, Douglas Anderson wrote: In Linux, if a driver does disable_irq() and later does enable_irq() on its interrupt, I believe it's expecting these properties: * If an interrupt was pending when the driver disabled then it will still be pending after the driver re-enables.

Re: [net-next PATCH v2 06/14] net: mdiobus: Introduce fwnode_mdiobus_register_phy()

2020-12-17 Thread Calvin Johnson
On Tue, Dec 15, 2020 at 07:33:40PM +0200, Andy Shevchenko wrote: > On Tue, Dec 15, 2020 at 6:44 PM Calvin Johnson > wrote: > > > > Introduce fwnode_mdiobus_register_phy() to register PHYs on the > > mdiobus. From the compatible string, identify whether the PHY is > > c45 and based on this create

linux-next: Tree for Dec 18

2020-12-17 Thread Stephen Rothwell
Hi all, News: there will be no linux-next releases between Dec 24 and Jan 3 inclusive. Please do not add any v5.12 destined code to your linux-next included branches until after v5.11-rc1 has been released. Changes since 20201217: The ext4 tree gained a conflict against Linus' tree

Re: [PATCH -next] vdpa: Mark macaddr_buf with static keyword

2020-12-17 Thread Jason Wang
On 2020/12/18 上午9:51, Zou Wei wrote: Fix the following sparse warning: drivers/vdpa/vdpa_sim/vdpa_sim_net.c:36:4: warning: symbol 'macaddr_buf' was not declared. Should it be static? Reported-by: Hulk Robot Signed-off-by: Zou Wei --- drivers/vdpa/vdpa_sim/vdpa_sim_net.c | 2 +- 1 file

[PATCH] JFS: more checks for invalid superblock

2020-12-17 Thread Randy Dunlap
syzbot is feeding invalid superblock data to JFS for mount testing. JFS does not check several of the fields -- just assumes that they are good since the JFS_MAGIC and version fields are good. In this case (syzbot reproducer), we have s_l2bsize == 0xda0c, pad == 0xf045, and s_state == 0x50, all

Re: [PATCH 3/5] irqchip/bcm2836: Make IPIs use handle_percpu_devid_irq()

2020-12-17 Thread Guenter Roeck
On 12/15/20 7:46 AM, Marc Zyngier wrote: > On 2020-12-15 15:39, Guenter Roeck wrote: >> On 12/15/20 7:26 AM, Marc Zyngier wrote: >>> On 2020-12-15 15:21, Guenter Roeck wrote: Hi Marc, On 12/15/20 2:19 AM, Marc Zyngier wrote: > Hi Gunter, > > On 2020-12-15 00:21, Guenter

Re: [PATCH v2] ALSA: hda: Continue to probe when codec probe fails

2020-12-17 Thread Kai-Heng Feng
[+Cc Bjorn, Alan and linux-pci] On Thu, Dec 17, 2020 at 12:57 AM Takashi Iwai wrote: > > On Wed, 16 Dec 2020 17:22:17 +0100, > Takashi Iwai wrote: > > > > On Wed, 16 Dec 2020 17:07:45 +0100, > > Kai-Heng Feng wrote: > > > > > > On Wed, Dec 16, 2020 at 11:58 PM Takashi Iwai wrote: > > > > > > >

Re: [PATCH] arm64: Kconfig: Add SYS_SUPPORTS_APM_EMULATION

2020-12-17 Thread Lecopzer Chen
Hi Catalin, Thanks for your explanation. > > so there is two points > > 1. out-of-tree function can't be approved > > I totally agree with this :) so we may have a driver upstream in the > > future. > > It may not be upstreamable if it relies on the old APM interface ;). > > > 2. APM

[RFC PATCH v2] pinctrl: add helper to expose pinctrl state in debugfs

2020-12-17 Thread Drew Fustini
BeagleBoard.org [0] currently uses an out-of-tree driver called bone-pinmux-helper [1] developed by Pantelis Antoniou [2] back in 2013. The driver assists users of our BeagleBone and PocketBeagle boards in rapid prototyping by allowing them to change at run-time between defined set of pinctrl

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

2020-12-17 Thread Yonghong Song
On 12/17/20 7:20 PM, Alexei Starovoitov wrote: On Thu, Dec 17, 2020 at 09:26:09AM -0800, Yonghong Song wrote: On 12/17/20 7:31 AM, Florent Revest wrote: On Mon, Dec 14, 2020 at 7:47 AM Yonghong Song wrote: On 12/11/20 6:40 AM, Florent Revest wrote: On Wed, Dec 2, 2020 at 10:18 PM

Re: [PATCH V3 1/3] arm64: topology: Avoid the have_policy check

2020-12-17 Thread Viresh Kumar
On 17-12-20, 10:55, Catalin Marinas wrote: > Hi Viresh, > > On Thu, Dec 17, 2020 at 01:27:32PM +0530, Viresh Kumar wrote: > > On 15-12-20, 11:04, Viresh Kumar wrote: > > > Every time I have stumbled upon this routine, I get confused with the > > > way 'have_policy' is used and I have to dig in to

[PATCH] net: neighbor: fix a crash caused by mod zero

2020-12-17 Thread weichenchen
pneigh_enqueue() tries to obtain a random delay by mod NEIGH_VAR(p, PROXY_DELAY). However, NEIGH_VAR(p, PROXY_DELAY) migth be zero at that point because someone could write zero to /proc/sys/net/ipv4/neigh/[device]/proxy_delay after the callers check it. This patch double-checks NEIGH_VAR(p,

Re: [PATCH] mm/filemap: Fix warning: no previous prototype

2020-12-17 Thread Souptick Joarder
On Thu, Dec 17, 2020 at 7:53 AM Matthew Wilcox wrote: > > On Thu, Dec 17, 2020 at 10:03:11AM +0800, Xiangyang Yu wrote: > > Fixed the warning when building with warnings enabled (W=1), > > This function is only used in filemap.c, so mark this function > > with 'static'. > > Good grief, no. Look

Re: [NEEDS-REVIEW] [PATCH V3 04/10] x86/pks: Preserve the PKRS MSR on context switch

2020-12-17 Thread Ira Weiny
On Thu, Dec 17, 2020 at 12:41:50PM -0800, Dave Hansen wrote: > On 11/6/20 3:29 PM, ira.we...@intel.com wrote: > > void disable_TSC(void) > > @@ -644,6 +668,8 @@ void __switch_to_xtra(struct task_struct *prev_p, > > struct task_struct *next_p) > > > > if ((tifp ^ tifn) & _TIF_SLD) > >

[PATCH] ACPI: scan: Fix a Hyper-V Linux VM panic caused by buffer overflow

2020-12-17 Thread Dexuan Cui
Linux VM on Hyper-V crashes with the latest mainline: [4.069624] detected buffer overflow in strcpy [4.077733] kernel BUG at lib/string.c:1149! .. [4.085819] RIP: 0010:fortify_panic+0xf/0x11 ... [4.085819] Call Trace: [4.085819] acpi_device_add.cold.15+0xf2/0xfb [

Re: [PATCH V3 04/10] x86/pks: Preserve the PKRS MSR on context switch

2020-12-17 Thread Ira Weiny
On Thu, Dec 17, 2020 at 03:50:55PM +0100, Thomas Gleixner wrote: > On Fri, Nov 06 2020 at 15:29, ira weiny wrote: > > --- a/arch/x86/kernel/process.c > > +++ b/arch/x86/kernel/process.c > > @@ -43,6 +43,7 @@ > > #include > > #include > > #include > > +#include > > > > #include

Re: [PATCH V3 10/10] x86/pks: Add PKS test code

2020-12-17 Thread Ira Weiny
On Thu, Dec 17, 2020 at 12:55:39PM -0800, Dave Hansen wrote: > On 11/6/20 3:29 PM, ira.we...@intel.com wrote: > > + /* Arm for context switch test */ > > + write(fd, "1", 1); > > + > > + /* Context switch out... */ > > + sleep(4); > > + > > + /*

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

2020-12-17 Thread Bhaskara Budiredla
>-Original Message- >From: Ulf Hansson >Sent: Thursday, December 17, 2020 10:42 PM >To: Bhaskara Budiredla >Cc: Kees Cook ; Colin Cross >; Tony Luck ; Sunil Kovvuri >Goutham ; linux-...@vger.kernel.org; Linux >Kernel Mailing List ; Christoph Hellwig > >Subject: Re: [EXT] Re: [PATCH

[PATCH v6 6/6] ARM: dts: rainier: Add eMMC clock phase compensation

2020-12-17 Thread Andrew Jeffery
Determined by scope measurements at speed. Signed-off-by: Andrew Jeffery Reviewed-by: Joel Stanley --- arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts

[PATCH v6 5/6] MAINTAINERS: Add entry for the ASPEED SD/MMC driver

2020-12-17 Thread Andrew Jeffery
Add myself as the maintainer. Signed-off-by: Andrew Jeffery --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index e451dcce054f..eae4322aae67 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2826,6 +2826,15 @@ F:

[PATCH v6 1/6] mmc: core: Add helper for parsing clock phase properties

2020-12-17 Thread Andrew Jeffery
Drivers for MMC hosts that accept phase corrections can take advantage of the helper by embedding an instance of struct mmc_clk_phase_map in their private data and invoking mmc_of_parse_clk_phase() to extract phase parameters. It is the responsibility of the host driver to translate and apply the

[PATCH v6 2/6] mmc: sdhci-of-aspeed: Expose clock phase controls

2020-12-17 Thread Andrew Jeffery
The Aspeed SD/eMMC controllers expose configurable clock phase correction by inserting delays of up to 15 logic elements in length into the bus clock path. The hardware supports independent configuration for both bus directions on a per-slot basis. The timing delay per element encoded in the

[PATCH v6 3/6] mmc: sdhci-of-aspeed: Add AST2600 bus clock support

2020-12-17 Thread Andrew Jeffery
The AST2600 can achieve HS200 speeds with a change to the bus clock divisor behaviour. The divisor can also be more accurate with respect to the requested clock rate, but keep the one-hot behaviour for backwards compatibility with the AST2400 and AST2500. Signed-off-by: Andrew Jeffery ---

[PATCH v6 4/6] mmc: sdhci-of-aspeed: Add KUnit tests for phase calculations

2020-12-17 Thread Andrew Jeffery
Converting degrees of phase to logic delays is irritating to test on hardware, so lets exercise the function using KUnit. Signed-off-by: Andrew Jeffery --- drivers/mmc/host/Kconfig| 14 drivers/mmc/host/Makefile | 1 +

[PATCH v6 0/6] mmc: sdhci-of-aspeed: Expose phase delay tuning

2020-12-17 Thread Andrew Jeffery
Hello, This series implements support for the MMC core clk-phase-* devicetree bindings in the Aspeed SD/eMMC driver. The relevant register was exposed on the AST2600 and is present for both the SD/MMC controller and the dedicated eMMC controller. v6 simply removes the typedef from v5 in favour

Re: [RFC PATCH v3 0/9] fsdax: introduce fs query to support reflink

2020-12-17 Thread Darrick J. Wong
On Fri, Dec 18, 2020 at 10:44:26AM +0800, Ruan Shiyang wrote: > > > On 2020/12/17 上午4:55, Jane Chu wrote: > > Hi, Shiyang, > > > > On 12/15/2020 4:14 AM, Shiyang Ruan wrote: > > > The call trace is like this: > > > memory_failure() > > >   pgmap->ops->memory_failure()  =>

Re: [PATCH net v3] net: mvpp2: disable force link UP during port init procedure

2020-12-17 Thread Marcin Wojtas
Hi Stefan, czw., 17 gru 2020 o 15:54 napisał(a): > > From: Stefan Chulski > > Force link UP can be enabled by bootloader during tftpboot > and breaks NFS support. > Force link UP disabled during port init procedure. > > Fixes: f84bf386f395 ("net: mvpp2: initialize the GoP") > Signed-off-by:

[PATCH v5 6/6] MAINTAINERS: add maintainer for i.MX8qxp DPU DRM driver

2020-12-17 Thread Liu Ying
Add myself as the maintainer of the i.MX8qxp DPU DRM driver. Signed-off-by: Liu Ying --- v4->v5: * No change. v3->v4: * No change. v2->v3: * No change. v1->v2: * No change. MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index

Re: [PATCH net v3] net: mvpp2: Fix GoP port 3 Networking Complex Control configurations

2020-12-17 Thread Marcin Wojtas
Hi Stefan, czw., 17 gru 2020 o 13:40 napisał(a): > > From: Stefan Chulski > > During GoP port 2 Networking Complex Control mode of operation configurations, > also GoP port 3 mode of operation was wrongly set. > Patch removes these configurations. > GENCONF_CTRL0_PORTX naming also fixed. > >

[PATCH v5 4/6] drm/atomic: Avoid unused-but-set-variable warning on for_each_old_plane_in_state

2020-12-17 Thread Liu Ying
Artifically use 'plane' and 'old_plane_state' to avoid 'not used' warning. The precedent has already been set by other macros in the same file. Acked-by: Daniel Vetter Signed-off-by: Liu Ying --- v4->v5: * No change. v3->v4: * Add Daniel's A-b tag. v2->v3: * Add a missing blank line. v1->v2:

[PATCH v5 3/6] dt-bindings: display: imx: Add i.MX8qxp/qm DPR channel binding

2020-12-17 Thread Liu Ying
This patch adds bindings for i.MX8qxp/qm Display Prefetch Resolve Channel. Reviewed-by: Rob Herring Signed-off-by: Liu Ying --- Note that this depends on the 'two cell binding' clock patch set which has already landed in Shawn's i.MX clk/imx git branch. Otherwise, imx8-lpcg.h won't be found.

[PATCH v5 1/6] dt-bindings: display: imx: Add i.MX8qxp/qm DPU binding

2020-12-17 Thread Liu Ying
This patch adds bindings for i.MX8qxp/qm Display Processing Unit. Reviewed-by: Rob Herring Signed-off-by: Liu Ying --- Note that this depends on the 'two cell binding' clock patch set which has already landed in Shawn's i.MX clk/imx git branch. Otherwise, imx8-lpcg.h won't be found. v4->v5: *

[PATCH v5 2/6] dt-bindings: display: imx: Add i.MX8qxp/qm PRG binding

2020-12-17 Thread Liu Ying
This patch adds bindings for i.MX8qxp/qm Display Prefetch Resolve Gasket. Reviewed-by: Rob Herring Signed-off-by: Liu Ying --- Note that this depends on the 'two cell binding' clock patch set which has already landed in Shawn's i.MX clk/imx git branch. Otherwise, imx8-lpcg.h won't be found.

Re: extcon: add EXTCON_JACK_UNSUPPORTED for external headset jack

2020-12-17 Thread Chanwoo Choi
On 12/18/20 11:51 AM, me...@codeaurora.org wrote: >   > >   > > From dac7b15dbdd4c327083fff97f22cf0c6ddfcf31a Mon Sep 17 00:00:00 2001 > > From: Meng Wang > > Date: Wed, 9 Dec 2020 12:35:54 +0800 > > Subject: [PATCH] extcon: add EXTCON_JACK_UNSUPPORTED for external headset jack > >   > >

[PATCH v5 0/6] drm/imx: Introduce i.MX8qm/qxp DPU DRM

2020-12-17 Thread Liu Ying
Hi, This patch set introduces i.MX8qm/qxp Display Processing Unit(DPU) DRM support. DPU is comprised of a blit engine for 2D graphics, a display controller and a command sequencer. Outside of DPU, optional prefetch engines can fetch data from memory prior to some DPU fetchunits of blit engine

Re: [RFC PATCH v2 2/2] blk-mq: Lockout tagset iter when freeing rqs

2020-12-17 Thread Ming Lei
On Thu, Dec 17, 2020 at 07:07:53PM +0800, John Garry wrote: > References to old IO sched requests are currently cleared from the > tagset when freeing those requests; switching elevator or changing > request queue depth is such a scenario in which this occurs. > > However, this does not stop the

Re: Linux kernel in-tree Rust support

2020-12-17 Thread Miguel Ojeda
On Thu, Dec 17, 2020 at 10:45 PM Pavel Machek wrote: > > Well.. not everyone has 32 cores in their notebook. It is true that complex Rust, like complex C++, does have high compilation times. But it all depends on how much one relies on certain language features. Straightforward Rust code is

[PATCH] scsi: ufs: fix livelock of ufshcd_clear_ua_wluns

2020-12-17 Thread Jaegeuk Kim
When gate_work/ungate_work gets an error during hibern8_enter or exit, ufshcd_err_handler() ufshcd_scsi_block_requests() ufshcd_reset_and_restore() ufshcd_clear_ua_wluns() -> stuck ufshcd_scsi_unblock_requests() In order to avoid it, ufshcd_clear_ua_wluns() can be called per

Re: [RFC PATCH] badblocks: Improvement badblocks_set() for handling multiple ranges

2020-12-17 Thread Dan Williams
[ add Neil, original gooodguy who wrote badblocks ] On Thu, Dec 3, 2020 at 9:16 AM Coly Li wrote: > > Recently I received a bug report that current badblocks code does not > properly handle multiple ranges. For example, > badblocks_set(bb, 32, 1, true); > badblocks_set(bb, 34,

Re: KASAN: use-after-free Read in service_outstanding_interrupt

2020-12-17 Thread syzbot
syzbot has found a reproducer for the following issue on: HEAD commit:5e60366d Merge tag 'fallthrough-fixes-clang-5.11-rc1' of g.. git tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing console output:

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

2020-12-17 Thread Alexei Starovoitov
On Thu, Dec 17, 2020 at 09:26:09AM -0800, Yonghong Song wrote: > > > On 12/17/20 7:31 AM, Florent Revest wrote: > > On Mon, Dec 14, 2020 at 7:47 AM Yonghong Song wrote: > > > On 12/11/20 6:40 AM, Florent Revest wrote: > > > > On Wed, Dec 2, 2020 at 10:18 PM Alexei Starovoitov > > > > wrote: >

[PATCH v1 4/5] driver core: Handle cycles in device links created by fw_devlink

2020-12-17 Thread Saravana Kannan
Sometimes, firmware can have cyclic dependencies between devices. But one or more of those dependencies in the cycle are false dependencies that don't affect the probing of the device. fw_devlink can detect some of these false dependencies using logic. But when it can't, we don't want to block

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

2020-12-17 Thread Saravana Kannan
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 probing, set fw_devlink=on by default. Setting fw_devlink=on by default brings a bunch of benefits (currently, only for systems with device

[PATCH v1 3/5] driver core: Have fw_devlink use DL_FLAG_INFERRED

2020-12-17 Thread Saravana Kannan
This will be useful in identifying device links created only due to fw_devlink when we need to break cyclic dependencies due to fw_devlink. Signed-off-by: Saravana Kannan --- drivers/base/core.c | 22 ++ 1 file changed, 14 insertions(+), 8 deletions(-) diff --git

[PATCH v1 2/5] driver core: Add device link support for INFERRED flag

2020-12-17 Thread Saravana Kannan
This flag can never be added to a device link that already exists and doesn't have the flag set. It can only be added when a device link is created for the first time or it can be maintained if the device link already has the it set. This flag will be used for marking device links created ONLY by

[PATCH v1 1/5] driver core: Add debug logs for device link related probe deferrals

2020-12-17 Thread Saravana Kannan
There's insufficient logging when device links or fw_devlink (waiting to create device links) cause probe deferrals. This makes it hard to debug devices not getting probed. So, add debug logs to make it easy to debug. Signed-off-by: Saravana Kannan --- drivers/base/core.c | 6 ++ 1 file

  1   2   3   4   5   6   7   8   9   10   >