[PATCH v0 05/10] arm: orion5x: Add DT include for mv88f5181

2016-07-16 Thread Jamie Lentin
Signed-off-by: Jamie Lentin --- .../bindings/arm/marvell/marvell,orion5x.txt | 1 + arch/arm/boot/dts/orion5x-mv88f5181.dtsi | 35 ++ 2 files changed, 36 insertions(+) create mode 100644 arch/arm/boot/dts/orion5x-mv88f5181.dtsi diff --git a/Documentation/dev

[PATCH v0 01/10] arm: orion5x: Add required properties for orion-wdt to DT node

2016-07-16 Thread Jamie Lentin
orion-wdt refuses to start without these properties defined, so lift definitions out of kirkwood/dove.dtsi Signed-off-by: Jamie Lentin --- arch/arm/boot/dts/orion5x.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/orion5x.dtsi b/arch/arm/boot/dts/orion

[PATCH v0 08/10] net: phy: Try looking for a phy-handle property to find the OF node

2016-07-16 Thread Jamie Lentin
If PHY is registered via. a DSA switch, the MDIO bus the phy is on does not exist in devicetree, but there may be a reference to the PHY node on the physical MDIO bus to use. Signed-off-by: Jamie Lentin --- drivers/net/phy/marvell.c | 22 -- 1 file changed, 16 insertions(+),

[PATCH] pinctrl: fix pincontrol definition for marvell

2016-07-16 Thread Andreas Klinger
On Marvell mv88f6180 with pin control driver one can not use multi purpose pins 35 through 44. I'm using this controller on an embedded board and i found that the pin multiplexing is not the same as in the hardware spezification. This patch alters the pin description so that mpp pins 0 to 19 as wel

[PATCH v0 04/10] arm: orion5x: Generalise mv88f5181l pinctrl support for 88f5181

2016-07-16 Thread Jamie Lentin
As far as I'm aware the mv88f5181-b1 and mv88f5181l are the same at the pinctrl level, so re-use the definitions for both. Signed-off-by: Jamie Lentin --- .../bindings/pinctrl/marvell,orion-pinctrl.txt | 4 ++-- drivers/pinctrl/mvebu/pinctrl-orion.c | 23 +++---

[PATCH v0 06/10] arm: orion5x: Add DT-based support for Netgear WNR854T

2016-07-16 Thread Jamie Lentin
This is a router based on the mv88f5181 chipset. http://www.netgear.com/support/product/WNR854T.aspx http://wiki.openwrt.org/toh/netgear/wnr854t Signed-off-by: Jamie Lentin --- .../bindings/arm/marvell/marvell,orion5x.txt | 1 + arch/arm/boot/dts/Makefile | 1 +

[PATCH 6/8] drm/amdgpu: Change assignment for a variable in amdgpu_cgs_acpi_eval_object()

2016-07-16 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 16 Jul 2016 15:05:45 +0200 Indicate successful function execution only at the end. Thus omit initialisation for the variable "result" at the beginning. Signed-off-by: Markus Elfring --- drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c | 3 ++- 1 file changed, 2 insertion

[PATCH v0 10/10] arm: orion5x: Configure Netgear WNR854T network port LEDs

2016-07-16 Thread Jamie Lentin
The default bootloader leaves the LEDs orange, and the 88E1121R driver applies it's own inappropriate configuration. Configure as per manual, i.e. orange = 100 / green = 1000 / blink = activity Signed-off-by: Jamie Lentin --- arch/arm/boot/dts/orion5x-netgear-wnr854t.dts | 45 +++

[PATCH 7/8] drm/amd/powerplay: Change assignment for a buffer variable in phm_dispatch_table()

2016-07-16 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 16 Jul 2016 15:36:36 +0200 The variable "temp_storage" was eventually reassigned with a pointer. Thus omit the explicit initialisation at the beginning. Signed-off-by: Markus Elfring --- drivers/gpu/drm/amd/powerplay/hwmgr/functiontables.c | 5 +++-- 1 file chan

[PATCH 8/8] drm/amd/powerplay: Delete an unnecessary variable initialisation in phm_dispatch_table()

2016-07-16 Thread SF Markus Elfring
>From 0bf6f3c40786e12d3d42672f1d56296b30e17ac9 Mon Sep 17 00:00:00 2001 From: Markus Elfring Date: Sat, 16 Jul 2016 15:50:18 +0200 Subject: [PATCH 8/8] drm/amd/powerplay: Delete an unnecessary variable initialisation in phm_dispatch_table() The variable "result" will be set to an appropriate val

[PATCH] clk: zynq: avoid retrieving clock names from DT property

2016-07-16 Thread Masahiro Yamada
The "clock-output-names" property is useful for generic clock providers such as fixed-clock, fixed-factor-clock, etc. On the other hand, it should not be used for really SoC-specific clock providers like this one. As you see in "enum zynq_clk" in this driver, it is written as if it already knows

Re: [PATCH v2 2/6] [media] Documentation: Add HSV format

2016-07-16 Thread Hans Verkuil
On 07/16/2016 04:12 PM, Laurent Pinchart wrote: >> Limited vs full range quantization is handled by the quantization field. >> It's there already. > > Right. I wonder how we'll deal with that when someone will come up with more > than one limited range quantizations, have you thought about it ?

Re: [PATCH v2 2/6] [media] Documentation: Add HSV format

2016-07-16 Thread Hans Verkuil
On 07/16/2016 04:32 PM, Ricardo Ribalda Delgado wrote: > Hi > > On Sat, Jul 16, 2016 at 4:12 PM, Laurent Pinchart > wrote: > >> I'd still like to know about it for my personal information :-) > > Maybe it is just a very cheap gamma. > >> >>> Anyway, I am inclined to use ycbcr_enc as well. >> >

Re: [patch] kconfig: Add some missing curly braces

2016-07-16 Thread Masahiro Yamada
2016-07-14 7:34 GMT+09:00 Dan Carpenter : > There are missing curly braces here so we print some stuff to stderr > which we hadn't intended. > > Fixes: 1c199f2878f6 ('kbuild: document recursive dependency limitation / > resolution') > Signed-off-by: Dan Carpenter > > diff --git a/scripts/kconfig/

Re: [PATCH v2 2/6] [media] Documentation: Add HSV format

2016-07-16 Thread Ricardo Ribalda Delgado
Hi Hans On Sat, Jul 16, 2016 at 5:28 PM, Hans Verkuil wrote: > >> + >> +enum v4l2_rgb_encoding { >> + V4L2_RGB_ENC_FULL = 32, >> + V4L2_HSV_ENC_16_235 = 33, >> +}; > > No. I was trying to fit also Laurent special 16-235 RGB format. I will remove it on future versions. Ca

Re: [PATCH 1/3] perf script python: Fix string vs byte array resolving

2016-07-16 Thread Jiri Olsa
On Fri, Jul 15, 2016 at 01:18:40PM -0400, Steven Rostedt wrote: > On Fri, 15 Jul 2016 09:29:55 +0200 > Jiri Olsa wrote: > > > + if (field->flags & FIELD_IS_STRING && > > + is_printable_array(data + offset, len)) { > > + obj = PyStr

Re: [PATCH v0 01/10] arm: orion5x: Add required properties for orion-wdt to DT node

2016-07-16 Thread Andrew Lunn
On Sat, Jul 16, 2016 at 03:28:59PM +0100, Jamie Lentin wrote: > orion-wdt refuses to start without these properties defined, so lift > definitions out of kirkwood/dove.dtsi > > Signed-off-by: Jamie Lentin Reviewed-by: Andrew Lunn Andrew > --- > arch/arm/boot/dts/orion5x.dtsi | 3 ++- >

Re: [PATCH v0 02/10] arm: orion5x: Add documentation for SoC and board bindings

2016-07-16 Thread Andrew Lunn
On Sat, Jul 16, 2016 at 03:29:00PM +0100, Jamie Lentin wrote: > Copy the format for kirkwood/dove to orion5x > > Signed-off-by: Jamie Lentin Reviewed-by: Andrew Lunn Andrew

Re: [PATCH v0 03/10] arm: orion5x: Add clk support for mv88f5181

2016-07-16 Thread Andrew Lunn
On Sat, Jul 16, 2016 at 03:29:01PM +0100, Jamie Lentin wrote: > Referring to values in the u-boot port, add support for the mv88f5181 > > Signed-off-by: Jamie Lentin Reviewed-by: Andrew Lunn Andrew

[PATCH 2/3] perf tools: Make is_printable_array global

2016-07-16 Thread Jiri Olsa
It's used from 2 objects in perf, so it's better to keep just one copy. Link: http://lkml.kernel.org/n/tip-dss4lxnywysgpyjd8p7pa...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/util/python.c | 12 tools/perf/util/scripting-engines/trace-event-

[PATCHv3 0/3] perf python: Add support to access tracepoint fields

2016-07-16 Thread Jiri Olsa
hi, adding support to access tracepoint fields in python scripts. v3 changes: - once again fixed is_printable_array [Steven] - patch 3/3 already merged - added new patch 3/3 with automated test for is_printable_array v2 changes: - most of the patches is already pulled in, this is just

[PATCH 3/3] perf tests: Add is_printable_array test

2016-07-16 Thread Jiri Olsa
Add automated test for is_printable_array function. Link: http://lkml.kernel.org/n/tip-if70lj3zhdc3csdqm5web...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/tests/Build| 1 + tools/perf/tests/builtin-test.c | 4 tools/perf/tests/is_printable_array.c | 36 ++

[PATCH 1/3] perf script python: Fix string vs byte array resolving

2016-07-16 Thread Jiri Olsa
Jirka reported that python code returns all arrays as strings. This makes impossible to get all items for byte array tracepoint field containing 0x00 value item. Fixing this by scanning full length of the array and returning it as PyByteArray object in case non printable byte is found. Link: http

Re: [PATCH v2 2/6] [media] Documentation: Add HSV format

2016-07-16 Thread Hans Verkuil
On 07/16/2016 05:57 PM, Ricardo Ribalda Delgado wrote: > Hi Hans > > On Sat, Jul 16, 2016 at 5:28 PM, Hans Verkuil wrote: > >> >>> + >>> +enum v4l2_rgb_encoding { >>> + V4L2_RGB_ENC_FULL = 32, >>> + V4L2_HSV_ENC_16_235 = 33, >>> +}; >> >> No. > > I was trying to fit also L

Re: [PATCH v0 04/10] arm: orion5x: Generalise mv88f5181l pinctrl support for 88f5181

2016-07-16 Thread Andrew Lunn
On Sat, Jul 16, 2016 at 03:29:02PM +0100, Jamie Lentin wrote: > As far as I'm aware the mv88f5181-b1 and mv88f5181l are the same at the > pinctrl level, so re-use the definitions for both. Good, you add a new compatibile string. So it if turns out they are not identical, we can fix it later withou

Re: [PATCH v0 05/10] arm: orion5x: Add DT include for mv88f5181

2016-07-16 Thread Andrew Lunn
On Sat, Jul 16, 2016 at 03:29:03PM +0100, Jamie Lentin wrote: You need to put somewhere here for the commit log. Otherwise this looks O.K. Andrew > Signed-off-by: Jamie Lentin > --- > .../bindings/arm/marvell/marvell,orion5x.txt | 1 + > arch/arm/boot/dts/orion5x-mv88f5181.dt

Re: [patch 2/2] perf jit: remove some no-op error handling

2016-07-16 Thread Stephane Eranian
On Fri, Jul 15, 2016 at 3:27 PM, Arnaldo Carvalho de Melo wrote: > Em Sat, Jul 16, 2016 at 12:08:36AM +0300, Dan Carpenter escreveu: >> info.e_machine is a uint16_t so m is never less than zero. It looks >> like this was maybe left over code from earlier versions so I've just >> removed it. > > Y

Re: [patch 1/2] perf jit: add missing curly braces

2016-07-16 Thread Stephane Eranian
On Fri, Jul 15, 2016 at 2:07 PM, Dan Carpenter wrote: > It doesn't change the runtime behavior, but my static checker complains > that curly braces were intended. > > Signed-off-by: Dan Carpenter > This was clearly a bug. It did not fire when padding=0 because you never come out of the loop with

Re: [PATCH v0 06/10] arm: orion5x: Add DT-based support for Netgear WNR854T

2016-07-16 Thread Andrew Lunn
> + chosen { > + bootargs = "console=ttyS0,115200n8 earlyprintk"; > + linux,stdout-path = &uart0; > + }; You can put the board rate etc in the stdout-patch. Something like: stdout-path = "serial0:115200n8"; > + gpio-leds { > + compa

Re: [PATCH v2 2/3] hwmon: xgene: Add hwmon driver

2016-07-16 Thread Guenter Roeck
On 07/11/2016 05:30 PM, Hoan Tran wrote: This patch adds hardware temperature and power reading support for APM X-Gene SoC using the mailbox communication interface. Signed-off-by: Hoan Tran --- Documentation/hwmon/xgene-hwmon | 30 ++ drivers/hwmon/Kconfig | 7 + drivers/hwmon

Re: [PATCH v0 07/10] arm: orion5x: Remove old non-DT-based WNR854T support

2016-07-16 Thread Andrew Lunn
On Sat, Jul 16, 2016 at 03:29:05PM +0100, Jamie Lentin wrote: Again, you need a commit log. It could be something like: The setup file for the wnr854t has bit rotted to such an extent it no longer works. Replace it with a working device tree description. Andrew

Re: [PATCH v0 06/10] arm: orion5x: Add DT-based support for Netgear WNR854T

2016-07-16 Thread Andrew Lunn
> + pmx_reset_switch: pmx-reset-switch { > + marvell,pins = "mpp1"; > + marvell,function = "gpio"; > + }; Ah! I think i interpreted that wrong. This does not reset the Ethernet switch. It is actually a switch on the front to reset the whole box? How about calling i

Re: [PATCH v0 08/10] net: phy: Try looking for a phy-handle property to find the OF node

2016-07-16 Thread Andrew Lunn
On Sat, Jul 16, 2016 at 03:29:06PM +0100, Jamie Lentin wrote: > If PHY is registered via. a DSA switch, the MDIO bus the phy is on does > not exist in devicetree, but there may be a reference to the PHY node > on the physical MDIO bus to use. O.K, i see what you are trying to achieve, it makes sen

Re: [PATCH v0 09/10] net: phy: Re-attempt custom DT configuration after configuration

2016-07-16 Thread Andrew Lunn
On Sat, Jul 16, 2016 at 03:29:07PM +0100, Jamie Lentin wrote: > marvell,reg-init is generally used to apply a custom LED configuration > on boot. However this is then blatted in m88e1121_config_aneg when the > interface is brought up. Re-apply any custom configuration afterwards, > to keep custom L

Re: [v2,1/4] hwmon: iio_hwmon: defer probe when no channel is found

2016-07-16 Thread Guenter Roeck
On Fri, Jul 15, 2016 at 11:59:11AM +0200, Quentin Schulz wrote: > iio_channel_get_all returns -ENODEV when it cannot find either phandles and > properties in the Device Tree or channels whose consumer_dev_name matches > iio_hwmon in iio_map_list. The iio_map_list is filled in by iio drivers > which

[PATCH] rcu_sync: simplify the state machine, introduce __rcu_sync_enter()

2016-07-16 Thread Oleg Nesterov
On 07/15, Paul E. McKenney wrote: > > On Fri, Jul 15, 2016 at 06:49:39PM +0200, Oleg Nesterov wrote: > > > > IOW, please ignore 2/2 which adds PERCPU_RWSEM_READER, the new version > > just adds rcu_sync_sabotage() which should be renamed (and use GP_PASSED). > > OK, then move the checks out into th

Re: [RCF 1/3] hwmon: Add ads1118 driver

2016-07-16 Thread kbuild test robot
-ADS1118/20160716-082056 base: https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-next config: x86_64-randconfig-x001-201629 (attached as .config) compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430 reproduce: # save the attached .config to linux build tree make

Re: 4.1.28: memory leak introduced by "mm/swap.c: flush lru pvecs on compound page arrival"

2016-07-16 Thread Jens Rottmann
Hi Minchan (& all), Minchan Kim wrote: > [...] found __lru_cache_add has a bug. [...] [-] if (!pagevec_space(pvec) || PageCompound(page)) [+] if (!pagevec_add(pvec, page) || PageCompound(page)) Confirm that did plug the leak, thanks! Also I just saw this was known already: https://marc.i

Re: [PATCH v0 03/10] arm: orion5x: Add clk support for mv88f5181

2016-07-16 Thread Sergei Shtylyov
Hello. On 7/16/2016 5:29 PM, Jamie Lentin wrote: Referring to values in the u-boot port, add support for the mv88f5181 Signed-off-by: Jamie Lentin [...] diff --git a/drivers/clk/mvebu/orion.c b/drivers/clk/mvebu/orion.c index fd12956..a6e5bee 100644 --- a/drivers/clk/mvebu/orion.c +++ b/dr

USB HID problem

2016-07-16 Thread Bruce Korb
This is likely the wrong list, so I apologize in advance. Google didn't get me where I need to go. I have a USB 3.0 hub and switch that I need to use to switch devices between a Linux desktop, laptop and MacBook Pro. At first, I was testing with just a keyboard and mouse. The switch is connected

[GIT PULL] NVMe fix for 4.7

2016-07-16 Thread Jens Axboe
Hi Linus, Late addition here, it's basically a revert of a patch that was added in this merge window, but has proven to cause problems. This is swapping out the RCU based namespace protection with a good old mutex instead. Does not cause merge conflicts with my 4.8 branch, so should not give us an

[PATCH] s390/pci: Delete an unnecessary check before the function call "pci_dev_put"

2016-07-16 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 16 Jul 2016 20:15:17 +0200 The pci_dev_put() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- arch/

Re: [PATCH] rcu_sync: simplify the state machine, introduce __rcu_sync_enter()

2016-07-16 Thread Oleg Nesterov
Damn, sorry for noise... On 07/16, Oleg Nesterov wrote: > > And, there is another possible transition, GP_ENTER -> GP_IDLE, because > not it is possible to call __rcu_sync_enter() and rcu_sync_exit() in any ^^^ I tried to say "now it is possible ..." Oleg.

[PATCH] checkpatch: don't complain about BIT macro in uapi

2016-07-16 Thread Tomas Winkler
BIT macro cannot be exported to UAPI, so don't complain about it in uapi headers. Signed-off-by: Tomas Winkler --- scripts/checkpatch.pl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index a0e511206f24..eee57484e42f 100755

Re: 4.1.28: memory leak introduced by "mm/swap.c: flush lru pvecs on compound page arrival"

2016-07-16 Thread Mikulas Patocka
On Sat, 16 Jul 2016, Jens Rottmann wrote: > Hi Minchan (& all), > > Minchan Kim wrote: > > [...] found __lru_cache_add has a bug. [...] > [-] if (!pagevec_space(pvec) || PageCompound(page)) > [+] if (!pagevec_add(pvec, page) || PageCompound(page)) > > Confirm that did plug the leak, th

Re: [PATCH v0 06/10] arm: orion5x: Add DT-based support for Netgear WNR854T

2016-07-16 Thread Arnd Bergmann
On Saturday, July 16, 2016 3:29:04 PM CEST Jamie Lentin wrote: > + > +#define WNR854T_PCI_SLOT0_OFFS 7 > +#define WNR854T_PCI_SLOT0_IRQ_PIN4 > + > +static void __init wnr854t_pci_preinit(void) > +{ > + int pin; > + > + /* > + * Configure PCI GPIO IRQ pins > + */ > +

USB HID problem - more detail

2016-07-16 Thread Bruce Korb
*** My typing follows a line with a bunch of stars. That is followed by command output. *** The failing devices using usb-devices script have "no such file" errors: T: Bus=01 Lev=02 Prnt=02 Port=01 Cnt=02 Dev#= 27 Spd=12 MxCh= 0 D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs=

Re: [RESEND PATCH 05/14] eeprom: at24: hide the read/write loop behind a macro

2016-07-16 Thread Bartosz Golaszewski
2016-07-16 6:56 GMT+02:00 Wolfram Sang : > >> > >> +#define loop_until_timeout(tout, op_time)\ >> > >> + for (tout = jiffies + msecs_to_jiffies(write_timeout), \ >> > >> + op_time = jiffies; \ >> > >> +

Re: [PATCH] pinctrl: qcom: Add generic ssbi and spmi GPIO/MPP bindings

2016-07-16 Thread Rob Herring
On Mon, Jul 11, 2016 at 12:01:09PM -0700, Stephen Boyd wrote: > The drivers don't really need to know which PMIC they're for, so > make a generic binding for them. This alleviates us from updating > the drivers every time a new PMIC comes out. It's still > recommended that we update the binding wit

Re: [PATCH v2 1/3] Documentation: dtb: xgene: Add hwmon dts binding documentation

2016-07-16 Thread Rob Herring
On Mon, Jul 11, 2016 at 05:30:14PM -0700, Hoan Tran wrote: > This patch adds the APM X-Gene hwmon device tree node documentation. > > Signed-off-by: Hoan Tran > --- > .../devicetree/bindings/hwmon/apm-xgene-hwmon.txt | 14 > ++ > 1 file changed, 14 insertions(+) > create m

Re: [PATCH v4 1/3] dt-bindings: auxadc: Add binding document for Mediatek auxadc.

2016-07-16 Thread Rob Herring
On Tue, Jul 12, 2016 at 10:43:16AM +0800, zhiyong tao wrote: > On Mon, 2016-07-11 at 14:39 +0800, Zhiyong Tao wrote: > > The commit adds the device tree binding documentation for the mediatek > > auxadc found on Mediatek MT2701. > > Thermal gets auxadc sample data by iio device. > > So the commit c

Re: [PATCH v4] locking/pvqspinlock: Fix double hash race

2016-07-16 Thread Davidlohr Bueso
On Sat, 16 Jul 2016, Wanpeng Li wrote: From: Wanpeng Li When the lock holder vCPU is racing with the queue head vCPU: lock holder vCPU queue head vCPU === node->locked = 1; READ_ONCE(node->locked) ...

Re: [PATCH 2/5] arm: dts: apq8064: Add thermal zones, tsens and qfprom nodes

2016-07-16 Thread Rob Herring
On Tue, Jul 12, 2016 at 12:22:51PM +0530, Rajendra Nayak wrote: > TSENS is part of GCC, hence add TSENS properties as part of GCC node. > Also add thermal zones and qfprom nodes. > Update GCC bindings doc to mention the possibility of optional TSENS > properties that can be part of GCC node. > > A

Re: [PATCH v2] i2c: hibvt: add Hisilicon BVT I2C controller driver

2016-07-16 Thread Rob Herring
On Tue, Jul 12, 2016 at 05:40:48PM +0800, Pan Wen wrote: > add Hisilicon BVT I2C controller driver support. > > Signed-off-by: Pan Wen > --- > change log > v2: > 1)Fixed a compile error. > 2)Dropped the clock-names property. > .../devicetree/bindings/i2c/i2c-hibvt.txt | 23 + > drivers

[PATCH 0/3] xen-scsiback: Fine-tuning for scsiback_device_action()

2016-07-16 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 16 Jul 2016 22:06:54 +0200 Further update suggestions were taken into account after a patch was applied from static source code analysis. Markus Elfring (3): Delete an unnecessary check before the function call "kfree" One function call less in scsiback_device

[PATCH 1/3] xen-scsiback: Delete an unnecessary check before the function call "kfree"

2016-07-16 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 16 Jul 2016 21:21:05 +0200 The kfree() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/xen

[PATCH 2/3] xen-scsiback: One function call less in scsiback_device_action() after error detection

2016-07-16 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 16 Jul 2016 21:42:42 +0200 The kfree() function was called in one case by the scsiback_device_action() function during error handling even if the passed variable "tmr" contained a null pointer. Adjust jump targets according to the Linux coding style convention. S

Re: [PATCH 12/16] gpu: ipu-v3: Fix CSI0 blur in NTSC format

2016-07-16 Thread Steve Longerbeam
On 07/15/2016 04:09 PM, Steve Longerbeam wrote: On 07/15/2016 05:58 AM, Philipp Zabel wrote: Am Mittwoch, den 13.07.2016, 16:02 -0700 schrieb Steve Longerbeam: On 07/10/2016 09:33 AM, Steve Longerbeam wrote: On 07/08/2016 10:34 AM, Philipp Zabel wrote: Am Donnerstag, den 07.07.2016, 16:0

[PATCH 3/3] xen-scsiback: Pass a failure indication as a constant

2016-07-16 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 16 Jul 2016 21:55:01 +0200 Pass the constant "FAILED" in a function call directly instead of using an intialisation for a local variable. Signed-off-by: Markus Elfring --- drivers/xen/xen-scsiback.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

Re: [GIT PULL 00/24] perf/core improvements and fixes

2016-07-16 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > Hi Ingo, > > Please consider pulling, > > Test results, with a new target: cross-compiling to Android ARM API 24 (NDK > r12b), > for all except android-ndk:r12b now objtool is tested too, in adition to > tools/perf. > > [root@jouet ~]# dm > alpi

[tip:perf/core] tools lib traceevent: Add correct header for ipv6 definitions

2016-07-16 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: ca575ad2093d7ca94238146c3c9267c61d2523bc Gitweb: http://git.kernel.org/tip/ca575ad2093d7ca94238146c3c9267c61d2523bc Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 14 Jul 2016 11:23:25 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 14 Jul 2016 11:33:32 -0300 to

[tip:perf/core] perf tools: Do not provide dup sched_getcpu() prototype on Android

2016-07-16 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 09dd39d2d2682729174e40161df67f45c151f307 Gitweb: http://git.kernel.org/tip/09dd39d2d2682729174e40161df67f45c151f307 Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 14 Jul 2016 12:02:04 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 14 Jul 2016 12:02:04 -0300 pe

[tip:perf/core] tools: Make "__always_inline" just "inline" on Android

2016-07-16 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 8c98abff43616a2a9c208189f86d32cefafbe708 Gitweb: http://git.kernel.org/tip/8c98abff43616a2a9c208189f86d32cefafbe708 Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 14 Jul 2016 12:03:04 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 14 Jul 2016 12:03:04 -0300 to

[tip:perf/core] perf tools: Bail out at "--sort dcacheline" and cacheline_size not known

2016-07-16 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 0d203166de37ad50ea826f97570b3a2beea87c9d Gitweb: http://git.kernel.org/tip/0d203166de37ad50ea826f97570b3a2beea87c9d Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 15 Jul 2016 10:08:43 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 15 Jul 2016 10:08:43 -0300 pe

[tip:perf/core] perf tools: Just pr_debug() about not being able to read cacheline_size

2016-07-16 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 8811e8ea14c1056b09c794c67836b8a84584ddef Gitweb: http://git.kernel.org/tip/8811e8ea14c1056b09c794c67836b8a84584ddef Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 15 Jul 2016 10:05:19 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 15 Jul 2016 10:08:29 -0300 pe

[tip:perf/core] perf evlist: Drop redundant evsel->overwrite indicator

2016-07-16 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 32a951b4fd6bbe60ef5d65930b1712321e241b27 Gitweb: http://git.kernel.org/tip/32a951b4fd6bbe60ef5d65930b1712321e241b27 Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 14 Jul 2016 08:34:33 + Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 15 Jul 2016 13:38:06 -0300 pe

[tip:perf/core] tools lib api fs: Use base 0 in filename__read_ull

2016-07-16 Thread tip-bot for Jiri Olsa
Commit-ID: db49120a32b347fb93aea3319305932657dd118c Gitweb: http://git.kernel.org/tip/db49120a32b347fb93aea3319305932657dd118c Author: Jiri Olsa AuthorDate: Fri, 15 Jul 2016 09:29:57 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 15 Jul 2016 13:38:05 -0300 tools lib api fs:

[tip:perf/core] tools lib fd array: Allow associating a pointer cookie with each entry

2016-07-16 Thread tip-bot for Wang Nan
Commit-ID: 2b4383470675c85add72725cc08840d36b409276 Gitweb: http://git.kernel.org/tip/2b4383470675c85add72725cc08840d36b409276 Author: Wang Nan AuthorDate: Thu, 14 Jul 2016 08:34:34 + Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 15 Jul 2016 17:27:46 -0300 tools lib fd array

[tip:perf/core] perf evlist: Update mmap related APIs and helpers

2016-07-16 Thread tip-bot for Wang Nan
Commit-ID: 8db6d6b19e486eef3db41bbd74a1f4c2b82d7706 Gitweb: http://git.kernel.org/tip/8db6d6b19e486eef3db41bbd74a1f4c2b82d7706 Author: Wang Nan AuthorDate: Thu, 14 Jul 2016 08:34:35 + Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 15 Jul 2016 17:27:46 -0300 perf evlist: Updat

[tip:perf/core] perf record: Decouple record__mmap_read() and evlist.

2016-07-16 Thread tip-bot for Wang Nan
Commit-ID: a4ea0ec4f24a721bea5447a27ad5fbcb89275bae Gitweb: http://git.kernel.org/tip/a4ea0ec4f24a721bea5447a27ad5fbcb89275bae Author: Wang Nan AuthorDate: Thu, 14 Jul 2016 08:34:36 + Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 15 Jul 2016 17:27:46 -0300 perf record: Decou

[tip:perf/core] perf evlist: Record mmap cookie into fdarray private field

2016-07-16 Thread tip-bot for Wang Nan
Commit-ID: 4876075b3205af992bf1012f6d6fbc03593d55b9 Gitweb: http://git.kernel.org/tip/4876075b3205af992bf1012f6d6fbc03593d55b9 Author: Wang Nan AuthorDate: Thu, 14 Jul 2016 08:34:37 + Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 15 Jul 2016 17:27:47 -0300 perf evlist: Recor

[tip:perf/core] tools: Simplify BITS_PER_LONG define

2016-07-16 Thread tip-bot for Peter Zijlstra
Commit-ID: e81fcd43723d32e9c9dbb8e8d66f147b5b84256b Gitweb: http://git.kernel.org/tip/e81fcd43723d32e9c9dbb8e8d66f147b5b84256b Author: Peter Zijlstra AuthorDate: Fri, 15 Jul 2016 12:38:18 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 15 Jul 2016 17:26:41 -0300 tools: Simpl

[tip:perf/core] perf evlist: Extract common code in mmap failure processing

2016-07-16 Thread tip-bot for Wang Nan
Commit-ID: a1f72618346a4e7ce9cff6aec1a62737d5d08763 Gitweb: http://git.kernel.org/tip/a1f72618346a4e7ce9cff6aec1a62737d5d08763 Author: Wang Nan AuthorDate: Thu, 14 Jul 2016 08:34:38 + Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 15 Jul 2016 17:27:47 -0300 perf evlist: Extra

[tip:perf/core] perf evlist: Introduce backward_mmap array for evlist

2016-07-16 Thread tip-bot for Wang Nan
Commit-ID: b2cb615d8aaba520fe351ff456f6c7730828b3fe Gitweb: http://git.kernel.org/tip/b2cb615d8aaba520fe351ff456f6c7730828b3fe Author: Wang Nan AuthorDate: Thu, 14 Jul 2016 08:34:39 + Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 15 Jul 2016 17:27:48 -0300 perf evlist: Intro

[tip:perf/core] perf evlist: Map backward events to backward_mmap

2016-07-16 Thread tip-bot for Wang Nan
Commit-ID: 078c33862e042b3778dce3bcc8eaef84ab40715c Gitweb: http://git.kernel.org/tip/078c33862e042b3778dce3bcc8eaef84ab40715c Author: Wang Nan AuthorDate: Thu, 14 Jul 2016 08:34:40 + Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 15 Jul 2016 17:27:48 -0300 perf evlist: Map b

[tip:perf/core] perf evlist: Drop evlist->backward

2016-07-16 Thread tip-bot for Wang Nan
Commit-ID: a0c6f451f90204847ce5f91c3268d83a76bde1b6 Gitweb: http://git.kernel.org/tip/a0c6f451f90204847ce5f91c3268d83a76bde1b6 Author: Wang Nan AuthorDate: Thu, 14 Jul 2016 08:34:41 + Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 15 Jul 2016 17:27:49 -0300 perf evlist: Drop

[tip:perf/core] perf evlist: Setup backward mmap state machine

2016-07-16 Thread tip-bot for Wang Nan
Commit-ID: 54cc54decd79b2c92f4db06001b4b245f38181b7 Gitweb: http://git.kernel.org/tip/54cc54decd79b2c92f4db06001b4b245f38181b7 Author: Wang Nan AuthorDate: Thu, 14 Jul 2016 08:34:42 + Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 15 Jul 2016 17:27:49 -0300 perf evlist: Setup

[tip:perf/core] perf record: Read from overwritable ring buffer

2016-07-16 Thread tip-bot for Wang Nan
Commit-ID: 057374645bd42e8bcf22aa4529f99cf7c920a1c6 Gitweb: http://git.kernel.org/tip/057374645bd42e8bcf22aa4529f99cf7c920a1c6 Author: Wang Nan AuthorDate: Thu, 14 Jul 2016 08:34:43 + Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 15 Jul 2016 17:27:50 -0300 perf record: Read

[tip:perf/core] perf evlist: Make {pause,resume} internal helpers

2016-07-16 Thread tip-bot for Wang Nan
Commit-ID: f6cdff8329e04b08cbc195194223e9dbadeeaa1e Gitweb: http://git.kernel.org/tip/f6cdff8329e04b08cbc195194223e9dbadeeaa1e Author: Wang Nan AuthorDate: Thu, 14 Jul 2016 08:34:44 + Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 15 Jul 2016 17:27:50 -0300 perf evlist: Make

[tip:perf/core] perf tools: Enable overwrite settings

2016-07-16 Thread tip-bot for Wang Nan
Commit-ID: 626a6b784e91bc61ca9fe0f9dd5bb60cb91ccb6b Gitweb: http://git.kernel.org/tip/626a6b784e91bc61ca9fe0f9dd5bb60cb91ccb6b Author: Wang Nan AuthorDate: Thu, 14 Jul 2016 08:34:45 + Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 15 Jul 2016 17:27:51 -0300 perf tools: Enable

[tip:perf/core] perf session: Don't warn about out of order event if write_backward is used

2016-07-16 Thread tip-bot for Wang Nan
Commit-ID: f06149c0db430d3694d601df126b0944cc0156a6 Gitweb: http://git.kernel.org/tip/f06149c0db430d3694d601df126b0944cc0156a6 Author: Wang Nan AuthorDate: Thu, 14 Jul 2016 08:34:46 + Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 15 Jul 2016 17:27:51 -0300 perf session: Don'

[tip:perf/core] perf record: Add --tail-synthesize option

2016-07-16 Thread tip-bot for Wang Nan
Commit-ID: 4ea648aec01982d5a57816a95c4665d6081e78f9 Gitweb: http://git.kernel.org/tip/4ea648aec01982d5a57816a95c4665d6081e78f9 Author: Wang Nan AuthorDate: Thu, 14 Jul 2016 08:34:47 + Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 15 Jul 2016 17:27:52 -0300 perf record: Add -

[tip:perf/core] objtool: Add -I$(srctree)/tools/arch/$(ARCH)/include/uapi

2016-07-16 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 4a0982f941d6f2550e8c39bc8bb0984b50dddf36 Gitweb: http://git.kernel.org/tip/4a0982f941d6f2550e8c39bc8bb0984b50dddf36 Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 15 Jul 2016 17:23:46 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 15 Jul 2016 17:29:20 -0300 ob

[tip:perf/core] objtool: Initialize variable to silence old compiler

2016-07-16 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: b49364f36cfdb6d540ac961102d7ffaf84279bb6 Gitweb: http://git.kernel.org/tip/b49364f36cfdb6d540ac961102d7ffaf84279bb6 Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 15 Jul 2016 17:32:52 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 15 Jul 2016 17:32:52 -0300 ob

[tip:x86/headers] x86/platform: Delete extraneous MODULE_* tags fromm ts5500

2016-07-16 Thread tip-bot for Paul Gortmaker
Commit-ID: 00677f826bd0c1befb87b8cfa10f30bde1cc2f32 Gitweb: http://git.kernel.org/tip/00677f826bd0c1befb87b8cfa10f30bde1cc2f32 Author: Paul Gortmaker AuthorDate: Fri, 15 Jul 2016 19:53:18 -0400 Committer: Ingo Molnar CommitDate: Sat, 16 Jul 2016 22:41:00 +0200 x86/platform: Delete extr

Re: [PATCH] ARM: pxa: fix GPIO double shifts

2016-07-16 Thread kbuild test robot
-shifts/20160716-163032 base: https://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git for-next config: arm-spitz_defconfig (attached as .config) compiler: arm-linux-gnueabi-gcc (Debian 5.3.1-8) 5.3.1 20160205 reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git

Re: [PATCH v4 1/2] arch, x86, tsc deadline clockevent dev: eliminate frequency roundoff error

2016-07-16 Thread Nicolai Stange
Paolo Bonzini writes: > On 14/07/2016 17:22, Nicolai Stange wrote: >> In setup_APIC_timer(), the registered clockevent device's frequency >> is calculated by first dividing tsc_khz by TSC_DIVISOR and multiplying >> it with 1000 afterwards: >> >> (tsc_khz / TSC_DIVISOR) * 1000 >> >> The multip

Re: [PATCH v3 1/2] dt-bindings: Update iProc GPIO bindings

2016-07-16 Thread Rob Herring
On Tue, Jul 12, 2016 at 10:39:17AM -0700, Ray Jui wrote: > Update the iProc GPIO binding document to add new compatible strings > "brcm,iproc-gpio-nsp" and "brcm,iproc-gpio-stingray" to support the > iProc based GPIO controller used in the NSP and Stingray SoCs, > respectively > > Signed-off-by: R

[PATCH] lib/bitmap.c: enhance map pattern

2016-07-16 Thread Noam Camus
From: Noam Camus Today there are platforms with many CPUs (up to 4K). Trying to boot only part of the CPUs may result in too long string. For example lets take NPS platform that is part of arch/arc. This platform have SMP system with 256 cores each with 16 HW threads (SMT machine) where HW threa

Re: [PATCH] checkpatch: don't complain about BIT macro in uapi

2016-07-16 Thread Joe Perches
On Sat, 2016-07-16 at 21:41 +0300, Tomas Winkler wrote: > BIT macro cannot be exported to UAPI, so don't complain about it in > uapi headers. Hi Tomas, this makes sense, but could you please indent the second line to the open parenthesis? Assuming this is done in V2: Acked-by: Joe Perches > >

Re: [PATCH 1/2] ARM: socfpga: add bindings doc for arria10 fpga manager

2016-07-16 Thread Rob Herring
On Tue, Jul 12, 2016 at 02:07:08PM -0500, Alan Tull wrote: > Add a device tree bindings document for the SoCFPGA Arria10 > FPGA Manager driver. > > Signed-off-by: Alan Tull > --- > .../bindings/fpga/altera-socfpga-a10-fpga-mgr.txt | 19 > +++ > 1 file changed, 19 insertions(

[PATCH v2] checkpatch: don't complain about BIT macro in uapi

2016-07-16 Thread Tomas Winkler
BIT macro cannot be exported to UAPI, don't complain about it Signed-off-by: Tomas Winkler --- V2: fix indentation scripts/checkpatch.pl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index a0e511206f24..76d3fccb82f3 100755

Re: [PATCH v4 1/2] input: adc-keys: add DT binding documentation

2016-07-16 Thread Rob Herring
On Tue, Jul 12, 2016 at 09:36:25PM +0200, Alexandre Belloni wrote: > Add documentation for ADC keys > > Signed-off-by: Alexandre Belloni > --- > Cc: Rob Herring > Cc: devicet...@vger.kernel.org > > Changes v2..v4: > - Documented autorepeat and poll-interval > > > .../devicetree/bindings/inp

Re: [PATCH 1/4] Documentation: dt: iio: at91_adc: fix trigger node names

2016-07-16 Thread Rob Herring
On Wed, Jul 13, 2016 at 01:07:27AM +0200, Alexandre Belloni wrote: > The trigger doesn't need the reg property. When it is not defined, the node > name doesn't need a unit-address. Remove them from the example. > > Signed-off-by: Alexandre Belloni > --- > Documentation/devicetree/bindings/iio/ad

Re: [PATCH 3/4] Documentation: dt: usb: atmel-usb: add unit-address

2016-07-16 Thread Rob Herring
On Wed, Jul 13, 2016 at 01:07:29AM +0200, Alexandre Belloni wrote: > The endpoint nodes have a reg property, they also need a unit-address. Add > them in the example. > > Signed-off-by: Alexandre Belloni > --- > Documentation/devicetree/bindings/usb/atmel-usb.txt | 14 +++--- > 1 file ch

Re: [PATCH v4 1/2] input: adc-keys: add DT binding documentation

2016-07-16 Thread Alexandre Belloni
On 16/07/2016 at 17:11:39 -0500, Rob Herring wrote : > On Tue, Jul 12, 2016 at 09:36:25PM +0200, Alexandre Belloni wrote: > > Add documentation for ADC keys > > > > Signed-off-by: Alexandre Belloni > > --- > > Cc: Rob Herring > > Cc: devicet...@vger.kernel.org > > > > Changes v2..v4: > > - Doc

Re: [PATCH v3 1/2] ASoC: atmel-i2s: add DT bindings for I2S controller

2016-07-16 Thread Rob Herring
On Wed, Jul 13, 2016 at 12:25:38PM +0200, Cyrille Pitchen wrote: > This patch adds DT bindings for the new Atmel I2S controller embedded > inside sama5d2x SoCs. > > Signed-off-by: Cyrille Pitchen > --- > .../devicetree/bindings/sound/atmel-i2s.txt| 87 > ++ > 1 file

Re: [PATCH v3 3/8] Input: synaptics-rmi4: Add dribble and palm gesture parameters to device tree

2016-07-16 Thread Rob Herring
On Wed, Jul 13, 2016 at 11:08:42PM -0700, Andrew Duggan wrote: > Signed-off-by: Andrew Duggan > --- > This version includes Nick's suggestion of adding force to the device tree > parameters so make it obvious that these parameters overwrite the > default values set in the firware config. > > ...

Re: [PATCH v2 1/2] Documentation: mmc: add description for new no-sd* and no-mmc

2016-07-16 Thread Rob Herring
On Thu, Jul 14, 2016 at 04:26:03PM +0800, Shawn Lin wrote: > This patch adds description for no-sd, no-sdio, no-mmc. We expose > these to DT as some of the controllers are unable to deal with > special cmd type due to hw limitation. > > Signed-off-by: Shawn Lin > > --- > > Changes in v2: > - am

Re: [PATCH v7 2/5] usb: dwc3: add dis_u2_freeclk_exists_quirk

2016-07-16 Thread Rob Herring
On Thu, Jul 14, 2016 at 04:59:19PM +0800, William Wu wrote: > Add a quirk to clear the GUSB2PHYCFG.U2_FREECLK_EXISTS bit, > which specifies whether the USB2.0 PHY provides a free-running > PHY clock, which is active when the clock control input is active. > > Signed-off-by: William Wu > --- > Cha

<    1   2   3   >