Re: 3.9.4 Oops running xfstests (WAS Re: 3.9.3: Oops running xfstests)

2013-05-31 Thread Dave Chinner
On Thu, May 30, 2013 at 11:03:35PM -0400, CAI Qian wrote: OK, so the minimal workload to trigger this I found so far was to run trinity, ltp and then xfstests. I have been able to easily reproduced on 3 servers so far, and I'll post full logs here for LKML and linux-mm as this may unrelated to

RE: [PATCH V3 0/2] Add DT support for tps6507x touchscreen

2013-05-31 Thread Vishwanathrao Badarkhe, Manish
Hi Dmitry Please let me know, are there any review comments on this patch series? Thanks Manish Badarkhe On Tue, May 21, 2013 at 14:24:16, Vishwanathrao Badarkhe, Manish wrote: Patch set adds DT support for tps6507x based touchscreen. Also, add DT data for tps6507x touchscreen in da850-evm by

[PATCH] net: wireless: iwlegacy: fix build error for il_pm_ops

2013-05-31 Thread Yijing Wang
Fix build error for il_pm_ops if CONFIG_PM is set but CONFIG_PM_SLEEP is not set. ERROR: il_pm_ops [drivers/net/wireless/iwlegacy/iwl4965.ko] undefined! ERROR: il_pm_ops [drivers/net/wireless/iwlegacy/iwl3945.ko] undefined! make[1]: *** [__modpost] Error 1 make: *** [modules] Error 2

[PATCH v2 0/5] Phylib changes

2013-05-31 Thread Michal Simek
We have these changes in our tree for quite a long time and I would like to ask you for review. All phys are used on xilinx zynq boards. Thanks, Michal v2: Resent these phy patches without emaclite changes Changes in v2: - None Michal Simek (5): phy: Clean coding style in vitesse phy phy:

[PATCH v2 3/5] phy: Use macros instead of hardcoded values in marvell phy driver

2013-05-31 Thread Michal Simek
Use macros from linux/marvell_phy.h instead of duplicate magic phy ID in the driver. Signed-off-by: Michal Simek michal.si...@xilinx.com --- Changes in v2: None drivers/net/phy/marvell.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git

[PATCH v2 4/5] phy: Add Marvell 88E1116R phy ID

2013-05-31 Thread Michal Simek
This phy is on Xilinx ZC702 zynq development board. Signed-off-by: Anirudha Sarangi anir...@xilinx.com Signed-off-by: Michal Simek michal.si...@xilinx.com --- Changes in v2: None drivers/net/phy/marvell.c | 65 + include/linux/marvell_phy.h | 1 +

[PATCH v2 5/5] phy: Add Marvell 88E1510 phy ID

2013-05-31 Thread Michal Simek
Add support for this new phy ID. Signed-off-by: Rick Hoover rhoo...@digilentinc.com Signed-off-by: Steven Wang steven.w...@digilentinc.com Signed-off-by: Lars-Peter Clausen l...@metafoo.de Signed-off-by: Michal Simek michal.si...@xilinx.com --- Changes in v2: - None drivers/net/phy/marvell.c

[PATCH v2 2/5] phy: Add Vitesse 8211 phy ID

2013-05-31 Thread Michal Simek
Phy is compatible with Vitesse 8221. Signed-off-by: Michal Simek michal.si...@xilinx.com --- Changes in v2: None drivers/net/phy/vitesse.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/drivers/net/phy/vitesse.c b/drivers/net/phy/vitesse.c index d6e988f..69b482b 100644 ---

[PATCH v2 1/5] phy: Clean coding style in vitesse phy

2013-05-31 Thread Michal Simek
- Remove trailing white space - Remove spaces before tag - Fix comments Signed-off-by: Michal Simek michal.si...@xilinx.com --- Changes in v2: None drivers/net/phy/vitesse.c | 23 +++ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/drivers/net/phy/vitesse.c

Re: [tip:x86/microcode] x86, microcode, amd: Early microcode patch loading support for AMD

2013-05-31 Thread Yinghai Lu
On Thu, May 30, 2013 at 8:31 PM, tip-bot for Jacob Shin tip...@zytor.com wrote: Commit-ID: 757885e94a22bcc82beb9b1445c95218cb20ceab Gitweb: http://git.kernel.org/tip/757885e94a22bcc82beb9b1445c95218cb20ceab Author: Jacob Shin jacob.s...@amd.com AuthorDate: Thu, 30 May 2013 14:09:19

Re: [PATCH 1/2] sched: Use do_div() for 64 bit division at power utilization calculation (putil)

2013-05-31 Thread Lukasz Majewski
Hi Alex, On 05/23/2013 04:34 PM, Lukasz Majewski wrote: Now explicit casting is done when power usage variable (putil) is calculated Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- This patch was developed on top of

[PATCH] cpufreq: remove unnecessary cpufreq_cpu_{get|put}() calls

2013-05-31 Thread Viresh Kumar
struct cpufreq_policy is already passed as argument to some routines like: __cpufreq_driver_getavg() and so we don't really need to do cpufreq_cpu_get() before and cpufreq_cpu_put() in them to get policy structure. Remove them. Signed-off-by: Viresh Kumar viresh.ku...@linaro.org ---

Re: [PATCH] ALSA: sis7019: fix error return code in sis_chip_create()

2013-05-31 Thread Takashi Iwai
At Thu, 30 May 2013 19:55:34 +0800, Wei Yongjun wrote: From: Wei Yongjun yongjun_...@trendmicro.com.cn Fix to return a negative error code in the pci_set_dma_mask() error handling case instead of 0, as done elsewhere in this function. Signed-off-by: Wei Yongjun

Re: [PATCH 1/1] ALSA: hda - add dock support for Thinkpad T431s

2013-05-31 Thread Takashi Iwai
At Wed, 29 May 2013 22:27:18 -0600, Ebben Aries wrote: Add a model/fixup string lenovo-dock, for Thinkpad T431s, to allow sound in docking station. Tested on Lenovo T431s with ThinkPad Mini Dock Plus Series 3 Signed-off-by: Ebben Aries ear...@dscp.org Thanks, applied now. Takashi

Re: [PATCH] net: wireless: iwlegacy: fix build error for il_pm_ops

2013-05-31 Thread Jingoo Han
On Friday, May 31, 2013 3:06 PM, Yijing Wang wrote: Fix build error for il_pm_ops if CONFIG_PM is set but CONFIG_PM_SLEEP is not set. ERROR: il_pm_ops [drivers/net/wireless/iwlegacy/iwl4965.ko] undefined! ERROR: il_pm_ops [drivers/net/wireless/iwlegacy/iwl3945.ko] undefined! make[1]: ***

Re: [PATCH v5 00/13] net: mv643xx_eth DT support and fixes

2013-05-31 Thread Sebastian Hesselbarth
On 05/31/2013 02:55 AM, David Miller wrote: From: Sebastian Hesselbarthsebastian.hesselba...@gmail.com Date: Wed, 29 May 2013 21:32:42 +0200 For the patches above I suggest to take Patches 1-6 through David Miller's branch, and Patches 7-12 through Jason Cooper's when the former have appeared

[PATCH 1/2] rtc: omap: add option to indicate wakeup support through DT

2013-05-31 Thread Hebbar Gururaja
Even though RTC-IP is wakeup capable, Not all Boards support it. For example The rtc alarm wakeup is available in rtc-ip since omap1 days but alarm was not wired properly in previous ompa1 boards. commit fa5b07820fe3a0fc06ac368516e71f10a59b9539 Author: Sekhar Nori nsek...@ti.com

[PATCH 2/2] rtc: omap: add rtc wakeup support to alarm events

2013-05-31 Thread Hebbar Gururaja
On some platforms (like AM33xx), a special register (RTC_IRQWAKEEN) is available to enable Wakeup feature for Alarm Events. Since new platforms/Boards are now added through DT only, this feature is supported via DT property only. Platforms using such IP should add the property

[PATCH 0/2] rtc: rtc-omap: add support for DT wakeup alarm events

2013-05-31 Thread Hebbar Gururaja
Current rtc-omap driver expects the rtc module wake-up capabilities to be set up by board specific code. However, in case of DT, this is not possible. So, add a DT property ti,wakeup_capable to indicate that the module is wake-up capable. Also, on some platforms (like AM33xx), a special register

Re: [alsa-devel] Improving or replacing snd_printk()

2013-05-31 Thread Takashi Iwai
At Thu, 30 May 2013 20:49:09 +0200, Jaroslav Kysela wrote: Date 30.5.2013 20:14, Alan Stern wrote: On Wed, 29 May 2013, Joe Perches wrote: On Wed, 2013-05-29 at 15:27 -0400, Alan Stern wrote: Has there been any thought of improving snd_printk(), or even better, changing the call

Re: [RFC] regmap: Add regmap_field APIs

2013-05-31 Thread Srinivas KANDAGATLA
Hi Mark, We have pretty much completed reworking the patch-set we sent recently for the STiH41x SOC support. We are waiting for your feedback on this patch. Thanks, srini On 28/05/13 15:58, Srinivas KANDAGATLA wrote: From: Srinivas Kandagatla srinivas.kandaga...@st.com It is common to

Re: [alsa-devel] [PATCH] [resend] snd-es1968: Add radio support for MediaForte M56VAP

2013-05-31 Thread Takashi Iwai
At Thu, 30 May 2013 16:13:09 +0200, Ondrej Zary wrote: Add support for TEA5757 tuner on MediaForte M56VAP sound+modem+radio card. The GPIO connection type is automatically detected (like snd-fm801 driver). Also add a safety subsystem vendor check to skip radio detection if vendor differs

Re: [PATCH 1/2] rtc: omap: add option to indicate wakeup support through DT

2013-05-31 Thread Prabhakar Lad
Hi Gururaja, Thanks for the patch. On Fri, May 31, 2013 at 12:03 PM, Hebbar Gururaja gururaja.heb...@ti.com wrote: Even though RTC-IP is wakeup capable, Not all Boards support it. For example The rtc alarm wakeup is available in rtc-ip since omap1 days but alarm was not wired properly in

Regression introduced by commit lib/bitmap.c: speed up bitmap_find_free_region

2013-05-31 Thread Sachin Kamat
Hi, While testing MFC decoder on Exynos machines, I encountered some memory allocation errors due to failure of dma_alloc_coherent(). File: drivers/media/platform/s5p-mfc/s5p_mfc_ctrl.c Line: 38. Git bisect pointed me to the following commit as the first bad commit (linux-next tree of 20130531

RE: [PATCH 1/2] rtc: omap: add option to indicate wakeup support through DT

2013-05-31 Thread Hebbar, Gururaja
On Fri, May 31, 2013 at 12:14:44, Prabhakar Lad wrote: Hi Gururaja, Thanks for the patch. On Fri, May 31, 2013 at 12:03 PM, Hebbar Gururaja gururaja.heb...@ti.com wrote: Even though RTC-IP is wakeup capable, Not all Boards support it. For example The rtc alarm wakeup is available

Re: [PATCH 2/2] rtc: omap: add rtc wakeup support to alarm events

2013-05-31 Thread Prabhakar Lad
Hi Gururaja, Thanks for the patch. On Fri, May 31, 2013 at 12:03 PM, Hebbar Gururaja gururaja.heb...@ti.com wrote: On some platforms (like AM33xx), a special register (RTC_IRQWAKEEN) [snip] - ti,wakeup_capable: Inform the rtc driver that this module is wake-up capable so that rtcwake and

Re: [PATCH v2] ata: increase retry count but shorten duration for Calxeda controller

2013-05-31 Thread Clemens Ladisch
Sergei Shtylyov wrote: On 30-05-2013 18:26, Timur Tabi wrote: +const unsigned long timing[] = { 5, 100, 500}; You'll save space and time if you also make this array static, otherwise the compiler will build the array every time this function is called. No, *const* specifier is enough

[PATCH] MAINTAINERS: update path for drm tegra driver

2013-05-31 Thread Ying Xue
Since 4231c6b01af9f0f3eeca4b8d0d87125d78233b41 commit, drm tegra driver was moved to host1x, however, its correspding entry in MAINTAINERS is not updated in time. Signed-off-by: Ying Xue ying@windriver.com --- MAINTAINERS |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH 0/4] clk, mfd: u8540 clock tree definition

2013-05-31 Thread Lee Jones
On Thu, 30 May 2013, Mike Turquette wrote: Quoting Philippe Begnic (2013-05-27 05:41:28) From: Philippe Begnic philippe.beg...@st.com Create U8540 clock tree definitions for common clock framework The clock changes look good to me. How did you want to merge the patches? You may

Re: [tip:x86/microcode] x86, microcode, amd: Early microcode patch loading support for AMD

2013-05-31 Thread Jacob Shin
On Thu, May 30, 2013 at 11:10:23PM -0700, Yinghai Lu wrote: On Thu, May 30, 2013 at 8:31 PM, tip-bot for Jacob Shin tip...@zytor.com wrote: Commit-ID: 757885e94a22bcc82beb9b1445c95218cb20ceab Gitweb: http://git.kernel.org/tip/757885e94a22bcc82beb9b1445c95218cb20ceab Author:

Re: [PATCHv2 0/7] Miscellaneous fixes to host1x

2013-05-31 Thread Terje Bergström
On 29.05.2013 13:26, Arto Merilainen wrote: This patch series fixes two issues in the host1x driver: First, the command buffer validation routine had vulnerabilities that were not detected in earlier testing. Second, the return codes of some functions were misleading or completely missing.

Re: [PATCH v2 0/5] Zynq: revised CCF code

2013-05-31 Thread Michal Simek
On 05/31/2013 08:32 AM, Mike Turquette wrote: Quoting Michal Simek (2013-05-30 22:17:59) On 05/30/2013 08:44 PM, Mike Turquette wrote: Quoting Michal Simek (2013-05-17 05:14:47) Hi Mike, I have sent email to Greg to take this patch from this series though his serial tree because it is

Re: [alsa-devel] Improving or replacing snd_printk()

2013-05-31 Thread Joe Perches
On Fri, 2013-05-31 at 08:37 +0200, Takashi Iwai wrote: It's a problem only with snd_printk(), as CONFIG_SND_VERBOSE_PRINTK influences on the behavior of snd_printk() and not on the debug prints with snd_printd() co. Are you're perhaps confused about how CONFIG_SND_VERBOSE_PRINTK works with or

Re: [PATCH] net: skbuff: use _RET_IP_

2013-05-31 Thread Bjørn Mork
Joe Perches j...@perches.com writes: On Thu, 2013-05-30 at 18:11 -0700, Davidlohr Bueso wrote: On Thu, 2013-05-30 at 13:08 +0200, Bjørn Mork wrote: Sergei Shtylyov sergei.shtyl...@cogentembedded.com writes: Why not text:%#lx as already used in this string? It's equivalent to

[PATCH] There is no /sys/parameters

2013-05-31 Thread Jean Delvare
There is no such path as /sys/parameters, module parameters live in /sys/module/*/parameters. Signed-off-by: Jean Delvare kh...@linux-fr.org Cc: Rusty Russell ru...@rustcorp.com.au --- include/linux/moduleparam.h |2 +- kernel/params.c |2 +- 2 files changed, 2 insertions(+),

Re: [PATCH 1/2] GPIO: Add support for dual channel in gpio-xilinx.c

2013-05-31 Thread Linus Walleij
On Fri, May 31, 2013 at 7:43 AM, Michal Simek mon...@monstr.eu wrote: On 05/30/2013 09:46 PM, Linus Walleij wrote: (...) +/* Read/Write access to the GPIO registers */ +#define xgpio_readreg(offset) __raw_readl(offset) +#define xgpio_writereg(offset, val)__raw_writel(val,

Re: [PATCH] ARM: OMAP2+: omap-usb-host: Fix memory leaks

2013-05-31 Thread Roger Quadros
Hi Tony, On 05/31/2013 12:00 AM, Tony Lindgren wrote: Hi Roger, * Roger Quadros rog...@ti.com [130524 06:12]: Fix memory leaks in the error path. Also, use platform_device_register_full() to allocate the platform devices and set platform data. If you need this for the v3.10-rc, you

Re: [alsa-devel] Improving or replacing snd_printk()

2013-05-31 Thread Takashi Iwai
At Fri, 31 May 2013 00:06:07 -0700, Joe Perches wrote: On Fri, 2013-05-31 at 08:37 +0200, Takashi Iwai wrote: It's a problem only with snd_printk(), as CONFIG_SND_VERBOSE_PRINTK influences on the behavior of snd_printk() and not on the debug prints with snd_printd() co. Are you're

Re: [alsa-devel] Improving or replacing snd_printk()

2013-05-31 Thread Joe Perches
On Fri, 2013-05-31 at 09:23 +0200, Takashi Iwai wrote: At Fri, 31 May 2013 00:06:07 -0700, Joe Perches wrote: On Fri, 2013-05-31 at 08:37 +0200, Takashi Iwai wrote: I think most of snd_printd() and snd_printdd() can be kept as is. These are just debug messages, after all. Some of those

Re: [alsa-devel] Improving or replacing snd_printk()

2013-05-31 Thread Takashi Iwai
At Fri, 31 May 2013 00:30:09 -0700, Joe Perches wrote: On Fri, 2013-05-31 at 09:23 +0200, Takashi Iwai wrote: At Fri, 31 May 2013 00:06:07 -0700, Joe Perches wrote: On Fri, 2013-05-31 at 08:37 +0200, Takashi Iwai wrote: I think most of snd_printd() and snd_printdd() can be kept as is.

Re: [PATCH 1/2] GPIO: Add support for dual channel in gpio-xilinx.c

2013-05-31 Thread Michal Simek
On 05/31/2013 09:14 AM, Linus Walleij wrote: On Fri, May 31, 2013 at 7:43 AM, Michal Simek mon...@monstr.eu wrote: On 05/30/2013 09:46 PM, Linus Walleij wrote: (...) +/* Read/Write access to the GPIO registers */ +#define xgpio_readreg(offset) __raw_readl(offset) +#define

Re: [alsa-devel] Improving or replacing snd_printk()

2013-05-31 Thread Joe Perches
On Fri, 2013-05-31 at 09:35 +0200, Takashi Iwai wrote: At Fri, 31 May 2013 00:30:09 -0700, Joe Perches wrote: On Fri, 2013-05-31 at 09:23 +0200, Takashi Iwai wrote: At Fri, 31 May 2013 00:06:07 -0700, Joe Perches wrote: On Fri, 2013-05-31 at 08:37 +0200, Takashi Iwai wrote: I think

Re: [PATCH v2 2/3] video: xilinxfb: Do not use out_be32 IO function

2013-05-31 Thread Michal Simek
On 05/31/2013 12:04 AM, Arnd Bergmann wrote: On Thursday 30 May 2013 11:41:01 Michal Simek wrote: * To perform the read/write on the registers we need to check on * which bus its connected and call the appropriate write API. */ -static void xilinx_fb_out_be32(struct xilinxfb_drvdata

Re: [PATCH v3] aerdrv: Move cper_print_aer() call out of interrupt context

2013-05-31 Thread Borislav Petkov
On Thu, May 30, 2013 at 02:04:42PM +, Ortiz, Lance E wrote: Steve, you do have a good point here. I am wondering if that is why we should consider changing the output to match aer_print_error(). The code path to aer_print_error() is the more common path where not as many platforms support

Re: [PATCH v2] ata: increase retry count but shorten duration for Calxeda controller

2013-05-31 Thread Tejun Heo
On Fri, May 31, 2013 at 08:53:37AM +0200, Clemens Ladisch wrote: Sergei Shtylyov wrote: On 30-05-2013 18:26, Timur Tabi wrote: +const unsigned long timing[] = { 5, 100, 500}; You'll save space and time if you also make this array static, otherwise the compiler will build the array

Re: [PATCH 8/8] perf, x86: Enable PEBS mode automatically for mem-{loads,stores} v2

2013-05-31 Thread Stephane Eranian
On Fri, May 31, 2013 at 1:01 AM, Andi Kleen a...@firstfloor.org wrote: From: Andi Kleen a...@linux.intel.com With the earlier patches to automatically try cpu// and add a precise sys attribute, we can now enable PEBS for the mem-loads, mem-stores events everywhere. This allows to use perf

Re: [RFC PATCHv4 0/6] arm: Initial TI-Nspire support

2013-05-31 Thread Laurent Pinchart
Hi Pawel, Sorry for the late reply, I'm currently attending LinuxCon Japan, my mail backlog is growing. On Tuesday 28 May 2013 11:52:52 Pawel Moll wrote: On Mon, 2013-05-27 at 11:31 +0100, Arnd Bergmann wrote: On Monday 27 May 2013, Daniel Tang wrote: The one remaining bit that sticks

Re: [PATCH v2 0/5] Phylib changes

2013-05-31 Thread David Miller
From: Michal Simek michal.si...@xilinx.com Date: Fri, 31 May 2013 08:08:22 +0200 We have these changes in our tree for quite a long time and I would like to ask you for review. All phys are used on xilinx zynq boards. All applied to net-next, thanks. -- To unsubscribe from this list: send the

Re: [Xen-devel] [PATCHv3 0/2] xen: maintain an accurate persistent clock in more cases

2013-05-31 Thread Jan Beulich
On 31.05.13 at 01:55, John Stultz john.stu...@linaro.org wrote: The first is probably the easiest, but I do want to make sure that Xen maintainers agree that Xen really needs to be special here compared to every other platform and always enforce the RTC is synced with system time. Actually,

Re: [PATCH v3 0/5] rtc-at91rm9200: add shadow interrupt mask

2013-05-31 Thread Nicolas Ferre
On 31/05/2013 01:17, Douglas Gilbert : On 13-05-30 03:36 PM, Andrew Morton wrote: On Thu, 30 May 2013 09:50:27 +0200 Nicolas Ferre nicolas.fe...@atmel.com wrote: The review of this patch series was in my TODO list for some time... Today, I magically took time to review it ;-) The patch

Re: [PATCH v3 3/5] gpio-langwell: use managed functions pcim_* and devm_*

2013-05-31 Thread Andy Shevchenko
On Thu, 2013-05-30 at 19:25 +0200, Linus Walleij wrote: On Wed, May 22, 2013 at 12:20 PM, Andy Shevchenko andriy.shevche...@linux.intel.com wrote: This makes the error handling much more simpler than open-coding everything and in addition makes the probe function smaller an tidier.

Re: [PATCH RESEND 1/2] mtd: bcm47: convert kzalloc to avoid invalid access

2013-05-31 Thread Rafał Miłecki
2013/5/30 Libo Chen clbchenlibo.c...@huawei.com: mtd is just member of bcm47xxsflash, so we should free bcm47xxsflash not its member. So I use devm_kazlloc instead of kazlloc to avoid it. I think you should use mtd: bcm47xxsflash: prefix for both patches, but Artem or David may want to

Re: [alsa-devel] Improving or replacing snd_printk()

2013-05-31 Thread Takashi Iwai
At Fri, 31 May 2013 00:38:01 -0700, Joe Perches wrote: On Fri, 2013-05-31 at 09:35 +0200, Takashi Iwai wrote: At Fri, 31 May 2013 00:30:09 -0700, Joe Perches wrote: On Fri, 2013-05-31 at 09:23 +0200, Takashi Iwai wrote: At Fri, 31 May 2013 00:06:07 -0700, Joe Perches wrote: On

Re: [patch] mm, memcg: add oom killer delay

2013-05-31 Thread Michal Hocko
On Thu 30-05-13 13:47:30, David Rientjes wrote: On Thu, 30 May 2013, Michal Hocko wrote: Completely disabling the oom killer for a memcg is problematic if userspace is unable to address the condition itself, usually because it is unresponsive. Isn't this a bug in the userspace

Re: [PATCH] of: Export of_irq_count for using in modules

2013-05-31 Thread Michal Simek
Hi Jean-Christophe, On 05/30/2013 10:17 PM, Jean-Christophe PLAGNIOL-VILLARD wrote: On 15:49 Thu 30 May , Michal Simek wrote: Export of_irq_count for modules. can you explain why do you need to call of_irq_count I need to count number of irq written in the DTS node. It is not fixed size

Re: [PATCH v2 1/1] i2c: omap: correct usage of the interrupt enable register

2013-05-31 Thread Oleksandr Dmytryshyn
On 05/30/2013 07:46 PM, Kevin Hilman wrote: Oleksandr Dmytryshyn oleksandr.dmytrys...@ti.com writes: If the i2c controller during suspend will generate an interrupt, it can lead to unpredictable behaviour in the kernel. Based on the logic of the kernel code interrupts from i2c should be

Re: [PATCH] dmatest: add ability to disable pq and xor

2013-05-31 Thread Andy Shevchenko
On Fri, May 17, 2013 at 8:54 PM, Jon Mason jon.ma...@intel.com wrote: dmatest would create a thread to stress XOR and PQ, if the capability is present in the hardware. Add the ability to disable XOR and PQ by disabling it if *_sources are set to zero. Sorry, didn't comment this earlier.

Re: [PATCH v4 1/2] watchdog: New watchdog driver for MEN A21 watchdogs

2013-05-31 Thread Johannes Thumshirn
Hi Guenther, On Thu, May 30, 2013 at 03:02:47PM -0700, Guenter Roeck wrote: On Thu, May 30, 2013 at 11:59:28PM +0200, Wim Van Sebroeck wrote: Hi Guenter, [...] I even thought about adding this capability to the infrastructure. Actually this would be pretty nice to have Thanks, Guenter

[PATCH] dma: mmp_pdma: support for getting residual bytes

2013-05-31 Thread Xiang Wang
From: Xiang Wang wa...@marvell.com In some of our drivers (e.g. UART) we may stop a running DMA before it finishes. So we need to know how many bytes have been transferred. Signed-off-by: Xiang Wang wa...@marvell.com --- drivers/dma/mmp_pdma.c | 77

Re: [RFC] Comparison of power-efficient scheduling patch sets

2013-05-31 Thread Alex Shi
On 05/31/2013 09:17 AM, Alex Shi wrote: Kernel: 3.9 Patch sets: rlb-v4: sched: use runnable load based balance (Alex Shi) https://lkml.org/lkml/2013/4/27/13 Thanks for the valuable comparison! The runnable load balance target is performance. It is still try to disperse

Re: [PATCH v1 11/13] sfi: fix compiler warnings

2013-05-31 Thread Andy Shevchenko
On Thu, May 30, 2013 at 5:45 AM, Sathyanarayanan Kuppuswamy sathyanarayanan.kuppusw...@intel.com wrote: From: Andy Shevchenko andriy.shevche...@linux.intel.com Can you use newer version [1] of this patch? [1] https://lkml.org/lkml/2013/5/28/83 -- With Best Regards, Andy Shevchenko -- To

Re: [PATCH, resend 1/3] sfi: fix compiler warnings

2013-05-31 Thread Andy Shevchenko
Please, drop this one away. Sathyanarayanan Kuppuswamy will take care of this in his patch series. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH v3 1/1] i2c: omap: correct usage of the interrupt enable register

2013-05-31 Thread Oleksandr Dmytryshyn
If the i2c controller during suspend will generate an interrupt, it can lead to unpredictable behaviour in the kernel. Based on the logic of the kernel code interrupts from i2c should be prohibited during suspend. Kernel writes 0 to the I2C_IE register in the omap_i2c_runtime_suspend() function.

[PATCH v3 0/1] i2c: omap: correct usage of the interrupt enable register

2013-05-31 Thread Oleksandr Dmytryshyn
I've just renamed OMAP_I2C_INTERRUPTS_MASK to the OMAP_I2C_IP_V2_INTERRUPTS_MASK. If the i2c controller during suspend will generate an interrupt, it can lead to unpredictable behaviour in the kernel. Based on the logic of the kernel code interrupts from i2c should be prohibited during suspend.

Re: Network issue on 3.10 rcs, bisected

2013-05-31 Thread Joao Correia
On Fri, May 31, 2013 at 12:13 AM, Pravin Shelar pshe...@nicira.com wrote: On Thu, May 30, 2013 at 2:14 PM, Joao Correia joaomiguelcorr...@gmail.com wrote: On Thu, May 30, 2013 at 5:48 PM, Pravin Shelar pshe...@nicira.com wrote: On Wed, May 29, 2013 at 12:53 PM, Joao Correia

Re: [PATCH] dma: mmp_pdma: support for getting residual bytes

2013-05-31 Thread Andy Shevchenko
On Fri, May 31, 2013 at 11:21 AM, Xiang Wang wangx...@gmail.com wrote: In some of our drivers (e.g. UART) we may stop a running DMA before it finishes. So we need to know how many bytes have been transferred. Couple of comments below. --- a/drivers/dma/mmp_pdma.c +++

Re: [PATCH 7/7] tulip: remove redundant D0 power state set

2013-05-31 Thread David Miller
From: Grant Grundler grantgrund...@gmail.com Date: Thu, 30 May 2013 08:31:38 -0700 On Thu, May 30, 2013 at 3:27 AM, Yijing Wang wangyij...@huawei.com wrote: Pci_enable_device() will set device power state to D0, so it's no need to do it again in tulip_init_one(). Signed-off-by: Yijing Wang

Re: [PATCH v1 00/13] mrst refactoring patches

2013-05-31 Thread Andy Shevchenko
On Thu, May 30, 2013 at 5:45 AM, Sathyanarayanan Kuppuswamy sathyanarayanan.kuppusw...@intel.com wrote: As Intel rolling out more SoC's after Moorestown, we need to re-structure the code in a way that is backward compatible and easy to expand.This patch set implements a flexible way to support

Re: [tip:x86/microcode] x86, microcode, amd: Early microcode patch loading support for AMD

2013-05-31 Thread Borislav Petkov
On Thu, May 30, 2013 at 08:31:08PM -0700, tip-bot for Jacob Shin wrote: Commit-ID: 757885e94a22bcc82beb9b1445c95218cb20ceab Gitweb: http://git.kernel.org/tip/757885e94a22bcc82beb9b1445c95218cb20ceab Author: Jacob Shin jacob.s...@amd.com AuthorDate: Thu, 30 May 2013 14:09:19 -0500

Re: [PATCH net/3.9] ipv6: ndisc: fix ndisc_send_redirect writing to the wrong skb

2013-05-31 Thread David Miller
From: Cong Wang xiyou.wangc...@gmail.com Date: Fri, 31 May 2013 11:23:11 +0800 On Fri, May 31, 2013 at 9:27 AM, Matthias Schiffer mschif...@universe-factory.net wrote: Since some refactoring in 5f5a011, ndisc_send_redirect called ndisc_fill_redirect_hdr_option on the wrong skb, leading to

Re: [PATCH v2 1/4] ARM: davinci: dm365 evm: remove init_enable from ths7303 pdata

2013-05-31 Thread Prabhakar Lad
Hi Sekhar, On Sat, May 25, 2013 at 11:13 PM, Prabhakar Lad prabhakar.cse...@gmail.com wrote: Hi Sekhar, On Sat, May 25, 2013 at 11:09 PM, Prabhakar Lad prabhakar.cse...@gmail.com wrote: From: Lad, Prabhakar prabhakar.cse...@gmail.com remove init_enable from ths7303 pdata as it is being

Re: A bug about system call on ARM

2013-05-31 Thread Will Deacon
On Fri, May 31, 2013 at 04:54:56AM +0100, Nicolas Pitre wrote: On Thu, 30 May 2013, Will Deacon wrote: On Thu, May 30, 2013 at 10:09:49AM +0100, Will Deacon wrote: On Thu, May 30, 2013 at 02:41:42AM +0100, Wang, Yalin wrote: If you have some patch for this issue, I can do the test

Re: [PATCH 2/2] spi: convert drivers to use bits_per_word_mask

2013-05-31 Thread Arnd Bergmann
Can you check this part again: On Tuesday 21 May 2013 20:36:35 Stephen Warren wrote: diff --git a/drivers/spi/spi-pxa2xx.c b/drivers/spi/spi-pxa2xx.c index f5d84d6..7de2ca1 100644 --- a/drivers/spi/spi-pxa2xx.c +++ b/drivers/spi/spi-pxa2xx.c @@ -881,21 +881,6 @@ static int setup(struct

[PATCH 05/16] perf, persistent: Return resonable error code

2013-05-31 Thread Robert Richter
From: Robert Richter robert.rich...@calxeda.com Returning -ENODEV if no file descriptor is found. An error code of -1 (-EPERM) is misleading in this case. Signed-off-by: Robert Richter robert.rich...@calxeda.com --- kernel/events/persistent.c | 2 +- 1 file changed, 1 insertion(+), 1

Re: A bug about system call on ARM

2013-05-31 Thread Will Deacon
On Fri, May 31, 2013 at 03:56:31AM +0100, Wang, Yalin wrote: Hi Will, Thanks for your patch , But I found I don't have ct_user_exit macro In my arch/arm/kernel/entry-common.S My kernel version is 3.4.0 Well things have moved on this since then (we're approaching 3.10, so you might

[PATCH 01/16] perf, persistent: Fix build error for no-tracepoints configs

2013-05-31 Thread Robert Richter
From: Robert Richter robert.rich...@calxeda.com The mce_record tracepoint needs tracepoints to be enabled. Fixing build error for no-tracepoints configs. Signed-off-by: Robert Richter robert.rich...@calxeda.com --- arch/x86/kernel/cpu/mcheck/mce.c | 4 1 file changed, 4 insertions(+) diff

[PATCH 16/16] perf, persistent: Allow multiple users for an event

2013-05-31 Thread Robert Richter
From: Robert Richter robert.rich...@calxeda.com Usually a fd close leads to the release of the event too. For persistent events this is different as the events should be permanently enabled in the system. Using reference counting to avoid releasing an event during a fd close. This also allows it

[PATCH 06/16] perf, persistent: Return -EACCES if mapped buffers must be readonly

2013-05-31 Thread Robert Richter
From: Robert Richter robert.rich...@calxeda.com mmap should return EACCES error if fd can not be opened writable. This error code also helps userland to map buffers readonly on failure. Signed-off-by: Robert Richter robert.rich...@calxeda.com --- kernel/events/core.c | 2 +- 1 file changed, 1

[PATCH 07/16] perf, persistent: Rework struct pers_event_desc

2013-05-31 Thread Robert Richter
From: Robert Richter robert.rich...@calxeda.com Struct pers_event_desc is only used in kernel/events/persistent.c. Moving it there. Also, removing attr member as this is a copy of event-attr. Signed-off-by: Robert Richter robert.rich...@calxeda.com --- include/linux/perf_event.h | 7 ---

[PATCH 15/16] perf, persistent: Exposing persistent events using sysfs

2013-05-31 Thread Robert Richter
From: Robert Richter robert.rich...@calxeda.com Expose persistent events in the system to userland using sysfs. Perf tools are able to read existing pmu events from sysfs. Now we use a persistent pmu as an event container containing all registered persistent events of the system. This patch adds

[PATCH 12/16] perf, persistent: Avoid adding identical events

2013-05-31 Thread Robert Richter
From: Robert Richter robert.rich...@calxeda.com Check if an event already exists before adding it. Signed-off-by: Robert Richter robert.rich...@calxeda.com --- kernel/events/persistent.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/kernel/events/persistent.c

[PATCH 13/16] perf, persistent: Implementing a persistent pmu

2013-05-31 Thread Robert Richter
From: Robert Richter robert.rich...@calxeda.com We want to use the kernel's pmu design to later expose persistent events via sysfs to userland. Initially implement a persistent pmu. The format syntax is introduced allowing to set bits anywhere in struct perf_event_attr. This is used in this case

[PATCH 08/16] perf, persistent: Remove rb_put()

2013-05-31 Thread Robert Richter
From: Robert Richter robert.rich...@calxeda.com rb_put() is called already in perf_event_release_kernel(), so no need to do the same in del_persistent_event(). We also don't need it in add_persistent_event_on_cpu() after a rework. Since there are no users of rb_put() anymore, we can make it

[PATCH 14/16] perf, persistent: Name each persistent event

2013-05-31 Thread Robert Richter
From: Robert Richter robert.rich...@calxeda.com For later adding persistent events to sysfs we need a name for each event. Adding a name to each persistent event. Signed-off-by: Robert Richter robert.rich...@calxeda.com --- arch/x86/kernel/cpu/mcheck/mce.c | 3 ++- include/linux/perf_event.h

[PATCH 11/16] perf, persistent: Protect event lists with mutex

2013-05-31 Thread Robert Richter
From: Robert Richter robert.rich...@calxeda.com Protect esp. access to struct pers_event_desc *desc. There are race conditions possible where the descriptor could be removed from list while it is used. Signed-off-by: Robert Richter robert.rich...@calxeda.com --- kernel/events/persistent.c | 36

[PATCH 03/16] perf, persistent: Setting default buffer size to 512k as in perf tools

2013-05-31 Thread Robert Richter
From: Robert Richter robert.rich...@calxeda.com The default buffer size used to setup event buffers with perf tools is 512k. Using the same buffer size for persistent events. This also avoids failed mmap calls due to different buffer sizes. Signed-off-by: Robert Richter

[PATCH 10/16] perf, persistent: Reworking perf_get_persistent_event_fd()

2013-05-31 Thread Robert Richter
From: Robert Richter robert.rich...@calxeda.com There is already a function anon_inode_getfd() that does already all the work. Reworking and simplifying code. Signed-off-by: Robert Richter robert.rich...@calxeda.com --- kernel/events/persistent.c | 35 +++ 1 file

[PATCH 04/16] perf, persistent: Print error code on failure when adding events

2013-05-31 Thread Robert Richter
From: Robert Richter robert.rich...@calxeda.com Improve error reporting. Signed-off-by: Robert Richter robert.rich...@calxeda.com --- kernel/events/persistent.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kernel/events/persistent.c b/kernel/events/persistent.c

[PATCH 00/16] perf, persistent: Kernel updates for perf tool integration

2013-05-31 Thread Robert Richter
From: Robert Richter robert.rich...@calxeda.com This patch set implements out of the box support of perf tools for persistent events. For this the kernel must provide necessary information about existing persistent events via sysfs to userland. Persistent events are provided by the kernel with

[PATCH 09/16] perf, persistent: Introduce get_persistent_event()

2013-05-31 Thread Robert Richter
From: Robert Richter robert.rich...@calxeda.com Reducing duplicate code by introducing function get_persistent_event() to get the descriptor of an persistent event. Signed-off-by: Robert Richter robert.rich...@calxeda.com --- kernel/events/persistent.c | 37 ++---

Re: [PATCH] cpufreq: ondemand: Change the calculation of target frequency

2013-05-31 Thread Viresh Kumar
Sorry for joining the party so late.. I was running away from reviewing it :( On 31 May 2013 02:37, Stratos Karafotis strat...@semaphore.gr wrote: Ondemand calculates load in terms of frequency and increases it only if the load_freq is greater than up_threshold multiplied by current or average

[PATCH 02/16] perf, persistent: Fix attr size

2013-05-31 Thread Robert Richter
From: Robert Richter robert.rich...@calxeda.com Fixing wrongly determined attribute size. Signed-off-by: Robert Richter robert.rich...@calxeda.com --- kernel/events/persistent.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/events/persistent.c

[RFC][PATCH 0/2] dma-buf: add importer private data for reimporting

2013-05-31 Thread Seung-Woo Kim
importer private data in dma-buf attachment can be used by importer to reimport same dma-buf. Seung-Woo Kim (2): dma-buf: add importer private data to attachment drm/prime: find gem object from the reimported dma-buf drivers/base/dma-buf.c | 31

[RFC][PATCH 2/2] drm/prime: find gem object from the reimported dma-buf

2013-05-31 Thread Seung-Woo Kim
Reimported dma-buf can reuse same gem object only when prime import is done with same drm open context. So prime import is done with other drm open context, gem object is newly created and mapped even there is already mapped gem object. To avoid recreating gem object, importer private data can be

[RFC][PATCH 1/2] dma-buf: add importer private data to attachment

2013-05-31 Thread Seung-Woo Kim
dma-buf attachment has only exporter private data, but importer private data can be useful for importer especially to re-import the same dma-buf. To use importer private data in attachment of the device, the function to search attachment in the attachment list of dma-buf is also added.

Re: [PATCH] cpufreq: ondemand: Change the calculation of target frequency

2013-05-31 Thread Viresh Kumar
On 31 May 2013 02:37, Stratos Karafotis strat...@semaphore.gr wrote: Ahh.. earlier mail got sent without me doing complete review :( diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c +static void od_check_cpu(int cpu, unsigned int load) { struct od_cpu_dbs_info_s

[PATCH v5 1/2] watchdog: New watchdog driver for MEN A21 watchdogs

2013-05-31 Thread Johannes Thumshirn
This patch adds the driver for the watchdog devices found on MEN Mikro Elektronik A21 VMEbus CPU Carrier Boards. It has DT-support and uses the watchdog framework. Revision 2: * Removed unneeded open flag in struct a21_wdt_drv * Corrected 3bit reason code from gpio * Additional sysfs files are

[PATCH v2 2/2] This patch adds a sysfs interface for the watchdog device found on MEN A21 Boards.

2013-05-31 Thread Johannes Thumshirn
The newly generated files are: * rebootcause: Can be one of: Power on Reset, CPU Reset Request, Push Button, FPGA Reset Request, Watchdog, Local Power Bad, Invalid or BDI and shows the reason of the boards last reboot. * active: Shows if the watchdog CPLD is actually running * allow_disable:

Re: [PATCH v5 1/2] watchdog: New watchdog driver for MEN A21 watchdogs

2013-05-31 Thread Johannes Thumshirn
On Fri, May 31, 2013 at 10:58:48AM +0200, Johannes Thumshirn wrote: This patch adds the driver for the watchdog devices found on MEN Mikro Elektronik A21 VMEbus CPU Carrier Boards. It has DT-support and uses the watchdog framework. [...] +MODULE_DESCRIPTION(MEN A21 Watchdog);

Re: [PATCH 01/16] perf, persistent: Fix build error for no-tracepoints configs

2013-05-31 Thread Borislav Petkov
On Fri, May 31, 2013 at 10:47:21AM +0200, Robert Richter wrote: From: Robert Richter robert.rich...@calxeda.com The mce_record tracepoint needs tracepoints to be enabled. Fixing build error for no-tracepoints configs. Signed-off-by: Robert Richter robert.rich...@calxeda.com ---

  1   2   3   4   5   6   7   8   9   10   >