Applied "spi: qup: hide warning for uninitialized variable" to the spi tree

2017-08-10 Thread Mark Brown
The patch spi: qup: hide warning for uninitialized variable has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to

Applied "spi: qup: fix 64-bit build warning" to the spi tree

2017-08-10 Thread Mark Brown
The patch spi: qup: fix 64-bit build warning has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during th

Applied "ASoC: codecs: msm8916-wcd-analog: move codec reset to probe" to the asoc tree

2017-08-10 Thread Mark Brown
The patch ASoC: codecs: msm8916-wcd-analog: move codec reset to probe has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours)

[PATCH 02/19] scsi: hisi_sas: avoid potential v2 hw interrupt issue

2017-08-10 Thread John Garry
From: Xiang Chen When some interrupts happen together, we need to process every interrupt one-by-one, and should not return immediately when one interrupt process is finished being processed. Signed-off-by: Xiang Chen Signed-off-by: John Garry --- drivers/scsi/hisi_sas/hisi_sas_v2_hw.c | 19 +

[PATCH 15/19] scsi: hisi_sas: add reset handler for v3 hw

2017-08-10 Thread John Garry
From: Xiang Chen Use ACPI "_RST" method to reset the controller, since FLR is not supported. Function hisi_sas_stop_phys() is introduced to remove some code duplication. Signed-off-by: Xiang Chen Signed-off-by: John Garry --- drivers/scsi/hisi_sas/hisi_sas.h | 2 + drivers/scsi/hisi_

[PATCH 19/19] scsi: hisi_sas: remove driver versioning

2017-08-10 Thread John Garry
The driver version is not updated with changes to the driver, so it has no value, so just get rid of it. Signed-off-by: John Garry --- drivers/scsi/hisi_sas/hisi_sas.h | 2 -- drivers/scsi/hisi_sas/hisi_sas_main.c | 3 --- drivers/scsi/hisi_sas/hisi_sas_v3_hw.c | 1 - 3 files changed, 6 d

Re: [PATCH 1/2] dt-bindings: watchdog: aspeed: External reset signal properties

2017-08-10 Thread Rob Herring
On Wed, Aug 02, 2017 at 02:15:28PM +0930, Andrew Jeffery wrote: > For the AST2500 and compatible watchdog controllers the external reset > signal can be configured for push-pull or open-drain drive types, and in > the case of push-pull driving, active low or high. > > Signed-off-by: Andrew Jeffery

make clean all broken with -j? + question regarding modpost

2017-08-10 Thread Thomas Meyer
Hi, 1.) make with multiple targets When running $ make -j4 clean all I get error from make (probably in scripts/Makefile.modbuiltin): Output from above with V=1: make -f ./scripts/Makefile.modbuiltin obj=drivers/tty/vt make -f ./scripts/Makefile.modbuiltin obj=drivers/video/backlight (for m in ;

Re: hotplug support for arch/arc/plat-eznps platform

2017-08-10 Thread Peter Zijlstra
On Thu, Aug 10, 2017 at 11:19:05AM +0200, Peter Zijlstra wrote: > On Thu, Aug 10, 2017 at 07:40:16AM +, Ofer Levi(SW) wrote: > > Well, this definitely have pleased the little toy :) > > Thank you. I really appreciate your time and effort. > > > > If I may, one more newbie question. What do I n

[PATCH 16/19] scsi: hisi_sas: add phy_set_linkrate_v3_hw()

2017-08-10 Thread John Garry
From: Xiang Chen Add function to set linkrate for v3 hw. Signed-off-by: Xiang Chen Signed-off-by: John Garry --- drivers/scsi/hisi_sas/hisi_sas_v3_hw.c | 39 ++ 1 file changed, 39 insertions(+) diff --git a/drivers/scsi/hisi_sas/hisi_sas_v3_hw.c b/drivers/scs

[PATCH 04/19] scsi: hisi_sas: add v2 hw DFX feature

2017-08-10 Thread John Garry
From: Xiaofei Tan Add DFX feature for v2 hw. We are adding support for the following errors: - loss_of_dword_sync_count - invalid_dword_count - phy_reset_problem_count - running_disparity_error_count Signed-off-by: Xiaofei Tan Signed-off-by: John Garry --- drivers/scsi/hisi_sas/hisi_sas.h

[PATCH 17/19] scsi: hisi_sas: remove phy_down_v3_hw() res variable

2017-08-10 Thread John Garry
Variable res only holds value 0, so remove it. This cleans up a coccicheck warning. Signed-off-by: John Garry --- drivers/scsi/hisi_sas/hisi_sas_v3_hw.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/scsi/hisi_sas/hisi_sas_v3_hw.c b/drivers/scsi/hisi_sas/hisi_sas

Re: [PATCH] loop: fix to a race condition due to the early registration of device

2017-08-10 Thread Anton Volkov
Hello, Omar. It was a purely theoretical race that had been considered to be possible in real-life. Regards, Anton On 09.08.2017 01:00, Omar Sandoval wrote: On Mon, Aug 07, 2017 at 03:37:50PM +0300, Anton Volkov wrote: The early device registration made possible a race leading to allocation

[PATCH 14/19] scsi: hisi_sas: update some v3 register init settings

2017-08-10 Thread John Garry
From: Xiang Chen This patch updates some register setting according to recommendation from HW designer and experiment. Signed-off-by: Xiang Chen Signed-off-by: John Garry --- drivers/scsi/hisi_sas/hisi_sas_v3_hw.c | 15 --- 1 file changed, 4 insertions(+), 11 deletions(-) diff --

[PATCH 00/19] hisi_sas: misc fixes, improvements, and new features

2017-08-10 Thread John Garry
This patchset introduces an array of misc changes, most significantly including: - v2 hw reset function - core driver reset handler fixes - DFX feature - some interrupt/tasklet/probe+removal error path cleanup John Garry (4): scsi: hisi_sas: use array for v2 hw ECC errors scsi: hisi_sas: remov

[PATCH 12/19] scsi: hisi_sas: fix v3 hw channel interrupt processing

2017-08-10 Thread John Garry
From: Xiang Chen The channel interrupt is to process all the interrupts except PHY UP/DOWN and broadcast interrupt. So we need to clear all the interrupts except those 3 interrupts after processing channel interrupts. Signed-off-by: Xiang Chen Signed-off-by: John Garry --- drivers/scsi/hisi_s

[PATCH 07/19] scsi: hisi_sas: add irq and tasklet cleanup in v2 hw

2017-08-10 Thread John Garry
From: Xiang Chen This patch adds support to clean-up allocated IRQs and kill tasklets when probe fails and for driver removal. Signed-off-by: Xiang Chen Signed-off-by: John Garry --- drivers/scsi/hisi_sas/hisi_sas_v2_hw.c | 96 +- 1 file changed, 49 insertions(

[PATCH 13/19] scsi: hisi_sas: kill tasklet when destroying irq in v3 hw

2017-08-10 Thread John Garry
From: Xiang Chen This patch adds calls to kill CQ takslets v3 hw during probe failure. Signed-off-by: Xiang Chen Signed-off-by: John Garry --- drivers/scsi/hisi_sas/hisi_sas_v3_hw.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/scsi/hisi_sas/hisi_sas_v3_hw.c b/drivers/scsi/hisi

[PATCH 05/19] scsi: hisi_sas: use array for v2 hw ECC errors

2017-08-10 Thread John Garry
The code to print ECC errors in v2 hw driver is very repetitive. This patch condensed the code by looping an array of errors. Signed-off-by: John Garry Signed-off-by: Shiju Jose --- drivers/scsi/hisi_sas/hisi_sas.h | 8 + drivers/scsi/hisi_sas/hisi_sas_v2_hw.c | 368 +---

[PATCH 09/19] scsi: hisi_sas: support zone management commands

2017-08-10 Thread John Garry
From: Xiaofei Tan Add two ATA commands, ATA_CMD_ZAC_MGMT_IN and ATA_CMD_ZAC_MGMT_OUT in hisi_sas_get_ata_protocol(), to support SATA SMR disk. Signed-off-by: Xiaofei Tan Signed-off-by: John Garry --- drivers/scsi/hisi_sas/hisi_sas_main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/d

[PATCH 11/19] scsi: hisi_sas: Modify v3 hw STP_LINK_TIMER setting

2017-08-10 Thread John Garry
From: Xiang Chen Modify STP link timer from 10ms to 500ms. Also add the register address. Signed-off-by: Xiang Chen Signed-off-by: John Garry --- drivers/scsi/hisi_sas/hisi_sas_v3_hw.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/scsi/hisi_sas/hisi_sas_v3_hw.c b/drivers/scs

[PATCH 03/19] scsi: hisi_sas: fix v2 hw underflow residual value

2017-08-10 Thread John Garry
From: Xiang Chen The value dw0 is the residual bytes when UNDERFLOW error happens, but we filled the residual with the value of dw3 before. So change the residual from dw3 to dw0. Signed-off-by: Xiang Chen Signed-off-by: John Garry --- drivers/scsi/hisi_sas/hisi_sas_v2_hw.c | 4 ++-- 1 file c

Re: [PATCH v4 1/2] x86/unwind: add ORC unwinder

2017-08-10 Thread Josh Poimboeuf
On Thu, Aug 10, 2017 at 04:59:36PM +0200, Juergen Gross wrote: > On 10/08/17 16:39, Josh Poimboeuf wrote: > > On Thu, Aug 10, 2017 at 04:24:58PM +0200, Juergen Gross wrote: > I'll send some patches to: > > - remove xen_patch() > - remove lguest > - remove vsmp > >

[PATCH 10/19] scsi: hisi_sas: add status and command buffer for internal abort

2017-08-10 Thread John Garry
From: Xiang Chen For v3 hw, internal abort function required status and command buffer to be set, so add necessary code for this. Signed-off-by: Xiang Chen Signed-off-by: John Garry --- drivers/scsi/hisi_sas/hisi_sas_main.c | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-)

[PATCH 08/19] scsi: hisi_sas: service interrupt ITCT_CLR interrupt in v2 hw

2017-08-10 Thread John Garry
From: Xiang Chen This patch is a fix related to free'ing a device in v2 hw driver. Before, we polled to ITCT CLR interrupt to check if a device is free. This was error prone, as if the interrupt doesn't occur in 10us, we miss processing it. To avoid this situation, service this interrupt and s

[PATCH 01/19] scsi: hisi_sas: fix reset and port ID refresh issues

2017-08-10 Thread John Garry
From: Xiaofei Tan This patch provides fixes for the following issues: 1. Fix issue of controller reset required to send commands. For reset process, it may be required to send commands to the controller, but not during soft reset. So add HISI_SAS_NOT_ACCEPT_CMD_BIT to prevent executing a task dur

[PATCH 06/19] scsi: hisi_sas: remove repeated device config in v2 hw

2017-08-10 Thread John Garry
From: Xiang Chen This patch removes some repeated configurations: (1) The device id of the device is already set in the alloc function, so we don't need to modify in free device function. (2) Field dev_type and dev_status are configured in hisi_sas_dev_gone(), so there is no need for repeated con

Re: [PATCH v2] arm, am335x: add support for Moxa UC-8100-ME-T open platform

2017-08-10 Thread Rob Herring
On Wed, Aug 02, 2017 at 02:57:57PM +0800, SZ Lin wrote: > Add support for Moxa UC-8100-ME-T open platform > > The UC-8100-ME-T computing platform is designed > for embedded data acquisition industrial applications > > The features of UC-8100-ME-T series are: > * eMMC > * SPI flash > * SD slot > *

Re: [PATCH 1/1] sched/topology: fix memleak in __sdt_alloc()

2017-08-10 Thread Peter Zijlstra
On Thu, Aug 10, 2017 at 03:52:16PM +0800, shuw...@redhat.com wrote: > From: Shu Wang > > Found this issue by kmemleak. the sg and sgc from __sdt_alloc() > might be leaked as each domain holds many groups' ref. And in > destroy_sched_domain(), it only declined the first group ref. > > Online and

[PATCH] dmaengine: qcom_hidma: avoid freeing an uninitialized pointer

2017-08-10 Thread Anton Vasilyev
If device_node np doesn't contain child or first child doesn't have property "reg" then hidma_mgmt_of_populate_channels() perfoms deallocation on uninitialized local variable res. The patch adds res initialization by NULL. Found by Linux Driver Verification project (linuxtesting.org). Signed-off

Race between release_tty() and vt_disallocate()

2017-08-10 Thread Arnd Bergmann
Hi tty people, I tracked down a bug report to what I think is a race between a tty_struct and the vt_data going away at the same time. See https://bugs.linaro.org/show_bug.cgi?id=3174 for the long story. The short version is that a backtrace shows [ 1138.433484] [] __cancel_work_timer+0x80/0x1c8

Re: [PATCH 0/4] ALSA: emux: Adjustments for four function implementations

2017-08-10 Thread Takashi Iwai
On Wed, 09 Aug 2017 10:00:23 +0200, SF Markus Elfring wrote: > > From: Markus Elfring > Date: Wed, 9 Aug 2017 09:50:05 +0200 > > A few update suggestions were taken into account > from static source code analysis. > > Markus Elfring (4): > Adjust one function call together with a variable ass

[PATCH] ASoC: samsung: i2s: Null pointer dereference on samsung_i2s_remove

2017-08-10 Thread Anton Vasilyev
If (quirks & QUIRK_SEC_DAI == 0) then samsung_i2s_probe() doesn't allocate sec_dai and pri_dai->sec_dai remains Null, but samsung_i2s_remove() permorms pri_dai->sec_dai dereference in any case. The patch adds sec_dai check on Null before derefence at samsung_i2s_remove(). Found by Linux Driver Ve

Re: [PATCH 0/7] constify pci snd_pcm_ops structures

2017-08-10 Thread Takashi Iwai
On Thu, 10 Aug 2017 13:47:31 +0200, Arvind Yadav wrote: > > snd_pcm_ops are not supposed to change at runtime. All functions > working with snd_pcm_ops provided by work with > const snd_pcm_ops. So mark the non-const structs as const. > > Arvind Yadav (7): > [PATCH 1/7] ALSA: ali5451: constify

[PATCH] perf/x86/intel/bts: make bts_pmu static

2017-08-10 Thread Colin King
From: Colin Ian King The structure bts_pmu is local to the source and do not need to be in global scope, so make it static. Cleans up sparse warning: warning: symbol 'bts_pmu' was not declared. Should it be static? Signed-off-by: Colin Ian King --- arch/x86/events/intel/bts.c | 2 +- 1 file c

Re: [PATCH v6 2/3]: perf/core: use context tstamp_data for skipped events on mux interrupt

2017-08-10 Thread Alexey Budankov
Well, Ok. I re-implemented this patch of patch set and also implemented a unit test that IMHO mimics the case mentioned above to check if it solves the issue. The test is a single thread application that creates 272 fds for every of two INSTRUCTIONS_RETIRED events covering 272 cores of Intel X

Re: [V4 1/2] phy: ralink-usb: add driver for Mediatek/Ralink

2017-08-10 Thread Harvey Hunt
Hi James, On 09/08/17 23:23, James Hogan wrote: On 9 August 2017 10:35:39 BST, Harvey Hunt wrote: From: John Crispin Add a driver to setup the USB phy on Mediatek/Ralink SoCs. The driver is trivial and only sets up power and host mode. Signed-off-by: John Crispin Signed-off-by: Harvey Hunt

Re: Increased memory usage with scsi-mq

2017-08-10 Thread Paolo Bonzini
On 10/08/2017 17:40, Richard W.M. Jones wrote: > OK this is looking a bit better now. > > With scsi-mq enabled: 175 disks > virtqueue_size=64: 318 disks * > virtqueue_size=16: 775 disks * > With scsi-mq disabled: 1755 disks > * = new results

Re: [PATCH v3] livepatch: introduce shadow variable API

2017-08-10 Thread Joe Lawrence
On Thu, Aug 10, 2017 at 04:40:05PM +0200, Miroslav Benes wrote: > > It generally looks ok. Only few questions below... > > [...] > > > +In-flight parent objects > > + > > + ps_lock = klp_shadow_get_or_attach(sta, PS_LOCK, > > + &ps_lock_fallback, sizeo

[PATCH] perf/x86/intel/p4: make array p4_event_aliases static

2017-08-10 Thread Colin King
From: Colin Ian King The array p4_event_aliases is local to the source and do not need to be in global scope, so make it static. Cleans up sparse warning: warning: symbol 'p4_event_aliases' was not declared. Should it be static? Signed-off-by: Colin Ian King --- arch/x86/events/intel/p4.c | 2

[PATCH] perf/x86/intel/rapl: make array rapl_attr_groups static

2017-08-10 Thread Colin King
From: Colin Ian King The array rapl_attr_groups is local to the source and do not need to be in global scope, so make it static. Cleans up sparse warning: warning: symbol 'rapl_attr_groups' was not declared. Should it be static? Signed-off-by: Colin Ian King --- arch/x86/events/intel/rapl.c

Re: [PATCH] hv_set_ifconfig.sh double check before setting ip

2017-08-10 Thread David Miller
From: Eduardo Otubo Date: Thu, 10 Aug 2017 09:40:27 +0200 > On 08/09/2017 11:02 AM, Eduardo Otubo wrote: >> On 08/09/2017 06:11 AM, David Miller wrote: >>> From: Eduardo Otubo >>> Date: Tue, 8 Aug 2017 15:53:45 +0200 >>> This patch fixes the behavior of the hv_set_ifconfig script when

Re: [PATCH v2 1/4] dt-bindings: hwmon: pmbus: Add Maxim MAX31785 documentation

2017-08-10 Thread Rob Herring
On Wed, Aug 02, 2017 at 04:45:38PM +0930, Andrew Jeffery wrote: > Signed-off-by: Andrew Jeffery > --- > .../devicetree/bindings/hwmon/pmbus/max31785.txt | 126 > + > 1 file changed, 126 insertions(+) > create mode 100644 Documentation/devicetree/bindings/hwmon/pmbus/max317

Re: [PATCH v2 0/8] omap*: Fixes/Cleanups for MMC devicetree node

2017-08-10 Thread Tony Lindgren
* Tony Lindgren [170806 23:49]: > * Kishon Vijay Abraham I [170803 04:20]: > > > Do you want me to resend the entire series or only "ARM: dts: omap*: Replace > > deprecated "vmmc_aux" with "vqmmc"? > > Seems that the missing one is safe to apply now? If so, let me just > take a look at that sin

Re: [PATCH 1/3] ACPICA: Dispatch active GPEs at init time

2017-08-10 Thread Rafael J. Wysocki
On Thursday, August 10, 2017 3:48:58 AM CEST Zheng, Lv wrote: > Hi, Rafael > > > From: Rafael J. Wysocki [mailto:r...@rjwysocki.net] > > Subject: [PATCH 1/3] ACPICA: Dispatch active GPEs at init time > > > > From: Rafael J. Wysocki > > > > In some cases GPEs are already active when they are ena

Re: [PATCH v2 11/23] dt-bindings: i2c: rk3x: add support for rv1108

2017-08-10 Thread Rob Herring
On Wed, Aug 02, 2017 at 04:41:52PM +0800, Andy Yan wrote: > Add dt Document for i2c controller on rv1108 > > Signed-off-by: Andy Yan > --- > > Changes in v2: None > > Documentation/devicetree/bindings/i2c/i2c-rk3x.txt | 1 + > 1 file changed, 1 insertion(+) Acked-by: Rob Herring

Re: [RESEND PATCH v5] locking/pvqspinlock: Relax cmpxchg's to improve performance on some archs

2017-08-10 Thread Peter Zijlstra
On Thu, Aug 10, 2017 at 09:58:57AM -0400, Waiman Long wrote: > On 08/10/2017 09:27 AM, Waiman Long wrote: > > On 08/10/2017 07:50 AM, Peter Zijlstra wrote: > >> On Wed, May 24, 2017 at 09:38:28AM -0400, Waiman Long wrote: > >>> # of thread w/o patchwith patch % Change > >>> ---

Re: [PATCH v2 14/23] spi: rockchip: add compatible string for rv1108 spi

2017-08-10 Thread Rob Herring
On Wed, Aug 02, 2017 at 04:46:03PM +0800, Andy Yan wrote: > The spi on rv1108 is the same as other rockchip based > socs, add compatible string for it. > > Signed-off-by: Andy Yan > --- > > Changes in v2: None > > Documentation/devicetree/bindings/spi/spi-rockchip.txt | 1 + > drivers/spi/spi-

Re: [PATCH] hwmon:(stts751) buffer overread on wrong chip configuration

2017-08-10 Thread Guenter Roeck
On Thu, Aug 10, 2017 at 06:23:34PM +0300, Anton Vasilyev wrote: > If stts751 hw by some reason reports conversion rate bigger then 9: > ret = i2c_smbus_read_byte_data(priv->client, STTS751_REG_RATE); > then dereference stts751_intervals[priv->interval] leads to buffer > overread. > > The pat

Re: [PATCH 2/3] ACPICA: Make it possible to enable runtime GPEs earlier

2017-08-10 Thread Rafael J. Wysocki
On Thursday, August 10, 2017 3:52:05 AM CEST Zheng, Lv wrote: > Hi, Rafael > > For this patch, I have a concern. > > > From: Rafael J. Wysocki [mailto:r...@rjwysocki.net] > > Subject: [PATCH 2/3] ACPICA: Make it possible to enable runtime GPEs earlier > > > > From: Rafael J. Wysocki > > > > Ru

Re: [PATCH net-next] net: core: fix compile error inside flow_dissector due to new dsa callback

2017-08-10 Thread David Miller
From: John Crispin Date: Thu, 10 Aug 2017 10:09:03 +0200 > The following error was introduced by > commit 43e665287f93 ("net-next: dsa: fix flow dissection") > due to a missing #if guard > > net/core/flow_dissector.c: In function '__skb_flow_dissect': > net/core/flow_dissector.c:448:18: error: '

Re: [PATCH v2 16/23] dt-bindings: pwm: add description for rv1108 pwm

2017-08-10 Thread Rob Herring
On Wed, Aug 02, 2017 at 04:47:55PM +0800, Andy Yan wrote: > Add device tree bindings document for pwm on > rockchip rv1108 soc. > > Signed-off-by: Andy Yan > --- > > Changes in v2: None > > Documentation/devicetree/bindings/pwm/pwm-rockchip.txt | 2 +- > 1 file changed, 1 insertion(+), 1 delet

Re: [PATCH 4.4 00/58] 4.4.81-stable review

2017-08-10 Thread Greg Kroah-Hartman
On Wed, Aug 09, 2017 at 05:37:45PM -0700, Guenter Roeck wrote: > On 08/09/2017 12:41 PM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.4.81 release. > > There are 58 patches in this series, all will be posted as a response > > to this one. If anyone has any i

Re: [PATCH v2 19/23] dt-bindings: adc: add description for rv1108 saradc

2017-08-10 Thread Rob Herring
On Wed, Aug 02, 2017 at 04:52:33PM +0800, Andy Yan wrote: > Add device tree bindings document for saradc on > rockchip rv1108 soc. > > Signed-off-by: Andy Yan > --- > > Changes in v2: None > > Documentation/devicetree/bindings/iio/adc/rockchip-saradc.txt | 1 + > 1 file changed, 1 insertion(+)

Re: [PATCH] dmaengine: qcom_hidma: avoid freeing an uninitialized pointer

2017-08-10 Thread Sinan Kaya
On 8/10/2017 11:54 AM, Anton Vasilyev wrote: > If device_node np doesn't contain child or first child doesn't have > property "reg" then hidma_mgmt_of_populate_channels() perfoms > deallocation on uninitialized local variable res. > > The patch adds res initialization by NULL. > > Found by Linux

Re: [PATCH 4.4 00/58] 4.4.81-stable review

2017-08-10 Thread Greg Kroah-Hartman
On Wed, Aug 09, 2017 at 05:58:32PM -0700, Guenter Roeck wrote: > On Wed, Aug 09, 2017 at 12:41:12PM -0700, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.4.81 release. > > There are 58 patches in this series, all will be posted as a response > > to this one. I

Re: [PATCH v06 30/36] uapi rdma/rdma_user_rxe.h: include in.h and in6.h

2017-08-10 Thread Jason Gunthorpe
On Thu, Aug 10, 2017 at 05:47:48AM +0300, Dmitry V. Levin wrote: > On Wed, Aug 09, 2017 at 09:52:41AM -0600, Jason Gunthorpe wrote: > > On Wed, Aug 09, 2017 at 04:48:08PM +0300, Moni Shoua wrote: > > > > > > > > I'm not sure this is a good idea, linux/in.h should not be included in > > > > userspac

Re: [PATCH 4.9 65/93] sparc64: Prevent perf from running during super critical sections

2017-08-10 Thread Greg Kroah-Hartman
On Wed, Aug 09, 2017 at 11:13:58AM -0700, Greg Kroah-Hartman wrote: > 4.9-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Rob Gardner > > > [ Upstream commit fc290a114fc6034b0f6a5a46e2fb7d54976cf87a ] > > This fixes another cause of ran

Re: [PATCH 4.4 42/58] sparc64: Prevent perf from running during super critical sections

2017-08-10 Thread Greg Kroah-Hartman
On Wed, Aug 09, 2017 at 12:41:54PM -0700, Greg Kroah-Hartman wrote: > 4.4-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Rob Gardner > > > [ Upstream commit fc290a114fc6034b0f6a5a46e2fb7d54976cf87a ] > > This fixes another cause of ran

Re: [PATCH 4.4 00/58] 4.4.81-stable review

2017-08-10 Thread Greg Kroah-Hartman
On Wed, Aug 09, 2017 at 05:37:45PM -0700, Guenter Roeck wrote: > On 08/09/2017 12:41 PM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.4.81 release. > > There are 58 patches in this series, all will be posted as a response > > to this one. If anyone has any i

Re: [RESEND PATCH v5] locking/pvqspinlock: Relax cmpxchg's to improve performance on some archs

2017-08-10 Thread Waiman Long
On 08/10/2017 12:15 PM, Peter Zijlstra wrote: > On Thu, Aug 10, 2017 at 09:58:57AM -0400, Waiman Long wrote: >> On 08/10/2017 09:27 AM, Waiman Long wrote: >>> On 08/10/2017 07:50 AM, Peter Zijlstra wrote: On Wed, May 24, 2017 at 09:38:28AM -0400, Waiman Long wrote: > # of thread w/o

Re: [PATCH v5 03/10] swiotlb: Map the buffer if it was unmapped by XPFO

2017-08-10 Thread Tycho Andersen
On Thu, Aug 10, 2017 at 09:01:06AM -0400, Konrad Rzeszutek Wilk wrote: > On Wed, Aug 09, 2017 at 02:07:48PM -0600, Tycho Andersen wrote: > > +inline bool xpfo_page_is_unmapped(struct page *page) > > +{ > > + if (!static_branch_unlikely(&xpfo_inited)) > > + return false; > > + > > + re

Re: [PATCH] ASoC: samsung: i2s: Null pointer dereference on samsung_i2s_remove

2017-08-10 Thread Sylwester Nawrocki
On 08/10/2017 05:56 PM, Anton Vasilyev wrote: If (quirks & QUIRK_SEC_DAI == 0) then samsung_i2s_probe() doesn't allocate sec_dai and pri_dai->sec_dai remains Null, but samsung_i2s_remove() permorms pri_dai->sec_dai dereference in any case. s/permorms/performs The patch adds sec_dai check on N

Re: [PATCH 2/4] ARM: dts: tps65217: Add power button interrupt to the common tps65217.dtsi file

2017-08-10 Thread Tony Lindgren
* Tony Lindgren [170613 22:00]: > * Enric Balletbo Serra [170613 02:12]: > > Hi Tony, > > > > 2017-06-13 9:35 GMT+02:00 Tony Lindgren : > > > * Enric Balletbo i Serra [170612 14:28]: > > >> The interrupt for power button is static data that comes from the > > >> datasheet, there is no reason to

Re: [PATCH 1/3] paravirt,xen: remove xen_patch()

2017-08-10 Thread Peter Zijlstra
On Thu, Aug 10, 2017 at 02:52:52PM +0200, Juergen Gross wrote: > Xen's paravirt patch function xen_patch() does some special casing for > irq_ops functions to apply relocations when those functions can be > patched inline instead of calls. > > Unfortunately none of the special case function replac

[PATCH] ASoC: fsi: Delete an error message for a failed memory allocation in fsi_probe()

2017-08-10 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 10 Aug 2017 18:18:20 +0200 Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Link: http://events.linuxfoundation.org/sites/events/files/slides/LCJ16-Refactor_Strings-WSang_0.pdf Sign

Re: [PATCH v2] nvme: Fix nvme reset command timeout handling

2017-08-10 Thread Keith Busch
On Thu, Aug 10, 2017 at 11:23:31AM +0200, Johannes Thumshirn wrote: > From: Keith Busch > > We need to return an error if a timeout occurs on any NVMe command during > initialization. Without this, the nvme reset work will be stuck. A timeout > will have a negative error code, meaning we need to

Re: [RFC V2] printk: add warning while drop partial text in msg

2017-08-10 Thread pierre kuo
hi Sergey > this is not the only place that can truncate the message. > vprintk_emit() can do so as well /* vscnprintf() */. but > I think we don't care that much. a user likely will notice > truncated messages. we report lost messages, because this > is a completely different sort of problem. Usu

[PATCH 1/2] leds: blinkm: constify attribute_group structure

2017-08-10 Thread Amitoj Kaur Chawla
Functions working with attribute_groups provided by work with const attribute_group. These attribute_group structures do not change at runtime so mark them as const. File size before: text data bss dec hex filename 8657 3496 64 122172fb9 drivers/leds/leds-blinkm

Re: [PATCH 1/2] dt-bindings: serial: Add MediaTek BTIF controller bindings

2017-08-10 Thread Rob Herring
On Thu, Aug 03, 2017 at 01:05:22AM +0800, sean.w...@mediatek.com wrote: > From: Sean Wang > > Document the devicetree bindings for MediaTek BTIF controller > which could be found on MT7622 and MT7623 SoC. > > Signed-off-by: Sean Wang > --- > .../devicetree/bindings/serial/mtk-btif.txt|

[PATCH 2/2] leds: lm3533: constify attribute_group structure

2017-08-10 Thread Amitoj Kaur Chawla
Functions working with attribute_groups provided by work with const attribute_group. These attribute_group structures do not change at runtime so mark them as const. File size before: text data bss dec hex filename 8272 4608 64 129443290 drivers/leds/leds-lm3533

Re: [PATCH] mm: add pmd_t initializer __pmd() to work around a GCC bug.

2017-08-10 Thread David Miller
From: "Zi Yan" Date: Thu, 10 Aug 2017 10:46:08 -0400 > Ping. Just wonder what is the status of this patch. You never need to ask this question. Your patch is queued up in SPARC patchwork: http://patchwork.ozlabs.org/patch/797215/ And is in "Under Review" state. There is nothing for y

Re: [PATCH 1/3] paravirt,xen: remove xen_patch()

2017-08-10 Thread Josh Poimboeuf
On Thu, Aug 10, 2017 at 02:52:52PM +0200, Juergen Gross wrote: > Xen's paravirt patch function xen_patch() does some special casing for > irq_ops functions to apply relocations when those functions can be > patched inline instead of calls. > > Unfortunately none of the special case function replac

Re: [PATCH 1/3] paravirt,xen: remove xen_patch()

2017-08-10 Thread Peter Zijlstra
On Thu, Aug 10, 2017 at 06:24:53PM +0200, Peter Zijlstra wrote: > -ENTRY(xen_irq_enable_direct) > - FRAME_BEGIN > - /* Unmask events */ > - movb $0, PER_CPU_VAR(xen_vcpu_info) + XEN_vcpu_info_mask > - > - /* > - * Preempt here doesn't matter because that will deal with any > -

[PATCH] x86/platform/uv: make timeout_base_ns const and process_uv2_message static

2017-08-10 Thread Colin King
From: Colin Ian King Make array timeout_base_ns const. Also the function process_uv2_message is local to the source and do not need to be in global scope, so make it static. Cleans up sparse warning: symbol 'process_uv2_message' was not declared. Should it be static? Signed-off-by: Colin Ian Ki

Re: [PATCH] Do not disable driver and bus shutdown hook when class shutdown hook is set.

2017-08-10 Thread Jason Gunthorpe
On Thu, Aug 10, 2017 at 12:18:11PM +0200, Michal Suchánek wrote: > > The bus disables the driver callback, on the expectation that the bus > > implementation will do it. > > Which is totally sound design not prone to errors. Well, I agree it isn't the easiest... > > Existing bus implementations

[tip:perf/core] tools include uapi: Grab a copy of asm-generic/ioctls.h

2017-08-10 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 6375f0abeea886ec718d8b0aaf99818c7505de14 Gitweb: http://git.kernel.org/tip/6375f0abeea886ec718d8b0aaf99818c7505de14 Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 31 Jul 2017 22:52:28 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 31 Jul 2017 23:04:52 -0300 to

[tip:perf/core] tools headers: Fixup tools/include/uapi/linux/bpf.h copy of kernel ABI header

2017-08-10 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: d62c1d7213b77eb4952a873ad57727e991ac3306 Gitweb: http://git.kernel.org/tip/d62c1d7213b77eb4952a873ad57727e991ac3306 Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 31 Jul 2017 10:45:07 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 31 Jul 2017 10:45:07 -0300 to

[tip:perf/core] tools perf: Do not check spaces/blank lines when checking header file copy drift

2017-08-10 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 470de0f39e901611c366fc3d584307ba5d13406a Gitweb: http://git.kernel.org/tip/470de0f39e901611c366fc3d584307ba5d13406a Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 31 Jul 2017 22:55:12 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 31 Jul 2017 23:04:59 -0300 to

[tip:perf/core] tools headers: Fixup tools/include/uapi/linux/bpf.h copy of kernel ABI header

2017-08-10 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: f1d6cb2d8cdfb210f9b4a0f59e9168ac0f5db774 Gitweb: http://git.kernel.org/tip/f1d6cb2d8cdfb210f9b4a0f59e9168ac0f5db774 Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 31 Jul 2017 10:45:07 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 31 Jul 2017 23:05:00 -0300 to

[tip:perf/core] perf trace beauty ioctl: Improve 'cmd' beautifier

2017-08-10 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 1cc47f2d46206d67285aea0ca7e8450af571da13 Gitweb: http://git.kernel.org/tip/1cc47f2d46206d67285aea0ca7e8450af571da13 Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 31 Jul 2017 13:20:14 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 1 Aug 2017 09:47:52 -0300 per

[tip:perf/core] tools include uapi: Grab copies of drm/{drm,i915_drm}.h

2017-08-10 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: c1737f2b7810cf4cd353f3931d2d23e81b591f90 Gitweb: http://git.kernel.org/tip/c1737f2b7810cf4cd353f3931d2d23e81b591f90 Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 31 Jul 2017 16:45:32 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 1 Aug 2017 09:47:56 -0300 too

Re: [PATCH] arm64: fix pmem interface definition

2017-08-10 Thread Robin Murphy
On 10/08/17 15:52, Arnd Bergmann wrote: > Defining the two functions as 'static inline' and exporting them > leads to the interesting case where we can use the interface > from loadable modules, but not from built-in drivers, as shown > in this link failure: > > vers/nvdimm/claim.o: In function `n

[tip:perf/core] perf trace beauty ioctl: Beautify DRM ioctl cmds

2017-08-10 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: ef9811f0933967c4ee4cf0e1a88678d2607dca07 Gitweb: http://git.kernel.org/tip/ef9811f0933967c4ee4cf0e1a88678d2607dca07 Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 31 Jul 2017 16:47:37 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 1 Aug 2017 13:02:05 -0300 per

Re: [PATCH 2/3] dt-bindings: usb: keystone-usb: Update bindings pm and clocks properties

2017-08-10 Thread Rob Herring
On Wed, Aug 02, 2017 at 03:17:23PM -0500, Franklin S Cooper Jr wrote: > Update varous properties to properly indicate their requirement depending > on the SoC. > > Signed-off-by: Franklin S Cooper Jr > --- > Documentation/devicetree/bindings/usb/keystone-usb.txt | 18 > -- > 1 f

[tip:perf/core] perf build: Clarify open-coded header version warning message

2017-08-10 Thread tip-bot for Ingo Molnar
Commit-ID: 8255e1efc193f110f1c9b8e40597a6c0c89fbedc Gitweb: http://git.kernel.org/tip/8255e1efc193f110f1c9b8e40597a6c0c89fbedc Author: Ingo Molnar AuthorDate: Sun, 30 Jul 2017 11:51:30 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 31 Jul 2017 10:30:06 -0300 perf build: Cla

[tip:perf/core] tools headers: Sync kernel ABI headers with tooling headers

2017-08-10 Thread tip-bot for Ingo Molnar
Commit-ID: a40f61777b8c66cfd61c37b0102387578abb8ed0 Gitweb: http://git.kernel.org/tip/a40f61777b8c66cfd61c37b0102387578abb8ed0 Author: Ingo Molnar AuthorDate: Sun, 30 Jul 2017 11:52:32 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 31 Jul 2017 10:35:28 -0300 tools headers:

[tip:perf/core] tools include uapi: Grab a copy of sound/asound.h

2017-08-10 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: a215684e10484149313068e0a9ea1978ee36d4f7 Gitweb: http://git.kernel.org/tip/a215684e10484149313068e0a9ea1978ee36d4f7 Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 31 Jul 2017 16:45:32 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 1 Aug 2017 13:02:11 -0300 too

[tip:perf/core] perf trace beautify ioctl: Beautify sound ioctl's 'cmd' arg

2017-08-10 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 2c3e96291164d46e58ea064b778d5f8f747d6c6a Gitweb: http://git.kernel.org/tip/2c3e96291164d46e58ea064b778d5f8f747d6c6a Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 31 Jul 2017 17:34:47 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 1 Aug 2017 13:02:40 -0300 per

[tip:perf/core] tools include uapi: Grab a copy of linux/kvm.h

2017-08-10 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 3ce97513f960b62fc9b2eee892162e225cd0f3a8 Gitweb: http://git.kernel.org/tip/3ce97513f960b62fc9b2eee892162e225cd0f3a8 Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 31 Jul 2017 16:45:32 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 1 Aug 2017 13:02:51 -0300 too

Re: [PATCH 00/12] ARM: dts: Add iodelay data for MMC

2017-08-10 Thread Tony Lindgren
* Kishon Vijay Abraham I [170616 04:54]: > This is the second part of the series originally sent as > part of [1] with one important modification. > > Now PINCTRL_TI_IODELAY will be enabled for SOC_DRA7XX > (in mach-omap2/Kconfig) so that omap2plus_defconfig or > multi_v7_defconfig don't have to

[tip:perf/core] perf trace beautify ioctl: Beautify KVM ioctl's 'cmd' arg

2017-08-10 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 45717b7fb7e59285927170cf7fff233e0bbeeaca Gitweb: http://git.kernel.org/tip/45717b7fb7e59285927170cf7fff233e0bbeeaca Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 31 Jul 2017 17:34:47 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 1 Aug 2017 13:02:52 -0300 per

[tip:perf/core] perf build: Clarify header version warning message

2017-08-10 Thread tip-bot for Ingo Molnar
Commit-ID: c59796d53b1c96fd8a0a63119820fb81e06e4aa4 Gitweb: http://git.kernel.org/tip/c59796d53b1c96fd8a0a63119820fb81e06e4aa4 Author: Ingo Molnar AuthorDate: Sun, 30 Jul 2017 11:37:47 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 31 Jul 2017 10:27:56 -0300 perf build: Cla

Re: [PATCH] ARM: dts: am437x-gp-evm: Add support for buzzer

2017-08-10 Thread Tony Lindgren
* Faiz Abbas [170802 02:32]: > > > On Tuesday 20 June 2017 10:39 AM, Faiz Abbas wrote: > > Add support for onboard gpio buzzer. It works using > > the gpio-beeper driver. Pinmux entries for GPIO > > controlling the buzzer are also added. > > Gentle ping Applying finally into omap-for-v4.14/dt

Re: [PATCH 1/3] dt-bindings: net: c_can: Update binding for clock and power-domains property

2017-08-10 Thread Rob Herring
On Wed, Aug 02, 2017 at 03:18:20PM -0500, Franklin S Cooper Jr wrote: > CAN driver uses the clk_get_rate call to determine the frequency of the > functional clock. OMAP based SoCs do not require the clock property since > hwmod already handles creating a "fck" clock thats accessible to drivers. th

[tip:perf/core] perf trace beautify ioctl: Beautify vhost virtio ioctl's 'cmd' arg

2017-08-10 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: ec6dd85f6e39bf516f4420d62270380b96bbee57 Gitweb: http://git.kernel.org/tip/ec6dd85f6e39bf516f4420d62270380b96bbee57 Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 31 Jul 2017 17:34:47 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 1 Aug 2017 13:32:46 -0300 per

Re: [PATCH 3/4] dt-bindings: i2c: i2c-davinci: Update binding for 66AK2Gx pwr dm property

2017-08-10 Thread Rob Herring
On Wed, Aug 02, 2017 at 05:17:52PM -0500, Franklin S Cooper Jr wrote: > Add pm-domains property which is required for 66AK2Gx. Also document 66AK2G > unique clocks property usage. > > Signed-off-by: Franklin S Cooper Jr > --- > Documentation/devicetree/bindings/i2c/i2c-davinci.txt | 12 +

[tip:perf/core] perf trace beautify ioctl: Beautify perf ioctl's 'cmd' arg

2017-08-10 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 81e3d8b2af2e7417f1d5164aab5c1a75955e8a5d Gitweb: http://git.kernel.org/tip/81e3d8b2af2e7417f1d5164aab5c1a75955e8a5d Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 31 Jul 2017 17:34:47 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 1 Aug 2017 13:33:50 -0300 per

[tip:perf/core] perf trace beauty ioctl: Pass _IOC_DIR to the per _IOC_TYPE scnprintf

2017-08-10 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 8ff69577075e0321ef25d3afcb293db39a31342a Gitweb: http://git.kernel.org/tip/8ff69577075e0321ef25d3afcb293db39a31342a Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 1 Aug 2017 11:46:36 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 1 Aug 2017 13:04:52 -0300 perf

Re: [PATCH v5 08/10] arm64/mm: Add support for XPFO to swiotlb

2017-08-10 Thread Tycho Andersen
Hi Konrad, Thanks for taking a look! On Thu, Aug 10, 2017 at 09:11:12AM -0400, Konrad Rzeszutek Wilk wrote: > On Wed, Aug 09, 2017 at 02:07:53PM -0600, Tycho Andersen wrote: > > + > > +inline void xpfo_dma_map_unmap_area(bool map, const void *addr, size_t > > size, > > And inline? You sure abou

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