[PATCH v2] m25p80 / fast read

2013-08-20 Thread Sascha Hauer
Changes since v1: - rebase on git.infradead.org/l2-mtd.git - improve description for patch 2/3 Sascha Markus Niebel (1): mtd: m25p80: add support for mr25h10 Sascha Hauer (2): mtd: m25p80: Pass flags through

Re: [PATCH 0/3] mm: mempolicy: the failure processing about mpol_to_str()

2013-08-20 Thread Chen Gang
On 08/20/2013 03:48 PM, Chen Gang wrote: > On 08/20/2013 02:47 PM, Cyrill Gorcunov wrote: >> On Tue, Aug 20, 2013 at 01:41:40PM +0800, Chen Gang wrote: >>> sure you'll have to change shmem_show_mpol statement to return int code. Won't this be more short and convenient? >>> >>>

Re: [3.10] Oopses in kmem_cache_allocate() via prepare_creds()

2013-08-20 Thread Ian Applegate
Unfortunately no boxen with CONFIG_DEBUG_MUTEXES among them. I can enable on a few and should have some results within the day. These mainly serve (quite a bit of) HTTP/S cache traffic. On Tue, Aug 20, 2013 at 12:21 AM, Al Viro wrote: > On Tue, Aug 20, 2013 at 12:17:52AM -0700, Ian Applegate

Re: [PATCH 0/3] mm: mempolicy: the failure processing about mpol_to_str()

2013-08-20 Thread Chen Gang
On 08/20/2013 02:47 PM, Cyrill Gorcunov wrote: > On Tue, Aug 20, 2013 at 01:41:40PM +0800, Chen Gang wrote: >> >>> sure you'll have to change shmem_show_mpol statement to return int code. >>> Won't this be more short and convenient? >>> >>> >> >> Hmm... if return -ENOSPC, in common processing, it

Re: [PATCH 1/6] mfd: max8997: use devm_*() functions

2013-08-20 Thread Lee Jones
> Use devm_*() functions to make cleanup paths simpler. > > Signed-off-by: Jingoo Han Patches look good to me 1-6 applied. By the way, when you're sending patch-sets would you mind adding a cover letter? Or at least thread patches 2-n on to patch 1. It just makes them easier to track if they

Re: [PATCH v1] seq_file: Fix overflow condition in seq_commit

2013-08-20 Thread Al Viro
On Tue, Aug 20, 2013 at 12:51:56PM +0530, Arun KS wrote: > d_path expects the pathname to be less than 64 bytes. If its more than > 64, it returns -ENAMETOOLONG. ?!?!? d_path() does not expect anything of that sort - it can very well produce names much longer, without ENAMETOOLONG. > char

linux-next: Tree for Aug 20

2013-08-20 Thread Stephen Rothwell
Hi all, Changes since 20130819: The xfs tree gained a build failure for which I reverted a commit. The libata tree lost its build failure. I have created today's linux-next tree at

RE: [ 00/34] 3.4.59-stable review

2013-08-20 Thread Berg, Johannes
> > [ 26/34] genetlink: fix family dump race > > Johannes, another strike against this patch :( > > Any chance on fixing it upstream and me sucking that fix in? Yeah, I'm trying to get that, but it's not clear to me how to fix it. Where did you apply it? It was going to need some fixes but

Re: commit 94fc5d9: chromium-sandbox core dumped

2013-08-20 Thread Emmanuel Benisty
Hi Linus, On Tue, Aug 20, 2013 at 1:26 AM, Linus Torvalds wrote: > On Mon, Aug 19, 2013 at 1:25 PM, Linus Torvalds > wrote: >> >> I suspect that last "return 0" at the end should be "return 1". Does >> that fix things for you? Untested. > > Ok. Confirmed. I reproduced the bug that Richard

Re: [PATCH 1/3] mfd: pm8921: include missing linux/module.h

2013-08-20 Thread Lee Jones
On Tue, 20 Aug 2013, Jingoo Han wrote: > Include in order to fix the following errors. > > drivers/mfd/pm8921-core.c:209:16: error: expected declaration specifiers or > '...' before string constant > drivers/mfd/pm8921-core.c:210:20: error: expected declaration specifiers or > '...' before

Re: [RFC 06/17] ARM: imx: remove custom .init_time hook

2013-08-20 Thread Sascha Hauer
On Tue, Aug 20, 2013 at 04:04:20AM +0200, Sebastian Hesselbarth wrote: > With arch/arm calling of_clk_init(NULL) from time_init(), we can now > remove custom .init_time hooks. > > Signed-off-by: Sebastian Hesselbarth > --- > Notes: > - Although mx5_clocks_common_init() is shared with non-DT,

Re: [PATCH] acpi_i2c: set MODULE_LICENSE, MODULE_AUTHOR, and MODULE_DESCRIPTION

2013-08-20 Thread Mika Westerberg
On Mon, Aug 19, 2013 at 08:34:03PM -0700, Jerry Snitselaar wrote: > On Tue Aug 20 13, Rafael J. Wysocki wrote: > > On Monday, August 19, 2013 04:35:29 PM Jerry Snitselaar wrote: > > > On Tue Aug 20 13, Rafael J. Wysocki wrote: > > > > On Monday, August 19, 2013 09:16:14 AM Mika Westerberg wrote: >

Re: [PATCH v1] seq_file: Fix overflow condition in seq_commit

2013-08-20 Thread Arun KS
Hi Al Viro, On Tue, Aug 20, 2013 at 11:21 AM, Al Viro wrote: > On Tue, Aug 20, 2013 at 10:55:40AM +0530, Arun KS wrote: >> >From 932a134abeac597f18c86c513704709ad154994b Mon Sep 17 00:00:00 2001 >> From: Arun KS >> Date: Mon, 19 Aug 2013 12:06:33 +0530 >> Subject: seq_file: Fix overflow

Re: [3.10] Oopses in kmem_cache_allocate() via prepare_creds()

2013-08-20 Thread Al Viro
On Tue, Aug 20, 2013 at 12:17:52AM -0700, Ian Applegate wrote: > We are also seeing this or a similar issue. On a fairly widespread > deployment of 3.10.1 & 3.10.6 this occurred fairly consistently on the > order of 36 days (combined MTBF.) Do you have any boxen with CONFIG_DEBUG_MUTEXES among

linux-next: build failure after merge of the final tree

2013-08-20 Thread Stephen Rothwell
Hi all, After merging the final tree, today's linux-next build (powerpc allyesconfig) failed like this: arch/powerpc/platforms/cell/spufs/inode.c: In function 'spufs_parse_options': arch/powerpc/platforms/cell/spufs/inode.c:623:16: error: incompatible types when assigning to type 'kuid_t' from

Re: [3.10] Oopses in kmem_cache_allocate() via prepare_creds()

2013-08-20 Thread Ian Applegate
We are also seeing this or a similar issue. On a fairly widespread deployment of 3.10.1 & 3.10.6 this occurred fairly consistently on the order of 36 days (combined MTBF.) [28974.739774] [ cut here ] [28974.744980] kernel BUG at mm/slub.c:3352! [28974.749502] invalid

Re: [ANNOUNCE] 3.10.6-rt3

2013-08-20 Thread Sebastian Andrzej Siewior
On 08/20/2013 03:02 AM, Steven Rostedt wrote: > Looking at it more, I can now see why they did what they did. He is the only user in the whole kernel. It is somehow hard to believe that it can't be solved differently. > -- Steve Sebastian -- To unsubscribe from this list: send the line

Re: [RFC PATCH] scsi: Add failfast mode to avoid infinite retry loop

2013-08-20 Thread Eiichi Tsukata
(2013/08/19 23:30), James Bottomley wrote: On Mon, 2013-08-19 at 18:39 +0900, Eiichi Tsukata wrote: Hello, This patch adds scsi device failfast mode to avoid infinite retry loop. Currently, scsi error handling in scsi_decide_disposition() and scsi_io_completion() unconditionally retries on

Re: [PATCH v2 0/5] mfd: twl6030-irq: rework and add twl6032 support

2013-08-20 Thread Graeme Gregory
On 20/08/13 02:01, Samuel Ortiz wrote: Hi Grygorii, On Thu, Jul 25, 2013 at 04:15:46PM +0300, Grygorii Strashko wrote: This patch series intorduces twl6030-irq module rework to use Threaded IRQ and linear irq_domain, and adds support for PMIC TWL6032 IRQs. After this patch series TWL6030/6032

Re: [PATCH v2] max77693: added device tree support

2013-08-20 Thread Lee Jones
On Mon, 19 Aug 2013, Stephen Warren wrote: > On 08/19/2013 05:40 AM, Andrzej Hajda wrote: > > max77693 mfd main device uses only wakeup field > > from max77693_platform_data. This field is mapped > > to wakeup-source common property in device tree. > > > diff --git

Re: [PATCH net-next 1/7] r8152: remove clearing the memory to zero for netdev priv

2013-08-20 Thread David Miller
Series applied, thanks. Please, in the future, provide an initial "[PATCH 0/N] " posting which gives a general overview to the series, and to which I can apply when I have something to say about the series as a whole. Thanks. -- To unsubscribe from this list: send the line "unsubscribe

Re: 3.11.0-rc6+: INFO: possible circular locking dependency detected

2013-08-20 Thread Bjørn Mork
Miles Lane writes: > [ 24.990076] [ INFO: possible circular locking dependency detected ] > [ 24.990086] 3.11.0-rc6+ #154 Not tainted > [ 24.990094] --- > [ 24.990103] crda/1159 is trying to acquire lock: > [ 24.990111]

[PATCH 6/6] mfd: wl1273: use devm_*() functions

2013-08-20 Thread Jingoo Han
Use devm_*() functions to make cleanup paths simpler. Signed-off-by: Jingoo Han --- drivers/mfd/wl1273-core.c |6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/mfd/wl1273-core.c b/drivers/mfd/wl1273-core.c index 1288e99..f7c52d9 100644 ---

[PATCH 5/6] mfd: tps65010: use devm_*() functions

2013-08-20 Thread Jingoo Han
Use devm_*() functions to make cleanup paths simpler. Signed-off-by: Jingoo Han --- drivers/mfd/tps65010.c |8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/mfd/tps65010.c b/drivers/mfd/tps65010.c index 8114567..743fb52 100644 --- a/drivers/mfd/tps65010.c

[PATCH 3/6] mfd: menelaus: use devm_*() functions

2013-08-20 Thread Jingoo Han
Use devm_*() functions to make cleanup paths simpler. Signed-off-by: Jingoo Han --- drivers/mfd/menelaus.c | 16 ++-- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/drivers/mfd/menelaus.c b/drivers/mfd/menelaus.c index f24df8c..ad25bfa 100644 ---

[PATCH 4/6] mfd: pcf50633-adc: use devm_*() functions

2013-08-20 Thread Jingoo Han
Use devm_*() functions to make cleanup paths simpler. Signed-off-by: Jingoo Han --- drivers/mfd/pcf50633-adc.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/mfd/pcf50633-adc.c b/drivers/mfd/pcf50633-adc.c index 18b53cb..b8941a5 100644 ---

[PATCH 2/6] mfd: max8998: use devm_*() functions

2013-08-20 Thread Jingoo Han
Use devm_*() functions to make cleanup paths simpler. Signed-off-by: Jingoo Han --- drivers/mfd/max8998.c |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/mfd/max8998.c b/drivers/mfd/max8998.c index 45bffb8..fe6332d 100644 --- a/drivers/mfd/max8998.c +++

[PATCH 1/6] mfd: max8997: use devm_*() functions

2013-08-20 Thread Jingoo Han
Use devm_*() functions to make cleanup paths simpler. Signed-off-by: Jingoo Han --- drivers/mfd/max8997.c | 14 +- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/drivers/mfd/max8997.c b/drivers/mfd/max8997.c index 1523047..cee098c 100644 --- a/drivers/mfd/max8997.c

[PATCH 3/3] mfd: pm8921: use devm_*() functions

2013-08-20 Thread Jingoo Han
Use devm_*() functions to make cleanup paths simpler. Signed-off-by: Jingoo Han --- drivers/mfd/pm8921-core.c |9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/mfd/pm8921-core.c b/drivers/mfd/pm8921-core.c index 9a7c991..a6841f7 100644 ---

[PATCH 2/3] mfd: pm8921: remove unnecessary platform_set_drvdata()

2013-08-20 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d (device-core: Ensure drvdata = NULL when no driver is bound). Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by:

Re: [PATCH 2/4] nohz: Synchronize sleep time stats with seqlock

2013-08-20 Thread Fernando Luis Vázquez Cao
(2013年08月17日 01:46), Frederic Weisbecker wrote: On Fri, Aug 16, 2013 at 06:26:54PM +0200, Oleg Nesterov wrote: On 08/16, Frederic Weisbecker wrote: On Fri, Aug 16, 2013 at 06:02:01PM +0200, Oleg Nesterov wrote: + do { + seq = read_seqcount_begin(>sleeptime_seq); +

[PATCH 1/3] mfd: pm8921: include missing linux/module.h

2013-08-20 Thread Jingoo Han
Include in order to fix the following errors. drivers/mfd/pm8921-core.c:209:16: error: expected declaration specifiers or '...' before string constant drivers/mfd/pm8921-core.c:210:20: error: expected declaration specifiers or '...' before string constant drivers/mfd/pm8921-core.c:211:16:

Re: [PATCH 2/4] nohz: Synchronize sleep time stats with seqlock

2013-08-20 Thread Fernando Luis Vázquez Cao
(2013年08月19日 20:10), Peter Zijlstra wrote: On Fri, Aug 16, 2013 at 06:46:28PM +0200, Frederic Weisbecker wrote: Option A: Should we flush that iowait to the src CPU? But then it means we must handle concurrent updates to iowait_sleeptime, idle_sleeptime from the migration code and from idle

Re: [PATCH 1/2] Revert "Revert "math64: New div64_u64_rem helper""

2013-08-20 Thread Stanislaw Gruszka
On Fri, Aug 09, 2013 at 03:56:03PM -0400, Mike Snitzer wrote: > This reverts commit f3002134158092178be81339ec5a22ff80e6c308. > > div64_u64_rem was removed because there were no other users. > > But Device Mapper's I/O statistics support has a need for > div64_u64_rem; reintroduce this helper.

Re: [RESEND PATCH 2/4] ARM: msm: Re-organize platsmp to make it extensible

2013-08-20 Thread David Rientjes
On Mon, 12 Aug 2013, Mark Rutland wrote: > > static void __init msm_smp_prepare_cpus(unsigned int max_cpus) > > { > > + int cpu, map; > > + unsigned int flags = 0; > > + > > + for_each_present_cpu(cpu) { > > + map = cpu_logical_map(cpu); > > + if (map >

[PATCH v2 4/4] mm/vmalloc: use wrapper function get_vm_area_size to caculate size of vm area

2013-08-20 Thread Wanpeng Li
v1 -> v2: * replace all the spots by function get_vm_area_size(). Use wrapper function get_vm_area_size to calculate size of vm area. Signed-off-by: Wanpeng Li --- mm/vmalloc.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/mm/vmalloc.c b/mm/vmalloc.c index

[PATCH v2 2/4] mm/sparse: introduce alloc_usemap_and_memmap

2013-08-20 Thread Wanpeng Li
v1 -> v2: * add comments to describe alloc_usemap_and_memmap After commit 9bdac91424075("sparsemem: Put mem map for one node together."), vmemmap for one node will be allocated together, its logic is similar as memory allocation for pageblock flags. This patch introduce alloc_usemap_and_memmap

[PATCH V2] [BUGFIX] crash/ioapic: Prevent crash_kexec() from deadlocking on ioapic_lock

2013-08-20 Thread Yoshihiro YUNOMAE
Prevent crash_kexec() from deadlocking on ioapic_lock. When crash_kexec() is executed on a cpu, the cpu will get ioapic_lock in disable_IO_APIC(). So if the cpu gets NMI while locking ioapic_lock, a deadlock will happen. In this patch, ioapic_lock is initialized before disable_IO_APIC(). To

[PATCH v2 1/4] mm/pgtable: Fix continue to preallocate pmds even if failure occurrence

2013-08-20 Thread Wanpeng Li
v1 -> v2: * remove failed. preallocate_pmds will continue to preallocate pmds even if failure occurrence, and then free all the preallocate pmds if there is failure, this patch fix it by stop preallocate if failure occurrence and go to free path. Reviewed-by: Dave Hansen Signed-off-by: Wanpeng

clk: Xilinx Zynq changes for v3.12

2013-08-20 Thread Michal Simek
Hi Mike, as we discussed with Kevin in my arm-soc pull request I should send these two patches separately and directly to you. I have rebased them on 3.11-rc2 which is the kernel version you have in your clk-next branch. Thanks for pulling them. Thanks, Michal The following changes since commit

Re: [PATCH V3 1/2] tps6507x-ts: Add DT support

2013-08-20 Thread Manish Badarkhe
Hi Prabhakar, On Tue, Aug 20, 2013 at 11:44 AM, Prabhakar Lad wrote: > Hi Manish, > > Thanks for the patch. > > On Tue, May 21, 2013 at 2:24 PM, Vishwanathrao Badarkhe, Manish > wrote: >> Add device tree based support for TI's tps6507x touchscreen. >> >> Tested on da850-evm. >> >>

BUG: kernel panic after jbd bugs / kernel paging request

2013-08-20 Thread kardan
Dear developers, At first thanks for all your work! kernel version: 3.9.9-t23 kernel config: https://paste.debian.net/27351/ lspci -nvv output is attached. I merged two kernel issues into one mail to find relations easier. As both appeared only once I did not invest more time to try with newer

[PATCH v2 3/4] mm/writeback: make writeback_inodes_wb static

2013-08-20 Thread Wanpeng Li
It's not used globally and could be static. Signed-off-by: Wanpeng Li --- fs/fs-writeback.c | 2 +- include/linux/writeback.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/fs/fs-writeback.c b/fs/fs-writeback.c index 87d7781..54b3c31 100644 --- a/fs/fs-writeback.c

Re: [PATCH 1/2] extcon: extcon-dra7xx: Add extcon driver for USB ID detection

2013-08-20 Thread George Cherian
Hi Stephen, Thanks for your review. On 8/20/2013 1:01 AM, Stephen Warren wrote: On 08/16/2013 04:13 AM, George Cherian wrote: Adding extcon driver for USB ID detection to dynamically configure USB Host/Peripheral mode. diff --git a/Documentation/devicetree/bindings/extcon/extcon-dra7xx.txt

Re: [PATCH 0/1] AMD64_EDAC: Fix incorrect wrap arounds due to left shift beyond 32 bits.

2013-08-20 Thread Borislav Petkov
On Mon, Aug 19, 2013 at 07:27:51PM -0500, Aravind Gopalakrishnan wrote: > Aravind Gopalakrishnan (1): > AMD64_EDAC: Fix incorrect wrap arounds due to left shift beyond 32 > bits. > > drivers/edac/amd64_edac.c |9 + > 1 file changed, 5 insertions(+), 4 deletions(-) Just a minor

Re: [Patch net-next v3 9/9] selinux: use generic union inet_addr

2013-08-20 Thread David Miller
From: Casey Schaufler Date: Mon, 19 Aug 2013 14:42:55 -0700 > On 8/19/2013 12:50 PM, David Miller wrote: >> It's so that you can pass a generic ipv4/ipv6 address blob into >> things like printf formatting, and since there is an address family >> member present, it knows what's in there and

Re: [PATCH 0/3] mm: mempolicy: the failure processing about mpol_to_str()

2013-08-20 Thread Cyrill Gorcunov
On Tue, Aug 20, 2013 at 01:41:40PM +0800, Chen Gang wrote: > > need "if (ret < 0)" instead of. ;-) sure, it's details > > > sure you'll have to change shmem_show_mpol statement to return int code. > > Won't this be more short and convenient? > > > > > > Hmm... if return -ENOSPC, in common

Re: linux-next: build warning after merge of the tip tree

2013-08-20 Thread Ingo Molnar
* Andi Kleen wrote: > > > Introduced by commit 9a55fdbe941e ("x86, asmlinkage, paravirt: Add > > > __visible/asmlinkage to xen paravirt ops"). The 2 definitions used to be > > > identical ... maybe there should be only one. > > > > Andi, please send a fix for this build warning, against > >

[PATCH 5/5] cpufreq: Use cpufreq_policy_list for iterating over policies

2013-08-20 Thread Viresh Kumar
To iterate over all policies we currently iterate over all CPUs and then get the policy for each of them. Let's use the newly created cpufreq_policy_list for this purpose. Signed-off-by: Viresh Kumar --- drivers/cpufreq/cpufreq.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-)

[PATCH 4/5] cpufreq: remove cpufreq_policy_cpu per-cpu variable

2013-08-20 Thread Viresh Kumar
cpufreq_policy_cpu per-cpu variables are used for storing cpu that manages a cpu or its policy->cpu. We are also storing policy for each cpu in cpufreq_cpu_data and so this information is just redundant. Better use cpufreq_cpu_data to retrieve policy and get policy->cpu from there. And so this

[PATCH 3/5] cpufreq: remove unnecessary check in __cpufreq_governor()

2013-08-20 Thread Viresh Kumar
We don't need to check if event is CPUFREQ_GOV_POLICY_INIT and put governor module as we are sure event can only be START/STOP here. And so remove this useless check. Signed-off-by: Viresh Kumar --- drivers/cpufreq/cpufreq.c | 2 -- 1 file changed, 2 deletions(-) diff --git

[PATCH 2/5] cpufreq: remove policy from cpufreq_policy_list in system suspend

2013-08-20 Thread Viresh Kumar
cpufreq_policy_list is a list of active policies. We do remove policies from this list when all CPUs belonging to that policy are removed. But during suspend we don't really free a policy struct as it will be used again during resume. And so we didn't remove it from cpufreq_policy_list as well..

[PATCH 1/5] cpufreq: align closing brace '}' of an if block

2013-08-20 Thread Viresh Kumar
Following patch caused this: commit 3de9bdeb28638e164d1f0eb38dd68e3f5d2ac95c Author: Viresh Kumar Date: Tue Aug 6 22:53:13 2013 +0530 cpufreq: improve error checking on return values of __cpufreq_governor() Lets fix it. Signed-off-by: Viresh Kumar --- drivers/cpufreq/cpufreq.c | 2 +-

[PATCH 0/5] cpufreq: Fixes for 3.12

2013-08-20 Thread Viresh Kumar
Hi Rafael, You recently did this: commit 878f6e074e9a7784a6e351512eace4ccb3542eef Author: Rafael J. Wysocki Date: Sun Aug 18 15:35:59 2013 +0200 Revert "cpufreq: Use cpufreq_policy_list for iterating over policies" Revert commit eb60852 (cpufreq: Use cpufreq_policy_list for

Re: [PATCH V2 07/11] cpufreq: Use cpufreq_policy_list for iterating over policies

2013-08-20 Thread Viresh Kumar
On 19 August 2013 16:57, Viresh Kumar wrote: > It wasn't my patch actually.. It only made it visible that's it :) > The problem is: > - On suspend all CPUs are removed and so governors are > stopped. > - On resume, handle_update() is called for the boot cpu and > cpu_add_dev for all others. > >

Re: [PATCH V2 07/11] cpufreq: Use cpufreq_policy_list for iterating over policies

2013-08-20 Thread Viresh Kumar
On 20 August 2013 04:52, Rafael J. Wysocki wrote: > From my experience, however, it is good to figure out what needs to be > included > into your test kernel and configure away everything else. Also, I'd recommend > to build as much as possible into the kernel image and avoid compiling too >

Re: [PATCH V2 07/11] cpufreq: Use cpufreq_policy_list for iterating over policies

2013-08-20 Thread Viresh Kumar
On 19 August 2013 17:15, Amit Kucheria wrote: > Why do you create .deb packages to test development kernels? It _is_ slow. > > Instead I'd just add a new grub menu entry to /boot/grub/grub.cfg and > point it to /boot/MyzImage. After a 'make install; make > modules_install' just link

[PATCH] MAX7301 GPIO: Reverting "Do not force SPI speed when using OF Platform"

2013-08-20 Thread Christophe Leroy
This patch reverts commit 047b93a35961f7a6561e6f5dcb040738f822b892 which breaks MAX7301 GPIO driver because that commit was dependant on a rejected patch that was implementing selection of SPI speed from the Device Tree. Signed-off-by: Christophe Leroy ---

Re: [PATCH 1/2] ARC: gdbserver breakage in Big-Endian configuration #1

2013-08-20 Thread greg Kroah-Hartman
On Tue, Aug 20, 2013 at 10:50:40AM +0530, Vineet Gupta wrote: > Hi Greg, > > On 08/19/2013 08:27 PM, greg Kroah-Hartman wrote: > > On Mon, Aug 19, 2013 at 09:08:49AM +, Vineet Gupta wrote: > >> Hi Greg, > >> > >> I'd posted these patches for stable backport. Do I need to do anything > >>

Re: [PATCH] proc: return on proc_readdir error

2013-08-20 Thread Richard Genoud
2013/8/20 Marc Dionne : > On Mon, Aug 19, 2013 at 7:49 PM, Linus Torvalds > wrote: >> On Mon, Aug 19, 2013 at 1:33 PM, Marc Dionne wrote: >>> >>> By my reading that commit (f0c3b5093add) also made proc_readdir always >>> return 0, so with this patch the effect I see is that no pid entries >>>

Re: [PATCHv3 3/4] clk: sunxi: Add A31 clocks support

2013-08-20 Thread Maxime Ripard
Hi Emilio, On Mon, Aug 19, 2013 at 05:14:57PM -0300, Emilio López wrote: > El 05/08/13 17:43, Maxime Ripard escribió: > >The A31 has a mostly different clock set compared to the other older > >SoCs currently supported in the Allwinner clock driver. > > > >Add support for the basic useful clocks.

[PATCH v3 5/6] mfd:rtsx: Configure to enter a deeper power-saving mode in S3

2013-08-20 Thread wei_wang
From: Wei WANG Set a bit to enable rts5227 and rts5249 to enter a deeper internal power-saving mode in S3, and recover it after resuming. Signed-off-by: Wei WANG --- drivers/mfd/rtl8411.c|2 +- drivers/mfd/rts5209.c|2 +- drivers/mfd/rts5227.c|6 +-

[PATCH v3 0/6] MFD patches for Realtek cardreader

2013-08-20 Thread wei_wang
From: Wei WANG v3: Seperate copyright changes to a distinct patch Modify some coding style and naming style Fix a bug that sd30_drive_sel would be assigned a wrong value, in rts5227 and rts5249 v2: Use macro when initializing vendor settings Wei WANG (6): mfd:rtsx: Read vendor setting from

[PATCH v3 4/6] mfd:rtsx: Clear hardware PFM mode in rtl8411b

2013-08-20 Thread wei_wang
From: Wei WANG Clear hw_pfm_en to disable hardware PFM mode, to fix a bug that in some situation registers in 0xFDxx domain can't be accessed. Signed-off-by: Wei WANG --- drivers/mfd/rtl8411.c|2 ++ include/linux/mfd/rtsx_pci.h |1 + 2 files changed, 3 insertions(+) diff

[PATCH v3 3/6] mfd:rtsx: Move some actions from rtsx_pci_init_hw to individual extra_init_hw

2013-08-20 Thread wei_wang
From: Wei WANG These actions are individual for each reader model, so should be put in extra_init_hw instead of rtsx_pci_init_hw. Signed-off-by: Wei WANG --- drivers/mfd/rts5209.c |4 drivers/mfd/rts5227.c |2 ++ drivers/mfd/rts5229.c |4 drivers/mfd/rts5249.c |2

Re: [PATCH][RFC] Tests on 200 different CPUs/Arches and OSes with CPU Jitter RNG

2013-08-20 Thread Stephan Mueller
Am Sonntag, 18. August 2013, 20:05:52 schrieb Stephan Mueller: Hi Ted, Sandy, For FIPS 140-2, there is currently a draft of an Implementation Guidance discussed covering the requirements of seed sources for deterministic random number generators. The standard seed source when having no

Re: [PATCH net-next v4] net: cpsw: Add support for wake-on-lan for cpsw

2013-08-20 Thread Mugunthan V N
On Tuesday 20 August 2013 11:29 AM, ujhely...@gmail.com wrote: > From: Matus Ujhelyi > > Some phy's can be configured to enable wake on lan (e.g. at803x or marvell > 88E1318S). > There is no way how to enable wol on CPSW with such connected phys. This patch > adds this support. It is provided by

[PATCH v3 2/6] mfd:rtsx: Add shutdown callback in rtsx_pci_driver

2013-08-20 Thread wei_wang
From: Wei WANG Some actions to clear power state should be handled in .shutdown callback in rtsx_pci_driver. This patch adopts the following measures to catch this goal: 1. Add a function rtsx_pci_power_off to abstract the common ops in .shutdown and .suspend 2. Add pcr->ops->force_power_down to

[PATCH v3 6/6] mfd:rtsx: Modify copyright comments

2013-08-20 Thread wei_wang
From: Wei WANG Update copyright date, and remove author address. Signed-off-by: Wei WANG --- drivers/mfd/rtl8411.c |4 ++-- drivers/mfd/rts5209.c |3 +-- drivers/mfd/rts5227.c |5 + drivers/mfd/rts5229.c |3 +-- drivers/mfd/rts5249.c

[PATCH v3 1/6] mfd:rtsx: Read vendor setting from config space

2013-08-20 Thread wei_wang
From: Wei WANG Normally OEMs will set vendor setting to the config space of Realtek card reader in BIOS stage. This patch reads the setting at the first, and configure the internal registers according to it, to improve card reader's compatibility condition. Signed-off-by: Wei WANG ---

Re: [PATCH] ARM: at91/dt: split sam9x5 peripheral definitions

2013-08-20 Thread b.brezillon
Hello Mike, On Mon, 19 Aug 2013 15:37:14 -0700, Mike Turquette wrote: > Quoting Nicolas Ferre (2013-08-19 09:23:46) >> On 08/08/2013 17:23, boris brezillon : >> > Hello Jean-Christophe, >> > >> > On 08/08/2013 16:07, Jean-Christophe PLAGNIOL-VILLARD wrote: >> >> On 12:14 Wed 07 Aug , Boris

Re: [PATCH V3 1/2] tps6507x-ts: Add DT support

2013-08-20 Thread Prabhakar Lad
Hi Manish, Thanks for the patch. On Tue, May 21, 2013 at 2:24 PM, Vishwanathrao Badarkhe, Manish wrote: > Add device tree based support for TI's tps6507x touchscreen. > > Tested on da850-evm. > > Signed-off-by: Vishwanathrao Badarkhe, Manish > --- > Changes since V2: > - Removed unnecessary

Re: [PATCH 1/8] ARM: at91: move peripheral id definitions to dt-bindings include dir

2013-08-20 Thread b.brezillon
Hello Nicolas, On Mon, 19 Aug 2013 18:46:13 +0200, Nicolas Ferre wrote: > On 08/08/2013 06:09, boris brezillon : >> Hello Arnd, >> >> On 07/08/2013 22:24, Arnd Bergmann wrote: >>> On Thursday 01 August 2013, Boris BREZILLON wrote: This patch moves peripheral id definitions from machine

[PATCH net-next v4] net: cpsw: Add support for wake-on-lan for cpsw

2013-08-20 Thread ujhelyi . m
From: Matus Ujhelyi Some phy's can be configured to enable wake on lan (e.g. at803x or marvell 88E1318S). There is no way how to enable wol on CPSW with such connected phys. This patch adds this support. It is provided by calling the phy's related code. Tested on board with at8030x connected

[PATCH net-next v4] net: cpsw: Add support for wake-on-lan for cpsw

2013-08-20 Thread ujhelyi . m
From: Matus Ujhelyi ujhely...@gmail.com Some phy's can be configured to enable wake on lan (e.g. at803x or marvell 88E1318S). There is no way how to enable wol on CPSW with such connected phys. This patch adds this support. It is provided by calling the phy's related code. Tested on board with

Re: [PATCH 1/8] ARM: at91: move peripheral id definitions to dt-bindings include dir

2013-08-20 Thread b.brezillon
Hello Nicolas, On Mon, 19 Aug 2013 18:46:13 +0200, Nicolas Ferre nicolas.fe...@atmel.com wrote: On 08/08/2013 06:09, boris brezillon : Hello Arnd, On 07/08/2013 22:24, Arnd Bergmann wrote: On Thursday 01 August 2013, Boris BREZILLON wrote: This patch moves peripheral id definitions from

Re: [PATCH V3 1/2] tps6507x-ts: Add DT support

2013-08-20 Thread Prabhakar Lad
Hi Manish, Thanks for the patch. On Tue, May 21, 2013 at 2:24 PM, Vishwanathrao Badarkhe, Manish manish...@ti.com wrote: Add device tree based support for TI's tps6507x touchscreen. Tested on da850-evm. Signed-off-by: Vishwanathrao Badarkhe, Manish manish...@ti.com --- Changes since V2:

Re: [PATCH] ARM: at91/dt: split sam9x5 peripheral definitions

2013-08-20 Thread b.brezillon
Hello Mike, On Mon, 19 Aug 2013 15:37:14 -0700, Mike Turquette mturque...@linaro.org wrote: Quoting Nicolas Ferre (2013-08-19 09:23:46) On 08/08/2013 17:23, boris brezillon : Hello Jean-Christophe, On 08/08/2013 16:07, Jean-Christophe PLAGNIOL-VILLARD wrote: On 12:14 Wed 07 Aug ,

[PATCH v3 1/6] mfd:rtsx: Read vendor setting from config space

2013-08-20 Thread wei_wang
From: Wei WANG wei_w...@realsil.com.cn Normally OEMs will set vendor setting to the config space of Realtek card reader in BIOS stage. This patch reads the setting at the first, and configure the internal registers according to it, to improve card reader's compatibility condition. Signed-off-by:

[PATCH v3 6/6] mfd:rtsx: Modify copyright comments

2013-08-20 Thread wei_wang
From: Wei WANG wei_w...@realsil.com.cn Update copyright date, and remove author address. Signed-off-by: Wei WANG wei_w...@realsil.com.cn --- drivers/mfd/rtl8411.c |4 ++-- drivers/mfd/rts5209.c |3 +-- drivers/mfd/rts5227.c |5 +

Re: [PATCH][RFC] Tests on 200 different CPUs/Arches and OSes with CPU Jitter RNG

2013-08-20 Thread Stephan Mueller
Am Sonntag, 18. August 2013, 20:05:52 schrieb Stephan Mueller: Hi Ted, Sandy, For FIPS 140-2, there is currently a draft of an Implementation Guidance discussed covering the requirements of seed sources for deterministic random number generators. The standard seed source when having no

Re: [PATCH net-next v4] net: cpsw: Add support for wake-on-lan for cpsw

2013-08-20 Thread Mugunthan V N
On Tuesday 20 August 2013 11:29 AM, ujhely...@gmail.com wrote: From: Matus Ujhelyi ujhely...@gmail.com Some phy's can be configured to enable wake on lan (e.g. at803x or marvell 88E1318S). There is no way how to enable wol on CPSW with such connected phys. This patch adds this support. It

[PATCH v3 2/6] mfd:rtsx: Add shutdown callback in rtsx_pci_driver

2013-08-20 Thread wei_wang
From: Wei WANG wei_w...@realsil.com.cn Some actions to clear power state should be handled in .shutdown callback in rtsx_pci_driver. This patch adopts the following measures to catch this goal: 1. Add a function rtsx_pci_power_off to abstract the common ops in .shutdown and .suspend 2. Add

[PATCH v3 3/6] mfd:rtsx: Move some actions from rtsx_pci_init_hw to individual extra_init_hw

2013-08-20 Thread wei_wang
From: Wei WANG wei_w...@realsil.com.cn These actions are individual for each reader model, so should be put in extra_init_hw instead of rtsx_pci_init_hw. Signed-off-by: Wei WANG wei_w...@realsil.com.cn --- drivers/mfd/rts5209.c |4 drivers/mfd/rts5227.c |2 ++

[PATCH v3 4/6] mfd:rtsx: Clear hardware PFM mode in rtl8411b

2013-08-20 Thread wei_wang
From: Wei WANG wei_w...@realsil.com.cn Clear hw_pfm_en to disable hardware PFM mode, to fix a bug that in some situation registers in 0xFDxx domain can't be accessed. Signed-off-by: Wei WANG wei_w...@realsil.com.cn --- drivers/mfd/rtl8411.c|2 ++ include/linux/mfd/rtsx_pci.h |1

[PATCH v3 0/6] MFD patches for Realtek cardreader

2013-08-20 Thread wei_wang
From: Wei WANG wei_w...@realsil.com.cn v3: Seperate copyright changes to a distinct patch Modify some coding style and naming style Fix a bug that sd30_drive_sel would be assigned a wrong value, in rts5227 and rts5249 v2: Use macro when initializing vendor settings Wei WANG (6): mfd:rtsx:

[PATCH v3 5/6] mfd:rtsx: Configure to enter a deeper power-saving mode in S3

2013-08-20 Thread wei_wang
From: Wei WANG wei_w...@realsil.com.cn Set a bit to enable rts5227 and rts5249 to enter a deeper internal power-saving mode in S3, and recover it after resuming. Signed-off-by: Wei WANG wei_w...@realsil.com.cn --- drivers/mfd/rtl8411.c|2 +- drivers/mfd/rts5209.c|2 +-

Re: [PATCHv3 3/4] clk: sunxi: Add A31 clocks support

2013-08-20 Thread Maxime Ripard
Hi Emilio, On Mon, Aug 19, 2013 at 05:14:57PM -0300, Emilio López wrote: El 05/08/13 17:43, Maxime Ripard escribió: The A31 has a mostly different clock set compared to the other older SoCs currently supported in the Allwinner clock driver. Add support for the basic useful clocks. The other

Re: [PATCH] proc: return on proc_readdir error

2013-08-20 Thread Richard Genoud
2013/8/20 Marc Dionne marc.c.dio...@gmail.com: On Mon, Aug 19, 2013 at 7:49 PM, Linus Torvalds torva...@linux-foundation.org wrote: On Mon, Aug 19, 2013 at 1:33 PM, Marc Dionne marc.c.dio...@gmail.com wrote: By my reading that commit (f0c3b5093add) also made proc_readdir always return 0, so

Re: [PATCH 1/2] ARC: gdbserver breakage in Big-Endian configuration #1

2013-08-20 Thread greg Kroah-Hartman
On Tue, Aug 20, 2013 at 10:50:40AM +0530, Vineet Gupta wrote: Hi Greg, On 08/19/2013 08:27 PM, greg Kroah-Hartman wrote: On Mon, Aug 19, 2013 at 09:08:49AM +, Vineet Gupta wrote: Hi Greg, I'd posted these patches for stable backport. Do I need to do anything more to get them

[PATCH] MAX7301 GPIO: Reverting Do not force SPI speed when using OF Platform

2013-08-20 Thread Christophe Leroy
This patch reverts commit 047b93a35961f7a6561e6f5dcb040738f822b892 which breaks MAX7301 GPIO driver because that commit was dependant on a rejected patch that was implementing selection of SPI speed from the Device Tree. Signed-off-by: Christophe Leroy christophe.le...@c-s.fr ---

Re: [PATCH V2 07/11] cpufreq: Use cpufreq_policy_list for iterating over policies

2013-08-20 Thread Viresh Kumar
On 19 August 2013 17:15, Amit Kucheria amit.kuche...@linaro.org wrote: Why do you create .deb packages to test development kernels? It _is_ slow. Instead I'd just add a new grub menu entry to /boot/grub/grub.cfg and point it to /boot/MyzImage. After a 'make install; make modules_install' just

Re: [PATCH V2 07/11] cpufreq: Use cpufreq_policy_list for iterating over policies

2013-08-20 Thread Viresh Kumar
On 20 August 2013 04:52, Rafael J. Wysocki r...@sisk.pl wrote: From my experience, however, it is good to figure out what needs to be included into your test kernel and configure away everything else. Also, I'd recommend to build as much as possible into the kernel image and avoid compiling

Re: [PATCH V2 07/11] cpufreq: Use cpufreq_policy_list for iterating over policies

2013-08-20 Thread Viresh Kumar
On 19 August 2013 16:57, Viresh Kumar viresh.ku...@linaro.org wrote: It wasn't my patch actually.. It only made it visible that's it :) The problem is: - On suspend all CPUs are removed and so governors are stopped. - On resume, handle_update() is called for the boot cpu and cpu_add_dev for

[PATCH 0/5] cpufreq: Fixes for 3.12

2013-08-20 Thread Viresh Kumar
Hi Rafael, You recently did this: commit 878f6e074e9a7784a6e351512eace4ccb3542eef Author: Rafael J. Wysocki rafael.j.wyso...@intel.com Date: Sun Aug 18 15:35:59 2013 +0200 Revert cpufreq: Use cpufreq_policy_list for iterating over policies Revert commit eb60852 (cpufreq: Use

[PATCH 2/5] cpufreq: remove policy from cpufreq_policy_list in system suspend

2013-08-20 Thread Viresh Kumar
cpufreq_policy_list is a list of active policies. We do remove policies from this list when all CPUs belonging to that policy are removed. But during suspend we don't really free a policy struct as it will be used again during resume. And so we didn't remove it from cpufreq_policy_list as well..

[PATCH 1/5] cpufreq: align closing brace '}' of an if block

2013-08-20 Thread Viresh Kumar
Following patch caused this: commit 3de9bdeb28638e164d1f0eb38dd68e3f5d2ac95c Author: Viresh Kumar viresh.ku...@linaro.org Date: Tue Aug 6 22:53:13 2013 +0530 cpufreq: improve error checking on return values of __cpufreq_governor() Lets fix it. Signed-off-by: Viresh Kumar

[PATCH 3/5] cpufreq: remove unnecessary check in __cpufreq_governor()

2013-08-20 Thread Viresh Kumar
We don't need to check if event is CPUFREQ_GOV_POLICY_INIT and put governor module as we are sure event can only be START/STOP here. And so remove this useless check. Signed-off-by: Viresh Kumar viresh.ku...@linaro.org --- drivers/cpufreq/cpufreq.c | 2 -- 1 file changed, 2 deletions(-) diff

[PATCH 4/5] cpufreq: remove cpufreq_policy_cpu per-cpu variable

2013-08-20 Thread Viresh Kumar
cpufreq_policy_cpu per-cpu variables are used for storing cpu that manages a cpu or its policy-cpu. We are also storing policy for each cpu in cpufreq_cpu_data and so this information is just redundant. Better use cpufreq_cpu_data to retrieve policy and get policy-cpu from there. And so this

[PATCH 5/5] cpufreq: Use cpufreq_policy_list for iterating over policies

2013-08-20 Thread Viresh Kumar
To iterate over all policies we currently iterate over all CPUs and then get the policy for each of them. Let's use the newly created cpufreq_policy_list for this purpose. Signed-off-by: Viresh Kumar viresh.ku...@linaro.org --- drivers/cpufreq/cpufreq.c | 9 - 1 file changed, 4

<    3   4   5   6   7   8   9   10   11   12   >