Re: [PATCH 4.15 000/105] 4.15.14-stable review

2018-03-28 Thread Greg Kroah-Hartman
On Tue, Mar 27, 2018 at 04:57:44PM -0600, Shuah Khan wrote: > On 03/27/2018 10:26 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.15.14 release. > > There are 105 patches in this series, all will be posted as a response > > to this one. If anyone has any

Re: [PATCH] debugfs: Check return value of debugfs_real_fops() for NULL

2018-03-28 Thread Greg Kroah-Hartman
On Tue, Mar 27, 2018 at 04:55:53PM -0700, Matthias Kaehlcke wrote: > debugfs_real_fops() returns a NULL pointer when it is invoked without a > prior call to debugfs_file_get(). In code paths including this call it > is not strictly necessary to check the return value of > debugfs_real_fops().

Re: [PATCH V3 0/4] genirq/affinity: irq vector spread among online CPUs as far as possible

2018-03-28 Thread Artem Bityutskiy
On Mon, 2018-03-26 at 10:39 +0200, Thorsten Leemhuis wrote: > Lo! Your friendly Linux regression tracker here ;-) > > On 08.03.2018 14:18, Artem Bityutskiy wrote: > > On Thu, 2018-03-08 at 18:53 +0800, Ming Lei wrote: > > > This patchset tries to spread among online CPUs as far as possible, so >

Re: [RFC PATCH for 4.17 02/21] rseq: Introduce restartable sequences system call (v12)

2018-03-28 Thread Boqun Feng
On Tue, Mar 27, 2018 at 12:05:23PM -0400, Mathieu Desnoyers wrote: [...] > Changes since v11: > > - Replace task struct rseq_preempt, rseq_signal, and rseq_migrate > bool by u32 rseq_event_mask. [...] > @@ -979,6 +980,17 @@ struct task_struct { > unsigned long

[PATCH v2] staging: fsl-dpaa2/ethsw: Fix tag control information value overwrite

2018-03-28 Thread Razvan Stefanescu
The tag control information (TCI) part of the VLAN header contains several fields, including PCP (priority code point) and PVID (port VLAN id). Current implementation uses function ethsw_port_set_tci() to set the PVID value and mistakenly overwrites the rest of the TCI fields with 0, including

[PATCH] clk: imx7d: Move clks_init_on before any clock operations

2018-03-28 Thread Abel Vesa
From: Dong Aisheng For init on clocks we should move it at the first place in imx7d_clocks_init() before any clock operations, else the clock operation may fail in case the clock is still not on. Acked-by: Ranjani Vaidyanathan

[PATCH v2 3/4] perf version: Print the compiled-in status of libraries

2018-03-28 Thread Jin Yao
This patch checks the values passed by CFLAGS (-DHAVE_XXX) and then print the status of libraries. For example, if HAVE_DWARF_SUPPORT is defined, that means the library "dwarf" is compiled-in. The patch will print the status "on" for this library otherwise print the status "OFF". v2: --- 1. Use

[PATCH v2 4/4] perf: Support perf -vv

2018-03-28 Thread Jin Yao
We keep having bug reports that when users build perf on their own, but they don't install some needed libraries such as libelf, libbfd/libibery. The perf can build, but it is missing important functionality. This patch provides a new option '-vv' which will print the compiled-in status of

[PATCH v2 0/4] Support perf -vv

2018-03-28 Thread Jin Yao
We keep having bug reports that when users build perf on their own, but they don't install some needed libraries such as libelf, libbfd/libibery. The perf can build, but it is missing important functionality. And users may complain that perf has issue or bug. This patch-set support 'perf -vv'

Re: INFO: rcu detected stall in commit_echoes

2018-03-28 Thread Dmitry Vyukov
#syz dup: INFO: rcu detected stall in __process_echoes On Wed, Mar 28, 2018 at 9:11 AM, syzbot wrote: > Hello, > > syzbot hit the following crash on upstream commit > 3eb2ce825ea1ad89d20f7a3b5780df850e4be274 (Sun Mar 25 22:44:30 2018 +)

INFO: rcu detected stall in commit_echoes

2018-03-28 Thread syzbot
Hello, syzbot hit the following crash on upstream commit 3eb2ce825ea1ad89d20f7a3b5780df850e4be274 (Sun Mar 25 22:44:30 2018 +) Linux 4.16-rc7 syzbot dashboard link: https://syzkaller.appspot.com/bug?extid=a0366f667e2cac7c0bbf So far this crash happened 3 times on upstream. Unfortunately,

Re: [PATCH 5/6] rhashtable: support guaranteed successful insertion.

2018-03-28 Thread Herbert Xu
On Wed, Mar 28, 2018 at 06:04:40PM +1100, NeilBrown wrote: > > I disagree. My patch 6 only makes it common instead of exceedingly > rare. If any table in the list other than the first has a chain with 16 > elements, then trying to insert an element with a hash which matches > that chain will

Re: [PATCH] proc: register filesystem last

2018-03-28 Thread Alexey Dobriyan
On Wed, Mar 28, 2018 at 05:48:23AM +0100, Al Viro wrote: > On Sat, Mar 10, 2018 at 03:06:34AM +0300, Alexey Dobriyan wrote: > > On Fri, Mar 09, 2018 at 02:49:38PM -0800, Andrew Morton wrote: > > > On Sat, 10 Mar 2018 01:27:09 +0300 Alexey Dobriyan > > > wrote: > > > > > > >

Re: [PATCH v3 5/6] dt-bindings: phy-qcom-usb2: Update bindings for sdm845

2018-03-28 Thread Manu Gautam
Hi, On 3/28/2018 3:27 AM, Doug Anderson wrote: > Hi, > > On Thu, Mar 22, 2018 at 11:11 PM, Manu Gautam wrote: >> Update compatible strings for USB2 PHYs on sdm845. >> There are two QUSB2 PHYs present on sdm845. Few PHY registers >> programming is different for these PHYs

Re: WARNING in kvm_arch_vcpu_ioctl_run (3)

2018-03-28 Thread Wanpeng Li
2018-03-28 15:13 GMT+08:00 syzbot : > Hello, > > syzbot hit the following crash on upstream commit > 99fec39e7725d091c94d1bb0242e40c8092994f6 (Fri Mar 23 22:34:18 2018 +) > Merge tag 'trace-v4.16-rc4' of >

[PATCH] sched: support dynamiQ cluster

2018-03-28 Thread Vincent Guittot
Arm DynamiQ system can integrate cores with different micro architecture or max OPP under the same DSU so we can have cores with different compute capacity at the LLC (which was not the case with legacy big/LITTLE architecture). Such configuration is similar in some way to ITMT on intel platform

Re: [PATCH 5/6] rhashtable: support guaranteed successful insertion.

2018-03-28 Thread Herbert Xu
On Wed, Mar 28, 2018 at 08:34:19AM +1100, NeilBrown wrote: > > It is easy to get an -EBUSY insertion failure when .disable_count is > enabled, and I did get that. Blindly propagating that up caused lustre > to get terribly confused - not too surprising really. Right, so this failure mode is

general protection fault in account_system_index_time

2018-03-28 Thread syzbot
Hello, syzbot hit the following crash on upstream commit 3eb2ce825ea1ad89d20f7a3b5780df850e4be274 (Sun Mar 25 22:44:30 2018 +) Linux 4.16-rc7 syzbot dashboard link: https://syzkaller.appspot.com/bug?extid=bab86ea70f6f74bd9199 So far this crash happened 2 times on upstream. C reproducer:

Re: [PATCH v29 1/4] mm: support reporting free page blocks

2018-03-28 Thread Michal Hocko
On Tue 27-03-18 19:07:22, Michael S. Tsirkin wrote: > On Tue, Mar 27, 2018 at 08:33:22AM +0200, Michal Hocko wrote: > > > > > + * The function itself might sleep so it cannot be called from atomic > > > > > + * contexts. > > > > I don't see how walk_free_mem_block() can sleep. > > > > > > OK, it

INFO: rcu detected stall in __process_echoes

2018-03-28 Thread syzbot
Hello, syzbot hit the following crash on upstream commit 3eb2ce825ea1ad89d20f7a3b5780df850e4be274 (Sun Mar 25 22:44:30 2018 +) Linux 4.16-rc7 syzbot dashboard link: https://syzkaller.appspot.com/bug?extid=108696293d7a21ab688f So far this crash happened 10 times on upstream. C reproducer:

Jeg venter på at høre fra dig

2018-03-28 Thread Mr.Yuehan Pan
God dag, Jeg er Mr. Yuehan Pan, direktør for Bank of China Jeg leder efter en leder / investeringspartner, der vil arbejde sammen med mig for en fælles virksomhed. Kontakt mig i min private email for flere detaljer. email (yuehanpa...@gmail.com) Venter på at høre fra dig. Tak skal du have,

Re: [PATCH] mtd: Replace typedef with struct

2018-03-28 Thread Boris Brezillon
On Tue, 27 Mar 2018 21:32:19 +0200 Richard Weinberger wrote: > Am Sonntag, 18. März 2018, 18:51:23 CEST schrieb Arushi Singhal: > > Using typedef for a structure type is not suggested in Linux kernel > > coding style guidelines. Hence, occurrence of typedefs has been > > removed.

Re: [PATCH v3 3/6] dt-bindings: phy-qcom-qmp: Update bindings for sdm845

2018-03-28 Thread Manu Gautam
Hi, On 3/28/2018 3:07 AM, Doug Anderson wrote: > Hi, > > On Thu, Mar 22, 2018 at 11:11 PM, Manu Gautam wrote: >> Update compatible strings for USB3 PHYs on SDM845. >> One is QMPv3 DisplayPort-USB combo PHY and other one >> is USB UNI PHY which is single lane USB3 PHY

[PATCH 1/6] aio: don't print the page size at boot time

2018-03-28 Thread Christoph Hellwig
The page size is in no way related to the aio code, and printing it in the (debug) dmesg at every boot serves no purpose. Signed-off-by: Christoph Hellwig Acked-by: Jeff Moyer Reviewed-by: Greg Kroah-Hartman Reviewed-by: Darrick J.

[PATCH 26/30] crypto: af_alg: convert to ->poll_mask

2018-03-28 Thread Christoph Hellwig
Signed-off-by: Christoph Hellwig --- crypto/af_alg.c | 13 +++-- crypto/algif_aead.c | 4 ++-- crypto/algif_skcipher.c | 4 ++-- include/crypto/if_alg.h | 3 +-- 4 files changed, 8 insertions(+), 16 deletions(-) diff --git a/crypto/af_alg.c b/crypto/af_alg.c

[PATCH 24/30] net/iucv: convert to ->poll_mask

2018-03-28 Thread Christoph Hellwig
Signed-off-by: Christoph Hellwig --- include/net/iucv/af_iucv.h | 2 -- net/iucv/af_iucv.c | 7 ++- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/include/net/iucv/af_iucv.h b/include/net/iucv/af_iucv.h index f4c21b5a1242..b0eaeb02d46d 100644 ---

[PATCH 12/30] net/tcp: convert to ->poll_mask

2018-03-28 Thread Christoph Hellwig
Signed-off-by: Christoph Hellwig --- include/net/tcp.h | 4 ++-- net/ipv4/af_inet.c | 3 ++- net/ipv4/tcp.c | 31 ++- net/ipv6/af_inet6.c | 3 ++- 4 files changed, 20 insertions(+), 21 deletions(-) diff --git a/include/net/tcp.h

Re: [PATCH] Input: ALPS - fix DualPoint flag for 74 03 28 devices

2018-03-28 Thread Pali Rohár
Ideally this information should be put as a comment into the code. It is really not obvious. On Tuesday 27 March 2018 04:37:19 Masaki Ota wrote: > Hi, > > We can get OTP page 0 value by EA EA E9 commands, but we cannot get it by EA > EA EA E9. > As far as I remember, Device initialization

[PATCH] drm: Use srcu to protect drm_device.unplugged

2018-03-28 Thread Oleksandr Andrushchenko
From: Noralf Trønnes Use srcu to protect drm_device.unplugged in a race free manner. Drivers can use drm_dev_enter()/drm_dev_exit() to protect and mark sections preventing access to device resources that are not available after the device is gone. Suggested-by: Daniel Vetter

Re: [PATCH v9 01/24] mm: Introduce CONFIG_SPECULATIVE_PAGE_FAULT

2018-03-28 Thread Laurent Dufour
Hi David, Thanks a lot for your deep review on this series. On 25/03/2018 23:50, David Rientjes wrote: > On Tue, 13 Mar 2018, Laurent Dufour wrote: > >> This configuration variable will be used to build the code needed to >> handle speculative page fault. >> >> By default it is turned off, and

Re: dma-mapping: clearing GFP_ZERO flag caused crashes of Ethernet on arc/hsdk board.

2018-03-28 Thread h...@lst.de
> > The logical question is why? > > 1. See that's another platform with ARC core so maybe in case of ARM >DMA allocator already zeroes pages regardless provided flags - >personally I didn't check that. Yes, most architectures always clear memory returned by dma_alloc*. Looks like a few

Re: [PATCH v4 2/2] drm/xen-front: Add support for Xen PV display frontend

2018-03-28 Thread Oleksandr Andrushchenko
On 03/28/2018 10:42 AM, Daniel Vetter wrote: kms side looks good now too. Reviewed-by: Daniel Vetter Thank you

Re: [PATCH v9 5/5] iommu/arm-smmu: Add support for qcom,smmu-v2 variant

2018-03-28 Thread Yisheng Xie
Hi Vivek, On 2018/3/28 12:37, Vivek Gautam wrote: > Hi Yisheng > > > On 3/28/2018 6:54 AM, Yisheng Xie wrote: >> Hi Vivek, >> >> On 2018/3/13 16:55, Vivek Gautam wrote: >>> +- power-domains: Specifiers for power domains required to be powered on >>> for >>> + the SMMU to

Re: [RFC v2 01/12] KVM: arm/arm64: Set dist->spis to NULL after kfree

2018-03-28 Thread Auger Eric
Hi Marc, On 27/03/18 19:10, Marc Zyngier wrote: > On 27/03/18 15:04, Eric Auger wrote: >> in case kvm_vgic_map_resources() fails, typically if the vgic >> distributor is not defined, __kvm_vgic_destroy will be called >> several times. Indeed kvm_vgic_map_resources() is called on >> first vcpu run.

[PATCH] staging: vt6655: check for memory allocation failures

2018-03-28 Thread Ji-Hun Kim
There are no null pointer checking on rd_info and td_info values which are allocated by kzalloc. It has potential null pointer dereferencing issues. Add return when allocation is failed. Signed-off-by: Ji-Hun Kim --- drivers/staging/vt6655/device_main.c | 12

Re: [PATCH] clk: imx7d: Move clks_init_on before any clock operations

2018-03-28 Thread Abel Vesa
On Wed, Mar 28, 2018 at 09:46:36AM +0300, Abel Vesa wrote: > From: Dong Aisheng > > For init on clocks we should move it at the first place in imx7d_clocks_init() > before any clock operations, else the clock operation may fail in case the > clock > is still not on. > >

Re: [PATCH v5 3/4] arm64: Implement page table free interfaces

2018-03-28 Thread Chintan Pandya
On 3/27/2018 11:30 PM, Will Deacon wrote: Hi Chintan, Hi Will, On Tue, Mar 27, 2018 at 06:54:59PM +0530, Chintan Pandya wrote: Implement pud_free_pmd_page() and pmd_free_pte_page(). Implementation requires, 1) Freeing of the un-used next level page tables 2) Clearing off the current

Re: [PATCH v6 2/2] cpuset: Add cpuset.sched_load_balance to v2

2018-03-28 Thread Mike Galbraith
On Tue, 2018-03-27 at 10:23 -0400, Waiman Long wrote: > On 03/27/2018 10:02 AM, Tejun Heo wrote: > > Hello, > > > > On Mon, Mar 26, 2018 at 04:28:49PM -0400, Waiman Long wrote: > >> Maybe we can have a different root level flag, say, > >> sched_partition_domain that is equivalent to

Re: [PATCH v2 0/5] allow override of bus format in bridges

2018-03-28 Thread Daniel Vetter
On Mon, Mar 26, 2018 at 11:24:42PM +0200, Peter Rosin wrote: > Hi! > > [I got to v2 sooner than expected] > > I have an Atmel sama5d31 hooked up to an lvds encoder and then > on to an lvds panel. Which seems like something that has been > done one or two times before... > > The problem is that

AW: Kontakt

2018-03-28 Thread Thomas Stein
Sehr geehrte Damen und Herren, nach unserem Besuch Ihrer Homepage möchten wir Ihnen ein Angebot von Produkten vorstellen, das Ihnen ermöglichen wird, den Verkauf Ihrer Produkte sowie Dienstleistungen deutlich zu erhöhen. Die Datenbanken der Firmen sind in für Sie interessante und relevante

linux-next: manual merge of the userns tree with the syscalls tree

2018-03-28 Thread Stephen Rothwell
Hi Eric, Today's linux-next merge of the userns tree got a conflict in: ipc/msg.c between commit: 370c8f44ce16 ("ipc: add msgget syscall wrapper") from the syscalls tree and commit: 50ab44b1c5d1 ("ipc: Directly call the security hook in ipc_ops.associate") from the userns tree. I

[PATCH 18/30] net/tipc: convert to ->poll_mask

2018-03-28 Thread Christoph Hellwig
Signed-off-by: Christoph Hellwig --- net/tipc/socket.c | 14 +- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/net/tipc/socket.c b/net/tipc/socket.c index 7dfa9fc99ec3..e9c6f185db74 100644 --- a/net/tipc/socket.c +++ b/net/tipc/socket.c @@ -695,10 +695,9

[PATCH 29/30] timerfd: convert to ->poll_mask

2018-03-28 Thread Christoph Hellwig
Signed-off-by: Christoph Hellwig --- fs/timerfd.c | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/fs/timerfd.c b/fs/timerfd.c index cdad49da3ff7..d84a2bee4f82 100644 --- a/fs/timerfd.c +++ b/fs/timerfd.c @@ -226,21 +226,20 @@ static int

[PATCH 27/30] pipe: convert to ->poll_mask

2018-03-28 Thread Christoph Hellwig
Signed-off-by: Christoph Hellwig --- fs/pipe.c | 22 +- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/fs/pipe.c b/fs/pipe.c index 7b1954caf388..81937590ea0a 100644 --- a/fs/pipe.c +++ b/fs/pipe.c @@ -509,19 +509,22 @@ static long

[PATCH 25/30] net/rxrpc: convert to ->poll_mask

2018-03-28 Thread Christoph Hellwig
Signed-off-by: Christoph Hellwig --- net/rxrpc/af_rxrpc.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/net/rxrpc/af_rxrpc.c b/net/rxrpc/af_rxrpc.c index 0c9c18aa7c77..d2440d5c3ce8 100644 --- a/net/rxrpc/af_rxrpc.c +++ b/net/rxrpc/af_rxrpc.c @@

Re: [PATCH 4/6] rhashtable: allow a walk of the hash table without missing objects.

2018-03-28 Thread Herbert Xu
On Wed, Mar 28, 2018 at 06:17:57PM +1100, NeilBrown wrote: > > Sounds like over-kill to me. > It might be reasonable to have a CONFIG_DEBUG_RHASHTABLE which enables > extra to code to catch misuse, but I don't see the justification for > always performing these checks. > The DEBUG code could just

[PATCH 20/30] net/bluetooth: convert to ->poll_mask

2018-03-28 Thread Christoph Hellwig
Signed-off-by: Christoph Hellwig --- include/net/bluetooth/bluetooth.h | 2 +- net/bluetooth/af_bluetooth.c | 7 ++- net/bluetooth/l2cap_sock.c| 2 +- net/bluetooth/rfcomm/sock.c | 2 +- net/bluetooth/sco.c | 2 +- 5 files changed, 6

[PATCH 30/30] random: convert to ->poll_mask

2018-03-28 Thread Christoph Hellwig
The big change is that random_read_wait and random_write_wait are merged into a single waitqueue that uses keyed wakeups. Because wait_event_* doesn't know about that this will lead to occassional spurious wakeups in _random_read and add_hwgenerator_randomness, but wait_event_* is designed to

[PATCH 28/30] eventfd: switch to ->poll_mask

2018-03-28 Thread Christoph Hellwig
Signed-off-by: Christoph Hellwig --- fs/eventfd.c | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/fs/eventfd.c b/fs/eventfd.c index 012f5bd46dfa..d70b4907f978 100644 --- a/fs/eventfd.c +++ b/fs/eventfd.c @@ -101,14 +101,20 @@ static int

[PATCH 15/30] net/dccp: convert to ->poll_mask

2018-03-28 Thread Christoph Hellwig
Signed-off-by: Christoph Hellwig --- net/dccp/dccp.h | 3 +-- net/dccp/ipv4.c | 2 +- net/dccp/ipv6.c | 2 +- net/dccp/proto.c | 13 ++--- 4 files changed, 5 insertions(+), 15 deletions(-) diff --git a/net/dccp/dccp.h b/net/dccp/dccp.h index f91e3816806b..0ea2ee56ac1b

[PATCH 16/30] net/atm: convert to ->poll_mask

2018-03-28 Thread Christoph Hellwig
Signed-off-by: Christoph Hellwig --- net/atm/common.c | 11 +++ net/atm/common.h | 2 +- net/atm/pvc.c| 2 +- net/atm/svc.c| 2 +- 4 files changed, 6 insertions(+), 11 deletions(-) diff --git a/net/atm/common.c b/net/atm/common.c index fc78a0508ae1..1f2af59935db

Re: [PATCH] Input: ALPS - add support for 73 03 28 devices (Thinkpad L570)

2018-03-28 Thread Pali Rohár
Ah, this si again same issue... It was already discussed here: https://patchwork.kernel.org/patch/10081557/ -- Pali Rohár pali.ro...@gmail.com

[PATCH 3/6] aio: refactor read/write iocb setup

2018-03-28 Thread Christoph Hellwig
Don't reference the kiocb structure from the common aio code, and move any use of it into helper specific to the read/write path. This is in preparation for aio_poll support that wants to use the space for different fields. Signed-off-by: Christoph Hellwig Acked-by: Jeff Moyer

RE: [PATCH v2 3/8] DT: arm: renesas,r9a06g032: add the RZ/N1 bindings

2018-03-28 Thread Michel Pollet
Hi Geert, Thanks for your review! On 22 March 2018 12:37, Geert said: > Hi Michel, > > On Thu, Mar 22, 2018 at 12:44 PM, Michel Pollet > wrote: > > This documents the RZ/N1 bindings for both the RZ/N1 and the > > RZN1D400-DB board. > > > > Signed-off-by: Michel

[PATCH 5/6] aio: implement IOCB_CMD_FSYNC and IOCB_CMD_FDSYNC

2018-03-28 Thread Christoph Hellwig
Simple workqueue offload for now, but prepared for adding a real aio_fsync method if the need arises. Based on an earlier patch from Dave Chinner. Signed-off-by: Christoph Hellwig Reviewed-by: Greg Kroah-Hartman Reviewed-by: Darrick J. Wong

[PATCH 4/6] aio: sanitize ki_list handling

2018-03-28 Thread Christoph Hellwig
Instead of handcoded non-null checks always initialize ki_list to an empty list and use list_empty / list_empty_careful on it. While we're at it also error out on a double call to kiocb_set_cancel_fn instead of ignoring it. Signed-off-by: Christoph Hellwig Acked-by: Jeff Moyer

Re: [PATCH 1/2] af_key: Use DIV_ROUND_UP() instead of open-coded equivalent

2018-03-28 Thread Steffen Klassert
On Mon, Mar 26, 2018 at 07:39:16AM -0400, Kevin Easton wrote: > Several places use (x + 7) / 8 to convert from a number of bits to a number > of bytes. Replace those with DIV_ROUND_UP(x, 8) instead, for consistency > with other parts of the same file. > > Signed-off-by: Kevin Easton

kernel BUG at lib/string.c:LINE! (3)

2018-03-28 Thread syzbot
Hello, syzbot hit the following crash on upstream commit 3eb2ce825ea1ad89d20f7a3b5780df850e4be274 (Sun Mar 25 22:44:30 2018 +) Linux 4.16-rc7 syzbot dashboard link: https://syzkaller.appspot.com/bug?extid=6800425d54ed3ed8135d So far this crash happened 2 times on upstream. syzkaller

Re: [PATCH 4/6] rhashtable: allow a walk of the hash table without missing objects.

2018-03-28 Thread Herbert Xu
On Wed, Mar 28, 2018 at 08:54:41AM +1100, NeilBrown wrote: > > Possibly. > I particularly want the interface to require that you pass the > previously returned object to _continue. That makes it easy to see that > the object is still being used. If someone changes to code to delete > the object

Re: [PATCH 4.4 20/43] mm/vmalloc: add interfaces to free unmapped page table

2018-03-28 Thread gre...@linuxfoundation.org
On Tue, Mar 27, 2018 at 01:47:55PM -0700, Nathan Chancellor wrote: > On Tue, Mar 27, 2018 at 08:40:56PM +, Kani, Toshi wrote: > > On Tue, 2018-03-27 at 13:31 -0700, Nathan Chancellor wrote: > > > On Tue, Mar 27, 2018 at 03:17:00PM -0500, Dan Rue wrote: > > > > On Tue, Mar 27, 2018 at

Re: [PATCH] clk: imx7d: Move clks_init_on before any clock operations

2018-03-28 Thread Abel Vesa
Hi Fabio, On Tue, Mar 27, 2018 at 12:08:39PM -0300, Fabio Estevam wrote: > Hi Abel, > > On Tue, Mar 27, 2018 at 11:23 AM, Abel Vesa wrote: > > From: Dong Aisheng > > > > For init on clocks we should move it at the first place in > > imx7d_clocks_init()

RE: [PATCH] staging: fsl-dpaa2/ethsw: Fix TCI values overwrite

2018-03-28 Thread Razvan Stefanescu
> -Original Message- > From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- > ow...@vger.kernel.org] On Behalf Of Andrew Lunn > Sent: Tuesday, March 27, 2018 4:38 PM > To: Razvan Stefanescu > Cc: gre...@linuxfoundation.org;

[RESEND 1/4] clk: imx7d: Add USB clock information

2018-03-28 Thread Abel Vesa
From: Peter Chen Add USB clock information, the pll_usb_main_clk is USB_PLL at CCM which is the output of USBOTG2 PHY. Signed-off-by: Peter Chen Signed-off-by: Irina Tirdea Signed-off-by: Abel Vesa

[RESEND 4/4] clk: imx7d: Move clks_init_on before any clock operations

2018-03-28 Thread Abel Vesa
From: Dong Aisheng For init on clocks we should move it at the first place in imx7d_clocks_init() before any clock operations, else the clock operation may fail in case the clock is still not on. Acked-by: Ranjani Vaidyanathan

[RESEND 3/4] clk: imx7d: Correct ahb clk parent select

2018-03-28 Thread Abel Vesa
From: Anson Huang Design team change the ahb's clk parent options but did NOT update the DOC accordingly in time, so the AHB/IPG's clk rate in clk tree is incorrect, AHB is 67.5MHz and IPG is 33.75MHz, but using scope to monitor them, they are actually 135MHz and 67.5MHz,

Re: [PATCH 4.4 20/43] mm/vmalloc: add interfaces to free unmapped page table

2018-03-28 Thread Nathan Chancellor
On Wed, Mar 28, 2018 at 08:32:02AM +0200, gre...@linuxfoundation.org wrote: > On Tue, Mar 27, 2018 at 01:47:55PM -0700, Nathan Chancellor wrote: > > On Tue, Mar 27, 2018 at 08:40:56PM +, Kani, Toshi wrote: > > > On Tue, 2018-03-27 at 13:31 -0700, Nathan Chancellor wrote: > > > > On Tue, Mar

[RESEND 0/4] Update imx7 clocks

2018-03-28 Thread Abel Vesa
Resent as a patcheset now. I sent the initial patches as individual ones, without specifying the order they need to be applied in. https://lkml.org/lkml/2018/3/27/535 https://lkml.org/lkml/2018/3/27/536 https://lkml.org/lkml/2018/3/27/539 https://lkml.org/lkml/2018/3/27/542 Anson Huang (2):

Re: [PATCH v3 2/2] KVM: X86: Add Force Emulation Prefix for "emulate the next instruction"

2018-03-28 Thread Liran Alon
- kernel...@gmail.com wrote: > From: Wanpeng Li > > There is no easy way to force KVM to run an instruction through the > emulator > (by design as that will expose the x86 emulator as a significant > attack-surface). > However, we do wish to expose the x86 emulator

[PATCH v2 1/4] tools include: Add config.h header file

2018-03-28 Thread Jin Yao
From: Jiri Olsa Adding IS_BUILTIN macro and its dependencies into tools world. It's taken from kernel's include/linux/kconfig.h, which can't be taken completely due to its kconfig dependencies. Signed-off-by: Jiri Olsa --- tools/include/tools/config.h | 34

Re: [PATCH 5/6] rhashtable: support guaranteed successful insertion.

2018-03-28 Thread NeilBrown
On Wed, Mar 28 2018, Herbert Xu wrote: > On Wed, Mar 28, 2018 at 08:34:19AM +1100, NeilBrown wrote: >> >> It is easy to get an -EBUSY insertion failure when .disable_count is >> enabled, and I did get that. Blindly propagating that up caused lustre >> to get terribly confused - not too

WARNING in kvm_arch_vcpu_ioctl_run (3)

2018-03-28 Thread syzbot
Hello, syzbot hit the following crash on upstream commit 99fec39e7725d091c94d1bb0242e40c8092994f6 (Fri Mar 23 22:34:18 2018 +) Merge tag 'trace-v4.16-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace syzbot dashboard link:

[PATCH 6/6] aio: implement io_pgetevents

2018-03-28 Thread Christoph Hellwig
This is the io_getevents equivalent of ppoll/pselect and allows to properly mix signals and aio completions (especially with IOCB_CMD_POLL) and atomically executes the following sequence: sigset_t origmask; pthread_sigmask(SIG_SETMASK, , ); ret = io_getevents(ctx, min_nr,

Re: [PATCH 14/19] powerpc/altivec: Add missing prototypes for altivec

2018-03-28 Thread Mathieu Malaterre
On Tue, Mar 27, 2018 at 7:33 PM, LEROY Christophe wrote: > LEROY Christophe a écrit : > > >> Mathieu Malaterre a écrit : >> >>> Christophe, >>> >>> On Sat, Mar 24, 2018 at 9:10 PM, LEROY Christophe >>>

Re: [PATCH 3/4] gpio: Remove VLA from xra1403 driver

2018-03-28 Thread Geert Uytterhoeven
Hi Laura, On Sat, Mar 10, 2018 at 1:10 AM, Laura Abbott wrote: > The new challenge is to remove VLAs from the kernel > (see https://lkml.org/lkml/2018/3/7/621) > > This patch replaces a VLA with an appropriate call to kmalloc_array. > > Signed-off-by: Laura Abbott

io_pgetevents & aio fsync V2

2018-03-28 Thread Christoph Hellwig
Hi all, this patch adds workqueue based fsync offload. Version of this patch have been floating around for a couple years, but we now have a user with seastar used by ScyllaDB (who sponsored this work) that really wants this in addition to the aio poll support. More details are in the patch

Re: [PATCH v3 6/6] phy: qcom-qusb2: Add QUSB2 PHYs support for sdm845

2018-03-28 Thread Manu Gautam
Hi, On 3/28/2018 4:22 AM, Doug Anderson wrote: > Hi, > > On Thu, Mar 22, 2018 at 11:11 PM, Manu Gautam wrote: >> There are two QUSB2 PHYs present on sdm845. Update PHY >> registers programming for both the PHYs related to >> electrical parameters to improve eye diagram.

Re: [PATCH] drm/atmel-hlcdc: add command line option to specify preferred depth

2018-03-28 Thread Boris Brezillon
Hi Peter, On Mon, 26 Mar 2018 09:35:02 +0200 Peter Rosin wrote: > I have an sama5d31-based system with 64MB of memory and a 1920x1080 > LVDS display wired for 16-bpp. When I enable legacy fbdev support, > the contiguous memory allocator invariably fails with the order-11 >

[PATCH 19/30] net/sctp: convert to ->poll_mask

2018-03-28 Thread Christoph Hellwig
Signed-off-by: Christoph Hellwig --- include/net/sctp/sctp.h | 3 +-- net/sctp/ipv6.c | 2 +- net/sctp/protocol.c | 2 +- net/sctp/socket.c | 4 +--- 4 files changed, 4 insertions(+), 7 deletions(-) diff --git a/include/net/sctp/sctp.h b/include/net/sctp/sctp.h

[PATCH 05/30] fs: introduce new ->get_poll_head and ->poll_mask methods

2018-03-28 Thread Christoph Hellwig
->get_poll_head returns the waitqueue that the poll operation is going to sleep on. Note that this means we can only use a single waitqueue for the poll, unlike some current drivers that use two waitqueues for different events. But now that we have keyed wakeups and heavily use those for poll

Re: [PATCH] vhost-net: add time limitation for tx polling(Internet mail)

2018-03-28 Thread Jason Wang
On 2018年03月28日 12:01, haibinzhang(张海斌) wrote: On 2018年03月27日 19:26, Jason wrote On 2018年03月27日 17:12, haibinzhang wrote: handle_tx() will delay rx for a long time when busy tx polling udp packets with short length(ie: 1byte udp payload), because setting VHOST_NET_WEIGHT takes into account

Re: [RFC PATCH] crypto: brcm - explicitly cast cipher to hash type

2018-03-28 Thread Raveendra Padasalagi
Hi Stefan, The change looks to be fine. From the IP point of view its using the same values in case of AES cipher and hash types so explicit casting should be ok. -Raveendra On Sat, Mar 24, 2018 at 4:32 PM, Stefan Agner wrote: > In the AES cases enum spu_cipher_type and enum

[PATCH v4 1/2] drm: Use srcu to protect drm_device.unplugged

2018-03-28 Thread Oleksandr Andrushchenko
From: Noralf Trønnes Use srcu to protect drm_device.unplugged in a race free manner. Drivers can use drm_dev_enter()/drm_dev_exit() to protect and mark sections preventing access to device resources that are not available after the device is gone. Suggested-by: Daniel Vetter

[RESEND 2/4] clk: imx7d: Correct dram pll type

2018-03-28 Thread Abel Vesa
From: Anson Huang DRAM PLL is a audio/video type PLL, need to correct it to get correct ops of PLL. There is a test_div placed before DRAM PLL's gate, so add this test div clk. Signed-off-by: Anson Huang Signed-off-by: Irina Tirdea

[PATCH v4 2/2] drm/xen-front: Add support for Xen PV display frontend

2018-03-28 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko Add support for Xen para-virtualized frontend display driver. Accompanying backend [1] is implemented as a user-space application and its helper library [2], capable of running as a Weston client or DRM master. Configuration of both

Re: [PATCH] ANDROID: binder: change down_write to down_read

2018-03-28 Thread Minchan Kim
On Wed, Mar 28, 2018 at 07:53:54AM +0200, Greg Kroah-Hartman wrote: > On Wed, Mar 28, 2018 at 11:42:31AM +0900, Minchan Kim wrote: > > binder_update_page_range needs down_write of mmap_sem because > > vm_insert_page need to change vma->vm_flags to VM_MIXEDMAP unless > > it is set. However, when I

[PATCH v4 0/2] drm/xen-front: Add support for Xen PV display frontend

2018-03-28 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko Hello! Notes. 1. Boris, I put your R-b tag as I almost didn't change Xen part of the driver (see below). Please let me know if this is not acceptable, so I remove the tag. 2. With this patch series I am also adding a patch from

Re: [Intel-gfx] [PATCH v4 1/2] drm: Use srcu to protect drm_device.unplugged

2018-03-28 Thread Daniel Vetter
On Wed, Mar 28, 2018 at 09:47:40AM +0300, Oleksandr Andrushchenko wrote: > From: Noralf Trønnes > > Use srcu to protect drm_device.unplugged in a race free manner. > Drivers can use drm_dev_enter()/drm_dev_exit() to protect and mark > sections preventing access to device

[PATCH 10/30] net: add support for ->poll_mask in proto_ops

2018-03-28 Thread Christoph Hellwig
The socket file operations still implement ->poll until all protocols are switched over. Signed-off-by: Christoph Hellwig --- include/linux/net.h | 3 +++ net/socket.c| 51 ++- 2 files changed, 49 insertions(+), 5

[PATCH 08/30] aio: implement IOCB_CMD_POLL

2018-03-28 Thread Christoph Hellwig
Simple one-shot poll through the io_submit() interface. To poll for a file descriptor the application should submit an iocb of type IOCB_CMD_POLL. It will poll the fd for the events specified in the the first 32 bits of the aio_buf field of the iocb. Unlike poll or epoll without EPOLLONESHOT

[PATCH 04/30] fs: add new vfs_poll and file_can_poll helpers

2018-03-28 Thread Christoph Hellwig
These abstract out calls to the poll method in preparation for changes in how we poll. Signed-off-by: Christoph Hellwig Reviewed-by: Greg Kroah-Hartman Reviewed-by: Darrick J. Wong ---

[PATCH 03/30] fs: update documentation to mention __poll_t and match the code

2018-03-28 Thread Christoph Hellwig
Signed-off-by: Christoph Hellwig Reviewed-by: Darrick J. Wong Reviewed-by: Greg Kroah-Hartman --- Documentation/filesystems/Locking | 2 +- Documentation/filesystems/vfs.txt | 2 +- 2 files changed, 2 insertions(+), 2

[PATCH 01/30] fs: unexport poll_schedule_timeout

2018-03-28 Thread Christoph Hellwig
No users outside of select.c. Signed-off-by: Christoph Hellwig Reviewed-by: Greg Kroah-Hartman Reviewed-by: Darrick J. Wong --- fs/select.c | 3 +-- include/linux/poll.h | 2 -- 2 files changed, 1 insertion(+), 4

aio poll and a new in-kernel poll API V7

2018-03-28 Thread Christoph Hellwig
Hi all, this series adds support for the IOCB_CMD_POLL operation to poll for the readyness of file descriptors using the aio subsystem. The API is based on patches that existed in RHAS2.1 and RHEL3, which means it already is supported by libaio. To implement the poll support efficiently new

[PATCH] ANDROID: binder: prevent transactions into own process.

2018-03-28 Thread Martijn Coenen
This can't happen with normal nodes (because you can't get a ref to a node you own), but it could happen with the context manager; to make the behavior consistent with regular nodes, reject transactions into the context manager by the process owning it. Reported-by:

[PATCH 13/30] net/unix: convert to ->poll_mask

2018-03-28 Thread Christoph Hellwig
Signed-off-by: Christoph Hellwig --- net/unix/af_unix.c | 30 +++--- 1 file changed, 11 insertions(+), 19 deletions(-) diff --git a/net/unix/af_unix.c b/net/unix/af_unix.c index 2d465bdeccbc..619c6921dd46 100644 --- a/net/unix/af_unix.c +++

[PATCH 14/30] net: convert datagram_poll users tp ->poll_mask

2018-03-28 Thread Christoph Hellwig
Signed-off-by: Christoph Hellwig Reviewed-by: Greg Kroah-Hartman --- drivers/isdn/mISDN/socket.c| 2 +- drivers/net/ppp/pppoe.c| 2 +- drivers/staging/ipx/af_ipx.c | 2 +- drivers/staging/irda/net/af_irda.c | 6 +++---

Re: [PATCH] perf trace: remove redundant ')'

2018-03-28 Thread Du, Changbin
Hi Arnaldo, Just a kind reminder. Hope you didn't forget this. On Fri, Mar 16, 2018 at 09:50:45AM -0300, Arnaldo Carvalho de Melo wrote: > Em Fri, Mar 16, 2018 at 03:51:09PM +0800, Du, Changbin escreveu: > > Hi Arnaldo, How about this simple one? Thanks. > > > > On Tue, Mar 13, 2018 at

[PATCH 17/30] net/vmw_vsock: convert to ->poll_mask

2018-03-28 Thread Christoph Hellwig
Signed-off-by: Christoph Hellwig --- net/vmw_vsock/af_vsock.c | 19 ++- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/net/vmw_vsock/af_vsock.c b/net/vmw_vsock/af_vsock.c index e0fc84daed94..b9210329bda8 100644 --- a/net/vmw_vsock/af_vsock.c +++

Re: [PATCH v4 2/2] drm/xen-front: Add support for Xen PV display frontend

2018-03-28 Thread Daniel Vetter
On Wed, Mar 28, 2018 at 09:47:41AM +0300, Oleksandr Andrushchenko wrote: > From: Oleksandr Andrushchenko > > Add support for Xen para-virtualized frontend display driver. > Accompanying backend [1] is implemented as a user-space application > and its helper

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

2018-03-28 Thread Stephen Rothwell
Hi Eric, After merging the userns tree, today's linux-next build (powerpc ppc64_defconfig) produced this warning: In file included from include/linux/sched.h:16:0, from arch/powerpc/lib/xor_vmx_glue.c:14: include/linux/shm.h:17:35: error: 'struct file' declared inside parameter

  1   2   3   4   5   6   7   8   9   10   >