Re: [PATCH 44/44] cpufreq: pass suitable index instead of freq to cpufreq_driver->target()

2013-08-11 Thread Viresh Kumar
On 10 August 2013 12:14, Viresh Kumar wrote: > This tries to remove code redundancy from cpufreq driver by moving some common > part of them to the core. Each driver calls cpufreq_frequency_table_target() > to > get a suitable index for a target frequency and then works on it. Its better > to >

Re: [fmc] BUG: scheduling while atomic: swapper/0/1/0x00000002

2013-08-11 Thread yun wang
On 08/11/2013 09:52 PM, Fengguang Wu wrote: Alessandro, FYI, the bug still exists in the upstream and linux-next kernels. And it's caused by: fc_probe(...) { ... spin_lock(&fc_lock); ret = misc_register(&fc->misc); ...

Re: [PATCH v3 02/12] ARM: edma: Don't clear EMR of channel in edma_stop

2013-08-11 Thread Sekhar Nori
On Monday 12 August 2013 09:59 AM, Joel Fernandes wrote: > On Sun, Aug 11, 2013 at 11:25 PM, Sekhar Nori wrote: >> On 8/8/2013 5:19 PM, Sekhar Nori wrote: >>> On Monday 05 August 2013 09:44 PM, Joel Fernandes wrote: We certainly don't want error conditions to be cleared any other place b

Re: linux-next: Tree for Aug 9 (staging/ozwpan)

2013-08-11 Thread Greg Kroah-Hartman
On Sun, Aug 11, 2013 at 09:04:00AM +, Gujare, Rupesh wrote: > > > From: Randy Dunlap [rdun...@infradead.org] > Sent: 11 August 2013 00:15 > To: Stephen Rothwell > Cc: linux-n...@vger.kernel.org; linux-kernel@vger.kernel.org; > de...@driverdev.osuosl.or

[no subject]

2013-08-11 Thread Sunil Chudasama
La primera $ 5000 fue enviado hoy por mi negocio partner.You están en contacto con el InCharge agente de Western Union para el information.I completa le pidió que continúe para enviarle $ 5000 todos los días hasta el pago de 1.500,000.00 es completed.Tel: 2347069351019 E -mail:. (jeffgi...@yahoo.co

Re: [PATCH 03/44] cpufreq: exynos: call cpufreq_frequency_table_put_attr()

2013-08-11 Thread Viresh Kumar
On 10 August 2013 12:13, Viresh Kumar wrote: > Drivers which have an exit path must call cpufreq_frequency_table_put_attr() > if > they have called cpufreq_frequency_table_get_attr() in their init path. > > This driver was missing this part and is fixed with this patch. > > Cc: Kukjin Kim > Sign

[PATCH v3] zram: don't grab mutex in zram_slot_free_noity

2013-08-11 Thread Minchan Kim
[1] introduced down_write in zram_slot_free_notify to prevent race between zram_slot_free_notify and zram_bvec_[read|write]. The race could happen if somebody who has right permission to open swap device is reading swap device while it is used by swap in parallel. However, zram_slot_free_notify is

[PATCH] zram: fix invalid memory access

2013-08-11 Thread Minchan Kim
[1] tried to fix invalid memory access on zram->disk but it didn't fix properly because get_disk failed during module exit path. Actually, we don't need to reset zram->disk's capacity to zero in module exit path so that this patch introduces new argument "reset_capacity" on zram_reset_divice and i

ATN network stack implementation

2013-08-11 Thread Prabhakar_Pujeri
Hi All, Required some input for ATN network stack implementation (IDRP, ES-IS, IS-IS, CLNP). I have following questions 1. Is there any implementation already exist in open source like IDRP or ES-IS etc 2. Is it feasible to implement in Linux kernel stack. I found some implementati

Re: [PATCH 29/44] cpufreq: pcc: Use generic cpufreq routines

2013-08-11 Thread Viresh Kumar
On 10 August 2013 12:14, Viresh Kumar wrote: > Most of the CPUFreq drivers do similar things in .exit() and .verify() > routines > and .attr. So its better if we have generic routines for them which can be > used > by cpufreq drivers then. > > This patch uses these generic routines for this driv

Re: linux-next: build failure after merge of the akpm-current tree

2013-08-11 Thread Stephen Rothwell
[Just adding some missed ccs] On Mon, 12 Aug 2013 16:07:33 +1000 Stephen Rothwell wrote: > > Hi Andrew, > > After merging the akpm-current tree, today's linux-next build > (x86_64 allmodconfig) failed like this: > > mm/memcontrol.c: In function '__mem_cgroup_iter_next': > mm/memcontrol.c:982:4

[PATCH v2] pinctrl: pinmux: Don't free pins requested by other devices in pinmux_disable_setting.

2013-08-11 Thread Sonic Zhang
From: Sonic Zhang One peripheral may share part of its pins with the 2nd peripheral and the other pins with the 3rd. If it requests all pins when part of them has already be requested and owned by the 2nd peripheral, this request fails and pinmux_disable_setting() is called. The pinmux_disable_se

Re: [PATCH 43/44] cpufreq: unicore2: Use generic cpufreq routines

2013-08-11 Thread Viresh Kumar
On 10 August 2013 12:14, Viresh Kumar wrote: > Most of the CPUFreq drivers do similar things in .exit() and .verify() > routines > and .attr. So its better if we have generic routines for them which can be > used > by cpufreq drivers then. > > This patch uses these generic routines for this driv

Re: [PATCH 11/44] cpufreq: at32ap: Use generic cpufreq routines

2013-08-11 Thread Viresh Kumar
On 10 August 2013 13:53, Hans-Christian Egtvedt wrote: > Around Sat 10 Aug 2013 12:14:07 +0530 or thereabout, Viresh Kumar wrote: >> Most of the CPUFreq drivers do similar things in .exit() and .verify() >> routines >> and .attr. So its better if we have generic routines for them which can be >>

linux-next: build failure after merge of the akpm-current tree

2013-08-11 Thread Stephen Rothwell
Hi Andrew, After merging the akpm-current tree, today's linux-next build (x86_64 allmodconfig) failed like this: mm/memcontrol.c: In function '__mem_cgroup_iter_next': mm/memcontrol.c:982:4: error: 'prev_cgroup' undeclared (first use in this function) prev_cgroup = next_cgroup; ^ mm/memc

linux-next: manual merge of the akpm-current tree with the cgroup tree

2013-08-11 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm-current tree got a conflict in mm/memcontrol.c between commits from the cgroup tree and commits from the akpm-current tree. I fixed it up (using Michal's email as a guide - see below) and can carry the fix as necessary (no action is required). --

Re: [PATCH v6] linux,stdout-path helper

2013-08-11 Thread Sascha Hauer
Greg, Given that we have Robs Ack, can you take this series? Sascha On Mon, Aug 05, 2013 at 02:40:43PM +0200, Sascha Hauer wrote: > The following adds a helper for matching the linux,stdout-path property > in the chosen node and makes use of it in the i.MX serial > > This is a series originally

Re: [PATCH 12/16] drivers/cpufreq/pxa3xx-cpufreq.c: Avoid using ARRAY_AND_SIZE(e) as a function argument

2013-08-11 Thread Viresh Kumar
On 12 August 2013 11:18, Julia Lawall wrote: > On Mon, 12 Aug 2013, Viresh Kumar wrote: > >> On 12 August 2013 11:15, Julia Lawall wrote: >> > I'm not sure to understand the sense of the question. >> >> I was talking about this :) >> >> (http://coccinelle.lip6.fr/) > > The URL of the tool if you

Re: [PATCH] tile: support kprobes on tilegx

2013-08-11 Thread Masami Hiramatsu
Hello Tony, (2013/08/10 4:08), Tony Lu wrote: > This change includes support for Kprobes, Jprobes and Return Probes. Thank you for the effort, this looks good for the first step. However, it seems this only supports instructions which doesn't touch the execution path. I don't know tile ISA, but

Re: [PATCH 12/16] drivers/cpufreq/pxa3xx-cpufreq.c: Avoid using ARRAY_AND_SIZE(e) as a function argument

2013-08-11 Thread Julia Lawall
On Mon, 12 Aug 2013, Viresh Kumar wrote: > On 12 August 2013 11:15, Julia Lawall wrote: > > I'm not sure to understand the sense of the question. > > I was talking about this :) > > (http://coccinelle.lip6.fr/) The URL of the tool if you can't figure out all the funny notation below. julia --

Re: [PATCH 12/16] drivers/cpufreq/pxa3xx-cpufreq.c: Avoid using ARRAY_AND_SIZE(e) as a function argument

2013-08-11 Thread Viresh Kumar
On 12 August 2013 11:15, Julia Lawall wrote: > I'm not sure to understand the sense of the question. I was talking about this :) (http://coccinelle.lip6.fr/) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majo

Re: [PATCH 12/16] drivers/cpufreq/pxa3xx-cpufreq.c: Avoid using ARRAY_AND_SIZE(e) as a function argument

2013-08-11 Thread Julia Lawall
On Mon, 12 Aug 2013, Viresh Kumar wrote: > On 11 August 2013 22:21, Julia Lawall wrote: > > From: Julia Lawall > > > > Replace ARRAY_AND_SIZE(e) in function argument position to avoid hiding the > > arity of the called function. > > Makes sense. > > > The semantic match that makes this chang

Re: AMD FX-4130 part only runs at 2.6/3.4GHz

2013-08-11 Thread Viresh Kumar
On 10 August 2013 03:12, Pavel Machek wrote: > Hi! > > I have > > DMI: Gigabyte Technology Co., Ltd. GA-78LMT-S2P/GA-78LMT-S2P, BIOS F3 > 10/18/2012 > > mainboard and AMD FX-4130 processor. > > processor : 3 > vendor_id : AuthenticAMD > cpu family : 21 > model : 1 > model name: AMD F

Re: [PATCH 12/16] drivers/cpufreq/pxa3xx-cpufreq.c: Avoid using ARRAY_AND_SIZE(e) as a function argument

2013-08-11 Thread Viresh Kumar
On 11 August 2013 22:21, Julia Lawall wrote: > From: Julia Lawall > > Replace ARRAY_AND_SIZE(e) in function argument position to avoid hiding the > arity of the called function. Makes sense. > The semantic match that makes this change is as follows: > (http://coccinelle.lip6.fr/) What is this

Re: [cpufreq] BUG: unable to handle kernel NULL pointer dereference at (null)

2013-08-11 Thread Viresh Kumar
On Sun, Aug 11, 2013 at 11:23 AM, Fengguang Wu wrote: > Greetings, > > I got the below dmesg and the first bad commit is > > commit 01e3e82efc6742d5cf7ba14fb7a9bea318b386d8 > Author: Lukasz Majewski > Date: Tue Aug 6 22:53:08 2013 +0530 > > cpufreq: Store cpufreq policies in a list > >

Re: [PATCH v5] net: Add MOXA ART SoCs ethernet driver

2013-08-11 Thread David Miller
From: Jonas Jensen Date: Thu, 8 Aug 2013 13:34:54 +0200 > The MOXA UC-711X hardware(s) has an ethernet controller that seem > to be developed internally. The IC used is "RTL8201CP". > > Since there is no public documentation, this driver is mostly the > one published by MOXA that has been heavi

Re: [PATCH 3/3] kprobes: Use KSYM_NAME_LEN to size identifier buffers

2013-08-11 Thread Ananth N Mavinakayanahalli
On Sat, Aug 10, 2013 at 05:55:33PM -0700, Andi Kleen wrote: > From: Joe Mario > > Use KSYM_NAME_LEN to size identifier buffers, so that it can > be easier increased. > > Cc: ana...@in.ibm.com > Signed-off-by: Joe Mario > Signed-off-by: Andi Kleen Acked-by: Ananth N Mavinakayanahalli > --- >

Re: [PATCH v3 02/12] ARM: edma: Don't clear EMR of channel in edma_stop

2013-08-11 Thread Joel Fernandes
On Sun, Aug 11, 2013 at 11:25 PM, Sekhar Nori wrote: > On 8/8/2013 5:19 PM, Sekhar Nori wrote: >> On Monday 05 August 2013 09:44 PM, Joel Fernandes wrote: >>> We certainly don't want error conditions to be cleared any other >>> place but the EDMA error handler, as this will make us 'forget' >>> ab

Re: [PATCH v3 02/12] ARM: edma: Don't clear EMR of channel in edma_stop

2013-08-11 Thread Sekhar Nori
On 8/8/2013 5:19 PM, Sekhar Nori wrote: > On Monday 05 August 2013 09:44 PM, Joel Fernandes wrote: >> We certainly don't want error conditions to be cleared any other >> place but the EDMA error handler, as this will make us 'forget' >> about missed events we might need to know errors have occurred

Re: Should unprivileged linkat(..., AT_EMPTY_PATH) work on O_TMPFILE files?

2013-08-11 Thread Aneesh Kumar K.V
"Aneesh Kumar K.V" writes: > Andy Lutomirski writes: > >> On Sun, Aug 11, 2013 at 9:45 AM, Aneesh Kumar K.V >> wrote: >>> Andy Lutomirski writes: >>> The change: commit f4e0c30c191f87851c4a53454abb55ee276f4a7e Author: Al Viro Date: Tue Jun 11 08:34:36 2013 +0400 >>>

Re: Should unprivileged linkat(..., AT_EMPTY_PATH) work on O_TMPFILE files?

2013-08-11 Thread Aneesh Kumar K.V
Andy Lutomirski writes: > On Sun, Aug 11, 2013 at 9:45 AM, Aneesh Kumar K.V > wrote: >> Andy Lutomirski writes: >> >>> The change: >>> >>> commit f4e0c30c191f87851c4a53454abb55ee276f4a7e >>> Author: Al Viro >>> Date: Tue Jun 11 08:34:36 2013 +0400 >>> >>> allow the temp files created by

Re: [for-next-3.11][PATCH 4/4] tracing: Fix reset of time stamps during trace_clock changes

2013-08-11 Thread Greg Kroah-Hartman
On Thu, Aug 08, 2013 at 12:12:06PM -0400, Steven Rostedt wrote: > Greg, > > I'm testing the backports, and I found that this patch depends on commit > 10246fa35d4ffdfe472185d4cbf9c2dfd9a9f023 "tracing: Use flag > buffer_disabled for irqsoff tracer" > > Please add that to 3.10 before applying this

Re: [PATCH] zram: bug fix: delay lock holding in zram_slot_free_noity

2013-08-11 Thread Minchan Kim
Hello Greg, On Fri, Aug 09, 2013 at 04:39:08PM -0700, Greg Kroah-Hartman wrote: > On Tue, Aug 06, 2013 at 01:26:34AM +0900, Minchan Kim wrote: > > On Mon, Aug 05, 2013 at 04:18:34PM +0900, Minchan Kim wrote: > > > I was preparing to promote zram and it was almost done. > > > Before sending patch,

Re: [RFC PATCH v2 0/4] mm: reclaim zbud pages on migration and compaction

2013-08-11 Thread Minchan Kim
Hello Benjamin, On Sun, Aug 11, 2013 at 11:16:47PM -0400, Benjamin LaHaise wrote: > Hello Minchan, > > On Mon, Aug 12, 2013 at 11:25:35AM +0900, Minchan Kim wrote: > > Hello, > > > > On Fri, Aug 09, 2013 at 12:22:16PM +0200, Krzysztof Kozlowski wrote: > > > Hi, > > > > > > Currently zbud pages

[PATCH] FMC: Staticize local symbols

2013-08-11 Thread Jingoo Han
This local symbol is used only in this file. Fix the following sparse warnings: drivers/fmc/fmc-write-eeprom.c:106:5: warning: symbol 'fwe_probe' was not declared. Should it be static? drivers/fmc/fmc-write-eeprom.c:147:5: warning: symbol 'fwe_remove' was not declared. Should it be static? Sign

Re: [PATCH 5/7] powerpc/perf: Define big-endian version of perf_mem_data_src

2013-08-11 Thread Vince Weaver
On Mon, 12 Aug 2013, Michael Ellerman wrote: > > Yes I think so. The interface is already defined and it's little endian, > so on big endian we just need to swap. > > The only part I'm not clear on is how things are handled in perf > userspace, it seems to already do some byte swapping. It would

Re: [RFC PATCH v2 0/4] mm: reclaim zbud pages on migration and compaction

2013-08-11 Thread Benjamin LaHaise
Hello Minchan, On Mon, Aug 12, 2013 at 11:25:35AM +0900, Minchan Kim wrote: > Hello, > > On Fri, Aug 09, 2013 at 12:22:16PM +0200, Krzysztof Kozlowski wrote: > > Hi, > > > > Currently zbud pages are not movable and they cannot be allocated from CMA > > region. These patches try to address the pr

Re: [Linux-Xtensa] Re: [PATCH] time: sched_clock: fix integer overflow

2013-08-11 Thread Baruch Siach
Hi Thomas, John, On Mon, Jul 29, 2013 at 08:59:39AM +0300, Baruch Siach wrote: > On Wed, Jul 17, 2013 at 12:46:53PM +0300, Baruch Siach wrote: > > The expression '(1 << 32)' happens to evaluate as 0 on ARM, but it > > evaluates as > > 1 on xtensa and x86_64. This zeros sched_clock_mask, and break

Re: [PATCH 07/14] cgroup: reorganize css init / exit paths

2013-08-11 Thread Li Zefan
> /* invoke ->css_online() on a new CSS and mark it online if successful */ > -static int online_css(struct cgroup_subsys *ss, struct cgroup *cgrp) > +static int online_css(struct cgroup_subsys_state *css) > { > - struct cgroup_subsys_state *css = cgroup_css(cgrp, ss->subsys_id); > + stru

kmemleak in apei_res_add

2013-08-11 Thread Alexandra N. Kossovsky
When running 3.10.3 with kmemleak enabled, I see following warnings from kmemleak: unreferenced object 0x88024d2219a0 (size 32): comm "swapper/0", pid 1, jiffies 4294894532 (age 26865.180s) hex dump (first 32 bytes): 58 de 0c 73 02 88 ff ff 58 de 0c 73 02 88 ff ff X..sX..s

RE: [PATCH] mmc:bfin_sdh change driver to use dev_pm_ops infrastructure

2013-08-11 Thread Zhang, Sonic
Acked-by: Sonic Zhang >-Original Message- >From: Shuah Khan [mailto:shuah...@samsung.com] >Sent: Saturday, August 10, 2013 11:21 PM >To: Zhang, Sonic; c...@laptop.org >Cc: Shuah Khan; uclinux-dist-de...@blackfin.uclinux.org; >linux-...@vger.kernel.org; >linux-kernel@vger.kernel.org; shuah

RE: [PATCH] mmc:bfin_sdh fix build warning in sdh_dma_irq()

2013-08-11 Thread Zhang, Sonic
Acked-by: Sonic Zhang >-Original Message- >From: Shuah Khan [mailto:shuah...@samsung.com] >Sent: Saturday, August 10, 2013 11:21 PM >To: Zhang, Sonic; c...@laptop.org >Cc: Shuah Khan; uclinux-dist-de...@blackfin.uclinux.org; >linux-...@vger.kernel.org; >linux-kernel@vger.kernel.org; shuah

Re: [RFC PATCH v2 0/4] mm: reclaim zbud pages on migration and compaction

2013-08-11 Thread Minchan Kim
Hello, On Fri, Aug 09, 2013 at 12:22:16PM +0200, Krzysztof Kozlowski wrote: > Hi, > > Currently zbud pages are not movable and they cannot be allocated from CMA > region. These patches try to address the problem by: The zcache, zram and GUP pages for memory-hotplug and/or CMA are same situation.

Re: Reading perf counters at ftrace trace boundaries

2013-08-11 Thread zhangwei(Jovi)
On 2013/8/12 8:03, Karim Yaghmour wrote: > > Wondering if there's a way for reading perf counters in the kernel. I'd > like to read/record perf counters on ftrace function tracing > entries/exits to provide a rundown of the value of various counters on > function call boundaries. > > [ Steven: ap

linux-next: manual merge of the cgroup tree with the net-next tree

2013-08-11 Thread Stephen Rothwell
Hi Tejun, Today's linux-next merge of the cgroup tree got a conflict in include/net/netprio_cgroup.h between commit 378307217ed9 ("cls_cgroup.h netprio_cgroup.h: Remove extern from function prototypes") from the net-next tree and commit 6d37b97428d2 ("netprio_cgroup: pass around @css instead of @c

[patch 1/3 v2] raid5: offload stripe handle to workqueue

2013-08-11 Thread Shaohua Li
This is another attempt to create multiple threads to handle raid5 stripes. This time I use workqueue. raid5 handles request (especially write) in stripe unit. A stripe is page size aligned/long and acrosses all disks. Writing to any disk sector, raid5 runs a state machine for the corresponding st

[patch 0/3 v2] raid5: make stripe handling multi-threading

2013-08-11 Thread Shaohua Li
Neil, This is another attempt to make raid5 stripe handling multi-threading. Recent workqueue improvement for unbound workqueue looks very promising to the raid5 usage. I had details in the first patch. The patches are against your tree with patch 'raid5: make release_stripe lockless' and 'raid5:

[patch 3/3 v2] raid5: only wakeup necessary threads

2013-08-11 Thread Shaohua Li
If there are no enough stripes to handle, we'd better not always queue all available work_structs. If one worker can only handle small or even none stripes, it will impact request merge and create lock contention. With this patch, the number of work_struct running will depend on pending stripes nu

[patch 2/3 v2] raid5: sysfs entry to control worker thread number

2013-08-11 Thread Shaohua Li
Add a sysfs entry to control running workqueue thread number. If group_thread_cnt is set to 0, we will disable workqueue offload handling of stripes. Signed-off-by: Shaohua Li --- drivers/md/raid5.c | 60 + 1 file changed, 60 insertions(+) I

Re: [PATCH v9 07/16] iommu/exynos: support for device tree

2013-08-11 Thread Cho KyongHo
On Fri, 09 Aug 2013 10:30:11 +0200, Tomasz Figa wrote: > On Friday 09 of August 2013 15:37:30 Cho KyongHo wrote: > > On Fri, 09 Aug 2013 00:41:25 +0200, Tomasz Figa wrote: > > > Hi KyongHo, > > > > > > On Thursday 08 of August 2013 18:38:49 Cho KyongHo wrote: > > > > This commit adds device tree s

Re: Linux 3.4.57

2013-08-11 Thread Greg KH
diff --git a/Makefile b/Makefile index 2fe1f6d..7f4df0c 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 3 PATCHLEVEL = 4 -SUBLEVEL = 56 +SUBLEVEL = 57 EXTRAVERSION = NAME = Saber-toothed Squirrel diff --git a/arch/x86/kernel/i387.c b/arch/x86/kernel/i387.c index 2d6e649..6610e8

Linux 3.4.57

2013-08-11 Thread Greg KH
I'm announcing the release of the 3.4.57 kernel. All users of the 3.4 kernel series must upgrade. The updated 3.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.4.y and can be browsed at the normal kernel.org git web browser:

Linux 3.0.90

2013-08-11 Thread Greg KH
I'm announcing the release of the 3.0.90 kernel. All users of the 3.0 kernel series must upgrade. The updated 3.0.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.0.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 3.0.90

2013-08-11 Thread Greg KH
diff --git a/MAINTAINERS b/MAINTAINERS index d81f637..08e6f61 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -5725,7 +5725,6 @@ P:Vincent Sanders M: Simtec Linux Team W: http://www.simtec.co.uk/products/EB110ATX/ S: Supported -F: Documentation/stable_kernel_rules.txt

Linux 3.10.6

2013-08-11 Thread Greg KH
I'm announcing the release of the 3.10.6 kernel. All users of the 3.10 kernel series must upgrade. The updated 3.10.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.10.y and can be browsed at the normal kernel.org git web browser:

Re: Non-enumerable devices on USB and other enumerable buses

2013-08-11 Thread Greg Kroah-Hartman
On Sun, Aug 11, 2013 at 08:08:26PM +0100, Mark Brown wrote: > Looking at the enumerable buses in the kernel I don't see any which have > real support for any kind of registration of devices prior to their > enumeration. Similarly currently all the DT bindings in the kernel I've > been able to noti

Re: Reading perf counters at ftrace trace boundaries

2013-08-11 Thread Karim Yaghmour
On 13-08-11 10:47 PM, Andi Kleen wrote: > That's what normal sampling already does. > > If you're worried about systematic shadow effects just randomize a bit. That's actually the point. I'd like to be able to study/compare both approaches. I could be completely off, but I'd like to see if a div

Re: [PATCH v9 04/16] iommu/exynos: allocate lv2 page table from own slab

2013-08-11 Thread Cho KyongHo
On Fri, 09 Aug 2013 11:35:20 +0200, Tomasz Figa wrote: > On Friday 09 of August 2013 17:51:56 Cho KyongHo wrote: > > On Fri, 09 Aug 2013 09:55:30 +0200, Tomasz Figa wrote: > > > Hi KyongHo, > > > > > > On Friday 09 of August 2013 14:58:49 Cho KyongHo wrote: > > > > On Thu, 08 Aug 2013 16:00:18 +02

Re: [PATCH v9 14/16] iommu/exynos: add support for power management subsystems.

2013-08-11 Thread Cho KyongHo
On Fri, 09 Aug 2013 10:32:40 +0200, Tomasz Figa wrote: > On Friday 09 of August 2013 16:49:43 Cho KyongHo wrote: > > On Fri, 09 Aug 2013 01:03:05 +0200, Tomasz Figa wrote: > > > Hi KyongHo, > > > > > > nit: Please drop the trailing dot at the end of patch subject. > > > > Oh. I didn't catch that.

Re: Non-enumerable devices on USB and other enumerable buses

2013-08-11 Thread Alan Stern
On Sun, 11 Aug 2013, Mark Brown wrote: > Looking at the enumerable buses in the kernel I don't see any which have > real support for any kind of registration of devices prior to their > enumeration. Similarly currently all the DT bindings in the kernel I've > been able to notice cover only non-en

linux-next: manual merge of the wireless-next tree with the wireless tree

2013-08-11 Thread Stephen Rothwell
Hi John, Today's linux-next merge of the wireless-next tree got a conflict in drivers/net/wireless/iwlwifi/pcie/trans.c between commit eabc4ac5d760 ("iwlwifi: pcie: disable L1 Active after pci_enable_device") from thewireless tree and commit f2532b04b2ec ("iwlwifi: pcie: don't disable L1 for newes

Re: Reading perf counters at ftrace trace boundaries

2013-08-11 Thread Andi Kleen
> Indeed. It doesn't actually have to be at every single ftrace > begin/exit. But possibly starting with some kind of every nth and then > drilling down as the culprit is incrementally singled-out. That's what normal sampling already does. If you're worried about systematic shadow effects just ra

Linux 3.11-rc5

2013-08-11 Thread Linus Torvalds
Sadly, the numerology doesn't quite work out, and while releasing the final 3.11 today would be a lovely coincidence (Windows 3.11 was released twenty years ago today), it is not to be. Instead, we have 3.11-rc5. Which is showing signs of calming down, and is noticeably smaller than previous rc's

Re: Reading perf counters at ftrace trace boundaries

2013-08-11 Thread Karim Yaghmour
On 13-08-11 10:23 PM, Andi Kleen wrote: > KVM does it, see arch/x86/kvm/pmu.c. Essentially it would be doing RDPMC. Thx for the pointer, appreciated. > But the overhead will be likely very high, some sampling approach > is likely better. Indeed. It doesn't actually have to be at every single ft

Re: Reading perf counters at ftrace trace boundaries

2013-08-11 Thread Andi Kleen
Karim Yaghmour writes: > Wondering if there's a way for reading perf counters in the kernel. I'd > like to read/record perf counters on ftrace function tracing > entries/exits to provide a rundown of the value of various counters on > function call boundaries. KVM does it, see arch/x86/kvm/pmu.c

[PATCH] iwlwifi: mvm: make debugfs write() operations write up to count bytes

2013-08-11 Thread Djalal Harouni
Some debugfs write() operations of the MVM Firmware will ignore the count argument, and will copy more bytes than what was specified. Fix this by getting the right count of bytes. This will also honor restrictions put on the number of bytes to write. To be consitant this patch also switches the i

Re: SCSI bus failures with qemu-arm in kernel 3.8+

2013-08-11 Thread Guenter Roeck
On 08/11/2013 03:04 PM, Russell King - ARM Linux wrote: On Sun, Aug 11, 2013 at 08:54:43AM -0700, Guenter Roeck wrote: Hi, trying to boot arm versatile images with qemu results in the following error if I try to boot with a disk image. sym0: <895a> rev 0x0 at pci :00:0d.0 irq 92

Re: [PATCH 33/35] power: use dev_get_platdata()

2013-08-11 Thread Jingoo Han
On Saturday, August 10, 2013 7:05 AM, Anton Vorontsov wrote: > On Tue, Jul 30, 2013 at 05:19:27PM +0900, Jingoo Han wrote: > > Use the wrapper function for retrieving the platform data instead of > > accessing dev->platform_data directly. > > Um.. what is the benefit or rationale of this patch? C

Re: [PATCH 0/3] tracing: kill the no longer needed PITA code

2013-08-11 Thread Steven Rostedt
On Sun, 11 Aug 2013 19:49:29 +0200 Oleg Nesterov wrote: > It seems that you have no more 3.11 patches. > > Should I resend this series? Only if it changed. I'll be looking into 3.12 patches come Monday. -- Steve -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in th

Reading perf counters at ftrace trace boundaries

2013-08-11 Thread Karim Yaghmour
Wondering if there's a way for reading perf counters in the kernel. I'd like to read/record perf counters on ftrace function tracing entries/exits to provide a rundown of the value of various counters on function call boundaries. [ Steven: apologies for sending you a duplicate here of what I some

Re: [PATCH 5/7] powerpc/perf: Define big-endian version of perf_mem_data_src

2013-08-11 Thread Michael Ellerman
On Sat, Aug 10, 2013 at 10:34:58PM -0400, Vince Weaver wrote: > On Sat, 10 Aug 2013, Sukadev Bhattiprolu wrote: > > > > > include/uapi/linux/perf_event.h | 55 > > +++ > > 1 files changed, 55 insertions(+), 0 deletions(-) > > > +#define __PERF_LE 1234 > >

Re: [patch 9/9] mm: workingset: keep shadow entries in check

2013-08-11 Thread Andi Kleen
I really like the idea of using the spare slots in the radix tree for something useful. It's amazing we haven't used that before. I wonder if with some clever encoding even more information could be fit? e.g. I assume you don't really need all bits of the refault distance, just a good enough app

Re: Patch for lost wakeups

2013-08-11 Thread James Bottomley
On Sun, 2013-08-11 at 19:39 +0200, Oleg Nesterov wrote: > On 08/10, Long Gao wrote: > > > > By the way, could you help me join the linux kernel mailling list? > > Do you mean, you want to subscribe? > > Well, from http://www.tux.org/lkml/#s3-1 > > send the line "subscribe linux-kernel

Re: [PATCH 17/18] spi: s3c64xx: Always select S3C64XX_PL080 when ARCH_S3C64XX is enabled

2013-08-11 Thread Tomasz Figa
Hi Mark, On Sunday 11 of August 2013 20:11:40 Mark Brown wrote: > On Sun, Aug 11, 2013 at 07:59:29PM +0200, Tomasz Figa wrote: > > @@ -366,7 +366,7 @@ config SPI_S3C24XX_FIQ > > > > config SPI_S3C64XX > > > > tristate "Samsung S3C64XX series type SPI" > > depends on (ARCH_S3C24XX || AR

Re: [PATCH 0/1] Platform: x86: chromeos_laptop - convert to i2c_driver to handle i915 race

2013-08-11 Thread Benson Leung
Hi Martin, On Sun, Aug 11, 2013 at 12:54 PM, Martin Nordholts wrote: > I get this in dmesg --level err > (--notime) though > > find_i2c_adapter_num: i2c adapter i915 gmbus panel not found on system. > find_i2c_adapter_num: i2c adapter i915 gmbus vga not found on system. > find_i2c_adapter_num: i

Re: Non-enumerable devices on USB and other enumerable buses

2013-08-11 Thread Grant Likely
On Sun, Aug 11, 2013 at 8:08 PM, Mark Brown wrote: > I know there's been some discussion of this topic but do we have any > general consensus on how to handle such things both from a Linux driver > model point of view and from a DT/ACPI point of view? There is precedence for describing enumerated

Re: SCSI bus failures with qemu-arm in kernel 3.8+

2013-08-11 Thread Russell King - ARM Linux
On Sun, Aug 11, 2013 at 08:54:43AM -0700, Guenter Roeck wrote: > Hi, > > trying to boot arm versatile images with qemu results in the following error > if I try to boot with a disk image. > > sym0: <895a> rev 0x0 at pci :00:0d.0 irq 92 > sym0: SCSI BUS has been reset. > scsi0 : s

Re: [patch 8/9] mm: thrash detection-based file cache sizing

2013-08-11 Thread Vlastimil Babka
On 08/07/2013 12:44 AM, Johannes Weiner wrote: To accomplish this, a per-zone counter is increased every time a page is evicted and a snapshot of that counter is stored as shadow entry in the page's now empty page cache radix tree slot. Upon refault of that page, the difference between the curre

Re: linux-next: build failure after merge of the ext4 tree

2013-08-11 Thread Yann E. MORIN
Sam, All, On 2013-08-09 13:42 +0200, Sam Ravnborg spake thusly: > On Thu, Aug 08, 2013 at 11:54:49PM +0200, Yann E. MORIN wrote: > > Stephen, All, > > > > On 2013-08-08 21:16 +0200, Yann E. MORIN spake thusly: > > > On 2013-08-08 10:36 +1000, Stephen Rothwell spake thusly: > > > > On Thu, 8 Aug 2

Re: [PATCH v3] coccinelle: replace 0/1 with false/true in functions returning bool

2013-08-11 Thread Julia Lawall
Acked-by: Julia Lawall On Sun, 11 Aug 2013, Rasmus Villemoes wrote: > This semantic patch replaces "return {0,1};" with "return > {false,true};" in functions returning bool. > > Signed-off-by: Rasmus Villemoes > --- > v2: Simplified script, and eliminate whitespace mangling at the same > time

[GIT PULL] SCSI fixes for 3.11-rc4

2013-08-11 Thread James Bottomley
This is three bug fixes: An fnic warning caused by sleeping under a lock, a major regression with our updated WRITE SAME/UNMAP logic which caused tons of USB devices (and one RAID card) to cease to function and a megaraid_sas firmware initialisation problem which causes kdump failures. The patch i

[PATCH v3] coccinelle: replace 0/1 with false/true in functions returning bool

2013-08-11 Thread Rasmus Villemoes
This semantic patch replaces "return {0,1};" with "return {false,true};" in functions returning bool. Signed-off-by: Rasmus Villemoes --- v2: Simplified script, and eliminate whitespace mangling at the same time. Thanks to Julia Lawall. v3: Further improvements from Julia. In particular, it now

Re: Cannot hot remove a memory device

2013-08-11 Thread Rafael J. Wysocki
On Thursday, August 08, 2013 04:50:42 PM Toshi Kani wrote: > On Fri, 2013-08-09 at 00:12 +0200, Rafael J. Wysocki wrote: > > On Thursday, August 08, 2013 11:15:20 AM Toshi Kani wrote: > > > On Fri, 2013-08-02 at 18:04 -0600, Toshi Kani wrote: > > > > On Sat, 2013-08-03 at 01:43 +0200, Rafael J. Wys

Re: [PATCH] ACPI, cpu hotplug: move try_offline_node() after acpi_unmap_lsapic()

2013-08-11 Thread Rafael J. Wysocki
On Friday, August 09, 2013 08:11:19 PM Toshi Kani wrote: > On Sat, 2013-08-10 at 01:29 +0200, Rafael J. Wysocki wrote: > > On Friday, August 09, 2013 04:16:56 PM Toshi Kani wrote: > > > On Fri, 2013-08-09 at 15:28 +0800, Tang Chen wrote: > > > > On 08/07/2013 12:56 AM, Toshi Kani wrote: > > > > > O

[PATCH 1/1] mtd: mtdoops: fix for a potential memory leak in mtdoops_notify_remove

2013-08-11 Thread Nilanjan Roychowdhury
we are allocating cxt->oops_page_used using vmalloc in mtdoops_notify_add for every mtd_info addition but not freeing it in mtdoops_notify_remove Signed-off-by: Nilanjan Roychowdhury --- drivers/mtd/mtdoops.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/mtdoops.c b/drivers/

Re: [PATCH 0/1] Platform: x86: chromeos_laptop - convert to i2c_driver to handle i915 race

2013-08-11 Thread Martin Nordholts
2013/8/7 Benson Leung > > If you get a chance, could you let me know if my deferred probe > changes work well in your configuration? I can confirm that your changes works, i.e. the touchpad and touchscreen works directly after boot on my 32GB non-LTE Chromebook Pixel. I applied the patches on a c

Re: [PATCH 17/18] spi: s3c64xx: Always select S3C64XX_PL080 when ARCH_S3C64XX is enabled

2013-08-11 Thread Mark Brown
On Sun, Aug 11, 2013 at 07:59:29PM +0200, Tomasz Figa wrote: > @@ -366,7 +366,7 @@ config SPI_S3C24XX_FIQ > config SPI_S3C64XX > tristate "Samsung S3C64XX series type SPI" > depends on (ARCH_S3C24XX || ARCH_S3C64XX || ARCH_S5P64X0 || ARCH_EXYNOS) > - select S3C64XX_DMA if ARCH_S3C

Non-enumerable devices on USB and other enumerable buses

2013-08-11 Thread Mark Brown
Looking at the enumerable buses in the kernel I don't see any which have real support for any kind of registration of devices prior to their enumeration. Similarly currently all the DT bindings in the kernel I've been able to notice cover only non-enumerable buses. This generally makes sense wher

Re: Should unprivileged linkat(..., AT_EMPTY_PATH) work on O_TMPFILE files?

2013-08-11 Thread Andy Lutomirski
On Sun, Aug 11, 2013 at 9:45 AM, Aneesh Kumar K.V wrote: > Andy Lutomirski writes: > >> The change: >> >> commit f4e0c30c191f87851c4a53454abb55ee276f4a7e >> Author: Al Viro >> Date: Tue Jun 11 08:34:36 2013 +0400 >> >> allow the temp files created by open() to be linked to >> >> O_TMPF

Re: [PATCH v3 1/2] ARM: OMAP: Add secure function omap_smc3() which calling instruction smc #1

2013-08-11 Thread Ивайло Димитров
> Оригинално писмо >От: Dave Martin >Относно: Re: [PATCH v3 1/2] ARM: OMAP: Add secure function omap_smc3() which calling instruction smc #1 >До: Pali Rohár >Изпратено на: Понеделник, 2013, Август 5 16:29:44 EEST > > >On Sun, Aug 04, 2013 at 10:45:00AM +0200, Pali Rohá

Re: [PATCH 1/16] sound/soc/pxa/mioa701_wm9713.c: Avoid using ARRAY_AND_SIZE(e) as a function argument

2013-08-11 Thread Mark Brown
On Sun, Aug 11, 2013 at 06:51:42PM +0200, Julia Lawall wrote: > From: Julia Lawall > > Replace ARRAY_AND_SIZE(e) in function argument position to avoid hiding the > arity of the called function. Applied, thanks. signature.asc Description: Digital signature

[PATCH 00/18] ARM: s3c64xx: Let amba-pl08x driver handle DMA

2013-08-11 Thread Tomasz Figa
This is first non-RFC version of my patches extending support of amba-pl08x DMA engine driver to PL080S DMA engine (PL080 modified by Samsung) found in Samsung S3C64xx SoCs. Due to changes scattered across different areas of kernel, patches are based on merged 3 branches: - for-next of Kgene's Sa

[PATCH 02/18] dmaengine: PL08x: Add support for different offset of CONFIG register

2013-08-11 Thread Tomasz Figa
Some variants of PL08x (namely PL080S, found in Samsung S3C64xx SoCs) have CONFIG register at different offset. This patch makes the driver use offset from vendor data struct. Signed-off-by: Tomasz Figa Reviewed-by: Linus Walleij Acked-by: Vinod Koul --- drivers/dma/amba-pl08x.c | 30 +

[PATCH 01/18] dmaengine: PL08x: Refactor pl08x_getbytes_chan() to lower indentation

2013-08-11 Thread Tomasz Figa
Further patch will introduce support for PL080S, which requires some things to be done conditionally, thus increasing indentation level of some functions even more. This patch reduces indentation level of pl08x_getbytes_chan() function by inverting several conditions and returning from function wh

[PATCH 03/18] dmaengine: PL08x: Rework LLI handling to be less fragile

2013-08-11 Thread Tomasz Figa
Currently memory allocated for LLIs is casted to an array of structs, which is fragile and also limits the driver to a single, predefined LLI layout, while there are some variants of PL08x, which have more fields in LLI (namely PL080S with its extra CCTL2). This patch makes LLIs a sequence of 32-b

[PATCH 07/18] dmaengine: PL08x: Fix reading the byte count in cctl

2013-08-11 Thread Tomasz Figa
From: Alban Bedel There are more fields than just SWIDTH in CH_CONTROL register, so read register value must be masked in addition to shifting. Signed-off-by: Alban Bedel Signed-off-by: Tomasz Figa Reviewed-by: Linus Walleij --- drivers/dma/amba-pl08x.c | 4 1 file changed, 4 insertions

[PATCH 05/18] dmaengine: PL08x: Add support for PL080S variant

2013-08-11 Thread Tomasz Figa
PL080S is a modified version of PL080 that can be found on Samsung SoCs, such as S3C6400 and S3C6410. It has different offset of CONFIG register, separate CONTROL1 register that holds transfer size and larger maximum transfer size. Signed-off-by: Tomasz Figa Acked-by: Linus Walleij --- drivers

[PATCH 04/18] dmaengine: PL08x: Move LLI dumping code into separate function

2013-08-11 Thread Tomasz Figa
This patch refactors debugging code that dumps LLI entries by moving it into separate function, which is stubbed when VERBOSE_DEBUG is not selected. This allows us to get rid of the ugly ifdef from the body of pl08x_fill_llis_for_desc(). No functional change is introduced by this patch. Signed-of

[PATCH 08/18] dmaengine: PL08x: Add cyclic transfer support

2013-08-11 Thread Tomasz Figa
From: Alban Bedel Many audio interface drivers require support of cyclic transfers to work correctly, for example Samsung ASoC DMA driver. This patch adds support for cyclic transfers to the amba-pl08x driver. Signed-off-by: Alban Bedel [tfiga: Rebase and slightly beautify the original patch.]

[PATCH 09/18] ASoC: Samsung: Do not queue cyclic buffers multiple times

2013-08-11 Thread Tomasz Figa
The legacy S3C-DMA API required every period of a cyclic buffer to be queued separately. After conversion of Samsung ASoC to Samsung DMA wrappers somebody made an assumption that the same is needed for DMA engine API, which is not true. In effect, Samsung ASoC DMA code was queuing the whole cyclic

  1   2   >