Re: [PATCH 6/7] pwm: jz4740: Make PWM start with the active part

2019-08-11 Thread Uwe Kleine-König
On Fri, Aug 09, 2019 at 07:33:24PM +0200, Paul Cercueil wrote: > > > Le ven. 9 août 2019 à 19:10, Uwe =?iso-8859-1?q?Kleine-K=F6nig?= > a écrit : > > On Fri, Aug 09, 2019 at 02:30:30PM +0200, Paul Cercueil wrote: > > > The PWM will always start with the inactive part. To counter that, > > >

Re: [PATCH net-next] net: can: Fix compiling warning

2019-08-11 Thread maowenan
On 2019/8/7 0:41, Oliver Hartkopp wrote: > Hello Dan, > > On 06/08/2019 15.52, Dan Carpenter wrote: >> On Fri, Aug 02, 2019 at 10:10:20AM +0200, Oliver Hartkopp wrote: > >>> Btw. what kind of compiler/make switches are you using so that I can see >>> these warnings myself the next time? >> >>

Re: [PATCH 2/2] vfio_pci: make use of update_irq_devid and optimize irq ops

2019-08-11 Thread Yunsheng Lin
On 2019/8/8 20:07, Ben Luo wrote: > When userspace (e.g. qemu) triggers a switch between KVM > irqfd and userspace eventfd, only dev_id of irq action > (i.e. the "trigger" in this patch's context) will be > changed, but a free-then-request-irq action is taken in > current code. And, irq affinity

Re: [PATCH 1/2] powerpc: Allow flush_icache_range to work across ranges >4GB

2019-08-11 Thread Christophe Leroy
Le 12/08/2019 à 03:19, Alastair D'Silva a écrit : On Fri, 2019-08-09 at 10:59 +0200, Christophe Leroy wrote: Le 09/08/2019 à 02:45, Alastair D'Silva a écrit : From: Alastair D'Silva When calling flush_icache_range with a size >4GB, we were masking off the upper 32 bits, so we would

Re: [PATCH v3 2/2] virtio: decrement avail idx with buffer detach for packed ring

2019-08-11 Thread Pankaj Gupta
> > On 2019/8/9 下午2:48, Pankaj Gupta wrote: > > This patch decrements 'next_avail_idx' count when detaching a buffer > > from vq for packed ring code. Split ring code already does this in > > virtqueue_detach_unused_buf_split function. This updates the > > 'next_avail_idx' to the previous

Re: [PATCH] powerpc: Avoid clang warnings around setjmp and longjmp

2019-08-11 Thread Christophe Leroy
Le 12/08/2019 à 04:32, Nathan Chancellor a écrit : Commit aea447141c7e ("powerpc: Disable -Wbuiltin-requires-header when setjmp is used") disabled -Wbuiltin-requires-header because of a warning about the setjmp and longjmp declarations. r367387 in clang added another diagnostic around this,

Re: Add SPDX kernel tree to linux-next

2019-08-11 Thread Stephen Rothwell
Hi Greg, On Mon, 12 Aug 2019 06:57:31 +0200 Greg KH wrote: > > On Mon, Aug 12, 2019 at 07:26:59AM +1000, Stephen Rothwell wrote: > > Added from today. One question: is this meant to be a -next tree or a > > -fixes tree? > > A "-fixes" tree, it should be sent to Linus for the latest release.

Re: [PATCH v3 1/2] virtio_console: free unused buffers with port delete

2019-08-11 Thread Pankaj Gupta
> > On Fri, Aug 09, 2019 at 12:18:46PM +0530, Pankaj Gupta wrote: > > The commit a7a69ec0d8e4 ("virtio_console: free buffers after reset") > > deferred detaching of unused buffer to virtio device unplug time. > > This causes unplug/replug of single port in virtio device with an > > error "Error

[PATCH] [semaphore] Removed redundant code from semaphore's down family of function

2019-08-11 Thread Satendra Singh Thakur
-The semaphore code has four funcs down, down_interruptible, down_killable, down_timeout -These four funcs have almost similar code except that they all call lower level function __down_xyz. -This lower level func in-turn call inline func __down_common with appropriate arguments. -This patch

Re: [PATCH 3/5] lib/mpi: Fix for building for MIPS32 with Clang

2019-08-11 Thread Nathan Chancellor
On Sun, Aug 11, 2019 at 10:23:55PM -0700, Nathan Chancellor wrote: > On Sun, Aug 11, 2019 at 08:31:18PM -0700, Nathan Chancellor wrote: > > From: Vladimir Serbinenko > > > > clang doesn't recognise =l / =h assembly operand specifiers but apparently > > handles C version well. > > > >

Re: [PATCH 4/5] lib/mpi: Fix for building for MIPS64 with Clang

2019-08-11 Thread Nathan Chancellor
On Sun, Aug 11, 2019 at 08:31:19PM -0700, Nathan Chancellor wrote: > From: Werner Koch > > * mpi/longlong.h [MIPS64][__clang__]: Use the C version like we > already do for 32 bit MIPS > > clang errors: > > lib/mpi/generic_mpih-mul1.c:37:24: error: invalid use of a cast in a > inline asm

Re: [PATCH 3/5] lib/mpi: Fix for building for MIPS32 with Clang

2019-08-11 Thread Nathan Chancellor
On Sun, Aug 11, 2019 at 08:31:18PM -0700, Nathan Chancellor wrote: > From: Vladimir Serbinenko > > clang doesn't recognise =l / =h assembly operand specifiers but apparently > handles C version well. > > lib/mpi/generic_mpih-mul1.c:37:24: error: invalid use of a cast in a > inline asm context

Re: [PATCH 1/2] genirq/affinity: improve __irq_build_affinity_masks()

2019-08-11 Thread Ming Lei
On Sat, Aug 10, 2019 at 7:05 AM Ming Lei wrote: > > On Fri, Aug 9, 2019 at 10:44 PM Keith Busch wrote: > > > > On Fri, Aug 09, 2019 at 06:23:09PM +0800, Ming Lei wrote: > > > One invariant of __irq_build_affinity_masks() is that all CPUs in the > > > specified masks( cpu_mask AND node_to_cpumask

Re: [PATCH] Makefile: Convert -Wimplicit-fallthrough=3 to just -Wimplicit-fallthrough for clang

2019-08-11 Thread Joe Perches
On Sat, 2019-08-10 at 20:54 -0700, Joe Perches wrote: > On Sat, 2019-08-10 at 20:17 -0700, Nathan Chancellor wrote: > > On Sat, Aug 10, 2019 at 08:06:05PM -0700, Joe Perches wrote: > > > On Sat, 2019-08-10 at 19:04 -0700, Nathan Chancellor wrote: > > > > On a tangential note, how are you planning

Re: [PATCH v3 2/2] virtio: decrement avail idx with buffer detach for packed ring

2019-08-11 Thread Pankaj Gupta
> On Fri, Aug 09, 2019 at 12:18:47PM +0530, Pankaj Gupta wrote: > > This patch decrements 'next_avail_idx' count when detaching a buffer > > from vq for packed ring code. Split ring code already does this in > > virtqueue_detach_unused_buf_split function. This updates the > > 'next_avail_idx' to

linux-next: build warning after merge of the security tree

2019-08-11 Thread Stephen Rothwell
Hi all, After merging the security tree, today's linux-next build (powerpc ppc64_defconfig) produced this warning: kernel/kexec_file.c: In function 'kimage_file_prepare_segments': kernel/kexec_file.c:189:14: warning: unused variable 'reason' [-Wunused-variable] const char *reason;

linux-next: build failure after merge of the security tree

2019-08-11 Thread Stephen Rothwell
Hi all, After merging the security tree, today's linux-next build (arm multi_v7_defconfig) failed like below. Caused by commit 45d29f9e9b8b ("security: Support early LSMs") I have added the following fix for today: From: Stephen Rothwell Date: Mon, 12 Aug 2019 14:54:20 +1000 Subject:

Re: Add SPDX kernel tree to linux-next

2019-08-11 Thread Greg KH
On Mon, Aug 12, 2019 at 07:26:59AM +1000, Stephen Rothwell wrote: > Hi Greg, > > On Sat, 10 Aug 2019 13:55:33 +0200 Greg KH wrote: > > > > I realized that I've been sending patches to Linus from my "SPDX" kernel > > tree for a few releases now, and it's not included in linux-next, which > > is

Re: [linux-sunxi] [PATCH v5 1/3] arm64: dts: allwinner: Add SPDIF node for Allwinner H6

2019-08-11 Thread Chen-Yu Tsai
Hi, On Mon, Aug 12, 2019 at 4:31 AM Clément Péron wrote: > > The Allwinner H6 has a SPDIF controller called OWA (One Wire Audio). > > Only one pinmuxing is available so set it as default. > > Signed-off-by: Clément Péron > --- > arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 38

Re: [PATCH net] net: phy: rtl8211f: do a double read to get real time link status

2019-08-11 Thread Yonglong Liu
On 2019/8/10 4:05, Heiner Kallweit wrote: > On 09.08.2019 06:57, Yonglong Liu wrote: >> >> >> On 2019/8/9 4:34, Andrew Lunn wrote: >>> On Thu, Aug 08, 2019 at 10:01:39PM +0200, Heiner Kallweit wrote: On 08.08.2019 21:40, Andrew Lunn wrote: >> @@ -568,6 +568,11 @@ int

linux-next: manual merge of the security tree with Linus' tree

2019-08-11 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the security tree got a conflict in: kernel/trace/trace_kprobe.c between commit: 715fa2fd4c6c ("tracing/kprobe: Check registered state using kprobe") from Linus' tree and commit: e87402c063fd ("lockdown: Lock down tracing and perf kprobes when in

Re: [PATCH 2/5] MIPS/ptrace: Update mips_get_syscall_arg's return type

2019-08-11 Thread Paul Burton
Hello, Nathan Chancellor wrote: > clang warns: > > arch/mips/include/asm/syscall.h:136:3: error: variable 'ret' is > uninitialized when used here [-Werror,-Wuninitialized] > ret |= mips_get_syscall_arg(args++, task, regs, i++); > ^~~ >

Re: [PATCH 5/5] MIPS: tlbex: Explicitly cast _PAGE_NO_EXEC to a boolean

2019-08-11 Thread Paul Burton
Hello, Nathan Chancellor wrote: > clang warns: > > arch/mips/mm/tlbex.c:634:19: error: use of logical '&&' with constant > operand [-Werror,-Wconstant-logical-operand] > if (cpu_has_rixi && _PAGE_NO_EXEC) { > ^ ~ > arch/mips/mm/tlbex.c:634:19: note:

Re: [PATCH 1/5] MIPS: Don't use bc_false uninitialized in __mm_isBranchInstr

2019-08-11 Thread Paul Burton
Hello, Nathan Chancellor wrote: > clang warns: > > arch/mips/kernel/branch.c:148:8: error: variable 'bc_false' is used > uninitialized whenever switch case is taken > [-Werror,-Wsometimes-uninitialized] > case mm_bc2t_op: > ^~ >

Re: [PATCH v3 2/2] virtio: decrement avail idx with buffer detach for packed ring

2019-08-11 Thread Jason Wang
On 2019/8/9 下午2:48, Pankaj Gupta wrote: This patch decrements 'next_avail_idx' count when detaching a buffer from vq for packed ring code. Split ring code already does this in virtqueue_detach_unused_buf_split function. This updates the 'next_avail_idx' to the previous correct index after an

linux-next: manual merge of the security tree with the vfs tree

2019-08-11 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the security tree got a conflict in: fs/tracefs/inode.c between commit: 67782f8ae148 ("vfs: Convert tracefs to use the new mount API") from the vfs tree and commit: 757ff7244358 ("tracefs: Restrict tracefs when the kernel is locked down") from the

Re: [PATCH] net: tc35815: Explicitly check NET_IP_ALIGN is not zero in tc35815_rx

2019-08-11 Thread David Miller
From: Nathan Chancellor Date: Sun, 11 Aug 2019 20:13:45 -0700 > clang warns: > > drivers/net/ethernet/toshiba/tc35815.c:1507:30: warning: use of logical > '&&' with constant operand [-Wconstant-logical-operand] > if (!HAVE_DMA_RXALIGN(lp) && NET_IP_ALIGN) >

Re: [PATCH v3] tipc: initialise addr_trail_end when setting node addresses

2019-08-11 Thread David Miller
From: Chris Packham Date: Mon, 12 Aug 2019 08:18:25 +1200 > We set the field 'addr_trial_end' to 'jiffies', instead of the current > value 0, at the moment the node address is initialized. This guarantees > we don't inadvertently enter an address trial period when the node > address is

Re: [PATCH net v3] net: dsa: Check existence of .port_mdb_add callback before calling it

2019-08-11 Thread David Miller
From: Chen-Yu Tsai Date: Sun, 11 Aug 2019 22:18:25 +0800 > From: Chen-Yu Tsai > > The dsa framework has optional .port_mdb_{prepare,add,del} callback fields > for drivers to handle multicast database entries. When adding an entry, the > framework goes through a prepare phase, then a commit

Re: [PATCH] net: nps_enet: Fix function names in doc comments

2019-08-11 Thread David Miller
From: Jonathan Neuschäfer Date: Sat, 10 Aug 2019 13:11:56 +0200 > Adjust the function names in two doc comments to match the corresponding > functions. > > Signed-off-by: Jonathan Neuschäfer Applied.

Re: [PATCH net] rxrpc: Fix local refcounting

2019-08-11 Thread David Miller
From: David Howells Date: Fri, 09 Aug 2019 22:47:47 +0100 > Fix rxrpc_unuse_local() to handle a NULL local pointer as it can be called > on an unbound socket on which rx->local is not yet set. > > The following reproduced (includes omitted): > > int main(void) > { >

[PATCH 1/4] dt-bingings: PCI: Remove the num-lanes from Required properties

2019-08-11 Thread Z.q. Hou
From: Hou Zhiqiang The num-lanes is not a mandatory property, e.g. on FSL Layerscape SoCs, the PCIe link training is completed automatically base on the selected SerDes protocol, it doesn't need the num-lanes to set-up the link width. It has been added in the Optional properties. This patch is

[PATCH 2/4] PCI: dwc: Return directly when num-lanes is not found

2019-08-11 Thread Z.q. Hou
From: Hou Zhiqiang The num-lanes is optional, so probably it isn't added on some platforms. The subsequent programming is base on the num-lanes, hence return when it is not found. Signed-off-by: Hou Zhiqiang --- drivers/pci/controller/dwc/pcie-designware.c | 6 -- 1 file changed, 4

[PATCH 0/4] Layerscape: Remove num-lanes property from PCIe nodes

2019-08-11 Thread Z.q. Hou
From: Hou Zhiqiang On FSL Layerscape SoCs, the number of lanes assigned to PCIe controller is not fixed, it is determined by the selected SerDes protocol. The current num-lanes indicates the max lanes PCIe controller can support up to, instead of the lanes assigned to the PCIe controller. This

Re: [PATCH][net-next] rxrpc: fix uninitialized return value in variable err

2019-08-11 Thread David Miller
From: Colin King Date: Fri, 9 Aug 2019 18:02:59 +0100 > From: Colin Ian King > > An earlier commit removed the setting of err to -ENOMEM so currently > the skb_shinfo(skb)->nr_frags > 16 check returns with an uninitialized > bogus return code. Fix this by setting err to -ENOMEM to restore >

[PATCH 4/4] arm64: dts: fsl: Remove num-lanes property from PCIe nodes

2019-08-11 Thread Z.q. Hou
From: Hou Zhiqiang On FSL Layerscape SoCs, the number of lanes assigned to PCIe controller is not fixed, it is determined by the selected SerDes protocol in the RCW (Reset Configuration Word), and the PCIe link training is completed automatically base on the selected SerDes protocol, and the

[PATCH 3/4] ARM: dts: ls1021a: Remove num-lanes property from PCIe nodes

2019-08-11 Thread Z.q. Hou
From: Hou Zhiqiang On FSL Layerscape SoCs, the number of lanes assigned to PCIe controller is not fixed, it is determined by the selected SerDes protocol in the RCW (Reset Configuration Word), and the PCIe link training is completed automatically base on the selected SerDes protocol, and the

RE: [EXT] Re: i2c: imx: support slave mode for imx I2C driver

2019-08-11 Thread Biwen Li
> On Fri, Aug 09, 2019 at 03:18:01AM +, Biwen Li wrote: > > > > The patch supports slave mode for imx I2C driver > > > > > > > > Signed-off-by: Biwen Li > > > > > > Wow, this is much simpler than the other approach flying around: > > > > > > http://patchwork.ozlabs.org/patch/1124048/ > > > >

Re: [PATCH 2/2] arm64: allwinner: h6: enable i2c0 in PineH64

2019-08-11 Thread Chen-Yu Tsai
On Sun, Aug 11, 2019 at 5:05 PM Bhushan Shah wrote: > > i2c0 bus is exposed by PI-2 BUS in the PineH64, model B. > > Signed-off-by: Bhushan Shah > --- > arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts | 8 > 1 file changed, 8 insertions(+) > > diff --git

Geld überwiesen

2019-08-11 Thread Mr.WEHNER DAVID M
Büro des Leiters Internationale Überweisung Operation Zenith Bank (UK) Ltd LONDON United Königreich und Irland Tel .: +44 203 389 5674 Fax: +44 704 307 1539 Gruß, Ihre E-Mail-Adresse wurde zufällig in der Zentrale der Zenith Bank, International Transfer Operation in London, Großbritannien,

Re: [PATCH V5 0/9] Fixes for vhost metadata acceleration

2019-08-11 Thread David Miller
From: Jason Wang Date: Mon, 12 Aug 2019 10:44:51 +0800 > On 2019/8/11 上午1:52, Michael S. Tsirkin wrote: >> At this point how about we revert >> 7f466032dc9e5a61217f22ea34b2df932786bbfc >> for this release, and then re-apply a corrected version >> for the next one? > > If possible, consider

Re: [PATCH 1/2] arm64: allwinner: h6: add I2C nodes

2019-08-11 Thread Chen-Yu Tsai
On Sun, Aug 11, 2019 at 5:05 PM Bhushan Shah wrote: > > Add device-tree nodes for i2c0 to i2c2, and also add relevant pinctrl > nodes. > > Suggested-by: Icenowy Zheng > Signed-off-by: Bhushan Shah > --- > arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 54 > 1 file changed,

Re: [PATCH v4 2/2] RISC-V: Implement sparsemem

2019-08-11 Thread Greentime Hu
Hi Logan, Logan Gunthorpe 於 2019年8月10日 週六 上午3:03寫道: > > > > On 2019-08-09 11:01 a.m., Greentime Hu wrote: > > Hi Logan, > > > > Logan Gunthorpe 於 2019年8月9日 週五 下午11:47寫道: > >> > >> > >> > >> On 2019-08-08 10:23 p.m., Greentime Hu wrote: > >>> diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig

Re: [PATCH 01/16] ARM: remove ks8695 platform

2019-08-11 Thread Greg Ungerer
Hi Arnd, On 10/8/19 6:27 am, Arnd Bergmann wrote: ks8695 is an older SoC originally made by Kendin, which was later acquired by Micrel, and subsequently by Microchip. The platform port was originally contributed by Andrew Victor and Ben Dooks, and later maintained by Greg Ungerer. When I

Re: [PATCH] nfc: st-nci: Fix an incorrect skb_buff size in 'st_nci_i2c_read()'

2019-08-11 Thread David Miller
From: Christophe JAILLET Date: Tue, 6 Aug 2019 16:16:40 +0200 > In 'st_nci_i2c_read()', we allocate a sk_buff with a size of > ST_NCI_I2C_MIN_SIZE + len. > > However, later on, we first 'skb_reserve()' ST_NCI_I2C_MIN_SIZE bytes, then > we 'skb_put()' ST_NCI_I2C_MIN_SIZE bytes. > Finally, if

[PATCH 4/5] lib/mpi: Fix for building for MIPS64 with Clang

2019-08-11 Thread Nathan Chancellor
From: Werner Koch * mpi/longlong.h [MIPS64][__clang__]: Use the C version like we already do for 32 bit MIPS clang errors: lib/mpi/generic_mpih-mul1.c:37:24: error: invalid use of a cast in a inline asm context requiring an l-value: remove the cast or build with -fheinous-gnu-extensions

[PATCH 1/5] MIPS: Don't use bc_false uninitialized in __mm_isBranchInstr

2019-08-11 Thread Nathan Chancellor
clang warns: arch/mips/kernel/branch.c:148:8: error: variable 'bc_false' is used uninitialized whenever switch case is taken [-Werror,-Wsometimes-uninitialized] case mm_bc2t_op: ^~ arch/mips/kernel/branch.c:157:8: note: uninitialized use occurs here

[PATCH 2/5] MIPS/ptrace: Update mips_get_syscall_arg's return type

2019-08-11 Thread Nathan Chancellor
clang warns: arch/mips/include/asm/syscall.h:136:3: error: variable 'ret' is uninitialized when used here [-Werror,-Wuninitialized] ret |= mips_get_syscall_arg(args++, task, regs, i++); ^~~ arch/mips/include/asm/syscall.h:129:9: note: initialize the variable 'ret'

[PATCH 0/5] Clang build fixes for MIPS

2019-08-11 Thread Nathan Chancellor
Hi all, As of clang 9.0.0 at r366299 [1], we can build a QEMU bootable malta_defconfig kernel with the following fixes (mostly due to -Werror) and Nick's patch [2]. This has helped catch some potentially dubious behavior with -Wuninitialized, which is stronger than GCC's -Wmaybe-uninitialized.

[PATCH 5/5] MIPS: tlbex: Explicitly cast _PAGE_NO_EXEC to a boolean

2019-08-11 Thread Nathan Chancellor
clang warns: arch/mips/mm/tlbex.c:634:19: error: use of logical '&&' with constant operand [-Werror,-Wconstant-logical-operand] if (cpu_has_rixi && _PAGE_NO_EXEC) { ^ ~ arch/mips/mm/tlbex.c:634:19: note: use '&' for a bitwise operation if

[PATCH 3/5] lib/mpi: Fix for building for MIPS32 with Clang

2019-08-11 Thread Nathan Chancellor
From: Vladimir Serbinenko clang doesn't recognise =l / =h assembly operand specifiers but apparently handles C version well. lib/mpi/generic_mpih-mul1.c:37:24: error: invalid use of a cast in a inline asm context requiring an l-value: remove the cast or build with -fheinous-gnu-extensions

[PATCH] net: tc35815: Explicitly check NET_IP_ALIGN is not zero in tc35815_rx

2019-08-11 Thread Nathan Chancellor
clang warns: drivers/net/ethernet/toshiba/tc35815.c:1507:30: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] if (!HAVE_DMA_RXALIGN(lp) && NET_IP_ALIGN) ^

Re: [PATCH] syscalls: Update the syscall #defines to match uapi

2019-08-11 Thread Alistair Francis
On Sun, Aug 11, 2019 at 5:00 PM Andy Lutomirski wrote: > > On Fri, Aug 9, 2019 at 6:11 PM Alistair Francis > wrote: > > > > Update the #defines around sys_fstat64() and sys_fstatat64() to match > > the #defines around the __NR3264_fstatat and __NR3264_fstat definitions > > in

Re: [PATCH 1/2] genirq: introduce update_irq_devid()

2019-08-11 Thread luoben
在 2019/8/9 上午3:56, Thomas Gleixner 写道: On Thu, 8 Aug 2019, Ben Luo wrote: +int update_irq_devid(unsigned int irq, void *dev_id, void *new_dev_id) +{ + struct irq_desc *desc = irq_to_desc(irq); + struct irqaction *action, **action_ptr; + unsigned long flags; + +

Re: [PATCH v3 1/3] kasan: support backing vmalloc space with real shadow memory

2019-08-11 Thread Daniel Axtens
Mark Rutland writes: > On Thu, Aug 08, 2019 at 06:43:25PM +0100, Mark Rutland wrote: >> On Thu, Aug 08, 2019 at 02:50:37PM +0100, Mark Rutland wrote: >> > Hi Daniel, >> > >> > This is looking really good! >> > >> > I spotted a few more things we need to deal with, so I've suggested some >> >

[PATCH v3 1/2] dt-bindings: Add ipsps1 as a trivial device

2019-08-11 Thread John Wang
The ipsps1 is an Inspur Power System power supply unit Signed-off-by: John Wang --- v3: - Fix adding entry to the inappropriate line v2: - No changes. --- Documentation/devicetree/bindings/trivial-devices.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git

Re: [PATCH v3 4/4] ASoC: codecs: add wsa881x amplifier support

2019-08-11 Thread kbuild test robot
Hi Srinivas, I love your patch! Yet something to improve: [auto build test ERROR on linus/master] [cannot apply to v5.3-rc4 next-20190809] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH V5 0/9] Fixes for vhost metadata acceleration

2019-08-11 Thread Jason Wang
On 2019/8/11 上午1:52, Michael S. Tsirkin wrote: On Fri, Aug 09, 2019 at 01:48:42AM -0400, Jason Wang wrote: Hi all: This series try to fix several issues introduced by meta data accelreation series. Please review. Changes from V4: - switch to use spinlock synchronize MMU notifier with

[PATCH] powerpc: Avoid clang warnings around setjmp and longjmp

2019-08-11 Thread Nathan Chancellor
Commit aea447141c7e ("powerpc: Disable -Wbuiltin-requires-header when setjmp is used") disabled -Wbuiltin-requires-header because of a warning about the setjmp and longjmp declarations. r367387 in clang added another diagnostic around this, complaining that there is no jmp_buf declaration. In

[PATCH] i801_smbus: clear SMBALERT status bit and disable SMBALERT interrupt

2019-08-11 Thread lingyxu
From: Lingyan Xu In current i801 driver, SMBALERT interrupt is allowed (Slave Command Register bit2 is 0). But these is no handler for SMBALERT interrupt in i801_isr, if there is SMBALERT interrupt asserted and deasserted, i801 will have an irq flood for the related status bit is setted. So

Re: [PATCH] iio: adc: sc27xx: Change to polling mode to read data

2019-08-11 Thread Baolin Wang
On Sun, 11 Aug 2019 at 16:03, Jonathan Cameron wrote: > > On Tue, 6 Aug 2019 15:39:45 +0800 > Baolin Wang wrote: > > > Hi Jonathan, > > > > On Mon, 5 Aug 2019 at 21:50, Jonathan Cameron wrote: > > > > > > On Mon, 29 Jul 2019 10:19:48 +0800 > > > Baolin Wang wrote: > > > > > > > Hi Jonathan, >

Re: [PATCH v2 2/2] mmc: sdhci: sdhci-pci-core: Add Genesis Logic GL975x support

2019-08-11 Thread Ben Chuang
On 8/7/19 8:25 PM, Adrian Hunter wrote: On 26/07/19 5:07 AM, Michael K. Johnson wrote: Add support for the GL9750 and GL9755 chipsets. Signed-off-by: Ben Chuang Co-developed-by: Michael K Johnson Signed-off-by: Michael K Johnson diff --git a/drivers/mmc/host/sdhci-gli.h

linux-next: manual merge of the net-next tree with the net tree

2019-08-11 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in: drivers/net/ethernet/mellanox/mlx5/core/en_tc.c between commit: 93b3586e070b ("net/mlx5: Support inner header match criteria for non decap flow action") from the net tree and commit: 226f2ca3075a ("net/mlx5e:

BUG: Dentry still in use [unmount of nfsd nfsd]

2019-08-11 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:f4eb1423 Merge branch 'for-linus' of git://git.kernel.org/.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=11ab1c7460 kernel config: https://syzkaller.appspot.com/x/.config?x=a4c9e9f08e9e8960

RE: [PATCH 1/4] dt-bindings: watchdog: Add i.MX7ULP bindings

2019-08-11 Thread Anson Huang
Hi, Guenter > On Fri, Aug 09, 2019 at 03:13:59PM +0800, Anson Huang wrote: > > Add the watchdog bindings for Freescale i.MX7ULP. > > > > Signed-off-by: Anson Huang > > --- > > .../bindings/watchdog/fsl-imx7ulp-wdt.txt | 22 > ++ > > 1 file changed, 22 insertions(+)

[RFC PATCH 2/2] mm/gup: introduce vaddr_pin_pages_remote()

2019-08-11 Thread john . hubbard
From: John Hubbard This is the "vaddr_pin_pages" corresponding variant to get_user_pages_remote(), but with FOLL_PIN semantics: the implementation sets FOLL_PIN. That, in turn, means that the pages must ultimately be released by put_user_page*()--typically, via vaddr_unpin_pages*(). Note that

[RFC PATCH 0/2] mm/gup: introduce vaddr_pin_pages_remote(), FOLL_PIN

2019-08-11 Thread john . hubbard
From: John Hubbard Hi, Dave Chinner's head didn't seem to explode...much, when he saw Ira's series, so I optimistically started taking it from there...this builds on top of Ira's patchset that he just sent out: "[RFC PATCH v2 00/19] RDMA/FS DAX truncate proposal V1,000,002 ;-)" [1]

[RFC PATCH 1/2] mm/gup: introduce FOLL_PIN flag for get_user_pages()

2019-08-11 Thread john . hubbard
From: John Hubbard FOLL_PIN is set by vaddr_pin_pages(). This is different than FOLL_LONGTERM, because even short term page pins need a new kind of tracking, if those pinned pages' data is going to potentially be modified. This situation is described in more detail in commit fc1d8e7cca2d ("mm:

RE: [PATCH 2/4] watchdog: Add i.MX7ULP watchdog support

2019-08-11 Thread Anson Huang
Hi, Guenter > On Fri, Aug 09, 2019 at 03:14:00PM +0800, Anson Huang wrote: > > The i.MX7ULP Watchdog Timer (WDOG) module is an independent timer > that > > is available for system use. > > It provides a safety feature to ensure that software is executing as > > planned and that the CPU is not

linux-next: manual merge of the jc_docs tree with the mips tree

2019-08-11 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the jc_docs tree got a conflict in: Documentation/mips/index.rst between commit: 97689a1a3fda ("doc: Add doc for the Ingenic TCU hardware") from the mips tree and commit: 80b1505893b6 ("docs: mips: add to the documentation body as ReST") from the

Re: [PATCH 1/2] augmented rbtree: use max3() in the *_compute_max() function

2019-08-11 Thread Michel Lespinasse
On Sun, Aug 11, 2019 at 11:46 AM Uladzislau Rezki (Sony) wrote: > > Recently there was introduced RB_DECLARE_CALLBACKS_MAX template. > One of the callback, to be more specific *_compute_max(), calculates > a maximum scalar value of node against its left/right sub-tree. > > To simplify the code

Re: [PATCH 1/1] checkpatch: revert broken NOTIFIER_HEAD check

2019-08-11 Thread Stephen Rothwell
Hi John, On Sun, 11 Aug 2019 15:54:43 -0700 john.hubb...@gmail.com wrote: > > From: John Hubbard > > commit 1a47005dd5aa ("checkpatch: add *_NOTIFIER_HEAD as var > definition") causes the following warning when run on some > patches: > > Unescaped left brace in regex is passed through in

Re: [PATCH 1/2] powerpc: Allow flush_icache_range to work across ranges >4GB

2019-08-11 Thread Alastair D'Silva
On Fri, 2019-08-09 at 10:59 +0200, Christophe Leroy wrote: > > Le 09/08/2019 à 02:45, Alastair D'Silva a écrit : > > From: Alastair D'Silva > > > > When calling flush_icache_range with a size >4GB, we were masking > > off the upper 32 bits, so we would incorrectly flush a range > > smaller > >

Re: [PATCH] pinctrl: aspeed: g6: Remove const specifier from aspeed_g6_sig_expr_set's ctx parameter

2019-08-11 Thread Andrew Jeffery
On Sat, 10 Aug 2019, at 17:43, Linus Walleij wrote: > On Wed, Aug 7, 2019 at 2:32 AM Nathan Chancellor > wrote: > > > clang errors: > > > > drivers/pinctrl/aspeed/pinctrl-aspeed-g6.c:2325:9: error: incompatible > > pointer types initializing 'int (*)(struct aspeed_pinmux_data *, const > >

Re: [PATCH 2/2] mm/vmalloc: use generated callback to populate subtree_max_size

2019-08-11 Thread Michel Lespinasse
On Sun, Aug 11, 2019 at 11:46 AM Uladzislau Rezki (Sony) wrote: > RB_DECLARE_CALLBACKS_MAX defines its own callback to update the > augmented subtree information after a node is modified. It makes > sense to use it instead of our own propagate implementation. > > Apart of that, in case of using

[PATCH] dmaengine: fsldma: Mark expected switch fall-through

2019-08-11 Thread Gustavo A. R. Silva
Mark switch cases where we are expecting to fall through. Fix the following warning (Building: powerpc-ppa8548_defconfig powerpc): drivers/dma/fsldma.c: In function ‘fsl_dma_chan_probe’: drivers/dma/fsldma.c:1165:26: warning: this statement may fall through [-Wimplicit-fallthrough=]

linux-next: manual merge of the afs tree with the net tree

2019-08-11 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the afs tree got conflicts in: net/rxrpc/input.c between commits: 730c5fd42c1e ("rxrpc: Fix local endpoint refcounting") e8c3af6bb33a ("rxrpc: Don't bother generating maxSkew in the ACK packet") from the net tree and commits: 5c2833938bf5 ("rxrpc:

Re: [PATCH] syscalls: Update the syscall #defines to match uapi

2019-08-11 Thread Andy Lutomirski
On Fri, Aug 9, 2019 at 6:11 PM Alistair Francis wrote: > > Update the #defines around sys_fstat64() and sys_fstatat64() to match > the #defines around the __NR3264_fstatat and __NR3264_fstat definitions > in include/uapi/asm-generic/unistd.h. This avoids compiler failures if > one is defined.

drivers/dma/fsldma.c:1165:26: warning: this statement may fall through

2019-08-11 Thread kbuild test robot
tree: https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux.git master head: d45331b00ddb179e291766617259261c112db872 commit: a035d552a93bb9ef6048733bb9f2a0dc857ff869 Makefile: Globally enable fall-through warning date: 2 weeks ago config: powerpc-ppa8548_defconfig

[PATCH][next] ima: ima_modsig: Fix use-after-free bug in ima_read_modsig

2019-08-11 Thread Gustavo A. R. Silva
hdr is being freed and then dereferenced by accessing hdr->pkcs7_msg Fix this by copying the value returned by PTR_ERR(hdr->pkcs7_msg) into automatic variable err for its safe use after freeing hdr. Addresses-Coverity-ID: 1485813 ("Read from pointer after free") Fixes: 39b07096364a ("ima:

Re: [PATCH RFC v1 1/2] rcu/tree: Add basic support for kfree_rcu batching

2019-08-11 Thread Paul E. McKenney
On Sun, Aug 11, 2019 at 05:49:50PM +0900, Byungchul Park wrote: > On Sun, Aug 11, 2019 at 05:36:26PM +0900, Byungchul Park wrote: > > On Thu, Aug 08, 2019 at 11:09:16AM -0700, Paul E. McKenney wrote: > > > On Thu, Aug 08, 2019 at 11:23:17PM +0900, Byungchul Park wrote: > > > > On Thu, Aug 8, 2019

Re: [PATCH] hugetlbfs: fix hugetlb page migration/fault race causing SIGBUS

2019-08-11 Thread Sasha Levin
On Fri, Aug 09, 2019 at 03:17:18PM -0700, Andrew Morton wrote: On Fri, 9 Aug 2019 08:46:33 +0200 Michal Hocko wrote: > Maybe we should introduce the Fixes-no-stable: tag. That should get > their attention. No please, Fixes shouldn't be really tight to any stable tree rules. It is a very

[PATCH net-next v7 2/3] net: phy: add support for clause 37 auto-negotiation

2019-08-11 Thread Tao Ren
From: Heiner Kallweit This patch adds support for clause 37 1000Base-X auto-negotiation. Signed-off-by: Heiner Kallweit Signed-off-by: Tao Ren --- Changes in v7: - Update "if (AUTONEG_ENABLE != phydev->autoneg)" to "if (phydev->autoneg != AUTONEG_ENABLE)" so checkpatch.pl is happy.

[PATCH net-next v7 1/3] net: phy: modify assignment to OR for dev_flags in phy_attach_direct

2019-08-11 Thread Tao Ren
Modify the assignment to OR when dealing with phydev->dev_flags in phy_attach_direct function, and this is to make sure dev_flags set in driver's probe callback won't be lost. Suggested-by: Andrew Lunn CC: Heiner Kallweit CC: Vladimir Oltean Signed-off-by: Tao Ren Reviewed-by: Andrew Lunn

[PATCH net-next v7 3/3] net: phy: broadcom: add 1000Base-X support for BCM54616S

2019-08-11 Thread Tao Ren
The BCM54616S PHY cannot work properly in RGMII->1000Base-X mode, mainly because genphy functions are designed for copper links, and 1000Base-X (clause 37) auto negotiation needs to be handled differently. This patch enables 1000Base-X support for BCM54616S by customizing 3 driver callbacks, and

Re: [PATCH RFC v1 2/2] rcuperf: Add kfree_rcu performance Tests

2019-08-11 Thread Paul E. McKenney
On Sat, Aug 10, 2019 at 10:01:54PM -0400, Joel Fernandes wrote: > On Tue, Aug 06, 2019 at 05:29:15PM -0700, Paul E. McKenney wrote: > > On Tue, Aug 06, 2019 at 05:20:41PM -0400, Joel Fernandes (Google) wrote: [ . . . ] > > It is really easy to confuse "l" and "1" in some fonts, so please use > >

Re: [PATCH RFC v1 1/2] rcu/tree: Add basic support for kfree_rcu batching

2019-08-11 Thread Paul E. McKenney
On Sat, Aug 10, 2019 at 10:26:58PM -0400, Joel Fernandes wrote: > On Sat, Aug 10, 2019 at 11:24:46AM -0700, Paul E. McKenney wrote: > > On Sat, Aug 10, 2019 at 12:20:37AM -0400, Joel Fernandes wrote: > > > On Fri, Aug 09, 2019 at 08:38:14PM -0700, Paul E. McKenney wrote: > > > > On Fri, Aug 09,

linux-next: manual merge of the mips tree with Linus' tree

2019-08-11 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the mips tree got a conflict in: Documentation/index.rst between commit: 08a69058c02f ("docs: power: add it to to the main documentation index") from Linus' tree and commit: 97689a1a3fda ("doc: Add doc for the Ingenic TCU hardware") from the mips

Re: [RFC PATCH v2 15/19] mm/gup: Introduce vaddr_pin_pages()

2019-08-11 Thread John Hubbard
On 8/9/19 3:58 PM, ira.we...@intel.com wrote: > From: Ira Weiny > > The addition of FOLL_LONGTERM has taken on additional meaning for CMA > pages. > > In addition subsystems such as RDMA require new information to be passed > to the GUP interface to track file owning information. As such a

[PATCH] staging: rtl8192u: fix spacing errors

2019-08-11 Thread Stephen Brennan
Used checkpatch's --fix-inplace option for types SPACING, OPEN_BRACE, ELSE_AFTER_BRACE. Manually edited the resulting changes to correct for mistaken fixes and complete fixes that were only partially applied. Signed-off-by: Stephen Brennan --- To prevent this patch from getting even longer and

Hello Dear Friend

2019-08-11 Thread Mrs. Stellar Maoris
Hello Dear Friend. I’m Mrs. Stellar Maoris a manger in HSBC bank of Spain Madrid, I am sending this brief letter to seek for your partnership and long term relationship, I have an important and urgent issue I want to discuss with you privately about Transaction fund worth the sum of $9.5m

[PATCH v2] ARM: dts: add device tree for Mecer Xtreme Mini S6

2019-08-11 Thread Justin Swartz
The Mecer Xtreme Mini S6 features a Rockchip RK3229 SoC, 1GB DDR3 RAM, 8GB eMMC, MicroSD port, 10/100Mbps Ethernet, Realtek 8723BS WLAN module, 2 x USB 2.0 ports, HDMI output, and S/PDIF output. Signed-off-by: Justin Swartz --- .../devicetree/bindings/arm/rockchip.yaml | 5 +

Re: [PATCH 5/5] memremap: provide a not device managed memremap_pages

2019-08-11 Thread Jason Gunthorpe
On Sun, Aug 11, 2019 at 10:12:47AM +0200, Christoph Hellwig wrote: > The kvmppc ultravisor code wants a device private memory pool that is > system wide and not attached to a device. Instead of faking up one > provide a low-level memremap_pages for it. Note that this function is > not exported,

[PATCH 1/1] checkpatch: revert broken NOTIFIER_HEAD check

2019-08-11 Thread john . hubbard
From: John Hubbard commit 1a47005dd5aa ("checkpatch: add *_NOTIFIER_HEAD as var definition") causes the following warning when run on some patches: Unescaped left brace in regex is passed through in regex; marked by < --HERE in m/(?: ... [238 lines of appalling perl output, mercifully not

[PATCH 0/1] checkpatch: revert broken NOTIFIER_HEAD check

2019-08-11 Thread john . hubbard
From: John Hubbard Hi, This happens on today's linux-next. If the commit message of the original patch were just a bit clearer, I might have been able to attempt a fix, instead of a revert, but so far, both the Perl and the English are beyond me. And we can't leave checkpatch broken. I'll be

Re: [PATCH 2/5] resource: add a not device managed request_free_mem_region variant

2019-08-11 Thread Jason Gunthorpe
On Sun, Aug 11, 2019 at 10:12:44AM +0200, Christoph Hellwig wrote: > Just add a simple macro that passes a NULL dev argument to > dev_request_free_mem_region, and call request_mem_region in the > function for that particular case. > > Signed-off-by: Christoph Hellwig > include/linux/ioport.h |

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

2019-08-11 Thread Stephen Rothwell
Hi all, Commit 022e43b4645a ("bpf: Restrict bpf when kernel lockdown is in confidentiality mode") is missing a Signed-off-by from its author. -- Cheers, Stephen Rothwell pgphVhnF04ns5.pgp Description: OpenPGP digital signature

Re: [PATCH v5 2/2] selftests: add tests for clone3()

2019-08-11 Thread Christian Brauner
On August 11, 2019 1:33:27 PM PDT, Adrian Reber wrote: >This tests clone3() with and without set_tid to see if all desired PIDs >are working as expected. The test tries to clone3() with a set_tid of >-1, 1, pid_max, a PID which is already in use and an unused PID. The >same tests are also running

linux-next: Fixes tag needs some work in the net tree

2019-08-11 Thread Stephen Rothwell
Hi all, In commit e1fea322fc6d ("net sched: update skbedit action for batched events operations") Fixes tag Fixes: ca9b0e27e ("pkt_action: add new action skbedit") has these problem(s): - SHA1 should be at least 12 digits long This Can be fixed for the future by setting

Re: Add SPDX kernel tree to linux-next

2019-08-11 Thread Stephen Rothwell
Hi Greg, On Sat, 10 Aug 2019 13:55:33 +0200 Greg KH wrote: > > I realized that I've been sending patches to Linus from my "SPDX" kernel > tree for a few releases now, and it's not included in linux-next, which > is not good. > > So, could you please add the kernel tree / branch at: >

  1   2   3   >