Re: [PATCH] crypto: s5p-sss: remove redundant null check

2020-09-10 Thread Herbert Xu
On Thu, Sep 03, 2020 at 08:37:38AM +, Xu Wang wrote: > Because clk_disable_unprepare already checked NULL clock > parameter, so the additional checks are unnecessary, just remove them. > > Signed-off-by: Xu Wang > --- > drivers/crypto/s5p-sss.c | 6 ++ > 1 file changed, 2 insertions(+),

Re: [PATCH v3 0/3] hwrng: add support for Xiphera XIP8001B

2020-09-10 Thread Herbert Xu
On Wed, Sep 02, 2020 at 01:28:14PM +0300, Atte Tommiska wrote: > This patchset introduces a linux driver for Xiphera's XIP8001B IP. > The IP is an FPGA-based TRNG which can be used in various FPGA families. > The IP is in use in multiple customer projects and in Xiphera's own products. > > changes

Re: [PATCH -next] Bluetooth: btmtksdio: use NULL instead of zero

2020-09-10 Thread Marcel Holtmann
Hi Yue, > Fix sparse warnings: > > drivers/bluetooth/btmtksdio.c:499:57: warning: Using plain integer as NULL > pointer > drivers/bluetooth/btmtksdio.c:533:57: warning: Using plain integer as NULL > pointer > > Signed-off-by: YueHaibing > --- > drivers/bluetooth/btmtksdio.c | 4 ++-- > 1 file

Re: [PATCH] vfs: add fchmodat2 syscall

2020-09-10 Thread Christoph Hellwig
On Thu, Sep 10, 2020 at 01:02:56PM -0400, Rich Felker wrote: > Would you be happy with a pair of patches where the first blocks chmod > of symlinks in chmod_common and the second adds the syscall with > flags? I think this is a clearly understandable fix, but it does > eliminate the ability to *fix

Re: [PATCH v1] Bluetooth: btusb: Add Qualcomm Bluetooth SoC WCN6855 support

2020-09-10 Thread Marcel Holtmann
Hi Rocky, > This patch add support for WCN6855 i.e. patch and nvm download > support. > > Signed-off-by: Rocky Liao > --- > drivers/bluetooth/btusb.c | 42 +++ > 1 file changed, 38 insertions(+), 4 deletions(-) > > diff --git a/drivers/bluetooth/btusb.c b/driv

Re: [PATCH v2 01/15] dt-bindings: gpio: convert bindings for NXP PCA953x family to dtschema

2020-09-10 Thread Krzysztof Kozlowski
On Fri, 11 Sep 2020 at 08:42, Geert Uytterhoeven wrote: > > Hi Krzysztof, > > On Thu, Sep 10, 2020 at 8:54 PM Krzysztof Kozlowski wrote: > > On Thu, 10 Sep 2020 at 20:28, Nishanth Menon wrote: > > > On 19:57-20200910, Krzysztof Kozlowski wrote: > >

Re: [PATCH v2 01/15] dt-bindings: gpio: convert bindings for NXP PCA953x family to dtschema

2020-09-10 Thread Krzysztof Kozlowski
On Fri, 11 Sep 2020 at 08:24, Joel Stanley wrote: > > On Thu, 10 Sep 2020 at 17:57, Krzysztof Kozlowski wrote: > > > > Convert the NXP PCA953x family of GPIO expanders bindings to device tree > > schema. > > > > Signed-off-by: Krzysztof Kozlowski > > > +patternProperties: > > + "^(hog-[0-9]+|.+

Re: [PATCH] Bluetooth: hci_qca: remove redundant null check

2020-09-10 Thread Marcel Holtmann
Hi Xu, > Because clk_disable_unprepare already checked > NULL clock parameter, so the additional check is > unnecessary, just remove it. > > Signed-off-by: Xu Wang > --- > drivers/bluetooth/hci_qca.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) patch has been applied to bluetooth-ne

Re: [PATCH net] can: j1939: j1939_sk_bind(): return failure if netdev is down

2020-09-10 Thread Oleksij Rempel
On Mon, Sep 07, 2020 at 02:31:48PM +0800, Zhang Changzhong wrote: > When a netdev down event occurs after a successful call to > j1939_sk_bind(), j1939_netdev_notify() can handle it correctly. > > But if the netdev already in down state before calling j1939_sk_bind(), > j1939_sk_release() will sta

[PATCH] omap3: enable off mode automatically

2020-09-10 Thread Andreas Kemnade
Enabling off mode was only reachable deeply hidden in the debugfs. As powersaving is an important feature, move the option out of its shady place. The debugfs file can still be used to override the default. Use the presence of a device compatible to ti,twl4030-idle or ti,twl4030-idle-osc-off as an

Re: [RESEND PATCH v12 2/2] mtd: rawnand: Add NAND controller support on Intel LGM SoC

2020-09-10 Thread Ramuthevar, Vadivel MuruganX
Hi Miquel, Thank you for your review comments... On 7/9/2020 9:20 pm, Miquel Raynal wrote: Hi Murugan, A few more comments below, but I guess the driver looks better now. +struct ebu_nand_controller { + struct nand_controller controller; + struct nand_chip chip; + struct de

Re: [PATCH 22/24] membarrier.2: Note that glibc does not provide a wrapper

2020-09-10 Thread Michael Kerrisk (man-pages)
On 9/10/20 11:13 PM, Alejandro Colomar wrote: > Notes: I copied .nf and .fi from futex.2, but they made no visual difference. > What do they actually do? > > Signed-off-by: Alejandro Colomar Thanks, Alex. Patch applied. Cheers, Michael > --- > man2/membarrier.2 | 9 + > 1 file change

Re: [PATCH -next] drm/imx: fix unused but set variable warnings

2020-09-10 Thread Laurentiu Palcu
On Fri, Sep 11, 2020 at 09:44:14AM +0800, Wang ShaoBo wrote: > Fix unused but set variable warning building with `make W=1`: > > drivers/gpu/drm/imx/dcss/dcss-plane.c:270:6: warning: > variable ‘pixel_format’ set but not used [-Wunused-but-set-variable] > u32 pixel_format; > ^~~~

Re: [PATCH 21/24] aio.7: Use perror() directly

2020-09-10 Thread Michael Kerrisk (man-pages)
On 9/10/20 11:13 PM, Alejandro Colomar wrote: > Signed-off-by: Alejandro Colomar Thanks, Alex. Patch applied. Cheers, Michael > --- > man7/aio.7 | 6 ++ > 1 file changed, 2 insertions(+), 4 deletions(-) > > diff --git a/man7/aio.7 b/man7/aio.7 > index ff099885e..9b2c44c48 100644 > --- a/

Re: [PATCH 16/24] getpwent_r.3: Declare variables with different types in different lines

2020-09-10 Thread Michael Kerrisk (man-pages)
On 9/10/20 11:13 PM, Alejandro Colomar wrote: > Signed-off-by: Alejandro Colomar Thanks, Alex. Patch applied. Cheers, Michael > --- > man3/getpwent_r.3 | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/man3/getpwent_r.3 b/man3/getpwent_r.3 > index 0f7581091..b6c1c281

Re: [PATCH 17/24] get_phys_pages.3: Write 'long' instead of 'long int'

2020-09-10 Thread Michael Kerrisk (man-pages)
On 9/10/20 11:13 PM, Alejandro Colomar wrote: > For consistency. > > Most man pages use 'long' instead of 'long int'. > > Signed-off-by: Alejandro Colomar Thanks, Alex. Patch applied. Cheers, Michael > --- > man3/get_phys_pages.3 | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) >

Re: [PATCH 20/24] loop.4: ffix

2020-09-10 Thread Michael Kerrisk (man-pages)
On 9/10/20 11:13 PM, Alejandro Colomar wrote: > Signed-off-by: Alejandro Colomar Thanks, Alex. Patch applied. Cheers, Michael > --- > man4/loop.4 | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/man4/loop.4 b/man4/loop.4 > index 73b23871d..1b5d05666 100644 > --- a/ma

Re: [PATCH v2 9/9] iomap: Change calling convention for zeroing

2020-09-10 Thread Christoph Hellwig
On Fri, Sep 11, 2020 at 12:47:07AM +0100, Matthew Wilcox (Oracle) wrote: > Pass the full length to iomap_zero() and dax_iomap_zero(), and have > them return how many bytes they actually handled. This is preparatory > work for handling THP, although it looks like DAX could actually take > advantage

Re: [PATCH v2 01/15] dt-bindings: gpio: convert bindings for NXP PCA953x family to dtschema

2020-09-10 Thread Geert Uytterhoeven
Hi Krzysztof, On Thu, Sep 10, 2020 at 8:54 PM Krzysztof Kozlowski wrote: > On Thu, 10 Sep 2020 at 20:28, Nishanth Menon wrote: > > On 19:57-20200910, Krzysztof Kozlowski wrote: > > [...] > > > + wakeup-source: > > > +$ref: /sch

drivers/android/binder.c:3689: Error: unrecognized keyword/register name `l.lwz

2020-09-10 Thread kernel test robot
Hi Stafford, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 581cb3a26baf846ee9636214afaa5333919875b1 commit: af84b16e3423bd9c1c8d81c44bc0a217f763f6b7 openrisc: uaccess: Use static inline function in access_ok date:

MAINTAINERS: Marking internal distribution lists

2020-09-10 Thread Lukas Bulwahn
Hi Joe, in my continued effort to clean up MAINTAINERS, I came across various email "lists" that are actually just some kind of internal distribution lists, but we cannot subscribe to them (no archives available) and they are not affiliated to a specific person. Some examples are: - bcm-kern

Re: [PATCH v6 09/18] crypto: sun8i-ce: split into prepare/run/unprepare

2020-09-10 Thread Herbert Xu
On Fri, Sep 04, 2020 at 11:09:54AM +, Corentin Labbe wrote: > > +static int sun8i_ce_cipher_unprepare(struct crypto_engine *engine, void > *async_req) > +{ > + struct skcipher_request *areq = container_of(async_req, struct > skcipher_request, base); > + struct crypto_skcipher *tfm = c

Re: [PATCH 3/3] Documentation: fpga: dfl: Add description for VFIO Mdev support

2020-09-10 Thread Xu Yilun
On Thu, Sep 10, 2020 at 09:49:03AM -0600, Alex Williamson wrote: > On Thu, 10 Sep 2020 16:32:30 +0800 > Xu Yilun wrote: > > > Hi Alex: > > > > Thanks for your quick response and is helpful to me. I did some more > > investigation and some comments inline. > > > > On Tue, Sep 08, 2020 at 03:10:0

[PATCH net-next] drivers/net/wan/x25_asy: Remove an unused flag "SLF_OUTWAIT"

2020-09-10 Thread Xie He
The "SLF_OUTWAIT" flag defined in x25_asy.h is not actually used. It is only cleared at one place in x25_asy.c but is never read or set. So we can remove it. Signed-off-by: Xie He --- drivers/net/wan/x25_asy.c | 2 -- drivers/net/wan/x25_asy.h | 1 - 2 files changed, 3 deletions(-) diff --git a

Re: [PATCH] Revert "net: linkwatch: add check for netdevice being present to linkwatch_do_dev"

2020-09-10 Thread Geert Uytterhoeven
Hi David, On Thu, Sep 10, 2020 at 9:20 PM David Miller wrote: > From: Geert Uytterhoeven > Date: Tue, 1 Sep 2020 17:02:37 +0200 > > > This reverts commit 124eee3f6955f7aa19b9e6ff5c9b6d37cb3d1e2c. > > > > Inami-san reported that this commit breaks bridge support in a Xen > > environment, and tha

Re: [PATCH v5] perf: arm_dsu: Support DSU ACPI devices

2020-09-10 Thread Suzuki K Poulose
On 09/10/2020 08:07 PM, Tuan Phan wrote: Hi Will, On Sep 10, 2020, at 6:40 AM, kernel test robot wrote: Hi Tuan, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v5.9-rc4 next-20200910] [If your patch is applied to

Re: [PATCH] ide/macide: Convert Mac IDE driver to platform driver

2020-09-10 Thread Geert Uytterhoeven
Hi Finn, On Fri, Sep 11, 2020 at 1:05 AM Finn Thain wrote: > On Thu, 10 Sep 2020, Geert Uytterhoeven wrote: > > On Thu, Sep 10, 2020 at 2:23 AM Finn Thain > > wrote: > > > > How does the driver know not to use the special port_ops after > > > > this change? > > > > > > > > > > The driver always

Re: [PATCH v5 4/4] bus: mhi: clients: Add userspace client interface driver

2020-09-10 Thread Hemant Kumar
Hi Greg, On 9/7/20 2:37 AM, Greg KH wrote: On Wed, Aug 05, 2020 at 11:41:03PM -0700, Hemant Kumar wrote: This MHI client driver allows userspace clients to transfer raw data between MHI device and host using standard file operations. Device file node is created with format /dev/mhi__ Currentl

Re: [PATCH 1/3] ARM/dma-mapping: move various helpers from dma-mapping.h to dma-direct.h

2020-09-10 Thread Christoph Hellwig
On Thu, Sep 10, 2020 at 07:02:23PM +0100, Robin Murphy wrote: > On 2020-09-10 06:40, Christoph Hellwig wrote: >> Move the helpers to translate to and from direct mapping DMA addresses >> to dma-direct.h. This not only is the most logical place, but the new >> placement also avoids dependency loops

Re: [PATCH v2 01/15] dt-bindings: gpio: convert bindings for NXP PCA953x family to dtschema

2020-09-10 Thread Joel Stanley
On Thu, 10 Sep 2020 at 17:57, Krzysztof Kozlowski wrote: > > Convert the NXP PCA953x family of GPIO expanders bindings to device tree > schema. > > Signed-off-by: Krzysztof Kozlowski > +patternProperties: > + "^(hog-[0-9]+|.+-hog(-[0-9]+)?)$": > +type: object > +properties: > + gpi

RE: [PATCH] ARM: imx7ulp: enable cpufreq

2020-09-10 Thread Aisheng Dong
> From: Peng Fan > Sent: Friday, September 11, 2020 11:32 AM > > > Enable cpufreq for i.MX7ULP when imx cpufreq dt driver enabled. > > Signed-off-by: Peng Fan Reviewed-by: Dong Aisheng Regards Aisheng

Re: [PATCH 00/15] Adding GAUDI NIC code to habanalabs driver

2020-09-10 Thread Greg Kroah-Hartman
On Thu, Sep 10, 2020 at 10:38:48PM +0200, Andrew Lunn wrote: > On Thu, Sep 10, 2020 at 11:30:33PM +0300, Oded Gabbay wrote: > > On Thu, Sep 10, 2020 at 11:25 PM Andrew Lunn wrote: > > > > > > > Can you please elaborate on how to do this with a single driver that > > > > is already in misc ? > > >

Re: [PATCH] s390/zcrypt: remove set_fs() invocation in zcrypt device driver

2020-09-10 Thread Christoph Hellwig
On Thu, Sep 10, 2020 at 12:28:38PM +0200, Harald Freudenberger wrote: > +static inline unsigned long z_copy_from_user(bool userspace, > + void *to, const void __user *from, > unsigned long n) Can you avoid the pointless long lines in the function declarati

[PATCH v6 1/2] phy: Add new PHY attribute max_link_rate

2020-09-10 Thread Swapnil Jakhade
Add new PHY attribute max_link_rate to struct phy_attrs. This indicates maximum link rate supported by PHY (in Mbps). Signed-off-by: Yuti Amonkar Signed-off-by: Swapnil Jakhade Acked-by: Kishon Vijay Abraham I --- include/linux/phy/phy.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/in

arch/powerpc/lib/sstep.c:1172:21: error: variable 'suffix' set but not used

2020-09-10 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 581cb3a26baf846ee9636214afaa5333919875b1 commit: 650b55b707fdfa764e9f2b81314d3eb4216fb962 powerpc: Add prefixed instructions to instruction data type date: 4 months ago config: powerpc-mpc8272_ads_defconfi

[PATCH v6 0/2] PHY: Add new PHY attribute max_link_rate

2020-09-10 Thread Swapnil Jakhade
This patch series adds a new PHY attribute max_link_rate. It also updates Cadence Torrent PHY driver to set attributes bus_width, max_link_rate and mode for DisplayPort. It includes following patches: 1. 0001-phy-Add-new-PHY-attribute-max_link_rate.patch This patch adds max_link_rate as a new PHY

[PATCH v6 2/2] phy: cadence-torrent: Set Torrent PHY attributes

2020-09-10 Thread Swapnil Jakhade
Set Torrent PHY attributes bus_width, max_link_rate and mode for DisplayPort. Signed-off-by: Swapnil Jakhade Acked-by: Kishon Vijay Abraham I --- drivers/phy/cadence/phy-cadence-torrent.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/phy/cadence/phy-cadence-torrent.c b/driver

[PATCH v2 net-next] net: phy: mchp: Add support for LAN8814 QUAD PHY

2020-09-10 Thread Divya Koppera
LAN8814 is a low-power, quad-port triple-speed (10BASE-T/100BASETX/1000BASE-T) Ethernet physical layer transceiver (PHY). It supports transmission and reception of data on standard CAT-5, as well as CAT-5e and CAT-6, unshielded twisted pair (UTP) cables. LAN8814 supports industry-standard QSGMII (

Re: [PATCH v2 12/15] ARM: dts: aspeed: align GPIO hog names with dtschema

2020-09-10 Thread Krzysztof Kozlowski
On Fri, 11 Sep 2020 at 02:58, Joel Stanley wrote: > > On Thu, 10 Sep 2020 at 17:59, Krzysztof Kozlowski wrote: > > > > dtschema for pca95xx expects GPIO hogs to end with 'hog' prefix. > > This is a bit ugly. Do we have to go down this path? No, but please comment on schema (1/15 in this series).

Re: [v4,3/4] reset-controller: ti: introduce a new reset handler

2020-09-10 Thread Crystal Guo
On Fri, 2020-09-11 at 10:52 +0800, Suman Anna wrote: > On 9/10/20 9:42 PM, Crystal Guo wrote: > > On Wed, 2020-09-09 at 23:39 +0800, Suman Anna wrote: > >> On 9/8/20 9:57 PM, Crystal Guo wrote: > >>> On Thu, 2020-09-03 at 07:40 +0800, Suman Anna wrote: > Hi Crystal, > > On 8/16/20 10

Re: [PATCH v2] usb: serial: Repair FTDI FT232R bricked eeprom

2020-09-10 Thread Greg Kroah-Hartman
On Fri, Sep 11, 2020 at 04:54:08AM +0900, Hector Martin wrote: > On 11/09/2020 03.51, James Hilliard wrote: > > I haven't tested this yet but my assumption was that either a kernel driver > > or libusb can issue usb control messages, but both can not be bound to > > a device at the same time. I fig

Re: [PATCH v3 0/8] nfc: s3fwrn5: Few cleanups

2020-09-10 Thread Krzysztof Kozlowski
On Fri, 11 Sep 2020 at 00:22, David Miller wrote: > > From: Krzysztof Kozlowski > Date: Thu, 10 Sep 2020 18:12:11 +0200 > > > Changes since v2: > > 1. Fix dtschema ID after rename (patch 1/8). > > 2. Apply patch 9/9 (defconfig change). > > > > Changes since v1: > > 1. Rename dtschema file and add

[PATCH net-next] net/socket.c: Remove an unused header file

2020-09-10 Thread Xie He
This header file is not actually used in this file. Let's remove it. Information about this header file: This header file comes from the "Frame Relay" module at drivers/net/wan/dlci.c The "Frame Relay" module is used by only one hardware driver, at: drivers/net/wan/sdla.c Note that the "Fra

Re: [PATCH v2 3/3] ARM: dts: add Plymovent M2M board

2020-09-10 Thread Marco Felsch
On 20-09-11 07:09, Oleksij Rempel wrote: > Plymovent M2M is a control interface produced for the Plymovent filter > systems. > > Signed-off-by: David Jander > Signed-off-by: Oleksij Rempel > --- > arch/arm/boot/dts/Makefile | 1 + > arch/arm/boot/dts/imx6dl-plym2m.dts | 394 +

Re: [PATCH 00/11] mmc: Minor cleanups and compile test

2020-09-10 Thread Krzysztof Kozlowski
On Fri, 11 Sep 2020 at 00:55, Rob Herring wrote: > > On Thu, Sep 3, 2020 at 2:40 AM Ulf Hansson wrote: > > > > On Wed, 2 Sep 2020 at 21:37, Krzysztof Kozlowski wrote: > > > > > > Hi, > > > > > > Set of minor cleanups. Patches requiring more attention: > > > - 6/11: Testing and review would be

[PATCH] kvm/eventfd:do wildcard calculation before list_for_each_entry_safe

2020-09-10 Thread Yi Li
There is no need to calculate wildcard in each loop since wildcard is not changed. Signed-off-by: Yi Li --- virt/kvm/eventfd.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/virt/kvm/eventfd.c b/virt/kvm/eventfd.c index d6408bb497dc..c2323c27a28b 100644 --- a/virt/kvm/eve

Re: [PATCH 0/8] drivers: net: convert tasklets to use new tasklet_setup()

2020-09-10 Thread Allen
David, > > Commit 12cc923f1ccc ("tasklet: Introduce new initialization API")' > introduced a new tasklet initialization API. This series converts > all the net/* drivers to use the new tasklet_setup() API > > Allen Pais (8): > net: dccp: convert tasklets to use new tasklet_setup() API > net: ip

Re: [PATCH 00/30] docs: fix documentation build parsing errors

2020-09-10 Thread Mauro Carvalho Chehab
Em Thu, 10 Sep 2020 10:42:50 -0600 Jonathan Corbet escreveu: > On Wed, 9 Sep 2020 16:10:31 +0200 > Mauro Carvalho Chehab wrote: > > > Currently, there are several warnings/errors produced when building > > the documentation with "make htmldocs". > > > > This series fixes almost all such error

Re: [PATCH] soundwire: bus: add enumerated slave to device list

2020-09-10 Thread Vinod Koul
On 10-09-20, 09:02, Pierre-Louis Bossart wrote: > > > > > May be we could make the enumerated devices discovery bit more verbose! > > > > > > Maybe adding a device number sysfs entry would help, e.g. reporting > > > NotAttched or a value in [0,11] would tell you if the device is actually > > > pr

Re: [PATCH 1/2] extcon: ptn5150: Use defines for registers

2020-09-10 Thread Krzysztof Kozlowski
On Fri, Sep 11, 2020 at 12:14:19PM +0900, Chanwoo Choi wrote: > On 9/10/20 12:01 AM, Krzysztof Kozlowski wrote: > > The register addresses are not continuous, so use simple defines for > > them. This also makes it easier to find the address for register. > > > > No functional change. > > > > Sig

Re: [PATCH v2 5/9] iomap: Support arbitrarily many blocks per page

2020-09-10 Thread Christoph Hellwig
On Fri, Sep 11, 2020 at 12:47:03AM +0100, Matthew Wilcox (Oracle) wrote: > Size the uptodate array dynamically to support larger pages in the > page cache. With a 64kB page, we're only saving 8 bytes per page today, > but with a 2MB maximum page size, we'd have to allocate more than 4kB > per page

Re: [PATCH v2 6/9] iomap: Convert read_count to read_bytes_pending

2020-09-10 Thread Christoph Hellwig
On Fri, Sep 11, 2020 at 12:47:04AM +0100, Matthew Wilcox (Oracle) wrote: > Instead of counting bio segments, count the number of bytes submitted. > This insulates us from the block layer's definition of what a 'same page' > is, which is not necessarily clear once THPs are involved. > > Signed-off-

Re: [PATCH v1] ARM: dts: aspeed: Add Mowgli BMC platform

2020-09-10 Thread Joel Stanley
On Wed, 9 Sep 2020 at 09:09, Ben Pai wrote: > > The Mowgli BMC is an ASPEED ast2500 based BMC that is part of an > OpenPower Power9 server. > > Signed-off-by: Ben Pai This looks good to me. I assume you have all the hardware correctly described. I notice you don't have any gpio-line-names. If y

Re: [PATCH 2/2] watchdog: sp5100_tco: Enable watchdog on Family 17h devices if disabled

2020-09-10 Thread Jan Kiszka
On 10.09.20 18:55, Jan Kiszka wrote: > On 10.09.20 18:53, Guenter Roeck wrote: >> Hi Jan, >> >> On 9/10/20 9:34 AM, Jan Kiszka wrote: >>> On 10.09.20 18:31, Guenter Roeck wrote: On Family 17h (Ryzen) devices, the WatchdogTmrEn bit of PmDecodeEn not only enables watchdog memory decoding at

[tip:x86/fpu] BUILD SUCCESS 0a4bb5e5507a585532cc413125b921c8546fc39f

2020-09-10 Thread kernel test robot
allyesconfig powerpc allmodconfig powerpc allnoconfig powerpc defconfig x86_64 randconfig-a004-20200910 x86_64 randconfig-a006-20200910 x86_64 randconfig-a003

[PATCH v7 07/10] dt-bindings: reset: s700: Add binding constants for mmc

2020-09-10 Thread Amit Singh Tomar
This commit adds device tree binding reset constants for mmc controller present on Actions S700 Soc. Reviewed-by: Manivannan Sadhasivam Acked-by: Rob Herring Signed-off-by: Amit Singh Tomar --- Changes since v6: * No change. Changes since v5: * Added Mani's Reviewed-by: tag. Cha

[PATCH v7 08/10] dt-bindings: mmc: owl: add compatible string actions,s700-mmc

2020-09-10 Thread Amit Singh Tomar
The commit adds a new SoC specific compatible string "actions,s700-mmc" in combination with more generic string "actions,owl-mmc". Placement order of these strings should abide by the principle of "from most specific to most general". Reviewed-by: Manivannan Sadhasivam Reviewed-by: Rob Herring

[PATCH] mailbox: sti: fix struct description warnings

2020-09-10 Thread Alain Volmat
Fix formating of struct description to avoid warning highlighted by W=1 compilation. warning: cannot understand function prototype: 'struct sti_mbox_device ' warning: cannot understand function prototype: 'struct sti_mbox_pdata ' warning: cannot understand function prototype: 'struct sti_channel '

[GIT PULL] FSI changes for 5.10

2020-09-10 Thread Joel Stanley
Hi Greg, Here are some FSI changes for the 5.10 merge window. The following changes since commit 4a851d714eadeabd65c7e321a2e7830f77d945c4: fsi: aspeed: Support CFAM reset GPIO (2020-09-10 12:26:43 +0930) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/

[PATCH v2 0/3] mainline Plymovent M2M board

2020-09-10 Thread Oleksij Rempel
changes v2: - fsl.yaml: reorder ply,plym2m - imx6dl-plym2m.dts: use hyphen instead of underscore in phy-clock Oleksij Rempel (3): dt-bindings: vendor-prefixes: Add an entry for Plymovent dt-bindings: arm: fsl: add Plymovent M2M board ARM: dts: add Plymovent M2M board .../devicetree/binding

[PATCH v2 3/3] ARM: dts: add Plymovent M2M board

2020-09-10 Thread Oleksij Rempel
Plymovent M2M is a control interface produced for the Plymovent filter systems. Signed-off-by: David Jander Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/imx6dl-plym2m.dts | 394 2 files changed, 395 insertions(+)

[PATCH v2 2/3] dt-bindings: arm: fsl: add Plymovent M2M board

2020-09-10 Thread Oleksij Rempel
Add Plymovent Group BV M2M iMX6dl based board Signed-off-by: Oleksij Rempel --- Documentation/devicetree/bindings/arm/fsl.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml index 6da9d734cdb7..

[PATCH v2 1/3] dt-bindings: vendor-prefixes: Add an entry for Plymovent

2020-09-10 Thread Oleksij Rempel
Add "ply" entry for Plymovent Group BV: https://www.plymovent.com/ Signed-off-by: Oleksij Rempel --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bin

Re: [PATCH kernel] srcu: Fix static initialization

2020-09-10 Thread Alexey Kardashevskiy
On 11/09/2020 04:53, Paul E. McKenney wrote: > On Wed, Sep 09, 2020 at 10:31:03PM +1000, Alexey Kardashevskiy wrote: >> >> >> On 09/09/2020 21:50, Paul E. McKenney wrote: >>> On Wed, Sep 09, 2020 at 07:24:11PM +1000, Alexey Kardashevskiy wrote: On 09/09/2020 00:43, Alexey Kardashe

[PATCH] powerpc/kasan: Fix CONFIG_KASAN_VMALLOC for 8xx

2020-09-10 Thread Christophe Leroy
Before the commit identified below, pages tables allocation was performed after the allocation of final shadow area for linear memory. But that commit switched the order, leading to page tables being already allocated at the time 8xx kasan_init_shadow_8M() is called. Due to this, kasan_init_shadow_

[PATCH net-next] net/packet: Fix a comment about hard_header_len and add a warning for it

2020-09-10 Thread Xie He
This patch tries to clarify the difference between hard_header_len and needed_headroom by fixing an outdated comment and adding a WARN_ON_ONCE warning for hard_header_len. The difference between hard_header_len and needed_headroom as understood by this patch is based on the following reasons: 1.

RE: [PATCH RESEND v3 04/11] usb: xhci-rcar: convert to readl_poll_timeout_atomic()

2020-09-10 Thread Yoshihiro Shimoda
Hi Chunfeng, > From: Chunfeng Yun, Sent: Friday, September 11, 2020 1:13 PM > > On Fri, 2020-09-11 at 03:13 +, Yoshihiro Shimoda wrote: > > Hi Daniel, Chunfeng, > > > > > From: Chunfeng Yun, Sent: Friday, September 11, 2020 11:33 AM > > > > > > On Thu, 2020-09-10 at 14:12 +0100, Daniel Thomps

Re: [PATCH 0/4] Remove LPC register partitioning

2020-09-10 Thread Andrew Jeffery
On Fri, 11 Sep 2020, at 13:33, Joel Stanley wrote: > Hello, > > On Fri, 11 Sep 2020 at 03:46, Chia-Wei, Wang > wrote: > > > > The LPC controller has no concept of the BMC and the Host partitions. > > The incorrect partitioning can impose unnecessary range restrictions > > on register access thr

Re: [PATCH -next] media: marvell-ccic: Fix -Wunused-function warnings

2020-09-10 Thread Yuehaibing
On 2020/9/10 22:57, Lubomir Rintel wrote: > On Thu, Sep 10, 2020 at 05:18:15PM +0800, Yuehaibing wrote: >> On 2020/9/10 16:22, Lubomir Rintel wrote: >>> On Thu, Sep 10, 2020 at 04:09:33PM +0800, YueHaibing wrote: If CONFIG_PM is n, gcc warns: drivers/media/platform/marvell-ccic/mmp-d

Re: linux-next: manual merge of the scsi-mkp tree with Linus' tree

2020-09-10 Thread Stephen Rothwell
Hi all, On Wed, 2 Sep 2020 15:12:35 +1000 Stephen Rothwell wrote: > > Today's linux-next merge of the scsi-mkp tree got a conflict in: > > drivers/scsi/aacraid/aachba.c > > between commit: > > df561f6688fe ("treewide: Use fallthrough pseudo-keyword") > > from Linus' tree and commit: > >

[PATCH 2/3] exfat: remove useless check in exfat_move_file()

2020-09-10 Thread Tetsuhiro Kohada
In exfat_move_file(), the identity of source and target directory has been checked by the caller. Also, it gets stream.start_clu from file dir-entry, which is an invalid determination. Signed-off-by: Tetsuhiro Kohada --- fs/exfat/namei.c | 5 - 1 file changed, 5 deletions(-) diff --git a/fs

[PATCH 3/3] exfat: replace memcpy with structure assignment

2020-09-10 Thread Tetsuhiro Kohada
Use structure assignment instead of memcpy. Signed-off-by: Tetsuhiro Kohada --- fs/exfat/dir.c | 7 ++- fs/exfat/inode.c | 2 +- fs/exfat/namei.c | 15 +++ 3 files changed, 10 insertions(+), 14 deletions(-) diff --git a/fs/exfat/dir.c b/fs/exfat/dir.c index fa5bb72aa295..852

[PATCH 1/3] exfat: remove useless directory scan in exfat_add_entry()

2020-09-10 Thread Tetsuhiro Kohada
There is nothing in directory just created, so there is no need to scan. Signed-off-by: Tetsuhiro Kohada --- fs/exfat/namei.c | 11 +-- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/fs/exfat/namei.c b/fs/exfat/namei.c index b966b9120c9c..803748946ddb 100644 --- a/fs/exfat

Re: [PATCH v3 3/3] hwrng: xiphera-trng: add support for XIP8001B hwrng

2020-09-10 Thread Herbert Xu
On Wed, Sep 02, 2020 at 01:28:17PM +0300, Atte Tommiska wrote: > Xiphera XIP8001B is an FPGA-based True Random Number Generator > Intellectual Property (IP) Core which can be instantiated in > multiple FPGA families. This driver adds Linux support for it through > the hwrng interface. > > Signed-o

Re: [PATCH RFC tip/core/rcu 4/4] rcu-tasks: Shorten per-grace-period sleep for RCU Tasks Trace

2020-09-10 Thread Paul E. McKenney
On Thu, Sep 10, 2020 at 08:18:01PM -0700, Alexei Starovoitov wrote: > On Thu, Sep 10, 2020 at 1:20 PM wrote: > > > > From: "Paul E. McKenney" > > > > The various RCU tasks flavors currently wait 100 milliseconds between each > > grace period in order to prevent CPU-bound loops and to favor effici

Re: [PATCH] crypto: stm32/crc32 - Avoid lock if hardware is already used

2020-09-10 Thread Herbert Xu
On Fri, Sep 04, 2020 at 01:25:27PM +0200, Nicolas Toromanoff wrote: > If STM32 CRC device is already in use, calculate CRC by software. > > This will release CPU constraint for a concurrent access to the > hardware, and avoid masking irqs during the whole block processing. > > Fixes: 7795c0baf5ac

Re: [PATCH v6 0/8] crpyto: introduce OSCCA certificate and SM2 asymmetric algorithm

2020-09-10 Thread Herbert Xu
On Thu, Sep 03, 2020 at 09:12:34PM +0800, Tianjia Zhang wrote: > > --- > v6 changes: > 1. remove mpi_sub_ui function from mpi library. > 2. rebase on mainline. This series is still missing acks for patches 6-8. Without them it cannot proceed. Thanks, -- Email: Herbert Xu Home Page: http://

[PATCH v3] Documentation: kunit: Add naming guidelines

2020-09-10 Thread David Gow
As discussed in [1], KUnit tests have hitherto not had a particularly consistent naming scheme. This adds documentation outlining how tests and test suites should be named, including how those names should be used in Kconfig entries and filenames. [1]: https://lore.kernel.org/linux-kselftest/20200

[PATCH net-next] net: dsa: b53: Configure VLANs while not filtering

2020-09-10 Thread Florian Fainelli
Update the B53 driver to support VLANs while not filtering. This requires us to enable VLAN globally within the switch upon driver initial configuration (dev->vlan_enabled). We also need to remove the code that dealt with PVID re-configuration in b53_vlan_filtering() since that function worked und

Re: [trivial PATCH] treewide: Convert switch/case fallthrough; to break;

2020-09-10 Thread Joe Perches
On Thu, 2020-09-10 at 15:21 +0100, Robin Murphy wrote: > On 2020-09-09 21:06, Joe Perches wrote: > > fallthrough to a separate case/default label break; isn't very readable. > > > > Convert pseudo-keyword fallthrough; statements to a simple break; when > > the next label is case or default and the

[PATCH 2/4] soc: aspeed: Fix LPC register offsets

2020-09-10 Thread Chia-Wei, Wang
The LPC register offsets are fixed to adapt to the LPC DTS change, where the LPC partitioning is removed. Signed-off-by: Chia-Wei, Wang --- drivers/soc/aspeed/aspeed-lpc-ctrl.c | 6 +++--- drivers/soc/aspeed/aspeed-lpc-snoop.c | 11 +-- 2 files changed, 8 insertions(+), 9 deletions(-)

[PATCH 0/4] Remove LPC register partitioning

2020-09-10 Thread Chia-Wei, Wang
The LPC controller has no concept of the BMC and the Host partitions. The incorrect partitioning can impose unnecessary range restrictions on register access through the syscon regmap interface. For instance, HICRB contains the I/O port address configuration of KCS channel 1/2. However, the KCS#1/

[PATCH 4/4] pinctrl: aspeed-g5: Fix LPC register offsets

2020-09-10 Thread Chia-Wei, Wang
The LPC register offsets are fixed to adapt to the LPC DTS change, where the LPC partitioning is removed. Signed-off-by: Chia-Wei, Wang --- drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c b

[PATCH 3/4] ipmi: kcs: aspeed: Fix LPC register offsets

2020-09-10 Thread Chia-Wei, Wang
The LPC register offsets are fixed to adapt to the LPC DTS change, where the LPC partitioning is removed. Signed-off-by: Chia-Wei, Wang --- drivers/char/ipmi/kcs_bmc_aspeed.c | 13 + 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/drivers/char/ipmi/kcs_bmc_aspeed.c b/d

[PATCH 1/4] ARM: dts: Remove LPC BMC and Host partitions

2020-09-10 Thread Chia-Wei, Wang
The LPC controller has no concept of the BMC and the Host partitions. A concrete instance is that the HICRB[5:4] are for the I/O port address configurtaion of KCS channel 1/2. However, the KCS driver cannot access HICRB for channel 1/2 initialization via syscon regmap interface due to the parition

Re: [PATCH RESEND v3 04/11] usb: xhci-rcar: convert to readl_poll_timeout_atomic()

2020-09-10 Thread Chunfeng Yun
On Fri, 2020-09-11 at 03:13 +, Yoshihiro Shimoda wrote: > Hi Daniel, Chunfeng, > > > From: Chunfeng Yun, Sent: Friday, September 11, 2020 11:33 AM > > > > On Thu, 2020-09-10 at 14:12 +0100, Daniel Thompson wrote: > > > On Thu, Sep 10, 2020 at 04:21:45PM +0800, Chunfeng Yun wrote: > > > > Use

Re: [v2 PATCH] crypto: sun4i-ss - Fix sparse endianness markers

2020-09-10 Thread Herbert Xu
On Thu, Sep 10, 2020 at 02:22:48PM +0200, Corentin Labbe wrote: > > I get some md5 error on both A20+BE: > alg: ahash: md5 test failed (wrong result) on test vector \"random: psize=129 > ksize=0\", cfg=\"random: inplace use_finup nosimd > src_divs=[85.99%@+3999, 5.85%@+30, 0.96%@+25, > 5.9%@+226

[PATCH -next] nfsd: fix comparison to bool warning

2020-09-10 Thread Zheng Bin
Fixes coccicheck warning: fs/nfsd/nfs4proc.c:3234:5-29: WARNING: Comparison to bool Signed-off-by: Zheng Bin --- fs/nfsd/nfs4proc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/nfsd/nfs4proc.c b/fs/nfsd/nfs4proc.c index eaf50eafa935..63e5a4844d8c 100644 --- a/fs/nfsd/n

Re: [PATCH 0/4] Remove LPC register partitioning

2020-09-10 Thread Joel Stanley
Hello, On Fri, 11 Sep 2020 at 03:46, Chia-Wei, Wang wrote: > > The LPC controller has no concept of the BMC and the Host partitions. > The incorrect partitioning can impose unnecessary range restrictions > on register access through the syscon regmap interface. > > For instance, HICRB contains th

[PATCH -next 1/5] cifs: fix comparison to bool warning in cifsacl.c

2020-09-10 Thread Zheng Bin
Fixes coccicheck warning: fs/cifs/cifsacl.c:371:6-49: WARNING: Comparison to bool Signed-off-by: Zheng Bin --- fs/cifs/cifsacl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/cifs/cifsacl.c b/fs/cifs/cifsacl.c index fcff14ef1c70..9447ff1a5b6a 100644 --- a/fs/cifs/cifsac

[PATCH -next 2/5] cifs: fix comparison to bool warning in file.c

2020-09-10 Thread Zheng Bin
Fixes coccicheck warning: fs/cifs/file.c:780:22-38: WARNING: Comparison to bool Signed-off-by: Zheng Bin --- fs/cifs/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/cifs/file.c b/fs/cifs/file.c index be46fab4c96d..bad749f606d5 100644 --- a/fs/cifs/file.c +++ b/fs/c

[PATCH -next 0/5] cifs: fix comparison to bool warning

2020-09-10 Thread Zheng Bin
Zheng Bin (5): cifs: fix comparison to bool warning in cifsacl.c cifs: fix comparison to bool warning in file.c cifs: fix comparison to bool warning in smb2misc.c cifs: fix comparison to bool warning in connect.c cifs: fix comparison to bool warning in smb2ops.c fs/cifs/cifsacl.c | 2

[PATCH net-next] net: stmmac: set get_rx_header_len() as void for it didn't have any error code to return

2020-09-10 Thread Luo Jiaxing
We found the following warning when using W=1 to build kernel: drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:3634:6: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] int ret, coe = priv->hw->rx_csum; When digging stmmac_get_rx_header_len(), dwmac4_get_rx_header_len() and

[PATCH -next 4/5] cifs: fix comparison to bool warning in connect.c

2020-09-10 Thread Zheng Bin
Fixes coccicheck warning: fs/cifs/connect.c:2478:5-16: WARNING: Comparison to bool fs/cifs/connect.c:3560:10-35: WARNING: Comparison to bool fs/cifs/connect.c:4297:6-21: WARNING: Comparison to bool Signed-off-by: Zheng Bin --- fs/cifs/connect.c | 6 +++--- 1 file changed, 3 insertions(+), 3 del

[PATCH -next 3/5] cifs: fix comparison to bool warning in smb2misc.c

2020-09-10 Thread Zheng Bin
Fixes coccicheck warning: fs/cifs/smb2misc.c:416:5-51: WARNING: Comparison to bool Signed-off-by: Zheng Bin --- fs/cifs/smb2misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/cifs/smb2misc.c b/fs/cifs/smb2misc.c index d88e2683626e..0864cfa87834 100644 --- a/fs/cifs/sm

[PATCH -next 5/5] cifs: fix comparison to bool warning in smb2ops.c

2020-09-10 Thread Zheng Bin
Fixes coccicheck warning: fs/cifs/smb2ops.c:3199:6-15: WARNING: Comparison to bool fs/cifs/smb2ops.c:3223:5-14: WARNING: Comparison to bool fs/cifs/smb2ops.c:3301:6-15: WARNING: Comparison to bool fs/cifs/smb2ops.c:3311:6-15: WARNING: Comparison to bool fs/cifs/smb2ops.c:3341:6-15: WARNING: Compar

Re: [PATCH net-next] net: stmmac: Remove unused variable 'ret' at stmmac_rx_buf1_len()

2020-09-10 Thread luojiaxing
On 2020/9/11 3:29, Jakub Kicinski wrote: On Thu, 10 Sep 2020 10:42:45 +0800 Luo Jiaxing wrote: Fixes the following warning when using W=1 to build kernel: drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:3634:6: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] int ret, c

Re: [PATCH v2] i2c: virtio: add a virtio i2c frontend driver

2020-09-10 Thread Randy Dunlap
On 9/10/20 8:48 PM, Jie Deng wrote: > diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig > index 293e7a0..70c8e30 100644 > --- a/drivers/i2c/busses/Kconfig > +++ b/drivers/i2c/busses/Kconfig > @@ -21,6 +21,17 @@ config I2C_ALI1535 > This driver can also be built as a modul

Re: [PATCH 2/3] mmc: sdhci-of-aspeed: Expose data sample phase delay tuning

2020-09-10 Thread Andrew Jeffery
On Fri, 11 Sep 2020, at 13:03, Joel Stanley wrote: > On Fri, 11 Sep 2020 at 02:49, Andrew Jeffery wrote: > > > > > > > > On Fri, 11 Sep 2020, at 11:32, Joel Stanley wrote: > > > On Thu, 10 Sep 2020 at 10:55, Andrew Jeffery wrote: > > > > > > > > Allow sample phase adjustment to deal with layou

Re: [External] Re: [PATCH v2] stackleak: Fix a race between stack erasing sysctl handlers

2020-09-10 Thread Muchun Song
Ping guys. Thanks. On Mon, Sep 7, 2020 at 9:53 PM Muchun Song wrote: > > On Mon, Sep 7, 2020 at 7:24 PM Alexander Popov wrote: > > > > On 07.09.2020 05:54, Muchun Song wrote: > > > Hi all, > > > > > > Any comments or suggestions? Thanks. > > > > > > On Fri, Aug 28, 2020 at 11:19 AM Muchun Song

  1   2   3   4   5   6   7   8   9   10   >