[PATCH][net-next] net_sched: remove redundant assignment to ret

2017-09-29 Thread Colin King
From: Colin Ian King The assignment of -EINVAL to variable ret is redundant as it is being overwritten on the following error exit paths or to the return value from the following call to basic_set_parms. Fix this up by removing it. Cleans up clang warning message:

[PATCH][net-next] net_sched: remove redundant assignment to ret

2017-09-29 Thread Colin King
From: Colin Ian King The assignment of -EINVAL to variable ret is redundant as it is being overwritten on the following error exit paths or to the return value from the following call to basic_set_parms. Fix this up by removing it. Cleans up clang warning message: net/sched/cls_basic.c:185:2:

RE: [RESEND PATCH 2/6] staging: fsl-dpaa2/ethsw: Add Freescale DPAA2 Ethernet Switch driver

2017-09-29 Thread Razvan Stefanescu
> -Original Message- > From: Bogdan Purcareata > Sent: Friday, September 29, 2017 16:36 > To: Razvan Stefanescu ; > gre...@linuxfoundation.org > Cc: de...@driverdev.osuosl.org; linux-kernel@vger.kernel.org; > net...@vger.kernel.org; ag...@suse.de;

RE: [RESEND PATCH 2/6] staging: fsl-dpaa2/ethsw: Add Freescale DPAA2 Ethernet Switch driver

2017-09-29 Thread Razvan Stefanescu
> -Original Message- > From: Bogdan Purcareata > Sent: Friday, September 29, 2017 16:36 > To: Razvan Stefanescu ; > gre...@linuxfoundation.org > Cc: de...@driverdev.osuosl.org; linux-kernel@vger.kernel.org; > net...@vger.kernel.org; ag...@suse.de; a...@arndb.de; Alexandru Marginean > ;

Re: [PATCH] mm/madvise: enable soft offline of HugeTLB pages at PUD level

2017-09-29 Thread Kirill A. Shutemov
On Wed, Sep 13, 2017 at 12:10:47PM +0200, Alexandru Moise wrote: > since 94310cb we've been able to soft offline 1G hugepages at the PGD > level, however x86_64 gigantic hugepages are at the PUD level so we > should add an extra check to account for hstate order at PUD level. Have you tested

Re: [PATCH] mm/madvise: enable soft offline of HugeTLB pages at PUD level

2017-09-29 Thread Kirill A. Shutemov
On Wed, Sep 13, 2017 at 12:10:47PM +0200, Alexandru Moise wrote: > since 94310cb we've been able to soft offline 1G hugepages at the PGD > level, however x86_64 gigantic hugepages are at the PUD level so we > should add an extra check to account for hstate order at PUD level. Have you tested

[PATCH][rdma-next] RDMA/hns: remove redundant assignment to variable j

2017-09-29 Thread Colin King
From: Colin Ian King Variable j is being assigned to loop_j and then later being assigned to a new value in for loops. The first initialization is therefore redundant and can be removed. Cleans up clang warning: warning: Value stored to 'j' is never read

[PATCH][rdma-next] RDMA/hns: remove redundant assignment to variable j

2017-09-29 Thread Colin King
From: Colin Ian King Variable j is being assigned to loop_j and then later being assigned to a new value in for loops. The first initialization is therefore redundant and can be removed. Cleans up clang warning: warning: Value stored to 'j' is never read Signed-off-by: Colin Ian King ---

Re: [PATCH 3/3] pipe: add proc_dopipe_max_size() to safely assign pipe_max_size

2017-09-29 Thread kbuild test robot
-size-fixups/20170929-205234 config: i386-tinyconfig (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=i386 All errors (new ones prefixed by >>): fs/pipe.o: In function `pipe_p

Re: [PATCH 3/3] pipe: add proc_dopipe_max_size() to safely assign pipe_max_size

2017-09-29 Thread kbuild test robot
-size-fixups/20170929-205234 config: i386-tinyconfig (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=i386 All errors (new ones prefixed by >>): fs/pipe.o: In function `pipe_p

[git pull] IOMMU Fixes for Linux v4.14-rc2

2017-09-29 Thread Joerg Roedel
Hi Linus, The following changes since commit e19b205be43d11bff638cad4487008c48d21c103: Linux 4.14-rc2 (2017-09-24 16:38:56 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git tags/iommu-fixes-v4.14-rc2 for you to fetch changes up to

[git pull] IOMMU Fixes for Linux v4.14-rc2

2017-09-29 Thread Joerg Roedel
Hi Linus, The following changes since commit e19b205be43d11bff638cad4487008c48d21c103: Linux 4.14-rc2 (2017-09-24 16:38:56 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git tags/iommu-fixes-v4.14-rc2 for you to fetch changes up to

Re: [PATCH 2/4] clk: tegra: check BPMP response return code

2017-09-29 Thread Timo Alho
Hi Jon, On 21.09.2017 14:21, Jonathan Hunter wrote: On 07/09/17 10:31, Timo Alho wrote: Check return code in BPMP response message(s). The typical error case is when clock operation is attempted with invalid clock identifier. Also remove error print from call to clk_get_info() as the

Re: [PATCH 2/4] clk: tegra: check BPMP response return code

2017-09-29 Thread Timo Alho
Hi Jon, On 21.09.2017 14:21, Jonathan Hunter wrote: On 07/09/17 10:31, Timo Alho wrote: Check return code in BPMP response message(s). The typical error case is when clock operation is attempted with invalid clock identifier. Also remove error print from call to clk_get_info() as the

Re: [PATCH] extcon: Split out extcon header file for consumer and provider device

2017-09-29 Thread Sebastian Reichel
Hi, On Fri, Sep 29, 2017 at 09:01:45AM +0900, Chanwoo Choi wrote: > The extcon has two type of extcon devices as following. > - 'extcon provider deivce' adds new extcon device and detect the >state/properties of external connector. Also, it notifies the >state/properties to the extcon

Re: [PATCH] extcon: Split out extcon header file for consumer and provider device

2017-09-29 Thread Sebastian Reichel
Hi, On Fri, Sep 29, 2017 at 09:01:45AM +0900, Chanwoo Choi wrote: > The extcon has two type of extcon devices as following. > - 'extcon provider deivce' adds new extcon device and detect the >state/properties of external connector. Also, it notifies the >state/properties to the extcon

[PATCH v3 17/22][UPDATE] firmware: arm_scmi: add device power domain support genpd

2017-09-29 Thread Sudeep Holla
This patch hooks up the support for device power domain provided by SCMI using the Linux generic power domain infrastructure. Cc: Kevin Hilman Cc: Ulf Hansson Signed-off-by: Sudeep Holla --- drivers/firmware/Kconfig

[PATCH v3 17/22][UPDATE] firmware: arm_scmi: add device power domain support genpd

2017-09-29 Thread Sudeep Holla
This patch hooks up the support for device power domain provided by SCMI using the Linux generic power domain infrastructure. Cc: Kevin Hilman Cc: Ulf Hansson Signed-off-by: Sudeep Holla --- drivers/firmware/Kconfig | 13 +++ drivers/firmware/arm_scmi/Makefile | 1

Re: [PATCH v2 2/5] iio: Introduce the generic counter interface

2017-09-29 Thread Benjamin Gaignard
2017-09-25 20:08 GMT+02:00 William Breathitt Gray : > This patch introduces the IIO generic counter interface for supporting > counter devices. The generic counter interface serves as a catch-all to > enable rudimentary support for devices that qualify as counters. More >

Re: [PATCH v2 2/5] iio: Introduce the generic counter interface

2017-09-29 Thread Benjamin Gaignard
2017-09-25 20:08 GMT+02:00 William Breathitt Gray : > This patch introduces the IIO generic counter interface for supporting > counter devices. The generic counter interface serves as a catch-all to > enable rudimentary support for devices that qualify as counters. More > specific and apt counter

Re: [PATCH] firmware: tegra: add BPMP debugfs support

2017-09-29 Thread Timo Alho
Jon, Thanks for reviewing this! On 21.09.2017 14:10, Jonathan Hunter wrote: --- a/drivers/firmware/tegra/bpmp.c +++ b/drivers/firmware/tegra/bpmp.c @@ -824,6 +824,8 @@ static int tegra_bpmp_probe(struct platform_device *pdev) if (err < 0) goto free_mrq; +

Re: [PATCH] firmware: tegra: add BPMP debugfs support

2017-09-29 Thread Timo Alho
Jon, Thanks for reviewing this! On 21.09.2017 14:10, Jonathan Hunter wrote: --- a/drivers/firmware/tegra/bpmp.c +++ b/drivers/firmware/tegra/bpmp.c @@ -824,6 +824,8 @@ static int tegra_bpmp_probe(struct platform_device *pdev) if (err < 0) goto free_mrq; +

Re: [PATCH v3 17/22] firmware: arm_scmi: add device power domain support using genpd

2017-09-29 Thread Sudeep Holla
On 28/09/17 22:18, Ulf Hansson wrote: > On 28 September 2017 at 15:11, Sudeep Holla wrote: >> This patch hooks up the support for device power domain provided by >> SCMI using the Linux generic power domain infrastructure. >> >> Cc: Kevin Hilman >>

Re: [PATCH v3 17/22] firmware: arm_scmi: add device power domain support using genpd

2017-09-29 Thread Sudeep Holla
On 28/09/17 22:18, Ulf Hansson wrote: > On 28 September 2017 at 15:11, Sudeep Holla wrote: >> This patch hooks up the support for device power domain provided by >> SCMI using the Linux generic power domain infrastructure. >> >> Cc: Kevin Hilman >> Cc: Ulf Hansson >> Signed-off-by: Sudeep

usb/input/iforce: URB submitted while active in iforce_get_id_packet

2017-09-29 Thread Andrey Konovalov
Hi! I've been getting reports like the one below while fuzzing the kernel with syzkaller. I can't reproduce the issue without the local changes I have to USB core, but this is only place where I get a report like this, and I'm trying to understand whether it is legit. iforce_init_device() calls

usb/input/iforce: URB submitted while active in iforce_get_id_packet

2017-09-29 Thread Andrey Konovalov
Hi! I've been getting reports like the one below while fuzzing the kernel with syzkaller. I can't reproduce the issue without the local changes I have to USB core, but this is only place where I get a report like this, and I'm trying to understand whether it is legit. iforce_init_device() calls

RE: [RESEND PATCH 2/6] staging: fsl-dpaa2/ethsw: Add Freescale DPAA2 Ethernet Switch driver

2017-09-29 Thread Bogdan Purcareata
> Introduce the DPAA2 Ethernet Switch driver, which manages Datapath Switch > (DPSW) objects discovered on the MC bus. > > Suggested-by: Alexandru Marginean > Signed-off-by: Razvan Stefanescu > --- >

RE: [RESEND PATCH 2/6] staging: fsl-dpaa2/ethsw: Add Freescale DPAA2 Ethernet Switch driver

2017-09-29 Thread Bogdan Purcareata
> Introduce the DPAA2 Ethernet Switch driver, which manages Datapath Switch > (DPSW) objects discovered on the MC bus. > > Suggested-by: Alexandru Marginean > Signed-off-by: Razvan Stefanescu > --- > drivers/staging/fsl-dpaa2/ethsw/Makefile |2 +- > drivers/staging/fsl-dpaa2/ethsw/ethsw.c

[PATCH][net-next] net: ipmr: make function ipmr_notifier_init static

2017-09-29 Thread Colin King
From: Colin Ian King The function ipmr_notifier_init is local to the source and does not need to be in global scope, so make it static. Cleans up sparse warning: warning: symbol 'ipmr_notifier_init' was not declared. Should it be static? Signed-off-by: Colin Ian King

[PATCH][net-next] net: ipmr: make function ipmr_notifier_init static

2017-09-29 Thread Colin King
From: Colin Ian King The function ipmr_notifier_init is local to the source and does not need to be in global scope, so make it static. Cleans up sparse warning: warning: symbol 'ipmr_notifier_init' was not declared. Should it be static? Signed-off-by: Colin Ian King --- net/ipv4/ipmr.c | 2

[PATCH v2] mtd: nand: pxa3xx_nand: Update Kconfig information

2017-09-29 Thread Gregory CLEMENT
More and more SoCs use the pxa3xx_nand driver for their controller but the list of them was not updated. This patch add the last SoCs using the driver. Signed-off-by: Gregory CLEMENT --- Changelog v1->v2: - Improve wording thanks to Thomas Petazzoni

[PATCH v2] mtd: nand: pxa3xx_nand: Update Kconfig information

2017-09-29 Thread Gregory CLEMENT
More and more SoCs use the pxa3xx_nand driver for their controller but the list of them was not updated. This patch add the last SoCs using the driver. Signed-off-by: Gregory CLEMENT --- Changelog v1->v2: - Improve wording thanks to Thomas Petazzoni drivers/mtd/nand/Kconfig | 5 - 1 file

Re: [GIT PULL] Introduce housekeeping subsystem v4

2017-09-29 Thread Frederic Weisbecker
On 28/09/2017 11:54, Ingo Molnar wrote: * Frederic Weisbecker wrote: Ingo, Please pull the core/isolation-v4 branch that can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git core/isolation-v4 HEAD:

Re: [GIT PULL] Introduce housekeeping subsystem v4

2017-09-29 Thread Frederic Weisbecker
On 28/09/2017 11:54, Ingo Molnar wrote: * Frederic Weisbecker wrote: Ingo, Please pull the core/isolation-v4 branch that can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git core/isolation-v4 HEAD: cf4c55aad44251369c8507c3823f9f9c51d4dc77

Re: [PATCH 3/4] pci aer: fix deadlock in do_recovery

2017-09-29 Thread Sinan Kaya
On 9/28/2017 7:46 PM, Govindarajulu Varadarajan wrote: >> How about releasing the device_lock here on CPU0?> > > pci_device_add() is called by driver's pci probe function. device_lock(dev) > should be held before calling pci driver probe function. I see. The goal of the lock held here is to

Re: [PATCH 3/4] pci aer: fix deadlock in do_recovery

2017-09-29 Thread Sinan Kaya
On 9/28/2017 7:46 PM, Govindarajulu Varadarajan wrote: >> How about releasing the device_lock here on CPU0?> > > pci_device_add() is called by driver's pci probe function. device_lock(dev) > should be held before calling pci driver probe function. I see. The goal of the lock held here is to

[PATCH v2 02/16] hyper-v: trace vmbus_on_message()

2017-09-29 Thread Vitaly Kuznetsov
Add tracepoint to vmbus_on_message() which is called when we start processing a blocking from work context. Signed-off-by: Vitaly Kuznetsov --- drivers/hv/channel_mgmt.c | 2 ++ drivers/hv/hv_trace.h | 5 + 2 files changed, 7 insertions(+) diff --git

[PATCH v2 02/16] hyper-v: trace vmbus_on_message()

2017-09-29 Thread Vitaly Kuznetsov
Add tracepoint to vmbus_on_message() which is called when we start processing a blocking from work context. Signed-off-by: Vitaly Kuznetsov --- drivers/hv/channel_mgmt.c | 2 ++ drivers/hv/hv_trace.h | 5 + 2 files changed, 7 insertions(+) diff --git a/drivers/hv/channel_mgmt.c

[PATCH v2 04/16] hyper-v: trace vmbus_onoffer_rescind()

2017-09-29 Thread Vitaly Kuznetsov
Add tracepoint to CHANNELMSG_RESCIND_CHANNELOFFER handler. Signed-off-by: Vitaly Kuznetsov --- drivers/hv/channel_mgmt.c | 2 ++ drivers/hv/hv_trace.h | 8 2 files changed, 10 insertions(+) diff --git a/drivers/hv/channel_mgmt.c b/drivers/hv/channel_mgmt.c

[PATCH v2 01/16] hyper-v: trace vmbus_on_msg_dpc()

2017-09-29 Thread Vitaly Kuznetsov
Add tracing subsystem to Hyper-V VMBus module and add tracepoint to vmbus_on_msg_dpc() which is called when we receive a message from host. Signed-off-by: Vitaly Kuznetsov --- drivers/hv/Makefile | 4 +++- drivers/hv/hv_trace.c | 4 drivers/hv/hv_trace.h

[PATCH v2 04/16] hyper-v: trace vmbus_onoffer_rescind()

2017-09-29 Thread Vitaly Kuznetsov
Add tracepoint to CHANNELMSG_RESCIND_CHANNELOFFER handler. Signed-off-by: Vitaly Kuznetsov --- drivers/hv/channel_mgmt.c | 2 ++ drivers/hv/hv_trace.h | 8 2 files changed, 10 insertions(+) diff --git a/drivers/hv/channel_mgmt.c b/drivers/hv/channel_mgmt.c index

[PATCH v2 01/16] hyper-v: trace vmbus_on_msg_dpc()

2017-09-29 Thread Vitaly Kuznetsov
Add tracing subsystem to Hyper-V VMBus module and add tracepoint to vmbus_on_msg_dpc() which is called when we receive a message from host. Signed-off-by: Vitaly Kuznetsov --- drivers/hv/Makefile | 4 +++- drivers/hv/hv_trace.c | 4 drivers/hv/hv_trace.h | 29

[PATCH v2 08/16] hyper-v: trace vmbus_onversion_response()

2017-09-29 Thread Vitaly Kuznetsov
Add tracepoint to CHANNELMSG_VERSION_RESPONSE handler. Signed-off-by: Vitaly Kuznetsov --- drivers/hv/channel_mgmt.c | 3 +++ drivers/hv/hv_trace.h | 11 +++ 2 files changed, 14 insertions(+) diff --git a/drivers/hv/channel_mgmt.c b/drivers/hv/channel_mgmt.c

[PATCH v2 06/16] hyper-v: trace vmbus_ongpadl_created()

2017-09-29 Thread Vitaly Kuznetsov
Add tracepoint to CHANNELMSG_GPADL_CREATED handler. Signed-off-by: Vitaly Kuznetsov --- drivers/hv/channel_mgmt.c | 2 ++ drivers/hv/hv_trace.h | 17 + 2 files changed, 19 insertions(+) diff --git a/drivers/hv/channel_mgmt.c b/drivers/hv/channel_mgmt.c

[PATCH v2 08/16] hyper-v: trace vmbus_onversion_response()

2017-09-29 Thread Vitaly Kuznetsov
Add tracepoint to CHANNELMSG_VERSION_RESPONSE handler. Signed-off-by: Vitaly Kuznetsov --- drivers/hv/channel_mgmt.c | 3 +++ drivers/hv/hv_trace.h | 11 +++ 2 files changed, 14 insertions(+) diff --git a/drivers/hv/channel_mgmt.c b/drivers/hv/channel_mgmt.c index

[PATCH v2 06/16] hyper-v: trace vmbus_ongpadl_created()

2017-09-29 Thread Vitaly Kuznetsov
Add tracepoint to CHANNELMSG_GPADL_CREATED handler. Signed-off-by: Vitaly Kuznetsov --- drivers/hv/channel_mgmt.c | 2 ++ drivers/hv/hv_trace.h | 17 + 2 files changed, 19 insertions(+) diff --git a/drivers/hv/channel_mgmt.c b/drivers/hv/channel_mgmt.c index

[PATCH v2 09/16] hyper-v: trace vmbus_request_offers()

2017-09-29 Thread Vitaly Kuznetsov
Add tracepoint to CHANNELMSG_REQUESTOFFERS sender. Signed-off-by: Vitaly Kuznetsov --- drivers/hv/channel_mgmt.c | 4 +++- drivers/hv/hv_trace.h | 8 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/drivers/hv/channel_mgmt.c

[PATCH v2 09/16] hyper-v: trace vmbus_request_offers()

2017-09-29 Thread Vitaly Kuznetsov
Add tracepoint to CHANNELMSG_REQUESTOFFERS sender. Signed-off-by: Vitaly Kuznetsov --- drivers/hv/channel_mgmt.c | 4 +++- drivers/hv/hv_trace.h | 8 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/drivers/hv/channel_mgmt.c b/drivers/hv/channel_mgmt.c index

[PATCH v2 07/16] hyper-v: trace vmbus_ongpadl_torndown()

2017-09-29 Thread Vitaly Kuznetsov
Add tracepoint to CHANNELMSG_GPADL_TORNDOWN handler. Signed-off-by: Vitaly Kuznetsov --- drivers/hv/channel_mgmt.c | 2 ++ drivers/hv/hv_trace.h | 8 2 files changed, 10 insertions(+) diff --git a/drivers/hv/channel_mgmt.c b/drivers/hv/channel_mgmt.c index

[PATCH v2 07/16] hyper-v: trace vmbus_ongpadl_torndown()

2017-09-29 Thread Vitaly Kuznetsov
Add tracepoint to CHANNELMSG_GPADL_TORNDOWN handler. Signed-off-by: Vitaly Kuznetsov --- drivers/hv/channel_mgmt.c | 2 ++ drivers/hv/hv_trace.h | 8 2 files changed, 10 insertions(+) diff --git a/drivers/hv/channel_mgmt.c b/drivers/hv/channel_mgmt.c index

[PATCH v2 10/16] hyper-v: trace vmbus_open()

2017-09-29 Thread Vitaly Kuznetsov
Add tracepoint to CHANNELMSG_OPENCHANNEL sender. Signed-off-by: Vitaly Kuznetsov --- drivers/hv/channel.c | 2 ++ drivers/hv/hv_trace.h | 27 +++ 2 files changed, 29 insertions(+) diff --git a/drivers/hv/channel.c b/drivers/hv/channel.c index

[PATCH v2 11/16] hyper-v: trace vmbus_close_internal()

2017-09-29 Thread Vitaly Kuznetsov
Add tracepoint to CHANNELMSG_CLOSECHANNEL sender. Signed-off-by: Vitaly Kuznetsov --- drivers/hv/channel.c | 2 ++ drivers/hv/hv_trace.h | 15 +++ 2 files changed, 17 insertions(+) diff --git a/drivers/hv/channel.c b/drivers/hv/channel.c index

[PATCH v2 11/16] hyper-v: trace vmbus_close_internal()

2017-09-29 Thread Vitaly Kuznetsov
Add tracepoint to CHANNELMSG_CLOSECHANNEL sender. Signed-off-by: Vitaly Kuznetsov --- drivers/hv/channel.c | 2 ++ drivers/hv/hv_trace.h | 15 +++ 2 files changed, 17 insertions(+) diff --git a/drivers/hv/channel.c b/drivers/hv/channel.c index 82cb57e2d6bd..f919d9dd984b 100644

[PATCH v2 10/16] hyper-v: trace vmbus_open()

2017-09-29 Thread Vitaly Kuznetsov
Add tracepoint to CHANNELMSG_OPENCHANNEL sender. Signed-off-by: Vitaly Kuznetsov --- drivers/hv/channel.c | 2 ++ drivers/hv/hv_trace.h | 27 +++ 2 files changed, 29 insertions(+) diff --git a/drivers/hv/channel.c b/drivers/hv/channel.c index

Re: [PATCH v3 3/3] kernel/uprobes: Fix check for active uprobe

2017-09-29 Thread Srikar Dronamraju
> > > > --- a/kernel/events/uprobes.c > > +++ b/kernel/events/uprobes.c > > @@ -1751,6 +1751,19 @@ static struct uprobe *find_active_uprobe(unsigned > > long bp_vaddr, int *is_swbp) > > uprobe = find_uprobe(inode, offset); > > } > > > > + /* Ensure that

Re: [PATCH v3 3/3] kernel/uprobes: Fix check for active uprobe

2017-09-29 Thread Srikar Dronamraju
> > > > --- a/kernel/events/uprobes.c > > +++ b/kernel/events/uprobes.c > > @@ -1751,6 +1751,19 @@ static struct uprobe *find_active_uprobe(unsigned > > long bp_vaddr, int *is_swbp) > > uprobe = find_uprobe(inode, offset); > > } > > > > + /* Ensure that

[PATCH v2 13/16] hyper-v: trace vmbus_teardown_gpadl()

2017-09-29 Thread Vitaly Kuznetsov
Add tracepoint to CHANNELMSG_GPADL_TEARDOWN sender. Signed-off-by: Vitaly Kuznetsov --- drivers/hv/channel.c | 2 ++ drivers/hv/hv_trace.h | 18 ++ 2 files changed, 20 insertions(+) diff --git a/drivers/hv/channel.c b/drivers/hv/channel.c index

[PATCH v2 13/16] hyper-v: trace vmbus_teardown_gpadl()

2017-09-29 Thread Vitaly Kuznetsov
Add tracepoint to CHANNELMSG_GPADL_TEARDOWN sender. Signed-off-by: Vitaly Kuznetsov --- drivers/hv/channel.c | 2 ++ drivers/hv/hv_trace.h | 18 ++ 2 files changed, 20 insertions(+) diff --git a/drivers/hv/channel.c b/drivers/hv/channel.c index cf6bc0667cde..9cb81838e7bb

[PATCH v2 15/16] hyper-v: trace vmbus_release_relid()

2017-09-29 Thread Vitaly Kuznetsov
Add tracepoint to CHANNELMSG_RELID_RELEASED sender. Signed-off-by: Vitaly Kuznetsov --- drivers/hv/channel_mgmt.c | 7 +-- drivers/hv/hv_trace.h | 16 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/drivers/hv/channel_mgmt.c

[PATCH v2 15/16] hyper-v: trace vmbus_release_relid()

2017-09-29 Thread Vitaly Kuznetsov
Add tracepoint to CHANNELMSG_RELID_RELEASED sender. Signed-off-by: Vitaly Kuznetsov --- drivers/hv/channel_mgmt.c | 7 +-- drivers/hv/hv_trace.h | 16 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/drivers/hv/channel_mgmt.c b/drivers/hv/channel_mgmt.c

Re: [PATCHv1 00/14] omapdrm: DSI command mode panel support

2017-09-29 Thread Sebastian Reichel
Hi Tomi & Laurent, ping? -- Sebastian On Mon, Jul 24, 2017 at 07:32:57PM +0200, Sebastian Reichel wrote: > Hi, > > This adds support for command mode DSI panels to > omapdrm. I tested the patches on Nokia N950 (omap3) > and Motorola Droid 4 (omap4). This is basically > PATCHv3 of my series

[PATCH] seccomp: make function __get_seccomp_filter static

2017-09-29 Thread Colin King
From: Colin Ian King The function __get_seccomp_filter is local to the source and does not need to be in global scope, so make it static. Cleans up sparse warning: symbol '__get_seccomp_filter' was not declared. Should it be static? Signed-off-by: Colin Ian King

Re: [PATCHv1 00/14] omapdrm: DSI command mode panel support

2017-09-29 Thread Sebastian Reichel
Hi Tomi & Laurent, ping? -- Sebastian On Mon, Jul 24, 2017 at 07:32:57PM +0200, Sebastian Reichel wrote: > Hi, > > This adds support for command mode DSI panels to > omapdrm. I tested the patches on Nokia N950 (omap3) > and Motorola Droid 4 (omap4). This is basically > PATCHv3 of my series

[PATCH] seccomp: make function __get_seccomp_filter static

2017-09-29 Thread Colin King
From: Colin Ian King The function __get_seccomp_filter is local to the source and does not need to be in global scope, so make it static. Cleans up sparse warning: symbol '__get_seccomp_filter' was not declared. Should it be static? Signed-off-by: Colin Ian King --- kernel/seccomp.c | 2 +-

[PATCH v2 12/16] hyper-v: trace vmbus_establish_gpadl()

2017-09-29 Thread Vitaly Kuznetsov
Add tracepoint to CHANNELMSG_GPADL_HEADER/CHANNELMSG_GPADL_BODY sender. Signed-off-by: Vitaly Kuznetsov --- drivers/hv/channel.c | 6 ++ drivers/hv/hv_trace.h | 42 ++ 2 files changed, 48 insertions(+) diff --git

[PATCH v2 12/16] hyper-v: trace vmbus_establish_gpadl()

2017-09-29 Thread Vitaly Kuznetsov
Add tracepoint to CHANNELMSG_GPADL_HEADER/CHANNELMSG_GPADL_BODY sender. Signed-off-by: Vitaly Kuznetsov --- drivers/hv/channel.c | 6 ++ drivers/hv/hv_trace.h | 42 ++ 2 files changed, 48 insertions(+) diff --git a/drivers/hv/channel.c

[PATCH v2 14/16] hyper-v: trace vmbus_negotiate_version()

2017-09-29 Thread Vitaly Kuznetsov
Add tracepoint to CHANNELMSG_INITIATE_CONTACT sender. Signed-off-by: Vitaly Kuznetsov --- drivers/hv/connection.c | 3 +++ drivers/hv/hv_trace.h | 26 ++ 2 files changed, 29 insertions(+) diff --git a/drivers/hv/connection.c

[PATCH v2 14/16] hyper-v: trace vmbus_negotiate_version()

2017-09-29 Thread Vitaly Kuznetsov
Add tracepoint to CHANNELMSG_INITIATE_CONTACT sender. Signed-off-by: Vitaly Kuznetsov --- drivers/hv/connection.c | 3 +++ drivers/hv/hv_trace.h | 26 ++ 2 files changed, 29 insertions(+) diff --git a/drivers/hv/connection.c b/drivers/hv/connection.c index

[PATCH v2 16/16] hyper-v: trace vmbus_send_tl_connect_request()

2017-09-29 Thread Vitaly Kuznetsov
Add tracepoint to CHANNELMSG_TL_CONNECT_REQUEST sender. Signed-off-by: Vitaly Kuznetsov --- drivers/hv/channel.c | 7 ++- drivers/hv/hv_trace.h | 20 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/drivers/hv/channel.c

[PATCH v2 16/16] hyper-v: trace vmbus_send_tl_connect_request()

2017-09-29 Thread Vitaly Kuznetsov
Add tracepoint to CHANNELMSG_TL_CONNECT_REQUEST sender. Signed-off-by: Vitaly Kuznetsov --- drivers/hv/channel.c | 7 ++- drivers/hv/hv_trace.h | 20 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/drivers/hv/channel.c b/drivers/hv/channel.c index

[PATCH v2 05/16] hyper-v: trace vmbus_onopen_result()

2017-09-29 Thread Vitaly Kuznetsov
Add tracepoint to CHANNELMSG_OPENCHANNEL_RESULT handler. Signed-off-by: Vitaly Kuznetsov --- drivers/hv/channel_mgmt.c | 2 ++ drivers/hv/hv_trace.h | 17 + 2 files changed, 19 insertions(+) diff --git a/drivers/hv/channel_mgmt.c

[PATCH v2 05/16] hyper-v: trace vmbus_onopen_result()

2017-09-29 Thread Vitaly Kuznetsov
Add tracepoint to CHANNELMSG_OPENCHANNEL_RESULT handler. Signed-off-by: Vitaly Kuznetsov --- drivers/hv/channel_mgmt.c | 2 ++ drivers/hv/hv_trace.h | 17 + 2 files changed, 19 insertions(+) diff --git a/drivers/hv/channel_mgmt.c b/drivers/hv/channel_mgmt.c index

[PATCH v2 03/16] hyper-v: trace vmbus_onoffer()

2017-09-29 Thread Vitaly Kuznetsov
Add tracepoint to CHANNELMSG_OFFERCHANNEL handler. Signed-off-by: Vitaly Kuznetsov --- drivers/hv/channel_mgmt.c | 2 ++ drivers/hv/hv_trace.h | 37 + 2 files changed, 39 insertions(+) diff --git a/drivers/hv/channel_mgmt.c

[PATCH v2 03/16] hyper-v: trace vmbus_onoffer()

2017-09-29 Thread Vitaly Kuznetsov
Add tracepoint to CHANNELMSG_OFFERCHANNEL handler. Signed-off-by: Vitaly Kuznetsov --- drivers/hv/channel_mgmt.c | 2 ++ drivers/hv/hv_trace.h | 37 + 2 files changed, 39 insertions(+) diff --git a/drivers/hv/channel_mgmt.c b/drivers/hv/channel_mgmt.c

[PATCH v2 00/16] Hyper-V: add tracing to VMBus module and trace all messages

2017-09-29 Thread Vitaly Kuznetsov
Changes since v1: - Use DECLARE_EVENT_CLASS/DEFINE_EVENT_PRINT for vmbus_on_msg_dpc/ vmbus_onmessage tracing (Steven Rostedt) Messages between guest and host are used in Hyper-V as control flow. To simplify debugging various issues which are often hard to reproduce add tracepoints to all

[PATCH v2 00/16] Hyper-V: add tracing to VMBus module and trace all messages

2017-09-29 Thread Vitaly Kuznetsov
Changes since v1: - Use DECLARE_EVENT_CLASS/DEFINE_EVENT_PRINT for vmbus_on_msg_dpc/ vmbus_onmessage tracing (Steven Rostedt) Messages between guest and host are used in Hyper-V as control flow. To simplify debugging various issues which are often hard to reproduce add tracepoints to all

Re: [PATCH] PCI: Fix legacy IRQ assignment execution stage

2017-09-29 Thread Lorenzo Pieralisi
On Thu, Sep 28, 2017 at 05:37:19PM -0500, Bjorn Helgaas wrote: > On Thu, Sep 28, 2017 at 12:37:07PM +0100, Lorenzo Pieralisi wrote: > > Through struct pci_host_bridge->{map/swizzle}_irq() hooks is now > > possible to define IRQ mapping functions on a per PCI host bridge basis. > > > > Actual IRQ

Re: [PATCH] PCI: Fix legacy IRQ assignment execution stage

2017-09-29 Thread Lorenzo Pieralisi
On Thu, Sep 28, 2017 at 05:37:19PM -0500, Bjorn Helgaas wrote: > On Thu, Sep 28, 2017 at 12:37:07PM +0100, Lorenzo Pieralisi wrote: > > Through struct pci_host_bridge->{map/swizzle}_irq() hooks is now > > possible to define IRQ mapping functions on a per PCI host bridge basis. > > > > Actual IRQ

Re: [lkp-robot] [x86/mm] 9e52fc2b50: will-it-scale.per_thread_ops -16% regression

2017-09-29 Thread Peter Zijlstra
On Fri, Sep 29, 2017 at 03:13:29PM +0200, Peter Zijlstra wrote: > On Fri, Sep 29, 2017 at 02:24:03PM +0200, Vitaly Kuznetsov wrote: > > 1) In case the system is under extreme memory pressure and > > __get_free_page() is failing in tlb_remove_table() we'll be doing > > smp_call_function() for

Re: [lkp-robot] [x86/mm] 9e52fc2b50: will-it-scale.per_thread_ops -16% regression

2017-09-29 Thread Peter Zijlstra
On Fri, Sep 29, 2017 at 03:13:29PM +0200, Peter Zijlstra wrote: > On Fri, Sep 29, 2017 at 02:24:03PM +0200, Vitaly Kuznetsov wrote: > > 1) In case the system is under extreme memory pressure and > > __get_free_page() is failing in tlb_remove_table() we'll be doing > > smp_call_function() for

[PATCH][rdma-next] RDMA/hns: make various function static, fixes warnings

2017-09-29 Thread Colin King
From: Colin Ian King The functions hns_roce_table_mhop_get, hns_roce_table_mhop_put, hns_roce_cleanup_mhop_hem_table, hns_roce_v1_post_mbox, hns_roce_cmq_setup_basic_desc, hns_roce_cmq_send, hns_roce_cmq_query_hw_info are all local to the source and do not need to be

[PATCH][rdma-next] RDMA/hns: make various function static, fixes warnings

2017-09-29 Thread Colin King
From: Colin Ian King The functions hns_roce_table_mhop_get, hns_roce_table_mhop_put, hns_roce_cleanup_mhop_hem_table, hns_roce_v1_post_mbox, hns_roce_cmq_setup_basic_desc, hns_roce_cmq_send, hns_roce_cmq_query_hw_info are all local to the source and do not need to be in global scope, so make

Re: [PATCH for-next 3/9] RDMA/hns: Add return statement when kzalloc return NULL in hns_roce_v1_recreate_lp_qp

2017-09-29 Thread Wei Hu (Xavier)
On 2017/9/29 18:23, Leon Romanovsky wrote: On Fri, Sep 29, 2017 at 02:07:22PM +0800, Wei Hu (Xavier) wrote: On 2017/9/28 20:59, Leon Romanovsky wrote: On Thu, Sep 28, 2017 at 07:56:59PM +0800, Wei Hu (Xavier) wrote: On 2017/9/28 17:13, Leon Romanovsky wrote: On Thu, Sep 28, 2017 at

Re: [PATCH for-next 3/9] RDMA/hns: Add return statement when kzalloc return NULL in hns_roce_v1_recreate_lp_qp

2017-09-29 Thread Wei Hu (Xavier)
On 2017/9/29 18:23, Leon Romanovsky wrote: On Fri, Sep 29, 2017 at 02:07:22PM +0800, Wei Hu (Xavier) wrote: On 2017/9/28 20:59, Leon Romanovsky wrote: On Thu, Sep 28, 2017 at 07:56:59PM +0800, Wei Hu (Xavier) wrote: On 2017/9/28 17:13, Leon Romanovsky wrote: On Thu, Sep 28, 2017 at

Re: [PATCH v2] iio: dummy: evgen: use irq_sim

2017-09-29 Thread Lars-Peter Clausen
On 09/28/2017 12:56 PM, Bartosz Golaszewski wrote: > Switch to using the recently added interrupt simulator for dummy irqs. > > Signed-off-by: Bartosz Golaszewski Reviewed-by: Lars-Peter Clausen Tested-by: Lars-Peter Clausen I've backported

Re: [PATCH v2] iio: dummy: evgen: use irq_sim

2017-09-29 Thread Lars-Peter Clausen
On 09/28/2017 12:56 PM, Bartosz Golaszewski wrote: > Switch to using the recently added interrupt simulator for dummy irqs. > > Signed-off-by: Bartosz Golaszewski Reviewed-by: Lars-Peter Clausen Tested-by: Lars-Peter Clausen I've backported irq_sim to v4.9 for testing and got compile errors

Re: How to verify linux-next

2017-09-29 Thread Damian Tometzki
Hello, Ubuntu 16.04 with current linux-next Kernel workson virtualbox 5.1.28 Host: Windows 10 Guest: Ubuntu 16.04 Best regards Damian Am Freitag, den 29.09.2017, 08:41 -0400 schrieb valdis.kletni...@vt.edu: > On Fri, 29 Sep 2017 16:08:07 +0530, Pintu Kumar said: > > > > > I have a general

Re: How to verify linux-next

2017-09-29 Thread Damian Tometzki
Hello, Ubuntu 16.04 with current linux-next Kernel workson virtualbox 5.1.28 Host: Windows 10 Guest: Ubuntu 16.04 Best regards Damian Am Freitag, den 29.09.2017, 08:41 -0400 schrieb valdis.kletni...@vt.edu: > On Fri, 29 Sep 2017 16:08:07 +0530, Pintu Kumar said: > > > > > I have a general

[PATCH] CLK: ARC: Set initial pll output frequency specified in device tree

2017-09-29 Thread Eugeniy Paltsev
Add option to set initial output frequency of plls via "clock-frequency" property in pll's device tree node. This frequency will be set while pll driver probed. The usage example is setting CPU clock frequency on boot See discussion:

[PATCH] CLK: ARC: Set initial pll output frequency specified in device tree

2017-09-29 Thread Eugeniy Paltsev
Add option to set initial output frequency of plls via "clock-frequency" property in pll's device tree node. This frequency will be set while pll driver probed. The usage example is setting CPU clock frequency on boot See discussion:

Re: [lkp-robot] [x86/mm] 9e52fc2b50: will-it-scale.per_thread_ops -16% regression

2017-09-29 Thread Peter Zijlstra
On Fri, Sep 29, 2017 at 02:24:03PM +0200, Vitaly Kuznetsov wrote: > 1) In case the system is under extreme memory pressure and > __get_free_page() is failing in tlb_remove_table() we'll be doing > smp_call_function() for _each_ call (avoiding batching). We may want to > have a pre-allocated pool.

Re: [lkp-robot] [x86/mm] 9e52fc2b50: will-it-scale.per_thread_ops -16% regression

2017-09-29 Thread Peter Zijlstra
On Fri, Sep 29, 2017 at 02:24:03PM +0200, Vitaly Kuznetsov wrote: > 1) In case the system is under extreme memory pressure and > __get_free_page() is failing in tlb_remove_table() we'll be doing > smp_call_function() for _each_ call (avoiding batching). We may want to > have a pre-allocated pool.

Re: [PATCH v1 07/14] tee: optee: add shared buffer registration functions

2017-09-29 Thread Mark Rutland
On Thu, Sep 28, 2017 at 09:04:04PM +0300, Volodymyr Babchuk wrote: > From: Volodymyr Babchuk > > This change adds ops for shm_(un)register functions in tee interface. > Client application can use these functions to (un)register an own shared > buffer in OP-TEE address

Re: [PATCH v1 07/14] tee: optee: add shared buffer registration functions

2017-09-29 Thread Mark Rutland
On Thu, Sep 28, 2017 at 09:04:04PM +0300, Volodymyr Babchuk wrote: > From: Volodymyr Babchuk > > This change adds ops for shm_(un)register functions in tee interface. > Client application can use these functions to (un)register an own shared > buffer in OP-TEE address space. This allows zero

Re: [PATCH -v2 02/18] sched/fair: Add comment to calc_cfs_shares()

2017-09-29 Thread Morten Rasmussen
On Fri, Sep 29, 2017 at 01:35:00PM +0200, Peter Zijlstra wrote: > On Thu, Sep 28, 2017 at 11:03:03AM +0100, Morten Rasmussen wrote: > > IIUC, if grq->avg.load_avg > grq->load.weight, i.e. you have blocked > > tasks, you can end up with underestimating the ge->load.weight for some > > of the group

Re: [PATCH -v2 02/18] sched/fair: Add comment to calc_cfs_shares()

2017-09-29 Thread Morten Rasmussen
On Fri, Sep 29, 2017 at 01:35:00PM +0200, Peter Zijlstra wrote: > On Thu, Sep 28, 2017 at 11:03:03AM +0100, Morten Rasmussen wrote: > > IIUC, if grq->avg.load_avg > grq->load.weight, i.e. you have blocked > > tasks, you can end up with underestimating the ge->load.weight for some > > of the group

Re: [PATCH v1 06/14] tee: optee: add page list manipulation functions

2017-09-29 Thread Mark Rutland
On Thu, Sep 28, 2017 at 09:04:03PM +0300, Volodymyr Babchuk wrote: > +/** > + * optee_fill_pages_list() - write list of user pages to given shared > + * buffer. > + * > + * @dst: page-aligned buffer where list of pages will be stored > + * @pages: array of pages that represents shared buffer > + *

Re: [PATCH v1 06/14] tee: optee: add page list manipulation functions

2017-09-29 Thread Mark Rutland
On Thu, Sep 28, 2017 at 09:04:03PM +0300, Volodymyr Babchuk wrote: > +/** > + * optee_fill_pages_list() - write list of user pages to given shared > + * buffer. > + * > + * @dst: page-aligned buffer where list of pages will be stored > + * @pages: array of pages that represents shared buffer > + *

Re: [PATCH][trace-cmd] trace-view: Pick up sched_wakeup_new event

2017-09-29 Thread Steven Rostedt
On Fri, 29 Sep 2017 13:49:31 +0200 Jan Kiszka wrote: > On 2017-09-29 13:29, Jan Kiszka wrote: > > From: Jan Kiszka > > > > Seems like a copy bug of the initial commit 7b0139ebb1cf. > > > > Signed-off-by: Jan Kiszka > >

Re: [PATCH][trace-cmd] trace-view: Pick up sched_wakeup_new event

2017-09-29 Thread Steven Rostedt
On Fri, 29 Sep 2017 13:49:31 +0200 Jan Kiszka wrote: > On 2017-09-29 13:29, Jan Kiszka wrote: > > From: Jan Kiszka > > > > Seems like a copy bug of the initial commit 7b0139ebb1cf. > > > > Signed-off-by: Jan Kiszka > > --- > > > > I didn't manage to test this so far, but this looked strange

<    4   5   6   7   8   9   10   11   12   13   >