Re: Crypto Fixes for 3.12

2013-09-13 Thread Herbert Xu
On Fri, Sep 13, 2013 at 07:22:55AM -0700, Linus Torvalds wrote: > On Fri, Sep 13, 2013 at 4:30 AM, Herbert Xu > wrote: > > > > Herbert Xu (2): > > crypto: api - Fix race condition in larval lookup > > crypto: crct10dif - Add fallback for broken initrds > > > > crypto/Makefile

Re: [RFC] Restrict kernel spawning of threads to a specified set of cpus.

2013-09-13 Thread Christoph Lameter
On Fri, 13 Sep 2013, Frederic Weisbecker wrote: > Indeed, I just looked that again and your cpu_kthread_mask actually also > applies to init. > cpu_init_mask would be a better name I think. Yea the naming is iffy. I want to get a general direction on how to are going to address these issues

Re: [PATCHv3 linux-next] hrtimer: Add notifier when clock_was_set was called

2013-09-13 Thread Thomas Gleixner
On Fri, 13 Sep 2013, Fan Du wrote: > (2) What I have been bugging you around here for this long time is really the > second > problem, I'm sorry I didn't make it clearly to you and others, which is > below: > > Why using wall clock time to calculate soft/hard IPsec events when >

Re: [PATCH 144/228] cpufreq: sa11x0: use cpufreq_generic_init() routine

2013-09-13 Thread Russell King - ARM Linux
On Fri, Sep 13, 2013 at 06:31:30PM +0530, Viresh Kumar wrote: > Use generic cpufreq_generic_init() routine instead of replicating the same > code > here. > > Signed-off-by: Viresh Kumar Acked-by: Russell King -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

Re: trinity finds ftrace/perf bug. Film at 11.

2013-09-13 Thread Steven Rostedt
On Fri, 13 Sep 2013 12:56:37 +0200 Peter Zijlstra wrote: > On Thu, Sep 12, 2013 at 02:19:13PM -0400, Steven Rostedt wrote: > > > > The good news is I can reproduce that very quickly. > > > (Apply http://paste.fedoraproject.org/38721/37890755 on top of > > > trinity.git, > > > and run

Re: [PATCH 8/9] mm: implement split page table lock for PMD level

2013-09-13 Thread Kirill A. Shutemov
Peter Zijlstra wrote: > On Fri, Sep 13, 2013 at 04:06:15PM +0300, Kirill A. Shutemov wrote: > > +#if USE_SPLIT_PMD_PTLOCKS > > + > > +static inline void pgtable_pmd_page_ctor(struct page *page) > > +{ > > + spin_lock_init(>ptl); > > +#ifdef CONFIG_TRANSPARENT_HUGEPAGE > > + page->pmd_huge_pte

Re: [PATCH 3/9] mm: introduce api for split page table lock for PMD level

2013-09-13 Thread Kirill A. Shutemov
Peter Zijlstra wrote: > On Fri, Sep 13, 2013 at 04:06:10PM +0300, Kirill A. Shutemov wrote: > > Basic api, backed by mm->page_table_lock for now. Actual implementation > > will be added later. > > > > Signed-off-by: Naoya Horiguchi > > Signed-off-by: Kirill A. Shutemov > > --- > >

Re: [PATCH 039/228] cpufreq: sa11x0: let cpufreq core initialize struct policy fields

2013-09-13 Thread Russell King - ARM Linux
On Fri, Sep 13, 2013 at 06:29:45PM +0530, Viresh Kumar wrote: > Many fields of struct policy are filled by cpufreq core when we call > cpufreq_table_validate_and_show() and so cpufreq driver doesn't need to set > them > anymore. > > Signed-off-by: Viresh Kumar Acked-by: Russell King -- To

Re: [PATCH 175/228] cpufreq: sa11x0: Convert to light weight ->target_index() routine

2013-09-13 Thread Russell King - ARM Linux
On Fri, Sep 13, 2013 at 06:32:01PM +0530, Viresh Kumar wrote: > This patch converts existing .target() to newly defined light weight > .target_index() routine for this driver. > > CPUFreq core will call cpufreq_frequency_table_target() before calling this > routine and will pass index to it. > >

Re: [uclinux-dist-devel] [GIT PULL] Blackfin updates for 3.12

2013-09-13 Thread Linus Torvalds
On Thu, Sep 12, 2013 at 10:12 PM, Steven Miao wrote: > arch/blackfin/mach-bf609/Kconfig | 1655 > WTF? This is getting crazy. The blackfin board Kconfig files are being used as a DT replacement. This can't go on. Linus -- To unsubscribe

Re: [RFC PATCH 1/4] DRIVERS: IRQCHIP: Add crossbar irqchip driver

2013-09-13 Thread Thomas Gleixner
On Thu, 12 Sep 2013, Santosh Shilimkar wrote: > On Thursday 12 September 2013 08:26 PM, Thomas Gleixner wrote: > > Let me summarize: > > > >- GIC supports up to 160 interrupts > > > >- CROSSBAR supports up to 250 interrupts > > > >- CROSSBAR routes up to 160 out of 250 interrupts

RE: [PATCH V2 1/1] X86: Hyper-V: Get the local APIC timer frequency from the hypervisor

2013-09-13 Thread KY Srinivasan
> -Original Message- > From: Gleb Natapov [mailto:g...@redhat.com] > Sent: Friday, September 13, 2013 2:55 AM > To: KY Srinivasan > Cc: H. Peter Anvin; x...@kernel.org; gre...@linuxfoundation.org; linux- > ker...@vger.kernel.org; de...@linuxdriverproject.org; o...@aepfle.de; >

Re: [PATCH 1/2] tools, perf: Add a precise event qualifier v2

2013-09-13 Thread Vince Weaver
On Fri, 13 Sep 2013, Peter Zijlstra wrote: > On Fri, Sep 13, 2013 at 11:50:57AM +0200, Ingo Molnar wrote: > > For example if we added 'type' as well we could expose the generic, > > hardware-independent events via sysfs as well. > > Type is already fully implied by where you'll find the event

Re: Crypto Fixes for 3.12

2013-09-13 Thread Linus Torvalds
On Fri, Sep 13, 2013 at 4:30 AM, Herbert Xu wrote: > > Herbert Xu (2): > crypto: api - Fix race condition in larval lookup > crypto: crct10dif - Add fallback for broken initrds > > crypto/Makefile |2 +- > crypto/api.c|

Re: [PATCH 8/9] mm: implement split page table lock for PMD level

2013-09-13 Thread Kirill A. Shutemov
Peter Zijlstra wrote: > On Fri, Sep 13, 2013 at 04:06:15PM +0300, Kirill A. Shutemov wrote: > > The basic idea is the same as with PTE level: the lock is embedded into > > struct page of table's page. > > > > Split pmd page table lock only makes sense on big machines. > > Let's say >= 32 CPUs for

Re: [PATCH 061/228] cpufreq: cris: Use generic cpufreq routines

2013-09-13 Thread Jesper Nilsson
On Fri, Sep 13, 2013 at 03:00:07PM +0200, 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

Re: trinity finds ftrace/perf bug. Film at 11.

2013-09-13 Thread Dave Jones
On Fri, Sep 13, 2013 at 12:56:37PM +0200, Peter Zijlstra wrote: > On Thu, Sep 12, 2013 at 02:19:13PM -0400, Steven Rostedt wrote: > > > > The good news is I can reproduce that very quickly. > > > (Apply http://paste.fedoraproject.org/38721/37890755 on top of > > > trinity.git, > > > and

[PATCH 016/228] cpufreq: cpufreq-cpu0: use cpufreq_table_validate_and_show()

2013-09-13 Thread Viresh Kumar
Lets use cpufreq_table_validate_and_show() instead of calling cpufreq_frequency_table_cpuinfo() and cpufreq_frequency_table_get_attr(). Acked-by: Shawn Guo Signed-off-by: Viresh Kumar --- drivers/cpufreq/cpufreq-cpu0.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git

Re: [RFC PATCH 3/3] kvm: Add VFIO device for handling IOMMU cache coherency

2013-09-13 Thread Alex Williamson
On Fri, 2013-09-13 at 15:39 +0300, Michael S. Tsirkin wrote: > On Thu, Sep 12, 2013 at 03:23:15PM -0600, Alex Williamson wrote: > > So far we've succeeded at making KVM and VFIO mostly unaware of each > > other, but there's any important point where that breaks down. Intel > > VT-d hardware may

[PATCH 011/228] cpufreq: s3cx4xx: call cpufreq_frequency_table_get_attr()

2013-09-13 Thread Viresh Kumar
This exposes frequency table of driver to cpufreq core and is required for core to guess what the index for a target frequency is, when it calls cpufreq_frequency_table_target(). And so this driver needs to expose it. Cc: Kukjin Kim Signed-off-by: Viresh Kumar ---

[PATCH 041/228] cpufreq: sh: use cpufreq_table_validate_and_show()

2013-09-13 Thread Viresh Kumar
Lets use cpufreq_table_validate_and_show() instead of calling cpufreq_frequency_table_cpuinfo() and cpufreq_frequency_table_get_attr(). Cc: Paul Mundt Cc: linux...@vger.kernel.org Signed-off-by: Viresh Kumar --- drivers/cpufreq/sh-cpufreq.c | 6 +++--- 1 file changed, 3 insertions(+), 3

Re: [PATCH 017/228] cpufreq: cris: use cpufreq_table_validate_and_show()

2013-09-13 Thread Jesper Nilsson
On Fri, Sep 13, 2013 at 02:59:23PM +0200, Viresh Kumar wrote: > Lets use cpufreq_table_validate_and_show() instead of calling > cpufreq_frequency_table_cpuinfo() and cpufreq_frequency_table_get_attr(). Acked-by: Jesper Nilsson > Cc: Mikael Starvik > Cc: linux-cris-ker...@axis.com >

[PATCH 017/228] cpufreq: cris: use cpufreq_table_validate_and_show()

2013-09-13 Thread Viresh Kumar
Lets use cpufreq_table_validate_and_show() instead of calling cpufreq_frequency_table_cpuinfo() and cpufreq_frequency_table_get_attr(). Cc: Jesper Nilsson Cc: Mikael Starvik Cc: linux-cris-ker...@axis.com Signed-off-by: Viresh Kumar --- drivers/cpufreq/cris-artpec3-cpufreq.c | 10 +-

[PATCH 020/228] cpufreq: e_powersaver: use cpufreq_table_validate_and_show()

2013-09-13 Thread Viresh Kumar
Lets use cpufreq_table_validate_and_show() instead of calling cpufreq_frequency_table_cpuinfo() and cpufreq_frequency_table_get_attr(). Signed-off-by: Viresh Kumar --- drivers/cpufreq/e_powersaver.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

[PATCH 028/228] cpufreq: maple: use cpufreq_table_validate_and_show()

2013-09-13 Thread Viresh Kumar
Lets use cpufreq_table_validate_and_show() instead of calling cpufreq_frequency_table_cpuinfo() and cpufreq_frequency_table_get_attr(). Cc: Dmitry Eremin-Solenikov Signed-off-by: Viresh Kumar --- drivers/cpufreq/maple-cpufreq.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff

[PATCH 3/9] mm: introduce api for split page table lock for PMD level

2013-09-13 Thread Kirill A. Shutemov
Basic api, backed by mm->page_table_lock for now. Actual implementation will be added later. Signed-off-by: Naoya Horiguchi Signed-off-by: Kirill A. Shutemov --- include/linux/mm.h | 13 + 1 file changed, 13 insertions(+) diff --git a/include/linux/mm.h b/include/linux/mm.h index

[PATCH 029/228] cpufreq: omap: use cpufreq_table_validate_and_show()

2013-09-13 Thread Viresh Kumar
Lets use cpufreq_table_validate_and_show() instead of calling cpufreq_frequency_table_cpuinfo() and cpufreq_frequency_table_get_attr(). Acked-by: Santosh Shilimkar Signed-off-by: Viresh Kumar --- drivers/cpufreq/omap-cpufreq.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff

[PATCH 0/9] split page table lock for PMD tables

2013-09-13 Thread Kirill A. Shutemov
Alex Thorlton noticed that some massivly threaded workloads work poorly, if THP enabled. This patchset fixes this by introducing split page table lock for PMD tables. hugetlbfs is not covered yet. This patchset is based on work by Naoya Horiguchi. Benchmark (from Alex):

[PATCH 1/9] mm: rename SPLIT_PTLOCKS to SPLIT_PTE_PTLOCKS

2013-09-13 Thread Kirill A. Shutemov
We're going to introduce split page table lock for PMD level. Let's rename existing split ptlock for PTE level to avoid confusion. Signed-off-by: Kirill A. Shutemov --- arch/arm/mm/fault-armv.c| 6 +++--- arch/um/defconfig | 2 +- arch/x86/xen/mmu.c

[PATCH 8/9] mm: implement split page table lock for PMD level

2013-09-13 Thread Kirill A. Shutemov
The basic idea is the same as with PTE level: the lock is embedded into struct page of table's page. Split pmd page table lock only makes sense on big machines. Let's say >= 32 CPUs for now. We can't use mm->pmd_huge_pte to store pgtables for THP, since we don't take mm->page_table_lock anymore.

[PATCH 2/9] mm: convert mm->nr_ptes to atomic_t

2013-09-13 Thread Kirill A. Shutemov
With split page table lock for PMD level we can't hold mm->page_table_lock while updating nr_ptes. Let's convert it to atomic_t to avoid races. Signed-off-by: Kirill A. Shutemov --- fs/proc/task_mmu.c | 2 +- include/linux/mm_types.h | 2 +- kernel/fork.c| 2 +-

[PATCH 9/9] x86, mm: enable split page table lock for PMD level

2013-09-13 Thread Kirill A. Shutemov
Enable PMD split page table lock for X86_64 and PAE. Signed-off-by: Kirill A. Shutemov --- arch/x86/Kconfig | 4 arch/x86/include/asm/pgalloc.h | 8 +++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index

[PATCH 030/228] cpufreq: p4-clockmod: use cpufreq_table_validate_and_show()

2013-09-13 Thread Viresh Kumar
Lets use cpufreq_table_validate_and_show() instead of calling cpufreq_frequency_table_cpuinfo() and cpufreq_frequency_table_get_attr(). Cc: David S. Miller Signed-off-by: Viresh Kumar --- drivers/cpufreq/p4-clockmod.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

[PATCH 4/9] mm, thp: change pmd_trans_huge_lock() to return taken lock

2013-09-13 Thread Kirill A. Shutemov
With split ptlock it's important to know which lock pmd_trans_huge_lock() took. This patch adds one more parameter to the function to return the lock. In most places new api migration to new api is trivial. Exception is move_huge_pmd(): we need to take two locks if pmd tables are different.

[PATCH 7/9] mm: convent the rest to new page table lock api

2013-09-13 Thread Kirill A. Shutemov
Only trivial cases left. Let's convert them altogether. hugetlbfs is not covered for now. Signed-off-by: Naoya Horiguchi Signed-off-by: Kirill A. Shutemov --- mm/huge_memory.c | 108 --- mm/memory.c | 17 mm/migrate.c

[PATCH 6/9] mm, thp: do not access mm->pmd_huge_pte directly

2013-09-13 Thread Kirill A. Shutemov
Currently mm->pmd_huge_pte protected by page table lock. It will not work with split lock. We have to have per-pmd pmd_huge_pte for proper access serialization. For now, let's just introduce wrapper to access mm->pmd_huge_pte. Signed-off-by: Kirill A. Shutemov --- arch/s390/mm/pgtable.c | 12

[PATCH 5/9] mm, thp: move ptl taking inside page_check_address_pmd()

2013-09-13 Thread Kirill A. Shutemov
With split page table lock we can't know which lock we need to take before we find the relevant pmd. Let's move lock taking inside the function. Signed-off-by: Naoya Horiguchi Signed-off-by: Kirill A. Shutemov --- include/linux/huge_mm.h | 3 ++- mm/huge_memory.c| 43

[PATCH 032/228] cpufreq: pmac: use cpufreq_table_validate_and_show()

2013-09-13 Thread Viresh Kumar
Lets use cpufreq_table_validate_and_show() instead of calling cpufreq_frequency_table_cpuinfo() and cpufreq_frequency_table_get_attr(). Signed-off-by: Viresh Kumar --- drivers/cpufreq/pmac32-cpufreq.c | 3 +-- drivers/cpufreq/pmac64-cpufreq.c | 4 +--- 2 files changed, 2 insertions(+), 5

[PATCH 033/228] cpufreq: powernow: use cpufreq_table_validate_and_show()

2013-09-13 Thread Viresh Kumar
Lets use cpufreq_table_validate_and_show() instead of calling cpufreq_frequency_table_cpuinfo() and cpufreq_frequency_table_get_attr(). Signed-off-by: Viresh Kumar --- drivers/cpufreq/powernow-k6.c | 9 + drivers/cpufreq/powernow-k7.c | 4 +--- drivers/cpufreq/powernow-k8.c | 4 +--- 3

[PATCH 036/228] cpufreq: s3cx4xx: use cpufreq_table_validate_and_show()

2013-09-13 Thread Viresh Kumar
Lets use cpufreq_table_validate_and_show() instead of calling cpufreq_frequency_table_cpuinfo() and cpufreq_frequency_table_get_attr(). Cc: Kukjin Kim Signed-off-by: Viresh Kumar --- drivers/cpufreq/s3c2416-cpufreq.c | 4 +--- drivers/cpufreq/s3c24xx-cpufreq.c | 6 ++

[PATCH 039/228] cpufreq: sa11x0: let cpufreq core initialize struct policy fields

2013-09-13 Thread Viresh Kumar
Many fields of struct policy are filled by cpufreq core when we call cpufreq_table_validate_and_show() and so cpufreq driver doesn't need to set them anymore. Signed-off-by: Viresh Kumar --- drivers/cpufreq/sa1100-cpufreq.c | 4 +--- drivers/cpufreq/sa1110-cpufreq.c | 4 +--- 2 files changed, 2

[PATCH 038/228] cpufreq: sa11x0: Expose frequency table

2013-09-13 Thread Viresh Kumar
This patch exposes sa11x0's frequency table to cpufreq core. It always existed but not as an array frequencies and not in the format cpufreq core wants it to. Also it was present in the unit of 100kHz earlier which is made consistent with cpufreq core now, i.e. kHz. Signed-off-by: Viresh Kumar

Re: [GIT PULL] Btrfs

2013-09-13 Thread Ric Wheeler
On 09/12/2013 11:36 AM, Chris Mason wrote: Mark Fasheh's offline dedup work is also here. In this case offline means the FS is mounted and active, but the dedup work is not done inline during file IO. This is a building block where utilities are able to ask the FS to dedup a series of

[PATCH 090/228] cpufreq: call cpufreq_driver->get() after calling ->init()

2013-09-13 Thread Viresh Kumar
Almost all drivers set policy->cur with current cpu frequency in their ->init() part. This can be done for all of them at core level and so they wouldn't need to do it. This patch adds supporting code in cpufreq core for calling get() after we have called init() for a policy. Signed-off-by:

[PATCH 085/228] cpufreq: sh: Use generic cpufreq routines

2013-09-13 Thread Viresh Kumar
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 driver. Cc: Paul Mundt Cc: linux...@vger.kernel.org

[PATCH 094/228] cpufreq: blackfin: don't initialize part of policy that is set by core too

2013-09-13 Thread Viresh Kumar
Many common initializations of struct policy are moved to core now and hence this driver doesn't need to do it. This patch removes such code. Most recent of those changes is to call ->get() in the core after calling ->init(). Cc: Steven Miao Signed-off-by: Viresh Kumar ---

[PATCH 050/228] cpufreq: exynos: call cpufreq_frequency_table_put_attr()

2013-09-13 Thread Viresh Kumar
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. Acked-By: Amit Daniel Kachhap Acked-by: Kukjin Kim Signed-off-by: Viresh Kumar

Re: [RFC] Restrict kernel spawning of threads to a specified set of cpus.

2013-09-13 Thread Frederic Weisbecker
On Fri, Sep 13, 2013 at 01:45:55PM +, Christoph Lameter wrote: > On Thu, 12 Sep 2013, Frederic Weisbecker wrote: > > > So yeah it's a problem in theory. Now in practice, I have yet to be > > convinced because > > this should be solved after a few iterations in /proc in most cases. > > I

[PATCH 056/228] cpufreq: acpi: Use generic cpufreq routines

2013-09-13 Thread Viresh Kumar
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 driver. Signed-off-by: Viresh Kumar ---

[PATCH 059/228] cpufreq: blackfin: Use generic cpufreq routines

2013-09-13 Thread Viresh Kumar
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 driver. Cc: Steven Miao Signed-off-by: Viresh Kumar ---

[PATCH 058/228] cpufreq: at32ap: Use generic cpufreq routines

2013-09-13 Thread Viresh Kumar
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 driver. Acked-by: Hans-Christian Egtvedt Signed-off-by: Viresh

[PATCH 061/228] cpufreq: cris: Use generic cpufreq routines

2013-09-13 Thread Viresh Kumar
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 driver. Cc: Jesper Nilsson Cc: Mikael Starvik Cc:

[PATCH 065/228] cpufreq: elanfreq: Use generic cpufreq routines

2013-09-13 Thread Viresh Kumar
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 driver. Signed-off-by: Viresh Kumar ---

Re: [PATCH] memory: add a basic OF-based memory driver

2013-09-13 Thread Rob Herring
On Thu, Sep 12, 2013 at 8:31 PM, Emilio López wrote: > Hi Olof, > > El 12/09/13 21:57, Olof Johansson escribió: > >> On Thu, Sep 12, 2013 at 5:30 PM, Emilio López >> wrote: >>> >>> This driver's only job is to claim and ensure the necessary clock >>> for memory operation on a DT-powered machine

Re: [PATCH 4/4] perf tools: Compare hists comm by addresses

2013-09-13 Thread Frederic Weisbecker
On Fri, Sep 13, 2013 at 05:07:06PM +0900, Namhyung Kim wrote: > Hi, > > On Thu, 12 Sep 2013 22:29:43 +0200, Frederic Weisbecker wrote: > > Now that comm strings are allocated only once and refcounted to be shared > > among threads, these can now be safely compared by addresses. This > > should

[PATCH] x86: add pin control support to Intel low power subsystem

2013-09-13 Thread Mathias Nyman
x86 chips with LPSS (low power subsystem) such as Lynxpoint and Baytrail have SoC like peripheral support and controllable pins. At the moment, Baytrail needs the pinctrl-baytrail driver to let peripherals control their gpio resources, but more pincontrol functions such as pin muxing and grouping

[PATCH 068/228] cpufreq: imx6q: Use generic cpufreq routines

2013-09-13 Thread Viresh Kumar
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 driver. Acked-by: Shawn Guo Signed-off-by: Viresh Kumar ---

[PATCH 074/228] cpufreq: p4-clockmod: Use generic cpufreq routines

2013-09-13 Thread Viresh Kumar
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 driver. Cc: David S. Miller Signed-off-by: Viresh Kumar ---

Re: [PATCH] firmware: Be a bit more verbose about direct firmware loading failure

2013-09-13 Thread Henrique de Moraes Holschuh
On Thu, 12 Sep 2013, Neil Horman wrote: > On Thu, Sep 12, 2013 at 03:46:30PM -0300, Henrique de Moraes Holschuh wrote: > > On Thu, 12 Sep 2013, Neil Horman wrote: > > > Both of these execptions should be rare, and are something the > > > administrator > > > will want to know about, so as not to

[PATCH 069/228] cpufreq: kirkwood: Use generic cpufreq routines

2013-09-13 Thread Viresh Kumar
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 driver. Cc: Andrew Lunn Signed-off-by: Viresh Kumar ---

[PATCH 091/228] cpufreq: acpi: don't initialize part of policy that is set by core too

2013-09-13 Thread Viresh Kumar
Many common initializations of struct policy are moved to core now and hence this driver doesn't need to do it. This patch removes such code. Most recent of those changes is to call ->get() in the core after calling ->init(). Signed-off-by: Viresh Kumar --- drivers/cpufreq/acpi-cpufreq.c | 1 -

[PATCH 099/228] cpufreq: dbx500: don't initialize part of policy that is set by core too

2013-09-13 Thread Viresh Kumar
Many common initializations of struct policy are moved to core now and hence this driver doesn't need to do it. This patch removes such code. Most recent of those changes is to call ->get() in the core after calling ->init(). Cc: Linus Walleij Signed-off-by: Viresh Kumar ---

[PATCH 104/228] cpufreq: ia64-acpi: don't initialize part of policy that is set by core too

2013-09-13 Thread Viresh Kumar
Many common initializations of struct policy are moved to core now and hence this driver doesn't need to do it. This patch removes such code. Most recent of those changes is to call ->get() in the core after calling ->init(). Cc: Tony Luck Signed-off-by: Viresh Kumar ---

[PATCH 114/228] cpufreq: pmac: don't initialize part of policy that is set by core too

2013-09-13 Thread Viresh Kumar
Many common initializations of struct policy are moved to core now and hence this driver doesn't need to do it. This patch removes such code. Most recent of those changes is to call ->get() in the core after calling ->init(). Signed-off-by: Viresh Kumar --- drivers/cpufreq/pmac32-cpufreq.c | 1

Re: [PATCH v3 00/10] HID: validate report details

2013-09-13 Thread Jiri Kosina
On Wed, 11 Sep 2013, Benjamin Tissoires wrote: > here is the v3 of the CVE fixes. Now applied, will be pushing to Linus for 3.12. Thanks everybody, -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [RFC] Restrict kernel spawning of threads to a specified set of cpus.

2013-09-13 Thread Christoph Lameter
On Thu, 12 Sep 2013, Frederic Weisbecker wrote: > So yeah it's a problem in theory. Now in practice, I have yet to be convinced > because > this should be solved after a few iterations in /proc in most cases. I have seen some drivers regularly spawning threads all over the machnine. This is a

[PATCH 105/228] cpufreq: imx6q: don't initialize part of policy that is set by core too

2013-09-13 Thread Viresh Kumar
Many common initializations of struct policy are moved to core now and hence this driver doesn't need to do it. This patch removes such code. Most recent of those changes is to call ->get() in the core after calling ->init(). Cc: Shawn Guo Signed-off-by: Viresh Kumar ---

[PATCH 107/228] cpufreq: kirkwood: don't initialize part of policy that is set by core too

2013-09-13 Thread Viresh Kumar
Many common initializations of struct policy are moved to core now and hence this driver doesn't need to do it. This patch removes such code. Most recent of those changes is to call ->get() in the core after calling ->init(). Cc: Andrew Lunn Signed-off-by: Viresh Kumar ---

[PATCH 110/228] cpufreq: maple: don't initialize part of policy that is set by core too

2013-09-13 Thread Viresh Kumar
Many common initializations of struct policy are moved to core now and hence this driver doesn't need to do it. This patch removes such code. Most recent of those changes is to call ->get() in the core after calling ->init(). Cc: Dmitry Eremin-Solenikov Signed-off-by: Viresh Kumar ---

Re: Build failures due to commit 416161db (btrfs: offline dedupe)

2013-09-13 Thread Geert Uytterhoeven
On Fri, Sep 13, 2013 at 3:33 PM, Guenter Roeck wrote: > fs/btrfs/ioctl.c: In function 'btrfs_ioctl_file_extent_same': > fs/btrfs/ioctl.c:2802:3: error: implicit declaration of function > '__put_user_unaligned' [-Werror=implicit-function-declaration] > cc1: some warnings being treated as errors >

[PATCH 115/228] cpufreq: powernow: don't initialize part of policy that is set by core too

2013-09-13 Thread Viresh Kumar
Many common initializations of struct policy are moved to core now and hence this driver doesn't need to do it. This patch removes such code. Most recent of those changes is to call ->get() in the core after calling ->init(). Signed-off-by: Viresh Kumar --- drivers/cpufreq/powernow-k6.c | 1 -

Re: [PATCH 099/228] cpufreq: dbx500: don't initialize part of policy that is set by core too

2013-09-13 Thread Linus Walleij
On Fri, Sep 13, 2013 at 3:00 PM, Viresh Kumar wrote: > Many common initializations of struct policy are moved to core now and hence > this driver doesn't need to do it. This patch removes such code. > > Most recent of those changes is to call ->get() in the core after calling > ->init(). > > Cc:

Re: [PATCH 063/228] cpufreq: dbx500: Use generic cpufreq routines

2013-09-13 Thread Linus Walleij
On Fri, Sep 13, 2013 at 3:00 PM, 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

[PATCH 135/228] cpufreq: kirkwood: use cpufreq_generic_init() routine

2013-09-13 Thread Viresh Kumar
Use generic cpufreq_generic_init() routine instead of replicating the same code here. Signed-off-by: Viresh Kumar --- drivers/cpufreq/kirkwood-cpufreq.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/cpufreq/kirkwood-cpufreq.c

[PATCH 126/228] cpufreq: unicore2: don't initialize part of policy that is set by core too

2013-09-13 Thread Viresh Kumar
Many common initializations of struct policy are moved to core now and hence this driver doesn't need to do it. This patch removes such code. Most recent of those changes is to call ->get() in the core after calling ->init(). Signed-off-by: Viresh Kumar --- drivers/cpufreq/unicore2-cpufreq.c |

[PATCH 125/228] cpufreq: tegra: don't initialize part of policy that is set by core too

2013-09-13 Thread Viresh Kumar
Many common initializations of struct policy are moved to core now and hence this driver doesn't need to do it. This patch removes such code. Most recent of those changes is to call ->get() in the core after calling ->init(). Cc: Stephen Warren Signed-off-by: Viresh Kumar ---

[PATCH 118/228] cpufreq: s3c: don't initialize part of policy that is set by core too

2013-09-13 Thread Viresh Kumar
Many common initializations of struct policy are moved to core now and hence this driver doesn't need to do it. This patch removes such code. Most recent of those changes is to call ->get() in the core after calling ->init(). Cc: Kukjin Kim Signed-off-by: Viresh Kumar ---

[PATCH 138/228] cpufreq: omap: use cpufreq_generic_init() routine

2013-09-13 Thread Viresh Kumar
Use generic cpufreq_generic_init() routine instead of replicating the same code here. This also rearranges the code a bit to make it more sensible. Also removes some unnecessary checks. Cc: Santosh Shilimkar Signed-off-by: Viresh Kumar --- drivers/cpufreq/omap-cpufreq.c | 41

[PATCH 130/228] cpufreq: cris: use cpufreq_generic_init() routine

2013-09-13 Thread Viresh Kumar
Use generic cpufreq_generic_init() routine instead of replicating the same code here. Cc: Jesper Nilsson Cc: Mikael Starvik Cc: linux-cris-ker...@axis.com Signed-off-by: Viresh Kumar --- drivers/cpufreq/cris-artpec3-cpufreq.c | 6 +- drivers/cpufreq/cris-etraxfs-cpufreq.c | 5 + 2

[PATCH 122/228] cpufreq: sh: don't initialize part of policy that is set by core too

2013-09-13 Thread Viresh Kumar
Many common initializations of struct policy are moved to core now and hence this driver doesn't need to do it. This patch removes such code. Most recent of those changes is to call ->get() in the core after calling ->init(). Cc: Paul Mundt Cc: linux...@vger.kernel.org Signed-off-by: Viresh

[PATCH 146/228] cpufreq: tegra: use cpufreq_generic_init() routine

2013-09-13 Thread Viresh Kumar
Use generic cpufreq_generic_init() routine instead of replicating the same code here. Signed-off-by: Viresh Kumar --- drivers/cpufreq/tegra-cpufreq.c | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/drivers/cpufreq/tegra-cpufreq.c

Re: [PATCH 3/9] mm: introduce api for split page table lock for PMD level

2013-09-13 Thread Peter Zijlstra
On Fri, Sep 13, 2013 at 04:06:10PM +0300, Kirill A. Shutemov wrote: > Basic api, backed by mm->page_table_lock for now. Actual implementation > will be added later. > > Signed-off-by: Naoya Horiguchi > Signed-off-by: Kirill A. Shutemov > --- > include/linux/mm.h | 13 + > 1 file

[PATCH 141/228] cpufreq: pmac64: use cpufreq_generic_init() routine

2013-09-13 Thread Viresh Kumar
Use generic cpufreq_generic_init() routine instead of replicating the same code here. Signed-off-by: Viresh Kumar --- drivers/cpufreq/pmac64-cpufreq.c | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/drivers/cpufreq/pmac64-cpufreq.c b/drivers/cpufreq/pmac64-cpufreq.c

[PATCH 150/228] cpufreq: at32ap: Convert to light weight ->target_index() routine

2013-09-13 Thread Viresh Kumar
This patch converts existing .target() to newly defined light weight .target_index() routine for this driver. CPUFreq core will call cpufreq_frequency_table_target() before calling this routine and will pass index to it. Acked-by: Hans-Christian Egtvedt Signed-off-by: Viresh Kumar ---

RE: [block:for-next 5/6] drivers/block/skd_main.c:441:3: error: implicit declaration of function 'readq'

2013-09-13 Thread Akhil Bhansali
This patch takes care of warnings related to 1. Implicit function declaration for readq / writeq. 2. Warnings related to -Wformat. Signed-off-by: Akhil Bhansali -- diff -uprN -X linux-3.10.9/Documentation/dontdiff linux-3.10.9/drivers/block/skd_main.c

[PATCH 163/228] cpufreq: loongson2: Convert to light weight ->target_index() routine

2013-09-13 Thread Viresh Kumar
This patch converts existing .target() to newly defined light weight .target_index() routine for this driver. CPUFreq core will call cpufreq_frequency_table_target() before calling this routine and will pass index to it. Cc: John Crispin Signed-off-by: Viresh Kumar ---

[PATCH 154/228] cpufreq: davinci: Convert to light weight ->target_index() routine

2013-09-13 Thread Viresh Kumar
This patch converts existing .target() to newly defined light weight .target_index() routine for this driver. CPUFreq core will call cpufreq_frequency_table_target() before calling this routine and will pass index to it. Cc: Sekhar Nori Signed-off-by: Viresh Kumar ---

[PATCH] perf tools: fix compile with libelf without get_phdrnum

2013-09-13 Thread Adrian Hunter
Add a feature check for get_phdrnum() and implement a replacement if it is not present. Signed-off-by: Adrian Hunter --- tools/perf/config/Makefile | 3 +++ tools/perf/config/feature-tests.mak | 9 + tools/perf/util/symbol-elf.c| 16 3 files changed,

[PATCH 139/228] cpufreq: pasemi: use cpufreq_generic_init() routine

2013-09-13 Thread Viresh Kumar
Use generic cpufreq_generic_init() routine instead of replicating the same code here. Signed-off-by: Viresh Kumar --- drivers/cpufreq/pasemi-cpufreq.c | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/drivers/cpufreq/pasemi-cpufreq.c b/drivers/cpufreq/pasemi-cpufreq.c

[PATCH 193/228] cpufreq: ia64-acpi: remove calls to cpufreq_notify_transition()

2013-09-13 Thread Viresh Kumar
Most of the drivers do following in their ->target_index() routines: struct cpufreq_freqs freqs; freqs.old = old freq... freqs.new = new freq... cpufreq_notify_transition(policy, , CPUFREQ_PRECHANGE); /* Change rate here */

[PATCH 183/228] cpufreq: arm_big_little: remove calls to cpufreq_notify_transition()

2013-09-13 Thread Viresh Kumar
Most of the drivers do following in their ->target_index() routines: struct cpufreq_freqs freqs; freqs.old = old freq... freqs.new = new freq... cpufreq_notify_transition(policy, , CPUFREQ_PRECHANGE); /* Change rate here */

[PATCH 197/228] cpufreq: maple: remove calls to cpufreq_notify_transition()

2013-09-13 Thread Viresh Kumar
Most of the drivers do following in their ->target_index() routines: struct cpufreq_freqs freqs; freqs.old = old freq... freqs.new = new freq... cpufreq_notify_transition(policy, , CPUFREQ_PRECHANGE); /* Change rate here */

[PATCH 196/228] cpufreq: loongson2: remove calls to cpufreq_notify_transition()

2013-09-13 Thread Viresh Kumar
Most of the drivers do following in their ->target_index() routines: struct cpufreq_freqs freqs; freqs.old = old freq... freqs.new = new freq... cpufreq_notify_transition(policy, , CPUFREQ_PRECHANGE); /* Change rate here */

[PATCH 200/228] cpufreq: pasemi: remove calls to cpufreq_notify_transition()

2013-09-13 Thread Viresh Kumar
Most of the drivers do following in their ->target_index() routines: struct cpufreq_freqs freqs; freqs.old = old freq... freqs.new = new freq... cpufreq_notify_transition(policy, , CPUFREQ_PRECHANGE); /* Change rate here */

[PATCH 187/228] cpufreq: cris: remove calls to cpufreq_notify_transition()

2013-09-13 Thread Viresh Kumar
Most of the drivers do following in their ->target_index() routines: struct cpufreq_freqs freqs; freqs.old = old freq... freqs.new = new freq... cpufreq_notify_transition(policy, , CPUFREQ_PRECHANGE); /* Change rate here */

[PATCH 185/228] cpufreq: blackfin: remove calls to cpufreq_notify_transition()

2013-09-13 Thread Viresh Kumar
Most of the drivers do following in their ->target_index() routines: struct cpufreq_freqs freqs; freqs.old = old freq... freqs.new = new freq... cpufreq_notify_transition(policy, , CPUFREQ_PRECHANGE); /* Change rate here */

[PATCH 178/228] cpufreq: SPEAr: Convert to light weight ->target_index() routine

2013-09-13 Thread Viresh Kumar
This patch converts existing .target() to newly defined light weight .target_index() routine for this driver. CPUFreq core will call cpufreq_frequency_table_target() before calling this routine and will pass index to it. Signed-off-by: Viresh Kumar --- drivers/cpufreq/spear-cpufreq.c | 12

[PATCH 209/228] cpufreq: SPEAr: remove calls to cpufreq_notify_transition()

2013-09-13 Thread Viresh Kumar
Most of the drivers do following in their ->target_index() routines: struct cpufreq_freqs freqs; freqs.old = old freq... freqs.new = new freq... cpufreq_notify_transition(policy, , CPUFREQ_PRECHANGE); /* Change rate here */

Re: [PATCH 8/9] mm: implement split page table lock for PMD level

2013-09-13 Thread Peter Zijlstra
On Fri, Sep 13, 2013 at 04:06:15PM +0300, Kirill A. Shutemov wrote: > +#if USE_SPLIT_PMD_PTLOCKS > + > +static inline void pgtable_pmd_page_ctor(struct page *page) > +{ > + spin_lock_init(>ptl); > +#ifdef CONFIG_TRANSPARENT_HUGEPAGE > + page->pmd_huge_pte = NULL; > +#endif > +} > + >

[PATCH 171/228] cpufreq: pxa: Convert to light weight ->target_index() routine

2013-09-13 Thread Viresh Kumar
This patch converts existing .target() to newly defined light weight .target_index() routine for this driver. CPUFreq core will call cpufreq_frequency_table_target() before calling this routine and will pass index to it. Cc: Eric Miao Signed-off-by: Viresh Kumar ---

<    1   2   3   4   5   6   7   8   9   10   >