Re: 3.14-rc2 XFS backtrace because irqs_disabled.

2014-02-11 Thread Eric Sandeen
On 2/11/14, 3:08 PM, Dave Chinner wrote: > On Tue, Feb 11, 2014 at 12:27:07PM -0500, Dave Jones wrote: >> BUG: sleeping function called from invalid context at mm/mempool.c:203 >> in_atomic(): 0, irqs_disabled(): 1, pid: 27511, name: trinity-c3 >> 5 locks held by trinity-c3/27511: >> #0: (sb_writ

[RFC PATCH v2 3/4] mtd: nand: add DT NAND partition parser

2014-02-11 Thread Boris BREZILLON
Add ofnandpart_parse function to help parsing NAND partitions from DT. This function should be called from NAND controller drivers just after the nand_scan_tail in place of mtd_device_parse_register. The caller can specify a parser function to retrieve HW specific informations from the DT. Signed

[RFC PATCH v2 4/4] mtd: nand: add NAND partition support to the sunxi driver

2014-02-11 Thread Boris BREZILLON
Signed-off-by: Boris BREZILLON --- drivers/mtd/nand/sunxi_nand.c | 69 +++-- 1 file changed, 66 insertions(+), 3 deletions(-) diff --git a/drivers/mtd/nand/sunxi_nand.c b/drivers/mtd/nand/sunxi_nand.c index f24ad8b..4693d9f 100644 --- a/drivers/mtd/nand/sunx

[RFC PATCH v2 2/4] mtd: nand: add support for NAND partitions

2014-02-11 Thread Boris BREZILLON
Add support for NAND partitions, and inderectly for per partition ECC config. Provide helper functions to add/delete/allocate nand partitions. NAND core code now make use of the partition specific nand_ecc_ctrl struct (if available) when doing read/write operations. Signed-off-by: Boris BREZILLON

[RFC PATCH v2 1/4] mtd: nand: take nand_ecc_ctrl initialization out of nand_scan_tail

2014-02-11 Thread Boris BREZILLON
Take ECC initialization code portion out of nand_scan_tail so that we can re-use this implementation. Signed-off-by: Boris BREZILLON --- drivers/mtd/nand/nand_base.c | 72 +++--- 1 file changed, 46 insertions(+), 26 deletions(-) diff --git a/drivers/mtd/nan

[RFC PATCH v2 0/4] mtd: nand: add per partition ECC config

2014-02-11 Thread Boris BREZILLON
Hello, This patch series is a proposal to add per partition ECC config. It defines a new partition type called nand_part which stores a pointer to a nand_ecc_ctrl struct. This specific nand_ecc_ctrl struct is used in place of the base NAND chip nand_ecc_ctrl struct when accessing NAND chip from n

Re: [RFC PATCH] [media]: of: move graph helpers from drivers/media/v4l2-core to drivers/of

2014-02-11 Thread Philipp Zabel
Hi Sylwester, On Tue, Feb 11, 2014 at 06:22:34PM +0100, Sylwester Nawrocki wrote: > drivers/media sounds like a good alternative to me. > > I would just remove also v4l2_of_{parse/get}* and update the users > to call of_graph_* directly, there should not be many of them. For now I'd like to skip

Re: IRQ kernel message after upgrade to 3.14-rc1

2014-02-11 Thread Bjørn Mork
I assume you use the i915 driver? This is a known regression for some chips. Fix is in the i915 repo. Bjørn On 11 February 2014 22:37:04 CET, Arend van Spriel wrote: >I upgraded a couple of test rigs for our wireless drivers and noticed >this blurb showing up in the logs resulting in IRQ to be

Re: [Xen-devel] [GIT PULL] (xen) stable/for-jens-3.14 : NFO: trying to register non-static key. the code is fine but needs lockdep annotation.

2014-02-11 Thread Jens Axboe
On 2014-02-11 13:21, Sander Eikelenboom wrote: Tuesday, February 11, 2014, 7:21:56 PM, you wrote: On 11/02/14 18:15, Roger Pau Monné wrote: On 11/02/14 18:52, David Vrabel wrote: That would mean that unmap_purged_grants would no longer be static and I should also add a prototype for it in

Re: [patch] drop_caches: add some documentation and info message

2014-02-11 Thread Andrew Morton
On Mon, 10 Feb 2014 16:54:16 -0500 Johannes Weiner wrote: > How about this: we allow disabling the log message, but print the line > of the disabling call so it's clear who dunnit. To make sure valuable > info is not missing in bug reports, add counters for the two events in > /proc/vmstat. > >

[PATCH v2] [media] of: move graph helpers from drivers/media/v4l2-core to drivers/media

2014-02-11 Thread Philipp Zabel
From: Philipp Zabel This patch moves the parsing helpers used to parse connected graphs in the device tree, like the video interface bindings documented in Documentation/devicetree/bindings/media/video-interfaces.txt, from drivers/media/v4l2-core to drivers/media. This allows to reuse the same p

Re: [PATCH 0/8] locking/core patches

2014-02-11 Thread Waiman Long
On 02/11/2014 03:57 AM, Peter Zijlstra wrote: On Tue, Feb 11, 2014 at 09:45:02AM +0100, Ingo Molnar wrote: heh, yes, it's stupid how long many benchmarks take. Ditch it. A change like this should be testable with a 30-line microbenchmark which runs in 5 seconds tops. Another very nice option

IRQ kernel message after upgrade to 3.14-rc1

2014-02-11 Thread Arend van Spriel
I upgraded a couple of test rigs for our wireless drivers and noticed this blurb showing up in the logs resulting in IRQ to be disabled, which I doubt is what I want looking at the handlers listed. Any clue what might be going wrong here. Our isr brcms_isr() either returns IRQ_NONE or IRQ_HANDLED.

Re: [PATCH] printk: fix one circular lockdep warning about console_lock

2014-02-11 Thread Daniel Vetter
Aside: I've suggested this fix (but was too lazy to write the actual patch), hence also my sob on it. On Tue, Feb 11, 2014 at 10:19 PM, Andrew Morton wrote: >> --- a/kernel/printk/printk.c >> +++ b/kernel/printk/printk.c >> @@ -1893,6 +1893,20 @@ void resume_console(void) >> } >> >> /** >> + *

Re: [PATCH 0/4] hugetlb: add hugepagesnid= command-line option

2014-02-11 Thread Luiz Capitulino
On Tue, 11 Feb 2014 22:17:32 +0100 Andi Kleen wrote: > On Mon, Feb 10, 2014 at 12:27:44PM -0500, Luiz Capitulino wrote: > > HugeTLB command-line option hugepages= allows the user to specify how many > > huge pages should be allocated at boot. On NUMA systems, this argument > > automatically distr

Re: [PATCH] of: Turn of_match_node into a static inline when CONFIG_OF isn't set

2014-02-11 Thread Rob Herring
On Tue, Feb 11, 2014 at 12:29 PM, Geert Uytterhoeven wrote: > On Tue, Feb 11, 2014 at 7:08 PM, Josh Cartwright wrote: >> It sure would be convenient if platform_device had a 'const struct >> of_device_id *of_id_entry' member similar to the existing struct >> platform_device_id one, that was set u

Re: [PATCH 01/28] Remove CPU_MMP3

2014-02-11 Thread Greg Kroah-Hartman
On Sun, Feb 09, 2014 at 07:47:39PM +0100, Richard Weinberger wrote: > The symbol is an orphan, get rid of it. > > Signed-off-by: Richard Weinberger > Acked-by: Paul Bolle > > --- > drivers/usb/phy/Kconfig | 1 - > drivers/video/mmp/Kconfig| 2 +- > drivers/video/mmp/hw/Kconfig | 2 +-

Re: 3.14-mw regression: rtl8169 WARNING: DMA-API: exceeded 7 overlapping mappings of pfn 55ebe

2014-02-11 Thread Eric Dumazet
-ro > [ 101.638559] EXT4-fs (sdb1): mounted filesystem with ordered data mode. > Opts: barrier=1,errors=remount-ro > [ 218.073407] [ cut here ] > [ 218.080983] WARNING: CPU: 5 PID: 0 at lib/dma-debug.c:492 > add_dma_entry+0xf1/0x210() > [ 218.088

Re: [PATCH] ARM: spear: Remove references to PLAT_SPEAR_SINGLE

2014-02-11 Thread Paul Bolle
I got a bounce for Shiraz' address. Has Shiraz left ST? Paul Bolle -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://ww

Re: [PATCH 3/4] sparc64: convert spinlock_t to raw_spinlock_t in mmu_context_t

2014-02-11 Thread Kirill Tkhai
06.01.2014, 07:56, "Allen Pais" : > In the attempt of get PREEMPT_RT working on sparc64 using > linux-stable-rt version 3.10.22-rt19+, the kernel crash > with the following trace: > > [ 1487.027884] I7: > [ 1487.027885] Call Trace: > [ 1487.027887]  [004967dc] rt_mutex_setprio+0x3c/0x2c0

Re: [PATCH 12/13] ext4: add cross rename support

2014-02-11 Thread Jan Kara
On Fri 07-02-14 17:49:10, Miklos Szeredi wrote: > From: Miklos Szeredi > > Implement RENAME_EXCHANGE flag in renameat2 syscall. Hum, I guess the nice symmetry of ext4_cross_rename() outweights the code duplication. So you can add: Reviewed-by: Jan Kara

Re: [PATCH] ARM: tegra: dalmore: fix irq trigger type

2014-02-11 Thread Stefan Agner
Am 2014-02-11 21:47, schrieb Thierry Reding: > On Tue, Feb 11, 2014 at 09:11:32PM +0100, Stefan Agner wrote: >> Trigger type needs to be IRQ_TYPE_LEVEL_HIGH since the interrupt >> signal gets inverted by the PMC (configured by the invert-interrupt >> property). > > Isn't the reason the other way a

Re: Too many rescheduling interrupts (still!)

2014-02-11 Thread Thomas Gleixner
On Tue, 11 Feb 2014, Andy Lutomirski wrote: Just adding Peter for now, as I'm too tired to grok the issue right now. > Rumor has it that Linux 3.13 was supposed to get rid of all the silly > rescheduling interrupts. It doesn't, although it does seem to have > improved the situation. > > A small

Re: [PATCHv3 1/2] mm/memblock: add memblock_get_current_limit

2014-02-11 Thread Andrew Morton
On Tue, 11 Feb 2014 13:14:24 -0800 Laura Abbott wrote: > Appart from setting the limit of memblock, it's also useful to be able > to get the limit to avoid recalculating it every time. Add the function > to do so. > > Acked-by: Catalin Marinas > Acked-by: Santosh Shilimkar > Signed-off-by: Lau

[PATCH] ARM: spear: Remove references to PLAT_SPEAR_SINGLE

2014-02-11 Thread Paul Bolle
The Kconfig symbol PLAT_SPEAR_SINGLE briefly appeared during the v3.10 development cycle. It was removed in a merge commit before v3.10. A few references to it were left in the tree, probably because they didn't generate merge conflicts. Whatever it was, they're useless now and can safely be remove

Re: [Intel-gfx] [PATCH v5 1/1] drm/i915: Add 180 degree primary plane rotation support

2014-02-11 Thread Ville Syrjälä
On Tue, Feb 11, 2014 at 04:29:50PM +0530, sagar.a.kam...@intel.com wrote: > From: Sagar Kamble > > Primary planes support 180 degree rotation. Expose the feature > through rotation drm property. > > v2: Calculating linear/tiled offsets based on pipe source width and > height. Added 180 degree ro

Re: [PATCH] printk: fix one circular lockdep warning about console_lock

2014-02-11 Thread Andrew Morton
On Tue, 11 Feb 2014 14:50:00 +0800 wrote: > From: Jane Li > > This patch tries to fix a warning about possible circular locking > dependency. > > If do in following sequence: > enter suspend -> resume -> plug-out CPUx (echo 0 > cpux/online) > lockdep will show warning as following: > >

Re: [PATCH] ARM: tegra: don't timeout if CPU is powergated

2014-02-11 Thread Thierry Reding
On Tue, Feb 11, 2014 at 01:44:13AM +0100, Stefan Agner wrote: > When booting secondary CPU(s) which are not yet powergated, a wrong > check lead to a timeout after 100 jiffies. With this patch, we only > delay powergating if CPUs are still not powered yet. > > Signed-off-by: Stefan Agner > --- >

[GIT PULL] qcom SoC changes for v3.15

2014-02-11 Thread Kumar Gala
The following changes since commit cf1e8f0cd665e2a9966d2bee4e11ecc0938ff166: ARM: qcom: Rename various msm prefixed functions to qcom (2014-02-06 16:20:41 -0600) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/galak/linux-qcom.git tags/qcom-soc-for-3.

Re: [PATCH 0/4] hugetlb: add hugepagesnid= command-line option

2014-02-11 Thread Andi Kleen
On Mon, Feb 10, 2014 at 12:27:44PM -0500, Luiz Capitulino wrote: > HugeTLB command-line option hugepages= allows the user to specify how many > huge pages should be allocated at boot. On NUMA systems, this argument > automatically distributes huge pages allocation among nodes, which can > be undesi

[PATCHv3 0/2] Remove ARM meminfo

2014-02-11 Thread Laura Abbott
Hi, This is v3 of the patch to remove meminfo from arm and use memblock directly. Testing an Thanks, Laura v3: Fixed compilation issue for CONFIG_SPARSEMEM. Fixed several typos in spitz.c. Removed early_init_dt_add_memory_arch per Grant's suggestion. v2: Implemented full commandline support fo

[PATCHv3 1/2] mm/memblock: add memblock_get_current_limit

2014-02-11 Thread Laura Abbott
Appart from setting the limit of memblock, it's also useful to be able to get the limit to avoid recalculating it every time. Add the function to do so. Acked-by: Catalin Marinas Acked-by: Santosh Shilimkar Signed-off-by: Laura Abbott --- include/linux/memblock.h |2 ++ mm/memblock.c

[PATCHv3 2/2] arm: Get rid of meminfo

2014-02-11 Thread Laura Abbott
memblock is now fully integrated into the kernel and is the prefered method for tracking memory. Rather than reinvent the wheel with meminfo, migrate to using memblock directly instead of meminfo as an intermediate. Acked-by: Jason Cooper Acked-by: Catalin Marinas Acked-by: Santosh Shilimkar Te

[PATCH 3.13 011/120] xen/pvhvm: If xen_platform_pci=0 is set dont blow up (v4).

2014-02-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Konrad Rzeszutek Wilk commit 51c71a3bbaca868043cc45b3ad3786dd48a90235 upstream. The user has the option of disabling the platform driver: 00:02.0 Unassigned class [ff80]: XenSource, Inc. Xen P

[PATCH 3.13 012/120] mm/memory-failure.c: shift page lock from head page to tail page after thp split

2014-02-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Naoya Horiguchi commit 54b9dd14d09f24927285359a227aa363ce46089e upstream. After thp split in hwpoison_user_mappings(), we hold page lock on the raw error page only between try_to_unmap, hence

Re: [patch] w1: small type cleanup in sysfs

2014-02-11 Thread Dan Carpenter
On Tue, Feb 11, 2014 at 10:45:13AM -0600, David Fries wrote: > Dan, > > I have some other changes in work, how automated is your checkers? > How much work is it for me to give a github repository and branch and > find out if I introduced any problems before submitting them? > This is a Smatch th

[PATCH 3.13 000/120] 3.13.3-stable review

2014-02-11 Thread Greg Kroah-Hartman
Some -stable releases spring out from my build system bright and shiny and ready to go. Not so with these releases. Maybe it's the horrid weather that was happening during the creation of these kernels, or something else, but whatever it was, they came into this world screaming, kicking, killing

[PATCH 3.13 014/120] mm/page-writeback.c: fix dirty_balance_reserve subtraction from dirtyable memory

2014-02-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Johannes Weiner commit a804552b9a15c931cfc2a92a2e0aed1add8b580a upstream. Tejun reported stuttering and latency spikes on a system where random tasks would enter direct reclaim and get stuck o

[PATCH 3.13 001/120] mei: mei_hbm_dispatch() returns void

2014-02-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Paul Bolle Building hbm.o for v3.13.2 triggers a GCC warning: drivers/misc/mei/hbm.c: In function 'mei_hbm_dispatch': drivers/misc/mei/hbm.c:596:3: warning: 'return' with a value, in fu

[PATCH 3.13 015/120] mm/page-writeback.c: do not count anon pages as dirtyable memory

2014-02-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Johannes Weiner commit a1c3bfb2f67ef766de03f1f56bdfff9c8595ab14 upstream. The VM is currently heavily tuned to avoid swapping. Whether that is good or bad is a separate discussion, but as lon

[PATCH 3.13 016/120] memcg: fix endless loop caused by mem_cgroup_iter

2014-02-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Michal Hocko commit ecc736fc3c71c411a9d201d8588c9e7e049e5d8c upstream. Hugh has reported an endless loop when the hardlimit reclaim sees the same group all the time. This might happen when th

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

2014-02-11 Thread Paul Gortmaker
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 --- kernel/ksysfs.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/ksysfs.c b/kernel/ksysfs.c index d945a949760f..53476a147b

Re: What commit dropped config PLAT_SPEAR_SINGLE?

2014-02-11 Thread Paul Bolle
On Tue, 2014-02-11 at 21:56 +0100, Ortwin Glück wrote: > The next commit on that file: > 3a768d04639307db Merge branch 'spear/multiplatform' into next/multiplatform Thanks! > easy to see with this: > gitk v3.13 arch/arm/Kconfig And now I've found that, for instance, the "-c" option of "git log"

[PATCH 3.13 013/120] mm/memcg: iteration skip memcgs not yet fully initialized

2014-02-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Hugh Dickins commit d8ad30559715ce97afb7d1a93a12fd90e8fff312 upstream. It is surprising that the mem_cgroup iterator can return memcgs which have not yet been fully initialized. By accident (

[PATCH 3.13 017/120] memcg: fix css reference leak and endless loop in mem_cgroup_iter

2014-02-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Michal Hocko commit 0eef615665ede1e0d603ea9ecca88c1da6f02234 upstream. Commit 19f39402864e ("memcg: simplify mem_cgroup_iter") has reorganized mem_cgroup_iter code in order to simplify it. A

[PATCH 3.13 010/120] audit: correct a type mismatch in audit_syscall_exit()

2014-02-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: AKASHI Takahiro commit 06bdadd7634551cfe8ce071fe44d0311b3033d9e upstream. audit_syscall_exit() saves a result of regs_return_value() in intermediate "int" variable and passes it to __audit_sys

[PATCH 3.13 019/120] mm: dont lose the SOFT_DIRTY flag on mprotect

2014-02-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Andrey Vagin commit 24f91eba18bbfdb27e71a1aae5b3a61b67fcd091 upstream. The SOFT_DIRTY bit shows that the content of memory was changed after a defined point in the past. mprotect() doesn't ch

Re: 3.14-rc2 XFS backtrace because irqs_disabled.

2014-02-11 Thread Dave Chinner
On Tue, Feb 11, 2014 at 12:27:07PM -0500, Dave Jones wrote: > BUG: sleeping function called from invalid context at mm/mempool.c:203 > in_atomic(): 0, irqs_disabled(): 1, pid: 27511, name: trinity-c3 > 5 locks held by trinity-c3/27511: > #0: (sb_writers#9){..}, at: [] > mnt_want_write+0x24/0

[patch v2] w1: small type cleanup in sysfs

2014-02-11 Thread Dan Carpenter
On 64 bit systems, a large value for "long tmp" is truncated when assigning to "int md->max_slave_count" so we still end up with a value less than one despite the "tmp < 1" check. This is more of a problem for static checkers than a real life issue, but it's simple enough to fix. Acked-by: David

[PATCH 3.13 018/120] mm: ignore VM_SOFTDIRTY on VMA merging

2014-02-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Cyrill Gorcunov commit 34228d473efe764d4db7c0536375f0c993e6e06a upstream. The VM_SOFTDIRTY bit affects vma merge routine: if two VMAs has all bits in vm_flags matched except dirty bit the kern

[PATCH 3.13 002/120] SELinux: Fix memory leak upon loading policy

2014-02-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Tetsuo Handa commit 8ed814602876bec9bad2649ca17f34b499357a1c upstream. Hello. I got below leak with linux-3.10.0-54.0.1.el7.x86_64 . [ 681.903890] kmemleak: 5538 new suspected memory leaks

[PATCH 3.13 021/120] mmc: atmel-mci: fix timeout errors in SDIO mode when using DMA

2014-02-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Ludovic Desroches commit 66b512eda74d59b17eac04c4da1b38d82059e6c9 upstream. With some SDIO devices, timeout errors can happen when reading data. To solve this issue, the DMA transfer has to be

[PATCH 3.13 023/120] ARM: orion: provide C-style interrupt handler for MULTI_IRQ_HANDLER

2014-02-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Hesselbarth commit f28d7de6bd4d41774744e011141945affa127da4 upstream. DT-enabled Marvell Kirkwood and Dove SoCs make use of an irqchip driver. As expected for irqchip drivers, it use

[PATCH 3.13 025/120] slub: Fix calculation of cpu slabs

2014-02-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Li Zefan commit 8afb1474db4701d1ab80cd8251137a3260e6913e upstream. /sys/kernel/slab/:t-048 # cat cpu_slabs 231 N0=16 N1=215 /sys/kernel/slab/:t-048 # cat slabs 145 N0=36 N1=109

[PATCH 3.13 024/120] ARM: mvebu: Fix kernel hang in mvebu_soc_id_init() when of_iomap failed

2014-02-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Gregory CLEMENT commit dc4910d9e93f8cc56b190dd8fc9e789135978216 upstream. When pci_base is accessed whereas it has not been properly mapped by of_iomap() the kernel hang. The check of this poi

Re: [RFC PATCH] video: Use fb_sys_write rather than open-coding in drivers

2014-02-11 Thread Ryan Mallon
On 12/02/14 03:06, Tomi Valkeinen wrote: > On 20/09/13 10:06, Ryan Mallon wrote: >> Several video drivers open code the fb_write write function with code >> which is very similar to fb_sys_write. Replace the open code versions >> with calls to fb_sys_write. An fb_sync callback is added to each of

[PATCH 3.13 020/120] mmc: fix host release issue after discard operation

2014-02-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Ray Jui commit f662ae48ae67dfd42739e65750274fe8de46240a upstream. Under function mmc_blk_issue_rq, after an MMC discard operation, the MMC request data structure may be freed in memory. Later

[PATCH 3.13 029/120] compat: fix sys_fanotify_mark

2014-02-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Heiko Carstens commit 592f6b842f64e416c7598a1b97c649b34241e22d upstream. Commit 91c2e0bcae72 ("unify compat fanotify_mark(2), switch to COMPAT_SYSCALL_DEFINE") added a new unified compat fanot

[PATCH 3.13 026/120] turbostat: Dont put unprocessed uapi headers in the include path

2014-02-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Josh Triplett commit b731f3119de57144e16c19fd593b8daeb637843e upstream. turbostat's Makefile puts arch/x86/include/uapi/ in the include path, so that it can include from it. It isn't in gene

[PATCH 3.13 028/120] ACPI / init: Flag use of ACPI and ACPI idioms for power supplies to regulator API

2014-02-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Mark Brown commit 49a12877d2777cadcb838981c3c4f5a424aef310 upstream. There is currently no facility in ACPI to express the hookup of voltage regulators, the expectation is that the regulators

[PATCH 3.13 033/120] lib/genalloc.c: add check gen_pool_dma_alloc() if dma pointer is not NULL

2014-02-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: "Lad, Prabhakar" commit 0368dfd01ae3b7647ef9b2f0525fdefd5e0d28e1 upstream. In the gen_pool_dma_alloc() the dma pointer can be NULL and while assigning gen_pool_virt_to_phys(pool, vaddr) to dma

[PATCH 3.13 022/120] mmc: core: sd: implement proper support for sd3.0 au sizes

2014-02-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Wolfram Sang commit 9288cac05405a7da406097a44721aa4004609b4d upstream. This reverts and updates commit 6fd0a4cc541b9 ("mmc: sd: fix the maximum au_size for SD3.0"). The au_size for SD3.0 c

[PATCH 3.13 032/120] tile: remove compat_sys_lookup_dcookie declaration to fix compile error

2014-02-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Heiko Carstens commit 5a5e75f4714a592f31e57f248b8f5c866f278b8d upstream. With commit d8d14bd09cdd ("fs/compat: fix lookup_dcookie() parameter handling") I changed the type of the len parameter

[PATCH 3.13 003/120] tracing: Have trace buffer point back to trace_array

2014-02-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: "Steven Rostedt (Red Hat)" commit dced341b2d4f06668efaab33f88de5d287c0f45b upstream. The trace buffer has a descriptor pointer that goes back to the trace array. But it was never assigned. Luc

[PATCH 3.13 053/120] dm: wait until embedded kobject is released before destroying a device

2014-02-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Mikulas Patocka commit be35f486108227e10fe5d96fd42fb2b344c59983 upstream. There may be other parts of the kernel holding a reference on the dm kobject. We must wait until all references are d

[PATCH 3.13 036/120] xtensa: xtfpga: fix definitions of platform devices

2014-02-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Max Filippov commit a558d99263936b8a67d4eff8918745a77bfd8c31 upstream. Remove __initdata attribute, as the devices may be used after init sections are freed. Signed-off-by: Max Filippov Sign

[PATCH 3.13 034/120] mtd: mxc_nand: remove duplicated ecc_stats counting

2014-02-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Michael Grzeschik commit 0566477762f9e174e97af347ee9c865f908a5647 upstream. The ecc_stats.corrected count variable will already be incremented in the above framework-layer just after this call

[PATCH 3.13 031/120] fs/compat: fix lookup_dcookie() parameter handling

2014-02-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Heiko Carstens commit d8d14bd09cddbaf0168d61af638455a26bd027ff upstream. Commit d5dc77bfeeab ("consolidate compat lookup_dcookie()") coverted all architectures to the new compat_sys_lookup_dco

[PATCH 3.13 035/120] ore: Fix wrong math in allocation of per device BIO

2014-02-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Boaz Harrosh commit aad560b7f63b495f48a7232fd086c5913a676e6f upstream. At IO preparation we calculate the max pages at each device and allocate a BIO per device of that size. The calculation w

[PATCH 3.13 037/120] IB/qib: Fix QP check when looping back to/from QP1

2014-02-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Ira Weiny commit 6e0ea9e6cbcead7fa8c76e3e3b9de4a50c5131c5 upstream. The GSI QP type is compatible with and should be allowed to send data to/from any UD QP. This was found when testing ibacm

[PATCH 3.13 004/120] tracing: Check if tracing is enabled in trace_puts()

2014-02-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: "Steven Rostedt (Red Hat)" commit 3132e107d608f8753240d82d61303c500fd515b4 upstream. If trace_puts() is used very early in boot up, it can crash the machine if it is called before the ring buf

[PATCH 3.13 042/120] nfs4.1: properly handle ENOTSUP in SECINFO_NO_NAME

2014-02-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Weston Andros Adamson commit 78b19bae0813bd6f921ca58490196abd101297bd upstream. Don't check for -NFS4ERR_NOTSUPP, it's already been mapped to -ENOTSUPP by nfs4_stat_to_errno. This allows the

[PATCH 3.13 040/120] spi/pxa2xx: initialize DMA channels to -1 to prevent inadvertent match

2014-02-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Mika Westerberg commit 483c319188c74e82b29a0ed7a7fa7065570f2193 upstream. Commit cddb339badb0 (spi/pxa2xx: convert to dma_request_slave_channel_compat()) converted the driver to use ACPI provi

[PATCH 3.13 041/120] NFSv4: OPEN must handle the NFS4ERR_IO return code correctly

2014-02-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Trond Myklebust commit c7848f69ec4a8c03732cde5c949bd2aa711a9f4b upstream. decode_op_hdr() cannot distinguish between an XDR decoding error and the perfectly valid errorcode NFS4ERR_IO. This is

Re: [RFC PATCH] [media]: of: move graph helpers from drivers/media/v4l2-core to drivers/of

2014-02-11 Thread Guennadi Liakhovetski
On Wed, 12 Feb 2014, Mauro Carvalho Chehab wrote: > Em Tue, 11 Feb 2014 18:22:34 +0100 > Sylwester Nawrocki escreveu: > > > (adding Guennadi to Cc) > > > > On 11/02/14 17:36, Philipp Zabel wrote: > > > Am Dienstag, den 11.02.2014, 16:23 +0100 schrieb Laurent Pinchart: > > >> Hi Russell, > > >>

[PATCH 3.13 005/120] arch/sh/kernel/kgdb.c: add missing #include

2014-02-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Wanlong Gao commit 53a52f17d96c8d47c79a7dafa81426317e89c7c1 upstream. arch/sh/kernel/kgdb.c: In function 'sleeping_thread_to_gdb_regs': arch/sh/kernel/kgdb.c:225:32: error: implicit declar

Re: [PATCH 09/12] hwmon: vexpress: Use devm helper for hwmon device registration

2014-02-11 Thread Arnd Bergmann
On Tuesday 11 February 2014, Pawel Moll wrote: > -#define VEXPRESS_HWMON_ATTRS(_name, _label_attr, _input_attr) \ > -struct attribute *vexpress_hwmon_attrs_##_name[] = { \ > - &dev_attr_name.attr,\ > - &dev_attr_##_label_attr.attr,

[PATCH 3.13 006/120] intel-iommu: fix off-by-one in pagetable freeing

2014-02-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Alex Williamson commit 08336fd218e087cc4fcc458e6b6dcafe8702b098 upstream. dma_pte_free_level() has an off-by-one error when checking whether a pte is completely covered by a range. Take for e

Re: [Patch v5 1/2] dmaengine: add Qualcomm BAM dma driver

2014-02-11 Thread Andy Gross
On Tue, Feb 11, 2014 at 11:00:48PM +0530, Vinod Koul wrote: > On Tue, Feb 04, 2014 at 02:42:35PM -0600, Andy Gross wrote: > > Add the DMA engine driver for the QCOM Bus Access Manager (BAM) DMA > > controller > > found in the MSM 8x74 platforms. > > [.] > > + * QCOM BAM DMA engine driver >

Re: [PATCH 02/12] power/reset: vexpress: Use udelay instead of timers

2014-02-11 Thread Arnd Bergmann
On Tuesday 11 February 2014, Pawel Moll wrote: > At this stage of system shutdown procedure the jiffies may > not be updated anymore, so just use udelay instead. comment doesn't match code: s/udelay/mdelay/ > + mdelay(1000); > } Arnd -- To unsubscribe from t

[PATCH 3.13 039/120] spidev: fix hang when transfer_one_message fails

2014-02-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Santos commit e120cc0dcf2880a4c5c0a6cb27b655600a1cfa1d upstream. This corrects a problem in spi_pump_messages() that leads to an spi message hanging forever when a call to transfer_one_

Re: Baytrail/T (ASUS T100 etc) regression from 3.13 onwards

2014-02-11 Thread One Thousand Gnomes
On Tue, 11 Feb 2014 11:45:24 -0800 Jesse Barnes wrote: > On Tue, 11 Feb 2014 18:28:12 + > One Thousand Gnomes wrote: > > > O> > According to the reg dumps, this is actually a MIPI panel we're failing > > > > to bring up properly. We're working on that issue, but in the > > > > meantime, ma

[PATCH 3.13 038/120] spi/bcm63xx: dont substract prepend length from total length

2014-02-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Jonas Gorski commit 86b3bde003e6bf60ccb9c09b4115b8a2f533974c upstream. The spi command must include the full message length including any prepended writes, else transfers larger than 256 bytes

[PATCH 3.13 009/120] audit: reset audit backlog wait time after error recovery

2014-02-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Richard Guy Briggs commit e789e561a50de0aaa8c695662d97aaa5eac9d55f upstream. When the audit queue overflows and times out (audit_backlog_wait_time), the audit queue overflow timeout is set to

[PATCH 3.13 044/120] NFSv4.1: Handle errors correctly in nfs41_walk_client_list

2014-02-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Trond Myklebust commit 64590daa9e0dfb3aad89e3ab9230683b76211d5b upstream. Both nfs41_walk_client_list and nfs40_walk_client_list expect the 'status' variable to be set to the value -NFS4ERR_ST

[PATCH 3.13 055/120] dm space map metadata: fix extending the space map

2014-02-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Joe Thornber commit 7e664b3dec431eebf0c5df5ff704d6197634cf35 upstream. When extending a metadata space map we should do the first commit whilst still in bootstrap mode -- a mode where all bloc

[PATCH 3.13 054/120] dm space map common: make sure new space is used during extend

2014-02-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Joe Thornber commit 12c91a5c2d2a8e8cc40a9552313e1e7b0a2d9ee3 upstream. When extending a low level space map we should update nr_blocks at the start so the new space is used for the index entri

Re: What commit dropped config PLAT_SPEAR_SINGLE?

2014-02-11 Thread Ortwin Glück
The next commit on that file: 3a768d04639307db Merge branch 'spear/multiplatform' into next/multiplatform easy to see with this: gitk v3.13 arch/arm/Kconfig Cheers, Ortwin -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kern

Re: [Patch v5 2/2] dmaengine: qcom_bam_dma: Add device tree binding

2014-02-11 Thread Kumar Gala
On Feb 4, 2014, at 2:42 PM, Andy Gross wrote: > Add device tree binding support for the QCOM BAM DMA driver. > > Signed-off-by: Andy Gross > --- > .../devicetree/bindings/dma/qcom_bam_dma.txt | 48 > 1 file changed, 48 insertions(+) > create mode 100644 Documentatio

Re: [PATCH 01/51] CPU hotplug: Provide lockless versions of callback registration functions

2014-02-11 Thread Toshi Kani
On Wed, 2014-02-12 at 00:50 +0530, Srivatsa S. Bhat wrote: > On 02/11/2014 11:05 PM, Toshi Kani wrote: : > > How about this? foo_cpu_notifier returns NOP when foo_notifier_ready is > > false. > > > > register_cpu_notifier(&foobar_cpu_notifier); > > > > get_online_cpus(); > > >

[PATCH 3.13 008/120] fuse: fix pipe_buf_operations

2014-02-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Miklos Szeredi commit 28a625cbc2a14f17b83e47ef907b2658576a32aa upstream. Having this struct in module memory could Oops when if the module is unloaded while the buffer still persists in a pipe

Re: [PATCH 1/1] drm/tegra: Add guard to avoid double disable/enable of RGB outputs

2014-02-11 Thread Thierry Reding
On Tue, Feb 11, 2014 at 08:13:14PM +0100, Erik Faye-Lund wrote: > On Tue, Feb 11, 2014 at 6:12 PM, Dmitry Osipenko wrote: > > Add guard to check whether RGB output is already enabled in the way it's > > done for HDMI output. Fixes possible hang on trying to disable output twice > > (first time dur

[PATCH 3.13 056/120] dm space map metadata: fix bug in resizing of thin metadata

2014-02-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Joe Thornber commit fca028438fb903852beaf7c3fe1cd326651af57d upstream. This bug was introduced in commit 7e664b3dec431e ("dm space map metadata: fix extending the space map"). When extending

[PATCH 3.13 045/120] nfs4: fix discover_server_trunking use after free

2014-02-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Weston Andros Adamson commit abad2fa5ba67725a3f9c376c8cfe76fbe94a3041 upstream. If clp is new (cl_count = 1) and it matches another client in nfs4_discover_server_trunking, the nfs_put_client

[PATCH 3.13 062/120] numa: add a sysctl for numa_balancing

2014-02-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Andi Kleen commit 54a43d54988a3731d644fdeb7a1d6f46b4ac64c7 upstream. Add a working sysctl to enable/disable automatic numa memory balancing at runtime. This allows us to track down performanc

[PATCH 3.13 063/120] mm: numa: initialise numa balancing after jump label initialisation

2014-02-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Mel Gorman commit c297663c0b3930491a3cb2aba4b6e5a7159c3503 upstream. The command line parsing takes place before jump labels are initialised which generates a warning if numa_balancing= is spe

[PATCH 3.13 097/120] drm/cirrus: correct register values for 16bpp

2014-02-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 2510538fa000dd13a3e57b79bf073ffb1748976c upstream. When the mode is set with 16bpp on QEMU, the output gets totally broken. The culprit is the bogus register values set for

[PATCH 3.13 069/120] [media] it913x: Add support for Avermedia H335 id 0x0335

2014-02-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Malcolm Priestley commit 17f335c304ac19d9b11814238fe8a7519d80e2ff upstream. Trivial USB ID addition for Avermedia H335. Signed-off-by: Malcolm Priestley Signed-off-by: Mauro Carvalho Chehab

[PATCH 3.13 067/120] [media] dib8000: make 32 bits read atomic

2014-02-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Mauro Carvalho Chehab commit 5ac64ba12aca3bef18e61c866583155a3bbf81c4 upstream. As the dvb-frontend kthread can be called anytime, it can race with some get status ioctl. So, it seems better t

[PATCH 3.13 068/120] [media] media: s5p_mfc: remove s5p_mfc_get_node_type() function

2014-02-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Marek Szyprowski commit b80cb8dc4162bc954cc71efec192ed89f2061573 upstream. s5p_mfc_get_node_type() relies on get_index() helper function, which in turn relies on video_device index numbers ass

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