Re: [PATCH 01/17] Documentation/driver-api: dmaengine/provider: drop doubled word

2020-07-05 Thread Vinod Koul
On 03-07-20, 20:44, Randy Dunlap wrote: > Drop the doubled word "has". Applied, thanks > > Signed-off-by: Randy Dunlap > Cc: Jonathan Corbet > Cc: linux-...@vger.kernel.org > Cc: Vinod Koul > Cc: dmaeng...@vger.kernel.org > --- > Documentation/driver-api/dmaengine/provider.rst |2 +- > 1

Re: [PATCH] kbuild: make Clang build userprogs for target architecture

2020-07-05 Thread Miguel Ojeda
Hi Masahiro, On Sun, Jul 5, 2020 at 5:30 PM Masahiro Yamada wrote: > > Hmm, adding '#include ' did not make any difference. That should have worked, because POSIX defines it to be there. It sounds like you need --sysroot to point it to the proper ones. > If I add -std=c99, I get a different err

[RFC v2 1/2] powerpc/powernv : Add support for pre-entry and post-exit of stop state using OPAL V4 OS services

2020-07-05 Thread Abhishek Goel
This patch provides kernel framework fro opal support of save restore of sprs in idle stop loop. Opal support for stop states is needed to selectively enable stop states or to introduce a quirk quickly in case a buggy stop state is present. We make a opal call from kernel if firmware-stop-support

[RFC v2 2/2] powerpc/powernv : Introduce capability for firmware-enabled-stop

2020-07-05 Thread Abhishek Goel
This patch introduces the capability for firmware to handle the stop states instead. A bit is set based on the discovery of the feature and correspondingly also the responsibility to handle the stop states. If Kernel does not know about stop version, it can fallback to opal for idle stop support i

Re: [PATCH v1] dmaengine: fsl-edma-common: correct DSIZE_32BYTE

2020-07-05 Thread Vinod Koul
On 30-06-20, 00:59, Robin Gong wrote: > Correct EDMA_TCD_ATTR_DSIZE_32BYTE define since it's broken by the below: > '0x0005 --> BIT(3) | BIT(0))' Applied, thanks -- ~Vinod

linux-next: manual merge of the pidfd tree with the csky tree

2020-07-05 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the pidfd tree got a conflict in: arch/csky/Kconfig between commit: f4dd2edafba0 ("csky: add support for SECCOMP and SECCOMP_FILTER") from the csky tree and commit: 140c8180eb7c ("arch: remove HAVE_COPY_THREAD_TLS") from the pidfd tree. I fixed it u

drivers/hwspinlock/omap_hwspinlock.c:165:34: warning: unused variable 'omap_hwspinlock_of_match'

2020-07-05 Thread kernel test robot
Hi Baolin, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: dcb7fd82c75ee2d6e6f9d8cc71c52519ed52e258 commit: ffd0bbfb378ecd56eac22bf932ccdbf89ac7f725 hwspinlock: Allow drivers to be built with COMPILE_TEST date:

linux-next: manual merge of the pidfd tree with the csky tree

2020-07-05 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the pidfd tree got a conflict in: arch/csky/kernel/process.c between commit: 29adb883aa77 ("csky: remove unusued thread_saved_pc and *_segments functions/macros") from the csky tree and commit: 714acdbd1c94 ("arch: rename copy_thread_tls() back to co

Re: [PATCH 2/3] arm64: dts: allwinner: Add support for PinePhone revision 1.2

2020-07-05 Thread Maxime Ripard
Hi, On Fri, Jul 03, 2020 at 09:48:41PM +0200, Ondrej Jirman wrote: > Revision 1.2 should be the final production version of the PinePhone. > It has most of the known HW quirks fixed. > > Interrupt to the magnetometer is routed correctly, in this revision. > > The bulk of the changes are in how m

Re: [PATCH 01/16] ASoC: sun4i-i2s: Add support for H6 I2S

2020-07-05 Thread Maxime Ripard
Hi, On Sat, Jul 04, 2020 at 01:38:47PM +0200, Clément Péron wrote: > From: Jernej Skrabec > > H6 I2S is very similar to that in H3, except it supports up to 16 > channels. > > Signed-off-by: Jernej Skrabec > Signed-off-by: Marcus Cooper > Signed-off-by: Clément Péron > --- > sound/soc/sunxi

回复: [PATCH] usb: gadget: function: fix missing spinlock in f_uac1_legacy

2020-07-05 Thread Zhang, Qiang
发件人: linux-kernel-ow...@vger.kernel.org 代表 qiang.zh...@windriver.com 发送时间: 2020年7月5日 9:59 收件人: ba...@kernel.org 抄送: gre...@linuxfoundation.org; colin.k...@canonical.com; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org 主题: [PATCH] usb: gadget: fu

Re: [PATCH 04/16] ASoC: sun4i-i2s: Set sign extend sample

2020-07-05 Thread Maxime Ripard
On Sat, Jul 04, 2020 at 01:38:50PM +0200, Clément Péron wrote: > From: Marcus Cooper > > On the newer SoCs such as the H3 and A64 this is set by default > to transfer a 0 after each sample in each slot. However the A10 > and A20 SoCs that this driver was developed on had a default > setting where

RE: [PATCH v2] rtc: rtc-ds1374: wdt: Use watchdog core for watchdog part

2020-07-05 Thread 陳昭勳
Hi, Thanks for your good suggestions! > > diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index > > b54d87d45c89..5e2444af5657 100644 > > --- a/drivers/rtc/Kconfig > > +++ b/drivers/rtc/Kconfig > > @@ -282,6 +282,7 @@ config RTC_DRV_DS1374 config > RTC_DRV_DS1374_WDT > > bool "Dallas/

Re: [PATCH v2] dmaengine: ioat setting ioat timeout as module parameter

2020-07-05 Thread Vinod Koul
On 01-07-20, 21:48, leonid.rav...@dell.com wrote: > From: Leonid Ravich > > DMA transaction time to completion is a function of > PCI bandwidth,transaction size and a queue depth. space after , pls > So hard coded value for timeouts might be wrong > for some scenarios. I ahve fixed above and

Re: [PATCH 05/16] ASoc: sun4i-i2s: Add 20 and 24 bit support

2020-07-05 Thread Maxime Ripard
On Sat, Jul 04, 2020 at 01:38:51PM +0200, Clément Péron wrote: > From: Marcus Cooper > > Extend the functionality of the driver to include support of 20 and > 24 bits per sample. > > Signed-off-by: Marcus Cooper > Signed-off-by: Clément Péron Acked-by: Maxime Ripard Thanks! Maxime signatu

Re: [PATCH 06/16] ASoC: sun4i-i2s: Adjust regmap settings

2020-07-05 Thread Maxime Ripard
On Sat, Jul 04, 2020 at 01:38:52PM +0200, Clément Péron wrote: > From: Marcus Cooper > > Bypass the regmap cache when flushing or reading the i2s FIFOs. > > Signed-off-by: Marcus Cooper > Signed-off-by: Clément Péron Acked-by: Maxime Ripard Thanks Maxime signature.asc Description: PGP sig

Re: [PATCH 07/16] ASoC: sun4i-i2s: Fix sun8i volatile regs

2020-07-05 Thread Maxime Ripard
On Sat, Jul 04, 2020 at 01:38:53PM +0200, Clément Péron wrote: > The FIFO TX reg is volatile and sun8i i2s register > mapping is different from sun4i. > > Even if in this case it's doesn't create an issue, > Avoid setting some regs that are undefined in sun8i. > > Signed-off-by: Clément Péron A

Re: [PATCH 08/16] arm64: dts: allwinner: h6: Add HDMI audio node

2020-07-05 Thread Maxime Ripard
Hi, On Sat, Jul 04, 2020 at 01:38:54PM +0200, Clément Péron wrote: > From: Jernej Skrabec > > Add a simple-soundcard to link audio between HDMI and I2S. > > Signed-off-by: Jernej Skrabec > Signed-off-by: Marcus Cooper > Signed-off-by: Clément Péron > --- > arch/arm64/boot/dts/allwinner/sun5

RE: [EXT] Re: [PATCH v5 3/3] ARM: imx6plus: optionally enable internal routing of clk_enet_ref

2020-07-05 Thread Andy Duan
From: Sven Van Asbroeck Sent: Sunday, July 5, 2020 11:34 PM > > ext phy-| \ > | | > enet_ref-o--|M |pad--| \ >| |_/ | | >| |M |mac_gtx >| | | >

Re: [PATCH 13/16] arm64: dts: allwinner: a64: Add HDMI audio

2020-07-05 Thread Maxime Ripard
On Sat, Jul 04, 2020 at 01:38:59PM +0200, Clément Péron wrote: > From: Marcus Cooper > > Add a simple-soundcard to link audio between HDMI and I2S. > > Signed-off-by: Jernej Skrabec > Signed-off-by: Marcus Cooper > Signed-off-by: Clément Péron > --- > arch/arm64/boot/dts/allwinner/sun50i-a64

Re: [PATCH] Replace HTTP links with HTTPS ones: VMWare PVRDMA driver

2020-07-05 Thread Leon Romanovsky
On Sun, Jul 05, 2020 at 11:45:28PM +0200, Alexander A. Klimov wrote: > Rationale: > Reduces attack surface on kernel devs opening the links for MITM > as HTTPS traffic is much harder to manipulate. > > Deterministic algorithm: > For each file: > If not .svg: > For each line: > If doesn'

[PATCH] cpuidle/powernv : Remove dead code block

2020-07-05 Thread Abhishek Goel
Commit 1961acad2f88559c2cdd2ef67c58c3627f1f6e54 removes usage of function "validate_dt_prop_sizes". This patch removes this unused function. Signed-off-by: Abhishek Goel --- drivers/cpuidle/cpuidle-powernv.c | 14 -- 1 file changed, 14 deletions(-) diff --git a/drivers/cpuidle/cpuid

[rcu:dev.2020.07.02a] BUILD SUCCESS 9e4ad971bf0a551b3922c94eda1f361be04dcde2

2020-07-05 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2020.07.02a branch HEAD: 9e4ad971bf0a551b3922c94eda1f361be04dcde2 squash! kernel/smp: Provide CSD lock timeout diagnostics elapsed time: 2235m configs tested: 219 configs skipped: 34 The following configs

linux-next: manual merge of the memblock tree with the pidfd tree

2020-07-05 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the memblock tree got a conflict in: arch/unicore32/kernel/process.c between commit: 8496da092a53 ("unicore: switch to copy_thread_tls()") 714acdbd1c94 ("arch: rename copy_thread_tls() back to copy_thread()") from the pidfd tree and commit: fb37409a

Re: [PATCH] omapfb: dss: Fix max fclk divider for omap36xx

2020-07-05 Thread Tomi Valkeinen
Hi, On 03/07/2020 22:36, Sam Ravnborg wrote: Hi Tomi. On Fri, Jul 03, 2020 at 10:17:29AM +0300, Tomi Valkeinen wrote: On 30/06/2020 21:26, Adam Ford wrote: The drm/omap driver was fixed to correct an issue where using a divider of 32 breaks the DSS despite the TRM stating 32 is a valid number

Re: linux-next: manual merge of the dmaengine tree with the dmaengine-fixes tree

2020-07-05 Thread Stephen Rothwell
Hi all, On Mon, 6 Jul 2020 10:11:46 +0530 Vinod Koul wrote: > > On 05-07-20, 21:23, Dave Jiang wrote: > > > > On 7/5/2020 8:56 PM, Stephen Rothwell wrote: > > > > > > Today's linux-next merge of the dmaengine tree got a conflict in: > > > > > >drivers/dma/idxd/sysfs.c > > > > > > betwee

[PATCH v1 0/2] scsi: ufs: Fix and simplify setup_xfer_req vop and request's completion timestamp

2020-07-05 Thread Stanley Chu
Hi, This small series fixes and simplifies setup_xfer_req vop and request's completion timestamp. Stanley Chu (2): scsi: ufs: Simplify completion timestamp for SCSI and query commands scsi: ufs: Fix and simplify setup_xfer_req variant operation drivers/scsi/ufs/ufshcd.c | 12 ++-- 1

[PATCH v1 2/2] scsi: ufs: Fix and simplify setup_xfer_req variant operation

2020-07-05 Thread Stanley Chu
Add missing "setup_xfer_req" call in ufshcd_issue_devman_upiu_cmd() by ufs-bsg path, and collect all "setup_xfer_req" calls to an unified place, i.e., ufshcd_send_command(), to simplify the driver. Signed-off-by: Stanley Chu --- drivers/scsi/ufs/ufshcd.c | 9 + 1 file changed, 5 insertio

[PATCH v1 1/2] scsi: ufs: Simplify completion timestamp for SCSI and query commands

2020-07-05 Thread Stanley Chu
Simplify recording command completion time in __ufshcd_transfer_req_compl() by assigning lrbp->compl_time_stamp in an unified location. Signed-off-by: Stanley Chu --- drivers/scsi/ufs/ufshcd.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/scsi/ufs/ufshcd.c b/drive

Re: [PATCH v3] ARM: dts: exynos: Remove DMA controller bus node name to fix dtschema warnings

2020-07-05 Thread Marek Szyprowski
On 05.07.2020 20:17, Krzysztof Kozlowski wrote: > There is no need to keep DMA controller nodes under AMBA bus node. > Remove the "amba" node to fix dtschema warnings like: > > amba: $nodename:0: 'amba' does not match > '^(bus|soc|axi|ahb|apb)(@[0-9a-f]+)?$' > > Signed-off-by: Krzysztof Koz

Re: [PATCH 0/3] readfile(2): a new syscall to make open/read/close faster

2020-07-05 Thread Jan Ziak
On Sun, Jul 5, 2020 at 1:58 PM Greg KH wrote: > > On Sun, Jul 05, 2020 at 06:09:03AM +0200, Jan Ziak wrote: > > On Sun, Jul 5, 2020 at 5:27 AM Matthew Wilcox wrote: > > > > > > On Sun, Jul 05, 2020 at 05:18:58AM +0200, Jan Ziak wrote: > > > > On Sun, Jul 5, 2020 at 5:12 AM Matthew Wilcox > > >

Re: INFO: rcu detected stall in netlink_sendmsg (4)

2020-07-05 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:9e50b94b Add linux-next specific files for 20200703 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=13e6ec3310 kernel config: https://syzkaller.appspot.com/x/.config?x=f99cc0faa1476e

Re: [PATCH v5 03/14] irqchip/csky-mpintc: Fix potential resource leaks

2020-07-05 Thread Markus Elfring
> … Thus add jump targets for the completion of the desired > exception handling. By the way, do some coding-style cleanups > suggested by Markus. I propose to split these changes. https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?

Re: [PATCH v2] kasan: fix KASAN unit tests for tag-based KASAN

2020-07-05 Thread Dmitry Vyukov
On Mon, Jul 6, 2020 at 4:21 AM Walter Wu wrote: > > We use tag-based KASAN, then KASAN unit tests don't detect out-of-bounds > memory access. They need to be fixed. > > With tag-based KASAN, the state of each 16 aligned bytes of memory is > encoded in one shadow byte and the shadow value is tag of

Re: WARNING in bpf_xdp_adjust_tail

2020-07-05 Thread Jesper Dangaard Brouer
On Sun, 05 Jul 2020 00:20:18 -0700 syzbot wrote: > Hello, > > syzbot found the following crash on: It is WARN that trigger this, due to panic_on_warn set. It's great to see that syzbot report these, as the WARN_ONCE is meant to catch drivers that forget to init xdp->frame_sz. In this case it

INFO: task hung in gate_exit_net

2020-07-05 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:2b04a661 Merge branch 'cxgb4-add-mirror-action-support-for.. git tree: net-next console output: https://syzkaller.appspot.com/x/log.txt?x=12d9b86b10 kernel config: https://syzkaller.appspot.com/x/.config?x=2172f4d0dbc37e27 das

BUG: unable to handle kernel NULL pointer dereference in bpf_prog_ADDR_L

2020-07-05 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:cb8e59cc Merge git://git.kernel.org/pub/scm/linux/kernel/g.. git tree: bpf-next console output: https://syzkaller.appspot.com/x/log.txt?x=1446cfd310 kernel config: https://syzkaller.appspot.com/x/.config?x=a16ddbc78955e3a9 das

KASAN: use-after-free Read in wg_get_device_start

2020-07-05 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:7cc2a8ea Merge tag 'block-5.8-2020-07-01' of git://git.ker.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=123532a710 kernel config: https://syzkaller.appspot.com/x/.config?x=183dd243398ba7ec das

[PATCH] Replace HTTP links with HTTPS ones: RTC

2020-07-05 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

[PATCH] Replace HTTP links with HTTPS ones: EP93XX

2020-07-05 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

linux-next: manual merge of the akpm-current tree with the s390 tree

2020-07-05 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the akpm-current tree got a conflict in: drivers/s390/crypto/ap_bus.h between commit: 74ecbef7b908 ("s390/zcrypt: code beautification and struct field renames") from the s390 tree and commit: a0062965cc01 ("mm, treewide: rename kzfree() to kfree_sensi

Re: [PATCH v2] rtc: rtc-ds1374: wdt: Use watchdog core for watchdog part

2020-07-05 Thread Alexandre Belloni
On 06/07/2020 05:18:39+, Johnson CH Chen (陳昭勳) wrote: > > > #endif /*CONFIG_RTC_DRV_DS1374_WDT*/ > > > /* > > > @@ -653,15 +514,25 @@ static int ds1374_probe(struct i2c_client > > > *client, > > > > > > #ifdef CONFIG_RTC_DRV_DS1374_WDT > > > save_client = client; > > > - ret = misc_registe

[rcu:rcu/next] BUILD SUCCESS 856cb917f3b3edc8f81cfdff77fb2cad0c631376

2020-07-05 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/next branch HEAD: 856cb917f3b3edc8f81cfdff77fb2cad0c631376 doc: Drop doubled words from RCU requirements documentation elapsed time: 1825m configs tested: 193 configs skipped: 25 The following configs have

Re: [PATCH] eventfd: Enlarge recursion limit to allow vhost to work

2020-07-05 Thread Juri Lelli
On 03/07/20 19:11, He Zhe wrote: > > > On 7/3/20 4:12 PM, Juri Lelli wrote: > > Hi, > > > > On 10/04/20 19:47, zhe...@windriver.com wrote: > >> From: He Zhe > >> > >> commit b5e683d5cab8 ("eventfd: track eventfd_signal() recursion depth") > >> introduces a percpu counter that tracks the percpu r

RE: [PATCH v2] rtc: rtc-ds1374: wdt: Use watchdog core for watchdog part

2020-07-05 Thread 陳昭勳
Hi, > > > > + ret = devm_watchdog_register_device(&client->dev, &ds1374->wdt); > > > > if (ret) { > > > > - misc_deregister(&ds1374_miscdev); > > > > + dev_err(&client->dev, "failed to register DS1374 > > > > watchdog > > > > +device\n"); > > There was n

<    1   2   3   4   5