Re: [PATCH] net: ipv4: raw: don't agree to 0 sized headers

2014-07-31 Thread David Miller
From: Sasha Levin sasha.le...@oracle.com Date: Wed, 30 Jul 2014 09:21:08 -0400 For raw sockets, we'd always assume that a header is supplied and will attempt to copy it into the ip header space using memcpy_fromiovecend(): if (memcpy_fromiovecend((void *)iph, from, 0, length))

[PATCH] powerpc/powernv: update dev-dma_mask in pci_set_dma_mask() path

2014-07-31 Thread Brian W Hart
powerpc defines various machine-specific routines for handling pci_set_dma_mask(). The routines for machine PowerNV may neglect to set dev-dma_mask. This could confuse anyone (e.g. drivers) that consult dev-dma_mask to find the current mask. Set the dma_mask in the PowerNV leaf routine.

Re: [PATCH] regulator: tps65090: Set voltage for fixed regulators

2014-07-31 Thread Mark Brown
On Thu, Jul 31, 2014 at 02:31:05PM +0200, Javier Martinez Canillas wrote: According to the tps65090 data manual [0], the DCDC1 and DCDC2 step-down converters and the LDO's have a fixed output voltage. Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH v2 tip/core/rcu 0/10] RCU-tasks implementation

2014-07-31 Thread Andi Kleen
Paul E. McKenney paul...@linux.vnet.ibm.com writes: Hello! This series provides a prototype of an RCU-tasks implementation, which has been requested to assist with tramopoline removal. Is that trampoline removal (whatever it is) important enough to justify adding that much new (and

Re: [PATCH v3 7/7] HID: remove hid-wacom Bluetooth driver

2014-07-31 Thread Benjamin Tissoires
On Jul 31 2014 or thereabouts, Przemo Firszt wrote: Hi Benjamin, Look like you pressed y when git send-email asked for charset: hehe, yep, sorry. I should have read the message before hitting 'y' :) Content-Type: text/plain; charset=y It kills git am:

[PATCH] staging: wlan-ng: coding style problem fix

2014-07-31 Thread Modestas Stankus
WARNING: break is not useful after a goto or return 201: FILE: drivers/staging/wlan-ng/p80211conv.c:201: + return 1; + break; Signed-off-by: Modestas Stankus stankus.modes...@gmail.com --- drivers/staging/wlan-ng/p80211conv.c | 1 - 1 file changed, 1 deletion(-) diff

Re: [PATCH v4 4/4] ARM: dts: Add exynos5250-spring device tree

2014-07-31 Thread Tomasz Figa
Andreas, On 31.07.2014 21:20, Andreas Färber wrote: Am 31.07.2014 21:05, schrieb Tomasz Figa: On 31.07.2014 18:08, Andreas Färber wrote: Adds initial support for the HP Chromebook 11. [snip] + gpio-keys { + compatible = gpio-keys; + pinctrl-names = default; +

Re: [PATCH v4 net-next 5/5] net: filter: split 'struct sk_filter' into socket and bpf parts

2014-07-31 Thread Pablo Neira Ayuso
On Wed, Jul 30, 2014 at 08:34:16PM -0700, Alexei Starovoitov wrote: clean up names related to socket filtering and bpf in the following way: - everything that deals with sockets keeps 'sk_*' prefix - everything that is pure BPF is changed to 'bpf_*' prefix split 'struct sk_filter' into

Re: [PATCH v2 2/9] drivers: base: support cpu cache information interface to userspace via sysfs

2014-07-31 Thread Stephen Boyd
On 07/30/14 09:23, Sudeep Holla wrote: Hi Stephen, Thanks for reviewing this. On 30/07/14 00:09, Stephen Boyd wrote: On 07/25/14 09:44, Sudeep Holla wrote: + + shared_cpu_map: logical cpu mask containing the list of cpus sharing + the cache + +

Re: [PATCH 2/5] sched: new clone flag CLONE_NEWCGROUP for cgroup namespace

2014-07-31 Thread Aditya Kali
On Thu, Jul 24, 2014 at 10:01 AM, Serge Hallyn serge.hal...@ubuntu.com wrote: Quoting Aditya Kali (adityak...@google.com): CLONE_NEWCGROUP will be used to create new cgroup namespace. This is fine and I'm not looking to bikeshed, but am wondering - did you consider any other ways beside

Re: [PATCH v3] ASoC: wm8962: Let CODEC driver enable and disable its own MCLK

2014-07-31 Thread Mark Brown
On Tue, Jul 29, 2014 at 06:38:39PM +0800, Nicolin Chen wrote: snd_soc_open() will trigger pm_runtime resume() which will then enable the regulator and initialization. So we should make sure the MCLK is enabled before this resume(). Applied, thanks. However the clock should really be being

Re: [PATCH 8/8] clk: tegra: Add EMC clock driver

2014-07-31 Thread Stephen Warren
On 07/31/2014 01:06 PM, Mike Turquette wrote: Quoting Thierry Reding (2014-07-30 02:34:57) On Tue, Jul 29, 2014 at 04:14:44PM -0600, Stephen Warren wrote: On 07/29/2014 02:19 PM, Mike Turquette wrote: Quoting Mikko Perttunen (2014-07-29 01:47:35) On 22/07/14 19:57, Stephen Warren wrote: On

Re: [PATCHv9 1/3] mfd: altera: Add Altera SDRAM Controller

2014-07-31 Thread Thor Thayer
On 07/31/2014 03:26 AM, Lee Jones wrote: On Wed, 30 Jul 2014, ttha...@opensource.altera.com wrote: From: Thor Thayer ttha...@opensource.altera.com Add a simple MFD for the Altera SDRAM Controller. Signed-off-by: Alan Tull at...@opensource.altera.com Signed-off-by: Thor Thayer

Re: [PATCH 0/4] ASoC: fsl: Add stream names to CPU DAI drivers for DPCM

2014-07-31 Thread Mark Brown
On Wed, Jul 30, 2014 at 11:10:25AM +0800, Nicolin Chen wrote: DPCM needs extra dapm routes in the machine driver to route audio between Front-End and Back-End. In order to differ the stream names in the route map from CODECs, we here add specific stream names to all Freescale ASoC CPU DAI

Re: [PATCH 0/2] Add TLS record layer encryption module

2014-07-31 Thread Andy Lutomirski
On 07/29/2014 02:32 AM, Cristian Stoica wrote: Hi all, This set of patches introduces support for TLS 1.0 record layer encryption/decryption with a corresponding algorithm called tls10(hmac(hash),cbc(cipher)). Similarly to authenc.c on which it is based, this module mixes the base

Re: [PATCH 1/2] crypto: add support for TLS 1.0 record encryption

2014-07-31 Thread Andy Lutomirski
On 07/29/2014 02:32 AM, Cristian Stoica wrote: This patch adds kernel support for encryption/decryption of TLS 1.0 records using block ciphers. Implementation is similar to authenc in the sense that the base algorithms (AES, SHA1) are combined in a template to produce TLS encapsulation frames.

Re: [PATCH] drivers: Let several drivers depends on HAS_IOMEM for 'devm_ioremap_resource'

2014-07-31 Thread Chris Metcalf
On 7/17/2014 5:05 PM, Arnd Bergmann wrote: On Thursday 17 July 2014 16:41:14 Chris Metcalf wrote: On 7/17/2014 7:28 AM, Chen Gang wrote: According to current source code, tile still has chance to choose NO_IOMEM, for me, welcome the tile's maintainer's ideas or suggestions. I'm not really

Re: [PATCH 1/3] irq / PM: New driver interface for wakeup interrupts

2014-07-31 Thread Alan Stern
On Thu, 31 Jul 2014, Rafael J. Wysocki wrote: And before we enter the wakeup handling slippery slope, let me make a note that this problem is bothering me quite a bit at the moment. In my opinion we need to address it somehow regardless of the wakeup issues and I'm not sure if failing

Re: [U-Boot] [PATCH] kconfig: Fix compiler warning in menu.c

2014-07-31 Thread Jeroen Hofstee
Hello Hans, On 31-07-14 16:21, Hans de Goede wrote: This fixes the following compiler warning: In file included from scripts/kconfig/zconf.tab.c:2537:0: scripts/kconfig/menu.c: In function ‘get_symbol_str’: scripts/kconfig/menu.c:590:18: warning: ‘jump’ may be used uninitialized in this

Re: [PATCH] cpufreq, store_scaling_governor requires policy-rwsem to be held for duration of changing governors [v2]

2014-07-31 Thread Saravana Kannan
On 07/31/2014 11:26 AM, Prarit Bhargava wrote: On 07/31/2014 02:38 PM, Rafael J. Wysocki wrote: On Thursday, July 31, 2014 01:57:29 PM Prarit Bhargava wrote: On 07/31/2014 12:36 PM, Rafael J. Wysocki wrote: On Thursday, July 31, 2014 06:23:18 AM Prarit Bhargava wrote: On 07/30/2014 10:16

Re: [PATCH 2/5] char: tile-srom: Remove reference to platform_bus

2014-07-31 Thread Chris Metcalf
On 7/25/2014 10:23 AM, Pawel Moll wrote: The code was creating srom class devices using platform_bus as a parent. As they are not really platform devices, make them virtual, using NULL instead. Cc: Chris Metcalfcmetc...@tilera.com Signed-off-by: Pawel Mollpawel.m...@arm.com ---

Re: [PATCH v4 0/5] Simplify hotplug/suspend handling

2014-07-31 Thread Saravana Kannan
On 07/29/2014 05:29 PM, Rafael J. Wysocki wrote: On Thursday, July 24, 2014 06:07:23 PM Saravana Kannan wrote: Series of patchs to simplify policy/sysfs/kobj/locking handling across suspend/resume I need someone to review this series for me. Viresh or Srivatsa, preferably both.

Re: [PATCH] xen-netfront: Fix handling packets on compound pages with skb_segment

2014-07-31 Thread David Miller
From: Zoltan Kiss zoltan.k...@citrix.com Date: Wed, 30 Jul 2014 14:25:30 +0100 There is a long known problem with the netfront/netback interface: if the guest tries to send a packet which constitues more than MAX_SKB_FRAGS + 1 ring slots, it gets dropped. The reason is that netback maps

RE: [PATCH 00/18] staging: comedi: amplc_pci224: remove legacy stuff

2014-07-31 Thread Hartley Sweeten
On Thursday, July 31, 2014 6:48 AM, Ian Abbott wrote: The amplc_pci224 driver retains a legacy attach mechanism via the `COMEDI_DEVCONFIG` ioctl and the comedi driver attach hook, but usually attaches PCI devices automatically via the comedi driver's auto_attach hook. The legacy mechanism is

Re: [PATCH] cpufreq, store_scaling_governor requires policy-rwsem to be held for duration of changing governors [v2]

2014-07-31 Thread Prarit Bhargava
On 07/31/2014 04:24 PM, Saravana Kannan wrote: On 07/31/2014 11:26 AM, Prarit Bhargava wrote: On 07/31/2014 02:38 PM, Rafael J. Wysocki wrote: On Thursday, July 31, 2014 01:57:29 PM Prarit Bhargava wrote: On 07/31/2014 12:36 PM, Rafael J. Wysocki wrote: On Thursday, July 31, 2014

Re: [PATCH v8 04/22] Change direct_access calling convention

2014-07-31 Thread Zwisler, Ross
On Thu, 2014-07-31 at 21:04 +0300, Boaz Harrosh wrote: On 07/31/2014 08:19 PM, Matthew Wilcox wrote: On Thu, Jul 31, 2014 at 06:28:37PM +0300, Boaz Harrosh wrote: Matthew what is your opinion about this, do we need to push for removal of the partition dead code which never worked for brd,

Re: [PATCH v3 1/4] mfd: pm8xxx-spmi: add support for Qualcomm SPMI PMICs

2014-07-31 Thread David Collins
On 07/31/2014 01:48 AM, Stanimir Varbanov wrote: Hi David, Thanks for the comments! On 07/30/2014 12:54 AM, David Collins wrote: On 07/24/2014 05:45 AM, Stanimir Varbanov wrote: From: Josh Cartwright jo...@codeaurora.org The Qualcomm SPMI PMIC chips are components used with the

Re: [PATCH 20/43] tile: Use get_signal() signal_setup_done()

2014-07-31 Thread Chris Metcalf
On 7/21/2014 10:03 AM, Richard Weinberger wrote: From: Richard Weinbergerrich...@nod.at Use the more generic functions get_signal() signal_setup_done() for signal delivery. Signed-off-by: Richard Weinbergerrich...@nod.at --- arch/tile/include/asm/compat.h | 3 +--

Re: [PATCH v4 4/4] ARM: dts: Add exynos5250-spring device tree

2014-07-31 Thread Andreas Färber
Am 31.07.2014 21:05, schrieb Tomasz Figa: +}; + +fixed-rate-clocks { +xxti { +compatible = samsung,clock-xxti; +clock-frequency = 2400; +}; +}; This is also referencing a node from higher level, so it should

Re: [PATCH] cpufreq, store_scaling_governor requires policy-rwsem to be held for duration of changing governors [v2]

2014-07-31 Thread Saravana Kannan
On 07/31/2014 01:30 PM, Prarit Bhargava wrote: On 07/31/2014 04:24 PM, Saravana Kannan wrote: Prarit, I'm not an expert on sysfs locking, but I would think the specific sysfs lock would depend on the file/attribute group. So, can you please try to hotplug a core in/out (to trigger the

Re: [PATCH v2 7/7] memory-hotplug: tile: suitable memory should go to ZONE_MOVABLE

2014-07-31 Thread Chris Metcalf
On 7/21/2014 11:09 PM, Wang Nan wrote: Hi Andrew, Please drop patch 7/7 from -mm tree and keep other 6 patches. arch_add_memory() in tile is different from others: no nid parameter. Patch 7/7 will block compiling. I cc this mail to Chris Metcalf and hope he can look at this issue. Other

RE: [PATCH 00/18] staging: comedi: amplc_pci224: remove legacy stuff

2014-07-31 Thread Hartley Sweeten
On Thursday, July 31, 2014 1:28 PM, Hartley Sweeten wrote: On Thursday, July 31, 2014 6:48 AM, Ian Abbott wrote: The amplc_pci224 driver retains a legacy attach mechanism via the `COMEDI_DEVCONFIG` ioctl and the comedi driver attach hook, but usually attaches PCI devices automatically via the

Re: [PATCH 1/3] irq / PM: New driver interface for wakeup interrupts

2014-07-31 Thread Rafael J. Wysocki
On Thursday, July 31, 2014 04:12:55 PM Alan Stern wrote: On Thu, 31 Jul 2014, Rafael J. Wysocki wrote: And before we enter the wakeup handling slippery slope, let me make a note that this problem is bothering me quite a bit at the moment. In my opinion we need to address it somehow

Re: [PATCH v2] kbuild, LLVMLinux: Supress warnings unless W=1-3

2014-07-31 Thread Michal Marek
Dne 31.7.2014 18:12, Behan Webster napsal(a): On 07/31/14 01:18, Michal Marek wrote: Dne 31.7.2014 06:16, beh...@converseincode.com napsal(a): @@ -55,6 +45,18 @@ warning-3 += -Wswitch-default warning-3 += $(call cc-option, -Wpacked-bitfield-compat) warning-3 += $(call cc-option, -Wvla)

Re: [PATCH v4 1/5] cpufreq: Don't wait for CPU to going offline to restart governor

2014-07-31 Thread Saravana Kannan
On 07/24/2014 06:07 PM, Saravana Kannan wrote: There's no need to wait for the CPU going down to fully go offline to restart the governor. We can stop the governor, change policy-cpus and immediately restart the governor. This should reduce the time without any CPUfreq monitoring and also help

[PATCH] perf, x86: Handle extended offcore mask on Haswell

2014-07-31 Thread Andi Kleen
From: Andi Kleen a...@linux.intel.com HSW-EP has a larger offcore mask than the client Haswell CPUs. It is the same mask as on Sandy/IvyBridge-EP. On the client parts some bits were also missing compared to Sandy/IvyBridge, in particular the bits to match on a L4 cache hit. Specifying extra

Re: [PATCH] Documentation: dmaengine: Add a documentation for the dma controller API

2014-07-31 Thread Maxime Ripard
On Thu, Jul 31, 2014 at 06:54:11PM +0200, Lars-Peter Clausen wrote: On 07/31/2014 06:13 PM, Maxime Ripard wrote: [...] From what you're saying, and judging from the drivers that already implement it, can't it be moved directly to the framework itself ? What exactly do you mean by moving

[PATCH v3 5/5] ARM: dts: Enable USB otg and host1(dwc) on rk3288-evb

2014-07-31 Thread Kever Yang
USB otg port is the usb3.0 b-port on the board. USB host1 port is the host A port nearby the otg port. Signed-off-by: Kever Yang kever.y...@rock-chips.com --- Changes in v3: - Rebase Changes in v2: - evb patch added in version 2 arch/arm/boot/dts/rk3288-evb.dtsi |6 ++ 1 file

[PATCH v3 4/5] ARM: dts: Fix the sort ordering of EHCI and HSIC in rk3288.dtsi

2014-07-31 Thread Kever Yang
From: Doug Anderson diand...@chromium.org The EHCI and HSIC device tree nodes were added in the wrong place. Fix them. Signed-off-by: Doug Anderson diand...@chromium.org Signed-off-by: Kever Yang kever.y...@rock-chips.com --- Changes in v3: - EHCI and HSIC move new for version 3. Changes in

[PATCH v3 3/5] ARM: dts: add rk3288 dwc2 controller support

2014-07-31 Thread Kever Yang
rk3288 has two kind of usb controller, this add the dwc2 controller for otg and host1. Controller can works with usb PHY default setting and Vbus on. Signed-off-by: Kever Yang kever.y...@rock-chips.com --- Changes in v3: - Moved out of pin control and sort by base address Changes in v2: -

[PATCH v3 0/5] Patches to add support for Rockchip dwc2 controller

2014-07-31 Thread Kever Yang
These patches to add support for dwc2 controller found in Rockchip processors rk3066, rk3188 and rk3288, and enable dts for rk3288 evb. Changes in v3: - Moved out of pin control and sort by base address - EHCI and HSIC move new for version 3. - Rebase Changes in v2: - Split out dr_mode and

[PATCH v3 2/5] usb: dwc2: add compatible data for rockchip soc

2014-07-31 Thread Kever Yang
This patch add compatible data for dwc2 controller found on rk3066, rk3188 and rk3288 processors from rockchip. Signed-off-by: Kever Yang kever.y...@rock-chips.com Acked-by: Paul Zimmerman pa...@synopsys.com --- Changes in v3: None Changes in v2: - set most parameters as driver auto-detect

[PATCH v3 1/5] Documentation: dt-bindings: add dt binding info for Rockchip dwc2

2014-07-31 Thread Kever Yang
This add necessary dwc2 binding documentation for Rockchip socs: rk3066, rk3188 and rk3288 Signed-off-by: Kever Yang kever.y...@rock-chips.com Acked-by: Stephen Warren swar...@nvidia.com --- Changes in v3: None Changes in v2: - Split out dr_mode and rk3288 bindings. - add compatible snps,dwc2

Re: [PATCH v3 2/4] mfd: pm8xxx-spmi: document DT bindings for Qualcomm SPMI PMICs

2014-07-31 Thread David Collins
On 07/31/2014 01:58 AM, Stanimir Varbanov wrote: On 07/30/2014 01:23 AM, David Collins wrote: On 07/24/2014 05:45 AM, Stanimir Varbanov wrote: Document DT bindings used to describe the Qualcomm SPMI PMICs. Currently the SPMI PMICs supported are pm8941, pm8841 and pma8084. Signed-off-by:

Re: [PATCH v2 tip/core/rcu 04/10] rcu: Export RCU-tasks APIs to GPL modules

2014-07-31 Thread Paul E. McKenney
On Thu, Jul 31, 2014 at 09:56:20AM -0700, j...@joshtriplett.org wrote: On Wed, Jul 30, 2014 at 05:39:36PM -0700, Paul E. McKenney wrote: From: Steven Rostedt rost...@goodmis.org This commit exports the RCU-tasks APIs, call_rcu_tasks(), synchronize_rcu_tasks(), and rcu_barrier_tasks(), to

Re: [PATCH v2 tip/core/rcu 05/10] rcutorture: Add torture tests for RCU-tasks

2014-07-31 Thread Paul E. McKenney
On Thu, Jul 31, 2014 at 10:01:08AM -0700, j...@joshtriplett.org wrote: On Wed, Jul 30, 2014 at 05:39:37PM -0700, Paul E. McKenney wrote: From: Paul E. McKenney paul...@linux.vnet.ibm.com This commit adds torture tests for RCU-tasks. It also fixes a bug that would segfault for an RCU

Re: [PATCH v2 tip/core/rcu 0/10] RCU-tasks implementation

2014-07-31 Thread josh
On Thu, Jul 31, 2014 at 11:38:16AM -0700, Paul E. McKenney wrote: On Thu, Jul 31, 2014 at 10:20:24AM -0700, j...@joshtriplett.org wrote: On Thu, Jul 31, 2014 at 09:58:43AM -0700, Paul E. McKenney wrote: On Thu, Jul 31, 2014 at 09:19:02AM -0700, j...@joshtriplett.org wrote: On Wed, Jul

Re: [PATCHv2 4/5] clk: samsung: exynos5410: Add fixed rate clocks

2014-07-31 Thread Humberto Naves
Hi, On Thu, Jul 31, 2014 at 1:45 PM, Sylwester Nawrocki s.nawro...@samsung.com wrote: Can you explain what is rationale behind this change ? Is it related to suspend/resume ordering ? I had forgotten, but now remember the reason why I did this. If you see the current implementation of

Re: [PATCH 1/2] alpha: Remove strange OSF/1 fork semantics

2014-07-31 Thread Michael Cree
On Wed, Jul 30, 2014 at 11:42:31AM -1000, Richard Henderson wrote: The assignment to regs-r20 kills the original tls_val input to the clone syscall, which means that clone can no longer be restarted with the original inputs. We could, perhaps, retain this result for true fork, but OSF/1

Re: [PATCH] ACPI/Processor: Add CPU_STARTING_FROZEN check in the acpi_cpu_soft_notify()

2014-07-31 Thread Rafael J. Wysocki
On Thursday, July 31, 2014 05:20:26 PM Lan Tianyu wrote: The callback of CPU_STARTING event can't sleep and so acpi_cpu_soft_notify() return directly when CPU_STARTING event is triggered. But cpu hotplug also happens during S2RAM. The action will become CPU_STARTING_FROZEN. This patch is to

Re: [PATCH v4 net-next 5/5] net: filter: split 'struct sk_filter' into socket and bpf parts

2014-07-31 Thread Alexei Starovoitov
On Thu, Jul 31, 2014 at 12:40 PM, Pablo Neira Ayuso pa...@netfilter.org wrote: On Wed, Jul 30, 2014 at 08:34:16PM -0700, Alexei Starovoitov wrote: clean up names related to socket filtering and bpf in the following way: - everything that deals with sockets keeps 'sk_*' prefix - everything that

Re: [PATCH] perf, x86: Handle extended offcore mask on Haswell

2014-07-31 Thread Andi Kleen
Andi Kleen a...@firstfloor.org writes: From: Andi Kleen a...@linux.intel.com HSW-EP has a larger offcore mask than the client Haswell CPUs. It is the same mask as on Sandy/IvyBridge-EP. Sorry I posted the wrong patch, not matching the description. Use the followon patch instead. -Andi --

[PATCH] perf, x86: Use extended offcore mask on Haswell

2014-07-31 Thread Andi Kleen
From: Andi Kleen a...@linux.intel.com HSW-EP has a larger offcore mask than the client Haswell CPUs. It is the same mask as on Sandy/IvyBridge-EP. All of Haswell was using the client mask, so some bits were missing. On the client parts some bits were also missing compared to Sandy/IvyBridge, in

Re: [PATCH 1/3] x86 msr: msr goto extension support

2014-07-31 Thread Andy Lutomirski
On 07/31/2014 02:41 AM, kan.li...@intel.com wrote: From: Kan Liang kan.li...@intel.com Currently, {rd,wr}msrl_safe can handle the exception which caused by accessing specific MSR. However, it will introduce extra conditional branch for testing errors. That will impact the fast path's

Re: [PATCH v2] tcp: don't require root to read tcp_metrics

2014-07-31 Thread David Miller
From: Debabrata Banerjee dbane...@akamai.com Date: Wed, 30 Jul 2014 13:50:17 -0400 commit d23ff7016 (tcp: add generic netlink support for tcp_metrics) introduced netlink support for the new tcp_metrics, however it restricted getting of tcp_metrics to root user only. This is a change from how

Re: [PATCH] cpufreq, store_scaling_governor requires policy-rwsem to be held for duration of changing governors [v2]

2014-07-31 Thread Prarit Bhargava
On 07/31/2014 04:38 PM, Saravana Kannan wrote: On 07/31/2014 01:30 PM, Prarit Bhargava wrote: On 07/31/2014 04:24 PM, Saravana Kannan wrote: Prarit, I'm not an expert on sysfs locking, but I would think the specific sysfs lock would depend on the file/attribute group. So, can you

Re: [PATCH v2 tip/core/rcu 0/10] RCU-tasks implementation

2014-07-31 Thread Paul E. McKenney
On Thu, Jul 31, 2014 at 12:29:36PM -0700, Andi Kleen wrote: Paul E. McKenney paul...@linux.vnet.ibm.com writes: Hello! This series provides a prototype of an RCU-tasks implementation, which has been requested to assist with tramopoline removal. Is that trampoline removal (whatever it

Re: [PATCHv2 4/5] clk: samsung: exynos5410: Add fixed rate clocks

2014-07-31 Thread Tomasz Figa
Humberto, On 31.07.2014 23:01, Humberto Naves wrote: Hi, On Thu, Jul 31, 2014 at 1:45 PM, Sylwester Nawrocki s.nawro...@samsung.com wrote: Can you explain what is rationale behind this change ? Is it related to suspend/resume ordering ? I had forgotten, but now remember the reason why I

Re: [PATCH v4 4/4] ARM: dts: Add exynos5250-spring device tree

2014-07-31 Thread Tomasz Figa
On 31.07.2014 22:36, Andreas Färber wrote: Am 31.07.2014 21:05, schrieb Tomasz Figa: + }; + + fixed-rate-clocks { + xxti { + compatible = samsung,clock-xxti; + clock-frequency = 2400; + }; + }; This is also referencing

Re: [PATCH v2 tip/core/rcu 0/10] RCU-tasks implementation

2014-07-31 Thread Paul E. McKenney
On Thu, Jul 31, 2014 at 01:58:17PM -0700, j...@joshtriplett.org wrote: On Thu, Jul 31, 2014 at 11:38:16AM -0700, Paul E. McKenney wrote: On Thu, Jul 31, 2014 at 10:20:24AM -0700, j...@joshtriplett.org wrote: On Thu, Jul 31, 2014 at 09:58:43AM -0700, Paul E. McKenney wrote: On Thu, Jul

Re: [PATCH v3 4/7] Input - wacom: Check for bluetooth protocol while setting OLEDs

2014-07-31 Thread Przemo Firszt
Dnia 2014-07-31, czw o godzinie 08:56 -0700, Ping Cheng pisze: [..] Hi Ping, I'd like to see Przemo's Tested-by tag here as well. Przemo, are you done with your testing? Whole series: Tested-by: Przemo Firszt prz...@firszt.eu Tested on two Intuos4 Wireless (usb + bt) tablets. Everything works

Re: [PATCHv2 5/5] clk: samsung: exynos5410: Added clocks DPLL, EPLL, IPLL, and VPLL

2014-07-31 Thread Humberto Naves
Hi, On Thu, Jul 31, 2014 at 5:19 PM, Tomasz Figa tomasz.f...@gmail.com wrote: I'm not sure I get the idea of the field you're suggesting. If I understand correctly, your intention would be to provide a default frequency if there is no table provided. I don't think there is a need for it,

Re: [PATCH 0/3] therm_windtunnel doesn't work properly on PowerMac G4

2014-07-31 Thread Goffredo Baroncelli
On 07/31/2014 08:52 AM, Jean Delvare wrote: Hi Ben, Goffredo, [...] This leaves only two drivers still using the old binding model: macintosh/therm_pm72 and sound/ppc/keywest. Could any of you please convert these to the standard binding model so that I can finally get rid of

SH 7619 CHCR values

2014-07-31 Thread Fabian Frederick
Hello,  Could you tell me where I could find SH 7619 CHCR values in order to solve the following errors ?      arch/sh/drivers/dma/dma-sh.c: In function 'calc_xmit_shift': arch/sh/drivers/dma/dma-sh.c:97:21: error: 'CHCR_TS_LOW_MASK' undeclared (first use in this function)

Re: [PATCH 3/3] therm_windtunnel doesn't work properly on PowerMac G4

2014-07-31 Thread Goffredo Baroncelli
On 07/31/2014 09:07 AM, Jean Delvare wrote: Hi Goffredo, For next time: please give each individual patch an appropriate subject. Otherwise it is difficult to keep track of what each patch does exactly. I had to use the same subject because the email weren't threaded. The subject was the

[REPOST PATCH v3 2/5] usb: dwc2: add compatible data for rockchip soc

2014-07-31 Thread Kever Yang
This patch add compatible data for dwc2 controller found on rk3066, rk3188 and rk3288 processors from rockchip. Signed-off-by: Kever Yang kever.y...@rock-chips.com Acked-by: Paul Zimmerman pa...@synopsys.com --- Changes in v3: None Changes in v2: - set most parameters as driver auto-detect

[REPOST PATCH v3 5/5] ARM: dts: Enable USB otg and host1(dwc) on rk3288-evb

2014-07-31 Thread Kever Yang
USB otg port is the usb3.0 b-port on the board. USB host1 port is the host A port nearby the otg port. Signed-off-by: Kever Yang kever.y...@rock-chips.com --- Changes in v3: - Rebase Changes in v2: - evb patch added in version 2 arch/arm/boot/dts/rk3288-evb.dtsi |6 ++ 1 file

[REPOST PATCH v3 4/5] ARM: dts: Fix the sort ordering of EHCI and HSIC in rk3288.dtsi

2014-07-31 Thread Kever Yang
From: Doug Anderson diand...@chromium.org The EHCI and HSIC device tree nodes were added in the wrong place. Fix them. Signed-off-by: Doug Anderson diand...@chromium.org Signed-off-by: Kever Yang kever.y...@rock-chips.com --- Changes in v3: - EHCI and HSIC move new for version 3. Changes in

[REPOST PATCH v3 3/5] ARM: dts: add rk3288 dwc2 controller support

2014-07-31 Thread Kever Yang
rk3288 has two kind of usb controller, this add the dwc2 controller for otg and host1. Controller can works with usb PHY default setting and Vbus on. Signed-off-by: Kever Yang kever.y...@rock-chips.com --- Changes in v3: - Moved out of pin control and sort by base address Changes in v2: -

[REPOST PATCH v3 0/5] Patches to add support for Rockchip dwc2 controller

2014-07-31 Thread Kever Yang
These patches to add support for dwc2 controller found in Rockchip processors rk3066, rk3188 and rk3288, and enable dts for rk3288 evb. Reposting series with the proper email address. Changes in v3: - Moved out of pin control and sort by base address - EHCI and HSIC move new for version 3. -

[REPOST PATCH v3 1/5] Documentation: dt-bindings: add dt binding info for Rockchip dwc2

2014-07-31 Thread Kever Yang
This add necessary dwc2 binding documentation for Rockchip socs: rk3066, rk3188 and rk3288 Signed-off-by: Kever Yang kever.y...@rock-chips.com Acked-by: Stephen Warren swar...@nvidia.com --- Changes in v3: None Changes in v2: - Split out dr_mode and rk3288 bindings. - add compatible snps,dwc2

[GIT PULL] ACPI PNP fix for v3.16-rc6

2014-07-31 Thread Rafael J. Wysocki
Hi Linus, Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ pm+acpi-3.16-rc8 to receive an ACPI PNP fix for v3.16-rc8 (if there is -rc8 or for the final v3.16 otherwise) with top-most commit b6328a07bd6b3d31b64f85864fe74f3b08c010ca ACPI / PNP: Fix

Re: [U-Boot] [PATCH] kconfig: Fix compiler warning in menu.c

2014-07-31 Thread Hans de Goede
Hi, On 07/31/2014 10:10 PM, Jeroen Hofstee wrote: Hello Hans, On 31-07-14 16:21, Hans de Goede wrote: This fixes the following compiler warning: In file included from scripts/kconfig/zconf.tab.c:2537:0: scripts/kconfig/menu.c: In function ‘get_symbol_str’: scripts/kconfig/menu.c:590:18:

Re: [PATCH 2/5] char: tile-srom: Remove reference to platform_bus

2014-07-31 Thread Greg Kroah-Hartman
On Thu, Jul 31, 2014 at 04:24:37PM -0400, Chris Metcalf wrote: On 7/25/2014 10:23 AM, Pawel Moll wrote: The code was creating srom class devices using platform_bus as a parent. As they are not really platform devices, make them virtual, using NULL instead. Cc: Chris

Re: [PATCH v4 3/5] cpufreq: Don't destroy/realloc policy/sysfs on hotplug/suspend

2014-07-31 Thread Rafael J. Wysocki
On Thursday, July 24, 2014 06:07:26 PM Saravana Kannan wrote: This patch simplifies a lot of the hotplug/suspend code by not adding/removing/moving the policy/sysfs/kobj during hotplug and just leaves the cpufreq directory and policy in place irrespective of whether the CPUs are

Re: [patch] Documentation: SubmittingPatches: overhaul changelog howto

2014-07-31 Thread Randy Dunlap
On 07/30/14 14:11, Johannes Weiner wrote: Maintainers often repeat the same feedback on poorly written changelogs - describe the problem, justify your changes, quantify optimizations, describe user-visible changes - but our documentation on writing changelogs doesn't include these things. Fix

[PATCH] clk: samsung: Changed return behavior of samsung_clk_init

2014-07-31 Thread Humberto Silva Naves
Instead of invoking panic, the samsung_clk_init returns a NULL pointer to indicate that an error has occurred. All the drivers using this function were changed appropriately (in this case just the clk-exynos5410). This patch was suggested by Tomasz Figa in

Re: Killing process in D state on mount to dead NFS server. (when process is in fsync)

2014-07-31 Thread NeilBrown
On Thu, 31 Jul 2014 14:20:07 -0700 Ben Greear gree...@candelatech.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/31/2014 01:42 PM, NeilBrown wrote: On Thu, 31 Jul 2014 11:00:35 -0700 Ben Greear gree...@candelatech.com wrote: So, this has been asked all over the

[PATCH v3 tip/core/rcu 0/9

2014-07-31 Thread Paul E. McKenney
Hello! This series provides v3 of a prototype of an RCU-tasks implementation, which has been requested to assist with tramopoline removal. This flavor of RCU is task-based rather than CPU-based, and has voluntary context switch, usermode execution, and the idle loops as its only quiescent

[PATCH v3 tip/core/rcu 1/9] rcu: Add call_rcu_tasks()

2014-07-31 Thread Paul E. McKenney
From: Paul E. McKenney paul...@linux.vnet.ibm.com This commit adds a new RCU-tasks flavor of RCU, which provides call_rcu_tasks(). This RCU flavor's quiescent states are voluntary context switch (not preemption!), userspace execution, and the idle loop. Note that unlike other RCU flavors, these

[PATCH v3 tip/core/rcu 9/9] documentation: Add verbiage on RCU-tasks stall warning messages

2014-07-31 Thread Paul E. McKenney
From: Paul E. McKenney paul...@linux.vnet.ibm.com This commit documents RCU-tasks stall warning messages and also describes when to use the new cond_resched_rcu_qs() API. Signed-off-by: Paul E. McKenney paul...@linux.vnet.ibm.com --- Documentation/RCU/stallwarn.txt | 33

[PATCH v3 tip/core/rcu 7/9] rcu: Add stall-warning checks for RCU-tasks

2014-07-31 Thread Paul E. McKenney
From: Paul E. McKenney paul...@linux.vnet.ibm.com This commit adds a three-minute RCU-tasks stall warning. The actual time is controlled by the boot/sysfs parameter rcu_task_stall_timeout, with values less than or equal to zero disabling the stall warnings. The default value is three minutes,

[PATCH v3 tip/core/rcu 5/9] rcutorture: Add torture tests for RCU-tasks

2014-07-31 Thread Paul E. McKenney
From: Paul E. McKenney paul...@linux.vnet.ibm.com This commit adds torture tests for RCU-tasks. It also fixes a bug that would segfault for an RCU flavor lacking a callback-barrier function. Signed-off-by: Paul E. McKenney paul...@linux.vnet.ibm.com Reviewed-by: Josh Triplett

[PATCH v3 tip/core/rcu 6/9] rcutorture: Add RCU-tasks test cases

2014-07-31 Thread Paul E. McKenney
From: Paul E. McKenney paul...@linux.vnet.ibm.com This commit adds the TASKS01 and TASKS02 Kconfig fragments, along with the corresponding TASKS01.boot and TASKS02.boot boot-parameter files specifying that rcutorture test RCU-tasks instead of the default flavor. Signed-off-by: Paul E. McKenney

[PATCH v3 tip/core/rcu 2/9] rcu: Provide cond_resched_rcu_qs() to force quiescent states in long loops

2014-07-31 Thread Paul E. McKenney
From: Paul E. McKenney paul...@linux.vnet.ibm.com RCU-tasks requires the occasional voluntary context switch from CPU-bound in-kernel tasks. In some cases, this requires instrumenting cond_resched(). However, there is some reluctance to countenance unconditionally instrumenting cond_resched()

[PATCH v3 tip/core/rcu 3/9] rcu: Add synchronous grace-period waiting for RCU-tasks

2014-07-31 Thread Paul E. McKenney
From: Paul E. McKenney paul...@linux.vnet.ibm.com It turns out to be easier to add the synchronous grace-period waiting functions to RCU-tasks than to work around their absense in rcutorture, so this commit adds them. The key point is that the existence of call_rcu_tasks() means that rcutorture

[PATCH v3 tip/core/rcu 8/9] rcu: Improve RCU-tasks energy efficiency

2014-07-31 Thread Paul E. McKenney
From: Paul E. McKenney paul...@linux.vnet.ibm.com The current RCU-tasks implementation uses strict polling to detect callback arrivals. This works quite well, but is not so good for energy efficiency. This commit therefore replaces the strict polling with a wait queue. Signed-off-by: Paul E.

[PATCH v3 tip/core/rcu 4/9] rcu: Export RCU-tasks APIs to GPL modules

2014-07-31 Thread Paul E. McKenney
From: Steven Rostedt rost...@goodmis.org This commit exports the RCU-tasks APIs, call_rcu_tasks(), synchronize_rcu_tasks(), and rcu_barrier_tasks(), to GPL-licensed kernel modules. Signed-off-by: Steven Rostedt rost...@goodmis.org Signed-off-by: Paul E. McKenney paul...@linux.vnet.ibm.com

Re: [REPOST PATCH v3 4/5] ARM: dts: Fix the sort ordering of EHCI and HSIC in rk3288.dtsi

2014-07-31 Thread Doug Anderson
Kever, On Thu, Jul 31, 2014 at 2:26 PM, Kever Yang kever.y...@rock-chips.com wrote: From: Doug Anderson diand...@chromium.org The EHCI and HSIC device tree nodes were added in the wrong place. Fix them. Signed-off-by: Doug Anderson diand...@chromium.org Signed-off-by: Kever Yang

Re: [PATCH percpu/for-3.17 1/2] percpu: implement percpu_pool

2014-07-31 Thread Andrew Morton
On Fri, 18 Jul 2014 16:08:04 -0400 Tejun Heo t...@kernel.org wrote: percpu allocator requires sleepable context for allocations. Most use cases are fine with the requirement but blk-throttle currently implements its own asynchronous allocation mechanism to allow initiating allocation from

Re: [PATCH v8 01/11] ARM: brcmstb: add infrastructure for ARM-based Broadcom STB SoCs

2014-07-31 Thread Brian Norris
Hi Russell, On Thu, Jul 31, 2014 at 09:43:15AM +0100, Russell King wrote: On Wed, Jul 30, 2014 at 07:23:20PM -0700, Brian Norris wrote: I appreciate your comments, but where were many of these 5 months ago on the first 7 revisions? :) On a practical note: v9 is already queued for 3.17.

Re: [PATCH] Replace faulty is_hex_digit() by isxdigit()

2014-07-31 Thread Rafael J. Wysocki
On Thursday, July 31, 2014 09:31:37 AM Randy Dunlap wrote: On 07/31/14 02:04, Arjun Sreedharan wrote: 0 is ascii for NULL. Hex digit matching should be from '0'. Faulty version returns true for #,$,%, etc. Signed-off-by: Arjun Sreedharan arjun...@gmail.com Acked-by: Randy Dunlap

Re: [PATCH 00/17] ACPICA: 20140724 Release

2014-07-31 Thread Rafael J. Wysocki
On Wednesday, July 30, 2014 12:20:20 PM Lv Zheng wrote: The 20140724 ACPICA kernel-resident subsystem updates are linuxized based on the pm/linux-next branch to form this patchset. The patchset has passed the following build/boot tests. Build tests are performed as follows: 1. i386 +

Re: [PATCH] cpufreq, store_scaling_governor requires policy-rwsem to be held for duration of changing governors [v2]

2014-07-31 Thread Saravana Kannan
On 07/31/2014 02:08 PM, Prarit Bhargava wrote: On 07/31/2014 04:38 PM, Saravana Kannan wrote: On 07/31/2014 01:30 PM, Prarit Bhargava wrote: On 07/31/2014 04:24 PM, Saravana Kannan wrote: Prarit, I'm not an expert on sysfs locking, but I would think the specific sysfs lock would depend

Re: [PATCH] ACPI / processor: Make it possible to get local x2apic id via _MAT

2014-07-31 Thread Rafael J. Wysocki
On Tuesday, July 29, 2014 11:27:50 AM Hanjun Guo wrote: Logical processors with APIC ID values of 255 and greater are required to have a Processor Device object and must convey the processor's APIC information to OSPM using the Processor Local X2APIC structure, but not until ACPI 5.1, X2APIC

Re: [PATCH 1/3] irq / PM: New driver interface for wakeup interrupts

2014-07-31 Thread Thomas Gleixner
On Thu, 31 Jul 2014, Rafael J. Wysocki wrote: On Thursday, July 31, 2014 12:44:24 PM Thomas Gleixner wrote: What's this PCIe PME handler doing? Is it required functionality for the suspend/resume path or is it a wakeup/abort mechanism. It is a wakeup/abort mechanism. So why is it using

Re: [PATCH v4 3/5] cpufreq: Don't destroy/realloc policy/sysfs on hotplug/suspend

2014-07-31 Thread Saravana Kannan
On 07/31/2014 02:56 PM, Rafael J. Wysocki wrote: On Thursday, July 24, 2014 06:07:26 PM Saravana Kannan wrote: This patch simplifies a lot of the hotplug/suspend code by not adding/removing/moving the policy/sysfs/kobj during hotplug and just leaves the cpufreq directory and policy in place

Re: MNT_DETACH and mount namespace issue

2014-07-31 Thread Richard Weinberger
Am 30.07.2014 22:46, schrieb Richard Weinberger: Am 30.07.2014 15:59, schrieb Richard Weinberger: If we use the plain list_empty() we might not see the hlist_del_init_rcu() and therefore miss one member of the list. It fixes the following issue: $ unshare -m /usr/bin/sleep 1 $ mkdir

Re: [PATCHv2 5/5] clk: samsung: exynos5410: Added clocks DPLL, EPLL, IPLL, and VPLL

2014-07-31 Thread Tomasz Figa
Humberto, [dropping few addresses from Cc as this topic is rather irrelevant for them and adding Mike and Sylwester] On 31.07.2014 23:19, Humberto Naves wrote: Hi, On Thu, Jul 31, 2014 at 5:19 PM, Tomasz Figa tomasz.f...@gmail.com wrote: I'm not sure I get the idea of the field you're

Re: [PATCH] scsi: 3w-9xxx.c: Cleaning up missing null-terminate in conjunction with strncpy

2014-07-31 Thread adam radford
On Sun, Jul 27, 2014 at 8:11 AM, Rickard Strandqvist rickard_strandqv...@spectrumdigital.se wrote: Replacing strncpy with strlcpy to avoid strings that lacks null terminate. And use the sizeof on the to string rather than strlen on the from string. Signed-off-by: Rickard Strandqvist

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