Re: [PATCH v4 net-next 2/4] net: convert low latency sockets to sched_clock()

2013-06-14 Thread Eliezer Tamir
On 14/06/2013 06:12, Eric Dumazet wrote: On Fri, 2013-06-14 at 04:57 +0300, Eliezer Tamir wrote: Use sched_clock() instead of get_cycles(). We can use sched_clock() because we don't care much about accuracy. Remove the dependency on X86_TSC Signed-off-by: Eliezer Tamir

[PATCH 2/2] sched: scale the busy and this queue's per-task load before compare

2013-06-14 Thread Lei Wen
Since for max_load and this_load, they are the value that already be scaled. It is not reasonble to get a minimum value between the scaled and non-scaled value, like below example. min(sds-busiest_load_per_task, sds-max_load); Also add comment over in what condition, there would be cpu

Re: [Trivial PATCH 25/33] xfs: Convert use of typedef ctl_table to struct ctl_table

2013-06-14 Thread Dave Chinner
On Thu, Jun 13, 2013 at 10:33:26PM -0700, Joe Perches wrote: On Fri, 2013-06-14 at 15:21 +1000, Dave Chinner wrote: On Thu, Jun 13, 2013 at 07:37:50PM -0700, Joe Perches wrote: This typedef is unnecessary and should just be removed. Signed-off-by: Joe Perches j...@perches.com

[PATCH 0/2] small fix for fix_small_imbalance

2013-06-14 Thread Lei Wen
Here is two patches which correct the scale usage in the fix_small_balance, and give out comment over when fix_small_imbalance would cause load change. Lei Wen (2): sched: reduce calculation effort in fix_small_imbalance sched: scale the busy and this queue's per-task load before compare

[PATCH 1/2] sched: reduce calculation effort in fix_small_imbalance

2013-06-14 Thread Lei Wen
Actually all below item could be repalced by scaled_busy_load_per_task (sds-busiest_load_per_task * SCHED_POWER_SCALE) /sds-busiest-sgp-power; Signed-off-by: Lei Wen lei...@marvell.com --- kernel/sched/fair.c | 19 --- 1 file changed, 8 insertions(+), 11

Re: hrtimer: one more expiry time overflow check in hrtimer_interrupt

2013-06-14 Thread Shinya Kuribayashi
Hello, On 6/12/2013 9:21 PM, Prarit Bhargava wrote: On 06/11/2013 03:41 AM, Shinya Kuribayashi wrote: [ 27.857330] hrtimer: interrupt took 0 ns ^^^ see below ... This may be because the frequency of our tick timer source in this system is very slow, it's 32768 Hz. I think it's not

Re: [PATCH 1/4] ARM: cfa10036: Add USB0 OTG port

2013-06-14 Thread Shawn Guo
On Fri, Jun 14, 2013 at 12:06:51AM +0200, Arnd Bergmann wrote: On Thursday 13 June 2013 15:43:42 Maxime Ripard wrote: + + ahb@8008 { + usb0: usb@8008 { + pinctrl-names = default; + pinctrl-0 = usb0_otg_cfa10036; +

Re: Linux 2.6.32.61 - x86/ptrace/gcc 4.7 build error

2013-06-14 Thread Christoph Biedl
Willy Tarreau wrote... I'm attaching the two patches here to be appled on top of 2.6.32.61, I would like it if you could try in your environment to confirm that they correctly fix the issue. Confirmation: Kernel builds and runs for both Debian squeeze and wheezy (gcc 4.4 and gcc 4.7) on i386.

Re: [RFC PATCH 1/4] arm: omap: Add phy binding info for musb in plat data

2013-06-14 Thread Tomi Valkeinen
On 14/06/13 08:47, Tony Lindgren wrote: * Kishon Vijay Abraham I kis...@ti.com [130613 22:41]: Hi, On Thursday 13 June 2013 06:35 PM, Tomi Valkeinen wrote: Hi, On 28/05/13 08:18, Kishon Vijay Abraham I wrote: Hi Tony, On Friday 17 May 2013 06:52 PM, Kishon Vijay Abraham I wrote: In

Re: Linux 2.6.32.61 - x86/ptrace/gcc 4.7 build error

2013-06-14 Thread Willy Tarreau
Hi Christoph, On Fri, Jun 14, 2013 at 08:23:18AM +0200, Christoph Biedl wrote: Willy Tarreau wrote... I'm attaching the two patches here to be appled on top of 2.6.32.61, I would like it if you could try in your environment to confirm that they correctly fix the issue. Confirmation:

Re: [PATCH 3/3] i915: Don't provide ACPI backlight interface if firmware expects Windows 8

2013-06-14 Thread Aaron Lu
On 06/10/2013 07:01 AM, Matthew Garrett wrote: Windows 8 leaves backlight control up to individual graphics drivers rather than making ACPI calls itself. There's plenty of evidence to suggest that the Intel driver for Windows doesn't use the ACPI interface, including the fact that it's broken

Re: [PATCH 1/4] ARM: cfa10036: Add USB0 OTG port

2013-06-14 Thread Shawn Guo
On Fri, Jun 14, 2013 at 02:30:53PM +0800, Shawn Guo wrote: On Fri, Jun 14, 2013 at 12:06:51AM +0200, Arnd Bergmann wrote: On Thursday 13 June 2013 15:43:42 Maxime Ripard wrote: + + ahb@8008 { + usb0: usb@8008 { + pinctrl-names =

Re: [PATCH 0/4] ARM: mxs: Various Crystalfontz DT additions

2013-06-14 Thread Shawn Guo
On Thu, Jun 13, 2013 at 03:43:41PM +0200, Maxime Ripard wrote: Brian Lilly (3): ARM: cfa10049: Switch the chip select pin of the LCD controller ARM: mxs: dt: Add the Crystalfontz CFA-10055 device tree ARM: mxs: dt: Add Crystalfontz CFA-10057 device tree Maxime Ripard (1): ARM:

RE: A bug about system call on ARM

2013-06-14 Thread Wang, Yalin
Hi Will, We have tested the patch, It seems ok in the stability test . We have merged it into our main branch . Thanks for your patch ! -Original Message- From: Will Deacon [mailto:will.dea...@arm.com] Sent: Monday, June 03, 2013 5:54 PM To: Wang, Yalin Cc: 'richard -rw- weinberger';

[PATCH 1/1] ipv4: Fixed MD5 key lookups when adding/ removing MD5 to/ from TCP sockets.

2013-06-14 Thread Aydin Arik
MD5 key lookups on a given TCP socket were being performed incorrectly. This fix alters parameter inputs to the MD5 lookup function tcp_md5_do_lookup, which is called by functions tcp_md5_do_add and tcp_md5_do_del. Specifically, the change now inputs the correct address and address family required

Re: [PATCH Resend 1/1] mfd: davinci_voicecodec: Convert to use devm_* APIs

2013-06-14 Thread Lee Jones
On Fri, 14 Jun 2013, Sachin Kamat wrote: Hi Lee, On 13 June 2013 16:19, Lee Jones lee.jo...@linaro.org wrote: On Wed, 12 Jun 2013, Sachin Kamat wrote: devm_* APIs are device managed and make code simpler. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org Cc: Miguel Aguilar

Re: [PATCH RFC ticketlock] v3 Auto-queued ticketlock

2013-06-14 Thread Lai Jiangshan
On 06/14/2013 07:57 AM, Paul E. McKenney wrote: On Fri, Jun 14, 2013 at 07:25:57AM +0800, Lai Jiangshan wrote: On Thu, Jun 13, 2013 at 11:22 PM, Paul E. McKenney paul...@linux.vnet.ibm.com wrote: On Thu, Jun 13, 2013 at 10:55:41AM +0800, Lai Jiangshan wrote: On 06/12/2013 11:40 PM, Paul E.

[PATCH v2] extcon: Add an API to get extcon device from dt node

2013-06-14 Thread Chanwoo Choi
From: Kishon Vijay Abraham I kis...@ti.com Added an API of_extcon_get_extcon_dev() to be used by drivers to get extcon device in the case of dt boot (this can be used instead of extcon_get_extcon_dev()). Signed-off-by: Kishon Vijay Abraham I kis...@ti.com Signed-off-by: Chanwoo Choi

Re: [PATCH v2 07/11] ARM:stixxxx: Add STiH416 SOC support

2013-06-14 Thread Srinivas KANDAGATLA
On 10/06/13 14:52, Arnd Bergmann wrote: On Monday 10 June 2013 10:27:05 Srinivas KANDAGATLA wrote: + soc { + pin-controller-sbc { + #address-cells = 1; + #size-cells = 1; + compatible = st,stih416-pinctrl,

Re: [PATCH 1/2] Add pin list based GPIO ranges

2013-06-14 Thread Patrice CHOTARD
On 06/13/2013 02:55 PM, Christian Ruppert wrote: Traditionally, GPIO ranges are based on consecutive ranges of both GPIO and pin numbers. This patch allows for GPIO ranges with arbitrary lists of pin numbers. Signed-off-by: Christian Ruppert christian.rupp...@abilis.com ---

Re: [PATCH] extcon: class: Add NULL pointer checking for removing notifier block.

2013-06-14 Thread Chanwoo Choi
On 06/14/2013 11:11 AM, Jonghwa Lee wrote: This patch adds NULL pointer checking of extcon device to 'extcon_unregister _interest' which unregisters extcon notifier block. Signed-off-by: Jonghwa Lee jonghwa3@samsung.com Signed-off-by: Myungjoo Ham myungjoo@samsung.com ---

Re: [PATCH 1/1] ipv4: Fixed MD5 key lookups when adding/ removing MD5 to/ from TCP sockets.

2013-06-14 Thread Eric Dumazet
On Fri, 2013-06-14 at 18:56 +1200, Aydin Arik wrote: MD5 key lookups on a given TCP socket were being performed incorrectly. This fix alters parameter inputs to the MD5 lookup function tcp_md5_do_lookup, which is called by functions tcp_md5_do_add and tcp_md5_do_del. Specifically, the change

Re: [PATCH v2 03/14] perf: Add persistent event facilities

2013-06-14 Thread Robert Richter
On 14.06.13 11:15:13, Namhyung Kim wrote: +int perf_get_persistent_event_fd(unsigned cpu, struct perf_event_attr *attr) +{ + struct pers_event_desc *desc; + + if (cpu = (unsigned)nr_cpu_ids) + return -EINVAL; + + list_for_each_entry(desc, per_cpu(pers_events,

Re: [PATCH 4/4] perf tools: Retry mapping buffers readonly on EACCES

2013-06-14 Thread Robert Richter
On 14.06.13 11:08:40, Namhyung Kim wrote: - if (perf_evlist__mmap(evlist, opts-mmap_pages, false) 0) { +try_again2: + if (perf_evlist__mmap(evlist, opts-mmap_pages, opts-mmap_ro) 0) { + if (!opts-mmap_ro errno == EACCES) { + opts-mmap_ro = true; +

Re: i2c: introduce i2c helper i2c_find_client_by_name()

2013-06-14 Thread Andy Shevchenko
On Tue, Jun 11, 2013 at 8:11 PM, Bin Gao bin@linux.intel.com wrote: On Sun, Jun 09, 2013 at 10:53:35PM +0300, Andy Shevchenko wrote: Please, try to avoid top posting in the future emails. On Fri, Jun 7, 2013 at 12:26 AM, Bin Gao bin@linux.intel.com wrote: With v4l2, the camera sensor

[PATCH 2/2] netns: exclude ipvs from struct net when IPVS disabled

2013-06-14 Thread junwei . zhang
From: JunweiZhang junwei.zh...@6wind.com no real problem is fixed, just save a few bytes in net_namespace structure. Signed-off-by: JunweiZhang junwei.zh...@6wind.com Signed-off-by: Nicolas Dichtel nicolas.dich...@6wind.com --- include/net/net_namespace.h | 2 ++ 1 file changed, 2 insertions(+)

[PATCH 1/2] kernel: remove unnecessary head file

2013-06-14 Thread junwei . zhang
From: JunweiZhang junwei.zh...@6wind.com ip_vs.h is not necessary for sysctl_binary.c. prepare for the next patch to avoid compile issue. Signed-off-by: JunweiZhang junwei.zh...@6wind.com Signed-off-by: Nicolas Dichtel nicolas.dich...@6wind.com --- kernel/sysctl_binary.c | 1 - 1 file changed,

[PATCH 3/8] mm/writeback: Don't check force_wait to handle bdi-work_list

2013-06-14 Thread Wanpeng Li
After commit 839a8e86(writeback: replace custom worker pool implementation with unbound workqueue), bdi_writeback_workfn runs off bdi_writeback-dwork, on each execution, it processes bdi-work_list and reschedules if there are more things to do instead of flush any work that race with us existing.

[PATCH 7/8] mm/thp: fix doc for transparent huge zero page

2013-06-14 Thread Wanpeng Li
Transparent huge zero page is used during the page fault instead of in khugepaged. # ls /sys/kernel/mm/transparent_hugepage/ defrag enabled khugepaged use_zero_page # ls /sys/kernel/mm/transparent_hugepage/khugepaged/ alloc_sleep_millisecs defrag full_scans max_ptes_none pages_collapsed

[PATCH 1/8] mm/writeback: fix wb_do_writeback exported unsafely

2013-06-14 Thread Wanpeng Li
There is just one caller in fs-writeback.c call wb_do_writeback and current codes unnecessary export it in header file, this patch fix it by changing wb_do_writeback to static function. Signed-off-by: Wanpeng Li liw...@linux.vnet.ibm.com --- fs/fs-writeback.c | 2 +-

[PATCH 8/8] mm/pgtable: Don't accumulate addr during pgd prepopulate pmd

2013-06-14 Thread Wanpeng Li
The old codes accumulate addr to get right pmd, however, currently pmds are preallocated and transfered as a parameter, there is unnecessary to accumulate addr variable any more, this patch remove it. Signed-off-by: Wanpeng Li liw...@linux.vnet.ibm.com --- arch/x86/mm/pgtable.c | 4 +--- 1

[PATCH 5/8] mm/page_alloc: fix blank in show_free_areas

2013-06-14 Thread Wanpeng Li
There is a blank in show_free_areas which lead to dump messages aren't aligned. This patch remove blank. Before patch: [155219.720141] active_anon:50675 inactive_anon:35273 isolated_anon:0 [155219.720141] active_file:215421 inactive_file:344268 isolated_file:0 [155219.720141] unevictable:0

[PATCH 6/8] mm/page_alloc: fix doc for numa_zonelist_order

2013-06-14 Thread Wanpeng Li
The default zonelist order selecter will select node order if any node's DMA zone comprises greater than 70% of its local memory instead of 60%, according to default_zonelist_order::low_kmem_size total * 70/100. Signed-off-by: Wanpeng Li liw...@linux.vnet.ibm.com --- Documentation/sysctl/vm.txt

[PATCH 2/8] mm/writeback: remove wb_reason_name

2013-06-14 Thread Wanpeng Li
wb_reason_name is not used any more, this patch remove it. Signed-off-by: Wanpeng Li liw...@linux.vnet.ibm.com --- include/linux/writeback.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/linux/writeback.h b/include/linux/writeback.h index e27468e..8b5cec4 100644 ---

Re: [RFC PATCH 1/4] arm: omap: Add phy binding info for musb in plat data

2013-06-14 Thread Tony Lindgren
* Tomi Valkeinen tomi.valkei...@ti.com [130613 23:42]: On 14/06/13 08:47, Tony Lindgren wrote: * Kishon Vijay Abraham I kis...@ti.com [130613 22:41]: Hi, On Thursday 13 June 2013 06:35 PM, Tomi Valkeinen wrote: Hi, On 28/05/13 08:18, Kishon Vijay Abraham I wrote: Hi Tony, On

[PATCH 4/8] mm/writeback: rename WB_REASON_FORKER_THREAD to WB_REASON_WORKER_THREAD

2013-06-14 Thread Wanpeng Li
After commit 839a8e86(writeback: replace custom worker pool implementation with unbound workqueue), there is no bdi forker thread any more. This patch rename WB_REASON_FORKER_THREAD to WB_REASON_WORKER_THREAD since works are done by emergency worker. Signed-off-by: Wanpeng Li

Re: [PATCH v8] watchdog: New watchdog driver for MEN A21 watchdogs

2013-06-14 Thread Johannes Thumshirn
On Thu, Jun 13, 2013 at 08:55:33PM -0700, Guenter Roeck wrote: [...] Signed-off-by: Johannes Thumshirn johannes.thumsh...@men.de Almost good. One comment below. Thanks, Guenter Nice to hear. Thanks for the review by the way. [...] + + drv-num_gpios = of_gpio_count(node); + if

[PATCH v3 1/3] cpufreq: Add boost frequency support in core

2013-06-14 Thread Lukasz Majewski
This commit adds boost frequency support in cpufreq core (Hardware Software). Some SoC (like Exynos4 - e.g. 4x12) allow setting frequency above its normal operation limits. Such a mode shall be only used for a short time. Overclocking (boost) support is essentially provided by platform dependent

[PATCH v3 2/3] cpufreq:acpi:x86: Adjust the acpi-cpufreq.c code to work with common boost solution

2013-06-14 Thread Lukasz Majewski
The Intel's hardware based boost solution driver has been changed to cooperate with common cpufreq boost framework. The global sysfs boost attribute entry code (/sys/devices/system/cpu/cpufreq/boost) has been moved to a core cpufreq code. This attribute is now only visible, when cpufreq driver

[PATCH v3 3/3] cpufreq:exynos:Extend Exynos cpufreq driver to support boost framework

2013-06-14 Thread Lukasz Majewski
The struct cpufreq_driver has been extended to embrace the information related to boost support. When boost_mode device tree attribute is defined for a platform, the boost_supported flag is set. Moreover boost related attributes were exported. Signed-off-by: Lukasz Majewski

[PATCH v3 0/3] cpufreq:boost: CPU Boost mode support

2013-06-14 Thread Lukasz Majewski
This patch series introduces support for CPU overclocking technique called Boost. It is a follow up of a LAB governor proposal. Boost is a LAB component: http://thread.gmane.org/gmane.linux.kernel/1484746/match=cpufreq Boost unifies hardware based solution (e.g. Intel Nehalem) with software

Re: [PATCH 1/2] scsi: ufs: Add support for sending NOP OUT UPIU

2013-06-14 Thread Sujit Reddy Thumma
On 6/13/2013 10:03 AM, Sujit Reddy Thumma wrote: static struct scsi_host_template ufshcd_driver_template = { @@ -1771,8 +2064,8 @@ int ufshcd_init(struct device *dev, struct ufs_hba **hba_handle, /* Configure LRB */ ufshcd_host_memory_configure(hba); - host-can_queue =

perf bench does compile in 3.9.6

2013-06-14 Thread Riccardo Magliocchetti
Hello, on my 64bit kernel / 32 bit userspace system with libnuma 2.0.8 i get this error on linux 3.9.6: bench/numa.c: In function ‘worker_thread’: bench/numa.c:1113:20: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare] bench/numa.c:1161:6: error: format

Re: [BUG] PCI related panic on powerpc based board with 3.10-rcX

2013-06-14 Thread Rojhalat Ibrahim
On Thursday 13 June 2013 11:49:17 Scott Wood wrote: On 06/13/2013 02:21:24 AM, Rojhalat Ibrahim wrote: On Wednesday 12 June 2013 16:50:26 Scott Wood wrote: On 06/12/2013 03:19:30 AM, Rojhalat Ibrahim wrote: On Tuesday 11 June 2013 12:28:59 Scott Wood wrote: Yes, I figured it was

Fwd: show_interrupts() after free_irq issue 3.10-rc4?

2013-06-14 Thread Mario Smarduch
I've been working with device passthrough irq on armv7 after disassociating the device from guest free_irq() is executed on host. Display of /proc/interrupts still shows the IRQ info with no irq name associated, and there is no irq_action associated with the IRQ. 'show_interrupts()' in

[RFC] should read(2) update the position if it returns an error?

2013-06-14 Thread Al Viro
We have an unpleasant HPFS (at least) race with read(2) vs. unlink(2) The thing is, HPFS and several other filesystems keep track of all opened struct file for directory and update the position in it upon directory modifications. For HPFS it's particulary painful, since it encodes the

Re: [PATCH 1/2] pinctrl: add function to parse generic pinconfig properties from a dt node

2013-06-14 Thread Heiko Stübner
Hi Laurent, Am Freitag, 14. Juni 2013, 02:27:01 schrieb Laurent Pinchart: Hi Heiko, Thank you for the patch. I've tested it on an sh73a0 KZM9G board with the sh- pfc driver and it seems to work fine. Please see the code below for comments. On Monday 10 June 2013 21:40:29 Heiko Stübner

[no subject]

2013-06-14 Thread Yakubu Abdulraman
-- hallo, Haben Sie ein Darlehen, Rechnungen zu bezahlen oder Ihr eigenes Unternehmen gründen möchten, können Sie für ein Darlehen bewerben Sie sich jetzt und kontaktieren Sie uns via E-mail: willsrichardloancompan...@yahoo.co.uk Kreditantrag Name: Adresse: Tel: Alter: Beruf:

Re: [RFC PATCH 1/4] arm: omap: Add phy binding info for musb in plat data

2013-06-14 Thread Tomi Valkeinen
On 14/06/13 10:33, Tony Lindgren wrote: If we want to fix something this late in the merge window, the patches must have a clear description what caused the regression and what happens without the patches. These patches don't have that. And they are marked RFC also. So actually I'm not

Re: [PATCH V5 1/3] pci: Add PCIe driver for Samsung Exynos

2013-06-14 Thread Jingoo Han
On Thursday, June 13, 2013 11:14 PM, Arnd Bergmann wrote: On Thursday 13 June 2013 22:22:31 Jingoo Han wrote: +struct pcie_port_info { + u32 cfg0_size; + u32 cfg1_size; + u32 io_size; + u32 mem_size; + phys_addr_t

Re: [PATCH Resend 1/1] mfd: davinci_voicecodec: Convert to use devm_* APIs

2013-06-14 Thread Sachin Kamat
On 14 June 2013 12:36, Lee Jones lee.jo...@linaro.org wrote: On Fri, 14 Jun 2013, Sachin Kamat wrote: Hi Lee, On 13 June 2013 16:19, Lee Jones lee.jo...@linaro.org wrote: On Wed, 12 Jun 2013, Sachin Kamat wrote: devm_* APIs are device managed and make code simpler. Signed-off-by:

Re: [PATCH] irqdomain: Remove temporary MIPS workaround code

2013-06-14 Thread Ralf Baechle
On Fri, Jun 14, 2013 at 12:19:43AM +0100, Grant Likely wrote: The MIPS interrupt controllers are all registering their own irq_domains now. Drop the MIPS specific code because it is no longer needed. Signed-off-by: Grant Likely grant.lik...@linaro.org Cc: Ralf Baechle r...@linux-mips.org

Re: event filtering with trace-cmd

2013-06-14 Thread Arend van Spriel
On 06/12/2013 07:16 PM, Steven Rostedt wrote: On Wed, 2013-06-12 at 12:22 -0400, Steven Rostedt wrote: # sudo trace-cmd record -e brcmfmac:brcmf_dbg -f 'level 0x4' disable all enable brcmfmac:brcmf_dbg path = /sys/kernel/debug/tracing/events/brcmfmac/brcmf_dbg/enable (level 0x4) ^

[PATCH] Fix comment on pinctrl_gpio_range.pin_base

2013-06-14 Thread Christian Ruppert
The comment introduced with the recently added pinctrl_gpio_range.pins element was wrong. This corrects it. Thanks to Patrice Chotard for pointing this out. Signed-off-by: Christian Ruppert christian.rupp...@abilis.com --- include/linux/pinctrl/pinctrl.h |2 +- 1 files changed, 1

RE: [PATCH 7/8] mm/thp: fix doc for transparent huge zero page

2013-06-14 Thread Kirill A. Shutemov
Wanpeng Li wrote: Transparent huge zero page is used during the page fault instead of in khugepaged. # ls /sys/kernel/mm/transparent_hugepage/ defrag enabled khugepaged use_zero_page # ls /sys/kernel/mm/transparent_hugepage/khugepaged/ alloc_sleep_millisecs defrag full_scans

Re: [PATCH v2 1/3] ARM: tegra: basic support for Trusted Foundations

2013-06-14 Thread Alexandre Courbot
On Fri, Jun 14, 2013 at 4:19 AM, Stephen Warren swar...@wwwdotorg.org wrote: On 06/13/2013 03:12 AM, Alexandre Courbot wrote: Add basic support for booting secondary processors on Tegra devices using the Trusted Foundations secure monitor. Signed-off-by: Alexandre Courbot acour...@nvidia.com

Re: [PATCH] irqdomain: Remove temporary MIPS workaround code

2013-06-14 Thread Grant Likely
On Fri, Jun 14, 2013 at 9:22 AM, Ralf Baechle r...@linux-mips.org wrote: On Fri, Jun 14, 2013 at 12:19:43AM +0100, Grant Likely wrote: The MIPS interrupt controllers are all registering their own irq_domains now. Drop the MIPS specific code because it is no longer needed. Signed-off-by:

Re: [PATCH v2] extcon: Add an API to get extcon device from dt node

2013-06-14 Thread Kishon Vijay Abraham I
Hi, On Friday 14 June 2013 12:45 PM, Chanwoo Choi wrote: From: Kishon Vijay Abraham I kis...@ti.com Added an API of_extcon_get_extcon_dev() to be used by drivers to get extcon device in the case of dt boot (this can be used instead of extcon_get_extcon_dev()). Signed-off-by: Kishon Vijay

[PATCH Resend] mfd: davinci_voicecodec: Convert to use devm_* APIs

2013-06-14 Thread Sachin Kamat
devm_* APIs are device managed and make code simpler. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org Cc: Miguel Aguilar miguel.agui...@ridgerun.com --- Patch is based on mfd-next tree and compile tested. This driver gives following compilation error (not introduced by this patch):

Re: [PATCH v2 1/3] ARM: tegra: basic support for Trusted Foundations

2013-06-14 Thread Alexandre Courbot
On Thu, Jun 13, 2013 at 11:35 PM, Dave Martin dave.mar...@arm.com wrote: diff --git a/Documentation/devicetree/bindings/arm/tegra.txt b/Documentation/devicetree/bindings/arm/tegra.txt index ed9c853..d59bc19 100644 --- a/Documentation/devicetree/bindings/arm/tegra.txt +++

Re: [PATCH v2 2/3] ARM: tegra: split setting of CPU reset handler

2013-06-14 Thread Alexandre Courbot
On Fri, Jun 14, 2013 at 4:21 AM, Stephen Warren swar...@wwwdotorg.org wrote: On 06/13/2013 03:12 AM, Alexandre Courbot wrote: Not all Tegra devices need to set the CPU reset handler in the same way. s/need/can/ ? Fixed, thanks! Alex. -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH] drivers: pinctrl: add active state to core

2013-06-14 Thread Tony Lindgren
* Stephen Warren swar...@wwwdotorg.org [130613 12:37]: On 06/12/2013 12:33 PM, Tony Lindgren wrote: * Linus Walleij linus.wall...@linaro.org [130611 12:59]: On Tue, Jun 11, 2013 at 6:33 PM, Stephen Warren swar...@wwwdotorg.org wrote: On 06/11/2013 02:16 AM, Linus Walleij wrote: From:

[PATCH] ASoc: si476x: Do not use binary constants

2013-06-14 Thread James Hogan
Gcc 4.3 doesn't understand binary constants (0b*): sound/soc/codecs/si476x.c:172:8: error: invalid suffix b110 on integer constant sound/soc/codecs/si476x.c:219:9: error: invalid suffix b111 on integer constant sound/soc/codecs/si476x.c:219:56: error: invalid suffix b111 on integer

Re: [PATCH v2] extcon: Add an API to get extcon device from dt node

2013-06-14 Thread Chanwoo Choi
On 06/14/2013 05:36 PM, Kishon Vijay Abraham I wrote: Hi, On Friday 14 June 2013 12:45 PM, Chanwoo Choi wrote: From: Kishon Vijay Abraham I kis...@ti.com Added an API of_extcon_get_extcon_dev() to be used by drivers to get extcon device in the case of dt boot (this can be used instead of

Re: [PATCH v2 3/3] ARM: tegra: set CPU reset handler with firmware op

2013-06-14 Thread Alexandre Courbot
On Fri, Jun 14, 2013 at 4:23 AM, Stephen Warren swar...@wwwdotorg.org wrote: On 06/13/2013 03:12 AM, Alexandre Courbot wrote: Use a firmware operation to set the CPU reset handler and only resort to doing it ourselves if there is none defined. This supports the booting of secondary CPUs on

Re: [PATCH v2 13/14] perf, persistent: Exposing persistent events using sysfs

2013-06-14 Thread Robert Richter
On 14.06.13 11:36:00, Namhyung Kim wrote: +static int pers_event_sysfs_register(struct pers_event *event) +{ + struct device_attribute *attr = event-sysfs.attr; + int idx; + + *attr = (struct device_attribute)__ATTR(, 0444, pers_event_sysfs_show, +

Re: [Trivial PATCH 02/33] frv: Convert use of typedef ctl_table to struct ctl_table

2013-06-14 Thread David Howells
These look okay. Feel free to add my Acked-by. I presume they can't become const also? David -- 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 Please

Re: [PATCH 1/8] mm/writeback: fix wb_do_writeback exported unsafely

2013-06-14 Thread Michal Hocko
On Fri 14-06-13 15:30:34, Wanpeng Li wrote: There is just one caller in fs-writeback.c call wb_do_writeback and current codes unnecessary export it in header file, this patch fix it by changing wb_do_writeback to static function. So what? Besides that git grep wb_do_writeback tells that

[PATCH v2] powerpc/pci: Fix setup of Freescale PCI / PCIe controllers

2013-06-14 Thread Rojhalat Ibrahim
Commit 50d8f87d2b3 (powerpc/fsl-pci Make PCIe hotplug work with Freescale PCIe controllers) does not handle non-PCIe controllers properly, which causes a panic during boot for certain configurations. This patch fixes the issue by calling setup_indirect_pci for all device types.

Re: [PATCH 2/2] Make non-linear GPIO ranges accesible from gpiolib

2013-06-14 Thread Christian Ruppert
On Thu, Jun 13, 2013 at 03:38:09PM -0600, Stephen Warren wrote: On 06/13/2013 06:55 AM, Christian Ruppert wrote: This patch adds the infrastructure required to register non-linear gpio ranges through gpiolib and the standard GPIO device tree bindings. That's not exactly true. The existing

Re: [PATCH v2] ARM: mmp: bring up pxa988 with device tree support

2013-06-14 Thread Chao Xie
On Mon, Jun 10, 2013 at 4:35 PM, Arnd Bergmann a...@arndb.de wrote: __initdata = { .virtual= (unsigned long)AXI_VIRT_BASE, .length = AXI_PHYS_SIZE, .type = MT_DEVICE, - }, + }, { + .pfn=

Re: [iput] BUG: Bad page state in process rm pfn:0b0ce

2013-06-14 Thread Mel Gorman
On Thu, Jun 13, 2013 at 06:25:49PM +0800, Fengguang Wu wrote: Greetings, I got the below dmesg in linux-next and the first bad commit is Thanks Fengguang. Can you try the following please? I do not see the same issue unfortunately but I am the wrong type of unlucky here. ---8--- mm: Clear

Re: [PATCH 1/2] pinctrl: add function to parse generic pinconfig properties from a dt node

2013-06-14 Thread Heiko Stübner
Am Freitag, 14. Juni 2013, 01:53:49 schrieb Laurent Pinchart: Hi Linus, On Thursday 13 June 2013 17:36:00 Linus Walleij wrote: On Thu, Jun 13, 2013 at 5:23 PM, Heiko Stübner he...@sntech.de wrote: Ok, I'll see that I get this fixed :-) Hmm ... what is the meaning of the argument of

Re: [RFC PATCH 1/4] arm: omap: Add phy binding info for musb in plat data

2013-06-14 Thread Kishon Vijay Abraham I
Hi, On Friday 14 June 2013 01:47 PM, Tomi Valkeinen wrote: On 14/06/13 10:33, Tony Lindgren wrote: If we want to fix something this late in the merge window, the patches must have a clear description what caused the regression and what happens without the patches. These patches don't have

Re: [PATCH 1/8] mm/writeback: fix wb_do_writeback exported unsafely

2013-06-14 Thread Kirill A. Shutemov
Michal Hocko wrote: On Fri 14-06-13 15:30:34, Wanpeng Li wrote: There is just one caller in fs-writeback.c call wb_do_writeback and current codes unnecessary export it in header file, this patch fix it by changing wb_do_writeback to static function. So what? Besides that git grep

Re: [patch 2/2] memcg: do not sleep on OOM waitqueue with full charge context

2013-06-14 Thread Michal Hocko
On Thu 13-06-13 13:34:46, David Rientjes wrote: On Thu, 13 Jun 2013, Michal Hocko wrote: Right now it appears that that number of users is 0 and we're talking about a problem that was reported in 3.2 that was released a year and a half ago. The rules of inclusion in stable also

Re: [PATCH 1/8] mm/writeback: fix wb_do_writeback exported unsafely

2013-06-14 Thread Haicheng Li
On Fri, Jun 14, 2013 at 03:30:34PM +0800, Wanpeng Li wrote: There is just one caller in fs-writeback.c call wb_do_writeback and current codes unnecessary export it in header file, this patch fix it by changing wb_do_writeback to static function. Signed-off-by: Wanpeng Li

[PATCH] metag: fix mm/hugetlb.c build breakage

2013-06-14 Thread James Hogan
Commit 106c992a5ebef28193cf5958e49ceff5e4aebb04 (mm/hugetlb: add more arch-defined huge_pte functions) merged in v3.10-rc1. The above commit added an include of asm-generic/hugetlb.h to each architecture's asm/hugetlb.h (except s390). Unfortunately metag was missed which resulted in build errors

Re: [PATCH 1/8] mm/writeback: fix wb_do_writeback exported unsafely

2013-06-14 Thread Michal Hocko
On Fri 14-06-13 12:29:52, Kirill A. Shutemov wrote: Michal Hocko wrote: On Fri 14-06-13 15:30:34, Wanpeng Li wrote: There is just one caller in fs-writeback.c call wb_do_writeback and current codes unnecessary export it in header file, this patch fix it by changing wb_do_writeback to

[PATCH v2 0/7] Convert GPIO Davinci to platform driver

2013-06-14 Thread Philip Avinash
To support DT booting of da850 EVM, davinci gpio driver converted to platform driver. Also when here, start using gpiolib API for gpio get/set functionalities. Hence removing gpio inline functionalities. However usage of gpiolib API will cause an additional software latencies. In this patch

[PATCH v2 1/7] gpio: davinci: coding style correction

2013-06-14 Thread Philip Avinash
Make some minor coding style fixes. Use proper multi-line commenting style, arrange include files alphabetically use macros for bit definitions. Signed-off-by: Philip Avinash avinashphi...@ti.com Signed-off-by: Sekhar Nori nsek...@ti.com --- Changes since v1: - Remove variable name

[PATCH v2 3/7] ARM: davinci: da8xx: creation of gpio platform device

2013-06-14 Thread Philip Avinash
From: KV Sujith sujit...@ti.com gpio controller resource information being associated with davinci_soc_info structure and not created any device. Hence davinci gpio didn't fall under proper device model. This patch creates gpio davinci as a platform device for da8xx platforms. - Add Memory and

[PATCH v2 2/7] gpio: davinci: move to platform device

2013-06-14 Thread Philip Avinash
From: KV Sujith sujit...@ti.com Modify GPIO Davinci driver to be compliant to standard platform drivers. The driver did not have platform driver structure or a probe. Instead, had a davinci_gpio_setup() function which is called in the pure_init sequence. The function also had dependency on

[PATCH v2 7/7] ARM: davinci: Start using gpiolib API inplace of inline functions

2013-06-14 Thread Philip Avinash
Remove NEED_MACH_GPIO_H config select option for ARCH_DAVINCI to start use gpiolib interface for davinci platforms. However with this software latencies for gpio_get/set APIs will affect. Latency has increased by 18 microsecond with gpiolib API as compared with inline API's. Software latency is

RE: [PATCH v2 0/7] Convert GPIO Davinci to platform driver

2013-06-14 Thread Philip, Avinash
Sender mail id got corrupted. I will send another. Thanks Avinash On Fri, Jun 14, 2013 at 15:04:34, y...@symphony.india.ext.ti.com wrote: From: Philip Avinash avinashphi...@ti.com To support DT booting of da850 EVM, davinci gpio driver converted to platform driver. Also when here, start

[PATCH v2 5/7] ARM: davinci: da8xx: gpio device creation

2013-06-14 Thread Philip Avinash
Create davinci gpio device and remove references in davinci_soc_info structure. Also rearrange header file inclusion in group basis. Signed-off-by: Philip Avinash avinashphi...@ti.com Acked-by: Linus Walleij linus.wall...@linaro.org Signed-off-by: Sekhar Nori nsek...@ti.com ---

[PATCH v2 6/7] ARM: davinci: dmxxx: gpio device creation

2013-06-14 Thread Philip Avinash
Create davinci gpio device and remove gpio references in davinci_soc_info structure for dmxxx platforms. Also add Memory and IRQ resources for GPIO platform device. Signed-off-by: Philip Avinash avinashphi...@ti.com Acked-by: Linus Walleij linus.wall...@linaro.org Signed-off-by: Sekhar Nori

[PATCH v2 4/7] ARM: davinci: creation of gpio platform device for dmxxx platforms

2013-06-14 Thread Philip Avinash
gpio controller resource information being associated with davinci_soc_info structure and not created any device. Hence davinci gpio didn't fall under proper device model. This patch creates gpio davinci as a platform device for dmxxx platforms. Also add daivinci_register_gpio API to create

Re: [PATCH 1/8] mm/writeback: fix wb_do_writeback exported unsafely

2013-06-14 Thread Zhang Yanfei
On 06/14/2013 05:31 PM, Michal Hocko wrote: On Fri 14-06-13 12:29:52, Kirill A. Shutemov wrote: Michal Hocko wrote: On Fri 14-06-13 15:30:34, Wanpeng Li wrote: There is just one caller in fs-writeback.c call wb_do_writeback and current codes unnecessary export it in header file, this patch

Re: [PATCH] of/fdt: Add FDT address translation

2013-06-14 Thread Ley Foon Tan
Any comment or feedback for this patch? On Fri, 2013-05-24 at 17:36 +0800, Ley Foon Tan wrote: This patch adds address translation to fdt. It is needed when the early console is connected to a simple-bus (bridge) that has address translation enabled. Walter Goossens have submitted first

Re: [PATCH v4] irqchip: Add support for ARMv7-M's NVIC

2013-06-14 Thread Catalin Marinas
On Wed, Jun 12, 2013 at 10:50:35PM +0100, Uwe Kleine-K??nig wrote: This interrupt controller is found on Cortex-M3 and Cortex-M4 machines. Support for this controller appeared in Catalin's Cortex tree based on 2.6.33 but was nearly completely rewritten. Signed-off-by: Catalin Marinas

[PATCH v2 0/4] GPIO DT support for da850

2013-06-14 Thread Philip Avinash
With conversion of GPIO davinci driver to platform driver, gpio-davinci driver can support DT boot. This patch series - adds dt binding support for gpio-davinci. - da850 dt support goio. This patch series is based on Linux 3.10-rc4 and is availabel at [1]. 1.

Re: [iput] BUG: Bad page state in process rm pfn:0b0ce

2013-06-14 Thread Fengguang Wu
On Fri, Jun 14, 2013 at 10:16:55AM +0100, Mel Gorman wrote: On Thu, Jun 13, 2013 at 06:25:49PM +0800, Fengguang Wu wrote: Greetings, I got the below dmesg in linux-next and the first bad commit is Thanks Fengguang. Can you try the following please? I do not see the same issue

[PATCH v2 1/4] ARM: davinci: da850: Use #include for all device trees

2013-06-14 Thread Philip Avinash
Replace /include/ by #include for da850 device tree files, in order to use the C pre-processor, making use of #define features possible. Signed-off-by: Philip Avinash avinashphi...@ti.com --- Changes since v1: - New patch and comes as a dependency of patch 3/4

[PATCH v2 3/4] ARM: davinci: da850: add GPIO DT entries

2013-06-14 Thread Philip Avinash
From: KV Sujith sujit...@ti.com Add DT entries for Davinci GPIO. Signed-off-by: KV Sujith sujit...@ti.com Signed-off-by: Philip Avinash avinashphi...@ti.com --- Changes since v1: - interrupts member defined as array and with interrupt flags arch/arm/boot/dts/da850.dtsi | 15

[PATCH v2 4/4] ARM: davinci: da850 evm: add GPIO DT data

2013-06-14 Thread Philip Avinash
From: KV Sujith sujit...@ti.com - Add GPIO DT Data and pinmux for DA850 EVM. GPIO is configurable differently on different boards. So add GPIO pinmuxing in dts file. - Dependency: This patch is dependent on Grab-pin-control patch; https://patchwork.kernel.org/patch/2013751/ Signed-off-by: KV

[PATCH] ASoC: Fix double assignment of .owner in struct snd_soc_card

2013-06-14 Thread Emil Goode
In struct snd_soc_card zylonite .owner is assigned THIS_MODULE twice, remove one of them. Signed-off-by: Emil Goode emilgo...@gmail.com --- sound/soc/pxa/zylonite.c |1 - 1 file changed, 1 deletion(-) diff --git a/sound/soc/pxa/zylonite.c b/sound/soc/pxa/zylonite.c index ceb6566..db8aadf

[PATCH v3 2/2] USB: ehci-omap: select NOP_USB_XCEIV PHY driver

2013-06-14 Thread Roger Quadros
ehci-omap needs NOP_USB_XCEIV PHY driver to function properly, so select it. As the USB PHY drivers no longer depend on USB_PHY, it is safe to select the PHY drivers. Signed-off-by: Roger Quadros rog...@ti.com Tested-by: Adrien Vergé adrienve...@gmail.com --- drivers/usb/host/Kconfig |4 +---

[PATCH v3 1/2] USB: PHY: Make PHY driver selection possible by controller drivers

2013-06-14 Thread Roger Quadros
Convert PHY Drivers from menuconfig to menu so that the PHY drivers can be explicitely selected by the controller drivers. USB_PHY is no longer a user visible option. It is upto to the PHY drivers to select it if needed. This patch does so for the existing PHY drivers that use the USB_PHY

[PATCH v3 0/2] USB: PHY: Improve PHY selection logic

2013-06-14 Thread Roger Quadros
Hi, Improve Kconfig so that the relevant PHY driver can be explicitely selected by the controller driver instead of relying on the user to do so. Detailed description in patch 1. v3: - Fix linking problem when CONFIG_USB is m v2: - Merge patches 3-5 into the first patch to prevent circular

  1   2   3   4   5   6   7   8   9   10   >