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

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

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

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

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

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

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

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?

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

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

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

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); > +

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;

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;

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

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:

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

[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

[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

[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

[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(+)

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

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

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

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

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

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

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

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

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

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

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

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

[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

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?

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

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

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

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

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:

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

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 :

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

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

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 >

[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

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

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

[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

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

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

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

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

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

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

[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

[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

[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

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

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

[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

[PATCH 11/18] ASoC: Samsung: Do not require legacy DMA API in case of S3C64XX

2013-08-11 Thread Tomasz Figa
With support for amba-pl08x driver, on S3C64xx the generic DMA engine API can be used instead of the private s3c-dma interface. Signed-off-by: Tomasz Figa Acked-by: Linus Walleij --- sound/soc/samsung/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 14/18] clk: samsung: s3c64xx: Add aliases for DMA clocks

2013-08-11 Thread Tomasz Figa
This patch adds clkdev aliases for clocks used by PL08x DMA driver. Signed-off-by: Tomasz Figa --- drivers/clk/samsung/clk-s3c64xx.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/clk/samsung/clk-s3c64xx.c b/drivers/clk/samsung/clk-s3c64xx.c index eeda567..79ee9a6 100644 ---

[PATCH 15/18] ARM: s3c64xx: Remove legacy DMA driver

2013-08-11 Thread Tomasz Figa
Since support for generic PL08x DMA engine driver has been added, there is no need to keep the old legacy driver, so this patch removes it. Signed-off-by: Tomasz Figa --- arch/arm/mach-s3c64xx/Kconfig| 5 - arch/arm/mach-s3c64xx/Makefile | 1 -

[PATCH 12/18] ARM: s3c64xx: Add support for DMA using generic amba-pl08x driver

2013-08-11 Thread Tomasz Figa
This patch adds all required platform-specific data and initialization code to support the generic amba-pl08x driver on S3C64xx SoCs. Also some compatibility definitions are added to make the transition from legacy API to DMA engine easier. The biggest hack here is passing const char * pointers

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

2013-08-11 Thread Tomasz Figa
The legacy S3C64xx DMA driver has been removed, DMA support on S3C64xx is provided only by the generic PL08x driver. This patch modifies the Kconfig entry of spi-s3c64xx driver, which relies on availability of DMA, to always select the S3C64XX_PL080 symbol. Signed-off-by: Tomasz Figa ---

[PATCH 16/18] clk: samsung: s3c64xx: Remove clock aliases of old DMA driver

2013-08-11 Thread Tomasz Figa
Since the old DMA driver got removed, these aliases are no longer necessary. Signed-off-by: Tomasz Figa --- drivers/clk/samsung/clk-s3c64xx.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/clk/samsung/clk-s3c64xx.c b/drivers/clk/samsung/clk-s3c64xx.c index 79ee9a6..dd47a83 100644

[PATCH 18/18] ASoC: Samsung: Always select S3C64XX_PL080 when ARCH_S3C64XX is enabled

2013-08-11 Thread Tomasz Figa
The legacy S3C64xx DMA driver has been removed, DMA support on S3C64xx is provided only by the generic PL08x driver. This patch modifies the Kconfig entry of Samsung ASoC subsystem, which relies on availability of DMA, to always select the S3C64XX_PL080 symbol. Signed-off-by: Tomasz Figa ---

[PATCH 06/18] dmaengine: PL08x: Add support for different maximum transfer size

2013-08-11 Thread Tomasz Figa
PL080S has separate register to store transfer size in, allowing single transfer to be much larger than in standard PL080. This patch makes the amba-pl08x driver aware of this and removes writing transfer size to reserved bits of CH_CONTROL register on PL080S, which was not a problem witn

[PATCH 13/18] ARM: s3c64xx: clock: Add clkdev lookup for DMA clocks

2013-08-11 Thread Tomasz Figa
This patch adds clkdev lookup entries for clocks used by PL08x DMA driver. Signed-off-by: Tomasz Figa --- arch/arm/mach-s3c64xx/clock.c | 28 ++-- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/arch/arm/mach-s3c64xx/clock.c

[PATCH 10/18] spi: s3c64xx: Do not require legacy DMA API in case of S3C64XX

2013-08-11 Thread Tomasz Figa
With support for amba-pl08x driver, on S3C64xx the generic DMA engine API can be used instead of the private s3c-dma interface. Signed-off-by: Tomasz Figa Acked-by: Linus Walleij --- drivers/spi/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/Kconfig

[PATCH] __ptrace_may_access() should not deny sub-threads

2013-08-11 Thread Oleg Nesterov
From: Mark Grondona __ptrace_may_access() checks get_dumpable/ptrace_has_cap/etc if task != current, this can can lead to surprising results. For example, a sub-thread can't readlink("/proc/self/exe") if the executable is not readable. setup_new_exec()->would_dump() notices that

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

2013-08-11 Thread Oleg Nesterov
On 07/31, Steven Rostedt wrote: > > On Wed, 2013-07-31 at 19:31 +0200, Oleg Nesterov wrote: > > Hello. > > > > Simple cleanups on top of the recent (already applied) > > id/filter/format/enable changes. > > > > f_op->owner == mod is no longer needed and can go away. > > > > This patch set is not

Re: [PATCH 8/9] migrate: check movability of hugepage in unmap_and_move_huge_page()

2013-08-11 Thread Aneesh Kumar K.V
Naoya Horiguchi writes: > Currently hugepage migration works well only for pmd-based hugepages > (mainly due to lack of testing,) so we had better not enable migration > of other levels of hugepages until we are ready for it. > > Some users of hugepage migration (mbind, move_pages, and

Re: Patch for lost wakeups

2013-08-11 Thread Oleg Nesterov
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 your_email@your_ISP" in the body of the message to

Re: [PATCH 9/9] prepare to remove /proc/sys/vm/hugepages_treat_as_movable

2013-08-11 Thread Aneesh Kumar K.V
Naoya Horiguchi writes: > Now we have extended hugepage migration and it's opened to many users > of page migration, which is a good reason to consider hugepage as movable. > So we can go to the direction to remove this parameter. In order to > allow userspace to prepare for the removal, let's

Re: Patch for lost wakeups

2013-08-11 Thread Oleg Nesterov
On 08/11, Oleg Nesterov wrote: > > On 08/09, Linus Torvalds wrote: > > > > I guess that instead of a "smp_wmb()", we could do another > > "smp_mb__before_spinlock()" thing, like we already allow for other > > architectures to do a weaker form of mb in case the spinlock is > > already a full mb.

Re: Patch for lost wakeups

2013-08-11 Thread Oleg Nesterov
On 08/09, Linus Torvalds wrote: > > I guess that instead of a "smp_wmb()", we could do another > "smp_mb__before_spinlock()" thing, like we already allow for other > architectures to do a weaker form of mb in case the spinlock is > already a full mb. That would allow avoiding extra

  1   2   3   4   >