Re: [PATCH] kconfig: plug false-positive warning in get_prompt_str() seen with gcc-4.9

2014-06-22 Thread Uwe Kleine-König
Hello, On Sun, May 25, 2014 at 08:47:51PM +0400, Konstantin Khlebnikov wrote: > scripts/kconfig/menu.c: In function ‘get_symbol_str’: > scripts/kconfig/menu.c:590:18: warning: ‘jump’ may be used uninitialized in > this function [-Wmaybe-uninitialized] > jump->offset = strlen(r->s); >

Re: [PATCH v3 01/13] mm, THP: don't hold mmap_sem in khugepaged when allocating THP

2014-06-22 Thread Zhang Yanfei
Hello On 06/21/2014 01:45 AM, Kirill A. Shutemov wrote: > On Fri, Jun 20, 2014 at 05:49:31PM +0200, Vlastimil Babka wrote: >> When allocating huge page for collapsing, khugepaged currently holds mmap_sem >> for reading on the mm where collapsing occurs. Afterwards the read lock is >> dropped

[PATCH] x86, vsmp: Remove is_vsmp_box() from apic_is_clustered_box()

2014-06-22 Thread Oren Twaig
Remove invalid code which caused TSC to be declared as "unstable" on vSMP Foundation box even if it was stable and let the kernel decide for itself. When a vSMP Foundation box is detected, the function apic_cluster_num() counts the number of APIC clusters found. If more than one found, a multi

Re: [PATCH v2 0/8] Add Keystone PCIe controller driver

2014-06-22 Thread Pratyush Anand
On Sat, Jun 21, 2014 at 03:05:30AM +0800, Arnd Bergmann wrote: > On Friday 20 June 2014 13:11:37 Santosh Shilimkar wrote: > > > > > Arnd suggestion was to have the version 3.65 code in generic place since > > its IP specific and just in case some other vendor using the same version > > can

RE: [PATCH v2 2/8] PCI: designware: refactor host init code to re-use on v3.65 DW pci hw

2014-06-22 Thread Mohit KUMAR DCG
Hello Murali, > -Original Message- > From: Pratyush ANAND > Sent: Monday, June 23, 2014 10:36 AM > To: Murali Karicheri > Cc: linux-arm-ker...@lists.infradead.org; linux-kernel@vger.kernel.org; > linux-...@vger.kernel.org; devicet...@vger.kernel.org; linux- > d...@vger.kernel.org;

Re: [PATCH v2 0/8] Add Keystone PCIe controller driver

2014-06-22 Thread Pratyush Anand
On Sat, Jun 21, 2014 at 05:17:07AM +0800, Murali Karicheri wrote: > > Sorry, my previous response was in html and not sure it has made to the > list. I did > get an error as well. So resending my response. > > On 6/18/2014 6:14 AM, Mohit KUMAR DCG wrote: > > Hello Murali, > > > [...] > *pos

[PATCH] mm:kswapd: clean up the kswapd

2014-06-22 Thread Chen Yucong
According to the commit 215ddd66 (mm: vmscan: only read new_classzone_idx from pgdat when reclaiming successfully) and the commit d2ebd0f6b (kswapd: avoid unnecessary rebalance after an unsuccessful balancing), we can use a boolean variable for replace balanced_* variables, which makes the kswapd

Re: [PATCH v2 2/8] PCI: designware: refactor host init code to re-use on v3.65 DW pci hw

2014-06-22 Thread Pratyush Anand
On Sat, Jun 21, 2014 at 02:47:27AM +0800, Murali Karicheri wrote: > On 6/18/2014 3:05 AM, Pratyush Anand wrote: > > Hi Murali, > > > > On Wed, Jun 11, 2014 at 02:51:21AM +0800, Murali Karicheri wrote: [...] > Pratyush, > > Thanks for the comments. > > This is IP specific code and another

linux-next: Tree for Jun 23

2014-06-22 Thread Stephen Rothwell
Hi all, The powerpc allyesconfig is again broken more than usual. Changes since 20140620: The mvebu tree gained a conflict against Linus' tree. The crypto tree gained a build failure so I used the version from next-20140620. The staging tree still had its build failure for which I disabled a

[PATCH] arm64: make CONFIG_ZONE_DMA user settable

2014-06-22 Thread Mark Salter
Commit 19e7640d1f (arm64: Replace ZONE_DMA32 with ZONE_DMA) moves support for 32-bit DMA addressing into ZONE_DMA and renames CONFIG_ZONE_DMA32 to CONFIG_ZONE_DMA. Commit 2d5a5612bc (arm64: Limit the CMA buffer to 32-bit if ZONE_DMA) forces the CMA buffer to be 32-bit addressable if

[PATCH] arm64: fix CONFIG_ZONE_DMA on systems with no 32-bit addressable DRAM

2014-06-22 Thread Mark Salter
Commit 2d5a5612bc (arm64: Limit the CMA buffer to 32-bit if ZONE_DMA) forces the CMA buffer to be 32-bit addressable if CONFIG_ZONE_DMA is defined. This breaks CMA on platforms with no 32-bit addressable DRAM. This patch checks to make sure there is 32-bit addressable DRAM before setting the

Re: [PATCH 0/2] ARM: DRA7: hwmod: fixes for 3.16

2014-06-22 Thread Paul Walmsley
Hi Roger On Wed, 18 Jun 2014, Roger Quadros wrote: > These patches add the missing OCP2SCP3 module and fixup the SATA hwmod > for DRA7 SoC. Both patches are tested on 3.16-rc1. Could you please post a quick serial capture of a boot log for these patches, as Felipe has done for other patches?

Re: [PATCH] arch/score/include/uapi/asm/ptrace.h: Add prefix 'SCORE_' for related macros

2014-06-22 Thread Chen Gang
On 06/23/2014 11:10 AM, Lennox Wu wrote: > Yes, it's the reason we still thank Chen's checking. > Arbitrary configurations except the default configure are not > guaranteed to pass compiling. > To discover combinations which doesn't make sense might weast Chen's time. > It does not waste my time

Re: [PATCH 4/5] hrtimer: Kick lowres dynticks targets on timer enqueue

2014-06-22 Thread Viresh Kumar
On 22 June 2014 19:06, Thomas Gleixner wrote: > On Sun, 22 Jun 2014, Frederic Weisbecker wrote: >> + wake_up_nohz_cpu(base->cpu_base->cpu); > > The timer is queued on new_base not on base. Oops, thanks for spotting this bug. Will be fixed in next version. -- To unsubscribe from this

Re: [PATCH v2 09/20] clk: sunxi: Add sun6i MBUS clock support

2014-06-22 Thread Chen-Yu Tsai
On Wed, Jun 18, 2014 at 6:04 PM, Maxime Ripard wrote: > On Tue, Jun 17, 2014 at 10:52:46PM +0800, Chen-Yu Tsai wrote: >> Signed-off-by: Chen-Yu Tsai >> --- >> Documentation/devicetree/bindings/clock/sunxi.txt | 1 + >> drivers/clk/sunxi/clk-sunxi.c | 44 >>

linux-next: manual merge of the akpm tree with the char-misc tree

2014-06-22 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in drivers/w1/w1_int.c between commit fdc9167a7853 ("w1: use pr_* instead of printk") from the char-misc tree and commit "drivers/w1/w1_int.c: call put_device if device_register fails" from the akpm tree. I fixed it up (see

Re: [PATCH v2] sched: Fast idling of CPU when system is partially loaded

2014-06-22 Thread Jason Low
On Mon, 2014-06-16 at 12:48 -0700, Tim Chen wrote: > Thanks to the review from Jason and Peter. I've moved the check > of whether load balance is required into fair.c's idle_balance. > > When a system is lightly loaded (i.e. no more than 1 job per cpu), > attempt to pull job to a cpu before

[PATCH][v4] crypto: caam - Correct definition of registers in memory map

2014-06-22 Thread Ruchika Gupta
Some registers like SECVID, CHAVID, CHA Revision Number, CTPR were defined as 64 bit resgisters. The IP provides a DWT bit(Double word Transpose) to transpose the two words when a double word register is accessed. However setting this bit would also affect the operation of job descriptors as well

Re: [PATCH -mm] memcg: mem_cgroup_charge_statistics needs preempt_disable

2014-06-22 Thread Johannes Weiner
On Fri, Jun 20, 2014 at 06:36:11PM +0200, Michal Hocko wrote: > preempt_disable was previously disabled by lock_page_cgroup which has > been removed by "mm: memcontrol: rewrite uncharge API". > > This fixes the a flood of splats like this: > [3.149371] BUG: using __this_cpu_add() in

Re: [RFC] Per-user namespace process accounting

2014-06-22 Thread Serge E. Hallyn
Quoting Marian Marinov (m...@1h.com): > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 06/03/2014 08:54 PM, Eric W. Biederman wrote: > > Serge Hallyn writes: > > > >> Quoting Pavel Emelyanov (xe...@parallels.com): > >>> On 05/29/2014 07:32 PM, Serge Hallyn wrote: > Quoting Marian

Re: [PATCH v1 2/2] block: virtio-blk: support multi virt queues per virtio-blk device

2014-06-22 Thread Dave Chinner
On Sun, Jun 22, 2014 at 01:24:48PM +0300, Michael S. Tsirkin wrote: > On Fri, Jun 20, 2014 at 11:29:40PM +0800, Ming Lei wrote: > > @@ -24,8 +26,8 @@ static struct workqueue_struct *virtblk_wq; > > struct virtio_blk > > { > > struct virtio_device *vdev; > > - struct virtqueue *vq; > > -

Re: [PATCH 2/4] Documentation: devicetree: Fix s2mps11 example syntax

2014-06-22 Thread Sachin Kamat
On Mon, Jun 23, 2014 at 6:51 AM, Andreas Färber wrote: > It's <1>, not 1. > > Signed-off-by: Andreas Färber > --- > Documentation/devicetree/bindings/mfd/s2mps11.txt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/mfd/s2mps11.txt >

Re: [PATCH 1/4] Documentation: devicetree: Fix s2mps11 and s5m8767 typos

2014-06-22 Thread Sachin Kamat
On Mon, Jun 23, 2014 at 6:51 AM, Andreas Färber wrote: > It's LDO2, not LD02. > > Signed-off-by: Andreas Färber > --- > Documentation/devicetree/bindings/mfd/s2mps11.txt | 2 +- > Documentation/devicetree/bindings/regulator/s5m8767-regulator.txt | 2 +- > 2 files changed, 2

[PATCH -tip ] [BUGFIX]: Fix to add a missing pair of braces for error path.

2014-06-22 Thread Masami Hiramatsu
Fix to add a missing pair of braces for error path. Commit 36d789a4d75f (perf probe: Improve error message for unknown member of data structure) introduced this bug. Without this fix, defining an event with global variables is always failed, because it always returns -ENOENT if the argument is

RE: [PATCH 1/2] f2fs: introduce f2fs_do_tmpfile for code consistency

2014-06-22 Thread Chao Yu
Hi, > -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Monday, June 23, 2014 9:13 AM > To: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net > Cc: Jaegeuk Kim; Chao Yu > Subject: [PATCH 1/2] f2fs: introduce

Re: [PATCH] arch/score/include/uapi/asm/ptrace.h: Add prefix 'SCORE_' for related macros

2014-06-22 Thread Lennox Wu
Sorry for the typo . To discover combinations which doesn't make sense might waste Chen's time. 2014-06-23 11:07 GMT+08:00 Chen Gang : > On 06/23/2014 12:28 AM, Guenter Roeck wrote: >> On 06/22/2014 01:09 AM, Lennox Wu wrote: >>> Hi Chen, >>> Do you find other modules except device

[PATCH] samples/kprobes: Update jprobe_example.c for do_fork() change

2014-06-22 Thread Michael Ellerman
In commit e80d666 "flagday: kill pt_regs argument of do_fork()", the arguments to do_fork() changed. The example code in jprobe_example.c was not updated to match, so the arguments inside the jprobe handler do not match reality. Fix it by updating the arguments to match do_fork(). While we're at

Re: [PATCH] arch/score/include/uapi/asm/ptrace.h: Add prefix 'SCORE_' for related macros

2014-06-22 Thread Lennox Wu
Yes, it's the reason we still thank Chen's checking. Arbitrary configurations except the default configure are not guaranteed to pass compiling. To discover combinations which doesn't make sense might weast Chen's time. Best, Lennox 2014-06-23 0:28 GMT+08:00 Guenter Roeck : > On 06/22/2014 01:09

Re: [PATCH] arch/score/include/uapi/asm/ptrace.h: Add prefix 'SCORE_' for related macros

2014-06-22 Thread Chen Gang
On 06/23/2014 12:28 AM, Guenter Roeck wrote: > On 06/22/2014 01:09 AM, Lennox Wu wrote: >> Hi Chen, >> Do you find other modules except device modules cause issues of >> compiling? >> The applications of Score are limited. Acutally, some errors never occur >> in the limited applications, for

Re: [PATCH v3 11/13] mm, compaction: pass gfp mask to compact_control

2014-06-22 Thread Minchan Kim
On Fri, Jun 20, 2014 at 05:49:41PM +0200, Vlastimil Babka wrote: > From: David Rientjes > > struct compact_control currently converts the gfp mask to a migratetype, but > we > need the entire gfp mask in a follow-up patch. > > Pass the entire gfp mask as part of struct compact_control. > >

Re: [PATCH v3 09/13] mm, compaction: skip buddy pages by their order in the migrate scanner

2014-06-22 Thread Minchan Kim
On Fri, Jun 20, 2014 at 05:49:39PM +0200, Vlastimil Babka wrote: > The migration scanner skips PageBuddy pages, but does not consider their order > as checking page_order() is generally unsafe without holding the zone->lock, > and acquiring the lock just for the check wouldn't be a good tradeoff.

Re: [PATCH v3 08/13] mm, compaction: remember position within pageblock in free pages scanner

2014-06-22 Thread Minchan Kim
On Fri, Jun 20, 2014 at 05:49:38PM +0200, Vlastimil Babka wrote: > Unlike the migration scanner, the free scanner remembers the beginning of the > last scanned pageblock in cc->free_pfn. It might be therefore rescanning pages > uselessly when called several times during single compaction. This

Re: [PATCH] arch/score/include/uapi/asm/ptrace.h: Add prefix 'SCORE_' for related macros

2014-06-22 Thread Chen Gang
On 06/22/2014 11:02 PM, Guenter Roeck wrote: > On 06/22/2014 07:53 AM, Guenter Roeck wrote: >> I did that, and managed to build gcc. >> >> However, when trying to compile score defconfig, I get internal >> compiler errors in cc1 >> when compiling drivers/tty/tty_mutex.o and block/elevator.o. >> >>

Re: [PATCH] fs/ntfs: Use '%tx' instead of '%zx'

2014-06-22 Thread Chen Gang
On 06/23/2014 09:46 AM, Joe Perches wrote: > Please make sure to cc the specific maintainer > > $ ./scripts/get_maintainer.pl -f fs/ntfs/ > Anton Altaparmakov (supporter:NTFS FILESYSTEM) > linux-ntfs-...@lists.sourceforge.net (open list:NTFS FILESYSTEM) > linux-kernel@vger.kernel.org (open

Re: [PATCH v3 06/13] mm, compaction: periodically drop lock and restore IRQs in scanners

2014-06-22 Thread Minchan Kim
On Fri, Jun 20, 2014 at 05:49:36PM +0200, Vlastimil Babka wrote: > Compaction scanners regularly check for lock contention and need_resched() > through the compact_checklock_irqsave() function. However, if there is no > contention, the lock can be held and IRQ disabled for potentially long time. >

[Patch] x86: intel-mid: fix conflicts between 78a3bb9e408b and 9f354b0252b8

2014-06-22 Thread Jiang Liu
Commit 9f354b0252b8 "x86, irq: Clean up unused IOAPIC interface" kills interface io_apic_set_pci_routing(), so change arch/x86/platform/ intel-mid/device_libs/platform_wdt.c to use new interfaces. Due to hardware resource restriction, this patch only passes compilation without functional tests.

Re: [PATCH v3 02/13] mm, compaction: defer each zone individually instead of preferred zone

2014-06-22 Thread Minchan Kim
On Fri, Jun 20, 2014 at 05:49:32PM +0200, Vlastimil Babka wrote: > When direct sync compaction is often unsuccessful, it may become deferred for > some time to avoid further useless attempts, both sync and async. Successful > high-order allocations un-defer compaction, while further unsuccessful >

Re: [PATCH 1/1] net/netfilter/ipvs/ip_vs_sync.c: remove null test before kfree

2014-06-22 Thread Simon Horman
On Fri, Jun 20, 2014 at 10:35:42PM +0200, Fabian Frederick wrote: > Fix checkpatch warning: > WARNING: kfree(NULL) is safe this check is probably not required > > Cc: Wensong Zhang > Cc: Simon Horman > Cc: net...@vger.kernel.org > Signed-off-by: Fabian Frederick Thanks, applied. > --- >

Re: [PATCH -tip 1/4] perf/probe: Improve error message for unknown member of data structure

2014-06-22 Thread Masami Hiramatsu
(2014/06/22 3:18), Patrick Palka wrote: > On Fri, Jun 6, 2014 at 3:13 AM, Masami Hiramatsu > wrote: >> Improve the error message if we can not find given member in >> the given structure. Currently perf probe shows a wrong error >> message as below. >> >> - >> # perf probe

Re: unparseable, undocumented /sys/class/drm/.../pstate

2014-06-22 Thread Ilia Mirkin
On Sat, Jun 21, 2014 at 3:45 PM, Greg KH wrote: > On Sat, Jun 21, 2014 at 02:22:59PM -0400, Ilia Mirkin wrote: >> On Sat, Jun 21, 2014 at 2:02 PM, Pavel Machek wrote: >> > Hi! >> > >> > AFAICT, pstate file will contain something like >> > >> > 07: core 100 MHz memory 123 MHz * >> > 08: core

Re: [PATCH 0/8] mm: add page cache limit and reclaim feature

2014-06-22 Thread Xishi Qiu
On 2014/6/20 23:32, Michal Hocko wrote: > On Fri 20-06-14 15:56:56, Xishi Qiu wrote: >> On 2014/6/17 9:35, Xishi Qiu wrote: >> >>> On 2014/6/16 20:50, Rafael Aquini wrote: >>> On Mon, Jun 16, 2014 at 01:14:22PM +0200, Michal Hocko wrote: > On Mon 16-06-14 17:24:38, Xishi Qiu wrote:

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

2014-06-22 Thread Stephen Rothwell
Hi Herbert, After merging the crypto tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/crypto/qat/qat_dh895xcc/adf_dh895xcc_hw_data.c:47:31: fatal error: adf_accel_devices.h: No such file or directory #include ^

Re: [RFC PATCH 1/1] Move two pinned pages to non-movable node in kvm.

2014-06-22 Thread Tang Chen
Hi Marcelo, Gleb, Sorry for the delayed reply and thanks for the advices. On 06/21/2014 04:39 AM, Marcelo Tosatti wrote: On Fri, Jun 20, 2014 at 05:31:46PM -0300, Marcelo Tosatti wrote: IIRC your shadow page pinning patch series support flushing of ptes by mmu notifier by forcing MMU reload

Re: [PATCH] fs/ntfs: Use '%tx' instead of '%zx'

2014-06-22 Thread Joe Perches
Please make sure to cc the specific maintainer $ ./scripts/get_maintainer.pl -f fs/ntfs/ Anton Altaparmakov (supporter:NTFS FILESYSTEM) linux-ntfs-...@lists.sourceforge.net (open list:NTFS FILESYSTEM) linux-kernel@vger.kernel.org (open list) (cc'ing Anton) btw Anton, it seems ntfs_debug does

Re: [PATCH v2 0/8] Add Keystone PCIe controller driver

2014-06-22 Thread Jingoo Han
On Saturday, June 21, 2014 12:31 AM, Murali Karicheri wrote: > On 6/17/2014 8:08 PM, Bjorn Helgaas wrote: > > On Tue, Jun 10, 2014 at 02:51:19PM -0400, Murali Karicheri wrote: > >> This patch adds a PCIe controller driver for Keystone SoCs. This > >> is based on v1 of the series posted to the

Re: [PATCH v3 05/13] mm, compaction: report compaction as contended only due to lock contention

2014-06-22 Thread Minchan Kim
Hello Vlastimil, On Fri, Jun 20, 2014 at 05:49:35PM +0200, Vlastimil Babka wrote: > Async compaction aborts when it detects zone lock contention or need_resched() > is true. David Rientjes has reported that in practice, most direct async > compactions for THP allocation abort due to

[PATCH 05/18] staging/lustre/ptlrpc: fix NULL pointer dereference of {exp,imp}_obd

2014-06-22 Thread Oleg Drokin
From: Dmitry Eremin Pointer 'obd' checked for NULL at line 694 may be dereferenced at line 813. Pointer 'req->rq_export->exp_obd' checked for NULL at line 1155 may be dereferenced at line 1164. Also there is one similar error on line 1170. Signed-off-by: Dmitry Eremin Reviewed-on:

[PATCH 03/18] staging/lustre/llite: Only kill SGID/SUID bits

2014-06-22 Thread Oleg Drokin
From: Nathaniel Clark Check that attr mode is valid before using it when determining if to clear SGID and SUID bits in ll_setattr. Signed-off-by: Nathaniel Clark Reviewed-on: http://review.whamcloud.com/10153 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4924 Reviewed-by: Lai Siyao

[PATCH 08/18] staging/lustre/ptlrpc: race at req processing

2014-06-22 Thread Oleg Drokin
From: "Alexander.Boyko" Race between ptlrpc_resend_req() and ptlrpc_check_set(). 1 thread do ptlrpc_check_set()->after_reply() 2 thread do ptlrpc_resend_req() The result is request with rq_resend = 1 and MSG_REPLY flag. When this request will came to server it will cause client eviction. The

[PATCH 04/18] staging/lustre: fix frong ldlm flags type used

2014-06-22 Thread Oleg Drokin
From: Dmitry Eremin Fixed implicit conversion from 'unsigned long long' to 'int'. Signed-off-by: Dmitry Eremin Reviewed-on: http://review.whamcloud.com/7799 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4023 Reviewed-by: Andreas Dilger Signed-off-by: Oleg Drokin ---

[PATCH 02/18] staging/lustre/ptlrpc: Protect request buffer changing

2014-06-22 Thread Oleg Drokin
*_enlarge_reqbuf class of functions can change request body location for a request that's already in replay list, as such a parallel traverser of the list (after_reply -> ptlrpc_free_committed) might access freed and scrambled memory causing assertion. Since all such users only can get to this

[PATCH 09/18] staging/lustre/mgc: replace hard-coded MGC_ENQUEUE_LIMIT value

2014-06-22 Thread Oleg Drokin
From: Cheng Shao During client mount, the client will send an LDLM_ENQUEUE request to MGS with send delay set to MGC_ENQUEUE_LIMIT, which is hard coded to 50 seconds. On the other hand, the interval for pinger is deduced from obd_timeout. When obd_timeout is configured for a longer period of

[PATCH 06/18] staging/lustre/mgc: mgc import reconnect race

2014-06-22 Thread Oleg Drokin
From: Andriy Skulysh mgc import can be reconnected by pinger or ptlrpc_reconnect_import(). ptlrpc_invalidate_import() isn't protected against alteration of imp_invalid state. Import can be reconnected by pinger which makes imp_invalid equal to false. Thus LASSERT(imp->imp_invalid) fails in

[PATCH] fs/ntfs: Use '%tx' instead of '%zx'

2014-06-22 Thread Chen Gang
For subtraction between 2 pointers, the result's type is 'ptrdiff_t', so need use '%tx' instead of '%zx'. The related warning (allmodconfig under unicore32): CC [M] fs/ntfs/compress.o fs/ntfs/compress.c: In function 'ntfs_decompress': fs/ntfs/compress.c:207:2: warning: format '%zx'

[PATCH 07/18] staging/lustre/osc: get rid of old checksum initial value

2014-06-22 Thread Oleg Drokin
From: Bobi Jam Old code residue assumes initial checksum value as ~0, and relies on that to check whether OST server has calculated bulk data checksum. That is not the case anymore. Signed-off-by: Bobi Jam Reviewed-on: http://review.whamcloud.com/10354 Intel-bug-id:

[PATCH 11/18] staging/lustre/obdclass: Fix uninitialized variables

2014-06-22 Thread Oleg Drokin
From: Dmitry Eremin 'sd.page_link' is used uninitialized in this function. 'ss.page_link' is used uninitialized in this function. 'sl.page_link' is used uninitialized in this function. Signed-off-by: Dmitry Eremin Reviewed-on: http://review.whamcloud.com/10613 Intel-bug-id:

[PATCH 13/18] staging/lustre/llite: Fix uninitialized variable

2014-06-22 Thread Oleg Drokin
From: Dmitry Eremin 'f.f_flags' might be used uninitialized in this function. xattr.c:248: 'f.f_flags' is declared. xattr.c:244: lump!= ( (void* )0) is true xattr.c:254: 'f.f_flags' is used, but is uninitialized. Signed-off-by: Dmitry Eremin Reviewed-on: http://review.whamcloud.com/10663

[PATCH 14/18] staging/lustre/ptlrpc: unlink request buffer correctly

2014-06-22 Thread Oleg Drokin
From: Alexey Lyashkov outgoning buffer may be hold by lnet and don't unlinked fast, it's break unloading a lustre modules as request hold a reference to the export/obd Signed-off-by: Alexey Lyashkov Xyratex-bug-id: MRP-1848 Reviewed-on: http://review.whamcloud.com/10353 Intel-bug-id:

[PATCH 16/18] staging/lustre/vvp: release mmap_sem in error case

2014-06-22 Thread Oleg Drokin
From: Patrick Farrell The mmap_sem is downed in vvp_mmap_locks, but in case of error from cl_io_lock_alloc_add, it is not upped. Credit to Paul Casella at Cray for finding this. Signed-off-by: Patrick Farrell Reviewed-on: http://review.whamcloud.com/10741 Intel-bug-id:

[PATCH 18/18] staging/lustre/lnet: abort messages whose MD has been unlinked

2014-06-22 Thread Oleg Drokin
From: Isaac Huang If LNetMDUnlink has been called, all outgoing messages on that MD should be aborted before lnet_ni_send() is called. Signed-off-by: Isaac Huang Reviewed-on: http://review.whamcloud.com/8041 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4006 Reviewed-by: Liang Zhen

[PATCH 15/18] staging/lustre/obdclass: runtime load lustre client when needed

2014-06-22 Thread Oleg Drokin
From: Bob Glossman Manually force loading of lustre.ko during client mounts with request_module for cases where autoloading doesn't happen. Signed-off-by: Bob Glossman Reviewed-on: http://review.whamcloud.com/10587 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4800 Reviewed-by: John L.

[PATCH 12/18] staging/lustre/osc: osc_extent_truncate()) ASSERTION( !ext->oe_urgent ) failed

2014-06-22 Thread Oleg Drokin
From: Andriy Skulysh The bug was caused by race between truncate & fsync. osc_extent_wait() doesn't takes into account oe_trunc_pending during setting oe_urgent. The race arises after osc_object_unlock(). osc_extent_wait() should ignore extents with oe_trunc_pending while waiting for OES_INV.

[PATCH 10/18] staging/lustre/ptlrpc: Add schedule point to ptlrpc_check_set()

2014-06-22 Thread Oleg Drokin
From: "Christopher J. Morrone" Most ptlrpc sets are believed to be small and bounded in length. However at the very least the ptlrpcd reuses the ptlrpc sets at its primary work queue. This work queue can easily have work added faster than the ptlrpcd thread can process the work. The unbounded

[PATCH 01/18] staging/lustre/libcfs: revert changes to libcfs_sock_ioctl

2014-06-22 Thread Oleg Drokin
Changes introduced by 80db2734acbc78db12798cfb611d6acc7fe389e6 unfortunately totally break lustre, we use this function to access not only socket proto obs, but also device ioctl like SIOCGIFCONF that now fail. Reverting part of the previous patch to regain the needed functionality.

[PATCH 17/18] staging/lustre/llite: fix a flag bug of vvp_io_kernel_fault()

2014-06-22 Thread Oleg Drokin
From: Li Xi After vvp_io_kernel_fault() locked the page, it should set VM_FAULT_LOCKED. Signed-off-by: Li Xi Reviewed-on: http://review.whamcloud.com/10740 Reviewed-by: Jinshan Xiong Reviewed-by: Emoly Liu Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/llite/vvp_io.c | 2 +-

[PATCH 00/18] Lustre fixes

2014-06-22 Thread Oleg Drokin
These patches here represent most of recent fixes we added recently in our tree. The first patch also unbreaks lustre from total breakage that was introduced by commit 80db2734acbc78db12798cfb611d6acc7fe389e6 The changes seem to pass my testing. checkpatch output is clean except for the last

Re: [RFC PATCH 0/3] Mark literal strings in __init / __exit code

2014-06-22 Thread Joe Perches
On Mon, 2014-06-23 at 00:46 +0200, Mathias Krause wrote: > This RFC series tries to address the problem of dangling strings of > __init functions after initialization, as well as __exit strings for > code not even included in the final kernel image. The code might get > freed, but the format

Re: [PATCH] fs/ntfs: Use '%lx' instead of '%zx'

2014-06-22 Thread Chen Gang
On 06/22/2014 02:06 PM, Joe Perches wrote: > On Sun, 2014-06-22 at 11:14 +0800, Chen Gang wrote: >> For subtraction between 2 pointers, the result's type is 'long', so >> need use '%lx' instead of '%zx'. > > result should be a ptrdiff_t so please use %tx > OK, thanks, I shall send patch v2 for

[RFC 4/4] ARM: dts: exynos5250: Add Spring device tree

2014-06-22 Thread Andreas Färber
Adds initial support for the HP Chromebook 11. Cc: Vincent Palatin Cc: Doug Anderson Cc: Stephan van Schaik Signed-off-by: Andreas Färber --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/exynos5250-spring.dts | 556 2 files changed, 557

[PATCH 3/4] Documentation: devicetree: Fix tps65090 typos

2014-06-22 Thread Andreas Färber
It's vsys-l{1,2}-supply, not vsys_l{1,2}-supply. Signed-off-by: Andreas Färber --- Documentation/devicetree/bindings/regulator/tps65090.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/regulator/tps65090.txt

[PATCH 2/4] Documentation: devicetree: Fix s2mps11 example syntax

2014-06-22 Thread Andreas Färber
It's <1>, not 1. Signed-off-by: Andreas Färber --- Documentation/devicetree/bindings/mfd/s2mps11.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mfd/s2mps11.txt b/Documentation/devicetree/bindings/mfd/s2mps11.txt index 55ab4f4..99a0c52

[PATCH 1/4] Documentation: devicetree: Fix s2mps11 and s5m8767 typos

2014-06-22 Thread Andreas Färber
It's LDO2, not LD02. Signed-off-by: Andreas Färber --- Documentation/devicetree/bindings/mfd/s2mps11.txt | 2 +- Documentation/devicetree/bindings/regulator/s5m8767-regulator.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 2/2] f2fs: clean up an unused parameter and assignment

2014-06-22 Thread Jaegeuk Kim
This patch cleans up simple unnecessary codes. Signed-off-by: Jaegeuk Kim --- fs/f2fs/dir.c | 2 +- fs/f2fs/f2fs.h | 2 +- fs/f2fs/namei.c | 26 +- fs/f2fs/node.c | 2 +- 4 files changed, 12 insertions(+), 20 deletions(-) diff --git a/fs/f2fs/dir.c

[PATCH] Input: evdev - Fix incorrect kfree of err_free_client after vzalloc

2014-06-22 Thread Yongtaek Lee
This bug was introduced by commit 92eb77d ("Input: evdev - fall back to vmalloc for client event buffer"). vzalloc is used to alloc memory as fallback in case of failure of kzalloc. But err_free_client was not considered on below case. 1. kzalloc fail 2. vzalloc success 3. evdev_open_device fail

[PATCH 1/2] f2fs: introduce f2fs_do_tmpfile for code consistency

2014-06-22 Thread Jaegeuk Kim
This patch adds f2fs_do_tmpfile to eliminate the redundant init_inode_metadata flow. Throught this, we can provide the consistent lock usage, e.g., fi->i_sem, and this will enable better debugging stuffs. Cc: Chao Yu Signed-off-by: Jaegeuk Kim --- fs/f2fs/dir.c | 27

RE: [BUG] rc1 and rc2: Laptop unusable: on boot,screen black instead of native resolution

2014-06-22 Thread Zhang, Rui
> -Original Message- > From: Martin Kepplinger [mailto:mart...@posteo.de] > Sent: Sunday, June 22, 2014 10:25 PM > To: Zhang, Rui > Cc: r...@rjwysocki.net; l...@kernel.org; linux-a...@vger.kernel.org; > linux-kernel@vger.kernel.org > Subject: [BUG] rc1 and rc2: Laptop unusable: on

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

2014-06-22 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the mvebu tree got a conflict in arch/arm/mach-mvebu/Kconfig between commit 21278aeafbfa ("ARM: use menuconfig for sub-arch menus") from Linus' tree and commit 55fc83023212 ("ARM: Kirkwood: Add setup file for netxbig LEDs") from the mvebu tree. I fixed it up

[PATCH 1/2] SCHED: remove proliferation of wait_on_bit action functions.

2014-06-22 Thread NeilBrown
The current "wait_on_bit" interface requires an 'action' function to be provided which does the actual waiting. There are over 20 such functions, many of them identical. Most cases can be satisfied by one of just two functions, one which uses io_schedule() and one which just uses schedule(). So:

[PATCH 2/2] SCHED: allow wait_on_bit_action functions to support a timeout.

2014-06-22 Thread NeilBrown
It is currently not possible for various wait_on_bit functions to implement a timeout. While the "action" function that is called to do the waiting could certainly use schedule_timeout(), there is no way to carry forward the remaining timeout after a false wake-up. As false-wakeups a clearly

[PATCH 0/2] Update wait_on_bit functions

2014-06-22 Thread NeilBrown
These patches were in 'tip' for a while, but caused conflicts with other changes - both NFS and CIFS added new uses of wait_on_bit functions. So here they are again against 3.16-rc2. Hopefully no new users will be added before -rc3 or -rc4... (I hoped to submit this in the rc1 -> rc2 window,

Re: [PATCH] stagging: android: logger: code cleanup

2014-06-22 Thread Greg KH
On Sun, Jun 22, 2014 at 02:51:08PM -0400, Jerry Stralko wrote: > Add the unlikey macro to the return value of nonseekable_open, > since it always returns successfully. That shouldn't be needed, gcc and the processor knows this already. Don't use unusual unless you can measure it. > Fixed up some

[PATCH 2/4] staging: rtl8712: remove inline _RND128() and use round_up()

2014-06-22 Thread James A Shackleford
Signed-off-by: James A Shackleford --- drivers/staging/rtl8712/osdep_service.h |5 - drivers/staging/rtl8712/rtl8712_recv.c |2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/staging/rtl8712/osdep_service.h b/drivers/staging/rtl8712/osdep_service.h index

[PATCH 3/4] staging: rtl8712: remove unused inline _RND256()

2014-06-22 Thread James A Shackleford
Signed-off-by: James A Shackleford --- drivers/staging/rtl8712/osdep_service.h |5 - 1 file changed, 5 deletions(-) diff --git a/drivers/staging/rtl8712/osdep_service.h b/drivers/staging/rtl8712/osdep_service.h index 37ec56b..9316eab 100644 --- a/drivers/staging/rtl8712/osdep_service.h

[PATCH 1/4] staging: rtl8712: remove inline _RND8() and use round_up()

2014-06-22 Thread James A Shackleford
Signed-off-by: James A Shackleford --- drivers/staging/rtl8712/osdep_service.h |5 - drivers/staging/rtl8712/rtl8712_cmd.c |2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/staging/rtl8712/osdep_service.h b/drivers/staging/rtl8712/osdep_service.h index

[PATCH 4/4] staging: rtl8712: remove unused inline _RND512()

2014-06-22 Thread James A Shackleford
Signed-off-by: James A Shackleford --- drivers/staging/rtl8712/osdep_service.h |5 - 1 file changed, 5 deletions(-) diff --git a/drivers/staging/rtl8712/osdep_service.h b/drivers/staging/rtl8712/osdep_service.h index 9316eab..425f0f1 100644 --- a/drivers/staging/rtl8712/osdep_service.h

Humanitarian Work

2014-06-22 Thread Georgina Hope Rinehart
Greetings in the Name of Our Lord, I have a charity proposal for you, reply back for more information. Thanks and God bless. Gina Rinehart -- 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

Re: [PATCH] cxgb4: use dev_port to identify ports

2014-06-22 Thread David Miller
From: Thadeu Lima de Souza Cascardo Date: Sat, 21 Jun 2014 09:48:08 -0300 > Commit 3f85944fe207d0225ef21a2c0951d4946fc9a95d ("net: Add sysfs file > for port number") introduce dev_port to network devices. cxgb4 adapters > have multiple ports on the same PCI function, and used dev_id to >

Re: [PATCH linux-next] ARM: shmobile: rcar-gen2: update call to dma_contiguous_reserve_area

2014-06-22 Thread Simon Horman
On Thu, Jun 19, 2014 at 11:31:10AM +0200, Vincent Stehlé wrote: > Commit 5ea3b1b2f8ad 'cma: add placement specifier for "cma=" kernel parameter' > adds a new 'fixed' parameter to dma_contiguous_reserve_area(). Update > rcar_gen2_reserve() accordingly. > > This fixes the following compilation

Re: [PATCH v2] xilinx: Fix compiler warning

2014-06-22 Thread David Miller
From: Manuel Schölling Date: Sun, 22 Jun 2014 13:24:54 +0200 > The time comparsion functions require arguments of type unsigned long > instead of (signed) long. > > Signed-off-by: Manuel Schölling Applied to net-next, thanks. -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH] tulip: Poll link status more frequently for Comet chips

2014-06-22 Thread David Miller
From: Ondrej Zary Date: Sun, 22 Jun 2014 12:01:12 +0200 > It now takes up to 60 seconds to detect cable (un)plug on ADMtek Comet chips. > That's too slow and might cause people to think that it doesn't work at all. > > Poll link status every 2 seconds instead of 60 for ADMtek Comet chips. >

Re: [tip:perf/core] powerpc, perf: Use common PMU interrupt disabled code

2014-06-22 Thread Michael Ellerman
On Thu, 2014-06-19 at 14:40 -0400, Vince Weaver wrote: > Brown-paper bag time, the patch didn't compile due to missing parenthesis. > I really need to get a new powerpc machine to test on, haven't had one > since both my g3 and g4 laptops died.

Re: [PATCH] init: Introduce 'noinitramfs' kernel parameter

2014-06-22 Thread Henrique de Moraes Holschuh
On Sun, 22 Jun 2014, Ezequiel Garcia wrote: > On 22 Jun 11:53 AM, Henrique de Moraes Holschuh wrote: > > On Sun, 22 Jun 2014, Ezequiel Garcia wrote: > > > This commit adds a new kernel parameter to provide such option, following > > > the > > > naming of the current 'initrd' which serves a

Humanitarian Work

2014-06-22 Thread Georgina Hope Rinehart
Greetings in the Name of Our Lord, I have a charity proposal for you, reply back for more information. Thanks and God bless. Gina Rinehart -- 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

[PATCH] fs/9p/: don't treat error as status value in file locking

2014-06-22 Thread Sasha Levin
When trying to lock a file we didn't properly handle the case where a failure in p9_client_lock_dotl() occurs and treated the status value as valid instead of discarding it due to the error. This would usually trigger a BUG() since the status value would just be stack garbage. Signed-off-by:

Re: [RFC PATCH 0/3] Mark literal strings in __init / __exit code

2014-06-22 Thread Joe Perches
On Mon, 2014-06-23 at 00:46 +0200, Mathias Krause wrote: > This RFC series tries to address the problem of dangling strings of > __init functions after initialization, as well as __exit strings for > code not even included in the final kernel image. The code might get > freed, but the format

[RFC PATCH 3/3] x86, acpi: Mark __init strings as such

2014-06-22 Thread Mathias Krause
Make use of the pi_() helpers to mark the strings printed during initialization for automatic release. Do so for the strings used in command line parsing as well, by using the __init_str() macro. Also convert the remaining printk() calls to their pr_ / pi_ counterparts. This moves ~1.7 kB from

[RFC PATCH 0/3] Mark literal strings in __init / __exit code

2014-06-22 Thread Mathias Krause
This RFC series tries to address the problem of dangling strings of __init functions after initialization, as well as __exit strings for code not even included in the final kernel image. The code might get freed, but the format strings are not. One solution to the problem might be to declare

[RFC PATCH 1/3] init.h: Add __init_str / __exit_str macros

2014-06-22 Thread Mathias Krause
Add macros to be able to mark string literals used in __init / __exit functions. Signed-off-by: Mathias Krause --- include/linux/init.h | 18 ++ 1 file changed, 18 insertions(+) diff --git a/include/linux/init.h b/include/linux/init.h index 2df8e8dd10..0a425b296e 100644 ---

[RFC PATCH 2/3] printk: Provide pi_ / pe_ macros for __init / __exit code

2014-06-22 Thread Mathias Krause
The memory used for functions marked with __init will be released after initialization, albeit static data referenced by such code will not, if not explicitly marked this way, too. This is especially true for format strings used in messages printed by such code. Those are not marked and therefore

[PATCH v3] initramfs: Support initrd that is bigger than 2GiB

2014-06-22 Thread Yinghai Lu
When initrd (compressed or not) is used, kernel report data corrupted with /dev/ram0. The root cause: During initramfs checking, if it is initrd, it will be transferred to /initrd.image with sys_write. sys_write only support 2G-4K write, so if the initrd ram is more than that, /initrd.image will

  1   2   3   4   5   >