Re: [PATCH 12/17] Kbuild, lto: Set TMPDIR for LTO

2014-02-13 Thread H. Peter Anvin
On 02/08/2014 12:01 AM, Andi Kleen wrote: > LTO gcc puts a lot of data into $TMPDIR, essentially another copy > of the object directory to pass the repartitioned object files > to the code generation processes. > > TMPDIR defaults to /tmp With /tmp as tmpfs it's easy to drive systems to > out of

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

2014-02-13 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm-current tree got a conflict in kernel/cpuset.c between commit d66393e54e0a ("cpuset: use css_task_iter_start/next/end() instead of css_scan_tasks()") from the cgroup tree and commit a82211b06d6e ("cpusets: allocate heap only when required") from the

Re: [PATCH 6/9 v6] ARM: dts: exynos5250/5420: add dt node for sss module

2014-02-13 Thread Naveen Krishna Ch
Hello Kukjin, On 14 February 2014 05:02, Kukjin Kim wrote: > On 02/14/14 08:28, Kukjin Kim wrote: >> >> On 02/07/14 14:24, Naveen Krishna Chatradhi wrote: >>> >>> This patch adds the device tree node for SSS module >>> found on Exynos5420 and Exynos5250 >>> >>> Signed-off-by: Naveen Krishna

[PATCH] ACPI / platform: drop redundant ACPI_HANDLE check

2014-02-13 Thread Josh Cartwright
The acpi_dev_pm_attach/_detach functions perform their own checks to ensure the device has an ACPI companion. It is not necessary for the caller to do so. This mirrors what other busses with ACPI dev PM support do (i2c, spi, sdio). Cc: Len Brown Cc: Rafael J. Wysocki Signed-off-by: Josh

[tip:x86/asmlinkage] asmlinkage: Make __iowrite32_copy visible

2014-02-13 Thread tip-bot for Andi Kleen
Commit-ID: d47d5c8194579bce1d62f88e26fea91d7c553e42 Gitweb: http://git.kernel.org/tip/d47d5c8194579bce1d62f88e26fea91d7c553e42 Author: Andi Kleen AuthorDate: Sat, 8 Feb 2014 08:51:58 +0100 Committer: H. Peter Anvin CommitDate: Thu, 13 Feb 2014 18:12:04 -0800 asmlinkage: Make

[tip:x86/asmlinkage] asmlinkage: Make lockdep_sys_exit asmlinkage

2014-02-13 Thread tip-bot for Andi Kleen
Commit-ID: 63f9a7fde715352e0769302527670542a664b981 Gitweb: http://git.kernel.org/tip/63f9a7fde715352e0769302527670542a664b981 Author: Andi Kleen AuthorDate: Sat, 8 Feb 2014 08:52:01 +0100 Committer: H. Peter Anvin CommitDate: Thu, 13 Feb 2014 18:12:54 -0800 asmlinkage: Make

[tip:x86/asmlinkage] asmlinkage, mutex: Mark __visible

2014-02-13 Thread tip-bot for Andi Kleen
Commit-ID: 22d9fd3411c693ccae5f5c2280fb1f9bb106ad4f Gitweb: http://git.kernel.org/tip/22d9fd3411c693ccae5f5c2280fb1f9bb106ad4f Author: Andi Kleen AuthorDate: Sat, 8 Feb 2014 08:52:03 +0100 Committer: H. Peter Anvin CommitDate: Thu, 13 Feb 2014 18:13:19 -0800 asmlinkage, mutex: Mark

[tip:x86/asmlinkage] asmlinkage: Make trace_hardirqs_on/ off_caller visible

2014-02-13 Thread tip-bot for Andi Kleen
Commit-ID: 285c00adf651c9b1d6c73d5eee482d2a617a64c1 Gitweb: http://git.kernel.org/tip/285c00adf651c9b1d6c73d5eee482d2a617a64c1 Author: Andi Kleen AuthorDate: Sat, 8 Feb 2014 08:52:08 +0100 Committer: H. Peter Anvin CommitDate: Thu, 13 Feb 2014 18:14:54 -0800 asmlinkage: Make

[tip:x86/asmlinkage] asmlinkage, x86: Fix 32bit memcpy for LTO

2014-02-13 Thread tip-bot for Andi Kleen
Commit-ID: a9143296dd612dceb0765229ccfb13fd642e2840 Gitweb: http://git.kernel.org/tip/a9143296dd612dceb0765229ccfb13fd642e2840 Author: Andi Kleen AuthorDate: Sat, 8 Feb 2014 08:52:07 +0100 Committer: H. Peter Anvin CommitDate: Thu, 13 Feb 2014 18:14:46 -0800 asmlinkage, x86: Fix 32bit

[tip:x86/asmlinkage] initconst, x86: Fix initconst mistake in ts5500 code

2014-02-13 Thread tip-bot for Andi Kleen
Commit-ID: 634676c203f130c8efa138296c2efba219821346 Gitweb: http://git.kernel.org/tip/634676c203f130c8efa138296c2efba219821346 Author: Andi Kleen AuthorDate: Sat, 8 Feb 2014 08:52:10 +0100 Committer: H. Peter Anvin CommitDate: Thu, 13 Feb 2014 18:14:54 -0800 initconst, x86: Fix

[tip:x86/asmlinkage] initconst: Fix initconst mistake in dcdbas

2014-02-13 Thread tip-bot for Andi Kleen
Commit-ID: 3be5588ad5c2628c8aa4a578bcbb114fa2b49260 Gitweb: http://git.kernel.org/tip/3be5588ad5c2628c8aa4a578bcbb114fa2b49260 Author: Andi Kleen AuthorDate: Sat, 8 Feb 2014 08:52:09 +0100 Committer: H. Peter Anvin CommitDate: Thu, 13 Feb 2014 18:14:54 -0800 initconst: Fix initconst

[tip:x86/asmlinkage] asmlinkage Make __stack_chk_failed and memcmp visible

2014-02-13 Thread tip-bot for Andi Kleen
Commit-ID: a7330c997d0f74d909a7d3553b1d550d8be2b61a Gitweb: http://git.kernel.org/tip/a7330c997d0f74d909a7d3553b1d550d8be2b61a Author: Andi Kleen AuthorDate: Sat, 8 Feb 2014 08:52:06 +0100 Committer: H. Peter Anvin CommitDate: Thu, 13 Feb 2014 18:13:43 -0800 asmlinkage Make

[tip:x86/asmlinkage] asmlinkage: Mark rwsem functions that can be called from assembler asmlinkage

2014-02-13 Thread tip-bot for Andi Kleen
Commit-ID: 3ebae4f3a2e746ae17f25c741e249294e7d6d7c2 Gitweb: http://git.kernel.org/tip/3ebae4f3a2e746ae17f25c741e249294e7d6d7c2 Author: Andi Kleen AuthorDate: Sat, 8 Feb 2014 08:52:05 +0100 Committer: H. Peter Anvin CommitDate: Thu, 13 Feb 2014 18:13:37 -0800 asmlinkage: Mark rwsem

[tip:x86/asmlinkage] asmlinkage: Make main_extable_sort_needed visible

2014-02-13 Thread tip-bot for Andi Kleen
Commit-ID: 00b7103078596a243c16239004e0dc9416910f13 Gitweb: http://git.kernel.org/tip/00b7103078596a243c16239004e0dc9416910f13 Author: Andi Kleen AuthorDate: Sat, 8 Feb 2014 08:52:04 +0100 Committer: H. Peter Anvin CommitDate: Thu, 13 Feb 2014 18:13:22 -0800 asmlinkage: Make

[tip:x86/asmlinkage] asmlinkage: Make jiffies visible

2014-02-13 Thread tip-bot for Andi Kleen
Commit-ID: 40747ffa5aa8d5b99ca46c696234b9194b59e0ac Gitweb: http://git.kernel.org/tip/40747ffa5aa8d5b99ca46c696234b9194b59e0ac Author: Andi Kleen AuthorDate: Sat, 8 Feb 2014 08:51:59 +0100 Committer: H. Peter Anvin CommitDate: Thu, 13 Feb 2014 18:12:09 -0800 asmlinkage: Make jiffies

[tip:x86/asmlinkage] asmlinkage: Make trace_hardirq visible

2014-02-13 Thread tip-bot for Andi Kleen
Commit-ID: b35f8305339f1ba3070fe606c6ef0d86ef093dee Gitweb: http://git.kernel.org/tip/b35f8305339f1ba3070fe606c6ef0d86ef093dee Author: Andi Kleen AuthorDate: Sat, 8 Feb 2014 08:52:02 +0100 Committer: H. Peter Anvin CommitDate: Thu, 13 Feb 2014 18:13:07 -0800 asmlinkage: Make

[tip:x86/asmlinkage] asmlinkage, kvm: Make kvm_rebooting visible

2014-02-13 Thread tip-bot for Andi Kleen
Commit-ID: 52480137d82062bb8d0fb778cb9934667958e367 Gitweb: http://git.kernel.org/tip/52480137d82062bb8d0fb778cb9934667958e367 Author: Andi Kleen AuthorDate: Sat, 8 Feb 2014 08:51:57 +0100 Committer: H. Peter Anvin CommitDate: Thu, 13 Feb 2014 18:11:56 -0800 asmlinkage, kvm: Make

[tip:x86/asmlinkage] asmlinkage, pnp: Make variables used from assembler code visible

2014-02-13 Thread tip-bot for Andi Kleen
Commit-ID: a99aa42d0253f033cbb85096d3f2bd82201321e6 Gitweb: http://git.kernel.org/tip/a99aa42d0253f033cbb85096d3f2bd82201321e6 Author: Andi Kleen AuthorDate: Sat, 8 Feb 2014 08:52:00 +0100 Committer: H. Peter Anvin CommitDate: Thu, 13 Feb 2014 18:12:27 -0800 asmlinkage, pnp: Make

[PATCH] tracing: Fix array size mismatch in format string

2014-02-13 Thread Vaibhav Nagarnaik
In event format strings, the array size is reported in two locations. One in array subscript and then via the "size:" attribute. The values reported there have a mismatch. For e.g., in sched:sched_switch the prev_comm and next_comm character arrays have subscript values as [32] where as the

Re: [PATCH cgroup/for-3.14-fixes] cgroup: update cgroup_enable_task_cg_lists() to grab siglock

2014-02-13 Thread Li Zefan
On 2014/2/14 2:29, Tejun Heo wrote: > Currently, there's nothing preventing cgroup_enable_task_cg_lists() > from missing set PF_EXITING and race against cgroup_exit(). Depending > on the timing, cgroup_exit() may finish with the task still linked on > css_set leading to list corruption. Fix it

Re: [RFC PATCH] Fix: module signature vs tracepoints: add new TAINT_UNSIGNED_MODULE

2014-02-13 Thread Mathieu Desnoyers
- Original Message - > From: "Steven Rostedt" > To: "Mathieu Desnoyers" > Cc: "Ingo Molnar" , linux-kernel@vger.kernel.org, "Ingo > Molnar" , "Thomas > Gleixner" , "Rusty Russell" , > "David Howells" , > "Greg Kroah-Hartman" > Sent: Thursday, February 13, 2014 3:45:07 PM > Subject:

[PATCH v8 1/2] ext4: Fix handling of extended tv_sec (bug 23732)

2014-02-13 Thread David Turner
against tytso/dev -- In ext4, the bottom two bits of {a,c,m}time_extra are used to extend the {a,c,m}time fields, deferring the year 2038 problem to the year 2446. When decoding these extended fields, for times whose bottom 32 bits would represent a negative number, sign extension causes the

[PATCH v8 2/2] e2fsck: Correct ext4 dates generated by old kernels

2014-02-13 Thread David Turner
against e2fsprogs/next -- Older kernels on 64-bit machines would incorrectly encode pre-1970 ext4 dates as post-2311 dates. Detect and correct this (assuming the current date is before 2242). Includes tests for this, as well as changes to debugfs to correctly set crtimes. Signed-off-by: David

Re: linux-next: manual merge of the devicetree tree with the net-next tree

2014-02-13 Thread Florian Fainelli
Hi Stephen, Le 13/02/2014 19:16, Stephen Rothwell a écrit : Hi Grant, Today's linux-next merge of the devicetree tree got a conflict in drivers/of/of_net.c between commit 8a2fe56e8827 ("net: phy: re-design phy_modes to be self-contained") from the net-next tree and commit cf4c9eb5a451 ("of:

Re: [PATCH 1/2] mm/vmscan: restore sc->gfp_mask after promoting it to __GFP_HIGHMEM

2014-02-13 Thread Weijie Yang
On Fri, Feb 14, 2014 at 12:10 AM, Rik van Riel wrote: > On 02/12/2014 09:39 PM, Weijie Yang wrote: > >> --- a/mm/vmscan.c >> +++ b/mm/vmscan.c >> @@ -2298,14 +2298,17 @@ static bool shrink_zones(struct zonelist *zonelist, >> struct scan_control *sc) >> unsigned long nr_soft_reclaimed; >>

Re: [RFC PATCH] Fix: module signature vs tracepoints: add new TAINT_UNSIGNED_MODULE

2014-02-13 Thread Mathieu Desnoyers
- Original Message - > From: "Steven Rostedt" > To: "Steven Rostedt" > Cc: "Rusty Russell" , "Ingo Molnar" > , "Mathieu Desnoyers" > , linux-kernel@vger.kernel.org, "Ingo Molnar" > , "Thomas Gleixner" > , "David Howells" , "Greg > Kroah-Hartman" > Sent: Thursday, February 13, 2014

Re: [PATCH] staging: android: lowmemorykiller: set TIF_MEMDIE before send kill sig

2014-02-13 Thread Weijie Yang
On Thu, Feb 13, 2014 at 4:00 PM, David Rientjes wrote: > On Thu, 13 Feb 2014, Weijie Yang wrote: > >> Set TIF_MEMDIE tsk_thread flag before send kill signal to the >> selected thread. This is to fit a usual code sequence and avoid >> potential race issue. >> > > Ok! > >> Signed-off-by: Weijie

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

2014-02-13 Thread Stephen Rothwell
Hi Grant, Today's linux-next merge of the devicetree tree got a conflict in drivers/of/of_net.c between commit 8a2fe56e8827 ("net: phy: re-design phy_modes to be self-contained") from the net-next tree and commit cf4c9eb5a451 ("of: make of_get_phy_mode parse 'phy-connection-type'") from the

[PATCH ] workqueue: add args to workqueue lockdep name

2014-02-13 Thread Li Zhong
Tommi noticed a 'funny' lock class name: "%s#5" from a lock acquired in process_one_work(). Maybe #fmt plus #args could be used as the lock_name to give some more information for some fmt string like the above. __builtin_constant_p() check is removed (as there seems no good way to check all the

Re: [PATCH] hwmon: (ntc_thermistor): Avoid overflow

2014-02-13 Thread Guenter Roeck
On 02/13/2014 02:39 PM, Doug Anderson wrote: The ntc thermistor code was doing math whose temporary result might have overflowed 32-bits. We need some casts in there to make it safe. In one example I found: - pullup_uV: 180 - result of iio_read_channel_raw: 3226 - 180 * 3226 =>

linux-next: build failure after merge of the mfd-lj tree

2014-02-13 Thread Stephen Rothwell
Hi Lee, After merging the mfd-lj tree, today's linux-next build (x86_64 allmodconfig) failed like this: In file included from drivers/mfd/max665x.c:19:0: include/linux/mfd/max665x-private.h:31:1: error: expected ';', identifier or '(' before 'struct' struct max665x_dev { ^ Caused by commit

[PATCH v3 2/3] ASoC: core: add TDM slot parsing from DT supports

2014-02-13 Thread Xiubo Li
For some CPU/CODEC DAI devices the TDM slot infomation maybe needed. This patch adds the slot parsing from DT supports. TDM slot properties: dai-tdm-slot-num : Number of slots in use. dai-tdm-slot-width : Width in bits for each slot. For instance: dai-tdm-slot-num = <2>;

[PATCH v3 3/3] ASoC: simple-card: add slot information parsing supports

2014-02-13 Thread Xiubo Li
For some CPU/CODEC DAI devices the slot information maybe needed. This patch adds the slot information parsing for simple-card driver. Signed-off-by: Xiubo Li Cc: Lars-Peter Clausen Cc: Mark Brown --- .../devicetree/bindings/sound/simple-card.txt | 5 +

[PATCH v3 0/3] Add TDM slot info OF parsing supports

2014-02-13 Thread Xiubo Li
Change in v3: - Add .of_xlate_tdm_slot_mask(). - Add snd_soc_of_xlate_tdm_slot_mask(). - Remove TDM slot masks OF parsing... - Split the TDM infomation into two properties. Xiubo Li (3): ASoC: binding: add tdm-slot.txt ASoC: core: add TDM slot parsing from DT supports ASoC:

[PATCH v3 1/3] ASoC: binding: add tdm-slot.txt

2014-02-13 Thread Xiubo Li
Signed-off-by: Xiubo Li Cc: Lars-Peter Clausen Cc: Mark Brown --- Documentation/devicetree/bindings/sound/tdm-slot.txt | 20 1 file changed, 20 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/tdm-slot.txt diff --git

Haben Sie ein Kredit Problem ## Jetzt langfristig zinsgünstig und ohne bankmässige Schikanen neue Finanzmittel bekommen

2014-02-13 Thread Nadine Weiss
Guten Tag, hat Ihre Hausbank Ihnen die Kreditlinie gestrichen? Gehen Sie doch dorthin, wo man Sie als Kunden noch anständig behandelt. Auch bei schlechter Auskunft und bereits von Ihrer eigenen Bank abgelehntem Antrag können wir Ihnen frisches Geld vermitteln zu optimalen Bedingungen -ab 1,8%

Re: [PATCH net,v3] hyperv: Fix the carrier status setting

2014-02-13 Thread Jason Wang
On 02/13/2014 11:04 PM, Haiyang Zhang wrote: > >> -Original Message- >> From: Jason Wang [mailto:jasow...@redhat.com] >> Sent: Wednesday, February 12, 2014 10:52 PM >> To: Haiyang Zhang; da...@davemloft.net; net...@vger.kernel.org >> Cc: KY Srinivasan; o...@aepfle.de;

Re: OMAP: clock DT conversion issues with omap36xx

2014-02-13 Thread Christoph Fritz
On Thu, 2014-02-13 at 12:05 +0200, Tomi Valkeinen wrote: > On 13/02/14 11:03, Tomi Valkeinen wrote: > > On 12/02/14 15:18, Tomi Valkeinen wrote: > > > >> However, I hacked together the patch below, which "fixes" the issue for > >> 96m and dss fclk. It sets the clock parents so that the x2 clocks

Re: [tip:sched/core] sched: Push down pre_schedule() and idle_balance ()

2014-02-13 Thread Michael wang
On 02/13/2014 11:34 AM, Michael wang wrote: > On 02/12/2014 06:22 PM, Peter Zijlstra wrote: > [snip] >> >> Yes I think there might be a problem here because of how we re-arranged >> things. Let me brew of pot of tea and try to actually wake up. >> >> I suspect we might be good if we clear the

Re: i386_defconfig for 3.13.2?

2014-02-13 Thread Gene Heskett
On Wednesday 12 February 2014, Randy Dunlap wrote: >On 02/12/2014 11:08 AM, Gene Heskett wrote: >> Greetings, not making any progress on newer kernel builds yet. >> >> So I unpacked 3.13.2 this morning and copied its >> arch/x86/i386_defconfig to .config. >> >> Ran make oldconfig, then 3 or 4

Re: [RFC][PATCH 0/5] arch: atomic rework

2014-02-13 Thread Paul E. McKenney
On Thu, Feb 13, 2014 at 12:03:57PM -0800, Torvald Riegel wrote: > On Wed, 2014-02-12 at 16:23 -0800, Paul E. McKenney wrote: > > On Wed, Feb 12, 2014 at 12:22:53PM -0800, Linus Torvalds wrote: > > > On Wed, Feb 12, 2014 at 10:07 AM, Paul E. McKenney > > > wrote: > > > > > > > > Us Linux-kernel

Re: [f2fs-dev] f2fs: f2fs unmount hangs if f2fs_init_acl() fails during mkdir syscall

2014-02-13 Thread Jaegeuk Kim
Hi, 2014-02-13 (목), 17:48 +0800, Gu Zheng: > Hi, > On 02/13/2014 05:40 PM, Andrey Tsyvarev wrote: > > > Hi, > > > >> BTW, have you tested the case that added remove_dirty_dir_inode() into the > >> fail path > >> of init_inode_metadata? > >> diff --git a/fs/f2fs/dir.c b/fs/f2fs/dir.c > >> index

Re: [Nouveau] [PATCH] drm/nouveau/fifo: allocate usermem as needed

2014-02-13 Thread Ben Skeggs
On Mon, Feb 10, 2014 at 10:14 PM, Thierry Reding wrote: > On Mon, Feb 10, 2014 at 02:57:01PM +0900, Alexandre Courbot wrote: >> Memory was always allocated for 4096 channels. Change this to allocate >> what we actually need according to the number of channels we use. >> >> Signed-off-by:

Re: [f2fs-dev] f2fs: f2fs unmount hangs if f2fs_init_acl() fails during mkdir syscall

2014-02-13 Thread Jaegeuk Kim
Hi, Sorry for the late response. I suffered from flu during last a couple of days. :( 2014-02-11 (화), 12:29 +0400, Andrey Tsyvarev: > Hi, > > > It turns out that make_bad_inode prior to iput sets i_mode to a regular > > file, so that f2fs_evict_inode -> truncate_inode_pages -> > >

Re: [PATCH v2] drm/nouveau: handle -EACCES runtime PM return code

2014-02-13 Thread Ben Skeggs
On Wed, Feb 12, 2014 at 3:00 PM, Alexandre Courbot wrote: > pm_runtime_get*() may return -EACCES to indicate a device does not have > runtime PM enabled. This is currently the case with platform devices > on Nouveau, and is not an error in that context. Handle this case > without failure. > >

[PATCH] gic: change access of gicc_ctrl register to read modify write.

2014-02-13 Thread Feng Kan
This change is made to preserve the GIC v2 releated bits in the GIC_CPU_CTRL register (also known as the GICC_CTLR register in spec). The original code only set the enable/disable group bit in this register. This code will preserve all other bits configured by the bootload except the

KSM on Android

2014-02-13 Thread Pradeep Sawlani
Re-sending this in plain text format (Apologies) Hello, In pursuit of saving memory on Android, I started experimenting with Kernel Same Page Merging(KSM). Number of pages shared because of KSM is reported by /sys/kernel/mm/pages_sharing. Documentation/vm/ksm.txt explains this as:

Re: [RFC] sched: Add a new lockless wake-from-idle implementation

2014-02-13 Thread Andy Lutomirski
On Thu, Feb 13, 2014 at 11:58 AM, Andy Lutomirski wrote: > On Thu, Feb 13, 2014 at 6:50 AM, Peter Zijlstra wrote: >> On Wed, Feb 12, 2014 at 05:40:12PM -0800, Andy Lutomirski wrote: >>> This is a strawman proposal to simplify the idle implementation, eliminate >>> a race >>> >>> Benefits over

Re: 3.14.0-rc2: WARNING: at mm/slub.c:1007

2014-02-13 Thread Christian Kujau
On Fri, 14 Feb 2014 at 12:14, Dave Chinner wrote: > > OK, so the "possible irq lock inversion dependency detected" is a lockdep > > regression, as you explained in the xfs-list thread. What about the > > "RECLAIM_FS-safe -> RECLAIM_FS-unsafe lock order detected" warning - I > > haven't seen it

Re: 3.14.0-rc2: WARNING: at mm/slub.c:1007

2014-02-13 Thread Dave Chinner
On Thu, Feb 13, 2014 at 03:34:19PM -0800, Christian Kujau wrote: > On Fri, 14 Feb 2014 at 09:26, Dave Chinner wrote: > > > after upgrading from 3.13-rc8 to 3.14.0-rc2 on this PowerPC G4 machine, > > > the WARNING below was printed. > > > > > > Shortly after, a lockdep warning appeared (possibly

[PATCH 01/27] clocksource: sh_cmt: Split channel fields from sh_cmt_priv

2014-02-13 Thread Laurent Pinchart
Create a new sh_cmt_channel structure to hold the channel-specific field in preparation for multiple channels per device support. Signed-off-by: Laurent Pinchart --- drivers/clocksource/sh_cmt.c | 393 ++- 1 file changed, 204 insertions(+), 189

[PATCH 07/27] clocksource: sh_cmt: Replace kmalloc + memset with kzalloc

2014-02-13 Thread Laurent Pinchart
One kzalloc a day keeps the bugs away. Signed-off-by: Laurent Pinchart --- drivers/clocksource/sh_cmt.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/clocksource/sh_cmt.c b/drivers/clocksource/sh_cmt.c index 0796460..cd3121d 100644 ---

[PATCH 05/27] clocksource: sh_cmt: Add memory base to sh_cmt_channel structure

2014-02-13 Thread Laurent Pinchart
The channel memory base is channel-specific, add it to the channel structure in preparation for support of multiple channels per device. Signed-off-by: Laurent Pinchart --- drivers/clocksource/sh_cmt.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git

[PATCH 06/27] clocksource: sh_cmt: Add index to struct sh_cmt_channel

2014-02-13 Thread Laurent Pinchart
Use the index when printing messages to identify the channel. Signed-off-by: Laurent Pinchart --- drivers/clocksource/sh_cmt.c | 28 ++-- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/drivers/clocksource/sh_cmt.c b/drivers/clocksource/sh_cmt.c index

[PATCH 04/27] clocksource: sh_cmt: Rename mapbase/mapbase_str to mapbase_ch/mapbase

2014-02-13 Thread Laurent Pinchart
The mapbase variable points to the mapped base address of the channel, rename it to mapbase_sh. mapbase_str points to the mapped base address of the CMT device, rename it to mapbase. Signed-off-by: Laurent Pinchart --- drivers/clocksource/sh_cmt.c | 34 +- 1 file

[PATCH 08/27] clocksource: sh_cmt: Allocate channels dynamically

2014-02-13 Thread Laurent Pinchart
This prepares the driver for multi-channel support. Signed-off-by: Laurent Pinchart --- drivers/clocksource/sh_cmt.c | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/drivers/clocksource/sh_cmt.c b/drivers/clocksource/sh_cmt.c index cd3121d..7a65d64 100644 ---

[PATCH 09/27] clocksource: sh_cmt: Split static information from sh_cmt_device

2014-02-13 Thread Laurent Pinchart
Create a new sh_cmt_info structure to hold static information about the device model and reference that structure from the sh_cmt_device structure. Signed-off-by: Laurent Pinchart --- drivers/clocksource/sh_cmt.c | 192 +++ 1 file changed, 122

[PATCH v2 0/4] hugetlb: add hugepages_node= command-line option

2014-02-13 Thread Luiz Capitulino
On a NUMA system, HugeTLB provides support for allocating per-node huge pages through sysfs. For example, to allocate 300 2M huge pages on node1, one can do: echo 300 > /sys/devices/system/node/node1/hugepages/hugepages-2048kB/nr_hugepages This works as long as you have enough contiguous

[PATCH 2/2] ARM: mm: keep rodata non-executable

2014-02-13 Thread Kees Cook
Introduce "CONFIG_DEBUG_RODATA" to mostly match the x86 config, though the behavior is different: it depends on STRICT_KERNMEM_PERMS, which sets rodata read-only (but executable), where as this option additionally splits rodata from the kernel text (resulting in potentially more memory lost to

[PATCH 11/27] clocksource: sh_cmt: Add support for multiple channels per device

2014-02-13 Thread Laurent Pinchart
CMT hardware devices can support multiple channels, with global registers and per-channel registers. The sh_cmt driver currently models the hardware with one Linux device per channel. This model makes it difficult to handle global registers in a clean way. Add support for a new model that uses

[PATCH 1/2] ARM: mm: allow for stricter kernel memory perms

2014-02-13 Thread Kees Cook
Adds CONFIG_ARM_KERNMEM_PERMS to separate the kernel memory regions into section-sized areas that can have different permisions. Performs the permission changes during free_initmem. This uses section size instead of PMD size to reduce memory caps on non-LPAE systems. Based on work by Brad

[PATCH 0/2] ARM: mm: allow for stricter kernel memory perms

2014-02-13 Thread Kees Cook
This series of patches allows the ARM kernel page tables to gain better permission separation. With a fixed[1] CONFIG_ARM_PTDUMP enabled, you can see the before and after in /sys/kernel/debug/kernel_page_tables. Before: ---[ Kernel Mapping ]--- 0xc000-0xc080 8M RW x SHD

[PATCH 13/27] clocksource: sh_cmt: Remove FSF mail address from GPL notice

2014-02-13 Thread Laurent Pinchart
Do not include the paragraph about writing to the Free Software Foundation's mailing address from the sample GPL notice. The FSF has changed addresses in the past, and may do so again. Linux already includes a copy of the GPL. Signed-off-by: Laurent Pinchart --- drivers/clocksource/sh_cmt.c | 4

[PATCH 14/27] clocksource: sh_cmt: Sort headers alphabetically

2014-02-13 Thread Laurent Pinchart
This helps locating duplicates and inserting new headers. Signed-off-by: Laurent Pinchart --- drivers/clocksource/sh_cmt.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/clocksource/sh_cmt.c b/drivers/clocksource/sh_cmt.c index

[PATCH 16/27] ARM: shmobile: sh7372: Switch to new style CMT device

2014-02-13 Thread Laurent Pinchart
The CMT (Compare Match Timer) driver implements a new style of platform data that handles the timer as a single device with multiple channel. Switch from the old-style platform data to the new-style platform data. Signed-off-by: Laurent Pinchart --- arch/arm/mach-shmobile/clock-sh7372.c | 6

[PATCH 20/27] ARM: shmobile: r8a7790: Switch to new style CMT device

2014-02-13 Thread Laurent Pinchart
The CMT (Compare Match Timer) driver implements a new style of platform data that handles the timer as a single device with multiple channel. Switch from the old-style platform data to the new-style platform data. Signed-off-by: Laurent Pinchart ---

[PATCH 17/27] ARM: shmobile: sh73a0: Switch to new style CMT device

2014-02-13 Thread Laurent Pinchart
The CMT (Compare Match Timer) driver implements a new style of platform data that handles the timer as a single device with multiple channel. Switch from the old-style platform data to the new-style platform data. Signed-off-by: Laurent Pinchart --- arch/arm/mach-shmobile/clock-sh73a0.c | 2 +-

[PATCH 03/27] clocksource: sh_cmt: Split channel setup to separate function

2014-02-13 Thread Laurent Pinchart
Move the channel setup code from sh_cmt_setup to a new sh_cmt_setup_channel function and call it from sh_cmt_setup. Signed-off-by: Laurent Pinchart --- drivers/clocksource/sh_cmt.c | 87 ++-- 1 file changed, 51 insertions(+), 36 deletions(-) diff --git

[PATCH 15/27] sh: Switch to new style CMT device

2014-02-13 Thread Laurent Pinchart
The CMT (Compare Match Timer) driver implements a new style of platform data that handles the timer as a single device with multiple channel. Switch from the old-style platform data to the new-style platform data. Signed-off-by: Laurent Pinchart --- arch/sh/kernel/cpu/clock-cpg.c | 3

[PATCH 19/27] ARM: shmobile: r8a7740: Switch to new style CMT device

2014-02-13 Thread Laurent Pinchart
The CMT (Compare Match Timer) driver implements a new style of platform data that handles the timer as a single device with multiple channel. Switch from the old-style platform data to the new-style platform data. Signed-off-by: Laurent Pinchart --- arch/arm/mach-shmobile/clock-r8a7740.c | 2

[PATCH 21/27] ARM: shmobile: r8a7791: Switch to new style CMT device

2014-02-13 Thread Laurent Pinchart
The CMT (Compare Match Timer) driver implements a new style of platform data that handles the timer as a single device with multiple channel. Switch from the old-style platform data to the new-style platform data. Signed-off-by: Laurent Pinchart ---

[PATCH 18/27] ARM: shmobile: r8a73a4: Switch to new style CMT device

2014-02-13 Thread Laurent Pinchart
The CMT (Compare Match Timer) driver implements a new style of platform data that handles the timer as a single device with multiple channel. Switch from the old-style platform data to the new-style platform data. Signed-off-by: Laurent Pinchart --- arch/arm/mach-shmobile/clock-r8a73a4.c | 2

[PATCH 22/27] clocksource: sh_cmt: Drop support for legacy platform data

2014-02-13 Thread Laurent Pinchart
Now that all platforms have switched to the new-style platform data, drop support for the legacy version. Signed-off-by: Laurent Pinchart --- drivers/clocksource/sh_cmt.c | 174 ++- 1 file changed, 39 insertions(+), 135 deletions(-) diff --git

[PATCH 2/4] memblock: add memblock_virt_alloc_nid_nopanic()

2014-02-13 Thread Luiz Capitulino
From: Luiz capitulino This function tries to allocate memory from the specified node only (vs. falling back to other nodes). This is going to be used by HugeTLB boot-time allocation code in next commits. Signed-off-by: Luiz capitulino --- include/linux/bootmem.h | 4 mm/memblock.c

[PATCH 3/4] hugetlb: add parse_pagesize_str()

2014-02-13 Thread Luiz Capitulino
From: Luiz capitulino This commit moves current setup_hugepagez() logic to function called parse_pagesize_str(), so that it can be used by the next commit. There should be no functional changes, except for the following: - When calling memparse(), setup_hugepagesz() was passing the retptr

[PATCH 4/4] hugetlb: add hugepages_node= command-line option

2014-02-13 Thread Luiz Capitulino
From: Luiz capitulino The HugeTLB command-line option hugepages= allows a user to specify how many huge pages should be allocated at boot. This option is needed because it improves reliability when allocating 1G huge pages, which are better allocated as early as possible due to fragmentation.

[PATCH v2] Staging: comedi: clean up conditional statement in addi_apci_3xxx.c

2014-02-13 Thread Chase Southwood
In this conditional statement, if (chan < 16), but the instruction passed in data[0] is INSN_CONFIG_DIO_QUERY, the function does not return early, but the else-branch does not get executed either. As a result, mask would be used uninitialized in the next line. We want comedi_dio_insn_config() to

[PATCH 1/4] memblock: memblock_virt_alloc_internal(): add __GFP_THISNODE flag support

2014-02-13 Thread Luiz Capitulino
From: Luiz capitulino Currently, if an allocation from the node specified by the nid argument fails, memblock_virt_alloc_internal() automatically tries to allocate memory from other nodes. This is fine if the caller don't care about which node is going to allocate the memory. However, there are

[PATCH 25/27] ARM: shmobile: r8a7791: Add CMT devices to DT

2014-02-13 Thread Laurent Pinchart
Signed-off-by: Laurent Pinchart --- arch/arm/boot/dts/r8a7791.dtsi | 38 ++ 1 file changed, 38 insertions(+) diff --git a/arch/arm/boot/dts/r8a7791.dtsi b/arch/arm/boot/dts/r8a7791.dtsi index 240c4ec..bcfb998 100644 --- a/arch/arm/boot/dts/r8a7791.dtsi +++

[PATCH 23/27] clocksource: sh_cmt: Add DT support

2014-02-13 Thread Laurent Pinchart
Cc: devicet...@vger.kernel.org Signed-off-by: Laurent Pinchart --- .../devicetree/bindings/timer/renesas,cmt.txt | 75 +++ drivers/clocksource/sh_cmt.c | 104 + 2 files changed, 160 insertions(+), 19 deletions(-) create mode 100644

[PATCH 24/27] ARM: shmobile: r8a7790: Add CMT devices to DT

2014-02-13 Thread Laurent Pinchart
Signed-off-by: Laurent Pinchart --- arch/arm/boot/dts/r8a7790.dtsi | 38 ++ 1 file changed, 38 insertions(+) diff --git a/arch/arm/boot/dts/r8a7790.dtsi b/arch/arm/boot/dts/r8a7790.dtsi index 54ab318..a236c7e 100644 --- a/arch/arm/boot/dts/r8a7790.dtsi +++

[PATCH 26/27] ARM: shmobile: lager-reference: Enable CMT0 in device tree

2014-02-13 Thread Laurent Pinchart
Enable the CMT0 device and configure channel 0 as a clock event provider. Signed-off-by: Laurent Pinchart --- arch/arm/boot/dts/r8a7790-lager.dts| 9 + arch/arm/mach-shmobile/board-lager-reference.c | 15 +-- arch/arm/mach-shmobile/include/mach/r8a7790.h | 1 -

[PATCH 27/27] ARM: shmobile: koelsch-reference: Enable CMT0 in device tree

2014-02-13 Thread Laurent Pinchart
Enable the CMT0 device and configure channel 0 as a clock event provider. Signed-off-by: Laurent Pinchart --- arch/arm/boot/dts/r8a7791-koelsch.dts| 9 + arch/arm/mach-shmobile/board-koelsch-reference.c | 15 +-- arch/arm/mach-shmobile/include/mach/r8a7791.h

Re: [RFC PATCH v2 tip 0/7] 64-bit BPF insn set and tracing filters

2014-02-13 Thread Alexei Starovoitov
On Thu, Feb 13, 2014 at 2:22 PM, Daniel Borkmann wrote: > On 02/13/2014 09:20 PM, Daniel Borkmann wrote: >> >> On 02/07/2014 02:20 AM, Alexei Starovoitov wrote: >> ... >>> >>> Hi Daniel, >> >> >> Thanks for your answer and sorry for the late reply. >> >>> Thank you for taking a look. Good

[PATCH 02/27] clocksource: sh_cmt: Rename struct sh_cmt_priv to sh_cmt_device

2014-02-13 Thread Laurent Pinchart
Channel data is private as well, rename priv to device to make the distrinction between the core device and the channels clearer. Signed-off-by: Laurent Pinchart --- drivers/clocksource/sh_cmt.c | 116 +-- 1 file changed, 58 insertions(+), 58 deletions(-)

[PATCH 12/27] clocksource: sh_cmt: Acquire default clock in the non-legacy case

2014-02-13 Thread Laurent Pinchart
The sh_cmt driver gets the CMT functional clock using a connection ID of "cmt_fck". While all SH SoCs create clock lookup entries with a NULL device ID and a "cmt_fck" connection ID, the ARM SoCs use the device ID only with a NULL connection ID. This works on legacy platforms but will break on ARM

[PATCH 00/27] Renesas CMT (Compare Match Timer) DT bindings

2014-02-13 Thread Laurent Pinchart
Hello, This patch set adds DT support to the Renesas CMT driver. The first 14 patches are a bunch of necessary cleanups that reorganize the driver, its platform data, and the memory, interrupt and clock resources it expects. As a result the driver accepts a new platform data model close to the

[PATCH 10/27] clocksource: sh_cmt: Replace hardcoded register values with macros

2014-02-13 Thread Laurent Pinchart
Define symbolic macros for all used registers bits. Signed-off-by: Laurent Pinchart --- drivers/clocksource/sh_cmt.c | 56 ++-- 1 file changed, 44 insertions(+), 12 deletions(-) diff --git a/drivers/clocksource/sh_cmt.c b/drivers/clocksource/sh_cmt.c

Re: pci-3.14 resource alloc

2014-02-13 Thread Yinghai Lu
Hi, Steven, I just rebased all my pci patches (busn_alloc and resource allocation) on top Linus tree and Bjorn's pci/next. Please check them at git://git.kernel.org/pub/scm/linux/kernel/git/yinghai/linux-yinghai.git for-pci-3.15 Let me know if it still works for your setup. Thanks Yinghai

Re: [RFC PATCH V5] mm readahead: Fix readahead fail for no local memory and limit readahead pages

2014-02-13 Thread Andrew Morton
On Thu, 13 Feb 2014 16:37:53 -0800 Linus Torvalds wrote: > unsigned long max_sane_readahead(unsigned long nr) > { > return min(nr, 128); > } I bet nobody will notice. It should be 128*4096/PAGE_CACHE_SIZE so that variations in PAGE_SIZE don't affect readahead behaviour. -- To

Re: [RFC PATCH V5] mm readahead: Fix readahead fail for no local memory and limit readahead pages

2014-02-13 Thread Linus Torvalds
Is this whole thread still just for the crazy and pointless "max_sane_readahead()"? Or is there some *real* reason we should care? Because if it really is just for max_sane_readahead(), then for the love of God, let us just do this unsigned long max_sane_readahead(unsigned long nr) {

Re: [PATCH 2/2] serial: pl011: Move uart_register_driver call to device probe

2014-02-13 Thread Russell King - ARM Linux
On Thu, Feb 13, 2014 at 04:14:36PM -0800, Greg KH wrote: > On Fri, Feb 14, 2014 at 12:07:17AM +, Russell King - ARM Linux wrote: > > On Thu, Feb 13, 2014 at 03:26:06PM -0800, Greg KH wrote: > > > On Thu, Feb 13, 2014 at 06:42:49PM +, Russell King - ARM Linux wrote: > > > > We went through

Re: [PATCH] rcu: fix sparse warning for rcu_expedited from kernel/ksysfs.c

2014-02-13 Thread Paul E. McKenney
On Tue, Feb 11, 2014 at 04:10:12PM -0500, Paul Gortmaker wrote: > To fix: > > kernel/ksysfs.c:143:5: warning: symbol 'rcu_expedited' was not declared. > Should it be static? > > Cc: "Paul E. McKenney" > Signed-off-by: Paul Gortmaker Queued, thank you!

[Update][PATCH 1/3] ACPI / dock: Dispatch dock notifications from the global notify handler

2014-02-13 Thread Rafael J. Wysocki
From: Rafael J. Wysocki The ACPI dock station code carries out an extra namespace scan before the main one in order to find and register all of the dock device objects. Then, it registers a notify handler for each of them for handling dock events. However, dock device objects need not be

Re: [patch 00/10] mm: thrash detection-based file cache sizing v9

2014-02-13 Thread Stephen Rothwell
Hi Andrew, On Thu, 13 Feb 2014 14:24:07 -0800 Andrew Morton wrote: > > On Thu, 13 Feb 2014 17:11:26 -0500 Johannes Weiner wrote: > > > On Thu, Feb 13, 2014 at 12:21:17PM +0900, Tetsuo Handa wrote: > > > Hello. > > > > > > I got a lockdep warning shown below, and the bad commit seems to be >

Re: [PATCH] spi: core: Validate lenght of the transfers in message

2014-02-13 Thread Mark Brown
On Thu, Feb 13, 2014 at 10:27:57PM +0100, Gerhard Sittig wrote: > On Thu, Feb 13, 2014 at 16:46 +0200, Ivan T. Ivanov wrote: > > SPI transfer lenght should be a power-of-two multiple > > of eight bits. > Are you suggesting that an SPI transfer cannot consist of e.g. > three bytes? This would be

Re: 3.14-rc2 XFS backtrace because irqs_disabled.

2014-02-13 Thread Dave Chinner
On Wed, Feb 12, 2014 at 06:18:29PM +1100, Dave Chinner wrote: > > It looks like just "do_signal()" has a stack frame that is about 230 > > bytes even under normal circumstancs (largely due to "struct ksignal" > > - which in turn is largely due to the insane 128-byte padding in > > siginfo_t). Add

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

2014-02-13 Thread Stephen Rothwell
Hi John, Today's linux-next merge of the wireless tree got a conflict in drivers/bcma/driver_gpio.c between commit 2997609eb4c9 ("bcma: gpio: add own IRQ domain") from Linus' tree and commit 6b6ee88774ae ("bcma: gpio: register all 32 GPIOs") from the wireless tree. I fixed it up (see below) and

Re: [RFC PATCH V5] mm readahead: Fix readahead fail for no local memory and limit readahead pages

2014-02-13 Thread Nishanth Aravamudan
On 13.02.2014 [14:41:04 -0800], David Rientjes wrote: > On Thu, 13 Feb 2014, Raghavendra K T wrote: > > > Thanks David, unfortunately even after applying that patch, I do not see > > the improvement. > > > > Interestingly numa_mem_id() seem to still return the value of a > > memoryless node. > >

Re: [PATCH 2/2] serial: pl011: Move uart_register_driver call to device probe

2014-02-13 Thread Greg KH
On Fri, Feb 14, 2014 at 12:07:17AM +, Russell King - ARM Linux wrote: > On Thu, Feb 13, 2014 at 03:26:06PM -0800, Greg KH wrote: > > On Thu, Feb 13, 2014 at 06:42:49PM +, Russell King - ARM Linux wrote: > > > We went through this before, and I stated the paths, and no one disagreed > > >

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