[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 wrote: > > On Wed, 12 Jun 2013, Sachin Kamat wrote: > > > >> devm_* APIs are device managed and make code simpler. > >> > >> Signed-off-by: Sachin Kamat > >> Cc: Miguel Aguilar > >> --- > >> CC'd Lee Jones

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 >> wrote: >>> On Thu, Jun 13, 2013 at 10:55:41AM +0800, Lai Jiangshan wrote: On 06/12/2013 11:40 PM, Paul E. McKenney wrote: >

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

2013-06-14 Thread Chanwoo Choi
From: Kishon Vijay Abraham I 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 Signed-off-by: Chanwoo Choi Signed-off-by: Myungjoo Ham --- Chang

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,stih

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 > --- > drivers/pinctrl/core.c |

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 > Signed-off-by: Myungjoo Ham > --- > drivers/extcon/extcon-class.c |2 +- > 1 file

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 chang

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

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_

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 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 wrote: >> > With v4l2, the camera sensor i2c devices are taken over by v4l2 m

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

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

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

2013-06-14 Thread junwei . zhang
From: JunweiZhang ip_vs.h is not necessary for sysctl_binary.c. prepare for the next patch to avoid compile issue. Signed-off-by: JunweiZhang Signed-off-by: Nicolas Dichtel --- kernel/sysctl_binary.c | 1 - 1 file changed, 1 deletion(-) diff --git a/kernel/sysctl_binary.c b/kernel/sysctl_bi

[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 existin

[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 p

[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 --- fs/fs-writeback.c | 2 +- include/linux/writeback.h | 1 - 2 files chang

[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 --- arch/x86/mm/pgtable.c | 4 +--- 1 file changed, 1 insertion(+)

[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 dirt

[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 --- Documentation/sysctl/vm.txt | 2 +- 1 file changed

[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 --- 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 --- a/include/linux/writeback.h +++ b/include/

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

2013-06-14 Thread Tony Lindgren
* Tomi Valkeinen [130613 23:42]: > On 14/06/13 08:47, Tony Lindgren wrote: > > * Kishon Vijay Abraham I [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, > >

[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 --- fs/fs-writeba

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 > > 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 (drv->num_gp

[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 s

[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 Signed-off-by: Myun

[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 orien

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 figu

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 'kernel/i

[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 loca

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üb

[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: Lan

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 app

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_

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 wrote: > On Fri, 14 Jun 2013, Sachin Kamat wrote: > >> Hi Lee, >> >> On 13 June 2013 16:19, Lee Jones wrote: >> > On Wed, 12 Jun 2013, Sachin Kamat wrote: >> > >> >> devm_* APIs are device managed and make code simpler. >> >> >> >> Signed-off-by: Sachin Kamat >>

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 > Cc: Ralf Baechle > Cc: linux-m...@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) ^ p

[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 --- include/linux/pinctrl/pinctrl.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --gi

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 ma

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 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 >> --- >> Documentation/devicet

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 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: Grant Likely

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 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 Signed-

[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 Cc: Miguel Aguilar --- Patch is based on mfd-next tree and compile tested. This driver gives following compilation error (not introduced by this patch): drivers/mfd/davinci_voicecodec.c:86:3: error: implicit declar

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 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 >> +++ b/Documentation/devicetree/bin

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 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 linux-kernel" i

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

2013-06-14 Thread Tony Lindgren
* Stephen Warren [130613 12:37]: > On 06/12/2013 12:33 PM, Tony Lindgren wrote: > > * Linus Walleij [130611 12:59]: > >> On Tue, Jun 11, 2013 at 6:33 PM, Stephen Warren > >> wrote: > >>> On 06/11/2013 02:16 AM, Linus Walleij wrote: > From: Linus Walleij > > In addition to the re

[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 >> >> 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 >> e

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 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 devices using a

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 mm

[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. fsl_indirect_read_co

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 exi

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 wrote: > >> >> > __initdata = { >> >> > > .virtual= (unsigned long)AXI_VIRT_BASE, >> >> > > .length = AXI_PHYS_SIZE, >> >> > > .type = MT_DEVICE, >> >> > > - }, >> >> > > + }, { >> >> > > +

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: C

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 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 that

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

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

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 Hi Wanpeng,

[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 to each architecture's (except s390). Unfortunately metag was missed which resulted in build errors when hugetlbfs is enabled (see be

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_wri

[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 serie

[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 Signed-off-by: Sekhar Nori --- Changes since v1: - Remove variable name replacement - Add line break afte

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

2013-06-14 Thread Philip Avinash
From: KV Sujith 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 IRQ resources for

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

2013-06-14 Thread Philip Avinash
From: KV Sujith 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 davinci_soc_info struc

[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 ca

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 > > To support DT booting of da850 EVM, davinci gpio driver converted to platform > driver. Also when here, start using gpiolib API f

[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 Acked-by: Linus Walleij Signed-off-by: Sekhar Nori --- arch/arm/mach-davinci/board-da830-evm.c | 19 +++ arch

[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 Acked-by: Linus Walleij Signed-off-by: Sekhar Nori --- Changes since v1: - Add commit messag

[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 platfor

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,

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 firs

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. https://github.com/avinashphilip/am3

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 sam

[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 --- Changes since v1: - New patch and comes as a dependency of patch 3/4 arch/arm/boot/dts/da850-enbw-cmc.dts |2 +-

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

2013-06-14 Thread Philip Avinash
From: KV Sujith Add DT entries for Davinci GPIO. Signed-off-by: KV Sujith Signed-off-by: Philip Avinash --- Changes since v1: - interrupts member defined as array and with interrupt flags arch/arm/boot/dts/da850.dtsi | 15 +++ 1 file changed, 15 insertions(+) diff --gi

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

2013-06-14 Thread Philip Avinash
From: KV Sujith - 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 Sujith Signed-

[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 --- 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 100644 --- a/sound/soc

[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 Tested-by: Adrien Vergé --- drivers/usb/host/Kconfig |4 +--- 1 files changed, 1 insertions(+),

[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 library.

[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 depe

[PATCH 0/2] Fix build breakage for tnetv107x platforms

2013-06-14 Thread Philip Avinash
tnetv107x_defconfig build failing on removal selection of NEED_MACH_GPIO_H for ARCH_DAVINCI. This is due to header files inclusion from mach/gpio-davinci.h So this patch series fixes the build breakage on removal of NEED_MACH_GPIO_H. This patch series is based on Linux 3.10-rc4 and is availabel at

[PATCH 1/2] ARM: davinci: fix for build breakage for tnetv107x platforms

2013-06-14 Thread Philip Avinash
Fix the following build breakage and section mismatch error. This build break will comes only on removal of NEED_MACH_GPIO_H select option for ARCH-DAVINCI. arch/arm/mach-davinci/board-tnetv107x-evm.c:283:15: error: 'davinci_timer_init' undeclared here (not in a function) arch/arm/mach-davinci/boa

[PATCH 2/2] gpio: gpio-tnetv107x: Fix bulid breakge

2013-06-14 Thread Philip Avinash
includes linux/io.h for fixing following build error. This build error comes only after removing select option of NEED_MACH_GPIO_H for ARCH_DAVINCI. linux/io.h is got included from mach/gpio-davinci.h on selection of NEED_MACH_GPIO_H. drivers/gpio/gpio-tnetv107x.c: In function 'tnetv107x_gpio_requ

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

2013-06-14 Thread Mark Brown
On Fri, Jun 14, 2013 at 11:48:56AM +0200, Emil Goode wrote: > In struct snd_soc_card zylonite .owner is assigned THIS_MODULE > twice, remove one of them. Applied, thanks. signature.asc Description: Digital signature

Re: [patch v8 3/9] sched: set initial value of runnable avg for new forked task

2013-06-14 Thread Lei Wen
Hi Alex, On Fri, Jun 7, 2013 at 3:20 PM, Alex Shi wrote: > We need initialize the se.avg.{decay_count, load_avg_contrib} for a > new forked task. > Otherwise random values of above variables cause mess when do new task > enqueue: > enqueue_task_fair > enqueue_entity > enqu

[PATCH] mm: vmscan: remove redundant querying to shrinker

2013-06-14 Thread Heesub Shin
shrink_slab() queries each slab cache to get the number of elements in it. In most cases such queries are cheap but, on some caches. For example, Android low-memory-killer, which is operates as a slab shrinker, does relatively long calculation once invoked and it is quite expensive. This patch rem

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

2013-06-14 Thread David Rientjes
On Fri, 14 Jun 2013, Kamezawa Hiroyuki wrote: > Reading your discussion, I think I understand your requirements. > The problem is that I can't think you took into all options into > accounts and found the best way is this new oom_delay. IOW, I can't > convice oom-delay is the best way to handle yo

Re: [PATCH v4 15/20] ext4: use ext4_zero_partial_blocks in punch_hole

2013-06-14 Thread Lukáš Czerner
On Thu, 13 Jun 2013, Theodore Ts'o wrote: > Date: Thu, 13 Jun 2013 23:01:54 -0400 > From: Theodore Ts'o > To: Lukas Czerner > Cc: linux...@kvack.org, linux-kernel@vger.kernel.org, > linux-fsde...@vger.kernel.org, linux-e...@vger.kernel.org, > a...@linux-foundation.org, hu...@google.com >

Re: [PATCH v3] simplefb: add support for a8b8g8r8 pixel format

2013-06-14 Thread Alexandre Courbot
On Sat, Jun 8, 2013 at 1:24 AM, Stephen Warren wrote: > On 06/07/2013 01:31 AM, Alexandre Courbot wrote: >> A framebuffer of this format is set up by SHIELD's bootloader. >> >> Signed-off-by: Alexandre Courbot >> Acked-by: Olof Johansson > > Reviewed-by: Stephen Warren Jean-Christophe, Tomi, d

[PATCH v2 2/4] gpio: davinci: DT changes for driver

2013-06-14 Thread Philip Avinash
From: KV Sujith - Add of_device_id for Davinci GPIO driver. - Add function to populate data from DT. - Modify the probe to read from DT if DT match is found. - Add DT binding documentation for Davinci GPIO properties in a new file gpio-davinci.txt located at Documentation/devicetree/bindings/gp

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

2013-06-14 Thread Philip, Avinash
On Fri, Jun 14, 2013 at 15:13:36, Philip, Avinash wrote: > 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

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

2013-06-14 Thread Thierry Reding
On Fri, Jun 14, 2013 at 05:18:46PM +0900, Jingoo Han wrote: > On Thursday, June 13, 2013 11:14 PM, Arnd Bergmann wrote: > > On Thursday 13 June 2013 22:22:31 Jingoo Han wrote: [...] > > > +static int __exit exynos_pcie_remove(struct platform_device *pdev) > > > +{ > > > + struct pcie_port *pp = pla

[PATCH v9] watchdog: New watchdog driver for MEN A21 watchdogs

2013-06-14 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. Signed-off-by: Johannes Thumshirn --- Revision 2: * Removed unneeded open flag in struct a21_wdt_drv * Corrected 3bit reason code

Re: [PATCH v3 5/9] memcg: use css_get/put when charging/uncharging kmem

2013-06-14 Thread Glauber Costa
On Fri, Jun 14, 2013 at 09:17:40AM +0800, Li Zefan wrote: > >> static void memcg_kmem_mark_dead(struct mem_cgroup *memcg) > >> { > >> + /* > >> + * We need to call css_get() first, because memcg_uncharge_kmem() > >> + * will call css_put() if it sees the memcg is dead. > >> + */ > >> + sm

  1   2   3   4   5   6   >