Re: [PATCH] powerpc: Fix alignment of secondary cpu spin vars

2014-01-03 Thread Olof Johansson
On Thu, Jan 02, 2014 at 11:56:04PM -0800, Olof Johansson wrote: This makes things interesting though. The BE/LE trampoline code assumes at least 3 consecutive instructions. What was the reasoning behind entering the kernel LE instead of keeping the old boot protocol and just switching to LE

[PATCH] ASoC: pcm: Fix lack of platform bespoke_trigger() call

2014-01-03 Thread Jean-Francois Moine
When the platform driver has no ops, the platform function bespoke_trigger() is no more called. The problem was introduced by the commit c5914b0aaea6494aaa9e415cbd32f8b7eb604af0 ASoC: pcm: Check for ops before deferencing them Signed-off-by: Jean-Francois Moine moin...@free.fr ---

Re: [PATCH 4/8] perf tools: Introduce struct perf_log

2014-01-03 Thread Namhyung Kim
Hi Arnaldo, On Thu, 26 Dec 2013 11:50:51 -0300, Arnaldo Carvalho de Melo wrote: Em Thu, Dec 26, 2013 at 02:38:00PM +0900, Namhyung Kim escreveu: From: Namhyung Kim namhyung@lge.com Add new functions to save error messages in a temp file. It'll be used by some UI front-ends to see the

[BUG] Kernel OOPS when reboot if I set reboot=efi,{warm, cold} (and some questions :-)

2014-01-03 Thread Madper Xie
Howdy Folks, Happy new yeah, happy new bug! With a uefi system, I meet following panic when reboot after I adding `reboot=efi,warm` [call trace]: 0[ 698.736637] reboot: Restarting system 5[ 698.737407] reboot: machine restart 1[ 698.738399] BUG: unable to handle kernel paging request at

Re: Memory allocator semantics

2014-01-03 Thread Josh Triplett
On Thu, Jan 02, 2014 at 11:57:27PM -0800, Paul E. McKenney wrote: On Thu, Jan 02, 2014 at 09:47:00PM -0800, Josh Triplett wrote: On Thu, Jan 02, 2014 at 09:14:17PM -0800, Paul E. McKenney wrote: On Thu, Jan 02, 2014 at 07:39:07PM -0800, Josh Triplett wrote: On Thu, Jan 02, 2014 at

Re: [PATCH 4/8] perf tools: Introduce struct perf_log

2014-01-03 Thread Namhyung Kim
Hi David, On Thu, 26 Dec 2013 09:51:25 -0500, David Ahern wrote: On 12/26/13, 12:38 AM, Namhyung Kim wrote: diff --git a/tools/perf/util/log.c b/tools/perf/util/log.c new file mode 100644 index ..3838d49f82de --- /dev/null +++ b/tools/perf/util/log.c @@ -0,0 +1,105 @@

Re: [PATCH 6/25] fix error return code

2014-01-03 Thread Jiri Kosina
On Sun, 29 Dec 2013, Julia Lawall wrote: From: Julia Lawall julia.law...@lip6.fr Set the return variable to an error code as done elsewhere in the function. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // smpl ( if@p1

[GIT] pktcdvd

2014-01-03 Thread Jiri Kosina
Jens, please pull git://git.kernel.org/pub/scm/linux/kernel/git/jikos/linux-block.git for-jens into your 'for-3.14/drivers' branch to receive: - fix for return value propagation in pktcdvd, from Julia Lawall Thanks. Julia Lawall (1): pktcdvd: fix error return code

RE: [PATCHv8 RFC] pwm: Add Freescale FTM PWM driver support

2014-01-03 Thread li.xi...@freescale.com
Hi Dmitry, Subject: Re: [PATCHv8 RFC] pwm: Add Freescale FTM PWM driver support Hi Xiubo, On Fri, Jan 03, 2014 at 01:24:21PM +0800, Xiubo Li wrote: + +static inline int fsl_pwm_calculate_default_ps(struct fsl_pwm_chip *fpc, + enum fsl_pwm_clk

RE: [PATCHv8 1/4] pwm: Add Freescale FTM PWM driver support

2014-01-03 Thread li.xi...@freescale.com
Hi Arnd, Subject: Re: [PATCHv8 1/4] pwm: Add Freescale FTM PWM driver support On Thursday 02 January 2014 17:57:01 Xiubo Li wrote: +static inline u32 ftm_readl(bool big_endian, const void __iomem *addr) +{ + u32 val; + + val = __raw_readl(addr); + + if

[PATCH v4] cpufreq: Fix timer/workqueue corruption by protecting reading governor_enabled

2014-01-03 Thread jiel
From: Jane Li j...@marvell.com When a CPU is hot removed we'll cancel all the delayed work items via gov_cancel_work(). Sometimes the delayed work function determines that it should adjust the delay for all other CPUs that the policy is managing. If this scenario occurs, the canceling CPU will

Re: [PATCH v3] cpufreq: Fix timer/workqueue corruption by protecting reading governor_enabled

2014-01-03 Thread Jane Li
On 01/03/2014 02:50 PM, Viresh Kumar wrote: On 3 January 2014 12:14, j...@marvell.com wrote: diff --git a/include/linux/cpufreq.h b/include/linux/cpufreq.h index dc196bb..15c62df 100644 --- a/include/linux/cpufreq.h +++ b/include/linux/cpufreq.h @@ -389,6 +389,7 @@ int

Re: [PATCH 1/2] cpufreq: try to resume policies which failed on last resume

2014-01-03 Thread Bjørn Mork
Rafael J. Wysocki r...@rjwysocki.net writes: OK, thanks! Well, this is somewhat worrisome. Could you also check the linux-pm.git/fixes branch that contains all patches I'm planning to push for 3.13-rc7 shortly? It's definitely still there. But I'm less sure about the exact trigger. I have

Re: [PATCH net-next v2 6/6] r8152: support RTL8153

2014-01-03 Thread Bjørn Mork
hayeswang hayesw...@realtek.com writes: Bjørn Mork [mailto:bj...@mork.no] Sent: Thursday, January 02, 2014 10:25 PM To: Hayeswang Cc: oli...@neukum.org; net...@vger.kernel.org; nic_swsd; linux-kernel@vger.kernel.org; linux-...@vger.kernel.org Subject: Re: [PATCH net-next v2 6/6] r8152:

[GIT PULL] battery-2.6.git

2014-01-03 Thread Anton Vorontsov
Hello Linus, Please pull battery-2.6 git tree to receive two fixes prepared for the v3.13 release: - Fix build error caused by max17042_battery conversion to the regmap API. - Fix kernel oops when booting with wakeup_source_activate enabled. Thank you! Anton The following changes since

Re: [PATCH] Add LED pattern trigger

2014-01-03 Thread Richard Weinberger
On Fri, Jan 3, 2014 at 1:14 AM, Bryan Wu coolo...@gmail.com wrote: IMHO, firstly we should take this trigger into kernel, most time it works as a module. But we need to define a good interface between kernel and user space. Put it in first place into the kernel such that it becomes ABI and

Re: [RFC PATCH 3/3] dt-bindings: pci: xgene pcie device tree bindings

2014-01-03 Thread Arnd Bergmann
On Monday 23 December 2013, Tanmay Inamdar wrote: This patch adds the bindings for X-Gene PCIe driver. The driver resides under 'drivers/pci/host/pcie-xgene.c' file. Signed-off-by: Tanmay Inamdar tinam...@apm.com --- .../devicetree/bindings/pci/xgene-pcie.txt | 43

Re: [PATCH 1/6] Basic Device Tree support for the at91sam9261

2014-01-03 Thread Jean-Jacques Hiblot
2014/1/3 boris brezillon b.brezil...@overkiz.com: Hello JJ, On 31/12/2013 17:32, jjhib...@traphandler.com wrote: From: jean-jacques hiblot jean-jacques.hib...@jdsu.com This patch implements the basics to boot a at91sam9261ek with a dt-enabled kernel (at91_dt_defconfig). Only dbgu, nand

Re: [patch 3/3] HID: multitouch: add support of other generic collections in hid-mt

2014-01-03 Thread Jiri Kosina
On Sat, 21 Dec 2013, Henrik Rydberg wrote: The ANTEC Touch Pad is a device which can switch from a multitouch touchpad to a mouse. It thus presents several generic collections which are currently ignored by hid-multitouch. Enable them by using the generic protocol. Adding also a suffix

[PATCH Resend] regulator: s5m8767: Update LDO index in s5m8767-regulator.txt

2014-01-03 Thread Sachin Kamat
LDO indices start from 1. Update the example accordingly. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- .../bindings/regulator/s5m8767-regulator.txt |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH v4] cpufreq: Fix timer/workqueue corruption by protecting reading governor_enabled

2014-01-03 Thread Viresh Kumar
On 3 January 2014 14:47, j...@marvell.com wrote: From: Jane Li j...@marvell.com When a CPU is hot removed we'll cancel all the delayed work items via gov_cancel_work(). Sometimes the delayed work function determines that it should adjust the delay for all other CPUs that the policy is

Re: [PATCH v12 06/18] xen/pvh: MMU changes for PVH (v2)

2014-01-03 Thread David Vrabel
On 03/01/14 01:36, Mukesh Rathor wrote: On Thu, 2 Jan 2014 11:24:50 + David Vrabel david.vra...@citrix.com wrote: On 01/01/14 04:35, Konrad Rzeszutek Wilk wrote: From: Mukesh Rathor mukesh.rat...@oracle.com .. which are surprinsingly small compared to the amount for PV code. PVH uses

Re: [PATCH 1/2] cpufreq: try to resume policies which failed on last resume

2014-01-03 Thread Bjørn Mork
Bjørn Mork bj...@mork.no writes: Rafael J. Wysocki r...@rjwysocki.net writes: OK, thanks! Well, this is somewhat worrisome. Could you also check the linux-pm.git/fixes branch that contains all patches I'm planning to push for 3.13-rc7 shortly? It's definitely still there. But I'm less

[PATCH] cpufreq: arm-big-little: Make driver dependent on CONFIG_BIG_LITTLE

2014-01-03 Thread Viresh Kumar
arm_big_little cpufreq driver is only used for ARM bigLITTLE platforms and hence must be dependent on CONFIG_BIG_LITTLE. This was highlighted by Russell earlier when he reported this issue: drivers/built-in.o: In function `bL_cpufreq_set_rate': powercap_sys.c:(.text+0x5ed9a0): undefined

Re: [PATCH 3/6] At91: dt: Added smc bus driver

2014-01-03 Thread boris brezillon
On 03/01/2014 10:42, Jean-Jacques Hiblot wrote: 2014/1/3 boris brezillon b.brezil...@overkiz.com: On 31/12/2013 17:32, jjhib...@traphandler.com wrote: From: jean-jacques hiblot jean-jacques.hib...@jdsu.com The EBI/SMC external interface is used to access external peripherals (NAND and

Re: [RFC PATCH net-next 3/4] veth: backup classid befor switch net_ns

2014-01-03 Thread Sergei Shtylyov
Hello. On 03-01-2014 7:11, Libo Chen wrote: dev_forward_skb will clear skb-sk, so we need save classid before that, otherwise the skb can not be under control by net_cls. Signed-off-by: Libo Chen clbchenlibo.c...@huawei.com --- drivers/net/veth.c | 7 +++ 1 file changed, 7

Re: [PATCH] Tracing events with GPIOs

2014-01-03 Thread Alexandre Courbot
On Fri, Dec 20, 2013 at 5:40 PM, Jean-Jacques Hiblot jjhib...@traphandler.com wrote: 2013/12/20 Alexandre Courbot gnu...@gmail.com: On Thu, Dec 19, 2013 at 8:38 PM, Jean-Jacques Hiblot jjhib...@traphandler.com wrote: 2013/12/19 Alexandre Courbot gnu...@gmail.com: The problems I can see so

Re: [PATCH 3/6] At91: dt: Added smc bus driver

2014-01-03 Thread Jean-Jacques Hiblot
2014/1/3 boris brezillon b.brezil...@overkiz.com: On 31/12/2013 17:32, jjhib...@traphandler.com wrote: From: jean-jacques hiblot jean-jacques.hib...@jdsu.com The EBI/SMC external interface is used to access external peripherals (NAND and Ethernet controller in the case of sam9261ek).

Re: [PATCH] drivers: Remove unused devm_*_put functions

2014-01-03 Thread Alexandre Courbot
On Thu, Jan 2, 2014 at 10:07 PM, Linus Walleij linus.wall...@linaro.org wrote: On Sat, Dec 21, 2013 at 11:49 AM, Rashika Kheria rashika.khe...@gmail.com wrote: -/** - * devm_gpiod_put - Resource-managed gpiod_put() - * @desc: GPIO descriptor to dispose of - * - * Dispose of a GPIO

RE: [PATCH v2 1/3] power_supply: Add power_supply notifier

2014-01-03 Thread Tc, Jenny
Anton, I don't see this patch in Linux tree. Any update on this would be helpful Thanks Jenny -Original Message- From: Anton Vorontsov [mailto:an...@scarybugs.org] On Behalf Of Anton Vorontsov Sent: Monday, December 02, 2013 3:54 AM To: Pali Rohár Cc: David Woodhouse; Tony

Re: [PATCH 1/2] cpufreq: try to resume policies which failed on last resume

2014-01-03 Thread Viresh Kumar
On 3 January 2014 15:23, Bjørn Mork bj...@mork.no wrote: Note that ondemand and 1401000 are the default vaules, so I don't actually change anything here. The write is causing the problem, not the value. As expected, I guess. Also note that boot vs non-boot cpu doesn't seem to matter. Nor

Re: [PATCH v2 4/6] ARM: tegra: rework fuse.c

2014-01-03 Thread Alexandre Courbot
On Tue, Dec 24, 2013 at 10:32 PM, Peter De Schrijver pdeschrij...@nvidia.com wrote: Reduce fuse.c to the minimum functionality required for the early bootstages. Also export tegra_read_straps() for use by the fuse driver. Signed-off-by: Peter De Schrijver pdeschrij...@nvidia.com Fine with

Re: [PATCH v12 03/18] xen/pvh: Early bootup changes in PV code (v2).

2014-01-03 Thread David Vrabel
On 02/01/14 18:32, Konrad Rzeszutek Wilk wrote: On Thu, Jan 02, 2014 at 03:32:33PM +, David Vrabel wrote: On 01/01/14 04:35, Konrad Rzeszutek Wilk wrote: From: Mukesh Rathor mukesh.rat...@oracle.com In the bootup code for PVH we can trap cpuid via vmexit, so don't need to use emulated

Re: [PATCH v12 08/18] xen/pvh: Load GDT/GS in early PV bootup code for BSP.

2014-01-03 Thread David Vrabel
On 02/01/14 18:24, Konrad Rzeszutek Wilk wrote: + loadsegment(es, 0); + loadsegment(ds, 0); + loadsegment(fs, 0); +#else + /* PVH: TODO Implement. */ + BUG(); +#endif + return;== + }

[PATCH] block: blk-mq: fix initializing request's start time

2014-01-03 Thread Ming Lei
blk_rq_init() is called in req's complete handler to initialize the request, so the members of start_time and start_time_ns might become inaccurate when it is allocated in future. The patch initializes the two members in blk_mq_rq_ctx_init() to fix the problem. Cc: Jens Axboe ax...@kernel.dk

Re: [PATCH v12 03/18] xen/pvh: Early bootup changes in PV code (v2).

2014-01-03 Thread David Vrabel
On 03/01/14 01:34, Mukesh Rathor wrote: On Thu, 2 Jan 2014 13:32:21 -0500 Konrad Rzeszutek Wilk konrad.w...@oracle.com wrote: On Thu, Jan 02, 2014 at 03:32:33PM +, David Vrabel wrote: On 01/01/14 04:35, Konrad Rzeszutek Wilk wrote: From: Mukesh Rathor mukesh.rat...@oracle.com In the

[PATCH] Documentation/cpu-freq: add intel-pstate.txt

2014-01-03 Thread Ramkumar Ramachandra
The Intel P-state driver is currently undocumented. Add some documentation based on the cover-letter sent with the original series. Cc: Dirk Brandewie dirk.brande...@gmail.com Cc: Rafael J. Wysocki r...@rjwysocki.net Cc: Viresh Kumar viresh.ku...@linaro.org Signed-off-by: Ramkumar Ramachandra

Re: [PATCH] drm/i915: Fix refcount leak and possible NULL pointerdereference.

2014-01-03 Thread Tetsuo Handa
Chris Wilson wrote: On Tue, Dec 24, 2013 at 08:50:23PM +0900, Tetsuo Handa wrote: From 482be6384379072eb4c0d45d0ab8a25df4f59ed7 Mon Sep 17 00:00:00 2001 From: Tetsuo Handa penguin-ker...@i-love.sakura.ne.jp Date: Tue, 24 Dec 2013 18:04:14 +0900 Subject: [PATCH] drm/i915: Fix refcount leak

Re: [PATCH v12 15/18] xen/pvh: Piggyback on PVHVM for grant driver (v2)

2014-01-03 Thread David Vrabel
On 02/01/14 18:50, Konrad Rzeszutek Wilk wrote: On Thu, Jan 02, 2014 at 04:32:03PM +, David Vrabel wrote: On 01/01/14 04:35, Konrad Rzeszutek Wilk wrote: @@ -1320,4 +1323,4 @@ static int __gnttab_init(void) return gnttab_init(); } -core_initcall(__gnttab_init);

Re: [PATCH] Documentation/cpu-freq: add intel-pstate.txt

2014-01-03 Thread Rafael J. Wysocki
On Friday, January 03, 2014 05:01:13 PM Ramkumar Ramachandra wrote: The Intel P-state driver is currently undocumented. Add some documentation based on the cover-letter sent with the original series. Cc: Dirk Brandewie dirk.brande...@gmail.com Dirk, what do you think? Cc: Rafael J. Wysocki

Re: [PATCH 1/2] cpufreq: try to resume policies which failed on last resume

2014-01-03 Thread Bjørn Mork
Viresh Kumar viresh.ku...@linaro.org writes: On 3 January 2014 15:23, Bjørn Mork bj...@mork.no wrote: Note that ondemand and 1401000 are the default vaules, so I don't actually change anything here. The write is causing the problem, not the value. As expected, I guess. Also note that boot

Re: [RFC PATCH 1/3] pci: APM X-Gene PCIe controller driver

2014-01-03 Thread Arnd Bergmann
On Monday 23 December 2013, Tanmay Inamdar wrote: This patch adds the AppliedMicro X-gene SOC PCIe controller driver. APM X-Gene PCIe controller supports maximum upto 8 lanes and GEN3 speed. X-Gene has maximum 5 PCIe ports supported. Signed-off-by: Tanmay Inamdar tinam...@apm.com ---

Re: [PATCH v3] Staging: rtl8188eu: Fixed coding style issues

2014-01-03 Thread Tim Jester-Pfadt
Thank you for your feedback. I'm still figuring stuff out. Submitting patches to the kernel has been my new year's resolution. Regards, Tim 2014/1/3 Dan Carpenter dan.carpen...@oracle.com: On Fri, Jan 03, 2014 at 12:22:59AM +0100, Tim Jester-Pfadt wrote: Fixed indentation coding style issues

Re: [Xen-devel] [PATCH v12 14/18] xen/grant: Implement an grant frame array struct.

2014-01-03 Thread David Vrabel
On 02/01/14 18:47, Konrad Rzeszutek Wilk wrote: On Thu, Jan 02, 2014 at 04:27:19PM +, David Vrabel wrote: On 01/01/14 04:35, Konrad Rzeszutek Wilk wrote: The 'xen_hvm_resume_frames' used to be an 'unsigned long' and contain the virtual address of the grants. That was OK for most

Re: [PATCH v2] arch: use ASM_NL instead of ';' for assembler new line character in the macro

2014-01-03 Thread Michal Marek
On 2013-11-21 10:58, Vineet Gupta wrote: On 11/01/2013 11:15 AM, Vineet Gupta wrote: +CC Sam, Tim, Joe, Michal, David Guys can you please take a look at this patch and suggest the best way to merge. The root cause is some gas ports (including ARC) use ';' for comment (vs. newline) More

Re: [PATCHv8 1/4] pwm: Add Freescale FTM PWM driver support

2014-01-03 Thread Arnd Bergmann
On Friday 03 January 2014, li.xi...@freescale.com wrote: Subject: Re: [PATCHv8 1/4] pwm: Add Freescale FTM PWM driver support On Thursday 02 January 2014 17:57:01 Xiubo Li wrote: +static inline u32 ftm_readl(bool big_endian, const void __iomem *addr) +{ + u32 val; + +

Re: [PATCH] drm/i915: Fix refcount leak and possible NULL pointerdereference.

2014-01-03 Thread Chris Wilson
On Fri, Jan 03, 2014 at 08:42:18PM +0900, Tetsuo Handa wrote: Chris Wilson wrote: On Tue, Dec 24, 2013 at 08:50:23PM +0900, Tetsuo Handa wrote: From 482be6384379072eb4c0d45d0ab8a25df4f59ed7 Mon Sep 17 00:00:00 2001 From: Tetsuo Handa penguin-ker...@i-love.sakura.ne.jp Date: Tue, 24 Dec

Re: [PATCH resend] scripts: Coccinelle script for pm_runtime_* return checks with IS_ERR_VALUE

2014-01-03 Thread Michal Marek
On 2013-12-02 14:39, Nishanth Menon wrote: As indicated by Sekhar in [1], there seems to be a tendency to use IS_ERR_VALUE to check the error result for pm_runtime_* functions which make no sense considering commit c48cd65 (ARM: OMAP: use consistent error checking) - the error values can

Re: status of block-integrity

2014-01-03 Thread Hannes Reinecke
On 12/22/2013 08:21 PM, Christoph Hellwig wrote: We have the block integrity code to support DIF/DIX in the the tree for about 5 and a half years, and we still don't have a single consumer of it. By normal kernel rules it should never have been merged, or at least the bitrot long removed.

3.12.6 warning/lockup at kernel/workqueue.c:1587 worker_enter_idle+0xde/0x150()

2014-01-03 Thread Holger Hoffstätte
For one of my machines the new year started with a hiccup: Jan 1 01:55:39 tux kernel: [ cut here ] Jan 1 01:55:39 tux kernel: WARNING: CPU: 1 PID: 21725 at kernel/workqueue.c:1587 worker_enter_idle+0xde/0x150() Jan 1 01:55:39 tux kernel: Modules linked in:

Re: [PATCH] arm64/xen: redefine xen_remap on arm64

2014-01-03 Thread Stefano Stabellini
On Mon, 30 Dec 2013, Mark Salter wrote: On Mon, 2013-12-30 at 14:55 +0800, Chen Baozi wrote: xen_remap used to be defined as ioremap_cached on arm64. In commit c04e8e2fe, a new ioremap_cache was implemented, and ioremap_cached was deleted, while xen_remap stays the same. This would lead to

Re: [Xen-devel] [PATCH] arm64/xen: redefine xen_remap on arm64

2014-01-03 Thread Stefano Stabellini
On Mon, 30 Dec 2013, Wei Liu wrote: On Mon, Dec 30, 2013 at 6:55 AM, Chen Baozi baoz...@gmail.com wrote: xen_remap used to be defined as ioremap_cached on arm64. In commit c04e8e2fe, a new ioremap_cache was implemented, and ioremap_cached was deleted, while xen_remap stays the same. This

[GIT PULL] ACPI and power management fixes for v3.13-rc7

2014-01-03 Thread Rafael J. Wysocki
Hi Linus, Please pull from the git repository at git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git pm+acpi-3.13-rc7 to receive ACPI and power management fixes for 3.13-rc7 with top-most commit 0a405fe97fd54d5e89560c6d0f4070ff43862a49 Merge branches 'pm-cpufreq' and

Re: [PATCH 1/4] tools lib traceevent: Add state member to struct trace_seq

2014-01-03 Thread Jiri Olsa
On Thu, Dec 19, 2013 at 06:34:23PM +0900, Namhyung Kim wrote: From: Namhyung Kim namhyung@lge.com The trace_seq-state is for tracking errors during the use of trace_seq APIs and getting rid of die() in it. Signed-off-by: Namhyung Kim namhy...@kernel.org ---

[PATCH 01/11] MFD: twl-core: Simplify IO wrapper functions by moving common code out

2014-01-03 Thread Peter Ujfalusi
The new twl_get_regmap() function will return a pointer to the regmap needed for the given module. Since both read and write function were using the same code to do the lookup we can reuse this in both places to simplify the code. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com ---

[PATCH 11/11] ASoC: twl4030: Pass the twl4030_priv directly to twl4030_can_write_to_chip()

2014-01-03 Thread Peter Ujfalusi
To avoid another lookup for the twl4030_priv in there. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- sound/soc/codecs/twl4030.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sound/soc/codecs/twl4030.c b/sound/soc/codecs/twl4030.c index

[PATCH 05/11] ASoC: twl4030: Remove check defaults functionality

2014-01-03 Thread Peter Ujfalusi
No need to keep the check defaults functionality anymore. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- include/linux/i2c/twl.h| 1 - sound/soc/codecs/twl4030.c | 23 --- 2 files changed, 24 deletions(-) diff --git a/include/linux/i2c/twl.h

[PATCH 08/11] ASoC: twl4030: Remove local reg cache

2014-01-03 Thread Peter Ujfalusi
Depend on the regmap reg cache implementation for register caching done in the twl-core driver. The local register cache can be removed and we can keep only shadow copies of certain ctl registers for pop noise reduction. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com ---

[PATCH 10/11] ASoC: twl4030: Move the ctl cache update local to twl4030_write() function

2014-01-03 Thread Peter Ujfalusi
There's no other users of this functionality, the code can be moved inside of twl4030_write. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- sound/soc/codecs/twl4030.c | 36 1 file changed, 16 insertions(+), 20 deletions(-) diff --git

[PATCH 09/11] ASoC: twl4030: Parameter alignment fixes (for code consistency)

2014-01-03 Thread Peter Ujfalusi
Over time the multi line alignment got messed up. Correct them in one go so the code will look consistent. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- sound/soc/codecs/twl4030.c | 93 ++ 1 file changed, 45 insertions(+), 48 deletions(-)

[PATCH 07/11] ASoC: twl4030: Introduce local ctl register cache

2014-01-03 Thread Peter Ujfalusi
Few registers need to be cached in the codec driver level. These registers should only be written when the path is active to avoid pop noise on the given path. This patch adds an array which covers the range where the sensitive registers are located and uppon loadinf the driver the ctl cache will

DONATION FOR YOU.

2014-01-03 Thread Charles Francis Feeney
Hi, My name is Charles Francis Feeney, a philanthropist and the founder of The Atlantic Philanthropies, one of the largest private foundations in the world. I believe strongly in ‘giving while living.’ I had one idea that never changed in my mind — that you should use your wealth to help

Re: [PATCH resend] scripts: Coccinelle script for pm_runtime_* return checks with IS_ERR_VALUE

2014-01-03 Thread Julia Lawall
On Fri, 3 Jan 2014, Michal Marek wrote: On 2013-12-02 14:39, Nishanth Menon wrote: As indicated by Sekhar in [1], there seems to be a tendency to use IS_ERR_VALUE to check the error result for pm_runtime_* functions which make no sense considering commit c48cd65 (ARM: OMAP: use consistent

[PATCH 02/11] MFD: twl-core: API to set the regcache bypass for a given regmap in twl

2014-01-03 Thread Peter Ujfalusi
If the regcache is enabled on the regmap module drivers might need to access to HW register(s) in certain cases in cache bypass mode. As an example of this is the audio block's ANAMICL register. In normal operation the content can be cached but during initialization one bit from the register need

[PATCH 03/11] MFD: twl-core: Enable regcache for audio registers

2014-01-03 Thread Peter Ujfalusi
Enable regmap's regcache for the audio registers: i2c address 0x49, register range 0x01 - 0x49 Mark all other registers as volatile to avoid any side effect for the non audio functions behind 0x49 i2c address. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- drivers/mfd/twl-core.c | 111

[PATCH 04/11] ASoC: twl4030: Separate write condition checking from I/O function

2014-01-03 Thread Peter Ujfalusi
Simplifies the code a bit and prepares it to the removal of local caching. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- sound/soc/codecs/twl4030.c | 40 +++- 1 file changed, 23 insertions(+), 17 deletions(-) diff --git a/sound/soc/codecs/twl4030.c

[PATCH 06/11] ASoC: twl4030: Remove reset registers functionality

2014-01-03 Thread Peter Ujfalusi
The register states now tracked by the regmap implementation in the core which makes the reset registers functionality 'redundant' since we know the state of the registers now all the time. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- include/linux/i2c/twl.h| 1 -

[PATCH 00/11] ASoC/MFD: twl4030 codec local register cache removal

2014-01-03 Thread Peter Ujfalusi
Hi, After the twl6040 codec, now it is time for the twl4030 codec driver to loose it's local reg cache and let the MFD core's regmap to take care of the caching. We have different functions behind of the 0x49 i2c address in twl (where the audio registers can be found between 0x01 - 0x49). I mark

Re: [PATCH] arm64/xen: redefine xen_remap on arm64

2014-01-03 Thread Stefano Stabellini
On Fri, 3 Jan 2014, Stefano Stabellini wrote: On Mon, 30 Dec 2013, Mark Salter wrote: On Mon, 2013-12-30 at 14:55 +0800, Chen Baozi wrote: xen_remap used to be defined as ioremap_cached on arm64. In commit c04e8e2fe, a new ioremap_cache was implemented, and ioremap_cached was deleted,

Re: [PATCH] scripts: Have make TAGS not include structure members

2014-01-03 Thread mmarek
On Tue, Nov 19, 2013 at 07:34:14PM -0500, Steven Rostedt wrote: I wasn't going to use this change, but instead add this change: [...] --- linux-trace.git.orig/scripts/tags.sh 2013-11-19 19:29:34.352371615 -0500 +++ linux-trace.git/scripts/tags.sh 2013-11-19 19:32:37.821152204 -0500 @@

Re: [PATCH] swiotlb: Don't DoS us with 'swiotlb buffer is full'

2014-01-03 Thread Stefano Stabellini
On Tue, 31 Dec 2013, Konrad Rzeszutek Wilk wrote: There is no need for that so lets use ratelimiting. Also add some extra information to be helpful. CC: Stefano Stabellini stefano.stabell...@eu.citrix.com Signed-off-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com lib/swiotlb.c: In function

Re: [PATCH v12] Linux Xen PVH support.

2014-01-03 Thread David Vrabel
On 02/01/14 19:02, Konrad Rzeszutek Wilk wrote: On Thu, Jan 02, 2014 at 04:50:14PM +, David Vrabel wrote: On 01/01/14 04:35, Konrad Rzeszutek Wilk wrote: The patches, also available at git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen.git devel/pvh.v12 implements the neccessary

Re: [PATCH resend] scripts: Coccinelle script for pm_runtime_* return checks with IS_ERR_VALUE

2014-01-03 Thread Michal Marek
On Fri, Jan 03, 2014 at 02:29:35PM +0100, Julia Lawall wrote: On Fri, 3 Jan 2014, Michal Marek wrote: On 2013-12-02 14:39, Nishanth Menon wrote: As indicated by Sekhar in [1], there seems to be a tendency to use IS_ERR_VALUE to check the error result for pm_runtime_* functions which

Re: [PATCH] Fix detectition of kernel git repository in setlocalversion script [take #2]

2014-01-03 Thread Michal Marek
On Mon, Dec 02, 2013 at 04:34:29PM +0100, Franck Bui-Huu wrote: setlocalversion script was testing the presence of .git directory in order to find out if git is used as SCM to track the current kernel project. However in some cases, .git is not a directory but can be a file: when the kernel

[PATCH] Revert x86: Disable IST stacks for debug/int 3/stack fault for PREEMPT_RT

2014-01-03 Thread Sebastian Andrzej Siewior
where do I start. Let me explain what is going on here. The code sequence | pushf | pop%edx | or $0x1,%dh | push %edx | mov$0xe0,%eax | popf | sysenter triggers the bug. On 64bit kernel we see the double fault (with 32bit and 64bit userland) and on 32bit kernel there is no problem.

Re: [PATCH, RFC 15/30] usbserial: stop using interruptible_sleep_on

2014-01-03 Thread Arnd Bergmann
On Thursday 02 January 2014, Johan Hovold wrote: I'd prefer to just fix the race once and for all. These four drivers have been on my todo list since I converted the other usb-serial drivers about a year ago. In fact, I posted a fix for f81232 last week, and I've had a fix for pl2303 brewing

Re: [PATCH] arm64/xen: redefine xen_remap on arm64

2014-01-03 Thread Russell King - ARM Linux
On Fri, Jan 03, 2014 at 01:13:57PM +, Stefano Stabellini wrote: On Mon, 30 Dec 2013, Mark Salter wrote: On Mon, 2013-12-30 at 14:55 +0800, Chen Baozi wrote: xen_remap used to be defined as ioremap_cached on arm64. In commit c04e8e2fe, a new ioremap_cache was implemented, and

Re: [PATCH 01/17] ARM: spear: Remove deprecated IRQF_DISABLED flag

2014-01-03 Thread Arnd Bergmann
On Thursday 02 January 2014, Daniel Lezcano wrote: On 01/02/2014 07:29 PM, Arnd Bergmann wrote: On Monday 30 December 2013, Daniel Lezcano wrote: This flag is a NOOP and scheduled to be removed Signed-off-by: Daniel Lezcano daniel.lezc...@linaro.org Thanks for sending this series. I

[PATCH 1/2] perf tools: Move arch setup into seprate Makefile

2014-01-03 Thread Jiri Olsa
From: jo...@redhat.com jo...@redhat.com I need to use arch related setup in the tests/make, so moving arch setup into Makefile.arch. Signed-off-by: Jiri Olsa jo...@redhat.com Cc: Corey Ashford cjash...@linux.vnet.ibm.com Cc: Frederic Weisbecker fweis...@gmail.com Cc: Ingo Molnar mi...@elte.hu

[PATCH 2/2] perf tests: Fix installation tests path setup

2014-01-03 Thread Jiri Olsa
From: jo...@redhat.com jo...@redhat.com Currently installation tests work only over x86_64, adding arch check to make it work over i386 as well. NOTE looks like x86 is the only arch running tests, we need some IS_(32/64) flag to make this generic. Signed-off-by: Jiri Olsa jo...@redhat.com Cc:

Strange problem with vxlan!

2014-01-03 Thread Andreas Hartmann
Given is the following network architecture: connection of a virtual bridge br0 and a remote ethernet-switch through vxlan tunnel via WLAN: host[br0: tap0,vxlan0] ||| |===

Re: [PATCH v12 07/18] xen/pvh: Setup up shared_info.

2014-01-03 Thread Konrad Rzeszutek Wilk
On Thu, Jan 02, 2014 at 11:27:56AM +, David Vrabel wrote: On 01/01/14 04:35, Konrad Rzeszutek Wilk wrote: From: Mukesh Rathor mukesh.rat...@oracle.com For PVHVM the shared_info structure is provided via the same way as for normal PV guests (see include/xen/interface/xen.h). That

Re: [PATCH tip/efi-kexec] x86: setup.c build fix

2014-01-03 Thread Matt Fleming
On Fri, 03 Jan, at 11:56:49AM, Dave Young wrote: In case without CONFIG_EFI, there will be below build error: arch/x86/built-in.o: In function `setup_arch': (.init.text+0x9dc): undefined reference to `parse_efi_setup' Thus fix it by adding blank inline function in asm/efi.h Also remove

Re: [PATCH 0/3] Ceph fscache: Fix kernel panic due to a race

2014-01-03 Thread Milosz Tanski
I'm going to look the patches and the issue in full detail. In the meantime do you guys have the oops back trace. I have some other fscache patches that haven't made it upstream yet that might have been masking this issue for me. On Fri, Dec 27, 2013 at 10:51 PM, Li Wang liw...@ubuntukylin.com

Re: [PATCH v12 15/18] xen/pvh: Piggyback on PVHVM for grant driver (v2)

2014-01-03 Thread Konrad Rzeszutek Wilk
On Fri, Jan 03, 2014 at 11:54:13AM +, David Vrabel wrote: On 02/01/14 18:50, Konrad Rzeszutek Wilk wrote: On Thu, Jan 02, 2014 at 04:32:03PM +, David Vrabel wrote: On 01/01/14 04:35, Konrad Rzeszutek Wilk wrote: @@ -1320,4 +1323,4 @@ static int __gnttab_init(void) return

Re: [PATCH] arm64/xen: redefine xen_remap on arm64

2014-01-03 Thread Stefano Stabellini
On Fri, 3 Jan 2014, Russell King - ARM Linux wrote: On Fri, Jan 03, 2014 at 01:13:57PM +, Stefano Stabellini wrote: On Mon, 30 Dec 2013, Mark Salter wrote: On Mon, 2013-12-30 at 14:55 +0800, Chen Baozi wrote: xen_remap used to be defined as ioremap_cached on arm64. In commit

Re: possible regression on 3.13 when calling flush_dcache_page

2014-01-03 Thread Ludovic Desroches
Hi, On Tue, Dec 24, 2013 at 03:38:37PM +0900, Joonsoo Kim wrote: [...] I think that this commit may not introduce a bug. This patch remove one variable on slab management structure and replace variable name. So there is no functional change. You are right, the

Re: AMD microcode fails to update with v3.8.3 and newer, bisect failed

2014-01-03 Thread Gene Heskett
On Thursday 02 January 2014, Gene Heskett wrote: On Thursday 02 January 2014, Ken Moffat wrote: On Thu, Jan 02, 2014 at 12:24:56AM -0500, Gene Heskett wrote: On Wednesday 01 January 2014, Ken Moffat wrote: On Thu, Jan 02, 2014 at 04:08:15AM +, Ken Moffat wrote: Anyway, best of luck and I

Re: [Xen-devel] [PATCH v11 09/12] xen/pvh: Piggyback on PVHVM XenBus and event channels for PVH.

2014-01-03 Thread Stefano Stabellini
On Tue, 31 Dec 2013, Konrad Rzeszutek Wilk wrote: --- a/drivers/xen/xenbus/xenbus_client.c +++ b/drivers/xen/xenbus/xenbus_client.c @@ -45,6 +45,7 @@ #include xen/grant_table.h #include xen/xenbus.h #include xen/xen.h +#include xen/features.h #include

Re: [PATCH] arm64/xen: redefine xen_remap on arm64

2014-01-03 Thread Russell King - ARM Linux
On Fri, Jan 03, 2014 at 02:49:54PM +, Stefano Stabellini wrote: OK. That would be Rob's patch below. Looks fine to me. Are you going to take care of sending it to Linus? If you want to stick it in the patch system, I'll throw it in my tree. I need to push out the next set of fixes soon

Re: [PATCH 1/1] watchdog: Adding Merrifield watchdog driver support

2014-01-03 Thread One Thousand Gnomes
On Thu, 2 Jan 2014 16:56:42 -0800 eric.er...@linux.intel.com wrote: From: Gabriel Touzeau gabrielx.touz...@intel.com Added Merrifield watchdog driver support. Based on initial implementation from prior Intel SCU-based platforms, this driver has several changes specific to the Tangier SoC

Re: [Xen-devel] [PATCH v11 10/12] xen/pvh: Piggyback on PVHVM for grant driver.

2014-01-03 Thread Stefano Stabellini
On Wed, 18 Dec 2013, Konrad Rzeszutek Wilk wrote: On Wed, Dec 18, 2013 at 06:46:56PM +, Stefano Stabellini wrote: On Tue, 17 Dec 2013, Konrad Rzeszutek Wilk wrote: In PVH the shared grant frame is the PFN and not MFN, hence its mapped via the same code path as HVM. The

Re: [PATCH] mm/zswap: add writethrough option

2014-01-03 Thread Seth Jennings
On Thu, Dec 19, 2013 at 08:23:27AM -0500, Dan Streetman wrote: Currently, zswap is writeback cache; stored pages are not sent to swap disk, and when zswap wants to evict old pages it must first write them back to swap cache/disk manually. This avoids swap out disk I/O up front, but only moves

Re: [Xen-devel] [PATCH v12 14/18] xen/grant: Implement an grant frame array struct.

2014-01-03 Thread Konrad Rzeszutek Wilk
On Fri, Jan 03, 2014 at 12:11:42PM +, David Vrabel wrote: On 02/01/14 18:47, Konrad Rzeszutek Wilk wrote: On Thu, Jan 02, 2014 at 04:27:19PM +, David Vrabel wrote: On 01/01/14 04:35, Konrad Rzeszutek Wilk wrote: The 'xen_hvm_resume_frames' used to be an 'unsigned long' and contain

Re: [PATCH] arm64/xen: redefine xen_remap on arm64

2014-01-03 Thread Stefano Stabellini
On Fri, 3 Jan 2014, Russell King - ARM Linux wrote: On Fri, Jan 03, 2014 at 02:49:54PM +, Stefano Stabellini wrote: OK. That would be Rob's patch below. Looks fine to me. Are you going to take care of sending it to Linus? If you want to stick it in the patch system, I'll throw it

Re: [PATCH v12 07/18] xen/pvh: Setup up shared_info.

2014-01-03 Thread David Vrabel
On 03/01/14 14:39, Konrad Rzeszutek Wilk wrote: On Thu, Jan 02, 2014 at 11:27:56AM +, David Vrabel wrote: On 01/01/14 04:35, Konrad Rzeszutek Wilk wrote: From: Mukesh Rathor mukesh.rat...@oracle.com For PVHVM the shared_info structure is provided via the same way as for normal PV guests

Re: [PATCH] Add LED pattern trigger

2014-01-03 Thread One Thousand Gnomes
Also for user space application, I think we don't have any user space LED library, if I'm wrong please correct me. Why there is no such library, since we don't need it. No - rght now it is a case of we don't have a kernel driver because we don't need one IMHO, firstly we should take this

Re: [PATCH v12 02/18] xen/pvh/x86: Define what an PVH guest is (v2).

2014-01-03 Thread Stefano Stabellini
On Thu, 2 Jan 2014, David Vrabel wrote: On 01/01/14 04:35, Konrad Rzeszutek Wilk wrote: From: Mukesh Rathor mukesh.rat...@oracle.com Which is a PV guest with auto page translation enabled and with vector callback. It is a cross between PVHVM and PV. The Xen side defines PVH as (from

Re: [PATCH 3.12 033/118] usb: xhci: Link TRB must not occur within a USB payload burst

2014-01-03 Thread walt
On 01/02/2014 11:15 AM, Sarah Sharp wrote: On Tue, Dec 31, 2013 at 12:40:16PM -0800, walt wrote: On 12/18/2013 01:11 PM, Greg Kroah-Hartman wrote: 3.12-stable review patch. If anyone has any objections, please let me know. -- From: David Laight david.lai...@aculab.com

Re: [PATCH v12 03/18] xen/pvh: Early bootup changes in PV code (v2).

2014-01-03 Thread Stefano Stabellini
On Fri, 3 Jan 2014, David Vrabel wrote: On 03/01/14 01:34, Mukesh Rathor wrote: On Thu, 2 Jan 2014 13:32:21 -0500 Konrad Rzeszutek Wilk konrad.w...@oracle.com wrote: On Thu, Jan 02, 2014 at 03:32:33PM +, David Vrabel wrote: On 01/01/14 04:35, Konrad Rzeszutek Wilk wrote: From:

  1   2   3   4   5   6   7   8   >