[PATCH v8 08/20] usb: phy: msm: Replace custom enum usb_mode_type with enum usb_dr_mode

2014-04-28 Thread Ivan T. Ivanov
From: "Ivan T. Ivanov" Use enum usb_dr_mode and drop default usb_dr_mode from platform data. USB DT bindings states: dr_mode: "...In case this attribute isn't passed via DT, USB DRD controllers should default to OTG...", so remove redundand field. Signed-off-by: Ivan T. Ivanov Acked-by: David

Re: [PATCH] ARM: l2c: prima2: only call l2x0_of_init() on matching nodes

2014-04-28 Thread Matt Porter
On Mon, Apr 28, 2014 at 10:15:33AM +0100, Russell King wrote: > On Sun, Apr 27, 2014 at 08:27:40PM -0400, Matt Porter wrote: > > l2x0_of_init() is executed unconditionally within the sirfsoc_l2x0_init() > > early initcall. In a multi v7 kernel this causes bcm281xx and bcm21664 > > platform to fail

[PATCH] rcu: fix build error for sysrq workaround

2014-04-28 Thread Arnd Bergmann
I got a build error in linux-next today, coming from: http://ozlabs.org/~akpm/mmots/broken-out/sysrqrcu-suppress-rcu-stall-warnings-while-sysrq-runs.patch I saw the problem has already been reported by other people, but couldn't find a fix. This is what I used locally to avoid the build error.

[PATCH v8 01/20] usb: phy: msm: Make driver selectable on ARCH_QCOM

2014-04-28 Thread Ivan T. Ivanov
From: "Ivan T. Ivanov" Controller could be found on APQ and MSM platforms, make configuration description more generic. Signed-off-by: Ivan T. Ivanov --- drivers/usb/phy/Kconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/usb/phy/Kconfig

Re: pid ns feature request

2014-04-28 Thread Serge Hallyn
Quoting Andy Lutomirski (l...@amacapital.net): > On Fri, Apr 25, 2014 at 12:37 PM, Eric W. Biederman > wrote: > > Andy Lutomirski writes: > > > >> Unless I'm missing some trick, it's currently rather painful to mount > >> a namespace /proc. You have to actually be in the pid namespace to > >>

[PATCH v8 04/20] usb: phy: msm: Enable deferred driver probing

2014-04-28 Thread Ivan T. Ivanov
From: "Ivan T. Ivanov" Using platform_driver_probe() prevent driver from requesting probe deferral. Fix this. Signed-off-by: Ivan T. Ivanov --- drivers/usb/phy/phy-msm-usb.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/usb/phy/phy-msm-usb.c

[PATCH v8 05/20] usb: phy: msm: Migrate to Managed Device Resource allocation

2014-04-28 Thread Ivan T. Ivanov
From: "Ivan T. Ivanov" Move memory, regulators, clocks and irq allocation to devm_* variants. Properly check for valid clk handles. Signed-off-by: Ivan T. Ivanov --- drivers/usb/phy/phy-msm-usb.c | 187 +++--- 1 file changed, 68 insertions(+), 119

[PATCH v8 11/20] usb: phy: msm: Properly check result from platform_get_irq()

2014-04-28 Thread Ivan T. Ivanov
From: "Ivan T. Ivanov" Function return negative code on error. Signed-off-by: Ivan T. Ivanov --- drivers/usb/phy/phy-msm-usb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/phy/phy-msm-usb.c b/drivers/usb/phy/phy-msm-usb.c index bd9e286..7e968aa 100644 ---

[PATCH v8 07/20] usb: phy: msm: Fix checkpatch.pl warnings

2014-04-28 Thread Ivan T. Ivanov
From: "Ivan T. Ivanov" This fixes following: WARNING: quoted string split across lines WARNING: Prefer seq_puts to seq_printf Signed-off-by: Ivan T. Ivanov --- drivers/usb/phy/phy-msm-usb.c | 39 ++- 1 file changed, 14 insertions(+), 25 deletions(-) diff

[PATCH v8 12/20] usb: phy: msm: Add device tree support and binding information

2014-04-28 Thread Ivan T. Ivanov
From: "Ivan T. Ivanov" Allows controller to be specified via device tree. Signed-off-by: Ivan T. Ivanov --- .../devicetree/bindings/usb/msm-hsusb.txt | 67 drivers/usb/phy/phy-msm-usb.c | 113 + include/linux/usb/msm_hsusb.h

[PATCH v8 15/20] usb: phy: msm: Correct USB PHY Reset sequence for newer platform

2014-04-28 Thread Ivan T. Ivanov
From: "Ivan T. Ivanov" On few legacy platforms, USB PHY is having dedicated reset clk. It is used to reset USB PHY after putting USB PHY into low power mode and for calibration of USB PHY. Putting USB PHY into low power mode is causing ulpi read/write timeout as expected. USB PHY reset clk is

Re: [PATCH v2] mtd: davinci-nand: disable subpage write for keystone-nand

2014-04-28 Thread Santosh Shilimkar
Brian, On Wednesday 16 April 2014 05:47 AM, Ivan Khoronzhuk wrote: > > On 04/16/2014 10:08 AM, Brian Norris wrote: >> On Tue, Apr 08, 2014 at 03:51:34PM +0300, Ivan Khoronzhuk wrote: >>> On 03/20/2014 10:14 PM, Santosh Shilimkar wrote: On Thursday 20 March 2014 04:08 PM, Ivan Khoronzhuk

[PATCH v8 13/20] usb: phy: msm: Use reset framework for LINK and PHY resets

2014-04-28 Thread Ivan T. Ivanov
From: "Ivan T. Ivanov" Using reset framework eliminate need of platform specific callbacks and enable reset lines to be specified in DT files. Signed-off-by: Ivan T. Ivanov --- drivers/usb/phy/phy-msm-usb.c | 29 + include/linux/usb/msm_hsusb.h | 3 +++ 2 files

[Resend/PATCH] arm: dts: am43x-epos: Add qspi device.

2014-04-28 Thread Sourav Poddar
This patch adds qspi nodes for am43xx SOC devices. Signed-off-by: Sourav Poddar --- Note, checpatch gives 1 warning on flash compatible string "mx66l51235l". This flash is supported in m25p80 driver and the driver is used for other flash devices also. Hence, each flash compatible is not

[PATCH v8 18/20] usb: phy: msm: Handle disconnect events

2014-04-28 Thread Ivan T. Ivanov
From: "Ivan T. Ivanov" Put the transceiver in non-driving mode. Otherwise host may not detect soft-disconnection. Signed-off-by: Ivan T. Ivanov Cc: Pavankumar Kondeti --- drivers/usb/phy/phy-msm-usb.c | 18 ++ 1 file changed, 18 insertions(+) diff --git

[PATCH v8 09/20] usb: phy: msm: Remove unused pclk_src_name

2014-04-28 Thread Ivan T. Ivanov
From: "Ivan T. Ivanov" There are no references to 'pclk_src_name' in plaform code, so it is unused. Signed-off-by: Ivan T. Ivanov --- drivers/usb/phy/phy-msm-usb.c | 26 +- include/linux/usb/msm_hsusb.h | 5 - 2 files changed, 1 insertion(+), 30 deletions(-) diff

[RESEND PATCH v2] mfd: max77686: handle IRQs using regmap

2014-04-28 Thread Robert Baldyga
This patch modifies mfd driver to use regmap for handling interrupts. It allows to simplify irq handling process. This modifications needed to make small changes in function drivers, which use interrupts. Signed-off-by: Robert Baldyga Reviewed-by: Krzysztof Kozlowski --- drivers/mfd/Kconfig

Re: [PATCH RT 0/3] Linux 3.2.57-rt84-rc1

2014-04-28 Thread Steven Rostedt
On Mon, 28 Apr 2014 02:15:28 +0400 Pavel Vasilyev wrote: > 27.04.2014 18:39, Steven Rostedt пишет: > > Dear RT Folks, > > > > This is the RT stable review cycle of patch 3.2.57-rt84-rc1. > > > > Please scream at me if I messed something up. Please test the patches too. > > > More than two

Re: [RESEND][PATCH][linux-next] Revert "drm/i915: fix build warning on 32-bit (v2)"

2014-04-28 Thread Daniel Vetter
On Mon, Apr 28, 2014 at 03:03:23PM +0200, Jan Moskyto Matejka wrote: > This reverts commit 60f2b4af1258c05e6b037af866be81abc24438f7. > > The same warning has been fixed in e5081a538a565284fec5f30a937d98e460d5e780 > and > these two commits got merged in 74e99a84de2d0980320612db8015ba606af42114

[PATCH v8 16/20] usb: phy: msm: Fix PTS definitions for MSM USB controller

2014-04-28 Thread Ivan T. Ivanov
From: Tim Bird Fix the value used for Parallel Transceiver Select (PTS) for the MSM USB controller. This is a standard chipidea PORTSC definition, where a PHY_TYPE of 10b (<<30) is ULPI and 11b (<<30) is SERIAL. Fix the definitions and use them correctly in the driver code. Signed-off-by: Tim

[PATCH v8 02/20] usb: phy: msm: Remove __init macro from driver probe method

2014-04-28 Thread Ivan T. Ivanov
From: "Ivan T. Ivanov" This fixes following: WARNING: drivers/usb/phy/built-in.o(.data+0x68): Section mismatch in reference from the variable msm_otg_driver to the function .init.text:msm_otg_probe() The variable msm_otg_driver references the function __init msm_otg_probe() Signed-off-by:

[PATCH v8 20/20] usb: phy: msm: Use usb_add_phy_dev() to register device

2014-04-28 Thread Ivan T. Ivanov
From: "Ivan T. Ivanov" There could be more than one USB2.0 PHY's on the platform. This will allow all of them to be registered successfully. Signed-off-by: Ivan T. Ivanov --- drivers/usb/phy/phy-msm-usb.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCH v8 14/20] usb: phy: msm: Add support for secondary PHY control

2014-04-28 Thread Ivan T. Ivanov
From: "Ivan T. Ivanov" Allow support to use 2nd HSPHY with USB2 Core. Some platforms may have configuration to allow USB controller work with any of the two HSPHYs present. By default driver configures USB core to use primary HSPHY. Add support to allow user select 2nd HSPHY using DT parameter.

[PATCH v8 17/20] usb: phy: msm: Select secondary PHY via TCSR

2014-04-28 Thread Ivan T. Ivanov
From: Tim Bird Select the secondary PHY using the TCSR register, if phy-num=1 in the DTS (or phy_number is set in the platform data). The SOC has 2 PHYs which can be used with the OTG port, and this code allows configuring the correct one. Note: This resolves the problem I was seeing where I

[PATCH v8 19/20] usb: phy: msm: Vote for corner of VDD CX instead of voltage of VDD CX

2014-04-28 Thread Ivan T. Ivanov
From: "Ivan T. Ivanov" New platform uses RBCPR hardware feature, with that voting for absolute voltage of VDD CX is not required. Hence vote for corner of VDD CX which uses nominal corner voltage on VDD CX. Signed-off-by: Ivan T. Ivanov Cc: Mayank Rana ---

Re: [PATCH 2/3] perf tools: Cache dso data file descriptor

2014-04-28 Thread Jiri Olsa
On Mon, Apr 28, 2014 at 10:16:34PM +0900, Namhyung Kim wrote: > 2014-04-28 (월), 12:01 +0200, Jiri Olsa: > > On Sun, Apr 27, 2014 at 11:36:35PM +0900, Namhyung Kim wrote: > > > 2014-04-17 (목), 19:39 +0200, Jiri Olsa: > > > > Keeping the data file description open for the whole life > > > > of the

Re: [PATCH 0/3] Fix several sparc64 THP bugs.

2014-04-28 Thread Meelis Roos
> V100 boots up fine but as soon as I start aptitude, it just hangs with > nothing on console (tried it twice). Got this on V100 after retries (truncated to width by minicom): [ 1286.980912] BUG: soft lockup - CPU#0 stuck for 22s! [aptitude:2520] [ 1287.063316] Modules linked in: ipv6 loop fuse

Re: deadlock in ipv6?

2014-04-28 Thread Alex Shi
On 04/25/2014 03:33 PM, Hannes Frederic Sowa wrote: > On Fri, Apr 25, 2014 at 03:05:52PM +0800, Alex Shi wrote: >> [ 18.624755]CPU0 >> >> [ 18.627349] >> >> [ 18.629943] lock(_stats->syncp.seq); >> >> [ 18.634735] >> >> [ 18.637512] lock(_stats->syncp.seq);

Re: [PATCH 1/3] perf tools: Cache register accesses for unwind processing

2014-04-28 Thread Jiri Olsa
On Mon, Apr 28, 2014 at 10:02:55PM +0900, Namhyung Kim wrote: > Hi Jiri, > > 2014-04-28 (월), 11:48 +0200, Jiri Olsa: > > On Sun, Apr 27, 2014 at 11:29:21PM +0900, Namhyung Kim wrote: > > > Hi Jiri, > > > > > > 2014-04-17 (목), 19:39 +0200, Jiri Olsa: > > > > Caching registers value into an array.

Re: [PATCH v3 6/7] arm64: mm: Implement 4 levels of translation tables

2014-04-28 Thread Steve Capper
On Sun, Apr 27, 2014 at 12:37:35PM +0900, Jungseok Lee wrote: > On Thursday, April 24, 2014 1:02 AM, Steve Capper wrote: > > On Fri, Apr 18, 2014 at 04:59:20PM +0900, Jungseok Lee wrote: [ ... ] > > > > This is overly complicated. For <4 levels we set x0 to be: > > ttbr1 + 2*PAGE_SIZE. For

Re: [PATCH v2 0/4] xhci: fixes for 3.15-rc usb-linus

2014-04-28 Thread Mathias Nyman
On 04/25/2014 07:35 PM, Greg KH wrote: On Fri, Apr 25, 2014 at 07:20:12PM +0300, Mathias Nyman wrote: Hi Greg Second try at this xhci fixes series for 3.15-rc usb-linus. Most of them are very small fixes that didn't make it to 3.14, sitting and waiting for 3.15-rc1 to come out. Only the

Re: [PATCH v3] pwm_lpss: Add support for PCI devices

2014-04-28 Thread Thierry Reding
On Fri, Apr 18, 2014 at 07:17:40PM +0800, Chew Chiau Ee wrote: > From: Alan Cox > > Not all systems enumerate the PWM devices via ACPI. They can also be exposed > via the PCI interface. > > Signed-off-by: Alan Cox > Signed-off-by: Chew, Chiau Ee > --- > drivers/pwm/pwm-lpss.c | 161

Re: [PATCH 2/3] perf tools: Cache dso data file descriptor

2014-04-28 Thread Namhyung Kim
2014-04-28 (월), 12:01 +0200, Jiri Olsa: > On Sun, Apr 27, 2014 at 11:36:35PM +0900, Namhyung Kim wrote: > > 2014-04-17 (목), 19:39 +0200, Jiri Olsa: > > > Keeping the data file description open for the whole life > > > of the dso object. > > > > I suspect there might be an issue for reporting very

Re: [PATCH 1/2] mfd: max14577: Fix IRQ handling after resume if this is not a wakeup source

2014-04-28 Thread Krzysztof Kozlowski
On pon, 2014-04-28 at 13:10 +0100, Lee Jones wrote: > > During suspend the IRQ should be disabled even if this is not a wakeup > > source. This is a proper way of fixing the IRQ handling issue during > > resume (IRQ handler fails because I2C bus did not resume yet). > > > > When device is

[PATCH 1/3] perf tests: Introduce perf_regs_load function on ARM64

2014-04-28 Thread Jean Pihet
Introducing perf_regs_load function, which is going to be used for dwarf unwind test in following patches. It takes single argument as a pointer to the regs dump buffer and populates it with current registers values, as expected by the perf built-in unwinding test. Signed-off-by: Jean Pihet Cc:

Re: [PATCH 0/3] FTM PWM adds regmap and endianness support.

2014-04-28 Thread Thierry Reding
On Fri, Mar 21, 2014 at 12:53:07PM +0800, Xiubo Li wrote: > > Xiubo Li (3): > pwm: ftm-pwm: Clean up the code. > pwm: ftm-pwm: Convert to direct regmap API usage. > pwm: ftm-pwm: Add big-endian support > > drivers/pwm/pwm-fsl-ftm.c | 96 > ++- >

Re: [PATCH 1/3] perf tests: Introduce perf_regs_load function on ARM64

2014-04-28 Thread Jean Pihet
On 22 April 2014 15:42, Mark Rutland wrote: > Hi Jean, > > Apologies for the delay on this. > > On Tue, Mar 25, 2014 at 03:23:26PM +, Jean Pihet wrote: >> Hi Mark, >> >> On 21 March 2014 16:11, Mark Rutland wrote: >> > Hi Jean, >> > >> > On Wed, Mar 19, 2014 at 09:42:33AM +, Jean Pihet

Re: [PATCH] x86-64: espfix for 64-bit mode *PROTOTYPE*

2014-04-28 Thread Konrad Rzeszutek Wilk
On Wed, Apr 23, 2014 at 09:56:00AM -0700, H. Peter Anvin wrote: > On 04/23/2014 07:24 AM, Boris Ostrovsky wrote: > >> > >> Konrad - I really could use some help figuring out what needs to be done > >> for this not to break Xen. > > > > This does break Xen PV: > > > > I know it does. This is

[RESEND][PATCH][linux-next] Revert "drm/i915: fix build warning on 32-bit (v2)"

2014-04-28 Thread Jan Moskyto Matejka
This reverts commit 60f2b4af1258c05e6b037af866be81abc24438f7. The same warning has been fixed in e5081a538a565284fec5f30a937d98e460d5e780 and these two commits got merged in 74e99a84de2d0980320612db8015ba606af42114 which caused another warning. Simply, the reverted commit casted the pointer

Re: [PATCH 1/3] perf tools: Cache register accesses for unwind processing

2014-04-28 Thread Namhyung Kim
Hi Jiri, 2014-04-28 (월), 11:48 +0200, Jiri Olsa: > On Sun, Apr 27, 2014 at 11:29:21PM +0900, Namhyung Kim wrote: > > Hi Jiri, > > > > 2014-04-17 (목), 19:39 +0200, Jiri Olsa: > > > Caching registers value into an array. Got about 4% speed up > > > of perf_reg_value function for report command

Reply..

2014-04-28 Thread Maxwell Stevens
Dear Friend, Greetings, I need to discuss an important issue with you about fund of $12.5Million, and i await your prompt response so as to know that your email is still valid to communicate with each other. Hoping to hear from you immediately. Thank you. Contact me direct on:

Re: [PATCH 5/6] ARM: AM43xx: clk: Change the cpts ref clock source to dpll_core_m5 clk

2014-04-28 Thread George Cherian
On 4/28/2014 12:40 PM, Richard Cochran wrote: On Mon, Apr 28, 2014 at 09:40:24AM +0530, George Cherian wrote: cpsw_cpts_rft_clk has got the choice of 3 clocksources -dpll_core_m4_ck -dpll_core_m5_ck -dpll_disp_m2_ck By default dpll_core_m4_ck is selected, witn this as clock source the

Re: Buffer I/O error after s2ram with usb storage

2014-04-28 Thread Matthieu CASTET
Hi, any news on this. Matthieu CASTET Le Tue, 22 Apr 2014 16:01:15 +0200, Matthieu CASTET a écrit : > Hi, > > while playing with suspend to ram I found a strange behavior with usb > key. > > This can be easily reproduced by doing : > - plug a usb key > - start to read the usb key : "cat

Re: [PATCH 4/6] drivers: net: cpsw: Enable Annexe F Time sync

2014-04-28 Thread George Cherian
On 4/28/2014 1:25 PM, Richard Cochran wrote: On Mon, Apr 28, 2014 at 09:40:23AM +0530, George Cherian wrote: Enable the Annex F Time Sync explicitly for DRA7x and AM4372. With this enabled the L2 PTP is working. L2 works fine without this bit. If this is needed for V3 hardware, then it should

[resend rfc v3] pwm: add BCM2835 PWM driver

2014-04-28 Thread Bart Tanghe
Add some better error handling and Device table support Added Documentation/devicetree/bindings/pwm/pwm-bcm2835.txt Signed-off-by: Bart Tanghe diff --git a/Documentation/devicetree/bindings/pwm/pwm-bcm2835.txt b/Documentation/devicetree/bindings/pwm/pwm-bcm2835.txt new

RE: radeon: screen garbled after page allocator change, was: Re: [patch v2 3/3] mm: page_alloc: fair zone allocator policy

2014-04-28 Thread Deucher, Alexander
> -Original Message- > From: Deucher, Alexander > Sent: Monday, April 28, 2014 8:50 AM > To: Koenig, Christian; Jerome Glisse; Thomas Schwinge > Cc: Bjorn Helgaas; linux-...@vger.kernel.org; Johannes Weiner; Mel Gorman; > Rik van Riel; Andrea Arcangeli; Zlatko Calusic; Minchan Kim; linux-

Re: [PATCH] mfd: twl6040: Optional clk32k clock handling

2014-04-28 Thread Lee Jones
On Mon, 28 Apr 2014, Peter Ujfalusi wrote: > On 04/28/2014 01:36 PM, Lee Jones wrote: > >> In certain boards the source for the clk32k clock can be gated. In these > >> boards the clk32k clock can be provided to the driver and it is going to be > >> enabled/disabled when it is needed. > >> If the

RE: radeon: screen garbled after page allocator change, was: Re: [patch v2 3/3] mm: page_alloc: fair zone allocator policy

2014-04-28 Thread Deucher, Alexander
> -Original Message- > From: Koenig, Christian > Sent: Monday, April 28, 2014 3:30 AM > To: Jerome Glisse; Thomas Schwinge > Cc: Bjorn Helgaas; linux-...@vger.kernel.org; Johannes Weiner; Mel Gorman; > Rik van Riel; Andrea Arcangeli; Zlatko Calusic; Minchan Kim; linux- > m...@kvack.org;

Re: [PATCH] mfd: twl6040: Optional clk32k clock handling

2014-04-28 Thread Lee Jones
> In certain boards the source for the clk32k clock can be gated. In these > boards the clk32k clock can be provided to the driver and it is going to be > enabled/disabled when it is needed. > If the clk32k clock is not provided the driver will assume that it is always > running. > >

Re: [PATCH v12 11/31] documentation: iommu: add binding document of Exynos System MMU

2014-04-28 Thread Thierry Reding
On Mon, Apr 28, 2014 at 02:05:30PM +0200, Arnd Bergmann wrote: > On Monday 28 April 2014 13:18:03 Thierry Reding wrote: > > On Mon, Apr 28, 2014 at 12:56:03PM +0200, Arnd Bergmann wrote: > > > On Monday 28 April 2014 12:39:20 Thierry Reding wrote: > > > > And possibly with a iommu-names property

[PATCH 2/7] perf tests: Add a test case for hists filtering

2014-04-28 Thread Jiri Olsa
From: Namhyung Kim Now we have changed how hists stats are accounted especially when filter(s) applied. So add a test case to verify it. Signed-off-by: Namhyung Kim Link: http://lkml.kernel.org/r/1398396494-12811-2-git-send-email-namhy...@kernel.org Signed-off-by: Jiri Olsa ---

[PATCH 4/7] perf tools: Allocate thread map_groups's dynamically

2014-04-28 Thread Jiri Olsa
From: Arnaldo Carvalho de Melo Moving towards sharing map groups within a process threads. Because of this we need the map groups to be dynamically allocated. No other functional change is intended in here. Based on a patch by Jiri Olsa, but this time _just_ making the conversion from

[GIT PULL 0/7] perf/core improvements and fixes

2014-04-28 Thread Jiri Olsa
hi Ingo, please consider pulling thanks, jirka The following changes since commit 2933d7813d8618f18632a7dc7f4e7f1f7d17383a: Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf into perf/core (2014-04-25 10:04:46 +0200) are available in the git

[PATCH 5/7] perf tools: Reference count map_groups objects

2014-04-28 Thread Jiri Olsa
From: Arnaldo Carvalho de Melo We will share it among threads in the same process. Adding map_groups__get/map_groups__put interface for that. Signed-off-by: Arnaldo Carvalho de Melo Acked-by: Namhyung Kim Cc: Adrian Hunter Cc: Corey Ashford Cc: David Ahern Cc: Don Zickus Cc: Frederic

[PATCH 1/7] perf tests: Factor out fake_setup_machine()

2014-04-28 Thread Jiri Olsa
From: Namhyung Kim The fake_setup_machine() is for setting up a environment for testing various hists operations. As it'll be used for other test cases it'd better factoring it out. Signed-off-by: Namhyung Kim Link:

[PATCH 6/7] perf tools: Share map_groups among threads of the same group

2014-04-28 Thread Jiri Olsa
Sharing map groups within all process threads. This way there's only one copy of mmap info and it's reachable from any thread within the process. Original-patch-by: Arnaldo Carvalho de Melo Acked-by: Namhyung Kim Cc: Adrian Hunter Cc: Corey Ashford Cc: David Ahern Cc: Don Zickus Cc:

Re: [PATCH 0/3] Fix several sparc64 THP bugs.

2014-04-28 Thread Meelis Roos
> >> Meelis and Aaro, I've found and fixed several THP bugs for sparc64 > >> over the last week or so. > >> > >> I cannot %100 account for the exit_mmap() WARN_ON that you two have > >> been able to trigger, however I'd like you both to test the changes > >> nonetheless. > >> > >> They are

Re: [PATCH v2 2/2] mmc: rtsx: modify error handle and remove smatchwarnings

2014-04-28 Thread Dan Carpenter
On Mon, Apr 28, 2014 at 07:37:49PM +0800, micky wrote: > Hi Chris and Ulf, > > This patch is denpend on commit c42deffd5b53c9e583d83c7964854ede2f12410d. > , and we discard > the previous commit. > we want discard this patch also(it it now in linux-next), need I > send another patch to > revert or

[PATCH] perf: ARM64: wire up perf_regs and unwind support

2014-04-28 Thread Jean Pihet
This patch hooks in the perf_regs and libunwind code for ARM64. The tools/perf/arch/arm64 is created; it contains the arch specific code for DWARF unwinding. Signed-off-by: Jean Pihet Acked-by: Will Deacon --- tools/perf/arch/arm64/Makefile| 7 +++

Re: [PATCH] mmc: rtsx: Revert "mmc: rtsx: add support for pre_req and post_req"

2014-04-28 Thread Lee Jones
> >> From: Micky Ching > >> > >> This reverts commit c42deffd5b53c9e583d83c7964854ede2f12410d. > > > > Why was this patch even merged without an MFD Ack? > > > >> commit did use > >> mutex_unlock() in tasklet, but mutex_unlock() can't used in > >> tasklet(atomic context). The driver need use

[PATCH v2 0/4] memcg: Low-limit reclaim

2014-04-28 Thread Michal Hocko
Hi, previous discussions have shown that soft limits cannot be reformed (http://lwn.net/Articles/555249/). This series introduces an alternative approach for protecting memory allocated to processes executing within a memory cgroup controller. It is based on a new tunable that was discussed with

[PATCH 3/4] memcg, doc: clarify global vs. limit reclaims

2014-04-28 Thread Michal Hocko
Be explicit about global and hard limit reclaims in our documentation. Signed-off-by: Michal Hocko --- Documentation/cgroups/memory.txt | 31 +-- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/Documentation/cgroups/memory.txt

[PATCH 2/4] memcg: Allow setting low_limit

2014-04-28 Thread Michal Hocko
Export memory.low_limit_in_bytes knob with the same rules as the hard limit represented by limit_in_bytes knob (e.g. no limit to be set for the root cgroup). There is no memsw alternative for low_limit_in_bytes because the primary motivation behind this limit is to protect the working set of the

[PATCH 4/4] memcg: Document memory.low_limit_in_bytes

2014-04-28 Thread Michal Hocko
Describe low_limit_in_bytes and its effect. Signed-off-by: Michal Hocko --- Documentation/cgroups/memory.txt | 9 + 1 file changed, 9 insertions(+) diff --git a/Documentation/cgroups/memory.txt b/Documentation/cgroups/memory.txt index add1be001416..a52913fe96fb 100644 ---

Re: [RESUBMIT RFC PATCH v2 3/3] drivers: mfd: Add support for Exynos PMU driver

2014-04-28 Thread Lee Jones
> This patch moves Exynos PMU driver implementation from > "arm/mach-exynos" to "drivers/mfd". > This driver is mainly used for setting misc bits of register from PMU IP > of Exynos SoC which will be required to configure before Suspend/Resume. > Currently all these settings are done in

[PATCH 1/4] memcg, mm: introduce lowlimit reclaim

2014-04-28 Thread Michal Hocko
This patch introduces low limit reclaim. The low_limit acts as a reclaim protection because groups which are under their low_limit are considered ineligible for reclaim. While hardlimit protects from using more memory than allowed lowlimit protects from getting bellow memory assigned to the group

Re: [PATCH] KVM: x86: Fix page-tables reserved bits

2014-04-28 Thread Nadav Amit
On Apr 28, 2014, at 1:41 PM, Paolo Bonzini wrote: > Il 17/04/2014 00:04, Marcelo Tosatti ha scritto: > > >> @@ -3550,9 +3550,9 @@ static void reset_rsvds_bits_mask(struct > > >> kvm_vcpu *vcpu, > > >> break; > > >> case PT64_ROOT_LEVEL: > > >>

Re: [RESUBMIT RFC PATCH v2 3/3] drivers: mfd: Add support for Exynos PMU driver

2014-04-28 Thread Lee Jones
> This patch moves Exynos PMU driver implementation from > "arm/mach-exynos" to "drivers/mfd". > This driver is mainly used for setting misc bits of register from PMU IP > of Exynos SoC which will be required to configure before Suspend/Resume. > Currently all these settings are done in

Re: [RESUBMIT RFC PATCH v2 2/3] ARM: EXYNOS: Move pmu specific header files under "linux/mfd/samsung"

2014-04-28 Thread Lee Jones
> Moving Exynos PMU specific header file into "include/linux/mfd/samsung" > thus updated affected files under "mach-exynos" to use new location of > these header files. > > CC: Sangbeom Kim > CC: Samuel Ortiz > CC: Lee Jones > Signed-off-by: Pankaj Dubey > --- >

Re: [PATCH v2 1/2] mmc: rtsx: add R1-no-CRC mmc command type handle

2014-04-28 Thread Dan Carpenter
On Mon, Apr 28, 2014 at 07:30:52PM +0800, micky wrote: > Hi Chris and Ulf, > > This patch should be applied to 3.15(rc), 3.14, 3.13. > without this patch the MMC card can not identified. > Top posting is annoying. If Chris and Ulf don't mind then you could actually deal with this by yourself.

Re: [PATCH v2 3/6] rtc: s5m: Use shorter time of register update

2014-04-28 Thread Lee Jones
> Set the time needed for updating alarm and time registers to 0.45 ms. > The default is 7.32 ms which is too long and leads to warnings when > setting alarm or time: > s5m-rtc: waiting for UDR update, reached max number of retries > > Signed-off-by: Krzysztof Kozlowski > Cc: Kyungmin Park

Re: [PATCH 2/2] mfd: sec-core: Fix IRQ handling after resume if this is not a wakeup source

2014-04-28 Thread Lee Jones
On Tue, 22 Apr 2014, Krzysztof Kozlowski wrote: > During suspend the IRQ should be disabled even if this is not a wakeup > source. This is a proper way of fixing the IRQ handling issue during > resume (IRQ handler fails because I2C bus did not resume yet). > > When device is suspended and

Re: [PATCH 1/2] mfd: max14577: Fix IRQ handling after resume if this is not a wakeup source

2014-04-28 Thread Lee Jones
> During suspend the IRQ should be disabled even if this is not a wakeup > source. This is a proper way of fixing the IRQ handling issue during > resume (IRQ handler fails because I2C bus did not resume yet). > > When device is suspended and max14577 interrupt is signaled the irq chip > will try

[PATCH] base: platform: name the device already during allocation

2014-04-28 Thread Heikki Krogerus
This allows resources such as GPIOs and clocks, which can be matched based on the device name when requested, to be assigned even when PLATFORM_DEVID_AUTO is used. Signed-off-by: Heikki Krogerus --- drivers/base/platform.c | 77 ++--- 1 file changed,

Re: [PATCH v12 11/31] documentation: iommu: add binding document of Exynos System MMU

2014-04-28 Thread Arnd Bergmann
On Monday 28 April 2014 13:18:03 Thierry Reding wrote: > On Mon, Apr 28, 2014 at 12:56:03PM +0200, Arnd Bergmann wrote: > > On Monday 28 April 2014 12:39:20 Thierry Reding wrote: > > > And possibly with a iommu-names property to go along with that. The idea > > > being that a device can be a

[RESUBMIT RFC PATCH v2 0/3] Add support for Exynos PMU driver

2014-04-28 Thread Pankaj Dubey
This patch series moves PMU implementation from "mach-exynos/pmu.c" to "drivers/mfd/exynos-pmu.c". Patch v1 was posted as RFC [1]. In case of ARM32 we had machine folder such as "mach-exynos" but moving forward with ARM64 SoC support we can not have any more such machine folders, keeping that in

[RESUBMIT RFC PATCH v2 1/3] ARM: EXYNOS: Move PMU specific definitions from common.h

2014-04-28 Thread Pankaj Dubey
From: Younggun Jang This patch moves PMU specific definitions into a new file as exynos-pmu.h. This will help in making PMU implementation independent of common.h header. Signed-off-by: Young-Gun Jang Signed-off-by: Pankaj Dubey --- arch/arm/mach-exynos/common.h | 17 -

[RESUBMIT RFC PATCH v2 3/3] drivers: mfd: Add support for Exynos PMU driver

2014-04-28 Thread Pankaj Dubey
This patch moves Exynos PMU driver implementation from "arm/mach-exynos" to "drivers/mfd". This driver is mainly used for setting misc bits of register from PMU IP of Exynos SoC which will be required to configure before Suspend/Resume. Currently all these settings are done in

[RESUBMIT RFC PATCH v2 2/3] ARM: EXYNOS: Move pmu specific header files under "linux/mfd/samsung"

2014-04-28 Thread Pankaj Dubey
Moving Exynos PMU specific header file into "include/linux/mfd/samsung" thus updated affected files under "mach-exynos" to use new location of these header files. CC: Sangbeom Kim CC: Samuel Ortiz CC: Lee Jones Signed-off-by: Pankaj Dubey --- arch/arm/mach-exynos/cpuidle.c

[PATCH 3/7] perf tests: Add thread maps lookup automated tests

2014-04-28 Thread Jiri Olsa
Adding automated test for memory maps lookup within multiple machines threads. The test creates 4 threads and separated memory maps. It checks that we could use thread__find_addr_map function with thread object based on TID to find memory maps. Acked-by: Namhyung Kim Cc: Adrian Hunter Cc:

[PATCH 7/7] perf tests: Add map groups sharing with thread object test

2014-04-28 Thread Jiri Olsa
This test create 2 processes abstractions, with several threads and checks they properly share and maintain map groups info. Acked-by: Namhyung Kim Cc: Adrian Hunter Cc: Arnaldo Carvalho de Melo Cc: Corey Ashford Cc: David Ahern Cc: Don Zickus Cc: Frederic Weisbecker Cc: Ingo Molnar Cc:

Re: [PATCH] mmc: rtsx: Revert "mmc: rtsx: add support for pre_req and post_req"

2014-04-28 Thread Dan Carpenter
On Mon, Apr 28, 2014 at 11:53:50AM +0100, Lee Jones wrote: > > From: Micky Ching > > > > This reverts commit c42deffd5b53c9e583d83c7964854ede2f12410d. > > Why was this patch even merged without an MFD Ack? I think process questions like this are very important. These patches touch both mmc

Re: [RESEND PATCH v3 3/5] mfd: tps65090: Stop caching most registers

2014-04-28 Thread Lee Jones
> >> > Nearly all of the registers in tps65090 combine control bits and > >> > status bits. Turn off caching of all registers except the select few > >> > that can be cached. > >> > >> Lee, I don't mind if I apply this and send a pull request to you or I > >> pull a tag from you with this in -

Re: [PATCH v2 2/4] mfd: bcm590xx: add support for secondary I2C slave address

2014-04-28 Thread Lee Jones
On Wed, 23 Apr 2014, Matt Porter wrote: > BCM590xx utilizes a secondary I2C slave address to access additional > register space. Add support for the secondary address space by > instantiating a dummy I2C device with the appropriate secondary > I2C slave address. Also expose a secondary regmap

[PATCH] irqchip: vt8500: Properly mask the interrupt in irq_mask()

2014-04-28 Thread Axel Lin
Current code sets both irq_ack and irq_mask callbacks to vt8500_irq_mask(). However, vt8500_irq_mask does not clear interrupt enable bit when the interrupt trigger mode is edge trigger. This patch moves the code clearing Interrupt Status Register bit to irq_ack(). Make irq_mask() always clear

Re: [PATCH v2] irqchip: vt8500: Switch to a simple write clear for Interrupt Status Register

2014-04-28 Thread Axel Lin
2014-04-28 18:08 GMT+08:00 Thomas Gleixner : > On Mon, 28 Apr 2014, Axel Lin wrote: > >> According to the datasheet, the attribute of Interrupt Status Register is >> RW0S, >> which means: >> Software can read the register. >> Software can also "write 1 to clear". "write 0" has no

Re: [PATCH/RFC v3 1/5] leds: Add sysfs and kernel internal API for flash LEDs

2014-04-28 Thread Jacek Anaszewski
Hi Bryan, Thanks for the review. On 04/26/2014 01:17 AM, Bryan Wu wrote: On Fri, Apr 11, 2014 at 7:56 AM, Jacek Anaszewski wrote: Some LED devices support two operation modes - torch and flash. Do we have a method to look up the capabilities from LED devices driver? For example, the LED

Re: [RFC PATCH v2 3/3] drivers: mfd: Add support for Exynos PMU driver

2014-04-28 Thread Pankaj Dubey
On 04/28/2014 08:21 PM, Lee Jones wrote: On Fri, 25 Apr 2014, Pankaj Dubey wrote: This patch moves Exynos PMU driver implementation from "arm/mach-exynos" to "drivers/mfd". This driver is mainly used for setting misc bits of register from PMU IP of Exynos SoC which will be required to

Re: [PATCH V2 1/2] FS: Add generic data flush to fsync

2014-04-28 Thread hch
> + if (flush == true) { > + err = blkdev_issue_flush(inode->i_sb->s_bdev, GFP_KERNEL, > + NULL); > + if (ret == 0) > + ret = err; > + } > + > out: > mutex_unlock(>i_mutex); There is no need to have

Re: [PATCH v2 04/10] drm/nouveau/fb: add GK20A support

2014-04-28 Thread Thierry Reding
On Wed, Apr 23, 2014 at 03:11:01PM +0900, Alexandre Courbot wrote: > On Wed, Apr 23, 2014 at 11:07 AM, Alexandre Courbot > wrote: > > On 04/22/2014 07:40 PM, Thierry Reding wrote: > >> > >> * PGP Signed by an unknown key > >> > >> > >> On Mon, Apr 21, 2014 at 03:02:16PM +0900, Alexandre Courbot

Re: [PATCH 1/2] perf tests: Factor out fake_setup_machine()

2014-04-28 Thread Jiri Olsa
On Mon, Apr 28, 2014 at 08:59:42AM +0900, Namhyung Kim wrote: > Hi Jiri, > > On Fri, 25 Apr 2014 14:27:34 +0200, Jiri Olsa wrote: > > On Fri, Apr 25, 2014 at 12:28:13PM +0900, Namhyung Kim wrote: > >> The fake_setup_machine() is for setting up a environment for testing > >> various hists

Re: [patch 2/2 v2] staging: lustre: integer overflow in obd_ioctl_is_invalid()

2014-04-28 Thread Dan Carpenter
On Mon, Apr 28, 2014 at 01:35:19PM +0200, walter harms wrote: > > > Am 28.04.2014 12:58, schrieb Dan Carpenter: > > The obd_ioctl_getdata() function caps "data->ioc_len" at > > OBD_MAX_IOCTL_BUFFER and then calls this obd_ioctl_is_invalid() to check > > that the other values inside data are

Re: [PATCH 1/4] dt: bindings: Typo s/clocks-names/clock-names/g

2014-04-28 Thread Grant Likely
On Fri, 25 Apr 2014 10:47:30 -0500, Dinh Nguyen wrote: > On Tue, 2014-04-22 at 20:40 +0200, Geert Uytterhoeven wrote: > > Signed-off-by: Geert Uytterhoeven > > Cc: Dinh Nguyen > > Cc: Arnd Bergmann > > Cc: net...@vger.kernel.org > > --- > > .../devicetree/bindings/net/socfpga-dwmac.txt |

Re: [PATCH net-next RESEND 2/2] FDDI: DEC FDDIcontroller 700 TURBOchannel card support

2014-04-28 Thread Maciej W. Rozycki
On Sun, 27 Apr 2014, David Miller wrote: > > + /* Reset the board. */ > > + wmb(); > > + writew(FZA_RESET_INIT, >regs->reset); > > + iob(); > > + readw(>regs->reset);/* Read it back for a small delay. */ > > + iob(); > > + writew(FZA_RESET_CLR, >regs->reset); > > Using

Re: [patch 2/2 v2] staging: lustre: integer overflow in obd_ioctl_is_invalid()

2014-04-28 Thread walter harms
Am 28.04.2014 12:58, schrieb Dan Carpenter: > The obd_ioctl_getdata() function caps "data->ioc_len" at > OBD_MAX_IOCTL_BUFFER and then calls this obd_ioctl_is_invalid() to check > that the other values inside data are valid. > > There are several lengths inside data but when they are added

Re: [PATCH v2 2/2] mmc: rtsx: modify error handle and remove smatchwarnings

2014-04-28 Thread micky
Hi Chris and Ulf, This patch is denpend on commit c42deffd5b53c9e583d83c7964854ede2f12410d. , and we discard the previous commit. we want discard this patch also(it it now in linux-next), need I send another patch to revert or it will be discard automatically? Best Regards. micky. On

Re: [KVM] BUG: unable to handle kernel NULL pointer dereference at 00000000000002b0

2014-04-28 Thread Paolo Bonzini
Il 28/04/2014 11:54, Jet Chen ha scritto: >> We noticed the below kernel BUG on >> >> git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > > What commit? > This one, git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master commit

Re: [PATCH 0/3] Emulate VMXON region correctly

2014-04-28 Thread Jan Kiszka
On 2014-04-28 07:00, Bandan Das wrote: > Reference: https://bugzilla.kernel.org/show_bug.cgi?id=54521 > > The vmxon region is unused by nvmx, but adding these checks > are probably harmless and may detect buggy L1 hypervisors in > the future! Nice and welcome! Will you provide unit tests for

Re: [PATCH v5 5/5] KVM: MMU: flush tlb out of mmu lock when write-protect the sptes

2014-04-28 Thread Paolo Bonzini
What about some editing of the big comment... /* * Currently, shadow PTEs are write protected in two cases, 1) write protecting * guest page tables, 2) resetting dirty tracking after KVM_GET_DIRTY_LOG. The * differences between these two sorts are: * * a) only the first case clears

Re: [PATCH 2/3] KVM: nVMX: additional checks on vmxon region

2014-04-28 Thread Jan Kiszka
On 2014-04-28 07:00, Bandan Das wrote: > Currently, the vmxon region isn't used in the nested case. > However, according to the spec, the vmxon instruction performs > additional sanity checks on this region and the associated > pointer. Modify emulated vmxon to better adhere to the spec >

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