Re: [PATCH 4/6] fpga: region: change fpga_region_register to have one param

2018-03-29 Thread Alan Tull
On Thu, Mar 29, 2018 at 12:06 PM, Greg KH wrote: Hi Greg, >> -int fpga_region_register(struct device *dev, struct fpga_region *region) >> +int fpga_region_register(struct fpga_region *region) >> { >> + struct device *dev = region->parent; >> int id, ret = 0; >> >> + if (!dev) {

Re: [PATCH] selftests/livepatch: introduce tests

2018-03-29 Thread kbuild test robot
Hi Joe, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.16-rc7 next-20180329] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux

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

2018-03-29 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

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

2018-03-29 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 b/include/net/tcp.h index

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

2018-03-29 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 10/30] net: add support for ->poll_mask in proto_ops

2018-03-29 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 deletions(-) diff --git

Re: [PATCH 0/1] fix regression in hugetlbfs overflow checking

2018-03-29 Thread Mike Kravetz
On 03/28/2018 09:16 PM, Mike Kravetz wrote: > Commit 63489f8e8211 ("hugetlbfs: check for pgoff value overflow") > introduced a regression in 32 bit kernels. When creating the mask > to check vm_pgoff, it incorrectly specified that the size of a loff_t > was the size of a long. This prevents

Re: [PATCH 0/1] fix regression in hugetlbfs overflow checking

2018-03-29 Thread Mike Kravetz
On 03/28/2018 09:16 PM, Mike Kravetz wrote: > Commit 63489f8e8211 ("hugetlbfs: check for pgoff value overflow") > introduced a regression in 32 bit kernels. When creating the mask > to check vm_pgoff, it incorrectly specified that the size of a loff_t > was the size of a long. This prevents

[PATCH 11/30] net: remove sock_no_poll

2018-03-29 Thread Christoph Hellwig
Now that sock_poll handles a NULL ->poll or ->poll_mask there is no need for a stub. Signed-off-by: Christoph Hellwig --- crypto/af_alg.c | 1 - crypto/algif_hash.c | 2 -- crypto/algif_rng.c | 1 - drivers/isdn/mISDN/socket.c | 1 -

[PATCH 11/30] net: remove sock_no_poll

2018-03-29 Thread Christoph Hellwig
Now that sock_poll handles a NULL ->poll or ->poll_mask there is no need for a stub. Signed-off-by: Christoph Hellwig --- crypto/af_alg.c | 1 - crypto/algif_hash.c | 2 -- crypto/algif_rng.c | 1 - drivers/isdn/mISDN/socket.c | 1 - drivers/net/ppp/pptp.c | 1

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

2018-03-29 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 13/30] net/unix: convert to ->poll_mask

2018-03-29 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 +++ b/net/unix/af_unix.c @@ -638,9

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

2018-03-29 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 +++---

[PATCH 4/6] spi: sun4i: use completion provided by SPI core driver

2018-03-29 Thread Sergey Suloev
As long as the completion already provided by the SPI core then there is no need to waste extra-memory on this. Also a waiting function was added to avoid code duplication. Signed-off-by: Sergey Suloev --- drivers/spi/spi-sun4i.c | 62

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

2018-03-29 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 +++--- include/linux/skbuff.h | 3 +--

[PATCH 4/6] spi: sun4i: use completion provided by SPI core driver

2018-03-29 Thread Sergey Suloev
As long as the completion already provided by the SPI core then there is no need to waste extra-memory on this. Also a waiting function was added to avoid code duplication. Signed-off-by: Sergey Suloev --- drivers/spi/spi-sun4i.c | 62 - 1 file

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

2018-03-29 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 15/30] net/dccp: convert to ->poll_mask

2018-03-29 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 100644 ---

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

2018-03-29 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 +++

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

2018-03-29 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 +++

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

2018-03-29 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 18/30] net/tipc: convert to ->poll_mask

2018-03-29 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 @@ static int

Re: [PATCH 1/6] fpga: region: don't use drvdata in common fpga code

2018-03-29 Thread Alan Tull
On Thu, Mar 29, 2018 at 12:01 PM, Greg KH wrote: Hi Greg, > On Thu, Mar 29, 2018 at 08:36:53AM -0700, Moritz Fischer wrote: >> From: Alan Tull >> >> Part of patchset that changes the following fpga_*_register >> functions to not set drvdata: >> *

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

2018-03-29 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

Re: [PATCH 1/6] fpga: region: don't use drvdata in common fpga code

2018-03-29 Thread Alan Tull
On Thu, Mar 29, 2018 at 12:01 PM, Greg KH wrote: Hi Greg, > On Thu, Mar 29, 2018 at 08:36:53AM -0700, Moritz Fischer wrote: >> From: Alan Tull >> >> Part of patchset that changes the following fpga_*_register >> functions to not set drvdata: >> * fpga_region_register. >> * fpga_mgr_register >>

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

2018-03-29 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 index

[PATCH 0/6] spi: Add support for DMA transfers in sun4i SPI driver

2018-03-29 Thread Sergey Suloev
The following patchset provides corrections for PIO-mode and support for DMA transfers in sun4i SPI driver. Sergey Suloev (6): spi: core: handle timeout error from transfer_one() spi: sun4i: restrict transfer length in PIO-mode spi: sun4i: coding style/readability improvements spi: sun4i:

[PATCH 0/6] spi: Add support for DMA transfers in sun4i SPI driver

2018-03-29 Thread Sergey Suloev
The following patchset provides corrections for PIO-mode and support for DMA transfers in sun4i SPI driver. Sergey Suloev (6): spi: core: handle timeout error from transfer_one() spi: sun4i: restrict transfer length in PIO-mode spi: sun4i: coding style/readability improvements spi: sun4i:

Re: [PATCH v4 6/7] dt-bindings: phy-qcom-usb2: Add support to override tuning values

2018-03-29 Thread Doug Anderson
Hi, On Thu, Mar 29, 2018 at 4:04 AM, Manu Gautam wrote: > To improve eye diagram for PHYs on different boards of same SOC, > some parameters may need to be changed. Provide device tree > properties to override these from board specific device tree > files. While at it,

Re: [PATCH v4 6/7] dt-bindings: phy-qcom-usb2: Add support to override tuning values

2018-03-29 Thread Doug Anderson
Hi, On Thu, Mar 29, 2018 at 4:04 AM, Manu Gautam wrote: > To improve eye diagram for PHYs on different boards of same SOC, > some parameters may need to be changed. Provide device tree > properties to override these from board specific device tree > files. While at it, replace

[PATCH 21/30] net/caif: convert to ->poll_mask

2018-03-29 Thread Christoph Hellwig
Signed-off-by: Christoph Hellwig --- net/caif/caif_socket.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/net/caif/caif_socket.c b/net/caif/caif_socket.c index a6fb1b3bcad9..c7991867d622 100644 --- a/net/caif/caif_socket.c +++

[PATCH 21/30] net/caif: convert to ->poll_mask

2018-03-29 Thread Christoph Hellwig
Signed-off-by: Christoph Hellwig --- net/caif/caif_socket.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/net/caif/caif_socket.c b/net/caif/caif_socket.c index a6fb1b3bcad9..c7991867d622 100644 --- a/net/caif/caif_socket.c +++ b/net/caif/caif_socket.c @@

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

2018-03-29 Thread Doug Anderson
Hi, On Thu, Mar 29, 2018 at 4:04 AM, Manu Gautam wrote: > There are two QUSB2 PHYs present on sdm845. In order > to improve eye diagram for both the PHYs some parameters > need to be changed. Provide device tree properties to > override these from board specific device

Re: [PATCH v1 0/1] arm: dts: modify Nuvoton NPCM750 device tree

2018-03-29 Thread Arnd Bergmann
On Mon, Mar 26, 2018 at 12:11 PM, Tomer Maimon wrote: > The NPCM7xx are a family of BMC's that include several chips as: > NPCM750, NPCM730 etc. > > All of the NPCM7xx BMC's have the common modules like Cortex-A9, > WDT, timers, etc, and there are a optional modules that can

Re: [PATCH v1 0/1] arm: dts: modify Nuvoton NPCM750 device tree

2018-03-29 Thread Arnd Bergmann
On Mon, Mar 26, 2018 at 12:11 PM, Tomer Maimon wrote: > The NPCM7xx are a family of BMC's that include several chips as: > NPCM750, NPCM730 etc. > > All of the NPCM7xx BMC's have the common modules like Cortex-A9, > WDT, timers, etc, and there are a optional modules that can be added. > > NPCM750

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

2018-03-29 Thread Doug Anderson
Hi, On Thu, Mar 29, 2018 at 4:04 AM, Manu Gautam wrote: > There are two QUSB2 PHYs present on sdm845. In order > to improve eye diagram for both the PHYs some parameters > need to be changed. Provide device tree properties to > override these from board specific device tree files. > >

[PATCH 22/30] net/nfc: convert to ->poll_mask

2018-03-29 Thread Christoph Hellwig
Signed-off-by: Christoph Hellwig --- net/nfc/llcp_sock.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/net/nfc/llcp_sock.c b/net/nfc/llcp_sock.c index 376040092142..b6010750e634 100644 --- a/net/nfc/llcp_sock.c +++ b/net/nfc/llcp_sock.c @@ -549,16

[PATCH 22/30] net/nfc: convert to ->poll_mask

2018-03-29 Thread Christoph Hellwig
Signed-off-by: Christoph Hellwig --- net/nfc/llcp_sock.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/net/nfc/llcp_sock.c b/net/nfc/llcp_sock.c index 376040092142..b6010750e634 100644 --- a/net/nfc/llcp_sock.c +++ b/net/nfc/llcp_sock.c @@ -549,16 +549,13 @@ static

[PATCH 23/30] net/phonet: convert to ->poll_mask

2018-03-29 Thread Christoph Hellwig
Signed-off-by: Christoph Hellwig --- net/phonet/socket.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/net/phonet/socket.c b/net/phonet/socket.c index 28d981512f5f..70ac4539d5b7 100644 --- a/net/phonet/socket.c +++ b/net/phonet/socket.c @@ -341,15

[PATCH 23/30] net/phonet: convert to ->poll_mask

2018-03-29 Thread Christoph Hellwig
Signed-off-by: Christoph Hellwig --- net/phonet/socket.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/net/phonet/socket.c b/net/phonet/socket.c index 28d981512f5f..70ac4539d5b7 100644 --- a/net/phonet/socket.c +++ b/net/phonet/socket.c @@ -341,15 +341,12 @@ static

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

2018-03-29 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 @@

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

2018-03-29 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 @@ -729,15 +729,11 @@

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

2018-03-29 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 27/30] pipe: convert to ->poll_mask

2018-03-29 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 pipe_ioctl(struct file *filp,

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

2018-03-29 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 29/30] timerfd: convert to ->poll_mask

2018-03-29 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 30/30] random: convert to ->poll_mask

2018-03-29 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 30/30] random: convert to ->poll_mask

2018-03-29 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-29 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 20/30] net/bluetooth: convert to ->poll_mask

2018-03-29 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 28/30] eventfd: switch to ->poll_mask

2018-03-29 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 eventfd_release(struct

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

2018-03-29 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 insertions(+), 9

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

2018-03-29 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-29 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 26/30] crypto: af_alg: convert to ->poll_mask

2018-03-29 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 index

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

2018-03-29 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 16/30] net/atm: convert to ->poll_mask

2018-03-29 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

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

2018-03-29 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 100644 ---

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

2018-03-29 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 04/30] fs: add new vfs_poll and file_can_poll helpers

2018-03-29 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 --- drivers/staging/comedi/drivers/serial2002.c | 4 ++-- drivers/vfio/virqfd.c | 2 +-

aio poll and a new in-kernel poll API V8

2018-03-29 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

aio poll and a new in-kernel poll API V8

2018-03-29 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

Re: [RFC PATCH v21 0/6] mm: security: ro protection for dynamic data

2018-03-29 Thread Igor Stoppa
On 27/03/18 20:55, Jonathan Corbet wrote: On Tue, 27 Mar 2018 18:37:36 +0300 Igor Stoppa wrote: This patch-set introduces the possibility of protecting memory that has been allocated dynamically. One thing that jumps out at me as I look at the patch set is: you do

Re: [RFC PATCH v21 0/6] mm: security: ro protection for dynamic data

2018-03-29 Thread Igor Stoppa
On 27/03/18 20:55, Jonathan Corbet wrote: On Tue, 27 Mar 2018 18:37:36 +0300 Igor Stoppa wrote: This patch-set introduces the possibility of protecting memory that has been allocated dynamically. One thing that jumps out at me as I look at the patch set is: you do not include any users of

Re: [PATCH] mtd: Use DIV_ROUND_UP()

2018-03-29 Thread Boris Brezillon
On Sun, 25 Mar 2018 21:07:43 +0530 Arushi Singhal wrote: > The kernel.h macro DIV_ROUND_UP performs the computation > (((n) + (d) - 1) / (d)) but is perhaps more readable. > > Signed-off-by: Arushi Singhal Applied. Thanks,

Re: [PATCH] mtd: Use DIV_ROUND_UP()

2018-03-29 Thread Boris Brezillon
On Sun, 25 Mar 2018 21:07:43 +0530 Arushi Singhal wrote: > The kernel.h macro DIV_ROUND_UP performs the computation > (((n) + (d) - 1) / (d)) but is perhaps more readable. > > Signed-off-by: Arushi Singhal Applied. Thanks, Boris > --- > drivers/mtd/ftl.c | 4 ++-- > 1 file changed, 2

Re: pull-request: wireless-drivers-next 2018-03-29

2018-03-29 Thread David Miller
From: Kalle Valo Date: Thu, 29 Mar 2018 16:21:44 +0300 > here's a pull request to net-next for 4.17. If the merge window starts > on Sunday this will be the last pull request. Do note that I pulled > wireless-drivers into wireless-drivers-next as iwlwifi needed some >

Re: pull-request: wireless-drivers-next 2018-03-29

2018-03-29 Thread David Miller
From: Kalle Valo Date: Thu, 29 Mar 2018 16:21:44 +0300 > here's a pull request to net-next for 4.17. If the merge window starts > on Sunday this will be the last pull request. Do note that I pulled > wireless-drivers into wireless-drivers-next as iwlwifi needed some > patches. > > Please let me

Re: [PATCH net] vhost: validate log when IOTLB is enabled

2018-03-29 Thread David Miller
From: "Michael S. Tsirkin" Date: Thu, 29 Mar 2018 15:48:22 +0300 > On Thu, Mar 29, 2018 at 04:00:04PM +0800, Jason Wang wrote: >> Vq log_base is the userspace address of bitmap which has nothing to do >> with IOTLB. So it needs to be validated unconditionally otherwise we >> may

Re: [PATCH net] vhost: validate log when IOTLB is enabled

2018-03-29 Thread David Miller
From: "Michael S. Tsirkin" Date: Thu, 29 Mar 2018 15:48:22 +0300 > On Thu, Mar 29, 2018 at 04:00:04PM +0800, Jason Wang wrote: >> Vq log_base is the userspace address of bitmap which has nothing to do >> with IOTLB. So it needs to be validated unconditionally otherwise we >> may try use 0 as

Re: [PATCH] MAINTAINERS: update maintainers for MTD and SPI NOR subsystems

2018-03-29 Thread Boris Brezillon
On Wed, 21 Mar 2018 22:33:26 +0100 Marek Vasut wrote: > On 03/18/2018 06:14 PM, Cyrille Pitchen wrote: > > Hi Marek, > > Hi, > > > Le 18/03/2018 à 00:41, Marek Vasut a écrit : > >> On 03/15/2018 08:04 PM, Cyrille Pitchen wrote: > >>> remove myself as MTD and SPI

Re: [PATCH] MAINTAINERS: update maintainers for MTD and SPI NOR subsystems

2018-03-29 Thread Boris Brezillon
On Wed, 21 Mar 2018 22:33:26 +0100 Marek Vasut wrote: > On 03/18/2018 06:14 PM, Cyrille Pitchen wrote: > > Hi Marek, > > Hi, > > > Le 18/03/2018 à 00:41, Marek Vasut a écrit : > >> On 03/15/2018 08:04 PM, Cyrille Pitchen wrote: > >>> remove myself as MTD and SPI NOR maintainer. > >>> >

Re: INFO: task hung in stop_sync_thread (2)

2018-03-29 Thread Julian Anastasov
Hello, On Thu, 29 Mar 2018, syzbot wrote: > syzbot hit the following crash on net-next commit > 5d22d47b9ed96eddb35821dc2cc4f629f45827f7 (Tue Mar 27 17:33:21 2018 +) > Merge branch 'sfc-filter-locking' > syzbot dashboard link: >

Re: INFO: task hung in stop_sync_thread (2)

2018-03-29 Thread Julian Anastasov
Hello, On Thu, 29 Mar 2018, syzbot wrote: > syzbot hit the following crash on net-next commit > 5d22d47b9ed96eddb35821dc2cc4f629f45827f7 (Tue Mar 27 17:33:21 2018 +) > Merge branch 'sfc-filter-locking' > syzbot dashboard link: >

Re: [RFC][PATCH] ipc: Remove IPCMNI

2018-03-29 Thread Eric W. Biederman
Manfred Spraul writes: > On 03/14/2018 08:49 PM, Eric W. Biederman wrote: >> To make it possible to keep checkpoint/restore working I have renamed >> the sysctls from xxx_next_id to xxx_nextid.  That is enough change that >> a smart CRIU implementation

Re: [RFC][PATCH] ipc: Remove IPCMNI

2018-03-29 Thread Eric W. Biederman
Manfred Spraul writes: > On 03/14/2018 08:49 PM, Eric W. Biederman wrote: >> To make it possible to keep checkpoint/restore working I have renamed >> the sysctls from xxx_next_id to xxx_nextid.  That is enough change that >> a smart CRIU implementation can see that what is

Re: [net-next PATCH v2 08/10] net: netcp: ethss: use of_get_phy_mode() to support different RGMII modes

2018-03-29 Thread Murali Karicheri
On 03/27/2018 01:35 PM, Andrew Lunn wrote: >> +} else if (slave->link_interface == RGMII_LINK_MAC_PHY) { >> +has_phy = true; >> +phy_mode = of_get_phy_mode(slave->node); >> +/* if phy-mode is not present, default to >> + *

Re: [net-next PATCH v2 08/10] net: netcp: ethss: use of_get_phy_mode() to support different RGMII modes

2018-03-29 Thread Murali Karicheri
On 03/27/2018 01:35 PM, Andrew Lunn wrote: >> +} else if (slave->link_interface == RGMII_LINK_MAC_PHY) { >> +has_phy = true; >> +phy_mode = of_get_phy_mode(slave->node); >> +/* if phy-mode is not present, default to >> + *

Re: [0/9] UML vector network driver: Adjustments for three function implementations

2018-03-29 Thread SF Markus Elfring
> Date: Sun, 11 Mar 2018 16:06:16 +0100 > > Some update suggestions were taken into account > from static source code analysis. … > Delete unnecessary code in user_init_raw_fds() > Less checks in user_init_raw_fds() after error detection > Adjust an error message in user_init_socket_fds() >

Re: [0/9] UML vector network driver: Adjustments for three function implementations

2018-03-29 Thread SF Markus Elfring
> Date: Sun, 11 Mar 2018 16:06:16 +0100 > > Some update suggestions were taken into account > from static source code analysis. … > Delete unnecessary code in user_init_raw_fds() > Less checks in user_init_raw_fds() after error detection > Adjust an error message in user_init_socket_fds() >

Re: [kbuild-all] [PATCH] OPTIONAL: cpufreq/intel_pstate: fix debugfs_simple_attr.cocci warnings

2018-03-29 Thread Julia Lawall
On Thu, 29 Mar 2018, Fabio Estevam wrote: > Hi Julia, > > On Thu, Mar 29, 2018 at 4:12 PM, Julia Lawall wrote: > > Use DEFINE_DEBUGFS_ATTRIBUTE rather than DEFINE_SIMPLE_ATTRIBUTE > > for debugfs files. > > > > Semantic patch information: > > Rationale:

Re: [kbuild-all] [PATCH] OPTIONAL: cpufreq/intel_pstate: fix debugfs_simple_attr.cocci warnings

2018-03-29 Thread Julia Lawall
On Thu, 29 Mar 2018, Fabio Estevam wrote: > Hi Julia, > > On Thu, Mar 29, 2018 at 4:12 PM, Julia Lawall wrote: > > Use DEFINE_DEBUGFS_ATTRIBUTE rather than DEFINE_SIMPLE_ATTRIBUTE > > for debugfs files. > > > > Semantic patch information: > > Rationale: DEFINE_SIMPLE_ATTRIBUTE +

Re: [PATCHv4] phy: mapphone-mdm6600: Add USB PHY driver for MDM6600 on Droid 4

2018-03-29 Thread Pavel Machek
Hi! > > Does ofonod work for you? I could not get that one to work... > > Because it's looking for a Gobi modem but the MDM6600 isn't one and > doesn't expose that layout (and doesn't really need to anyway). I > don't think ofono has a generic QMI driver, so you'd either need to for > ce it to

Re: [PATCHv4] phy: mapphone-mdm6600: Add USB PHY driver for MDM6600 on Droid 4

2018-03-29 Thread Pavel Machek
Hi! > > Does ofonod work for you? I could not get that one to work... > > Because it's looking for a Gobi modem but the MDM6600 isn't one and > doesn't expose that layout (and doesn't really need to anyway). I > don't think ofono has a generic QMI driver, so you'd either need to for > ce it to

Re: [PATCH v4 4/7] dt-bindings: phy-qcom-qmp: Update bindings for sdm845

2018-03-29 Thread Doug Anderson
Hi, On Thu, Mar 29, 2018 at 4:04 AM, 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 without > DP capability. While at it also remove

Re: [PATCH v4 4/7] dt-bindings: phy-qcom-qmp: Update bindings for sdm845

2018-03-29 Thread Doug Anderson
Hi, On Thu, Mar 29, 2018 at 4:04 AM, 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 without > DP capability. While at it also remove "qcom,qmp-v3-usb3-phy" > compatible

Re: [kbuild-all] [PATCH] OPTIONAL: cpufreq/intel_pstate: fix debugfs_simple_attr.cocci warnings

2018-03-29 Thread Francisco Jerez
Fabio Estevam writes: > Hi Julia, > > On Thu, Mar 29, 2018 at 4:12 PM, Julia Lawall wrote: >> Use DEFINE_DEBUGFS_ATTRIBUTE rather than DEFINE_SIMPLE_ATTRIBUTE >> for debugfs files. >> >> Semantic patch information: >> Rationale:

Re: [kbuild-all] [PATCH] OPTIONAL: cpufreq/intel_pstate: fix debugfs_simple_attr.cocci warnings

2018-03-29 Thread Francisco Jerez
Fabio Estevam writes: > Hi Julia, > > On Thu, Mar 29, 2018 at 4:12 PM, Julia Lawall wrote: >> Use DEFINE_DEBUGFS_ATTRIBUTE rather than DEFINE_SIMPLE_ATTRIBUTE >> for debugfs files. >> >> Semantic patch information: >> Rationale: DEFINE_SIMPLE_ATTRIBUTE + debugfs_create_file() >> imposes

Re: [RFC][PATCH] ipc: Remove IPCMNI

2018-03-29 Thread Matthew Wilcox
On Thu, Mar 29, 2018 at 08:07:44PM +0200, Manfred Spraul wrote: > Hello Mathew, > > On 03/29/2018 12:56 PM, Matthew Wilcox wrote: > > On Thu, Mar 29, 2018 at 10:47:45AM +0200, Manfred Spraul wrote: > > > > > > > > This can be implemented trivially with the current code > > > > > > > > using

Re: [RFC][PATCH] ipc: Remove IPCMNI

2018-03-29 Thread Matthew Wilcox
On Thu, Mar 29, 2018 at 08:07:44PM +0200, Manfred Spraul wrote: > Hello Mathew, > > On 03/29/2018 12:56 PM, Matthew Wilcox wrote: > > On Thu, Mar 29, 2018 at 10:47:45AM +0200, Manfred Spraul wrote: > > > > > > > > This can be implemented trivially with the current code > > > > > > > > using

Re: [kbuild-all] [PATCH] OPTIONAL: cpufreq/intel_pstate: fix debugfs_simple_attr.cocci warnings

2018-03-29 Thread Fabio Estevam
Hi Julia, On Thu, Mar 29, 2018 at 4:12 PM, Julia Lawall wrote: > Use DEFINE_DEBUGFS_ATTRIBUTE rather than DEFINE_SIMPLE_ATTRIBUTE > for debugfs files. > > Semantic patch information: > Rationale: DEFINE_SIMPLE_ATTRIBUTE + debugfs_create_file() > imposes some significant

Re: [kbuild-all] [PATCH] OPTIONAL: cpufreq/intel_pstate: fix debugfs_simple_attr.cocci warnings

2018-03-29 Thread Fabio Estevam
Hi Julia, On Thu, Mar 29, 2018 at 4:12 PM, Julia Lawall wrote: > Use DEFINE_DEBUGFS_ATTRIBUTE rather than DEFINE_SIMPLE_ATTRIBUTE > for debugfs files. > > Semantic patch information: > Rationale: DEFINE_SIMPLE_ATTRIBUTE + debugfs_create_file() > imposes some significant overhead as compared

Re: [PATCH] drivers: gpio: pca953x: add compatibility for pcal6524 and pcal9555a

2018-03-29 Thread H. Nikolaus Schaller
Hi, > Am 28.03.2018 um 18:50 schrieb H. Nikolaus Schaller : > > Hi Linus, > >> Am 27.03.2018 um 15:02 schrieb Linus Walleij : >> >> On Sat, Mar 10, 2018 at 12:00 PM, H. Nikolaus Schaller >> wrote: >> >>> The Pyra-Handheld

Re: [PATCH] drivers: gpio: pca953x: add compatibility for pcal6524 and pcal9555a

2018-03-29 Thread H. Nikolaus Schaller
Hi, > Am 28.03.2018 um 18:50 schrieb H. Nikolaus Schaller : > > Hi Linus, > >> Am 27.03.2018 um 15:02 schrieb Linus Walleij : >> >> On Sat, Mar 10, 2018 at 12:00 PM, H. Nikolaus Schaller >> wrote: >> >>> The Pyra-Handheld originally used the tca6424 but recently we have >>> replaced it by

Re: [PATCH] OPTIONAL: cpufreq/intel_pstate: fix debugfs_simple_attr.cocci warnings

2018-03-29 Thread Francisco Jerez
Looks okay to me, I'll squash this into the original patch. Julia Lawall writes: > Use DEFINE_DEBUGFS_ATTRIBUTE rather than DEFINE_SIMPLE_ATTRIBUTE > for debugfs files. > > Semantic patch information: > Rationale: DEFINE_SIMPLE_ATTRIBUTE + debugfs_create_file() >

Re: [PATCH] OPTIONAL: cpufreq/intel_pstate: fix debugfs_simple_attr.cocci warnings

2018-03-29 Thread Francisco Jerez
Looks okay to me, I'll squash this into the original patch. Julia Lawall writes: > Use DEFINE_DEBUGFS_ATTRIBUTE rather than DEFINE_SIMPLE_ATTRIBUTE > for debugfs files. > > Semantic patch information: > Rationale: DEFINE_SIMPLE_ATTRIBUTE + debugfs_create_file() > imposes some significant

Re: [RFC PATCH v2 0/4] Eliminate zone->lock contention for will-it-scale/page_fault1 and parallel free

2018-03-29 Thread Daniel Jordan
On 03/20/2018 04:54 AM, Aaron Lu wrote: This series is meant to improve zone->lock scalability for order 0 pages. With will-it-scale/page_fault1 workload, on a 2 sockets Intel Skylake server with 112 CPUs, CPU spend 80% of its time spinning on zone->lock. Perf profile shows the most time

Re: [RFC PATCH v2 0/4] Eliminate zone->lock contention for will-it-scale/page_fault1 and parallel free

2018-03-29 Thread Daniel Jordan
On 03/20/2018 04:54 AM, Aaron Lu wrote: This series is meant to improve zone->lock scalability for order 0 pages. With will-it-scale/page_fault1 workload, on a 2 sockets Intel Skylake server with 112 CPUs, CPU spend 80% of its time spinning on zone->lock. Perf profile shows the most time

Re: [PATCH] qedr: ix spelling mistake: "hanlde" -> "handle"

2018-03-29 Thread Jason Gunthorpe
On Thu, Mar 29, 2018 at 01:11:07PM +0100, Colin King wrote: > From: Colin Ian King > > Trivial fix to spelling mistake in DP_ERR message text > > Signed-off-by: Colin Ian King > Reviewed-by: Shamir Rabinovitch

Re: [PATCH] qedr: ix spelling mistake: "hanlde" -> "handle"

2018-03-29 Thread Jason Gunthorpe
On Thu, Mar 29, 2018 at 01:11:07PM +0100, Colin King wrote: > From: Colin Ian King > > Trivial fix to spelling mistake in DP_ERR message text > > Signed-off-by: Colin Ian King > Reviewed-by: Shamir Rabinovitch > --- > drivers/infiniband/hw/qedr/main.c | 4 ++-- > 1 file changed, 2

<    1   2   3   4   5   6   7   8   9   10   >