Re: 3.11-rc6 genetlink locking fix offends lockdep

2013-08-20 Thread Borislav Petkov
On Tue, Aug 20, 2013 at 10:28:58AM +0200, Johannes Berg wrote: Something like the patch below, perhaps? Completely untested so far. Yeah, this one seems to fix it here (I was seeing the same lockdep splat as Hugh). Thanks. -- Regards/Gruss, Boris. Sent from a fat crate under my desk.

Re: [PATCH] mfd: mc13xxx: make it possible to use the codec without pdata

2013-08-20 Thread Lee Jones
In case of devicetree, we currently don't have a way to append pdata for the codec. This patch makes it possible to probe the codec without pdata for that case. Signed-off-by: Michael Grzeschik m.grzesc...@pengutronix.de --- drivers/mfd/mc13xxx-core.c | 11 +++ 1

Re: [RFC 06/17] ARM: imx: remove custom .init_time hook

2013-08-20 Thread Sascha Hauer
On Tue, Aug 20, 2013 at 10:48:44AM +0200, Sebastian Hesselbarth wrote: On 08/20/2013 09:26 AM, Sascha Hauer wrote: On i.MX5 the init_time hook calls mx5x_clocks_init_dt which calls mx5x_clocks_init which not only calls of_clk_init() but also registers all clocks in the system. You can't remove

Re: [PATCH 09/33] ARM: ux500: Supply the I2C clocks lookup to the DBX500 DT

2013-08-20 Thread Linus Walleij
On Thu, Jun 6, 2013 at 2:16 PM, Lee Jones lee.jo...@linaro.org wrote: +++ b/arch/arm/boot/dts/dbx5x0.dtsi @@ -572,6 +572,8 @@ v-i2c-supply = db8500_vape_reg; clock-frequency = 40; + clocks = prcc_kclk 3 3, prcc_pclk 3

Re: [PATCH] iio: adc: Add bindigs documentation for twl6030 GPADC

2013-08-20 Thread Mark Rutland
Hi Oleksandr, [Adding Jonathan Cameron and Guenter Roeck to Cc] Apologies for the delay replying to this. In attempting to verify this made sense I went and read the IIO bindings documentation, and I'm somewhat confused by the model. As far as I can see, the only consumer of IIO channels is the

Re: [PATCH 1/7] PCI: tegra: replace devm_request_and_ioremap by devm_ioremap_resource

2013-08-20 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr Use devm_ioremap_resource instead of devm_request_and_ioremap. This was done using the semantic patch scripts/coccinelle/api/devm_ioremap_resource.cocci Error-handling code was manually removed from the associated calls to platform_get_resource. Adjust

Re: [PATCH 3/16] arch/arm/mach-ux500/cpu-db8500.c: Avoid using ARRAY_AND_SIZE(e) as a function argument

2013-08-20 Thread Linus Walleij
On Sun, Aug 11, 2013 at 6:51 PM, Julia Lawall julia.law...@lip6.fr wrote: From: Julia Lawall julia.law...@lip6.fr Replace ARRAY_AND_SIZE(e) in function argument position to avoid hiding the arity of the called function. Patch applied. Yours, Linus Walleij -- To unsubscribe from this list:

Re: [PATCH v5] Soft limit rework

2013-08-20 Thread Michal Hocko
On Mon 19-08-13 12:35:12, Johannes Weiner wrote: On Tue, Jun 18, 2013 at 02:09:39PM +0200, Michal Hocko wrote: Hi, This is the fifth version of the patchset. Summary of versions: The first version has been posted here: http://permalink.gmane.org/gmane.linux.kernel.mm/97973

Re: [RFC 06/17] ARM: imx: remove custom .init_time hook

2013-08-20 Thread Sebastian Hesselbarth
On 08/20/2013 11:10 AM, Sascha Hauer wrote: On Tue, Aug 20, 2013 at 10:48:44AM +0200, Sebastian Hesselbarth wrote: On 08/20/2013 09:26 AM, Sascha Hauer wrote: On i.MX5 the init_time hook calls mx5x_clocks_init_dt which calls mx5x_clocks_init which not only calls of_clk_init() but also

Re: [PATCH 1/8] ARM: at91: move peripheral id definitions to dt-bindings include dir

2013-08-20 Thread Richard Genoud
2013/8/19 Nicolas Ferre nicolas.fe...@atmel.com: On 08/08/2013 06:09, boris brezillon : Hello Arnd, On 07/08/2013 22:24, Arnd Bergmann wrote: On Thursday 01 August 2013, Boris BREZILLON wrote: This patch moves peripheral id definitions from machine specific include dir

[RFC v2] ARM: imx: remove custom .init_time hook

2013-08-20 Thread Sebastian Hesselbarth
With arch/arm calling of_clk_init(NULL) from time_init(), we can now remove custom .init_time hooks. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Notes: - Although mx5_clocks_common_init() is shared with non-DT, removing of_clk_init(NULL) should be fine, as it only

Re: [PATCH] i2c: move of helpers into the core

2013-08-20 Thread Mika Westerberg
[Added Jerry as he found out a problem when acpi_i2c is being build as a module, this should solve it as well.] On Tue, Aug 20, 2013 at 01:25:27AM +0200, Rafael J. Wysocki wrote: On Monday, August 19, 2013 04:56:19 PM Stephen Warren wrote: On 08/19/2013 05:04 PM, Rafael J. Wysocki wrote: On

Re: Build regressions/improvements in v3.11-rc6

2013-08-20 Thread Geert Uytterhoeven
On Tue, 20 Aug 2013, Geert Uytterhoeven wrote: JFYI, when comparing v3.11-rc6 to v3.11-rc5[3], the summaries are: - build errors: +6/-9 + arch/powerpc/kvm/book3s_xics.c: error: implicit declaration of function 'get_tb' [-Werror=implicit-function-declaration]: = 812:3 powerpc-randconfig

[PATCH v4 18/19] cpufreq: pmac64-cpufreq: remove device tree parsing for cpu nodes

2013-08-20 Thread Sudeep KarkadaNagesha
From: Sudeep KarkadaNagesha sudeep.karkadanage...@arm.com Now that the cpu device registration initialises the of_node(if available) appropriately for all the cpus, parsing here is redundant. This patch removes all DT parsing and uses cpu-of_node instead. Cc: Benjamin Herrenschmidt

Re: [PATCH 09/33] ARM: ux500: Supply the I2C clocks lookup to the DBX500 DT

2013-08-20 Thread Sascha Hauer
On Tue, Aug 20, 2013 at 11:11:19AM +0200, Linus Walleij wrote: On Thu, Jun 6, 2013 at 2:16 PM, Lee Jones lee.jo...@linaro.org wrote: +++ b/arch/arm/boot/dts/dbx5x0.dtsi @@ -572,6 +572,8 @@ v-i2c-supply = db8500_vape_reg; clock-frequency

[PATCH v4 16/19] cpufreq: arm_big_little: remove device tree parsing for cpu nodes

2013-08-20 Thread Sudeep KarkadaNagesha
From: Sudeep KarkadaNagesha sudeep.karkadanage...@arm.com Now that the cpu device registration initialises the of_node(if available) appropriately for all the cpus, parsing here is redundant. This patch removes all DT parsing and uses cpu-of_node instead. Acked-by: Viresh Kumar

[PATCH v4 19/19] cpufreq: pmac32-cpufreq: remove device tree parsing for cpu nodes

2013-08-20 Thread Sudeep KarkadaNagesha
From: Sudeep KarkadaNagesha sudeep.karkadanage...@arm.com Now that the cpu device registration initialises the of_node(if available) appropriately for all the cpus, parsing here is redundant. This patch removes DT parsing and uses cpu-of_node instead. Cc: Benjamin Herrenschmidt

[PATCH v4 13/19] cpufreq: highbank-cpufreq: remove device tree parsing for cpu nodes

2013-08-20 Thread Sudeep KarkadaNagesha
From: Sudeep KarkadaNagesha sudeep.karkadanage...@arm.com Now that the cpu device registration initialises the of_node(if available) appropriately for all the cpus, parsing here is redundant. This patch removes all DT parsing and uses cpu-of_node instead. Cc: Mark Langsdorf

[PATCH v4 17/19] cpufreq: maple-cpufreq: remove device tree parsing for cpu nodes

2013-08-20 Thread Sudeep KarkadaNagesha
From: Sudeep KarkadaNagesha sudeep.karkadanage...@arm.com Now that the cpu device registration initialises the of_node(if available) appropriately for all the cpus, parsing here is redundant. This patch removes all DT parsing and uses cpu-of_node instead. Cc: Dmitry Eremin-Solenikov

[PATCH v4 09/19] ARM: mvebu: remove device tree parsing for cpu nodes

2013-08-20 Thread Sudeep KarkadaNagesha
From: Sudeep KarkadaNagesha sudeep.karkadanage...@arm.com Currently set_secondary_cpus_clock assume the CPU logical ordering and the MPDIR in DT are same, which is incorrect. Since the CPU device nodes can be retrieved in the logical ordering using the DT helper, we can remove the devices tree

[PATCH v4 14/19] cpufreq: spear-cpufreq: remove device tree parsing for cpu nodes

2013-08-20 Thread Sudeep KarkadaNagesha
From: Sudeep KarkadaNagesha sudeep.karkadanage...@arm.com Now that the cpu device registration initialises the of_node(if available) appropriately for all the cpus, parsing here is redundant. This patch removes all DT parsing and uses cpu-of_node instead. Cc: Deepak Sikri

[PATCH v4 15/19] cpufreq: kirkwood-cpufreq: remove device tree parsing for cpu nodes

2013-08-20 Thread Sudeep KarkadaNagesha
From: Sudeep KarkadaNagesha sudeep.karkadanage...@arm.com Now that the cpu device registration initialises the of_node(if available) appropriately for all the cpus, parsing here is redundant. This patch removes all DT parsing and uses cpu-of_node instead. Cc: Jason Cooper ja...@lakedaemon.net

[PATCH v4 03/19] powerpc: refactor of_get_cpu_node to support other architectures

2013-08-20 Thread Sudeep KarkadaNagesha
From: Sudeep KarkadaNagesha sudeep.karkadanage...@arm.com Currently different drivers requiring to access cpu device node are parsing the device tree themselves. Since the ordering in the DT need not match the logical cpu ordering, the parsing logic needs to consider that. However, this has

[PATCH v4 01/19] microblaze: remove undefined of_get_cpu_node declaration

2013-08-20 Thread Sudeep KarkadaNagesha
From: Sudeep KarkadaNagesha sudeep.karkadanage...@arm.com This patch removes the declaration of the function 'of_get_cpu_node' which is not defined for microblaze. This is in preparation to move it's definition from PPC to DT common code. Michal Simek says: it was just there because Microblaze

[PATCH v4 08/19] ARM: topology: remove hwid/MPIDR dependency from cpu_capacity

2013-08-20 Thread Sudeep KarkadaNagesha
From: Sudeep KarkadaNagesha sudeep.karkadanage...@arm.com Currently the topology code computes cpu capacity and stores it in the list along with hwid(which is MPIDR) as it parses the CPU nodes in the device tree. This is required as it needs to be mapped to the logical CPU later. Since the CPU

[PATCH v4 12/19] cpufreq: cpufreq-cpu0: remove device tree parsing for cpu nodes

2013-08-20 Thread Sudeep KarkadaNagesha
From: Sudeep KarkadaNagesha sudeep.karkadanage...@arm.com Now that the cpu device registration initialises the of_node(if available) appropriately for all the cpus, parsing here is redundant. This patch removes all DT parsing and uses cpu-of_node instead. Acked-by: Shawn Guo

[PATCH v4 02/19] openrisc: remove undefined of_get_cpu_node declaration

2013-08-20 Thread Sudeep KarkadaNagesha
From: Sudeep KarkadaNagesha sudeep.karkadanage...@arm.com This patch removes the declaration of the function 'of_get_cpu_node' which is not defined for openrisc. This is in preparation to move it's definition from PPC to DT common code. Again it could be there as it was originally copied from

[RFC PATCH v3] sched: Limit idle balance based on max cost per sched domain

2013-08-20 Thread Jason Low
Hi Peter, So this is my sample implementation of the concept of matching the CPU's avg_idle with the maximum time we ever spend in a new idle load balance for each domain. This is based on our previous patch which compares avg_idle with sd-avg_cost, but I replaced sd-avg_cost with sd-max_cost.

[PATCH v4 11/19] cpufreq: imx6q-cpufreq: remove device tree parsing for cpu nodes

2013-08-20 Thread Sudeep KarkadaNagesha
From: Sudeep KarkadaNagesha sudeep.karkadanage...@arm.com Now that the cpu device registration initialises the of_node(if available) appropriately for all the cpus, parsing here is redundant. This patch removes all DT parsing and uses cpu-of_node instead. Acked-by: Shawn Guo

[PATCH v4 10/19] drivers/bus: arm-cci: avoid parsing DT for cpu device nodes

2013-08-20 Thread Sudeep KarkadaNagesha
From: Sudeep KarkadaNagesha sudeep.karkadanage...@arm.com Since the CPU device nodes can be retrieved using arch_of_get_cpu_node, we can use it to avoid parsing the cpus node searching the cpu nodes and mapping to logical index. This patch removes parsing DT for cpu nodes by using

Re: [PATCH] mc13xxx-ts: use zero as default value if no pdata was defined

2013-08-20 Thread Michael Grzeschik
On Tue, Aug 20, 2013 at 03:34:33AM +0200, Samuel Ortiz wrote: Hi Michael, On Tue, Aug 13, 2013 at 02:14:30PM +0200, Michael Grzeschik wrote: In case of devicetree, we currently don't have a way to append pdata for the touchscreen. The current approach is to bail out in that case. This

[PATCH v4 06/19] driver/core: cpu: initialize of_node in cpu's device struture

2013-08-20 Thread Sudeep KarkadaNagesha
From: Sudeep KarkadaNagesha sudeep.karkadanage...@arm.com CPUs are also registered as devices but the of_node in these cpu devices are not initialized. Currently different drivers requiring to access cpu device node are parsing the nodes themselves and initialising the of_node in cpu device. The

Re: [RFC PATCH] drm/radeon: rework to new fence interface

2013-08-20 Thread Maarten Lankhorst
Op 20-08-13 10:37, Christian König schreef: Am 19.08.2013 21:37, schrieb Maarten Lankhorst: Op 19-08-13 14:35, Christian König schreef: Am 19.08.2013 12:17, schrieb Maarten Lankhorst: [SNIP] @@ -190,25 +225,24 @@ void radeon_fence_process(struct radeon_device *rdev, int ring) }

[PATCH v4 05/19] ARM: DT/kernel: define ARM specific arch_match_cpu_phys_id

2013-08-20 Thread Sudeep KarkadaNagesha
From: Sudeep KarkadaNagesha sudeep.karkadanage...@arm.com OF/DT core library now provides architecture specific hook to match the logical cpu index with the corresponding physical identifier. Most of the cpu DT node parsing and initialisation is contained in devtree.c. So it's better to define

[PATCH v4 04/19] of: move of_get_cpu_node implementation to DT core library

2013-08-20 Thread Sudeep KarkadaNagesha
From: Sudeep KarkadaNagesha sudeep.karkadanage...@arm.com This patch moves the generalized implementation of of_get_cpu_node from PowerPC to DT core library, thereby adding support for retrieving cpu node for a given logical cpu index on any architecture. The CPU subsystem can now use this

[PATCH v4 00/19] DT/core: update cpu device of_node

2013-08-20 Thread Sudeep KarkadaNagesha
From: Sudeep KarkadaNagesha sudeep.karkadanage...@arm.com As more and more information is getting added into the cpu node, the number of drivers needing to parse the device tree for CPU nodes are increasing. Most of the time, the information needed from the cpu node is preferred in the logical

[PATCH v4 07/19] of/device: add helper to get cpu device node from logical cpu index

2013-08-20 Thread Sudeep KarkadaNagesha
From: Sudeep KarkadaNagesha sudeep.karkadanage...@arm.com Multiple drivers need to get the cpu device node from the cpu logical index and then access the of_node. This patch adds helper function to fetch the device node directly. Acked-by: Rob Herring rob.herr...@calxeda.com Signed-off-by:

Re: [PATCH 1/2] extcon: extcon-dra7xx: Add extcon driver for USB ID detection

2013-08-20 Thread George Cherian
Hi Chanwoo, Thanks for your review. On 8/20/2013 5:54 AM, Chanwoo Choi wrote: Hi George, On 08/16/2013 07:13 PM, George Cherian wrote: Adding extcon driver for USB ID detection to dynamically configure USB Host/Peripheral mode. Signed-off-by: George Cherian george.cher...@ti.com ---

[PATCH] blackfin: Ignore generated uImages

2013-08-20 Thread Mark Brown
From: Mark Brown broo...@linaro.org We have the build infrastructure to generate uImages so we should ignore the resulting generated files. Signed-off-by: Mark Brown broo...@linaro.org --- arch/blackfin/boot/.gitignore | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH] xHCI:Fixing xhci_readl definition and function call

2013-08-20 Thread Kumar Gaurav
Fixing other programs in xhci driver which calls this function Signed-off-by: Kumar Gaurav kumargauravgup...@gmail.com --- drivers/usb/host/xhci-dbg.c | 36 +++ drivers/usb/host/xhci-hub.c | 72 +++--- drivers/usb/host/xhci-mem.c | 20 -

Re: [PATCH 0/3] refactor some ldb related clocks

2013-08-20 Thread Philipp Zabel
Am Dienstag, den 20.08.2013, 16:38 +0800 schrieb Liu Ying: The ldb_di[0/1]_ipu_div clock dividers in the CSCMR2 register of i.MX53, i.MX6Q and i.MX6DL SoCs can be configured to a 1/3.5 drivider or a 1/7 divider. The common clock framework cannot deal with the two dividers directly even with

Re: [PATCH tip/core/rcu 8/9] rcu: Simplify _rcu_barrier() processing

2013-08-20 Thread Lai Jiangshan
On 08/20/2013 10:42 AM, Paul E. McKenney wrote: From: Paul E. McKenney paul...@linux.vnet.ibm.com This commit drops an unneeded ACCESS_ONCE() and simplifies an our work is done check in _rcu_barrier(). This applies feedback from Linus (https://lkml.org/lkml/2013/7/26/777) that he gave to

Re: [PATCH] mc13xxx-ts: use zero as default value if no pdata was defined

2013-08-20 Thread Samuel Ortiz
Hi Michael, On Tue, Aug 20, 2013 at 11:34:32AM +0200, Michael Grzeschik wrote: On Tue, Aug 20, 2013 at 03:34:33AM +0200, Samuel Ortiz wrote: On Tue, Aug 13, 2013 at 02:14:30PM +0200, Michael Grzeschik wrote: In case of devicetree, we currently don't have a way to append pdata for the

Re: [RFC PATCH] drm/radeon: rework to new fence interface

2013-08-20 Thread Christian König
Am 20.08.2013 11:36, schrieb Maarten Lankhorst: [SNIP] [SNIP] +/** + * radeon_fence_enable_signaling - enable signalling on fence + * @fence: fence + * + * This function is called with fence_queue lock held, and adds a callback + * to fence_queue that checks if this fence is signaled, and if so

Re: [PATCH] mc13xxx-ts: use zero as default value if no pdata was defined

2013-08-20 Thread Michael Grzeschik
On Tue, Aug 20, 2013 at 11:50:48AM +0200, Samuel Ortiz wrote: Hi Michael, On Tue, Aug 20, 2013 at 11:34:32AM +0200, Michael Grzeschik wrote: On Tue, Aug 20, 2013 at 03:34:33AM +0200, Samuel Ortiz wrote: On Tue, Aug 13, 2013 at 02:14:30PM +0200, Michael Grzeschik wrote: In case of

Re: [PATCH tip/core/rcu 1/9] rcu: Expedite grace periods during suspend/resume

2013-08-20 Thread Lai Jiangshan
On 08/20/2013 10:42 AM, Paul E. McKenney wrote: From: Borislav Petkov b...@alien8.de CONFIG_RCU_FAST_NO_HZ can increase grace-period durations by up to a factor of four, which can result in long suspend and resume times. Thus, this commit temporarily switches to expedited grace periods when

[PATCH v4 1/3] usb: dwc3: msm: Add device tree binding information

2013-08-20 Thread Ivan T. Ivanov
From: Ivan T. Ivanov iiva...@mm-sol.com MSM USB3.0 core wrapper consist of USB3.0 IP from Synopsys (SNPS) and HS, SS PHY's control and configuration registers. It could operate in device mode (SS, HS, FS) and host mode (SS, HS, FS, LS). Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com ---

[PATCH v4 3/3] usb: dwc3: Add Qualcomm DWC3 glue layer driver

2013-08-20 Thread Ivan T. Ivanov
From: Ivan T. Ivanov iiva...@mm-sol.com DWC3 glue layer is hardware layer around Synopsys DesignWare USB3 core. Its purpose is to supply Synopsys IP with required clocks, voltages and interface it with the rest of the SoC. Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com ---

[PATCH v4 0/3] DWC3 USB support for Qualcomm platform

2013-08-20 Thread Ivan T. Ivanov
From: Ivan T. Ivanov iiva...@mm-sol.com Hi, Here is fourth version of MSM USB3 drivers patches. Changes since v3: * Remove _clk suffix from clock names * Clarify required child node for qcom,dwc3 * Fix comments in functions headers * Use dbg instead err in drivers probe functions. Changes

Re: [REGRESSION] 3.10.{6,7} crashes on network activity

2013-08-20 Thread Arend van Spriel
On 08/20/2013 10:36 AM, Tom Gundersen wrote: On Tue, Aug 20, 2013 at 4:15 PM, Arend van Spriel ar...@broadcom.com wrote: On 08/20/2013 06:56 AM, Felix Fietkau wrote: On 2013-08-20 2:28 AM, Greg Kroah-Hartman wrote: On Tue, Aug 20, 2013 at 08:26:11AM +0800, Tom Gundersen wrote: On Tue, Aug

[PATCH v4 2/3] usb: phy: Add Qualcomm SS-USB and HS-USB drivers for DWC3 core

2013-08-20 Thread Ivan T. Ivanov
From: Ivan T. Ivanov iiva...@mm-sol.com These drivers handles control and configuration of the HS and SS USB PHY transceivers. They are part of the driver which manage Synopsys DesignWare USB3 controller stack inside Qualcomm SoC's. Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com ---

Re: [PATCH tip/core/rcu 1/5] rcu: Add duplicate-callback tests to rcutorture

2013-08-20 Thread Lai Jiangshan
On 08/20/2013 10:51 AM, Paul E. McKenney wrote: From: Paul E. McKenney paul...@linux.vnet.ibm.com This commit adds a object_debug option to rcutorture to allow the debug-object-based checks for duplicate call_rcu() invocations to be deterministically tested. Signed-off-by: Paul E.

[PATCH] of: reduce the number of PROBE_DEFERs

2013-08-20 Thread Jean-Francois Moine
This patch populates the platform from the device tree into two steps: the first step creates the nodes that are referenced by a phandle, the second step creates the other nodes. This permits to reduce the number of PROBE_DEFERs. Signed-off-by: Jean-Francois Moine moin...@free.fr --- A better

About perf,arm -- oops in validate_event

2013-08-20 Thread P J P
Hello, - https://lkml.org/lkml/2013/8/7/259 I wanted to confirm if this above fix should also go into ARM64 build Or is ARM64 platform not vulnerable? === $ git diff diff --git a/arch/arm64/kernel/perf_event.c b/arch/arm64/kernel/perf_event.c index 9ba33c4..cbed82f 100644 ---

Re: [PATCH 0/3] refactor some ldb related clocks

2013-08-20 Thread Liu Ying
On 08/20/2013 05:43 PM, Philipp Zabel wrote: Am Dienstag, den 20.08.2013, 16:38 +0800 schrieb Liu Ying: The ldb_di[0/1]_ipu_div clock dividers in the CSCMR2 register of i.MX53, i.MX6Q and i.MX6DL SoCs can be configured to a 1/3.5 drivider or a 1/7 divider. The common clock framework cannot

Re: [PATCH] of: reduce the number of PROBE_DEFERs

2013-08-20 Thread Grant Likely
On Tue, Aug 20, 2013 at 11:01 AM, Jean-Francois Moine moin...@free.fr wrote: This patch populates the platform from the device tree into two steps: the first step creates the nodes that are referenced by a phandle, the second step creates the other nodes. This permits to reduce the number of

Re: [PATCH] [BUGFIX] crash/ioapic: Prevent crash_kexec() from deadlocking of ioapic_lock

2013-08-20 Thread Eric W. Biederman
Yoshihiro YUNOMAE yoshihiro.yunomae...@hitachi.com writes: Hi Ingo, Thank you for fixing typos! OK, I'll fix them and rename to ioapic_zap_locks(). Thank you again! The better fix for this would be to remove the disable_IO_APIC call from crash_kexec. I know last time it was investigated

Re: [PATCH] writeback: fix NULL dereference when device is gone

2013-08-20 Thread Peter Wu
On Monday 19 August 2013 19:02:40 Tejun Heo wrote: On Tue, Aug 20, 2013 at 12:45:53AM +0200, Peter Wu wrote: diff --git a/fs/fs-writeback.c b/fs/fs-writeback.c index 68851ff..6e38a8b 100644 --- a/fs/fs-writeback.c +++ b/fs/fs-writeback.c @@ -1007,7 +1007,8 @@ void

Re: [RFC 06/17] ARM: imx: remove custom .init_time hook

2013-08-20 Thread Russell King - ARM Linux
On Tue, Aug 20, 2013 at 11:20:06AM +0200, Sebastian Hesselbarth wrote: Yeah, I am having troubles with linux-arm-kernel rejecting my mails because of a suspicious header. I have no clue, what has changed lately with my mails sent by git send-email to make them get stuck. I believe David feels

Re: [PATCH v3 00/19] ARM: at91: move to common clk framework

2013-08-20 Thread boris brezillon
Hello Mike, Could you take a look at this patch series ? I'd like to have your opinion on some key points: - at91 clk dt bindings - in some clk_prepare (pll clks, main clk) callbacks I make use of wait_event to wait for an interrupt. Should I do it this way or instead use the cpu_relax

Re: Kernel summit 2013: Call for Hobbyists

2013-08-20 Thread Rob Landley
On 08/18/2013 03:26:03 AM, Geert Uytterhoeven wrote: On Fri, Aug 16, 2013 at 11:02 PM, Francois Romieu rom...@fr.zoreil.com wrote: As a hobbyist, I have less time than most pro and must cope with whatever brain juice remains after the paid work. It doesn't make me Indeed. And the dosing of

Re: [PATCH tip/core/rcu 0/3] Documentation updates for 3.12

2013-08-20 Thread Rob Landley
On 08/17/2013 08:25:22 PM, Paul E. McKenney wrote: Hello! This series provides a few documentation updates: 1. Update rcu_barrier() documentation to note that it no longer is guaranteed to wait for a full grace period. This guarantee was a victim of energy efficiency. 2.

Re: [REGRESSION] 3.10.{6,7} crashes on network activity

2013-08-20 Thread Georgios Magklaras
I verify the same issue on a Latitude E6520 running both the vanilla/clean and the Fedora 19 specific kernels. I thought it was the NVIDIA/nouveau driver and I reproduce by switching to non graphical mode and performing scp transfers. GM On Tue, 2013-08-20 at 11:58 +0200, Arend van Spriel

Re: [PATCH] HID: i2c-hid: use correct type for ACPI _DSM parameter

2013-08-20 Thread Jiri Kosina
On Mon, 19 Aug 2013, Benjamin Tissoires wrote: ACPI 5.0 specification requires the fourth parameter to the _DSM (Device Specific Method) to be of type package instead of integer. Failing to do that we get following warning on the console: ACPI Warning: \_SB_.PCI0.I2C1.TPL0._DSM:

Re: [PATCH 1/2] extcon: extcon-dra7xx: Add extcon driver for USB ID detection

2013-08-20 Thread Chanwoo Choi
Hi George, diff --git a/Documentation/devicetree/bindings/extcon/extcon-dra7xx.txt b/Documentation/devicetree/bindings/extcon/extcon-dra7xx.txt new file mode 100644 index 000..37e4c22 --- /dev/null +++ b/Documentation/devicetree/bindings/extcon/extcon-dra7xx.txt @@ -0,0 +1,19 @@

Re: [PATCH v2 1/2] input: document gamepad API and add extra keycodes

2013-08-20 Thread Jiri Kosina
On Fri, 16 Aug 2013, David Herrmann wrote: Hm, I just noticed that this got merged without the Documentation/input/gamepad.txt description. Was this intentional? https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=d09bbfd2a8408a995419dff0d2ba906013cf4cc9 My git-fu

Re: [RFC 06/17] ARM: imx: remove custom .init_time hook

2013-08-20 Thread Sebastian Hesselbarth
On 08/20/13 12:20, Russell King - ARM Linux wrote: On Tue, Aug 20, 2013 at 11:20:06AM +0200, Sebastian Hesselbarth wrote: Yeah, I am having troubles with linux-arm-kernel rejecting my mails because of a suspicious header. I have no clue, what has changed lately with my mails sent by git

Re: [PATCH v2 1/2] input: document gamepad API and add extra keycodes

2013-08-20 Thread David Herrmann
Hi On Tue, Aug 20, 2013 at 12:32 PM, Jiri Kosina jkos...@suse.cz wrote: On Fri, 16 Aug 2013, David Herrmann wrote: Hm, I just noticed that this got merged without the Documentation/input/gamepad.txt description. Was this intentional?

Re: About perf,arm -- oops in validate_event

2013-08-20 Thread Catalin Marinas
On 20 August 2013 11:03, P J P ppan...@redhat.com wrote: - https://lkml.org/lkml/2013/8/7/259 I wanted to confirm if this above fix should also go into ARM64 build Or is ARM64 platform not vulnerable? It is and I'll push patches to mainline (Will is preparing them). Catalin -- To

[PATCH-SR9700] Merge USB 1.1 Ethernet Adapter SR9700 Device Driver into the Linux Kernel

2013-08-20 Thread liujunliang_ljl
Dear all : I am the software engineer Liu Junliang from ShenZhen CoreChips high technology company, on the market of SR9700 chip is designed and owned by us. SR9700 is a type of USB to Ethernet Converter and is compatible with USB 1.1 protocol, We want to merge SR9700

Re: [PATCH] drivers/spi/spi-tegra114.c clean use of devm_ioremap_resource()

2013-08-20 Thread Mark Brown
On Tue, May 14, 2013 at 12:07:12PM +0200, Laurent Navet wrote: Check of 'r' and calls to dev_err are already done in devm_ioremap_resource, so no need to do them twice. Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH] pinctrl: palmas: Fix device name in Kconfig text

2013-08-20 Thread Laxman Dewangan
On Monday 19 August 2013 08:37 PM, Mark Brown wrote: From: Mark Brown broo...@linaro.org The device family is called Palmas so there should be a 's' on the end of the name. Signed-off-by: Mark Brown broo...@linaro.org --- Acked-by: Laxman Dewangan ldewan...@nvidia.com Thanks, Laxman -- To

[PATCH] f2fs: fix wrong BUG_ON condition

2013-08-20 Thread Jaegeuk Kim
This patch removes a false-alaramed BUG_ON. The previous BUG_ON condition didn't cover the following true scenario. In f2fs_add_link, 1) get_new_data_page gives an uptodate page successfully, and then, 2) init_inode_metadata returns -ENOSPC. At this moment, a new clean data page is remained in

Re: [PATCH] trivial: fix a typo in Documentation/00-INDEX

2013-08-20 Thread Jiri Kosina
On Mon, 19 Aug 2013, Murilo Opsfelder Araujo wrote: --- Documentation/00-INDEX | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/00-INDEX b/Documentation/00-INDEX index 0c4cc68..38f8444 100644 --- a/Documentation/00-INDEX +++ b/Documentation/00-INDEX @@

Re: [RFC 06/17] ARM: imx: remove custom .init_time hook

2013-08-20 Thread Sebastian Hesselbarth
On 08/20/13 12:42, Russell King - ARM Linux wrote: On Tue, Aug 20, 2013 at 12:37:18PM +0200, Sebastian Hesselbarth wrote: I already guessed it has something to do with the In-reply-to line, as only the patches but not the cover letter gets stuck. Thanks for pointing me at the missing PATCH

Re: [RFC 06/17] ARM: imx: remove custom .init_time hook

2013-08-20 Thread Russell King - ARM Linux
On Tue, Aug 20, 2013 at 12:37:18PM +0200, Sebastian Hesselbarth wrote: I already guessed it has something to do with the In-reply-to line, as only the patches but not the cover letter gets stuck. Thanks for pointing me at the missing PATCH prefix and sorry for the noise on the moderators

[PATCH-SR9700] Merge USB 1.1 Ethernet Adapter SR9700 Device Driver into the Linux Kernel

2013-08-20 Thread liujunliang_ljl
Dear Gregkh all : I am the software engineer Liu Junliang from ShenZhen CoreChips high technology company, on the market of SR9700 chip is designed and owned by us. SR9700 is a type of USB to Ethernet Converter and is compatible with USB 1.1 protocol, We want to merge

Re: [PULL] Miscellaneous trivialities

2013-08-20 Thread Jiri Kosina
On Mon, 19 Aug 2013, Michael Witten wrote: I've updated the series to make that change instead; the updated series is here: https://github.com/mfwitten/linux.git trivial/misc/2 Sorry for the churn. Please send a proper new pull request, or just bounce the series through e-mail.

Re: [PATCH 1/6] ASoC: omap: simplify platform_get_resource_byname/devm_ioremap_resource

2013-08-20 Thread Mark Brown
On Mon, Aug 19, 2013 at 10:51:51AM +0200, Julia Lawall wrote: From: Julia Lawall julia.law...@lip6.fr Remove unneeded error handling on the result of a call to platform_get_resource_byname when the value is passed to devm_ioremap_resource. Applied, thanks. signature.asc Description:

Re: linux-next: manual merge of the xilinx tree

2013-08-20 Thread Michal Simek
Hi Stephen, On 07/03/2013 08:02 AM, Stephen Rothwell wrote: Hi Michal, On Wed, 03 Jul 2013 07:53:32 +0200 Michal Simek mon...@monstr.eu wrote: I have fixed it - it should be fixed there soon. Thanks. But I am thinking about removing this tree from linux-next because we are pushing

[PATCH 1/2] Documentation/printk-formats.txt: No casts needed for u64/s64

2013-08-20 Thread Geert Uytterhoeven
Now all 64-bit architectures have been converted to int-ll64.h in kernel space, casting to (unsigned) long long is no longer needed when formatting u64/s64. For backwards compatibility, alpha, ia64, mips64, and powerpc64 still use int-l64.h in userspace. Signed-off-by: Geert Uytterhoeven

[PATCH 2/2] asm/types.h: Remove include/asm-generic/int-l64.h

2013-08-20 Thread Geert Uytterhoeven
Now all 64-bit architectures have been converted to int-ll64.h, we can remove int-l64.h in kernelspace. For backwards compatibility, alpha, ia64, mips64, and powerpc64 still use int-l64.h in userspace. Signed-off-by: Geert Uytterhoeven ge...@linux-m68k.org --- This is the (reworked for UAPI)

Re: [PATCH] ACPI / PM: Hold acpi_scan_lock over system PM transitions

2013-08-20 Thread Mika Westerberg
On Tue, Aug 20, 2013 at 01:47:57AM +0200, Rafael J. Wysocki wrote: From: Rafael J. Wysocki rafael.j.wyso...@intel.com Bad things happen if ACPI hotplug events are handled during system PM transitions, especially if devices are removed as a result. To prevent those bad things from happening,

Re: [PATCH 2/5] page_migrate: Fix wrong comment in address_space_operations-migratepage()

2013-08-20 Thread Jiri Kosina
On Thu, 20 Jun 2013, Tang Chen wrote: There is no parameter sync in address_space_operations-migratepage(). It should be mograte_mode. And the comment is for MIGRATE_ASYNC. I am fixing this typo in changelog :) and applying the series. Signed-off-by: Tang Chen tangc...@cn.fujitsu.com ---

Re: [PATCH 2/5] page_migrate: Fix wrong comment in address_space_operations-migratepage()

2013-08-20 Thread Tang Chen
On 08/20/2013 07:02 PM, Jiri Kosina wrote: On Thu, 20 Jun 2013, Tang Chen wrote: There is no parameter sync in address_space_operations-migratepage(). It should be mograte_mode. And the comment is for MIGRATE_ASYNC. I am fixing this typo in changelog :) and applying the series. Hi Jiri,

Re: [PATCH]amilo-rfkill: add depends on i8042 in Kconfig

2013-08-20 Thread Jiri Kosina
On Fri, 12 Jul 2013, Xiong Zhou wrote: Fix randconfig build failure for Amilo x86 platform driver. AMILO_RFKILL requires SERIO_I8042 being available. amilo-rfkill.c:(.text+0x108b5b): undefined reference to `i8042_lock_chip' amilo-rfkill.c:(.text+0x108b69): undefined reference to

[PATCH 2/4] mfd: as3722: introduce core driver file

2013-08-20 Thread Florian Lobmaier
Signed-off-by: Florian Lobmaier florian.lobma...@ams.com --- drivers/mfd/as3722-core.c | 747 + 1 files changed, 747 insertions(+), 0 deletions(-) create mode 100644 drivers/mfd/as3722-core.c diff --git a/drivers/mfd/as3722-core.c

mfd: as3722: introducing ams AS3722 PMIC driver

2013-08-20 Thread Florian Lobmaier
Thank you for the response regarding the correct formatting of the patches. I will try to fulfill the requirements as expected. Now tried to introduce the as3722 mfd driver in logical steps. Please keep in mind that the driver is already fully written, so the bit-by-bit introduction within the

[PATCH 4/4] mfd: as3722: introduce regmap support

2013-08-20 Thread Florian Lobmaier
Signed-off-by: Florian Lobmaier florian.lobma...@ams.com --- drivers/mfd/as3722-regmap.c | 417 +++ 1 files changed, 417 insertions(+), 0 deletions(-) create mode 100644 drivers/mfd/as3722-regmap.c diff --git a/drivers/mfd/as3722-regmap.c

[PATCH 1/4] mfd: as3722: driver introduction in Kconfig and Makefile

2013-08-20 Thread Florian Lobmaier
Signed-off-by: Florian Lobmaier florian.lobma...@ams.com --- drivers/mfd/Kconfig | 15 +++ drivers/mfd/Makefile |1 + 2 files changed, 16 insertions(+), 0 deletions(-) diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index aecd6dd..a02777c 100644 ---

[PATCH 3/4] mfd: as3722: introduce platform and register include files

2013-08-20 Thread Florian Lobmaier
Signed-off-by: Florian Lobmaier florian.lobma...@ams.com --- include/linux/mfd/as3722-plat.h | 238 +++ include/linux/mfd/as3722-reg.h | 495 +++ 2 files changed, 733 insertions(+), 0 deletions(-) create mode 100644

[sched next] overflowed cpu time for kernel threads in /proc/PID/stat

2013-08-20 Thread Sergey Senozhatsky
Hello, 3.11.0-rc6-next-20130820 at some point an overflowed cpu time is reported in /proc/PID/stat cat /proc/10/stat 10 (rcu_preempt) S 2 0 0 0 -1 2129984 0 0 0 0 0 406 0 0 20 0 1 0 10 0 0 18446744073709551615 0 0 0 0 0 0 0 2147483647 0 18446744073709551615 0 0 17 0 0 0 0 0 0 0 0 0 0 0 0 0 0

[PATCH 11/12] Btrfs: Do not truncate sector_t on 32-bit with CONFIG_LBDAF=y

2013-08-20 Thread Geert Uytterhoeven
sector_t may be either u64 (always 64 bit) or unsigned long (32 or 64 bit). Casting it to unsigned long will truncate it on 32-bit platforms where CONFIG_LBDAF=y. Cast to unsigned long long and format using ll instead. Signed-off-by: Geert Uytterhoeven ge...@linux-m68k.org ---

[PATCH 05/12] Btrfs: Make btrfs_device_uuid() return unsigned long

2013-08-20 Thread Geert Uytterhoeven
All callers of btrfs_device_uuid() cast its return type to unsigned long. Signed-off-by: Geert Uytterhoeven ge...@linux-m68k.org --- fs/btrfs/ctree.h |4 ++-- fs/btrfs/volumes.c | 10 -- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/fs/btrfs/ctree.h

[PATCH 09/12] Btrfs: Make btrfs_header_chunk_tree_uuid() return unsigned long

2013-08-20 Thread Geert Uytterhoeven
Internally, btrfs_header_chunk_tree_uuid() calculates an unsigned long, but casts it to a pointer, while all callers cast it to unsigned long again. Signed-off-by: Geert Uytterhoeven ge...@linux-m68k.org --- fs/btrfs/ctree.c |7 +++ fs/btrfs/ctree.h |5 ++--- fs/btrfs/disk-io.c |

[PATCH 08/12] Btrfs: Make btrfs_header_fsid() return unsigned long

2013-08-20 Thread Geert Uytterhoeven
Internally, btrfs_header_fsid() calculates an unsigned long, but casts it to a pointer, while all callers cast it to unsigned long again. Signed-off-by: Geert Uytterhoeven ge...@linux-m68k.org --- fs/btrfs/ctree.c | 15 +-- fs/btrfs/ctree.h |5 ++--- fs/btrfs/disk-io.c |

[PATCH 00/12] Btrfs: cast cleanups

2013-08-20 Thread Geert Uytterhoeven
Hi Chris, This is a collection of cast cleanups I created after burning my eyes by the btrfs code. - [01/12] Btrfs: Remove superfluous casts from u64 to unsigned long long - [02/12] Btrfs: Make BTRFS_DEV_REPLACE_DEVID an unsigned long long constant - [03/12] Btrfs: Format PAGE_SIZE

[PATCH 02/12] Btrfs: Make BTRFS_DEV_REPLACE_DEVID an unsigned long long constant

2013-08-20 Thread Geert Uytterhoeven
The internal btrfs device id is a u64, hence make the constant BTRFS_DEV_REPLACE_DEVID unsigned long long as well, so we no longer need a cast to print it. Signed-off-by: Geert Uytterhoeven ge...@linux-m68k.org --- fs/btrfs/ctree.h |2 +- fs/btrfs/dev-replace.c |2 +- 2 files

[PATCH 12/12] Btrfs: Use %z to format size_t

2013-08-20 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven ge...@linux-m68k.org --- fs/btrfs/check-integrity.c |6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/fs/btrfs/check-integrity.c b/fs/btrfs/check-integrity.c index 01f9cc3..3754aa6 100644 --- a/fs/btrfs/check-integrity.c +++

[PATCH 10/12] Btrfs: PAGE_CACHE_SIZE is already unsigned long

2013-08-20 Thread Geert Uytterhoeven
PAGE_CACHE_SIZE == PAGE_SIZE is unsigned long everywhere, so there's no need to cast it to unsigned long. Signed-off-by: Geert Uytterhoeven ge...@linux-m68k.org --- fs/btrfs/check-integrity.c |9 - fs/btrfs/extent_io.c | 18 +- 2 files changed, 13

<    5   6   7   8   9   10   11   12   13   14   >