[PATCH 14/23] perf tools: Remove needless 'extern' from function prototypes

2016-03-23 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Cc: Adrian Hunter Cc: Jiri Olsa Cc: Namhyung Kim Cc: Wang Nan Link: http://lkml.kernel.org/n/tip-w246stf7ponfamclsai6b...@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/bench/bench.h | 22 ++-- tools/perf/bench/mem-memc

[PATCH 21/23] perf tools: Unexport some methods unused outside strbuf.c

2016-03-23 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Cc: Adrian Hunter Cc: Jiri Olsa Cc: Namhyung Kim Cc: Wang Nan Link: http://lkml.kernel.org/n/tip-nq1wvtky4mpu0nupjyar7...@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/util/strbuf.c | 9 - tools/perf/util/strbuf.h | 7 +-- 2

[PATCH 12/23] perf tools: Remove unused DIE_IF macro

2016-03-23 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Cc: Adrian Hunter Cc: Jiri Olsa Cc: Namhyung Kim Cc: Wang Nan Link: http://lkml.kernel.org/n/tip-elxg25jd4dhwod4wqbko8...@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/util/util.h | 7 --- 1 file changed, 7 deletions(-) diff --git

[PATCH 19/23] perf help: Use asprintf instead of adhoc equivalents

2016-03-23 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo That doesn't chekcs malloc return and that, when using strbuf, if it can't grow, just explodes away via die(). Cc: Adrian Hunter Cc: Jiri Olsa Cc: Namhyung Kim Cc: Wang Nan Link: http://lkml.kernel.org/n/tip-vr8qsjbwub7e892hpa9ms...@git.kernel.org Signed-off-by

[PATCH 09/23] perf machine: Rename perf_event__preprocess_sample to machine__resolve

2016-03-23 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Since we only deal with fields in the passed struct perf_sample move this method to struct machine, that is where the perf_sample fields will be resolved to a struct addr_location, i.e. thread, map, symbol, etc. Cc: Adrian Hunter Cc: Hemant Kumar Cc: Jiri Olsa C

Re: [PATCH] PM / AVS: rockchip-io: add io selectors and supplies for rk3399

2016-03-23 Thread Rafael J. Wysocki
On Wednesday, March 23, 2016 01:35:55 PM Kevin Hilman wrote: > Heiko Stübner writes: > > > Hi David, > > > > Am Mittwoch, 16. März 2016, 02:45:26 schrieb David Wu: > >> This adds the necessary data for handling io voltage domains on the rk3399. > >> As interesting tidbit, the rk3399 contains two

[PATCH 18/23] perf tools: Remove unused perf_pathdup, xstrdup functions

2016-03-23 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Cc: Adrian Hunter Cc: Jiri Olsa Cc: Namhyung Kim Cc: Wang Nan Link: http://lkml.kernel.org/n/tip-s87zi5d03m6rz622y1z6r...@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/util/cache.h | 3 --- tools/perf/util/path.c| 30

[PATCH 02/23] tools: Move utilities.mak from perf to tools/scripts/

2016-03-23 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo As it is used by several other tools, better move it outside tools/perf. Cc: Adrian Hunter Cc: Jiri Olsa Cc: Josh Poimboeuf Cc: Namhyung Kim Cc: Wang Nan Link: http://lkml.kernel.org/n/tip-34s9kue3xq9w5mijdmfrf...@git.kernel.org Signed-off-by: Arnaldo Carvalho

[PATCH 01/23] perf test: Remove 'core_id' check in topo test

2016-03-23 Thread Arnaldo Carvalho de Melo
From: Sukadev Bhattiprolu The topology test case of 'perf test' seems to be broken on my x86 system - due to the comparison of a "core-id" with # of CPUs online. There are 8 online CPUs: $ cat /sys/devices/system/cpu/online 0-7 but core-ids are not sequential and some core-ids

[PATCH 17/23] perf tools: Do not include stringify.h from the kernel sources

2016-03-23 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Use instead the copy just made to tools/include/linux/. Cc: Adrian Hunter Cc: Jiri Olsa Cc: Namhyung Kim Cc: Wang Nan Link: http://lkml.kernel.org/n/tip-q736w12nwy98x5ox2hamp...@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/arch/powerp

[PATCH 15/23] tools lib traceevent: Remove redundant CPU output

2016-03-23 Thread Arnaldo Carvalho de Melo
From: Steven Rostedt Commit a6745330789f ("tools lib traceevent: Split pevent_print_event() into specific functionality functions") broke apart the function pevent_print_event() into three functions. The first function prints the comm, pid and CPU, the second prints the timestamp. But that comm

[PATCH 13/23] perf tools: Simplify die() mechanism

2016-03-23 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo This should die altogether, but for now lets remove a bit of this stuff, as it is not used at all. Cc: Adrian Hunter Cc: Jiri Olsa Cc: Namhyung Kim Cc: Wang Nan Link: http://lkml.kernel.org/n/tip-ade3n99xscldhg5mx2vzd...@git.kernel.org Signed-off-by: Arnaldo Ca

Re: [PATCH 5/5] cpufreq: acpi-cpufreq: Clean up hot plug notifier callback.

2016-03-23 Thread Rafael J. Wysocki
On Friday, March 18, 2016 10:26:11 PM Richard Cochran wrote: > This driver has two issues. First, it tries to fiddle with the hot > plugged CPU's MSR on the UP_PREPARE event, at a time when the CPU is > not yet online. Second, the driver sets the "boost-disable" bit for a > CPU when going down, b

Re: [PATCH v13] cpufreq: powernv: Add sysfs attributes to show throttle stats

2016-03-23 Thread Rafael J. Wysocki
On Tuesday, March 22, 2016 07:55:07 PM Viresh Kumar wrote: > On 22-03-16, 18:57, Shilpasri G Bhat wrote: > > Create sysfs attributes to export throttle information in > > /sys/devices/system/cpu/cpuX/cpufreq/throttle_stats directory. The > > newly added sysfs files are as follows: > > > > 1)/sys/d

[PATCH 07/23] perf tests: Forward the perf_sample in the dwarf unwind test

2016-03-23 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo It _will_ be used, no sense in receiving it and nor fowarding it along. Cc: Adrian Hunter Cc: Hemant Kumar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Naveen N. Rao Cc: Ravi Bangoria Cc: Wang Nan Link: http://lkml.kernel.org/n/tip-ht8v5et209wuoh5o6nh9p...@git.kernel.

CISCO IP PHONES AND CPU's

2016-03-23 Thread Inc
Hi, Our Stock list. Brand NEW 96 x Cisco 7900 IP Phone 87 x Unified IP Phone 6900 12 x Unified IP Phone 8900 76 x Unified IP Phone 9900 55 x Unified IP Phone 8800 67 x Cisco 1921 67 x Cisco 1941 56 x Cisco CP-7961G 7961G 34 x Cisco CP-7971G-GE 7971G 19 x Cisco Unified IP Conference Station 7937G

Re: [PATCH] cpufreq: acpi-cpufreq: make Intel/AMD MSR access, io port access static

2016-03-23 Thread Rafael J. Wysocki
On Tuesday, March 22, 2016 08:13:53 PM Viresh Kumar wrote: > On 22-03-16, 22:34, Jisheng Zhang wrote: > > These frequency register read/write operations' implementations for the > > given processor (Intel/AMD MSR access or I/O port access) are only used > > internally in acpi-cpufreq, so make them

[PATCH 11/23] perf script: Remove lots of unused arguments

2016-03-23 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Cc: Adrian Hunter Cc: David Ahern Cc: Jiri Olsa Cc: Namhyung Kim Cc: Wang Nan Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/builtin-script.c | 37 ++--- 1 file changed, 14 insertions(+), 23 deletions(-) diff --git a/t

[PATCH 04/23] perf bench numa: Fix assertion for nodes bitfield

2016-03-23 Thread Arnaldo Carvalho de Melo
From: Jakub Jelen Comparing bits and bytes in numa benchmark assertion I hit the issue on two socket Power8 machine presenting its numa nodes as 0,1,16,17 (according to numactl). Therefore I got error (and hang of parent process): perf: bench/numa.c:296: bind_to_memnode: Assertion `!(g->p.n

Re: [f2fs-dev] [PATCH] f2fs: give RO message when recovering superblock

2016-03-23 Thread Marc Lehmann
On Wed, Mar 23, 2016 at 01:38:19PM -0700, Jaegeuk Kim wrote: > When one of superblocks is missing, f2fs recovers it with the valid one. > But, even if f2fs is mounted as RO, we'd better notify that too. (I have written this in my other mail, but in case you didn't see it, because it wasn't direc

[PATCH 06/23] perf tools: Remove misplaced __maybe_unused

2016-03-23 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo All over the tree. Cc: David Ahern cc: Jiri Olsa Cc: Namhyung Kim Cc: Ravi Bangoria Link: http://lkml.kernel.org/n/tip-8nzhnokxyp8y4v7gf0j00...@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/bench/bench.h | 2 +- tools/perf/bu

linux-next: suspect commits in the blackfin tree

2016-03-23 Thread Stephen Rothwell
Hi all, I noticed in the blackfin tree today several new commits whose committer is "steven " ... Also, for some reason, this tree is based on v4.0 (when the commits were only committed today). -- Cheers, Stephen Rothwell

Re: [PATCH v2] drivers/firmware/broadcom/bcm47xx_nvram.c: fix incorrect __ioread32_copy

2016-03-23 Thread Hauke Mehrtens
On 03/16/2016 12:06 AM, Aaro Koskinen wrote: > Commit 1f330c327900 ("drivers/firmware/broadcom/bcm47xx_nvram.c: use > __ioread32_copy() instead of open-coding") switched to use a generic copy > function, but failed to notice that the header pointer is updated between > the two copies, resulting in

Re: [PATCH] PM / AVS: rockchip-io: add io selectors and supplies for rk3399

2016-03-23 Thread Kevin Hilman
On Wed, Mar 23, 2016 at 2:24 PM, Rafael J. Wysocki wrote: > On Wednesday, March 23, 2016 01:35:55 PM Kevin Hilman wrote: >> Heiko Stübner writes: >> >> > Hi David, >> > >> > Am Mittwoch, 16. März 2016, 02:45:26 schrieb David Wu: >> >> This adds the necessary data for handling io voltage domains o

Re: [PATCH] rapidio: add RapidIO channelized messaging driver

2016-03-23 Thread Andrew Morton
On Mon, 21 Mar 2016 07:38:01 -0400 Alexandre Bounine wrote: > Add channelized messaging driver to support native RapidIO messaging > exchange between multiple senders/recipients. > > This device driver is the result of collaboration within the RapidIO.org > Software Task Group (STG) between Tex

Re: [PATCH v2] drivers/firmware/broadcom/bcm47xx_nvram.c: fix incorrect __ioread32_copy

2016-03-23 Thread Stephen Boyd
On 03/23, Hauke Mehrtens wrote: > On 03/16/2016 12:06 AM, Aaro Koskinen wrote: > > Commit 1f330c327900 ("drivers/firmware/broadcom/bcm47xx_nvram.c: use > > __ioread32_copy() instead of open-coding") switched to use a generic copy > > function, but failed to notice that the header pointer is updated

[PATCH 01/17] pinctrl: qcom: ipq4019: set ngpios to correct value

2016-03-23 Thread Matthew McClintock
This should have been bumped to 100 when the extra pins were added in the original pinctrl patch CC: linus.wall...@linaro.org CC: bjorn.anders...@linaro.org Signed-off-by: Matthew McClintock --- drivers/pinctrl/qcom/pinctrl-ipq4019.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --

[PATCH 03/17] pinctrl: qcom: ipq4019: fix register offsets

2016-03-23 Thread Matthew McClintock
For this SoC the register offsets changed from previous versions to be separated by a larger amount. CC: linus.wall...@linaro.org CC: bjorn.anders...@linaro.org Signed-off-by: Matthew McClintock --- drivers/pinctrl/qcom/pinctrl-ipq4019.c | 10 +- 1 file changed, 5 insertions(+), 5 deleti

[PATCH 02/17] pinctrl: qcom: ipq4019: fix the function enum for gpio mode

2016-03-23 Thread Matthew McClintock
Without this, we would fail to set the mode to gpio if trying to configure for that mode CC: linus.wall...@linaro.org CC: bjorn.anders...@linaro.org Signed-off-by: Matthew McClintock --- drivers/pinctrl/qcom/pinctrl-ipq4019.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dr

[PATCH 05/17] clk: qcom: ipq4019: add some fixed clocks for ddrppl and fepll

2016-03-23 Thread Matthew McClintock
Drivers for these don't exist yet so we will add them as fixed clocks so we don't BUG() if we change clocks that reference these clocks. Signed-off-by: Matthew McClintock --- drivers/clk/qcom/gcc-ipq4019.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/clk/qcom/gcc-ipq40

[PATCH 17/17] qcom: ipq4019: add DMA nodes to ipq4019 SoC and DK01 device tree

2016-03-23 Thread Matthew McClintock
This adds the blsp_dma node to the device tree and the required properties for using DMA with serial Signed-off-by: Matthew McClintock --- arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi | 4 arch/arm/boot/dts/qcom-ipq4019.dtsi | 15 +++ 2 files changed, 19 insertions(+

[PATCH 14/17] cpufreq: ipq4019: add cpufreq driver

2016-03-23 Thread Matthew McClintock
Add cpufreq driver for ipq4019 SoC. This driver simply instantiates cpufreq-dt. Signed-off-by: Matthew McClintock --- drivers/cpufreq/Kconfig.arm | 9 + drivers/cpufreq/Makefile | 1 + drivers/cpufreq/ipq4019-cpufreq.c | 35 +++ 3 files ch

[PATCH 08/17] watchdog: qcom: configure BARK time in addition to BITE time

2016-03-23 Thread Matthew McClintock
For certain parts and some versions of TZ, TZ will reset the chip when a BARK is triggered even though it was not configured here. So by default let's configure this BARK time as well. Signed-off-by: Matthew McClintock --- drivers/watchdog/qcom-wdt.c | 5 + 1 file changed, 5 insertions(+) d

[PATCH 15/17] qcom: ipq4019: add cpu operating points for cpufreq support

2016-03-23 Thread Matthew McClintock
This adds some operating points for cpu frequeny scaling Signed-off-by: Matthew McClintock --- arch/arm/boot/dts/qcom-ipq4019.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/qcom-ipq4019.dtsi b/arch/arm/boot/dts/qcom-ipq4019.dtsi index 1937edf..db48fd3 100644

[PATCH 16/17] qcom: ipq4019: add crypto nodes to ipq4019 SoC and DK01 device tree

2016-03-23 Thread Matthew McClintock
This adds the crypto nodes to the ipq4019 device tree, it also adds the BAM node used by crypto as well which the driver currently requires to operate properly The crypto driver itself depends on some other patches to qcom_bam_dma to function properly: https://lkml.org/lkml/2015/12/1/113 CC: Sta

[PATCH 10/17] qcom: ipq4019: add watchdog node to ipq4019 SoC and DK01 device tree

2016-03-23 Thread Matthew McClintock
This will allow boards to enable watchdog support Signed-off-by: Matthew McClintock --- arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi | 4 arch/arm/boot/dts/qcom-ipq4019.dtsi | 8 2 files changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dts

[PATCH 12/17] qcom: ipq4019: add spi node to ipq4019 SoC and DK01 device tree

2016-03-23 Thread Matthew McClintock
This will allow boards to enable the SPI bus Signed-off-by: Matthew McClintock --- arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi | 37 +++ arch/arm/boot/dts/qcom-ipq4019.dtsi | 18 + 2 files changed, 55 insertions(+) diff --git a/arch/arm/boot/dts/q

[PATCH 07/17] watchdog: qcom: add option for standalone watchdog not in timer block

2016-03-23 Thread Matthew McClintock
Commit 0dfd582e026a ("watchdog: qcom: use timer devicetree binding") moved to use the watchdog as a subset timer register block. Some devices have the watchdog completely standalone with slightly different register offsets as well so let's account for the differences here. Signed-off-by: Matthew M

[PATCH 13/17] qcom: ipq4019: add i2c node to ipq4019 SoC and DK01 device tree

2016-03-23 Thread Matthew McClintock
This will allow boards to enable the I2C bus CC: Sricharan R Signed-off-by: Matthew McClintock --- arch/arm/boot/dts/qcom-ipq4019.dtsi | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/qcom-ipq4019.dtsi b/arch/arm/boot/dts/qcom-ipq4019.dtsi index 99e64f4..193

[PATCH 09/17] watchdog: qcom: add kpss-standalone to device tree binding

2016-03-23 Thread Matthew McClintock
Update the compatible string to add new device tree binding CC: linux-watch...@vger.kernel.org Signed-off-by: Matthew McClintock --- Documentation/devicetree/bindings/watchdog/qcom-wdt.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/watchdog/qcom-wdt.txt

[PATCH 06/17] watchdog: qcom: update device tree bindings

2016-03-23 Thread Matthew McClintock
Update the compatible string to align with driver CC: linux-watch...@vger.kernel.org Signed-off-by: Matthew McClintock --- Documentation/devicetree/bindings/watchdog/qcom-wdt.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/watchdog/q

[PATCH 11/17] qcom: ipq4019: add support for reset via qcom,ps-hold

2016-03-23 Thread Matthew McClintock
This will allow these types of boards to be rebooted. Signed-off-by: Matthew McClintock --- arch/arm/boot/dts/qcom-ipq4019.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/qcom-ipq4019.dtsi b/arch/arm/boot/dts/qcom-ipq4019.dtsi index 00a5e9e..acb851d 100644 --- a/

[PATCH 04/17] clk: qcom: ipq4019: switch remaining defines to enums

2016-03-23 Thread Matthew McClintock
When this was added not all the remaining defines were switched over to use enums, so let's complete that process here Reported-by: Stephen Boyd Signed-off-by: Matthew McClintock --- drivers/clk/qcom/gcc-ipq4019.c | 60 ++ 1 file changed, 25 insertions(+)

[PATCH 3/4] arm64: dts: marvell: Clean up armada-7040-db

2016-03-23 Thread Andreas Färber
Instead of duplicating the node hierarchy, reference the nodes by label, adding labels where necessary. Drop some trailing or inconsistent white lines while at it. Fixes: ec7e5a569bce ("arm64: dts: marvell: add Device Tree files for Armada 7K/8K") Cc: Thomas Petazzoni Signed-off-by: Andreas Fär

[PATCH 4/4] arm64: dts: marvell: Rename armada-ap806 XOR nodes

2016-03-23 Thread Andreas Färber
Petazzoni Signed-off-by: Andreas Färber --- "marvell,mv-xor-v2" is not yet referenced from any driver in next-20160323. arch/arm64/boot/dts/marvell/armada-ap806.dtsi | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/marvell/armada-ap806.dts

[PATCH 1/4] arm64: dts: marvell: Clean up armada-3720-db

2016-03-23 Thread Andreas Färber
Instead of duplicating the SoC's node hierarchy, including a bus node named "internal-regs", reference the actually desired nodes by label, like Berlin already does. Add labels where necessary. Drop an inconsistent white line while at it. Fixes: adbc3695d9e4 ("arm64: dts: add the Marvell Armada 3

[PATCH 2/4] arm64: dts: marvell: Rename armada-37xx USB node

2016-03-23 Thread Andreas Färber
No need to reflect the USB version in the node name. Fixes: adbc3695d9e4 ("arm64: dts: add the Marvell Armada 3700 family and a development board") Cc: Gregory CLEMENT Signed-off-by: Andreas Färber --- arch/arm64/boot/dts/marvell/armada-37xx.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 delet

[Patch V2 1/2] iommu: remove the iommu_callback_data

2016-03-23 Thread Wei Yang
According to the code path, iommu_callback_data is passed in iommu_bus_init() and just used in {add/remove}_iommu_group, by when the bus->iommu_ops is already set up properly. This patch removes the iommu_callback_data by retrieving iommu_ops from bus->iommu_ops directly. Signed-off-by: Wei Yang

[Patch V2 2/2] iommu: remove sysfs_link to device in iommu_group/devices when failed

2016-03-23 Thread Wei Yang
The original code forgets to remove the sysfs_link to a device in iommu_group/devices directory, when the creation fails or conflicts on the name. This patch tries to remove the sysfs_link on the failure. Signed-off-by: Wei Yang --- drivers/iommu/iommu.c |1 + 1 file changed, 1 insertion(+)

[Patch V2 0/2] Cleanup on IOMMU

2016-03-23 Thread Wei Yang
This two patches tries to do some cleanup in iommu. V2: * add patch 2 Wei Yang (2): iommu: remove the iommu_callback_data iommu: remove sysfs_link to device in iommu_group/devices when failed drivers/iommu/iommu.c | 22 +++--- 1 file changed, 7 insertions(+), 15 deletion

Re: [PATCH] iommu: remove the iommu_callback_data

2016-03-23 Thread Wei Yang
Obsolete this one, V2 is sent. On Sun, Mar 20, 2016 at 01:57:52AM +, Wei Yang wrote: >According to the code path, iommu_callback_data is passed in >iommu_bus_init() and just used in {add/remove}_iommu_group, by when the >bus->iommu_ops is already set up properly. > >This patch removes the iom

Re: [PATCH 06/17] watchdog: qcom: update device tree bindings

2016-03-23 Thread Stephen Boyd
On 03/23/2016 03:05 PM, Matthew McClintock wrote: > Update the compatible string to align with driver > > CC: linux-watch...@vger.kernel.org > Signed-off-by: Matthew McClintock I had a patch similar to this before http://lists.infradead.org/pipermail/linux-arm-kernel/2015-February/325235.html >

Re: [RFT PATCH] [media] exynos4-is: Fix fimc_is_parse_sensor_config() nodes handling

2016-03-23 Thread Andreas Färber
Hi Javier, Am 23.03.2016 um 17:15 schrieb Javier Martinez Canillas: > The same struct device_node * is used for looking up the I2C sensor, OF > graph endpoint and port. So the reference count is incremented but not > decremented for the endpoint and port nodes. > > Fix this by having separate poi

Re: [PATCH 15/17] qcom: ipq4019: add cpu operating points for cpufreq support

2016-03-23 Thread Stephen Boyd
On 03/23/2016 03:05 PM, Matthew McClintock wrote: > This adds some operating points for cpu frequeny scaling > > Signed-off-by: Matthew McClintock > --- Can you use the v2 OPP bindings instead? I imagine uV could be left out then because there isn't any regulator control? -- Qualcomm Innovation

[PATCH] staging: rtl8188eu: remove return at end of void function call

2016-03-23 Thread Nicholas Sim
Remove unnecessary return statements from last lines of void function call (several) Signed-off-by: Nicholas Sim --- drivers/staging/rtl8188eu/core/rtw_mlme_ext.c | 17 - 1 file changed, 17 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_mlme_ext.c b/drivers/stagin

[PATCH v3] sparc/PCI: Fix for panic while enabling SR-IOV

2016-03-23 Thread Babu Moger
We noticed this panic while enabling SR-IOV in sparc. mlx4_core: Mellanox ConnectX core driver v2.2-1 (Jan 1 2015) mlx4_core: Initializing 0007:01:00.0 mlx4_core 0007:01:00.0: Enabling SR-IOV with 5 VFs mlx4_core: Initializing 0007:01:00.1 Unable to handle kernel NULL pointer dereference insmod(1

Re: [PATCH 07/17] watchdog: qcom: add option for standalone watchdog not in timer block

2016-03-23 Thread Stephen Boyd
On 03/23, Matthew McClintock wrote: > @@ -202,13 +238,6 @@ static int qcom_wdt_remove(struct platform_device *pdev) > return 0; > } > > -static const struct of_device_id qcom_wdt_of_table[] = { > - { .compatible = "qcom,kpss-timer" }, > - { .compatible = "qcom,scss-timer" }, > -

Re: [PATCH v4 00/20] x86, boot: kaslr cleanup and 64bit kaslr support

2016-03-23 Thread Kees Cook
On Tue, Mar 22, 2016 at 1:25 PM, Kees Cook wrote: > On Tue, Mar 22, 2016 at 12:31 AM, Baoquan He wrote: >> ***Background: >> Previously a bug is reported that kdump didn't work when kaslr is enabled. >> During >> discussing that bug fix, we found current kaslr has a limilation that it can >> onl

Re: [PATCH 08/17] watchdog: qcom: configure BARK time in addition to BITE time

2016-03-23 Thread Stephen Boyd
On 03/23, Matthew McClintock wrote: > For certain parts and some versions of TZ, TZ will reset the chip > when a BARK is triggered even though it was not configured here. So > by default let's configure this BARK time as well. > Why isn't TZ configuring the bark time to what it wants? I'm lost wh

Re: [tip:perf/urgent] perf/x86/cqm: Fix CQM handling of grouping events into a cache_group

2016-03-23 Thread Vikas Shivappa
On Wed, 23 Mar 2016, Matt Fleming wrote: On Mon, 21 Mar, at 11:14:37AM, Vikas Shivappa wrote: Before MBM , the below condition was never hit because we had only one event ? - if (a->hw.target == b->hw.target) + if (a->hw.target == b->hw.target) { + b->hw.is_group_

Proposal for Anti-Keystroke Fingerprinting at the Input Driver Level

2016-03-23 Thread bancfc
== Attack Description == Keystroke fingerprinting works by measuring how long keys are pressed and the time between presses. Its very high accuracy poses a serious threat to anonymous users.[1] This tracking technology has been deployed by major advertisers (Google, Facebook), banks and mass

[PATCH] gpio / ACPI: ignore GpioInt() GPIOs when requesting GPIO_OUT_*

2016-03-23 Thread Dmitry Torokhov
From: Dmitry Torokhov When firmware does not use _DSD properties that allow properly name GPIO resources, the kernel falls back on parsing _CRS resources, and will return entries described as GpioInt() as general purpose GPIOs even though they are meant to be used simply as interrupt sources for

[PATCH] staging: xgifb: ensure braces on all arms of if stmt

2016-03-23 Thread Nicholas Sim
Added braces on else arm of if statement where if arm already has braces as suggested for clarity in Documentation/CodingStyle Signed-off-by: Nicholas Sim --- drivers/staging/xgifb/vb_setmode.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/xgifb/vb_setmode

[PATCH] staging: xgifb: remove extra braces from if stmt (single branch)

2016-03-23 Thread Nicholas Sim
Remove braces from one branch of if statement where both branches only have a single line of code, as suggested in Documentation/CodingStyle Signed-off-by: Nicholas Sim --- drivers/staging/xgifb/vb_setmode.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/stag

Re: linux-next: manual merge of the rdma tree with the net-next tree

2016-03-23 Thread Or Gerlitz
On Wed, Mar 16, 2016 at 7:44 PM, Linus Torvalds wrote: > On Wed, Mar 16, 2016 at 10:35 AM, Doug Ledford wrote: >> On 3/16/2016 1:18 PM, Linus Torvalds wrote: >>> On Tue, Mar 15, 2016 at 5:58 PM, Stephen Rothwell >>> wrote: I fixed it up (see below) and can carry the fix as necessary (no a

Re: [Patch V2 2/2] iommu: remove sysfs_link to device in iommu_group/devices when failed

2016-03-23 Thread Alex Williamson
On Wed, 23 Mar 2016 22:25:11 + Wei Yang wrote: > The original code forgets to remove the sysfs_link to a device in > iommu_group/devices directory, when the creation fails or conflicts on the > name. > > This patch tries to remove the sysfs_link on the failure. > > Signed-off-by: Wei Yang

[PATCH 0/7] Drivers: hv: vmbus: Cleanup the ring buffer code

2016-03-23 Thread K. Y. Srinivasan
Cleanup and fix a bug in the ring buffer code. Also implement APIs for in place consumption of received packets. K. Y. Srinivasan (7): Drivers: hv: vmbus: Introduce functions for estimating room in the ring buffer Drivers: hv: vmbus: Use READ_ONCE() to read variables that are volatile

[PATCH 5/7] Drivers: hv: vmbus: Export the vmbus_set_event() API

2016-03-23 Thread K. Y. Srinivasan
In preparation for moving some ring buffer functionality out of the vmbus driver, export the API for signaling the host. Signed-off-by: K. Y. Srinivasan --- drivers/hv/connection.c |1 + drivers/hv/hyperv_vmbus.h |2 -- include/linux/hyperv.h|1 + 3 files changed, 2 insertions(

[PATCH 1/7] Drivers: hv: vmbus: Introduce functions for estimating room in the ring buffer

2016-03-23 Thread K. Y. Srinivasan
Introduce separate functions for estimating how much can be read from and written to the ring buffer. Signed-off-by: K. Y. Srinivasan --- drivers/hv/ring_buffer.c | 24 include/linux/hyperv.h | 27 +++ 2 files changed, 31 insertions(+), 20 d

[PATCH 4/7] Drivers: hv: vmbus: Use the new virt_xx barrier code

2016-03-23 Thread K. Y. Srinivasan
Use the virt_xx barriers that have been defined for use in virtual machines. Signed-off-by: K. Y. Srinivasan --- drivers/hv/ring_buffer.c | 14 +++--- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/hv/ring_buffer.c b/drivers/hv/ring_buffer.c index 67dc245..c2c2b

[PATCH 3/7] Drivers: hv: vmbus: Fix a bug in hv_need_to_signal_on_read()

2016-03-23 Thread K. Y. Srinivasan
We need to issue a full memory barrier prior making a signalling decision. Signed-off-by: K. Y. Srinivasan Cc: sta...@vger.kernel.org --- drivers/hv/ring_buffer.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/hv/ring_buffer.c b/drivers/hv/ring_buffer.c index 29

[PATCH 6/7] Drivers: hv: vmbus: Move some ring buffer functions to hyperv.h

2016-03-23 Thread K. Y. Srinivasan
In preparation for implementing APIs for in-place consumption of VMBUS packets, movve some ring buffer functionality into hyperv.h Signed-off-by: K. Y. Srinivasan --- drivers/hv/ring_buffer.c | 42 -- include/linux/hyperv.h | 42 +

[PATCH 7/7] Drivers: hv: vmbus: Implement APIs to support "in place" consumption of vmbus packets

2016-03-23 Thread K. Y. Srinivasan
Implement APIs for in-place consumption of vmbus packets. Currently, each packet is copied and processed one at a time and as part of processing each packet we potentially may signal the host (if it is waiting for room to produce a packet). These APIs help batched in-place processing of vmbus pack

[PATCH 2/7] Drivers: hv: vmbus: Use READ_ONCE() to read variables that are volatile

2016-03-23 Thread K. Y. Srinivasan
Use the READ_ONCE macro to access variabes that can change asynchronously. Signed-off-by: K. Y. Srinivasan --- drivers/hv/ring_buffer.c |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/hv/ring_buffer.c b/drivers/hv/ring_buffer.c index 902375b..2919395 100644

Re: linux-next: manual merge of the rdma tree with the net-next tree

2016-03-23 Thread Linus Torvalds
On Wed, Mar 23, 2016 at 4:04 PM, Or Gerlitz wrote: > > I know there's history here, and in the 4.5 cycle things were much > worse, but I still wanted to put things in their more precise place, > if you don't mind. We'll see how things shape up in the future. Once bitten, twice shy, as they say.

Dear Truly God Chosen

2016-03-23 Thread Mrs. Nicole Benoite Marois
(Dear Truly God Chosen) Please excuse this humble email if it offends your sensibilities, but I have no other means to contact you. I cannot talk on the telephone, so I did a search for your email address, which I found on the international directorate email data search. I am Mrs. Nicole Benoite M

Re: [PATCH 1/3] sched/fair: Fix asym packing to select correct cpu

2016-03-23 Thread Michael Neuling
On Wed, 2016-03-23 at 17:04 +0530, Srikar Dronamraju wrote: > If asymmetric packing is used when target cpu is busy, > update_sd_pick_busiest(), can select a lightly loaded cpu. > find_busiest_group() has checks to ensure asym packing is only used > when target cpu is not busy. However it may not

[PATCH 1/2] compiler.h: add support for malloc attribute

2016-03-23 Thread Rasmus Villemoes
gcc as far back as at least 3.04 documents the function attribute __malloc__. Add a shorthand for attaching that to a function declaration. This was also suggested by Andi Kleen way back in 2002 [1], but didn't get applied, perhaps because gcc at that time generated the exact same code with and wit

[PATCH 2/2] include/linux: apply __malloc attribute

2016-03-23 Thread Rasmus Villemoes
Attach the malloc attribute to a few allocation functions. This helps gcc generate better code by telling it that the return value doesn't alias any existing pointers (which is even more valuable given the pessimizations implied by -fno-strict-aliasing). A simple example of what this allows gcc to

Re: [RFC PATCH] ARM: exynos_defconfig: Enable Samsung media platform drivers as modules

2016-03-23 Thread Krzysztof Kozlowski
On 23.03.2016 23:58, Javier Martinez Canillas wrote: > There are a bunch of media platform drivers under drivers/media/platform/ > that are for Samsung SoCs but are not being built with exynos_defconfig. > > This patch enables them as a module to improve build coverage for these > drivers and also

Re: [PATCH 0/3] idle, Honor Hardware Disabled States

2016-03-23 Thread Prarit Bhargava
On 03/23/2016 04:05 PM, Len Brown wrote: > This patch assumes that if a package state is disabled, > the corresponding core state must be disabled. > That assumption is false. > Indeed, that is a very popular and useful configuration. > > But even if that were not the case, this software is not

linux-next: manual merge of the overlayfs tree with the ext4 tree

2016-03-23 Thread Stephen Rothwell
Hi Miklos, Today's linux-next merge of the overlayfs tree got a conflict in: include/linux/fs.h fs/overlayfs/super.c include/linux/dcache.h between commit: a7f7fb45f728 ("vfs: add file_dentry()") from the ext4 tree and commit: 83c2715a73fc ("fs: add file_dentry()") from the overlay

Re: [PATCH resend] init/main.c: Simplify initcall_blacklisted()

2016-03-23 Thread Rasmus Villemoes
On Tue, Mar 22 2016, Rusty Russell wrote: > Rasmus Villemoes writes: >> Using kasprintf to get the function name makes us look up the name >> twice, along with all the vsnprintf overhead of parsing the format >> string etc. It also means there is an allocation failure case to deal >> with. Since

[RFC PATCH] regulator: Try to resolve regulators supplies on registration

2016-03-23 Thread Javier Martinez Canillas
Commit 6261b06de565 ("regulator: Defer lookup of supply to regulator_get") moved the regulator supplies lookup logic from the regulators registration to the regulators get time. Unfortunately, that changed the behavior of the regulator core since now a parent supply with a child regulator marked a

Re: [PATCH 4/6] mm/vmstat: add zone range overlapping check

2016-03-23 Thread Joonsoo Kim
On Wed, Mar 23, 2016 at 03:47:46PM +0100, Vlastimil Babka wrote: > On 03/14/2016 08:31 AM, js1...@gmail.com wrote: > >From: Joonsoo Kim > > > >There is a system that node's pfn are overlapped like as following. > > > >-pfn> > >N0 N1 N2 N0 N1 N2 > > > >Therefore, we need to care this ov

Re: [PATCH v5 2/5] GCC plugin infrastructure

2016-03-23 Thread Emese Revfy
On Fri, 11 Mar 2016 15:25:19 +0900 Masahiro Yamada wrote: > You sprinkle "gcc-plugins" target in the top Makefile, which I do not like. > > Can you descend into scripts/gcc-plugins from scripts/Makefile? > > > subdir-$(CONFIG_MODVERSIONS) += genksyms > subdir-y += mod >

Re: [PATCH] net: Fix typos and whitespace.

2016-03-23 Thread Tom Herbert
On Wed, Mar 23, 2016 at 11:27 AM, David Miller wrote: > From: Bjorn Helgaas > Date: Wed, 23 Mar 2016 08:45:30 -0500 > >> Fix typos. Capitalize CPU, NAPI, RCU consistently. Align structure >> indentation. No functional change intended; only comment and whitespace >> changes. >> >> Signed-off-by

Re: [RFC PATCH] ARM: exynos_defconfig: Enable Samsung media platform drivers as modules

2016-03-23 Thread Javier Martinez Canillas
Hello Krzysztof, On 03/23/2016 08:47 PM, Krzysztof Kozlowski wrote: > On 23.03.2016 23:58, Javier Martinez Canillas wrote: >> There are a bunch of media platform drivers under drivers/media/platform/ >> that are for Samsung SoCs but are not being built with exynos_defconfig. >> >> This patch enabl

Re: [RFT PATCH] [media] exynos4-is: Fix fimc_is_parse_sensor_config() nodes handling

2016-03-23 Thread Javier Martinez Canillas
Hello Andreas, Thanks for your feedback. On 03/23/2016 07:33 PM, Andreas Färber wrote: > Hi Javier, > > Am 23.03.2016 um 17:15 schrieb Javier Martinez Canillas: >> The same struct device_node * is used for looking up the I2C sensor, OF >> graph endpoint and port. So the reference count is increm

Re: [PATCH 1/2] usb: dwc3: core: Introduce dwc3_device_reinit()

2016-03-23 Thread John Youn
On 3/21/2016 11:40 PM, Felipe Balbi wrote: > > Hi, > > John Youn writes: >> [ text/plain ] >> On 3/18/2016 12:17 PM, John Youn wrote: >>> On 3/16/2016 6:56 AM, Felipe Balbi wrote: heh, +john Felipe Balbi writes: > [ text/plain ] > > Hi, > > Roger Quadros

Re: [PATCH] unicore32: mm: Add missing parameter to arch_vma_access_permitted

2016-03-23 Thread Xuetao Guan
> On Mon, Mar 21, 2016 at 07:47:29PM +0800, Xuetao Guan wrote: >> > unicore32 fails to compile with the following errors. >> > >> > mm/memory.c: In function ��ユ��_handle_mm_fault: >> > mm/memory.c:3381: error: >> >too many arguments to function >> ��ユ��rch_vma_access_permitted >> > mm/g

[RFT PATCH v2] [media] exynos4-is: Fix fimc_is_parse_sensor_config() nodes handling

2016-03-23 Thread Javier Martinez Canillas
The same struct device_node * is used for looking up the I2C sensor, OF graph endpoint and port. So the reference count is incremented but not decremented for the endpoint and port nodes. Fix this by having separate pointers for each node looked up. Signed-off-by: Javier Martinez Canillas --- H

Re: Nonterministic hang during bootconsole/console handover on ath79

2016-03-23 Thread Peter Hurley
Hi Matthias, On 03/23/2016 10:40 AM, Matthias Schiffer wrote: > On 03/22/2016 04:38 PM, Peter Hurley wrote: >> On 03/22/2016 06:07 AM, Matthias Schiffer wrote: >>> I've tried your patch and I can't reproduce the issue anymore with it; I >>> have no idea if this actually has to do something with th

[PATCH] x86/mm: TLB_REMOTE_SEND_IPI should count pages

2016-03-23 Thread Nadav Amit
TLB_REMOTE_SEND_IPI was recently introduced, but it counts bytes instead of pages. In addition, it does not report correctly the case in which flush_tlb_page flushes a page. Fix it to be consistent with other TLB counters. Fixes: 4595f9620cda8a1e973588e743cf5f8436dd20c6 Signed-off-by: Nadav Amit

Re: usb: gadget breakage on N900: bind UDC by name passed via usb_gadget_driver structure

2016-03-23 Thread Ruslan Bilovol
Hi Pavel, I didn't use my N900 for years, it is deeply discharged and can't boot, so I left it connected overnight to the wall adapter to let it get some juice. Meanwhile I looked into sources and still can't understand how it happens. Could you please attach your full .config and also dmesg with

Re: [PATCH] net: Fix typos and whitespace.

2016-03-23 Thread David Miller
From: Tom Herbert Date: Wed, 23 Mar 2016 17:28:20 -0700 > On Wed, Mar 23, 2016 at 11:27 AM, David Miller wrote: >> From: Bjorn Helgaas >> Date: Wed, 23 Mar 2016 08:45:30 -0500 >> >>> Fix typos. Capitalize CPU, NAPI, RCU consistently. Align structure >>> indentation. No functional change inte

Re: [PATCH v2] ARM: exynos_defconfig: Enable Samsung media platform drivers as modules

2016-03-23 Thread Krzysztof Kozlowski
On 24.03.2016 09:26, Javier Martinez Canillas wrote: > There are a bunch of media platform drivers under drivers/media/platform/ > that are for Samsung SoCs but are not being built with exynos_defconfig. > > This patch enables them as a module to improve build coverage for these > drivers and also

Nice to you,

2016-03-23 Thread gift bikomagu
Hello my dear how are you today I hope that everything is OK with you please contact me at my email ok.‏ giftbikom...@gmail.com

Re: [PATCH] rcu: Remove superfluous versions of rcu_read_lock_sched_held()

2016-03-23 Thread Boqun Feng
On Wed, Mar 23, 2016 at 09:38:46AM -0700, Paul E. McKenney wrote: > On Wed, Mar 23, 2016 at 11:11:48PM +0800, Boqun Feng wrote: > > Currently, we have four versions of rcu_read_lock_sched_held(), > > depending on the combined choices on PREEMPT_COUNT and DEBUG_LOCK_ALLOC. > > But we actually don't

Re: [PATCH 04/12] ARM: dts: dragonboard-600c: add board support with serial

2016-03-23 Thread Bjorn Andersson
On Wed, Mar 23, 2016 at 1:30 PM, Srinivas Kandagatla wrote: > > > On 23/03/16 20:07, Stephen Boyd wrote: >> >> On 03/23/2016 12:47 PM, Srinivas Kandagatla wrote: >>> >>> diff --git a/arch/arm/boot/dts/qcom-apq8064-dragonboard-600c.dts >>> b/arch/arm/boot/dts/qcom-apq8064-dragonboard-600c.dts >>> n

<    1   2   3   4   5   6   7   8   >