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 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: [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

[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

[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 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 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 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 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 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 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 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 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 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 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 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

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

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] 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 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

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

[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

[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.

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

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

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

[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

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

[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

[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

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 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

[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 03/23] perf symbols: Record text offset in dso to calculate objdump address

2016-03-23 Thread Arnaldo Carvalho de Melo
From: Wang Nan Store DSO's .text offset into DSO, used for VDSOs and will also be used for other needs, like handling kernel modules. Signed-off-by: Wang Nan Cc: Adrian Hunter Cc: Alexei Starovoitov Cc: Cody P Schafer Cc: He Kuang Cc: Jiri Olsa Cc: Kirill Smelkov Cc: Li Zefan Cc: Masami

[PATCH 20/23] perf probe: No need to use formatting strbuf method

2016-03-23 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo We have addch() for chars, add() for fixed size data, and addstr() for variable length strings, use them. Cc: Adrian Hunter Cc: Jiri Olsa Cc: Masami Hiramatsu Cc: Namhyung Kim Cc: Wang Nan Link: http://lkml.kernel.org/n/tip-0ap02fn2xtvpduj2j6b2o...@git.kernel.

[PATCH 10/23] perf thread: Rename perf_event__preprocess_sample_addr to thread__resolve

2016-03-23 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Since none of the perf_event fields are used anymore, just the perf_sample ones, and since this resolves to (map, symbol) from data structures within struct thread, rename it to thread__resolve and make the argument ordering similar to the one in machine__resolve().

[PATCH 23/23] perf llvm: Use strerror_r instead of the thread unsafe strerror one

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-5njrq9dltckgm624omw9l...@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/util/llvm-utils.c | 7 --- 1 file changed, 4 insertions(+), 3 de

[PATCH 22/23] perf llvm: Use realpath to canonicalize paths

2016-03-23 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo To kill the last user of make_nonrelative_path(), that gets ditched, one more panicking function killed. Cc: Adrian Hunter Cc: Jiri Olsa Cc: Namhyung Kim Cc: Wang Nan Link: http://lkml.kernel.org/n/tip-3hu56rvyh4q5gxogovb6k...@git.kernel.org Signed-off-by: Arna

[GIT PULL 00/23] perf/core improvements and fixes

2016-03-23 Thread Arnaldo Carvalho de Melo
2016-03-11 09:40:25 +0100) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-core-for-mingo-20160323 for you to fetch changes up to 76267147f233f347dbd8f4f8c05492e5ea0a7dce: perf llvm: Use strerror_r instead of the thread unsafe st

[PATCH 05/23] perf list: Fix documentation of :ppp

2016-03-23 Thread Arnaldo Carvalho de Melo
From: Andi Kleen Correctly document what is implemented for :ppp on Intel CPUs in recent kernels. Signed-off-by: Andi Kleen Acked-by: Jiri Olsa Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/1458575793-12091-2-git-send-email-a...@firstfloor.org Signed-off-by: Arnaldo Carvalho de Melo ---

[PATCH 08/23] perf tools: Add cpumode to struct perf_sample

2016-03-23 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo To avoid parsing event->header.misc in many locations. This will also allow setting perf.sample.{ip,cpumode} in a single place, from tracepoint fields, as needed by 'perf kvm' with PPC guests, where the guest hardware counters is not available at the host. Cc: Adr

[PATCH 16/23] tools include: Copy linux/stringify.h from the kernel

2016-03-23 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo There is code in tools/ that is directly including this file from the kernel, and this is verboten for a while, copy it so that the next csets can fix this situation. Cc: Adrian Hunter Cc: Jiri Olsa Cc: Namhyung Kim Cc: Wang Nan Link: http://lkml.kernel.org/n/t

Re: UFS V11 patch-set

2016-03-23 Thread Martin K. Petersen
> "Joao" == Joao Pinto writes: Joao, Joao> Isn't it possible to be merged into a ufs-dwc branch in the SCSI Joao> Git tree that could be pulled later, like Bjorn did in the PCIe Joao> RC? I just started 4.7/scsi-queue so now is a good time to resubmit. Thanks! -- Martin K. Petersen

Re: drivers/target/iscsi/iscsi_target.o: warning: objtool: iscsit_handle_task_mgt_cmd()+0xbcb: function has unreachable instruction

2016-03-23 Thread Josh Poimboeuf
On Wed, Mar 23, 2016 at 04:11:04PM -0500, Josh Poimboeuf wrote: > On Wed, Mar 23, 2016 at 07:15:08PM +0800, kbuild test robot wrote: > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > > master > > head: a24e3d414e59ac76566dedcad1ed1d319a93ec14 > > commit: d4883d5d6b

Re: [PATCH v5 0/2] power: reset: support for Atmel alternative Shutdown Controller

2016-03-23 Thread Sebastian Reichel
Hi Nicolas, On Wed, Mar 23, 2016 at 12:18:46PM +0100, Nicolas Ferre wrote: > Le 16/03/2016 14:19, Nicolas Ferre a écrit : > > This is a series to add driver for a new Atmel Shutdown Controller. This > > new IP > > is extensible and some features will be added later (see the TODO section). > > Its

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

2016-03-23 Thread kbuild test robot
Hi Babu, [auto build test ERROR on sparc/master] [also build test ERROR on v4.5 next-20160323] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Babu-Moger/sparc-PCI-Fix-for-panic-while-enabling

Re: drivers/target/iscsi/iscsi_target.o: warning: objtool: iscsit_handle_task_mgt_cmd()+0xbcb: function has unreachable instruction

2016-03-23 Thread Josh Poimboeuf
On Wed, Mar 23, 2016 at 07:15:08PM +0800, kbuild test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: a24e3d414e59ac76566dedcad1ed1d319a93ec14 > commit: d4883d5d6b146fd65f762c462b2c6d4a327c7d50 objtool: Enable stack > metadata validatio

Re: [PATCH] Add fwupdate and Mok GUID's to the EFI variable immutable whitelist

2016-03-23 Thread Matt Fleming
On Tue, 22 Mar, at 09:36:25PM, Mario Limonciello wrote: > > Actually, I think this patch should be discarded unless there is a > desire to make the kernel work with older userspace tools. > > I later realized that efivar 0.22 will actually handle working with > immutable variables properly. This

Re: [tip:perf/urgent] perf/x86/mbm: Implement RMID recycling

2016-03-23 Thread Matt Fleming
On Mon, 21 Mar, at 11:27:55AM, Vikas Shivappa wrote: > > The init_mbm_sample calls the update_sample to read the MSR in IPI .. Since > the count is also in IPI , they should not trash each other ? > > Basically all the MSR read/writes are in high irql , except for the mbm > overflow timer and rea

Re: [PATCH 00/11] mtd: nand_bbt: introduce independent nand BBT

2016-03-23 Thread Ezequiel Garcia
Hello, On 13 March 2016 at 23:47, Peter Pan wrote: > Sorry for send the v3 out late. I went through a busy time in the past > two month. > > Currently nand_bbt.c is tied with struct nand_chip, and it makes other > NAND family chips hard to use nand_bbt.c. Maybe it's the reason why > onenand has o

RE: [PATCH] i40iw: avoid potential uninitialized variable use

2016-03-23 Thread Ismail, Mustafa
> -Original Message- > From: Arnd Bergmann [mailto:a...@arndb.de] > Sent: Wednesday, March 23, 2016 5:35 AM > Subject: [PATCH] i40iw: avoid potential uninitialized variable use > > gcc finds that the i40iw_make_cm_node() function in the recently added i40iw > driver uses an uninitilized va

Re: [PATCH v4 00/23] ncr5380: Eliminate macros, reduce code duplication, fix bugs etc

2016-03-23 Thread Martin K. Petersen
> "Finn" == Finn Thain writes: Finn, Finn> This patch series has been tested on several platforms. I tested Finn> the dmx3191d and mac_scsi modules on suitable hardware, Michael Finn> tested atari_scsi on an Atari Falcon and Ondrej has tested Finn> g_NCR5380 and g_NCR5380_mmio on various ISA

Re: [PATCH v2 3/6] x86/mtrr: Fix Xorg crashes in Qemu sessions

2016-03-23 Thread Toshi Kani
On Wed, 2016-03-23 at 09:53 -0600, Toshi Kani wrote: > On Wed, 2016-03-23 at 09:44 +0100, Borislav Petkov wrote: > > On Tue, Mar 22, 2016 at 03:53:30PM -0600, Toshi Kani wrote: > > > Yes. I had to remove this number since checkpatch complained that I > > > needed to quote the whole patch tile again

Re: [PATCH v3 0/3] scsi: reduce CONFIG_SCSI_CONSTANTS=y impact by 8k

2016-03-23 Thread Martin K. Petersen
> "Rasmus" == Rasmus Villemoes writes: Rasmus> This is mostly identical to v2 sent in November, rebased Rasmus> (cleanly) to current mainline. The only change is that I've this Rasmus> time also updated the Kconfig help text in 3/3, since the 75 KB Rasmus> was a bit exaggerated. After these p

[PATCH v3 2/7] x86/mm/pat: Add pat_disable() interface

2016-03-23 Thread Toshi Kani
In preparation for fixing a regression caused by 'commit 9cd25aac1f44 ("x86/mm/pat: Emulate PAT when it is disabled")', PAT needs to provide an interface that prevents the OS from initializing the PAT MSR. PAT MSR initialization must be done on all CPUs using the specific sequence of operations de

[PATCH v3 6/7] x86/xen,pat: Remove PAT table init code from Xen

2016-03-23 Thread Toshi Kani
Xen supports PAT without MTRRs for its guests. In order to enable WC attribute, it was necessary for xen_start_kernel() to call pat_init_cache_modes() to update PAT table before starting guest kernel. Now that the kernel initializes PAT table to the BIOS handoff state when MTRR is disabled, this

[PATCH v3 4/6] x86/mtrr: Fix Xorg crashes in Qemu sessions

2016-03-23 Thread Toshi Kani
A Xorg failure on qemu32 was reported as a regression [1] caused by 'commit 9cd25aac1f44 ("x86/mm/pat: Emulate PAT when it is disabled")'. This patch fixes this regression. Negative effects of this regression were the following two failures [2] in Xorg on QEMU with QEMU CPU model "qemu32" (-cpu qe

[PATCH v3 7/7] x86/pat: Document PAT initialization

2016-03-23 Thread Toshi Kani
Update PAT documentation to describe how PAT is initialized under various configurations. Signed-off-by: Toshi Kani Cc: Borislav Petkov Cc: Luis R. Rodriguez Cc: Juergen Gross Cc: Ingo Molnar Cc: H. Peter Anvin Cc: Thomas Gleixner --- Documentation/x86/pat.txt | 32 ++

[PATCH v3 5/7] x86/mtrr: Fix PAT init handling when MTRR is disabled

2016-03-23 Thread Toshi Kani
get_mtrr_state() calls pat_init() on BSP even if MTRR is disabled. This results in calling pat_init() on BSP only since APs do not call pat_init() when MTRR is disabled. This inconsistency between BSP and APs leads to undefined behavior. Make BSP's calling condition to pat_init() consistent with

[PATCH v3 3/7] x86/mm/pat: Replace cpu_has_pat with boot_cpu_has

2016-03-23 Thread Toshi Kani
Borislav Petkov wrote: > Please use on init paths boot_cpu_has(X86_FEATURE_PAT) and on fast > paths static_cpu_has(X86_FEATURE_PAT). No more of that cpu_has_XXX > ugliness. Replace the use of cpu_has_pat on init paths with boot_cpu_has(). Suggested-by: Borislav Petkov Signed-off-by: Toshi Kani

[PATCH v3 1/7] x86/mm/pat: Add support of non-default PAT MSR setting

2016-03-23 Thread Toshi Kani
In preparation for fixing a regression caused by 'commit 9cd25aac1f44 ("x86/mm/pat: Emulate PAT when it is disabled")', PAT needs to support a case that PAT MSR is initialized with a non-default value. When pat_init() is called and PAT is disabled, it initializes PAT table with the BIOS default va

[PATCH v3 0/7] Enhance PAT init to fix Xorg crashes

2016-03-23 Thread Toshi Kani
A Xorg failure on qemu32 was reported as a regression [1] caused by 'commit 9cd25aac1f44 ("x86/mm/pat: Emulate PAT when it is disabled")'. This patch-set fixes the regression. Negative effects of this regression were two failures [2] in Xorg on QEMU with QEMU CPU model "qemu32" (-cpu qemu32), whic

RE: [PATCH] x86/mce: Avoid using object after free in genpool.

2016-03-23 Thread Luck, Tony
> Acked-by: Borislav Petkov Thanks > I have a couple more RAS patches for tip, want me to pick that one up > too? I'm going to send my pile to tip guys after -rc1 is out. Yes please ... throw this one on the pile. -Tony

Re: [PATCH] megaraid_sas: fix missing { }, nullify kbuff_arr[i] only when necessary

2016-03-23 Thread Martin K. Petersen
> "Colin" == Colin King writes: Colin, Colin> Fix missing { } on if statement, this change will nullify Colin> kbuff_arr[i] only where necessary as the code intended. Arnd beat you to it. We already have a patch for this. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [lustre-devel] [PATCH] Revert "Staging: lustre: o2iblnd: Use sizeof type *pointer instead of sizeof type."

2016-03-23 Thread 'Greg Kroah-Hartman'
On Wed, Mar 23, 2016 at 08:29:49PM +, Simmons, James A. wrote: > > >> > > so the right code should be: > >> > > > >> > > sizeof(**net->ibn_tx_ps); > >> > > and the same for sizeof(**net->ibn_fmr_ps) > >> > That's a mess, isn't there some other way to fix this up to be more > >> > "obv

Re: [PATCH] arm64: handle unmapped pages in initrd relocation

2016-03-23 Thread Ard Biesheuvel
On 23 March 2016 at 20:47, Mark Salter wrote: > On Mon, 2016-02-01 at 19:30 -0500, Mark Salter wrote: >> Commit 4dffbfc48d65 ("arm64/efi: mark UEFI reserved regions as >> MEMBLOCK_NOMAP") causes a potential problem in arm64 initrd relocation >> code. If the kernel uses a pagesize greater than the

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

[PATCH] f2fs: give RO message when recovering superblock

2016-03-23 Thread Jaegeuk Kim
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. Signed-off-by: Jaegeuk Kim --- fs/f2fs/super.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c index

Re: [PATCH 0/6] of: Implement iterator for phandles

2016-03-23 Thread Rob Herring
On Wed, Mar 23, 2016 at 6:54 AM, Joerg Roedel wrote: > Hi Rob, > > On Tue, Mar 22, 2016 at 01:45:41PM -0500, Rob Herring wrote: >> On Tue, Mar 22, 2016 at 12:58 PM, Joerg Roedel wrote: >> > Please review. Patches are based on v4.5. >> >> Other than my one comment, this looks good to me. For the s

Re: [PATCH] mpt3sas: Don't overreach ioc->reply_post[] during initialization

2016-03-23 Thread Martin K. Petersen
> "Calvin" == Calvin Owens writes: Calvin> In _base_make_ioc_operational(), we walk ioc->reply_queue_list Calvin> and pull a pointer out of successive elements of Calvin> ioc->reply_post[] for each entry in that list if RDPQ is Calvin> enabled. Calvin> Since the code pulls the pointer for th

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

2016-03-23 Thread Kevin Hilman
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 separate iodomain areas. >> One in the regular General Register Files (GRF)

Re: [PATCH v4 05/14] i2c-octeon: Enable high-level controller and improve on bus contention

2016-03-23 Thread Wolfram Sang
On Fri, Mar 18, 2016 at 09:46:30AM +0100, Jan Glauber wrote: > From: David Daney > > Use High Level Controller when possible. Can you give me a one line description what this Controller is? I'd assume it can do simple write-then-read messages with less setup? > i2c-octeon was reacting badly to

Re: [PATCH 2/2] arch:mm: Use hugetlb_bad_size

2016-03-23 Thread Andrew Morton
On Wed, 23 Mar 2016 12:12:48 +0800 "Hillf Danton" wrote: > > > > Do you want me to send new version of the patchset breaking this patch in > > to separate patches? > > > Yes. That would be a bit of a pain because then each arch maintainer will need to check that the [1/1] patch is merged. In

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

2016-03-23 Thread Srinivas Kandagatla
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 new file mode 100644 index 000..e96aab6 --- /dev/null +++ b/arch/arm/boot/dts/qc

RE: [lustre-devel] [PATCH] Revert "Staging: lustre: o2iblnd: Use sizeof type *pointer instead of sizeof type."

2016-03-23 Thread Simmons, James A.
>> > > so the right code should be: >> > > >> > > sizeof(**net->ibn_tx_ps); >> > > and the same for sizeof(**net->ibn_fmr_ps) >> > That's a mess, isn't there some other way to fix this up to be more >> > "obvious"? >> This must have been encountered in the past. How was it handle in those

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

2016-03-23 Thread Guenter Roeck
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/gup.c: In function 鈥榗

Re: [PATCH v6] acpi: Issue _OSC call for native thermal interrupt handling

2016-03-23 Thread Srinivas Pandruvada
On Wed, 2016-03-23 at 12:43 -0400, Linda Knippers wrote: > I raised a general concern on a previous patch so I found a 1P server > with Skylake and HWP to try.  This doesn't qualify as a tested-by > since all I did was apply the patch and boot the server but hey, it > booted. Thanks. > > I do hav

[PATCH v3 3/4] perf config: Prepare all default configs

2016-03-23 Thread Taeung Song
To precisely manage configs, prepare all default perf's configs that contain default section name, variable name, value and correct type, not string type. In the near future, this will be used when checking type of config variable or showing all configs with default values, etc. Cc: Namhyung Kim

[PATCH net-next] hv_netvsc: Fix the order of num_sc_offered decrement

2016-03-23 Thread Haiyang Zhang
Reorder the code in netvsc_sc_open(), so num_sc_offered is only decremented after vmbus_open() is called. This avoid pontential race of removing device before all channels are setup. Signed-off-by: Haiyang Zhang Reviewed-by: K. Y. Srinivasan --- drivers/net/hyperv/rndis_filter.c | 12 ++-

[PATCH v3 2/4] perf config: Let show_config() work with perf_config_set

2016-03-23 Thread Taeung Song
Current show_config() has a problem when user or system config files have same config variables i.e. # cat ~/.perfconfig [top] children = false when $(sysconfdir) is /usr/local/etc # cat /usr/local/etc/perfconfig [top] children = true Before:

<    1   2   3   4   5   6   7   8   >