Re: [PATCH 2/3] md: align superblock writes to physical blocks

2020-11-02 Thread Xiao Ni
On 10/30/2020 04:13 AM, Christopher Unkel wrote: Writes of the md superblock are aligned to the logical blocks of the containing device, but no attempt is made to align them to physical block boundaries. This means that on a "512e" device (4k physical, 512 logical) every superblock update hit

[PATCH] x86/iommu: fix a typo in printk

2020-11-02 Thread Zhenzhong Duan
In check_iommu_entries(), p->detect depends on q->detect, so q->detect should be called before p->detect. Signed-off-by: Zhenzhong Duan --- arch/x86/kernel/pci-iommu_table.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kernel/pci-iommu_table.c b/arch/x86/kernel/p

Re: linux-next: build warning after merge of the drm-misc tree

2020-11-02 Thread Boris Brezillon
Hi Stephen, On Mon, 2 Nov 2020 12:46:37 +1100 Stephen Rothwell wrote: > Hi all, > > After merging the imx-drm tree, today's linux-next build (arm > multi_v7_defconfig) produced this warning: > > drivers/gpu/drm/panfrost/panfrost_job.c: In function 'panfrost_job_close': > drivers/gpu/drm/panfro

[PATCH] Bluetooth: btusb: Add support for 13d3:3560 MediaTek MT7615E device

2020-11-02 Thread Chris Chiu
The ASUS X532EQ laptop contains AzureWave AW-CB434NF module with an associated MT7615E BT chip using a USB ID of 13d3:3560. T: Bus=03 Lev=01 Prnt=01 Port=09 Cnt=02 Dev#= 3 Spd=480 MxCh= 0 D: Ver= 2.10 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs= 1 P: Vendor=13d3 ProdID=3560 Rev= 1.00 S: Manu

Re: For review: seccomp_user_notif(2) manual page [v2]

2020-11-02 Thread Sargun Dhillon
On Sat, Oct 31, 2020 at 9:27 AM Michael Kerrisk (man-pages) wrote: > > Hello Sargun, > > Thanks for your reply. > > On 10/30/20 9:27 PM, Sargun Dhillon wrote: > > On Thu, Oct 29, 2020 at 09:37:21PM +0100, Michael Kerrisk (man-pages) > > wrote: > > [...] > > >>> I think I commented in another threa

Re: [PATCH -next] watchdog: Fix potential dereferencing of null pointer

2020-11-02 Thread Guenter Roeck
On 11/1/20 11:44 PM, Wang Wensheng wrote: > A reboot notifier, which stops the WDT by calling the stop hook without > any check, would be registered when we set WDOG_STOP_ON_REBOOT flag. > > Howerer we allow the WDT driver to omit the stop hook since commit > "d0684c8a93549" ("watchdog: Make stop

Re: [PATCH v2] Input: Fix the HID usage of DPAD input event generation.

2020-11-02 Thread Benjamin Tissoires
Hi Chris, On Sun, Nov 1, 2020 at 8:35 PM Chris Ye wrote: > > Generic Desktop DPAD usage is mapped by hid-input, that only the first > DPAD usage maps to usage type EV_ABS and code of an axis. If HID > descriptor has DPAD UP/DOWN/LEFT/RIGHT HID usages and each of usage size > is 1 bit, then only

Re: [PATCH] Kbuild: implement support for DWARF5

2020-11-02 Thread Jakub Jelinek
On Mon, Nov 02, 2020 at 11:20:41AM +0900, Masahiro Yamada wrote: > > --- /dev/null > > +++ b/scripts/test_dwarf5_support.sh > > @@ -0,0 +1,4 @@ > > +#!/bin/sh > > +# SPDX-License-Identifier: GPL-2.0 > > +set -eu > > +echo ".file 0 \"asdf\"" | $* -Wa,-gdwarf-5 -c -x assembler -o /dev/null - > > >

Re: [PATCH] ASoC: ti: davinci-evm: Remove redundant null check before clk_disable_unprepare

2020-11-02 Thread Peter Ujfalusi
On 29/10/2020 10.25, Xu Wang wrote: > Because clk_disable_unprepare() already checked NULL clock parameter, > so the additional check is unnecessary, just remove it. Acked-by: Peter Ujfalusi > Signed-off-by: Xu Wang > --- > sound/soc/ti/davinci-evm.c | 3 +-- > 1 file changed, 1 insertion(+

Re: [PATCH] gpu/drm: delete same check in if condition

2020-11-02 Thread Thomas Zimmermann
Hi Am 02.11.20 um 04:07 schrieb Bernard Zhao: > In function drm_bridge_connector_get_modes_edid, drm_edid_is_valid > will check weather (!edid), no need to check again in the if > branch. > > Signed-off-by: Bernard Zhao Reviewed-by: Thomas Zimmermann Thanks! I'll add the patch to drm-misc-nex

Re: [PATCH v13 2/8] mtd: rawnand: rockchip: NFC drivers for RK3308, RK2928 and others

2020-11-02 Thread Miquel Raynal
Hi Yifeng, 赵仪峰 wrote on Mon, 2 Nov 2020 16:14:01 +0800: > Hi Miquel, > > The nand_base.c will call nand_deselect_target after NAND read/program... ops > done, and set variable chip->cur_cs = -1, > but the nand controller do nothing and the cs of the NAND device is still > selected, > so the

Re: [PATCH] serial: mctrl_gpio: Fix passing zero to 'ERR_PTR' warning

2020-11-02 Thread Jiri Slaby
On 31. 10. 20, 4:05, YueHaibing wrote: drivers/tty/serial/serial_mctrl_gpio.c:214 mctrl_gpio_init() warn: passing zero to 'ERR_PTR' gpiod_to_irq() never return 0, so remove the useless test and make code more clear. Signed-off-by: YueHaibing Reviewed-by: Jiri Slaby --- drivers/tty/ser

Re: Re: [PATCH v13 2/8] mtd: rawnand: rockchip: NFC drivers for RK3308, RK2928 and others

2020-11-02 Thread 赵仪峰
Hi Miquel, The nand_base.c will call nand_deselect_target after NAND read/program... ops done, and set variable chip->cur_cs = -1, but the nand controller do nothing and the cs of the NAND device is still selected, so the NAND device  will not enter auto power save mode. -- Thanks,

Re: [PATCH 0/3] xfrm/compat: syzbot-found fixes

2020-11-02 Thread Steffen Klassert
On Fri, Oct 30, 2020 at 02:25:57AM +, Dmitry Safonov wrote: > WARN_ON() for XFRMA_UNSPEC translation which likely no-one except > syzkaller uses; properly zerofy tail-padding for 64-bit attribute; > don't use __GFP_ZERO as the memory is initialized during translation. > > Cc: Steffen Klassert

Re: [PATCH v2 2/2] arm64: dts: imx8mq-evk: Add spdif sound card support

2020-11-02 Thread Krzysztof Kozlowski
On Mon, Nov 02, 2020 at 10:11:17AM +0800, Shengjiu Wang wrote: > There are two spdif IP on imx8mq, spdif1 is for normal > spdif device, spdif2 is for HDMI ARC interface. > > Enable these spdif sound card in this patch. > > Signed-off-by: Shengjiu Wang > --- > changes in v2: > - remove undocument

Re: [PATCH v2 1/2] ARM: dts: imx7-tqma7: add SPI-NOR flash

2020-11-02 Thread Marco Felsch
Hi Matthias, On 20-10-30 11:26, Matthias Schiffer wrote: > The SPI-NOR flash on the SoM was missing from the device tree. > > Signed-off-by: Matthias Schiffer > --- > arch/arm/boot/dts/imx7-tqma7.dtsi | 30 ++ > 1 file changed, 30 insertions(+) > > v2: change node n

Re: [PATCH v2 2/2] ARM: dts: imx7-mba7: add default SPI-NOR flash partition layout

2020-11-02 Thread Marco Felsch
Hi Matthias, On 20-10-30 11:26, Matthias Schiffer wrote: > Add the partition layout also used by the bootloader. > > Signed-off-by: Matthias Schiffer > --- > arch/arm/boot/dts/imx7-mba7.dtsi | 32 > 1 file changed, 32 insertions(+) > > v2: no changes > > > di

Re: Additional debug info to aid cacheline analysis

2020-11-02 Thread Masami Hiramatsu
Hi, On Fri, 30 Oct 2020 11:10:04 +0100 Peter Zijlstra wrote: > On Fri, Oct 30, 2020 at 10:16:49AM +0100, Mark Wielaard wrote: > > Hi Namhyung, > > > > On Fri, Oct 30, 2020 at 02:26:19PM +0900, Namhyung Kim wrote: > > > On Thu, Oct 8, 2020 at 6:38 PM Mark Wielaard wrote: > > > > GCC using -fvar

[PATCH] ubifs: Remove the redundant return in dbg_check_nondata_nodes_order

2020-11-02 Thread Chengsong Ke
There is a redundant return in dbg_check_nondata_nodes_order, which will be never reached. In addition, error code should be returned instead of zero in this branch. Signed-off-by: Chengsong Ke --- fs/ubifs/debug.c | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/ubifs/debug.c b/fs/ubifs/de

Re: [PATCH] net: can: prevent potential access of uninitialized value in canfd_rcv()

2020-11-02 Thread Marc Kleine-Budde
On 11/2/20 8:44 AM, Anant Thazhemadam wrote: > > On 02-11-2020 12:40, Marc Kleine-Budde wrote: >> On 11/2/20 4:13 AM, Anant Thazhemadam wrote: >>> In canfd_rcv(), cfd->len is uninitialized when skb->len = 0, and this >>> uninitialized cfd->len is accessed nonetheless by pr_warn_once(). >>> >>> Fix

Re: [PATCH V2] arm64: dts: imx8mp-evk: add CAN support

2020-11-02 Thread Krzysztof Kozlowski
On Mon, Nov 02, 2020 at 10:16:34AM +0800, Joakim Zhang wrote: > Add CAN device node and pinctrl on i.MX8MP evk board. > > Signed-off-by: Joakim Zhang > --- > ChangeLogs: > V1->V2: > * add missing space before '=', > fsl,clk-source= /bits/ 8 <0> -> fsl,clk-source = /bits/ 8 <0> > --- >

[v9 1/2] i2c: imx: support slave mode for imx I2C driver

2020-11-02 Thread Biwen Li
From: Biwen Li The patch supports slave mode for imx I2C driver Signed-off-by: Biwen Li --- Change in v9: - remove #ifdef after select I2C_SLAVE by default Change in v8: - fix build issue Change in v7: - support auto switch mode between master and slave - enabl

Re: [PATCH v2 2/2] mm: prevent gup_fast from racing with COW during fork

2020-11-02 Thread Jan Kara
On Fri 30-10-20 14:02:26, Jason Gunthorpe wrote: > On Fri, Oct 30, 2020 at 05:51:05PM +0100, Jan Kara wrote: > > > @@ -446,6 +447,12 @@ struct mm_struct { > > >*/ > > > atomic_t has_pinned; > > > > > > + /** > > > + * @write_protect_seq: Odd when any thread

[v9 2/2] i2c: imx: select I2C_SLAVE by default

2020-11-02 Thread Biwen Li
From: Biwen Li Select I2C_SLAVE by default Signed-off-by: Biwen Li --- Change in v9: - none drivers/i2c/busses/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig index a4f473ef4e5c..d3d9a61db76e 100644 --- a/drivers/i2c/

Re: [PATCH] drm/hisilicon: Remove redundant null check

2020-11-02 Thread Thomas Zimmermann
Hi Am 30.10.20 um 10:27 schrieb Tian Tao: > drm_irq_uninstall can handle the case where dev->irq_enable is false, > so Remove redundant null check. > > Signed-off-by: Tian Tao > --- > drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) >

Re: [PATCH v3 0/2] uacce: fix some coding styles

2020-11-02 Thread Greg Kroah-Hartman
On Mon, Nov 02, 2020 at 03:38:49PM +0800, Zhou Wang wrote: > On 2020/11/2 15:09, Greg Kroah-Hartman wrote: > > On Mon, Nov 02, 2020 at 02:41:12PM +0800, Zhou Wang wrote: > >> On 2020/9/23 18:09, Kai Ye wrote: > >>> 1. delete some redundant code. > >>> 2. modify the module author information. "Hisil

Re: Linux 5.10-rc2 (docs build)

2020-11-02 Thread Mauro Carvalho Chehab
; On what tree did you notice this? Linux-next or upstream? Also: on what Sphinx version are you getting it? I'm not able to reproduce the issue here, neither with Sphinx 2.4.4 nor with Sphinx 3.2.1. (building against next-20201102 and against 5.10-rc2) Thanks, Mauro

Re: [PATCH v2 3/3] i2c: exynos5: don't check for irq 0

2020-11-02 Thread Krzysztof Kozlowski
On Sun, Nov 01, 2020 at 06:18:07PM +0100, Martin Kaiser wrote: > platform_get_irq never returns 0. Don't check for this. Make it clear that > the error path always returns a negative error code. > > Signed-off-by: Martin Kaiser > --- > changes in v2 > - split the patch in three parts > > driver

[kbuild] Re: [PATCH v11 09/10] fs/ntfs3: Add NTFS3 in fs/Kconfig and fs/Makefile

2020-11-02 Thread Dan Carpenter
Hi Konstantin, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v5.10-rc2 next-20201030] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as doc

Re: [PATCH v2 1/3] i2c: exynos5: remove duplicate error message

2020-11-02 Thread Krzysztof Kozlowski
On Sun, Nov 01, 2020 at 06:18:05PM +0100, Martin Kaiser wrote: > platform_get_irq already prints an error message if the requested irq > was not found. Don't print another message in the driver. > > Signed-off-by: Martin Kaiser > --- > changes in v2 > - split the patch in three parts > > driver

[PATCH] forcedeth: fix excluded_middle.cocci warnings

2020-11-02 Thread Julia Lawall
From: kernel test robot Condition !A || A && B is equivalent to !A || B. Generated by: scripts/coccinelle/misc/excluded_middle.cocci Fixes: b76f0ea01312 ("coccinelle: misc: add excluded_middle.cocci script") CC: Denis Efremov Signed-off-by: kernel test robot Signed-off-by: Julia Lawall ---

Re: [PATCH v2 2/3] i2c: exynos5: fix platform_get_irq error handling

2020-11-02 Thread Krzysztof Kozlowski
On Sun, Nov 01, 2020 at 06:18:06PM +0100, Martin Kaiser wrote: > If platform_get_irq returns an error, relay this error to the caller of > the probe function. Don't change all errors to -EINVAL. This breaks the > case where platform_get_irq returns -EPROBE_DEFER. > > Signed-off-by: Martin Kaiser

Re: [PATCH v3 0/2] uacce: fix some coding styles

2020-11-02 Thread Zhou Wang
On 2020/11/2 16:33, Greg Kroah-Hartman wrote: > On Mon, Nov 02, 2020 at 03:38:49PM +0800, Zhou Wang wrote: >> On 2020/11/2 15:09, Greg Kroah-Hartman wrote: >>> On Mon, Nov 02, 2020 at 02:41:12PM +0800, Zhou Wang wrote: On 2020/9/23 18:09, Kai Ye wrote: > 1. delete some redundant code.

Re: [PATCH 3/9] mfd: intel_soc_pmic: remove unnecessary CONFIG_PM_SLEEP

2020-11-02 Thread Lee Jones
On Thu, 29 Oct 2020, Andy Shevchenko wrote: > On Thu, Oct 29, 2020 at 5:27 PM Lee Jones wrote: > > On Thu, 29 Oct 2020, Coiby Xu wrote: > > > On Thu, Oct 29, 2020 at 01:00:29PM +0200, Andy Shevchenko wrote: > > > > On Thu, Oct 29, 2020 at 06:06:41PM +0800, Coiby Xu wrote: > > > > > SIMPLE_DEV_PM_

Re: [PATCH 4/5] iio: adc: xilinx: use devres for irq handling

2020-11-02 Thread Bartosz Golaszewski
On Sat, Oct 31, 2020 at 12:10 PM Jonathan Cameron wrote: > [snip] > > > > Hi Jonathan, > > > > My two priorities for the ordering of this series were: correct > > end-result and not breaking anything on the way. The latter > > unfortunately gets in the way of cleaner looking intermediate patches

Re: [PATCH] usb: dwc2: Fix unused label warning

2020-11-02 Thread Yuehaibing
On 2020/11/2 15:04, Minas Harutyunyan wrote: > On 10/31/2020 10:03 AM, YueHaibing wrote: >> drivers/usb/dwc2/platform.c: In function ‘dwc2_driver_probe’: >> drivers/usb/dwc2/platform.c:611:1: warning: label ‘error_debugfs’ defined >> but not used [-Wunused-label] >> error_debugfs: >> ^

Re: [PATCH 1/4] dt-bindings: opp: Introduce opp-sustainable bindings

2020-11-02 Thread Lukasz Luba
Hi Rob, On 10/30/20 7:34 PM, Rob Herring wrote: On Wed, Oct 28, 2020 at 02:08:44PM +, Lukasz Luba wrote: Add opp-sustainable as an additional property in the OPP node to describe the sustainable performance level of the device. This will help to estimate the sustainable performance of the w

Re: dmaengine: pl330 rare NULL pointer dereference in pl330_tasklet

2020-11-02 Thread Krzysztof Kozlowski
On Mon, Nov 02, 2020 at 08:38:14AM +0100, Marek Szyprowski wrote: > Hi Krzysztof, > > On 31.10.2020 20:01, Krzysztof Kozlowski wrote: > > I hit quite rare issue with pl330 DMA driver, difficult to reproduce > > (actually failed to do so): > > > > Happened during early reboot > > > > [ OK ] Stopp

Re: [PATCH] arm64: dts: meson: add watchdog to g12-common dtsi

2020-11-02 Thread Neil Armstrong
On 01/11/2020 03:10, Christian Hewitt wrote: > G12 vendor kernels show the watchdog on the same address as AXG > so add the node to meson-g12-common.dtsi. GX boards inherit the > same from meson-gx.dtsi. > > v2 fix typo in node name (s/wtd/wdt) > > Signed-off-by: Christian Hewitt > --- > arch/a

Re: [PATCH] ARM: dts: imx50-kobo-aura: Add 'grp' suffix to pinctrl node names

2020-11-02 Thread Krzysztof Kozlowski
On Sat, Oct 31, 2020 at 10:07:29PM +0100, Jonathan Neuschäfer wrote: > i.MX pinctrl group nodes should have names that ends with 'grp'. > > Reported-by: Krzysztof Kozlowski > Signed-off-by: Jonathan Neuschäfer > --- > arch/arm/boot/dts/imx50-kobo-aura.dts | 24 > 1 file

Re: [PATCH] drm/hisilicon: Remove redundant null check

2020-11-02 Thread tiantao (H)
在 2020/11/2 16:32, Thomas Zimmermann 写道: Hi Am 30.10.20 um 10:27 schrieb Tian Tao: drm_irq_uninstall can handle the case where dev->irq_enable is false, so Remove redundant null check. Signed-off-by: Tian Tao --- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 6 +++--- 1 file changed

Re: [PATCH net-next 1/7] net: mscc: ocelot: use the pvid of zero when bridged with vlan_filtering=0

2020-11-02 Thread Alexandre Belloni
Hello, On 31/10/2020 12:29:10+0200, Vladimir Oltean wrote: > Currently, mscc_ocelot ports configure pvid=0 in standalone mode, and > inherit the pvid from the bridge when one is present. > > When the bridge has vlan_filtering=0, the software semantics are that > packets should be received regardl

Re: linux-next: Fixes tag needs some work in the imx-mxs tree

2020-11-02 Thread Oleksij Rempel
On Mon, Nov 02, 2020 at 08:02:22AM +0800, Shawn Guo wrote: > On Mon, Nov 02, 2020 at 08:24:13AM +1100, Stephen Rothwell wrote: > > Hi all, > > > > In commit > > > > d969e9c05f83 ("ARM: dts: imx6q-prti6q: fix PHY address") > > > > Fixes tag > > > > Fixes: 0d446a50559 ("ARM: dts: add Protonic

RE: [PATCH] ASoC: Intel: remove unneeded semicolon

2020-11-02 Thread Rojewski, Cezary
On 2020-11-01 6:19 PM, t...@redhat.com wrote: > From: Tom Rix > > A semicolon is not needed after a switch statement. > > Signed-off-by: Tom Rix > --- Thanks for this update, Tom. Acked-by: Cezary Rojewski Regards, Czarek

Re: [PATCH v3 0/4] Clarify abstract scale usage for power values in Energy Model, EAS and IPA

2020-11-02 Thread Lukasz Luba
On 10/19/20 3:05 PM, Lukasz Luba wrote: Hi all, The Energy Model supports power values expressed in an abstract scale. This has an impact on Intelligent Power Allocation (IPA) and should be documented properly. Kernel sub-systems like EAS, IPA and DTPM (new comming PowerCap framework) would u

[PATCH] drm/panfrost: Add support for non-existent reset node

2020-11-02 Thread Yejune Deng
Some dts hasn't no reset node, is should ok. Signed-off-by: Yejune Deng --- drivers/gpu/drm/panfrost/panfrost_device.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/panfrost/panfrost_device.c b/drivers/gpu/drm/panfrost/panfrost_device.c index ea8

Re: [PATCH v7 2/3] pinctrl: pinctrl-microchip-sgpio: Add pinctrl driver for Microsemi Serial GPIO

2020-11-02 Thread kernel test robot
Hi Lars, I love your patch! Perhaps something to improve: [auto build test WARNING on pinctrl/devel] [also build test WARNING on robh/for-next linus/master v5.10-rc2 next-20201030] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use

[RFC PATCH] pinctrl: pinctrl-microchip-sgpio: properties_luton can be static

2020-11-02 Thread kernel test robot
Signed-off-by: kernel test robot --- pinctrl-microchip-sgpio.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/pinctrl/pinctrl-microchip-sgpio.c b/drivers/pinctrl/pinctrl-microchip-sgpio.c index 1a9c01e2ad99f6..439779bc6e4e0b 100644 --- a/drivers/pinctrl/pi

Re: lockdep: possible irq lock inversion dependency detected (trig->leddev_list_lock)

2020-11-02 Thread Pavel Machek
Hi! > > > I'm getting the following lockdep splat (see below). > > > > > > Apparently this warning starts to be reported after applying: > > > > > > e918188611f0 ("locking: More accurate annotations for read_lock()") > > > > > > It looks like a false positive to me, but it made me think a bit

Re: [PATCH v2 0/3] gpiolib: cdev: allow edge event timestamps to be configured as REALTIME

2020-11-02 Thread Bartosz Golaszewski
On Sat, Oct 31, 2020 at 1:01 AM Kent Gibson wrote: > > On Fri, Oct 30, 2020 at 03:52:24PM +0100, Bartosz Golaszewski wrote: > > On Fri, Oct 30, 2020 at 3:49 PM Bartosz Golaszewski > > wrote: > > > > > > On Thu, Oct 29, 2020 at 12:22 AM Kent Gibson wrote: > > > > > > > > On Wed, Oct 28, 2020 at 0

Re: [PATCH v2 0/4] Add upper and lower limits in IPA power budget calculation

2020-11-02 Thread Lukasz Luba
On 10/26/20 8:42 PM, Daniel Lezcano wrote: Applied, thanks Thank you Daniel!

Re: [PATCH] ARM: dts: at91: add serial MFD sub-node for usart

2020-11-02 Thread Lee Jones
On Fri, 30 Oct 2020, Nicolas Ferre wrote: > On 30/10/2020 at 12:07, Codrin Ciubotariu wrote: > > The "atmel,at91sam9260-usart" driver is a MFD driver, so it needs sub-nodes > > to match the registered platform device. For this reason, we add a serial > > subnode to all the "atmel,at91sam9260-usart

Re: [PATCH v3 4/4] dt-bindings: arm: add support for SCMI Regulators

2020-11-02 Thread Sudeep Holla
On Fri, Oct 30, 2020 at 07:06:07PM +, Mark Brown wrote: > On Fri, Oct 30, 2020 at 01:55:14PM -0500, Rob Herring wrote: > > > I'm a bit worried that now we're changing CPUs (at least?) from clocks > > to 'performance domains' while at the same time here we're adding > > low level, virtual regula

[PATCH v4 0/3] mainline LANMCU board

2020-11-02 Thread Oleksij Rempel
changes v5: - rebase against git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux.git for-next - drop vendor-prefixes patch. It is already in the for-next branch - rename Co-Developed-by to Co-developed-by changes v4: - rename wifinpd to wifigrp changes v3: - rename led-debug to led-0 - renam

[PATCH v5 2/2] ARM: dts: add Van der Laan LANMCU board

2020-11-02 Thread Oleksij Rempel
Van der Laan LANMCU is a module for the food storage rooms to control proper gas composition. Co-developed-by: Robin van der Gracht Signed-off-by: Robin van der Gracht Signed-off-by: Oleksij Rempel Reviewed-by: Krzysztof Kozlowski --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot

[PATCH v5 1/2] dt-bindings: arm: fsl: add Van der Laan LANMCU board

2020-11-02 Thread Oleksij Rempel
Add Van der Laan LANMCU iMX6dl based board Signed-off-by: Oleksij Rempel Reviewed-by: Krzysztof Kozlowski Acked-by: Rob Herring --- Documentation/devicetree/bindings/arm/fsl.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation

Re: [PATCH] drm/hisilicon: Remove redundant null check

2020-11-02 Thread Thomas Zimmermann
Hi Am 02.11.20 um 09:46 schrieb tiantao (H): > > > 在 2020/11/2 16:32, Thomas Zimmermann 写道: >> Hi >> >> Am 30.10.20 um 10:27 schrieb Tian Tao: >>> drm_irq_uninstall can handle the case where dev->irq_enable is false, >>> so Remove redundant null check. >>> >>> Signed-off-by: Tian Tao >>> --- >>

Re: [PATCH v4 2/3] dt-bindings: arm: fsl: add Van der Laan LANMCU board

2020-11-02 Thread Oleksij Rempel
On Sun, Nov 01, 2020 at 04:39:43PM +0800, Shawn Guo wrote: > On Thu, Oct 22, 2020 at 12:27:32PM +0200, Oleksij Rempel wrote: > > Add Van der Laan LANMCU iMX6dl based board > > > > Signed-off-by: Oleksij Rempel > > Reviewed-by: Krzysztof Kozlowski > > Acked-by: Rob Herring > > It doesn't apply

Re: [PATCH] ARM: dts: at91: add serial MFD sub-node for usart

2020-11-02 Thread Lee Jones
On Fri, 30 Oct 2020, codrin.ciubota...@microchip.com wrote: > On 30.10.2020 15:38, Nicolas Ferre wrote: > > On 30/10/2020 at 12:07, Codrin Ciubotariu wrote: > >> The "atmel,at91sam9260-usart" driver is a MFD driver, so it needs > >> sub-nodes > >> to match the registered platform device. For this

[PATCH] NTFS: Add name sanity check to ntfs_attr_find

2020-11-02 Thread Fox Chen
When mounting, if Attribute data is correupted, doing named attribute lookup can lead to invalid memory access. This is reported by syzkaller. This patch adds a sanity check prior to attribute name lookup. If attribute's name_offset is invalid, It will mark volume error and return -EIO. Reported-

RE: Buggy commit tracked to: "Re: [PATCH 2/9] iov_iter: move rw_copy_check_uvector() into lib/iov_iter.c"

2020-11-02 Thread David Laight
From: 'Greg KH' > Sent: 23 October 2020 15:47 > > On Fri, Oct 23, 2020 at 02:39:24PM +, David Laight wrote: > > From: David Hildenbrand > > > Sent: 23 October 2020 15:33 > > ... > > > I just checked against upstream code generated by clang 10 and it > > > properly discards the upper 32bit via

Re: [PATCH] drm/hisilicon: Remove redundant null check

2020-11-02 Thread tiantao (H)
在 2020/11/2 17:03, Thomas Zimmermann 写道: Hi Am 02.11.20 um 09:46 schrieb tiantao (H): 在 2020/11/2 16:32, Thomas Zimmermann 写道: Hi Am 30.10.20 um 10:27 schrieb Tian Tao: drm_irq_uninstall can handle the case where dev->irq_enable is false, so Remove redundant null check. Signed-off-by:

Re: [PATCH v2 net] net: sch_generic: aviod concurrent reset and enqueue op for lockless qdisc

2020-11-02 Thread Yunsheng Lin
On 2020/10/30 1:20, Vishwanath Pai wrote: > On 10/29/20 6:24 AM, Yunsheng Lin wrote: >> On 2020/10/29 12:50, Vishwanath Pai wrote: >>> On 10/28/20 10:37 PM, Yunsheng Lin wrote: On 2020/10/29 4:04, Vishwanath Pai wrote: > On 10/28/20 1:47 PM, Cong Wang wrote: >> On Wed, Oct 28, 2020 at

Re: lockdep: possible irq lock inversion dependency detected (trig->leddev_list_lock)

2020-11-02 Thread Andrea Righi
On Mon, Nov 02, 2020 at 09:56:58AM +0100, Pavel Machek wrote: > Hi! > > > > > I'm getting the following lockdep splat (see below). > > > > > > > > Apparently this warning starts to be reported after applying: > > > > > > > > e918188611f0 ("locking: More accurate annotations for read_lock()") >

Re: [PATCH v6 0/6] mm: introduce memfd_secret system call to create "secret" memory areas

2020-11-02 Thread David Hildenbrand
On 24.09.20 15:28, Mike Rapoport wrote: From: Mike Rapoport Hi, This is an implementation of "secret" mappings backed by a file descriptor. I've dropped the boot time reservation patch for now as it is not strictly required for the basic usage and can be easily added later either with or witho

Re: [PATCH] drm/panfrost: Add support for non-existent reset node

2020-11-02 Thread Steven Price
On 02/11/2020 08:54, Yejune Deng wrote: Some dts hasn't no reset node, is should ok. Signed-off-by: Yejune Deng --- drivers/gpu/drm/panfrost/panfrost_device.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/panfrost/panfrost_device.c b/drivers/

Re: [PATCH v2] ubifs: Fix the printing type of c->big_lpt

2020-11-02 Thread Chengsong Ke
On Sat, Oct 31, 2020 at 9:56 AM Chengsong Ke wrote: > > Ubifs uses %d to print c->big_lpt, but c->big_lpt is a variable of > type unsigned int and should be printed with %u. > > Well, it is: > unsigned int big_lpt:1; > So, either 0 or 1. > > Does changing it to %u silence some static checker or

Re: [PATCH 00/14] Allwinner MIPI CSI-2 support for A31/V3s/A83T

2020-11-02 Thread Maxime Ripard
Hi On Fri, Oct 30, 2020 at 07:44:28PM -0300, Helen Koike wrote: > On thing that is confusing me is the name csi2 with csi (that makes me > think of csi vesun6i-csirsion one, which is not the case), I would > rename it to sun6i-video (or maybe it is just me who gets confused). > > I know this drive

Re: [PATCH 2/3] mwifiex: add allow_ps_mode module parameter

2020-11-02 Thread Tsuchiya Yuto
On Fri, 2020-10-30 at 13:02 +0200, Andy Shevchenko wrote: > On Fri, Oct 30, 2020 at 04:58:33PM +0900, Tsuchiya Yuto wrote: > > On Wed, 2020-10-28 at 15:04 -0700, Brian Norris wrote: > > ... > > > On the other hand, I agree that I don't want to break the existing users. > > As you mentioned in the

Re: [PATCH v6 6/7] kgdb: roundup: Allow runtime arch specific override

2020-11-02 Thread Daniel Thompson
On Mon, Nov 02, 2020 at 11:48:53AM +0530, Sumit Garg wrote: > On Thu, 29 Oct 2020 at 20:51, Daniel Thompson > wrote: > > > > On Thu, Oct 29, 2020 at 08:26:26PM +0530, Sumit Garg wrote: > > > Add a new API kgdb_arch_roundup_cpus() for a particular archichecture to > > > override default kgdb roundu

Re: [PATCH] qnx4: do not interpret -EIO as a correct address

2020-11-02 Thread Anders Larsen
On Friday, 2020-10-23 23:16 Tong Zhang wrote: > qnx4_block_map() may return -EIO on funny qnx4 fs image, in this case do > not interpret -EIO as a correct address > > Signed-off-by: Tong Zhang > --- > fs/qnx4/inode.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/fs/qnx4/inode.c b/f

Re: [PATCH v3 2/4] PM: hibernate: make direct map manipulations more explicit

2020-11-02 Thread David Hildenbrand
On 01.11.20 18:08, Mike Rapoport wrote: From: Mike Rapoport When DEBUG_PAGEALLOC or ARCH_HAS_SET_DIRECT_MAP is enabled a page may be not present in the direct map and has to be explicitly mapped before it could be copied. Introduce hibernate_map_page() that will explicitly use set_direct_map_{

[PATCH v3] dt-bindings: power/supply: Add ltc4162-l-charger

2020-11-02 Thread Mike Looijmans
Add support for the LTC4162-L Li-Ion battery charger. The driver allows reading back telemetry and to set some charging options like the input current limit. This adds the devicetree bindings. Signed-off-by: Mike Looijmans --- v2: Use microohms, add lltc,cell-count v3: Fix example dts to match d

Re: [PATCH 08/14] media: sunxi: Add support for the A31 MIPI CSI-2 controller

2020-11-02 Thread Maxime Ripard
On Fri, Oct 30, 2020 at 07:45:18PM -0300, Helen Koike wrote: > On 10/23/20 2:45 PM, Paul Kocialkowski wrote: > > The A31 MIPI CSI-2 controller is a dedicated MIPI CSI-2 controller > > found on Allwinner SoCs such as the A31 and V3/V3s. > > > > It is a standalone block, connected to the CSI control

[PATCH -next] drm/panfrost: Fix unused variable warning

2020-11-02 Thread Zou Wei
Fixes the following W=1 kernel build warning: ./panfrost_job.c:617:28: warning: unused variable ‘js’ [-Wunused-variable] struct panfrost_job_slot *js = pfdev->js; ^~ Reported-by: Hulk Robot Signed-off-by: Zou Wei --- drivers/gpu/drm/panfrost/panfrost_job.c | 2 --

[PATCH v3] power/supply: Add ltc4162-l-charger

2020-11-02 Thread Mike Looijmans
Add support for the LTC4162-L Li-Ion battery charger. The driver allows reading back telemetry and to set some charging options like the input current limit. Signed-off-by: Mike Looijmans --- v2: Use microohm units instead of milliohm Add interrupt support using smbalert Support obtaining

Re: [PATCH v3 3/4] arch, mm: restore dependency of __kernel_map_pages() of DEBUG_PAGEALLOC

2020-11-02 Thread David Hildenbrand
int __init kernel_map_pages_in_pgd(pgd_t *pgd, u64 pfn, unsigned long address, unsigned numpages, unsigned long page_flags) diff --git a/include/linux/mm.h b/include/linux/mm.h index 14e397f3752c..ab0ef6bd351d 100644 --- a/include/linux/mm.h +++ b/include/li

Re: [PATCH] arm64: dts: allwinner: h6: orangepi-one-plus: Fix ethernet

2020-11-02 Thread Maxime Ripard
On Sun, Nov 01, 2020 at 08:26:09AM +0100, Jernej Skrabec wrote: > RX/TX delay on OrangePi One Plus board is set on PHY. Reflect that in > ethernet node. > > Fixes: 7ee32a17e0d6 ("arm64: dts: allwinner: h6: orangepi-one-plus: Enable > ethernet") > Signed-off-by: Jernej Skrabec Applied. It's not

Re: [PATCH v3 4/4] dt-bindings: arm: add support for SCMI Regulators

2020-11-02 Thread Cristian Marussi
Hi Rob thanks for the review. On Fri, Oct 30, 2020 at 01:55:14PM -0500, Rob Herring wrote: > On Mon, Oct 26, 2020 at 08:31:48PM +, Cristian Marussi wrote: > > Add devicetree bindings to support regulators based on SCMI Voltage > > Domain Protocol. > > > > Signed-off-by: Cristian Marussi > >

Re: [PATCH v3 4/4] arch, mm: make kernel_page_present() always available

2020-11-02 Thread David Hildenbrand
On 01.11.20 18:08, Mike Rapoport wrote: From: Mike Rapoport For architectures that enable ARCH_HAS_SET_MEMORY having the ability to verify that a page is mapped in the kernel direct map can be useful regardless of hibernation. Add RISC-V implementation of kernel_page_present(), update its forw

Re: [PATCH 1/9] ARM: sunxi: Add machine match for the Allwinner V3 SoC

2020-11-02 Thread Maxime Ripard
On Sat, Oct 31, 2020 at 07:21:29PM +0100, Paul Kocialkowski wrote: > The Allwinner V3 SoC shares the same base as the V3s but comes with > extra pins and features available. As a result, it has its dedicated > compatible string (already used in device trees), which is added here. > > Signed-off-by

Re: [mm/memcg] bd0b230fe1: will-it-scale.per_process_ops -22.7% regression

2020-11-02 Thread Michal Hocko
On Mon 02-11-20 17:15:43, kernel test robot wrote: > Greeting, > > FYI, we noticed a -22.7% regression of will-it-scale.per_process_ops due to > commit: > > > commit: bd0b230fe14554bfffbae54e19038716f96f5a41 ("mm/memcg: unify swap and > memsw page counters") > https://git.kernel.org/cgit/linux

Re: [PATCH -next] drm/panfrost: Fix unused variable warning

2020-11-02 Thread Steven Price
On 02/11/2020 09:33, Zou Wei wrote: Fixes the following W=1 kernel build warning: ./panfrost_job.c:617:28: warning: unused variable ‘js’ [-Wunused-variable] struct panfrost_job_slot *js = pfdev->js; ^~ Reported-by: Hulk Robot Signed-off-by: Zou Wei Boris post

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

2020-11-02 Thread Daniel Vetter
On Mon, Nov 2, 2020 at 2:43 AM Stephen Rothwell wrote: > > Hi all, > > After merging the drm-misc tree, today's linux-next build (arm > multi_v7_defconfig) failed like this: > > In file included from drivers/gpu/drm/nouveau/nouveau_ttm.c:26: > include/linux/swiotlb.h: In function 'swiotlb_max_mapp

[PATCH v1 1/1] mmc: mediatek: add HS400 enhanced strobe support

2020-11-02 Thread Wenbin Mei
Add support for HS400ES mode to MediaTek MMC Card Driver. Signed-off-by: Wenbin Mei --- drivers/mmc/host/mtk-sd.c | 40 +++ 1 file changed, 40 insertions(+) diff --git a/drivers/mmc/host/mtk-sd.c b/drivers/mmc/host/mtk-sd.c index f7f68623fefc..fc5ee5df91ad 10

[PATCH v1 0/1] Add HS400 enhanced strobe support

2020-11-02 Thread Wenbin Mei
Wenbin Mei (1): mmc: mediatek: add HS400 enhanced strobe support drivers/mmc/host/mtk-sd.c | 40 +++ 1 file changed, 40 insertions(+) -- 2.18.0

Re: [PATCH v6 0/6] mm: introduce memfd_secret system call to create "secret" memory areas

2020-11-02 Thread David Hildenbrand
On 02.11.20 10:11, David Hildenbrand wrote: On 24.09.20 15:28, Mike Rapoport wrote: From: Mike Rapoport Hi, This is an implementation of "secret" mappings backed by a file descriptor. I've dropped the boot time reservation patch for now as it is not strictly required for the basic usage and c

Re: [PATCH] net/mlx4_core : remove unneeded semicolon

2020-11-02 Thread Tariq Toukan
On 11/1/2020 4:05 PM, t...@redhat.com wrote: From: Tom Rix A semicolon is not needed after a switch statement. Signed-off-by: Tom Rix --- drivers/net/ethernet/mellanox/mlx4/resource_tracker.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/mellan

Re: [PATCH] Replaced hard coded function names in debug messages with __func__ macro.

2020-11-02 Thread Daniel Thompson
On Sat, Oct 31, 2020 at 05:41:03PM +0100, Tabot Kevin wrote: > This patch fixes the following: > - Uses __func__ macro to print function names. > - Got rid of unnecessary braces around single line if statements. > - End of block comments on a seperate line. > - A spelling mistake of the word "on".

Re: [PATCH] drm/bridge: tpd12s015: Fix irq registering in tpd12s015_probe

2020-11-02 Thread Yuehaibing
On 2020/11/2 14:57, Tomi Valkeinen wrote: > On 31/10/2020 09:19, Sam Ravnborg wrote: >> Hi YueHaibing >> >> Thanks for the fix. Appreciated but please update as per comments below. >> >> On Sat, Oct 31, 2020 at 11:16:48AM +0800, YueHaibing wrote: >>> gpiod_to_irq() return negative value in case of

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

2020-11-02 Thread Lukas Bulwahn
--- applies cleanly on current master and next-20201102 Keguang, Huacai, Jiaxun, please ack. Thomas, please pick this minor non-urgent cleanup patch. MAINTAINERS | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index b4197e9da495..fc08f628e196 1006

[PATCH v2 1/2] console: Remove dummy con_font_op() callback implementations

2020-11-02 Thread Peilin Ye
`struct console_font` is a UAPI structure, thus ideally should not be used for kernel internal abstraction. Remove some dummy .con_font_set, .con_font_default and .con_font_copy `struct consw` callback implementations, to make it cleaner. Suggested-by: Daniel Vetter Signed-off-by: Peilin Ye ---

[PATCH] f2fs: fix to seek incorrect data offset in inline data file

2020-11-02 Thread Chao Yu
As kitestramuort reported: F2FS-fs (nvme0n1p4): access invalid blkaddr:1598541474 [ 25.725898] [ cut here ] [ 25.725903] WARNING: CPU: 6 PID: 2018 at f2fs_is_valid_blkaddr+0x23a/0x250 [ 25.725923] Call Trace: [ 25.725927] ? f2fs_llseek+0x204/0x620 [ 25.725929] ?

[PATCH v2 2/2] tty/vt: Avoid passing struct console_font_op to con_font_copy()

2020-11-02 Thread Peilin Ye
con_font_op() is passing an entire `struct console_font_op *` to con_font_copy(), but con_font_copy() only uses `op->height`. Additionally, con_font_copy() is silently assigning the unsigned `op->height` to the signed `con`, then pass it to fbcon_copy_font(). Let con_font_copy() and fbcon_copy_fon

Re: [PATCH v3 3/9] perf mem: Support new memory event PERF_MEM_EVENTS__LOAD_STORE

2020-11-02 Thread Leo Yan
On Sat, Oct 31, 2020 at 09:23:07PM +0100, Jiri Olsa wrote: > On Wed, Oct 28, 2020 at 02:38:07PM +0800, Leo Yan wrote: > > SNIP > > > struct stat st; > > > > + /* > > +* If the event entry isn't valid, skip initialization > > +* and "e->supported" wi

Build regressions/improvements in v5.10-rc2

2020-11-02 Thread Geert Uytterhoeven
Below is the list of build error/warning regressions/improvements in v5.10-rc2[1] compared to v5.9[2]. Summarized: - build errors: +2/-7 - build warnings: +23/-23 JFYI, when comparing v5.10-rc2[1] to v5.10-rc1[3], the summaries are: - build errors: +0/-1 - build warnings: +6/-4 Happy fix

[RESEND PATCH v3 0/2] uacce: fix some coding styles

2020-11-02 Thread Kai Ye
From: y00501072 1. delete some redundant code. 2. modify the module author information. "Hisilicon" spelling is error. Changes v2 -> v3: Two things, splited to two patches. Changes v1 -> v2: deleted extra NULL pointer check in uacce_fops. Kai Ye (2): uacce: delete some redunda

[RESEND PATCH v3 2/2] uacce: modify the module author information.

2020-11-02 Thread Kai Ye
The spelling of "Hisilicon" is modified. Signed-off-by: Kai Ye Reviewed-by: Zhou Wang Reviewed-by: Jonathan Cameron Acked-by: Zhangfei Gao --- drivers/misc/uacce/uacce.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/misc/uacce/uacce.c b/drivers/misc/uacce/uacce.c

[RESEND PATCH v3 1/2] uacce: delete some redundant code.

2020-11-02 Thread Kai Ye
Delete some redundant code. Signed-off-by: Kai Ye Reviewed-by: Zhou Wang Reviewed-by: Jonathan Cameron Acked-by: Zhangfei Gao --- drivers/misc/uacce/uacce.c | 11 --- 1 file changed, 11 deletions(-) diff --git a/drivers/misc/uacce/uacce.c b/drivers/misc/uacce/uacce.c index 56dd98a..e

Re: [PATCH v3] net: usb: usbnet: update __usbnet_{read|write}_cmd() to use new API

2020-11-02 Thread Oliver Neukum
Am Sonntag, den 01.11.2020, 03:05 +0530 schrieb Anant Thazhemadam: > Currently, __usbnet_{read|write}_cmd() use usb_control_msg(). > However, this could lead to potential partial reads/writes being > considered valid, and since most of the callers of > usbnet_{read|write}_cmd() don't take partial r

  1   2   3   4   5   6   7   8   9   10   >