Re: [PATCH part1 v5 5/7] PCI: Add pci_dummy_ops to isolate pci device temporarily

2014-02-10 Thread Yijing Wang
Hi Oliver, Thanks for your review and comments! +static DEFINE_SPINLOCK(pci_freeze_lock); The lock is used only here. Also be used in pci_bus_unfreeze_device(); +/** + * pci_bus_freeze_device - freeze pci bus to access pci device + * @bus: the pci bus to freeze + * + * Replace pci

[PATCH v14 0/9] Add 32 bit VDSO time function support

2014-02-10 Thread stefani
From: Stefani Seibold stef...@seibold.net This patch add the functions vdso_gettimeofday(), vdso_clock_gettime() and vdso_time() to the 32 bit VDSO. The reason to do this was to get a fast reliable time stamp. Many developers uses TSC to get a fast time stamp, without knowing the pitfalls. VDSO

[PATCH v14 3/9] revamp vclock_gettime.c

2014-02-10 Thread stefani
From: Stefani Seibold stef...@seibold.net This intermediate patch revamps the vclock_gettime.c by moving some functions around. It is only for spliting purpose, to make whole the 32 bit vdso timer patch easier to review. Signed-off-by: Stefani Seibold stef...@seibold.net ---

[PATCH v14 4/9] vclock_gettime.c __vdso_clock_gettime cleanup

2014-02-10 Thread stefani
From: Stefani Seibold stef...@seibold.net This patch is a small code cleanup for the __vdso_clock_gettime() function. It removes the unneeded return values from do_monotonic_coarse() and do_realtime_coarse() and add a fallback label for doing the kernel gettimeofday() system call.

[PATCH v14 2/9] Add new func _install_special_mapping() to mmap.c

2014-02-10 Thread stefani
From: Stefani Seibold stef...@seibold.net The _install_special_mapping() is the new base function for install_special_mapping(). This function will return a pointer of the created VMA or a error code in an ERR_PTR() This new function will be needed by the for the vdso 32 bit support to map the

[PATCH v14 6/9] cleanup __vdso_gettimeofday

2014-02-10 Thread stefani
From: Stefani Seibold stef...@seibold.net This patch do a little cleanup for the __vdso_gettimeofday() function. It kick out an unneeded ret local variable and makes the code faster if only the timezone is needed. Signed-off-by: Stefani Seibold stef...@seibold.net ---

[PATCH v14 8/9] Add 32 bit VDSO time support for 32 bit kernel

2014-02-10 Thread stefani
From: Stefani Seibold stef...@seibold.net This patch add the time support for 32 bit a VDSO to a 32 bit kernel. For 32 bit programs running on a 32 bit kernel, the same mechanism is used as for 64 bit programs running on a 64 bit kernel. Signed-off-by: Stefani Seibold stef...@seibold.net ---

[PATCH v14 7/9] introduce VVAR marco for vdso32

2014-02-10 Thread stefani
From: Stefani Seibold stef...@seibold.net This patch revamp the vvar.h for introduce the VVAR macro for vdso32. Signed-off-by: Stefani Seibold stef...@seibold.net --- arch/x86/include/asm/vvar.h | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git

[PATCH v14 5/9] replace VVAR(vsyscall_gtod_data) by gtod macro

2014-02-10 Thread stefani
From: Stefani Seibold stef...@seibold.net There a currently more than 30 users of the gtod macro, so replace the last VVAR(vsyscall_gtod_data) by gtod macro. Signed-off-by: Stefani Seibold stef...@seibold.net --- arch/x86/vdso/vclock_gettime.c | 6 +++--- 1 file changed, 3 insertions(+), 3

[PATCH v14 1/9] Make vsyscall_gtod_data handling x86 generic

2014-02-10 Thread stefani
From: Stefani Seibold stef...@seibold.net This patch move the vsyscall_gtod_data handling out of vsyscall_64.c into an additonal file vsyscall_gtod.c to make the functionality available for x86 32 bit kernel. It also adds a new vsyscall_32.c which setup the VVAR page. Signed-off-by: Stefani

[PATCH v14 9/9] Add 32 bit VDSO time support for 64 bit kernel

2014-02-10 Thread stefani
From: Stefani Seibold stef...@seibold.net This patch add the VDSO time support for the IA32 Emulation Layer. Due the nature of the kernel headers and the LP64 compiler where the size of a long and a pointer differs against a 32 bit compiler, there is some type hacking necessary for optimal

[PATCH v3] mfd: MAX6650/6651 support

2014-02-10 Thread Laszlo Papp
MAX6650/MAX6651 chip is a multi-function device with I2C busses. The chip includes fan-speed regulators and monitors, GPIO, and alarm. This patch is an initial release of a MAX6650/6651 MFD driver that supports to enable the chip with its primary I2C bus that will connect the hwmon, and then the

Re: [PATCH] ASoC: fsl-esai: fix ESAI TDM slot setting

2014-02-10 Thread Nicolin Chen
On Mon, Feb 10, 2014 at 02:47:17PM +0800, Xiubo Li wrote: Cc: Nicolin Chen guangyu.c...@freescale.com Signed-off-by: Xiubo Li li.xi...@freescale.com --- sound/soc/fsl/fsl_esai.c | 4 ++-- sound/soc/fsl/fsl_esai.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git

Re: [PATCHSET 00/21] perf tools: Add support to accumulate hist periods (v8)

2014-02-10 Thread Jiri Olsa
On Fri, Feb 07, 2014 at 10:35:02AM +0900, Namhyung Kim wrote: SNIP Namhyung Kim (21): perf tools: Introduce struct hist_entry_iter perf hists: Add support for accumulated stat of hist entry perf hists: Check if accumulated when adding a hist entry perf hists: Accumulate hist

Support for automatic screen rotation on Lenovo Yogo 2 Pro

2014-02-10 Thread Nico Schottelius
Good morning hackers, The screen on the Lenovo Yoga 2 Pro can rotate up to 180 degrees and it would be awesome if we could rotate it automatically under Linux. xrandr can already rotate it, what is missing is an event that we can trigger on. Is there any way to find out a) if the screen

Re: [PATCH] pinctrl: capri: Make capri_pinctrl_probe static

2014-02-10 Thread Linus Walleij
On Fri, Feb 7, 2014 at 8:01 PM, Christian Daudt b...@fixthebug.org wrote: On Fri, Feb 7, 2014 at 10:35 AM, Christian Daudt b...@fixthebug.org wrote: On Thu, Feb 6, 2014 at 1:21 AM, Linus Walleij linus.wall...@linaro.org wrote: On Tue, Feb 4, 2014 at 9:13 PM, Sherman Yin s...@broadcom.com

Re: [RFC PATCH V5] mm readahead: Fix readahead fail for no local memory and limit readahead pages

2014-02-10 Thread Raghavendra K T
On 02/08/2014 02:11 AM, David Rientjes wrote: On Fri, 7 Feb 2014, Raghavendra K T wrote: 3) Change the readahead into remote memory part of the documentation which is misleading. ( I feel no need to add numa_mem_id() since we would specifically limit the readahead with MAX_REMOTE_READAHEAD in

Re: 3.12: ethernet controller missing after resuming from suspend to RAM

2014-02-10 Thread Francis Moreau
On 02/09/2014 07:44 PM, Bastien Traverse wrote: Le 07/02/2014 02:19, Rafael J. Wysocki a écrit : Please send the output of lspci -vv right before suspend and right after the subsequent resume as attachments. You'll find them attached, but I got a strange error when I wanted to run it as

RE: [PATCH] ASoC: fsl-esai: fix ESAI TDM slot setting

2014-02-10 Thread li.xi...@freescale.com
diff --git a/sound/soc/fsl/fsl_esai.h b/sound/soc/fsl/fsl_esai.h index 9c9f957..75e1403 100644 --- a/sound/soc/fsl/fsl_esai.h +++ b/sound/soc/fsl/fsl_esai.h @@ -322,7 +322,7 @@ #define ESAI_xSMB_xS_SHIFT 0 #define ESAI_xSMB_xS_WIDTH 16 #define ESAI_xSMB_xS_MASK (((1

Re: [PATCH 7/9] mm: Mark functions as static in page_cgroup.c

2014-02-10 Thread Michal Hocko
On Fri 07-02-14 17:41:34, Rashika Kheria wrote: Mark functions as static in page_cgroup.c because they are not used outside this file. This eliminates the following warning in mm/page_cgroup.c: mm/page_cgroup.c:177:6: warning: no previous prototype for ‘__free_page_cgroup’

Re: [RFC PATCH V5 RESEND] mm readahead: Fix readahead fail for no local memory and limit readahead pages

2014-02-10 Thread Raghavendra K T
* Andrew Morton a...@linux-foundation.org [2014-02-06 14:51:05]: On Wed, 22 Jan 2014 16:23:45 +0530 Raghavendra K T raghavendra...@linux.vnet.ibm.com wrote: Looks reasonable to me. Please send along a fixed up changelog. Hi Andrew, Sorry took some time to get and measure benefit on

[PATCH 2/2] genirq: Fix one typo chasnge

2014-02-10 Thread Chuansheng Liu
Change the comment chasnge to change. Signed-off-by: Chuansheng Liu chuansheng@intel.com --- kernel/irq/manage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c index 481a13c..4802295 100644 --- a/kernel/irq/manage.c +++

RE: [PATCH] ASoC: fsl-esai: fix ESAI TDM slot setting

2014-02-10 Thread li.xi...@freescale.com
Sorry, my misunderstanding about your comment. Please ignore the last mail. I will send v2 of this patch. Thanks very much. diff --git a/sound/soc/fsl/fsl_esai.h b/sound/soc/fsl/fsl_esai.h index 9c9f957..75e1403 100644 --- a/sound/soc/fsl/fsl_esai.h +++ b/sound/soc/fsl/fsl_esai.h

[PATCH 1/2] genirq: Fix the possible synchronize_irq() wait-forever

2014-02-10 Thread Chuansheng Liu
There is below race between irq handler and irq thread: irq handler irq thread irq_wake_thread() irq_thread() set bit RUNTHREAD ...clear bit RUNTHREAD thread_fn()

Re: [PATCH v3] phy: Add new Exynos5 USB 3.0 PHY driver

2014-02-10 Thread Kishon Vijay Abraham I
Hi, On Thursday 06 February 2014 07:37 PM, Tomasz Figa wrote: Hi Vivek, This patch is just adding the PHY driver. I would also like to look at some users of it, to see how this works when put together. For now, please see my comments inline. On 20.01.2014 14:42, Vivek Gautam wrote:

Re: [PATCH] net: rfkill-regulator: Add devicetree support.

2014-02-10 Thread Johannes Berg
On Fri, 2014-02-07 at 20:48 +0100, Marek Belisko wrote: +#define RFKILL_TYPE_ALL (0) +#define RFKILL_TYPE_WLAN (1) +#define RFKILL_TYPE_BLUETOOTH(2) +#define RFKILL_TYPE_UWB (3) +#define RFKILL_TYPE_WIMAX(4) +#define RFKILL_TYPE_WWAN (5)

Re: [PATCH] ASoC: fsl-esai: fix ESAI TDM slot setting

2014-02-10 Thread Nicolin Chen
On Mon, Feb 10, 2014 at 04:24:43PM +0800, Xiubo Li-B47053 wrote: Sorry, my misunderstanding about your comment. Please ignore the last mail. I will send v2 of this patch. No, you don't need to. Just rechecked it with RM. Your patch is correct. I forgot I used A's WIDTH intentionally at

RE: [PATCH 0/5] Enabling the asynchronous threads for other phases

2014-02-10 Thread Liu, Chuansheng
Hello Rafael, -Original Message- From: Rafael J. Wysocki [mailto:r...@rjwysocki.net] Sent: Thursday, February 06, 2014 5:53 AM To: Liu, Chuansheng Cc: gre...@linuxfoundation.org; pa...@ucw.cz; Brown, Len; linux...@vger.kernel.org; linux-kernel@vger.kernel.org; Li, Zhuangzhi

Re: [PATCH 09/14] perf, x86: Save/resotre LBR stack during context switch

2014-02-10 Thread Yan, Zheng
On 02/06/2014 11:09 PM, Stephane Eranian wrote: On Wed, Feb 5, 2014 at 6:45 PM, Stephane Eranian eran...@google.com wrote: On Fri, Jan 3, 2014 at 6:48 AM, Yan, Zheng zheng.z@intel.com wrote: When the LBR call stack is enabled, it is necessary to save/restore the LBR stack on context

Re: [PATCH 24/28] Remove DEPRECATED

2014-02-10 Thread Geert Uytterhoeven
On Sun, Feb 9, 2014 at 9:21 PM, Richard Weinberger rich...@nod.at wrote: Am 09.02.2014 21:15, schrieb Paul Bolle: On Sun, 2014-02-09 at 21:04 +0100, Richard Weinberger wrote: Am 09.02.2014 20:38, schrieb Paul Bolle: But now you've enabled a lot of stuff that, as far as I can tell, could not

Re: [RFC PATCH] ARM: Add imprecise abort enable/disable macro

2014-02-10 Thread Fabrice Gasnier
On 02/07/2014 06:09 PM, Will Deacon wrote: On Fri, Feb 07, 2014 at 04:19:15PM +, Fabrice GASNIER wrote: This patch adds imprecise abort enable/disable macros. It also enables imprecise aborts when starting kernel. Signed-off-by: Fabrice Gasnier fabrice.gasn...@st.com ---

Re: [PATCH 24/28] Remove DEPRECATED

2014-02-10 Thread Richard Weinberger
Am 10.02.2014 09:49, schrieb Geert Uytterhoeven: On Sun, Feb 9, 2014 at 9:21 PM, Richard Weinberger rich...@nod.at wrote: Am 09.02.2014 21:15, schrieb Paul Bolle: On Sun, 2014-02-09 at 21:04 +0100, Richard Weinberger wrote: Am 09.02.2014 20:38, schrieb Paul Bolle: But now you've enabled a lot

[PATCH V5 4/8] phy: st-miphy-40lp: Add skeleton driver

2014-02-10 Thread Mohit Kumar
From: Pratyush Anand pratyush.an...@st.com ST miphy-40lp supports PCIe, SATA and Super Speed USB. This driver adds skeleton support for the same. This skeleton defines function corresponding to phy ops as well as sleep pm ops. Any platform using this phy can add its own platform specific ops(if

[PATCH V5 6/8] phy: st-miphy-40lp: Add SPEAr1310 and SPEAr1340 PCIe phy support

2014-02-10 Thread Mohit Kumar
From: Pratyush Anand pratyush.an...@st.com SPEAr1310 and SPEAr1340 uses miphy40lp phy for PCIe. This driver adds support for the same. Signed-off-by: Pratyush Anand pratyush.an...@st.com Tested-by: Mohit Kumar mohit.ku...@st.com Cc: Arnd Bergmann a...@arndb.de Cc: Kishon Vijay Abraham I

[PATCH V5 5/8] SPEAr13xx: Fixup: Move SPEAr1340 SATA platform code to phy driver

2014-02-10 Thread Mohit Kumar
From: Pratyush Anand pratyush.an...@st.com ahci driver needs some platform specific functions which are called at init, exit, suspend and resume conditions. Till now these functions were present in a platform driver with a fixme notes. Similar functions modifying same set of registers will also

Re: [Update][PATCH 2/2] clocksource: Make clocksource register functions void

2014-02-10 Thread Preeti Murthy
Hi Yijing, For the powerpc part: Acked-by: Preeti U Murthy pre...@linux.vnet.ibm.com On Mon, Feb 10, 2014 at 7:28 AM, Yijing Wang wangyij...@huawei.com wrote: Currently, clocksource_register() and __clocksource_register_scale() functions always return 0, it's pointless, make functions void.

Re: [PATCH] [trivial] alsa: Fix typos in alsa-driver-api.xml

2014-02-10 Thread Takashi Iwai
At Sun, 9 Feb 2014 00:47:36 +0900, Masanari Iida wrote: This patch fixed 2 typos in DocBook/alsa-driver-api.xml. It is because this file is generated by make xmldocs, I have to fix typos within source files. Signed-off-by: Masanari Iida standby2...@gmail.com Thanks, applied. Takashi

xfrm: is pmtu broken with ESP tunneling?

2014-02-10 Thread Ortwin Glück
Hi, I am using Openswan to configure an IPSec VPN (using the xfrm/netkey backend). Large HTTP POST requests from the client seem to get stuck, because the outgoing packets are 1530 bytes (before being wrapped into ESP packets). The problem goes away by setting sysctl

Re: [PATCH] ieee80211: Print human-readable disassoc/deauth reason codes

2014-02-10 Thread Jouni Malinen
On Wed, Feb 05, 2014 at 07:44:48PM -0600, Calvin Owens wrote: Create a function to return a descriptive string for each reason code, and print that instead of the numeric value in the kernel log. These codes are easily found on popular search engines, but one is generally not able to access

Re: [PATCH 1/2] genirq: Fix the possible synchronize_irq() wait-forever

2014-02-10 Thread Thomas Gleixner
On Mon, 10 Feb 2014, Chuansheng Liu wrote: There is below race between irq handler and irq thread: irq handler irq thread irq_wake_thread() irq_thread() set bit RUNTHREAD ...clear bit RUNTHREAD

Re: [PATCH] net: rfkill-regulator: Add devicetree support.

2014-02-10 Thread Dr. H. Nikolaus Schaller
Am 10.02.2014 um 09:27 schrieb Johannes Berg: On Fri, 2014-02-07 at 20:48 +0100, Marek Belisko wrote: +#define RFKILL_TYPE_ALL (0) +#define RFKILL_TYPE_WLAN(1) +#define RFKILL_TYPE_BLUETOOTH (2) +#define RFKILL_TYPE_UWB (3) +#define RFKILL_TYPE_WIMAX

Re: [RFC PATCH] ARM: Add imprecise abort enable/disable macro

2014-02-10 Thread Ben Dooks
On 10/02/14 08:50, Fabrice Gasnier wrote: On 02/07/2014 06:09 PM, Will Deacon wrote: On Fri, Feb 07, 2014 at 04:19:15PM +, Fabrice GASNIER wrote: This patch adds imprecise abort enable/disable macros. It also enables imprecise aborts when starting kernel. Signed-off-by: Fabrice Gasnier

Re: [PATCH v2] ARM: at91: add Atmel's SAMA5D3 Xplained board

2014-02-10 Thread Nicolas Ferre
On 07/02/2014 18:19, Jean-Christophe PLAGNIOL-VILLARD : On 15:37 Fri 07 Feb , Nicolas Ferre wrote: On 07/02/2014 09:01, Jean-Christophe PLAGNIOL-VILLARD : On 09:35 Wed 05 Feb , Nicolas Ferre wrote: Add DT file for new SAMA5D3 Xpained board. This board is based on Atmel's SAMA5D36

Re: [PATCH] RFC: MFD: driver for Atmel Microcontroller on iPaq h3xxx

2014-02-10 Thread Linus Walleij
On Fri, Jan 31, 2014 at 2:34 PM, Linus Walleij linus.wall...@linaro.org wrote: This adds a driver for the Atmel Microcontroller found on the iPAQ h3xxx series. This device handles some keys, the touchscreen, and the battery monitoring. Any opinions on this driver or should we queue it in MFD

Re: [PATCH net] hyperv: Fix the carrier status setting

2014-02-10 Thread Dan Carpenter
On Sun, Feb 09, 2014 at 05:07:58PM -0800, Haiyang Zhang wrote: Signed-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: K. Y. Srinivasan k...@microsoft.com Changelog sucks. What are the user visible effects of this bug? regards, dan carpenter -- To unsubscribe from this list: send

[PATCH 0/3 V2] sched: Collect the bits about priority into a new header file, include/linux/sched/prio.h.

2014-02-10 Thread Dongsheng Yang
Hi Peter, This patchset is version 2 about priority of sched. Please help to review. Sorry for the late update about it, coming back from vacation. v2: * leave the task_prio() in kernel/sched/core.c * remove macro TASK_NICE and implement it as static inline

[PATCH 2/3] sched: Expose some macros related with priority.

2014-02-10 Thread Dongsheng Yang
Some macros in kernel/sched/sched.h about priority are private to kernel/sched. But they are useful to other parts of the core kernel. This patch move these macros from kernel/sched/sched.h to include/linux/sched/prio.h so that they are available to other subsystems. Signed-off-by: Dongsheng

[PATCH 1/3] sched: Move the priority specific bits into a new header file.

2014-02-10 Thread Dongsheng Yang
Some bits about priority are defined in linux/sched/rt.h, but some of them are not only for rt scheduler, such as MAX_PRIO. This patch move them all into a new header file, linux/sched/prio.h. Signed-off-by: Dongsheng Yang yangds.f...@cn.fujitsu.com --- include/linux/sched.h | 1 +

[PATCH 3/3] sched: Implement task_nice as static inline function.

2014-02-10 Thread Dongsheng Yang
As commit 0e0c0797 expose the priority related macros in linux/sched/prio.h, we don't have to implement task_nice in kernel/sched/core.c any more. This patch implement it in linux/sched/sched.h as static inline function, saving the kernel stack and enhancing the performance. Signed-off-by:

Re: [PATCH] staging : android : fix checkpatch issues

2014-02-10 Thread Dan Carpenter
On Mon, Feb 10, 2014 at 10:59:14AM +0900, Daeseok Youn wrote: @@ -1376,14 +1376,14 @@ static int ion_debug_heap_show(struct seq_file *s, void *unused) } } mutex_unlock(dev-buffer_lock); - seq_printf(s, \n); +

Re: [btrfs] BUG: unable to handle kernel NULL pointer dereference at 0000000000000038

2014-02-10 Thread Fengguang Wu
Hi Filipe, If you disable CONFIG_BTRFS_FS_RUN_SANITY_TESTS, does it still crash? I tried disabling CONFIG_BTRFS_FS_RUN_SANITY_TESTS in the reported 3 randconfigs and they all boot fine. Thanks, Fengguang -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a

Re: [PATCH 1/2] pinctrl-msm: Add SPI8 pin definitions

2014-02-10 Thread Linus Walleij
On Thu, Feb 6, 2014 at 4:28 PM, Ivan T. Ivanov iiva...@mm-sol.com wrote: From: Ivan T. Ivanov iiva...@mm-sol.com Add pin, group and function definitions for SPI#8 controller. Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com Björn can I have your ACK on this patch? Yours, Linus Walleij --

Re: [PATCH 01/51] CPU hotplug: Provide lockless versions of callback registration functions

2014-02-10 Thread Srivatsa S. Bhat
Hi Gautham, On 02/08/2014 12:41 AM, Gautham R Shenoy wrote: On Thu, Feb 06, 2014 at 07:41:03PM +0100, Oleg Nesterov wrote: On 02/06, Srivatsa S. Bhat wrote: The following method of CPU hotplug callback registration is not safe due to the possibility of an ABBA deadlock involving the

Re: [PATCH v3 2/2] Binding: atmel-ssc: add option to choose clock

2014-02-10 Thread Nicolas Ferre
On 10/02/2014 07:09, Bo Shen : Add the option to choose clock on which pin input to SSC (as slave). Default is on TK pin to SSC, add atmel,clk-from-rk-pin option to specify the clock is on RK pin to SSC. Signed-off-by: Bo Shen voice.s...@atmel.com Acked-by: Nicolas Ferre

Re: [PATCH v3 1/2] ASoC: atmel_ssc_dai: make option to choose clock

2014-02-10 Thread Nicolas Ferre
On 10/02/2014 07:09, Bo Shen : When SSC works in slave mode, according to the hardware design, the clock can get from TK pin, also can get from RK pin. So, add one parameter to choose where the clock from. Signed-off-by: Bo Shen voice.s...@atmel.com Acked-by: Nicolas Ferre

Re: [PATCH V2 2/3] sched: Fix race in idle_balance()

2014-02-10 Thread Preeti Murthy
HI Daniel, Isn't the only scenario where another cpu can put an idle task on our runqueue, in nohz_idle_balance() where only the cpus in the nohz.idle_cpus_mask are iterated through. But for the case that this patch is addressing, the cpu in question is not yet a part of the nohz.idle_cpus_mask

Re: [btrfs] BUG: unable to handle kernel NULL pointer dereference at 0000000000000038

2014-02-10 Thread Fengguang Wu
On Sat, Feb 08, 2014 at 03:10:37PM -0500, Tejun Heo wrote: Hello, David, Fengguang, Chris. On Fri, Feb 07, 2014 at 01:13:06PM -0800, David Rientjes wrote: On Fri, 7 Feb 2014, Fengguang Wu wrote: On Fri, Feb 07, 2014 at 02:13:59AM -0800, David Rientjes wrote: On Fri, 7 Feb 2014,

[PATCH V5 0/8]PCI:Add SPEAr13xx PCie support

2014-02-10 Thread Mohit Kumar
From: Pratyush Anand pratyush.an...@st.com First three patches are improvement and fixes for SPEAr13xx support. Patches 4-6 add miphy40lp skelten driver and support for spear1310/40 miphy wrapper. Patch 7 add support for SPEAr13xx PCIe. These pathes are tested with linux-3.14-rc1 with following

Re: [rtc-linux] [PATCH 1/4] rtc: rtc-coh901331: Use devm_ioremap_resource()

2014-02-10 Thread Linus Walleij
On Fri, Feb 7, 2014 at 8:55 AM, Jingoo Han jg1@samsung.com wrote: Use devm_ioremap_resource() in order to make the code simpler, and remove redundant return value check of platform_get_resource() because the value is checked by devm_ioremap_resource(). Signed-off-by: Jingoo Han

WARNING: Unnecessary parentheses - maybe == should be = ?

2014-02-10 Thread Dan Carpenter
These messages are terrifying... We do not want to encourage a million first patch submitters to start introducing = vs == bugs. Did you look through the warning messages this generates? Was it ever appropriate to change the == to =? Please remove the second part of that message. Also there

Re: [PATCH-v2 1/3] percpu_ida: Make percpu_ida_alloc + callers accept task state bitmask

2014-02-10 Thread Alexander Gordeev
On Thu, Jan 23, 2014 at 05:22:54PM +0100, Peter Zijlstra wrote: On Thu, Jan 23, 2014 at 05:28:29AM -0800, Kent Overstreet wrote: pool-lock is also going to be fairly badly contended in the worst case, and that can get real bad real fast... now that I think about it we probably want to avoid

Re: [PATCH RFC/RFT v2 3/8] s390: move cacheinfo sysfs to generic cacheinfo infrastructure

2014-02-10 Thread Heiko Carstens
On Fri, Feb 07, 2014 at 04:49:18PM +, Sudeep Holla wrote: From: Sudeep Holla sudeep.ho...@arm.com This patch removes the redundant sysfs cacheinfo code by making use of the newly introduced generic cacheinfo infrastructure. Signed-off-by: Sudeep Holla sudeep.ho...@arm.com Cc: Martin

Re: make oldfonfig broken.

2014-02-10 Thread Gene Heskett
On Monday 10 February 2014, Randy Dunlap wrote: [...] Gene, I want to make sure where you are saying the problem is. Is it going directly from 3.019 to 3.8.2, with no intervening kernel versions? No, one intermediate step in this case. I started with 3.0.19, which was fine, took that one

[PATCH] MAINTAINERS: Update email address for bhalevy

2014-02-10 Thread Benny Halevy
Tonian is now Primary Data. Signed-off-by: Benny Halevy bhal...@primarydata.com --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 6a6e4ac..b42174d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -6336,7 +6336,7 @@ F:

Re: [PATCH 2/2] gpiolib: ACPI: remove gpio_to_desc() usage

2014-02-10 Thread Mika Westerberg
On Sun, Feb 09, 2014 at 05:43:55PM +0900, Alexandre Courbot wrote: gpio_to_desc() must die. Replace one of its usage by the newly-introduced gpiochip_get_desc() function. Signed-off-by: Alexandre Courbot acour...@nvidia.com --- Mika, can we have your review on this? Sure, looks good.

Re: [PATCH 1/2] gpiolib: add gpiochip_get_desc() driver function

2014-02-10 Thread Mika Westerberg
On Sun, Feb 09, 2014 at 05:43:54PM +0900, Alexandre Courbot wrote: Some drivers dealing with a gpio_chip might need to act on its descriptors directly; one example is pinctrl drivers that need to lock a GPIO for being used as IRQ using gpiod_lock_as_irq(). This patch exports a

Re: [PATCH 2/7] ARM: lpc32xx: don't select HAVE_PWM

2014-02-10 Thread Roland Stigge
On 10/02/14 02:09, Jingoo Han wrote: The HAVE_PWM symbol is only for legacy platforms that provide the PWM API without using the generic framework. The lpc32xx platforms use the generic PWM framework, after the commit 2132fa8 pwm: add lpc32xx PWM support. Signed-off-by: Jingoo Han

[PATCH 09/17] i2c: i2c-mv64xxx: deprecate class based instantiation

2014-02-10 Thread Wolfram Sang
Warn users that class based instantiation is going away soon in favour of more robust probing and faster bootup times. Signed-off-by: Wolfram Sang w...@the-dreams.de --- This patch is a suggestion. Looking for an ack by someone who actually uses the driver. drivers/i2c/busses/i2c-mv64xxx.c | 2

[PATCH 03/17] i2c: i2c-omap: deprecate class based instantiation

2014-02-10 Thread Wolfram Sang
Warn users that class based instantiation is going away soon in favour of more robust probing and faster bootup times. Signed-off-by: Wolfram Sang w...@the-dreams.de Cc: Jean Delvare kh...@linux-fr.org --- drivers/i2c/busses/i2c-omap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: [RFC PATCH V5] mm readahead: Fix readahead fail for no local memory and limit readahead pages

2014-02-10 Thread David Rientjes
On Mon, 10 Feb 2014, Raghavendra K T wrote: As you rightly pointed , I 'll drop remote memory term and use something like : * Ensure readahead success on a memoryless node cpu. But we limit * the readahead to 4k pages to avoid trashing page cache. .. I don't know how to proceed here

[PATCH 16/17] i2c: i2c-tegra: deprecate class based instantiation

2014-02-10 Thread Wolfram Sang
Warn users that class based instantiation is going away soon in favour of more robust probing and faster bootup times. Signed-off-by: Wolfram Sang w...@the-dreams.de Cc: Laxman Dewangan ldewan...@nvidia.com Cc: Stephen Warren swar...@wwwdotorg.org Cc: Thierry Reding thierry.red...@gmail.com ---

[PATCH 17/17] i2c: i2c-xiic: deprecate class based instantiation

2014-02-10 Thread Wolfram Sang
Warn users that class based instantiation is going away soon in favour of more robust probing and faster bootup times. Signed-off-by: Wolfram Sang w...@the-dreams.de --- This patch is a suggestion. Looking for an ack by someone who actually uses the driver. drivers/i2c/busses/i2c-xiic.c | 2 +-

[PATCH 14/17] i2c: i2c-sirf: deprecate class based instantiation

2014-02-10 Thread Wolfram Sang
Warn users that class based instantiation is going away soon in favour of more robust probing and faster bootup times. Signed-off-by: Wolfram Sang w...@the-dreams.de Cc: Barry Song bao...@kernel.org --- This patch is a suggestion. Looking for an ack by someone who actually uses the driver.

[PATCH 15/17] i2c: i2c-stu300: deprecate class based instantiation

2014-02-10 Thread Wolfram Sang
Warn users that class based instantiation is going away soon in favour of more robust probing and faster bootup times. Signed-off-by: Wolfram Sang w...@the-dreams.de Cc: Linus Walleij linus.wall...@linaro.org --- This patch is a suggestion. Looking for an ack by someone who actually uses the

Re: [RFC PATCH] rcu: move SRCU grace period work to power efficient workqueue

2014-02-10 Thread Lai Jiangshan
Acked-by: Lai Jiangshan la...@cn.fujitsu.com On 02/01/2014 03:53 AM, Zoran Markovic wrote: From: Shaibal Dutta shaibal.du...@broadcom.com For better use of CPU idle time, allow the scheduler to select the CPU on which the SRCU grace period work would be scheduled. This improves idle

Re: WARNING: CPU: 1 PID: 0 at kernel/time/tick-broadcast.c:668 tick_broadcast_oneshot_control+0x17d/0x190()

2014-02-10 Thread Thomas Gleixner
On Mon, 10 Feb 2014, poma wrote: [ 83.558551] [81025b17] amd_e400_idle+0x87/0x130 So this seems to happen only on AMD machines which use that e400 idle mode. I have no idea at the moment whats wrong there. I'll find one of those machines and try to reproduce. Thanks, tglx

[PATCH 13/17] i2c: i2c-s3c2410: deprecate class based instantiation

2014-02-10 Thread Wolfram Sang
Warn users that class based instantiation is going away soon in favour of more robust probing and faster bootup times. Signed-off-by: Wolfram Sang w...@the-dreams.de Cc: Ben Dooks ben-li...@fluff.org Cc: Kukjin Kim kgene@samsung.com --- This patch is a suggestion. Looking for an ack by

[PATCH 07/17] i2c: i2c-davinci: deprecate class based instantiation

2014-02-10 Thread Wolfram Sang
Warn users that class based instantiation is going away soon in favour of more robust probing and faster bootup times. Signed-off-by: Wolfram Sang w...@the-dreams.de Cc: Sekhar Nori nsek...@ti.com Cc: Kevin Hilman khil...@deeprootsystems.com --- This patch is a suggestion. Looking for an ack by

Re: [PATCH part1 v5 5/7] PCI: Add pci_dummy_ops to isolate pci device temporarily

2014-02-10 Thread Oliver Neukum
On Mon, 2014-02-10 at 15:59 +0800, Yijing Wang wrote: Hi Oliver, Thanks for your review and comments! +static DEFINE_SPINLOCK(pci_freeze_lock); The lock is used only here. Also be used in pci_bus_unfreeze_device(); Sorry, I meant only in this patch. +/** + *

[PATCH 12/17] i2c: i2c-rcar: deprecate class based instantiation

2014-02-10 Thread Wolfram Sang
Warn users that class based instantiation is going away soon in favour of more robust probing and faster bootup times. Signed-off-by: Wolfram Sang w...@the-dreams.de --- This patch is a suggestion. Looking for an ack by someone who actually uses the driver. drivers/i2c/busses/i2c-rcar.c | 2 +-

[PATCH 01/17] Documentation: i2c: describe devicetree method for instantiating devices

2014-02-10 Thread Wolfram Sang
Signed-off-by: Wolfram Sang w...@the-dreams.de Cc: devicet...@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org --- Documentation/i2c/instantiating-devices | 34 +++-- 1 file changed, 32 insertions(+), 2 deletions(-) diff --git

[PATCH 10/17] i2c: i2c-nomadik: deprecate class based instantiation

2014-02-10 Thread Wolfram Sang
Warn users that class based instantiation is going away soon in favour of more robust probing and faster bootup times. Signed-off-by: Wolfram Sang w...@the-dreams.de Cc: Alessandro Rubini rub...@unipv.it Cc: Linus Walleij linus.wall...@linaro.org --- This patch is a suggestion. Looking for an

[PATCH 08/17] i2c: i2c-designware-platdrv: deprecate class based instantiation

2014-02-10 Thread Wolfram Sang
Warn users that class based instantiation is going away soon in favour of more robust probing and faster bootup times. Signed-off-by: Wolfram Sang w...@the-dreams.de --- This patch is a suggestion. Looking for an ack by someone who actually uses the driver.

[PATCH 11/17] i2c: i2c-ocores: deprecate class based instantiation

2014-02-10 Thread Wolfram Sang
Warn users that class based instantiation is going away soon in favour of more robust probing and faster bootup times. Signed-off-by: Wolfram Sang w...@the-dreams.de Cc: Peter Korsgaard jac...@sunsite.dk --- This patch is a suggestion. Looking for an ack by someone who actually uses the driver.

[PATCH 06/17] i2c: i2c-bfin-twi: deprecate class based instantiation

2014-02-10 Thread Wolfram Sang
Warn users that class based instantiation is going away soon in favour of more robust probing and faster bootup times. Signed-off-by: Wolfram Sang w...@the-dreams.de Cc: Sonic Zhang sonic.zh...@analog.com --- This patch is a suggestion. Looking for an ack by someone who actually uses the driver.

Re: [PATCH V2 3/3] sched: Move idle_stamp up to the core

2014-02-10 Thread Preeti Murthy
Hi Daniel, On Fri, Feb 7, 2014 at 4:40 AM, Daniel Lezcano daniel.lezc...@linaro.org wrote: The idle_balance modifies the idle_stamp field of the rq, making this information to be shared across core.c and fair.c. As we can know if the cpu is going to idle or not with the previous patch, let's

[PATCH 05/17] i2c: i2c-bcm2835: deprecate class based instantiation

2014-02-10 Thread Wolfram Sang
Warn users that class based instantiation is going away soon in favour of more robust probing and faster bootup times. Signed-off-by: Wolfram Sang w...@the-dreams.de --- This patch is a suggestion. Looking for an ack by someone who actually uses the driver. drivers/i2c/busses/i2c-bcm2835.c | 2

[PATCH 02/17] i2c: add deprecation warning for class based instantiation

2014-02-10 Thread Wolfram Sang
Class based instantiation can cause noticeable delays when booting. This mechanism is used when it is not possible to describe slaves on I2C busses. As we do have other mechanisms, most embedded I2C will not need classes and for embedded it is explicitly not recommended to use them. Add a

[PATCH v6 1/3] ARM: EXYNOS: Add support for EXYNOS5410 SoC

2014-02-10 Thread Tarek Dakhran
EXYNOS5410 is SoC in Samsung's Exynos5 SoC series. Add initial support for this SoC. Signed-off-by: Tarek Dakhran t.dakh...@samsung.com Signed-off-by: Vyacheslav Tyrtov v.tyr...@samsung.com Reviewed-by: Tomasz Figa t.f...@samsung.com --- arch/arm/mach-exynos/Kconfig | 10

[PATCH v6 0/3] Exynos 5410 support

2014-02-10 Thread Tarek Dakhran
The series of patches represent support of Exynos 5410 SoC The Exynos 5410 is the first Samsung SoC based on bigLITTLE architecture Patches add new platform description, support of clock controller and device tree for Exynos 5410. Dual cluster support for Exynos 5410 (EDCS) has been removed

[PATCH v6 2/3] clk: exynos5410: register clocks using common clock framework

2014-02-10 Thread Tarek Dakhran
The EXYNOS5410 clocks are statically listed and registered using the Samsung specific common clock helper functions. Signed-off-by: Tarek Dakhran t.dakh...@samsung.com Signed-off-by: Vyacheslav Tyrtov v.tyr...@samsung.com Acked-by: Tomasz Figa t.f...@samsung.com ---

[PATCH 00/17] i2c: deprecate class based instantiation for embedded I2C drivers

2014-02-10 Thread Wolfram Sang
With I2C, class based instantiation means if a master driver has e.g. I2C_CLASS_HWMON set, all slave drivers with this class will try to probe a device using an array of possible addresses and some heuristics. That creates traffic and needs time, even when nothing is connected. This mechanism is

[PATCH 04/17] i2c: i2c-at91: deprecate class based instantiation

2014-02-10 Thread Wolfram Sang
Warn users that class based instantiation is going away soon in favour of more robust probing and faster bootup times. Signed-off-by: Wolfram Sang w...@the-dreams.de Cc: Ludovic Desroches ludovic.desroc...@atmel.com --- drivers/i2c/busses/i2c-at91.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH v6 3/3] ARM: dts: Add initial device tree support for EXYNOS5410

2014-02-10 Thread Tarek Dakhran
Add initial device tree nodes for EXYNOS5410 SoC and SMDK5410 board. Signed-off-by: Tarek Dakhran t.dakh...@samsung.com Signed-off-by: Vyacheslav Tyrtov v.tyr...@samsung.com Reviewed-by: Tomasz Figa t.f...@samsung.com --- arch/arm/boot/dts/Makefile|1 +

[PATCH v6 0/3] Introduce clocksource driver for Keystone platform

2014-02-10 Thread Ivan Khoronzhuk
Add a broadcast timer64 based clockevent driver for keystone arch. This driver uses timer in 64-bit general purpose mode as clock event device. Documentation: http://www.ti.com/lit/ug/sprugv5a/sprugv5a.pdf Based on git://git.kernel.org/pub/scm/linux/kernel/git/ssantosh/linux-keystone.git

[PATCH v6 2/3] clocksource: keystone: add bindings for keystone timer

2014-02-10 Thread Ivan Khoronzhuk
This patch provides bindings for the 64-bit timer in the KeyStone architecture devices. The timer can be configured as a general-purpose 64-bit timer, dual general-purpose 32-bit timers. When configured as dual 32-bit timers, each half can operate in conjunction (chain mode) or independently

[PATCH v6 1/3] clocksource: timer-keystone: introduce clocksource driver for Keystone

2014-02-10 Thread Ivan Khoronzhuk
Add broadcast clock-event device for the Keystone arch. The timer can be configured as a general-purpose 64-bit timer, dual general-purpose 32-bit timers. When configured as dual 32-bit timers, each half can operate in conjunction (chain mode) or independently (unchained mode) of each other.

[PATCH v6 3/3] arm: dts: keystone: add keystone timer entry

2014-02-10 Thread Ivan Khoronzhuk
Add keystone timer entry to keystone device tree. This 64-bit timer is used as backup clock event device. Signed-off-by: Ivan Khoronzhuk ivan.khoronz...@ti.com --- arch/arm/boot/dts/keystone-clocks.dtsi | 10 ++ arch/arm/boot/dts/keystone.dtsi| 7 +++ 2 files changed, 17

Re: [PATCHv2 2/2] arm: Get rid of meminfo

2014-02-10 Thread Catalin Marinas
On Mon, Feb 10, 2014 at 03:25:34AM +, Laura Abbott wrote: On 2/6/2014 6:09 PM, Courtney Cavin wrote: On Wed, Feb 05, 2014 at 01:02:31AM +0100, Laura Abbott wrote: memblock is now fully integrated into the kernel and is the prefered method for tracking memory. Rather than reinvent the

Re: WARNING: CPU: 0 PID: 2243 at mm/slub.c:1007 deactivate_slab+0x4e0/0x590()

2014-02-10 Thread David Rientjes
On Mon, 10 Feb 2014, poma wrote: [ 83.530421] WARNING: CPU: 0 PID: 2243 at mm/slub.c:1007 deactivate_slab+0x4e0/0x590() Yeah, you'll need the patch from the http://marc.info/?t=13914579132 thread. It's in the -mm tree as mm-slub-list_lock-may-not-be-held-in-some-circumstances.patch and

  1   2   3   4   5   6   7   8   9   10   >