[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 eric.y.m...@gmail.com Signed-off-by: Viresh Kumar

[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, freqs, 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, freqs, CPUFREQ_PRECHANGE); /* Change rate here */

[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 adrian.hun...@intel.com --- tools/perf/config/Makefile | 3 +++ tools/perf/config/feature-tests.mak | 9 + tools/perf/util/symbol-elf.c| 16

[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 viresh.ku...@linaro.org --- drivers/cpufreq/pasemi-cpufreq.c | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/drivers/cpufreq/pasemi-cpufreq.c

[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 nsek...@ti.com Signed-off-by: Viresh Kumar

[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 egtv...@samfundet.no Signed-off-by: Viresh

[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 viresh.ku...@linaro.org --- drivers/cpufreq/pmac64-cpufreq.c | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/drivers/cpufreq/pmac64-cpufreq.c

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 abhans...@stec-inc.com -- 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 blo...@openwrt.org Signed-off-by: Viresh Kumar

[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 viresh.ku...@linaro.org --- 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 n-horigu...@ah.jp.nec.com Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com ---

[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 jesper.nils...@axis.com Cc: Mikael Starvik star...@axis.com Cc: linux-cris-ker...@axis.com Signed-off-by: Viresh Kumar viresh.ku...@linaro.org --- drivers/cpufreq/cris-artpec3-cpufreq.c | 6

[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 let...@linux-sh.org Cc: linux...@vger.kernel.org

[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 santosh.shilim...@ti.com Signed-off-by: Viresh Kumar viresh.ku...@linaro.org ---

[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 viresh.ku...@linaro.org --- 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 viresh.ku...@linaro.org ---

[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 swar...@nvidia.com 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 kgene@samsung.com Signed-off-by: Viresh Kumar

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 viresh.ku...@linaro.org 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

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 viresh.ku...@linaro.org 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

[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 and...@lunn.ch 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 dbarysh...@gmail.com Signed-off-by: Viresh

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 li...@roeck-us.net 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

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 shawn@linaro.org 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 tony.l...@intel.com Signed-off-by: Viresh Kumar

[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 viresh.ku...@linaro.org ---

[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 viresh.ku...@linaro.org ---

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

[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 viresh.ku...@linaro.org ---

[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 linus.wall...@linaro.org Signed-off-by: Viresh Kumar

[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 and...@lunn.ch Signed-off-by: Viresh

[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 da...@davemloft.net Signed-off-by:

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

[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 shawn@linaro.org Signed-off-by:

[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

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

[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 real...@gmail.com Signed-off-by: Viresh

[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 egtv...@samfundet.no

[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 jesper.nils...@axis.com Cc: Mikael

[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 viresh.ku...@linaro.org ---

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 emi...@elopez.com.ar wrote: Hi Olof, El 12/09/13 21:57, Olof Johansson escribió: On Thu, Sep 12, 2013 at 5:30 PM, Emilio López emi...@elopez.com.ar wrote: This driver's only job is to claim and ensure the necessary clock for memory operation

[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 viresh.ku...@linaro.org ---

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

[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 amit.dan...@samsung.com Acked-by: Kukjin Kim

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

[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 let...@linux-sh.org Cc:

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 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 real...@gmail.com Signed-off-by: Viresh Kumar

[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

[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 viresh.ku...@linaro.org --- drivers/cpufreq/sa1100-cpufreq.c | 4 +--- drivers/cpufreq/sa1110-cpufreq.c | 4

[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 viresh.ku...@linaro.org --- drivers/cpufreq/powernow-k6.c | 9 + drivers/cpufreq/powernow-k7.c | 4 +---

[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 kgene@samsung.com Signed-off-by: Viresh Kumar viresh.ku...@linaro.org --- drivers/cpufreq/s3c2416-cpufreq.c | 4 +---

[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 n-horigu...@ah.jp.nec.com Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com --- include/linux/huge_mm.h

[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 viresh.ku...@linaro.org --- drivers/cpufreq/pmac32-cpufreq.c | 3 +-- drivers/cpufreq/pmac64-cpufreq.c | 4 +--- 2 files changed, 2

[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 kirill.shute...@linux.intel.com ---

[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 n-horigu...@ah.jp.nec.com Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com --- mm/huge_memory.c | 108 ---

[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 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 da...@davemloft.net Signed-off-by: Viresh Kumar viresh.ku...@linaro.org --- drivers/cpufreq/p4-clockmod.c | 3 +-- 1 file changed, 1

[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 kirill.shute...@linux.intel.com --- arch/x86/Kconfig | 4 arch/x86/include/asm/pgalloc.h | 8 +++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/arch/x86/Kconfig

[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 kirill.shute...@linux.intel.com --- arch/arm/mm/fault-armv.c| 6 +++--- arch/um/defconfig | 2 +-

[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 kirill.shute...@linux.intel.com --- fs/proc/task_mmu.c | 2 +- include/linux/mm_types.h | 2 +- kernel/fork.c

[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 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 santosh.shilim...@ti.com Signed-off-by: Viresh Kumar viresh.ku...@linaro.org --- drivers/cpufreq/omap-cpufreq.c | 4 +--- 1 file

[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 n-horigu...@ah.jp.nec.com Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com --- include/linux/mm.h | 13 + 1 file changed, 13 insertions(+) diff

[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 dbarysh...@gmail.com Signed-off-by: Viresh Kumar viresh.ku...@linaro.org --- drivers/cpufreq/maple-cpufreq.c | 4 +--- 1 file

[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 viresh.ku...@linaro.org --- drivers/cpufreq/e_powersaver.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

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 jesper.nils...@axis.com Cc: Mikael Starvik star...@axis.com Cc:

[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 jesper.nils...@axis.com Cc: Mikael Starvik star...@axis.com Cc: linux-cris-ker...@axis.com Signed-off-by: Viresh Kumar viresh.ku...@linaro.org

[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 let...@linux-sh.org Cc: linux...@vger.kernel.org Signed-off-by: Viresh Kumar viresh.ku...@linaro.org --- drivers/cpufreq/sh-cpufreq.c | 6 +++---

[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 kgene@samsung.com Signed-off-by: Viresh Kumar

[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 shawn@linaro.org Signed-off-by: Viresh Kumar viresh.ku...@linaro.org --- drivers/cpufreq/cpufreq-cpu0.c | 4 +--- 1 file changed, 1

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

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 run ./trinity

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 routines

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 real...@kernel.org 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 --

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 to the GIC ones

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 n-horigu...@ah.jp.nec.com Signed-off-by: Kirill A. Shutemov

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 now. Why

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 in

Re: Crypto Fixes for 3.12

2013-09-13 Thread Linus Torvalds
On Fri, Sep 13, 2013 at 4:30 AM, Herbert Xu herb...@gondor.apana.org.au 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 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 viresh.ku...@linaro.org Acked-by:

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

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(page-ptl); +#ifdef CONFIG_TRANSPARENT_HUGEPAGE + page-pmd_huge_pte = NULL;

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 pet...@infradead.org 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 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 viresh.ku...@linaro.org Acked-by: Russell King rmk+ker...@arm.linux.org.uk -- To unsubscribe from this list: send

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

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 before

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 herb...@gondor.apana.org.au wrote: Herbert Xu (2): crypto: api - Fix race condition in larval lookup crypto: crct10dif - Add fallback for broken initrds

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

2013-09-13 Thread Peter Zijlstra
On Fri, Sep 13, 2013 at 01:54:53PM +, Christoph Lameter wrote: If we really want to solve that race, then may be we can think of a kernel_parameter No bloody kernel params. I'd much rather create a pointless kthread to act as usermodehelper parent that people can set context on

Re: [PATCH 1/2] ARM: msm: Add support for MSM8974 Dragonboard

2013-09-13 Thread Mark Rutland
On Tue, Aug 06, 2013 at 12:02:58AM +0100, Rohit Vaswani wrote: This patch adds basic board support for MSM8974 Dragonboard which belongs to the Snapdragon 800 family. For now, just support a basic machine with device tree. Signed-off-by: Rohit Vaswani rvasw...@codeaurora.org ---

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

2013-09-13 Thread Christoph Lameter
If we really want to solve that race, then may be we can think of a kernel_parameter No bloody kernel params. I'd much rather create a pointless kthread to act as usermodehelper parent that people can set context on (move it into cgroups, set affinity, whatever) so it automagically

Re: [PATCH v2 1/9] i2c: prepare runtime PM support for I2C client devices

2013-09-13 Thread Mika Westerberg
On Fri, Sep 13, 2013 at 07:30:55AM -0700, Kevin Hilman wrote: Mika Westerberg mika.westerb...@linux.intel.com writes: On Thu, Sep 12, 2013 at 02:34:21PM -0700, Kevin Hilman wrote: diff --git a/drivers/i2c/i2c-core.c b/drivers/i2c/i2c-core.c index f32ca29..44374b4 100644 ---

Re: [PATCH 1/2] tick: broadcast: Deny per-cpu clockevents from being broadcast sources

2013-09-13 Thread Thomas Gleixner
On Thu, 12 Sep 2013, Sören Brinkmann wrote: On Thu, Sep 12, 2013 at 10:30:15PM +0200, Thomas Gleixner wrote: I gave it a shot. Is this what you imagine: diff --git a/drivers/clocksource/arm_global_timer.c b/drivers/clocksource/arm_global_timer.c index b66c1f3..c639b1a 100644 ---

[no subject]

2013-09-13 Thread Matt Porter
lkml Bcc: Subject: GPT detection regression in efi.c from commit 27a7c64 Reply-To: The commit, 27a7c64 partitions/efi: account for pmbr size in lba, that was just merged in 3.12-rc caused a regression on my system with a GPT formatted eMMC device. In 3.11, the GPT partition table was detected

Re: [PATCH v5] Soft limit rework

2013-09-13 Thread Michal Hocko
On Fri 06-09-13 15:23:11, Johannes Weiner wrote: On Wed, Sep 04, 2013 at 06:38:23PM +0200, Michal Hocko wrote: [...] To handle overcommit situations more gracefully. As the documentation states: 7. Soft limits Soft limits allow for greater sharing of memory. The idea behind soft

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

2013-09-13 Thread Dave Jones
On Fri, Sep 13, 2013 at 01:14:47PM +0200, Peter Zijlstra wrote: On Thu, Sep 12, 2013 at 02:19:13PM -0400, Steven Rostedt wrote: WARNING: CPU: 3 PID: 861 at kernel/events/core.c:5566 perf_swevent_add+0x18d/0x1a0() Modules linked in: ipt_ULOG nfnetlink can_bcm can scsi_transport_iscsi

<    7   8   9   10   11   12   13   14   15   >