[PATCH 00/11] Convert the posix_clock_operations and k_clock structure to ready for 2038

2015-04-19 Thread Baolin Wang
This patch series changes the 32-bit time type (timespec/itimerspec) to the 64-bit one (timespec64/itimerspec64), since 32-bit time types will break in the year 2038. This patch series introduces new methods with timespec64/itimerspec64 type, and removes the old ones with timespec/itimerspec

[PATCH RESEND v5 2/5] powerpc/8xx: Handle CR out of exception PROLOG/EPILOG

2015-04-19 Thread Christophe Leroy
In order to be able to reduce scope during which CR is saved, we take CR saving/restoring out of exception PROLOG and EPILOG Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/head_8xx.S | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git

[PATCH RESEND v5 4/5] powerpc/8xx: Use SPRG2 instead of DAR for saving r3

2015-04-19 Thread Christophe Leroy
We now have SPRG2 available as in it not used anymore for saving CR, so we don't need to crash DAR anymore for saving r3 for CPU6 ERRATA handling. Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/head_8xx.S | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git

Re: [PATCH 00/11] powerpc8xx: Further optimisation of TLB handling

2015-04-19 Thread leroy christophe
Le 20/04/2015 07:26, Christophe Leroy a écrit : This patchset provides a further optimisation of TLB handling in the 8xx. Main changes are based on: - Using processor handling of PGD/PTE Validity bits instead of testing ourselves the entries validity - Aligning PGD address to allow direct bit

[PATCH RESEND v5 0/5] powerpc8xx: Further optimisation of TLB handling

2015-04-19 Thread Christophe Leroy
This patchset provides a further optimisation of TLB handling in the 8xx. Changes are: - Not saving registers like CR when not needed - Adding support to any TASK_SIZE Only the last patch of the set is changed compared to v4 Resending with proper From: this time. Christophe Leroy (5):

[PATCH RESEND v5 3/5] powerpc/8xx: dont save CR in SCRATCH registers

2015-04-19 Thread Christophe Leroy
CR only needs to be preserved when checking if we are handling a kernel address. So we can preserve CR in a register: - In ITLBMiss, check is done only when CONFIG_MODULES is defined. Otherwise we don't need to do anything at all with CR. - We use r10, then we reload SRR0/MD_EPN into r10 when CR

[PATCH RESEND v5 5/5] powerpc/8xx: Add support for TASK_SIZE greater than 0x80000000

2015-04-19 Thread Christophe Leroy
By default, TASK_SIZE is set to 0x8000 for PPC_8xx, which is most likely sufficient for most cases. However, kernel configuration allows to set TASK_SIZE to another value, so the 8xx shall handle it. This patch also takes into account the case of PAGE_OFFSET lower than 0x8000, allthought

[PATCH RESEND v5 1/5] powerpc/8xx: macro for handling CPU15 errata

2015-04-19 Thread Christophe Leroy
Having a macro will help keep clear code. Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/head_8xx.S | 18 -- 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/arch/powerpc/kernel/head_8xx.S b/arch/powerpc/kernel/head_8xx.S index 9b53fe1..1279018 100644 ---

[PATCH] input: cyapa: fix update suspend scanrate set to max 1000 issue

2015-04-19 Thread Dudley Du
Fix update suspend scareate always set to max 1000 issue, the root cause is the missed using max_t as min_t. TEST=test on Chromebook. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/input/mouse/cyapa.c

linux-next: Tree for Apr 20

2015-04-19 Thread Stephen Rothwell
Hi all, Please do not add any v4.2 material to your linux-next included trees until after v4.1-rc1 is released. Changes since 20150415: Dropped tree: akpm-current (too many conflicts) The s390 tree gained a conflict against Linus' tree. The xfs tree gaind a conflict against Linus' tree and a

Re: [PATCH 1/2] drm: rockchip: Don't pass DRM fake offset to dma-api

2015-04-19 Thread Mark yao
On 2015年04月20日 13:34, Mark yao wrote: On 2015年04月19日 00:55, Heiko Stübner wrote: Am Donnerstag, 16. April 2015, 16:41:51 schrieb Ørjan Eide: Set vm_pgoff to 0 after using it to look up the GEM node, before passing it on rockchip_gem_mmap_buf() where the offset must be from the start of the

Re: qemu:arm test failure due to commit 8053871d0f7f (smp: Fix smp_call_function_single_async() locking)

2015-04-19 Thread Ingo Molnar
* Linus Torvalds wrote: > On Sun, Apr 19, 2015 at 11:01 AM, Ingo Molnar wrote: > > > > That's all fine and good, but why is an IPI sent to a non-existent > > CPU? It's not like we don't know which CPU is up and down. > > I agree that the qemu-arm behavior smells like a bug, plain and >

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

2015-04-19 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm-current tree got many conflicts in many files (presumably because most of this has been merged upstream). I just dropped the akpm-current tree for today. -- Cheers, Stephen Rothwells...@canb.auug.org.au pgpCZ8MshhXE_.pgp

Re: [PATCH 1/2] drm: rockchip: Don't pass DRM fake offset to dma-api

2015-04-19 Thread Mark yao
On 2015年04月19日 00:55, Heiko Stübner wrote: Am Donnerstag, 16. April 2015, 16:41:51 schrieb Ørjan Eide: Set vm_pgoff to 0 after using it to look up the GEM node, before passing it on rockchip_gem_mmap_buf() where the offset must be from the start of the buffer. Passing in the fake offset

[PATCH 00/11] powerpc8xx: Further optimisation of TLB handling

2015-04-19 Thread Christophe Leroy
This patchset provides a further optimisation of TLB handling in the 8xx. Main changes are based on: - Using processor handling of PGD/PTE Validity bits instead of testing ourselves the entries validity - Aligning PGD address to allow direct bit manipulation - Not saving registers like CR when not

[PATCH 02/11] powerpc/8xx: remove tests on PGDIR entry validity

2015-04-19 Thread Christophe Leroy
Kernel MMU handling code handles validity of entries via _PMD_PRESENT which corresponds to V bit in MD_TWC and MI_TWC. When the V bit is not set, MPC8xx triggers TLBError exception. So we don't have to check that and branch ourself to TLBError. We can set TLB entries with non present entries,

[PATCH 01/11] powerpc/8xx: remove remaining unnecessary code in FixupDAR

2015-04-19 Thread Christophe Leroy
Since commit 33fb845a6f01 ("powerpc/8xx: Don't use MD_TWC for walk"), MD_EPN and MD_TWC are not writen anymore in FixupDAR so saving r3 has become useless. Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/head_8xx.S | 6 -- 1 file changed, 6 deletions(-) diff --git

[PATCH 06/11] powerpc/8xx: Remove duplicated code in set_context()

2015-04-19 Thread Christophe Leroy
Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/head_8xx.S | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/arch/powerpc/kernel/head_8xx.S b/arch/powerpc/kernel/head_8xx.S index aa45225..b227902e 100644 --- a/arch/powerpc/kernel/head_8xx.S +++

[PATCH 05/11] powerpc/8xx: Optimise access to swapper_pg_dir

2015-04-19 Thread Christophe Leroy
All accessed to PGD entries are done via 0(r11). By using lower part of swapper_pg_dir as load index to r11, we can remove the ori instruction. Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/head_8xx.S | 22 ++ 1 file changed, 10 insertions(+), 12 deletions(-)

[PATCH 0/3] Allow fscache to work on BTRFS

2015-04-19 Thread NeilBrown
The following three patches allow fs to "cachefiles" in a BTRFS filesystem. The first is a minor cleanup to cachefiles. The second is the main change - it teaches cachefile to use lseek(SEEK_DATA) to find allocated blocks in a file, rather than bmap. The third patch simply enables this for btrfs.

[PATCH 1/3] cachefiles: perform test on s_blocksize when opening cache file.

2015-04-19 Thread NeilBrown
cachefiles requires that s_blocksize in the cache is not greater than PAGE_SIZE, and performs the check every time a block is accessed. Move the test to the place where the file is "opened", where other file-validity tests are performed. Signed-off-by: NeilBrown --- fs/cachefiles/namei.c |

[PATCH 3/3] btrfs: set FS_SUPPORTS_SEEK_HOLE flag.

2015-04-19 Thread NeilBrown
This allows fscache to cachefiles in a btrfs filesystem. Signed-off-by: NeilBrown --- fs/btrfs/super.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c index 05fef198ff94..d3c5d2b40f8e 100644 --- a/fs/btrfs/super.c +++

[PATCH 2/3] fscache/cachefiles: optionally use SEEK_DATA instead of ->bmap.

2015-04-19 Thread NeilBrown
cachefiles currently uses 'bmap' to determine if a given block in a file has been cached, or not. Not all filesystems support bmap, particularly BTRFS. SEEK_DATA can be used to determine if a block in a file has been allocated, but not all filesystems support this reliably. On filesystems without

[PATCH 10/11] powerpc/8xx: Use SPRG2 instead of DAR for saving r3

2015-04-19 Thread Christophe Leroy
We now have SPRG2 available as in it not used anymore for saving CR, so we don't need to crash DAR anymore for saving r3 for CPU6 ERRATA handling. Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/head_8xx.S | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git

[PATCHv2] drm: fb_helper: prefer to use mode, which is not DRM_MODE_TYPE_USERDEF

2015-04-19 Thread Radek Dostal
commit eaf99c749d43 ("drm: Perform cmdline mode parsing during connector initialisation") breaks HDMI output on BeagleBone Black with LG TV (model 19LS4R-ZA) when "video=HDMI-A-1:1280x720@60" is specified on the command line. The reason is newly added mode '"1280x720" 60 74440 1280 1336 1472 1664

[PATCH 11/11] powerpc/8xx: Add support for TASK_SIZE greater than 0x80000000

2015-04-19 Thread Christophe Leroy
By default, TASK_SIZE is set to 0x8000 for PPC_8xx, which is most likely sufficient for most cases. However, kernel configuration allows to set TASK_SIZE to another value, so the 8xx shall handle it. Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/head_8xx.S | 29

[GIT PULL] SCSI fixes for the 4.0+ merge window

2015-04-19 Thread James Bottomley
I'd like to say these were a set of regressions for the recent merge window code. Unfortunately, they all predate the merge window code (stable cc'd). There's two fixes for data integrity (mostly only showing up on module removal), an mvsas crash with expander attached SATA devices which goes

[PATCH 08/11] powerpc/8xx: Handle CR out of exception PROLOG/EPILOG

2015-04-19 Thread Christophe Leroy
In order to be able to reduce scope during which CR is saved, we take CR saving/restoring out of exception PROLOG and EPILOG Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/head_8xx.S | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git

[PATCH 09/11] powerpc/8xx: dont save CR in SCRATCH registers

2015-04-19 Thread Christophe Leroy
CR only needs to be preserved when checking if we are handling a kernel address. So we can preserve CR in a register: - In ITLBMiss, check is done only when CONFIG_MODULES is defined. Otherwise we don't need to do anything at all with CR. - If CONFIG_8xx_CPU6 is defined, we have r3 available for

[PATCH 03/11] powerpc32: Use kmem_cache memory for PGDIR

2015-04-19 Thread Christophe Leroy
When pages are not 4K, PGDIR table is allocated with kmalloc(). In order to optimise TLB handlers, aligned memory is needed. kmalloc() doesn't provide aligned memory blocks, so lets use a kmem_cache pool instead. Signed-off-by: Christophe Leroy --- arch/powerpc/include/asm/pgtable-ppc32.h | 4

[PATCH 04/11] powerpc/8xx: Take benefit of aligned PGDIR

2015-04-19 Thread Christophe Leroy
L1 base address is now aligned so we can insert L1 index into r11 directly and then preserve r10 Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/head_8xx.S | 34 +++--- 1 file changed, 15 insertions(+), 19 deletions(-) diff --git

[PATCH 07/11] powerpc/8xx: macro for handling CPU15 errata

2015-04-19 Thread Christophe Leroy
Having a macro will help keep clear code. Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/head_8xx.S | 18 -- 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/arch/powerpc/kernel/head_8xx.S b/arch/powerpc/kernel/head_8xx.S index b227902e..b3f3cb5 100644

Re: Fwd: Re: sparc64: Build failure due to commit f1600e549b94 (sparc: Make sparc64 use scalable lib/iommu-common.c functions)

2015-04-19 Thread Guenter Roeck
Hi Michael, On 04/19/2015 08:01 PM, Michael Ellerman wrote: On Sun, 2015-04-19 at 14:36 -0400, Sowmini Varadhan wrote: On (04/19/15 14:09), David Miller wrote: On (04/18/15 21:23), Guenter Roeck wrote: lib/built-in.o:(.discard+0x1): multiple definition of `__pcpu_unique_iommu_pool_hash'

man-pages-3.83 is released

2015-04-19 Thread Michael Kerrisk (man-pages)
Gidday, The Linux man-pages maintainer proudly announces: man-pages-3.83 - man pages for Linux Tarball download: http://www.kernel.org/doc/man-pages/download.html Git repository: https://git.kernel.org/cgit/docs/man-pages/man-pages.git/ Online changelog:

Re: [tpmdd-devel] [RFC PATCH 1/2] tee: generic TEE subsystem

2015-04-19 Thread Jason Gunthorpe
On Sat, Apr 18, 2015 at 10:57:55PM +0100, Russell King - ARM Linux wrote: > > But then we trundle down to: > > > > + ctx->teedev->desc->ops->get_version(ctx, _version, > > + vers.uuid); > > > > If we kref teedev so it is valid then calling a driver call back after > > (or during) it's remove

[PATCH v6 2/3] powerpc/powernv: Move cpuidle related code from setup.c to new file

2015-04-19 Thread Shreyas B. Prabhu
This is a cleanup patch; doesn't change any functionality. Moves all cpuidle related code from setup.c to a new file. Signed-off-by: Shreyas B. Prabhu Reviewed-by: Preeti U Murthy --- arch/powerpc/platforms/powernv/Makefile | 2 +- arch/powerpc/platforms/powernv/idle.c | 191

[PATCH v6 3/3] powerpc/powernv: Introduce sysfs control for fastsleep workaround behavior

2015-04-19 Thread Shreyas B. Prabhu
Fastsleep is one of the idle state which cpuidle subsystem currently uses on power8 machines. In this state L2 cache is brought down to a threshold voltage. Therefore when the core is in fastsleep, the communication between L2 and L3 needs to be fenced. But there is a bug in the current power8

[PATCH v6 1/3] powerpc: Fix cpu_online_cores_map to return only online threads mask

2015-04-19 Thread Shreyas B. Prabhu
Currently, cpu_online_cores_map returns a mask, which for every core with at least one online thread, has the bit for thread 0 of the core set to 1, and the bits for all other threads of the core set to 0. But thread 0 of the core itself may not be online always. In such cases, if the returned

[PATCH v6 0/3] powerpc: powernv: Fastsleep workaround behavior

2015-04-19 Thread Shreyas B. Prabhu
Fastsleep is one of the idle state which cpuidle subsystem currently uses on power8 machines. In this state L2 cache is brought down to a threshold voltage. Therefore when the core is in fastsleep, the communication between L2 and L3 needs to be fenced. But there is a bug in the current power8

Re: [PATCH] [RESEND][TRIVIAL] treewide: fix occurrences of "the the "

2015-04-19 Thread Michael Opdenacker
Hi Jiri, On 03/27/2015 10:34 AM, Jiri Kosina wrote: > On Thu, 26 Mar 2015, Michael Opdenacker wrote: > >>> 222 files changed, 493 insertions(+), 258 deletions(-) >> Is this patch getting too big (and getting bigger and bigger) to be ever >> merged? >> >> Unless you tell me otherwise, I'm

linux-next: manual merge of the vhost tree with the virtio tree

2015-04-19 Thread Stephen Rothwell
Hi Michael, Today's linux-next merge of the vhost tree got a conflict in drivers/virtio/virtio_balloon.c between commit df81b29c7b81 ("virtio_balloon: transitional interface") from the virtio tree and commit 263f23c089f2 ("virtio_balloon: transitional interface") from the vhost tree. I fixed it

Re: [RESEND RFC PATCH 2/3] ASoC: mediatek: Add AFE connection control

2015-04-19 Thread Sascha Hauer
On Sat, Apr 18, 2015 at 06:37:40PM +0100, Mark Brown wrote: > On Fri, Apr 10, 2015 at 04:14:08PM +0800, Koro Chen wrote: > > > +/* > > + * The MTK AFE unit has a audio interconnect with > > MTK_AFE_INTERCONN_NUM_INPUT > > + * inputs and MTK_AFE_INTERCONN_NUM_OUTPUT outputs. Below table holds the

Re: [RESEND RFC PATCH 1/3] ASoC: mediatek: Add binding support for AFE driver

2015-04-19 Thread Sascha Hauer
On Sat, Apr 18, 2015 at 06:34:07PM +0100, Mark Brown wrote: > On Fri, Apr 10, 2015 at 04:14:07PM +0800, Koro Chen wrote: > > > +Each external interface (called "IO" in this driver) is presented as a > > +DAI to ASoC. An IO must be connected via the interconnect to a memif. > > +The connection

Re: [LKP] [ocfs2] e2ac55b6a8e: ocfs2_init:1612 ERROR: Unable to create ocfs2 debugfs root

2015-04-19 Thread Huang Ying
On Sun, 2015-04-19 at 23:45 -0400, Chengyu Song wrote: > Hi Ying, > > As suggested in the patch, -19 (-ENODEV) happens when debugfs is not > configured (see include/linux/debugfs.h). So if debugfs is necessary for the > functionality, in Kconfig, we should either declare it as a dependency, or

linux-next: manual merge of the target-updates tree with the infiniband tree

2015-04-19 Thread Stephen Rothwell
Hi Nicholas, Today's linux-next merge of the target-updates tree got a conflict in drivers/infiniband/ulp/srpt/ib_srpt.c between commit 9f5d32af09b9 ("ib_srpt: convert printk's to pr_* functions") from the infiniband tree and commit 9ac8928e6a3e ("target: simplify the target template registration

Re: [PATCH 1/2] drm: rockchip: Don't pass DRM fake offset to dma-api

2015-04-19 Thread Daniel Kurtz
Hi Ørjan, On Thu, Apr 16, 2015 at 10:41 PM, Ørjan Eide wrote: > > Set vm_pgoff to 0 after using it to look up the GEM node, before passing > it on rockchip_gem_mmap_buf() where the offset must be from the start of > the buffer. > > Passing in the fake offset currently works because the >

Re: [PATCH 2/2] ARM: DMA: Use vm_pgoff for IOMMU mmap

2015-04-19 Thread Daniel Kurtz
Hi Ørjan, On Thu, Apr 16, 2015 at 10:41 PM, Ørjan Eide wrote: > arm_iommu_mmap_attrs() ignores the page offset in vma->vm_pgoff that was > specified in the mmap call. Any user of dma_mmap_* will get an > unexpected result when the device uses the IOMMU DMA ops. > > Some DRM driver that use

Re: [PATCH 1/2 V2] memory-hotplug: fix BUG_ON in move_freepages()

2015-04-19 Thread Xishi Qiu
On 2015/4/20 11:29, Yasuaki Ishimatsu wrote: > > On Mon, 20 Apr 2015 10:45:45 +0800 > Xishi Qiu wrote: > >> On 2015/4/20 9:42, Gu Zheng wrote: >> >>> Hi Xishi, >>> On 04/18/2015 04:05 AM, Yasuaki Ishimatsu wrote: >>> Your patches will fix your issue. But, if BIOS reports memory

Linux 3.4.107

2015-04-19 Thread Zefan Li
I'm announcing the release of the 3.4.107 kernel. All users of the 3.4 kernel series must upgrade. The updated 3.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.4.y and can be browsed at the normal kernel.org git web browser:

Re: [LKP] [ocfs2] e2ac55b6a8e: ocfs2_init:1612 ERROR: Unable to create ocfs2 debugfs root

2015-04-19 Thread Chengyu Song
Hi Ying, As suggested in the patch, -19 (-ENODEV) happens when debugfs is not configured (see include/linux/debugfs.h). So if debugfs is necessary for the functionality, in Kconfig, we should either declare it as a dependency, or auto select it. Chengyu > On Apr 19, 2015, at 11:25 PM, Huang

Help-desk Service Center requires your immediate re-activation of your Email account

2015-04-19 Thread Kalosi, S.
Help-desk Service Center requires your immediate re-activation of your Email account. This is to upgrade email account to the new anti spam virus detector sever 2014. Inability to complete this procedure will render your account inactivate. Activate by completing the survey procedure. CLICK LINK:

Re: [PATCH 1/2 V2] memory-hotplug: fix BUG_ON in move_freepages()

2015-04-19 Thread Xishi Qiu
On 2015/4/20 11:15, Yasuaki Ishimatsu wrote: > > On Mon, 20 Apr 2015 10:59:37 +0800 > Xishi Qiu wrote: > >> On 2015/4/20 10:09, Gu Zheng wrote: >> >>> Hi Ishimatsu, Xishi, >>> >>> On 04/20/2015 10:11 AM, Yasuaki Ishimatsu wrote: >>> > When hot adding memory and creating new node, the

git pull] drm for v4.1-rc1

2015-04-19 Thread Dave Airlie
Hi Linus, First up, this tree contains a backmerge of your tree, as it merges cleanly but then fails to build on ARM due to an API change, I've included the fixed up patch in the merge commit. The unmerged, unfixed tree is in my drm-next branch if you want to confirm things. The fixup is 3

Re: [PATCH V2] cpuset: Add knob to make allowed masks hotplug invariant on legacy hierarchy

2015-04-19 Thread Zefan Li
On 2015/4/16 19:57, Preeti U Murthy wrote: > On 04/15/2015 10:06 PM, Serge E. Hallyn wrote: >> On Wed, Apr 15, 2015 at 12:18:11PM -0400, Tejun Heo wrote: >>> On Wed, Apr 15, 2015 at 11:15:35AM -0500, Serge E. Hallyn wrote: The reason would be because it breaks "legacy" software. So that

Re: [PATCH 1/2 V2] memory-hotplug: fix BUG_ON in move_freepages()

2015-04-19 Thread Yasuaki Ishimatsu
On Mon, 20 Apr 2015 10:45:45 +0800 Xishi Qiu wrote: > On 2015/4/20 9:42, Gu Zheng wrote: > > > Hi Xishi, > > On 04/18/2015 04:05 AM, Yasuaki Ishimatsu wrote: > > > >> > >> Your patches will fix your issue. > >> But, if BIOS reports memory first at node hot add, pgdat can > >> not be

RE: [PATCH v4 2/2] efi: an sysfs interface for user to update efi firmware

2015-04-19 Thread Kweh, Hock Leong
> -Original Message- > From: Matt Fleming [mailto:m...@codeblueprint.co.uk] > Sent: Friday, April 17, 2015 10:37 PM > > On Fri, 17 Apr, at 03:49:24PM, Greg KH wrote: > > > > Not really, the kernel namespace is what matters at that point in time. > > > > And maybe it does matter, I haven't

[LKP] [ocfs2] e2ac55b6a8e: ocfs2_init:1612 ERROR: Unable to create ocfs2 debugfs root

2015-04-19 Thread Huang Ying
FYI, we noticed the below changes on git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master commit e2ac55b6a8e337fac7cc59c6f452caac92ab5ee6 ("ocfs2: incorrect check for debugfs returns") We found something as below in dmesg. [1.225136] VFS: Disk quotas dquot_6.5.2 [

Re: [PATCH 1/3 V7] workqueue: split apply_workqueue_attrs() into 3 stages

2015-04-19 Thread Lai Jiangshan
On 04/17/2015 10:57 PM, Tejun Heo wrote: > On Tue, Apr 07, 2015 at 07:26:35PM +0800, Lai Jiangshan wrote: >> Current apply_workqueue_attrs() includes pwqs-allocation and >> pwqs-installation, >> so when we batch multiple apply_workqueue_attrs()s as a transaction, we can't >> ensure the

Re: [PATCH 1/2 V2] memory-hotplug: fix BUG_ON in move_freepages()

2015-04-19 Thread Yasuaki Ishimatsu
On Mon, 20 Apr 2015 10:59:37 +0800 Xishi Qiu wrote: > On 2015/4/20 10:09, Gu Zheng wrote: > > > Hi Ishimatsu, Xishi, > > > > On 04/20/2015 10:11 AM, Yasuaki Ishimatsu wrote: > > > >> > >>> When hot adding memory and creating new node, the node is offline. > >>> And after calling

[PATCH v2] Input: Fix multitouch support for Type Cover 3

2015-04-19 Thread Felipe Otamendi
Make the Type Cover 3 use the hid multitouch driver, which is better suited for the touchpad. Also, since it has multiple reports under the same interface, allow the generic hid driver to handle non-multitouch inputs such as the keyboard's. Signed-off-by: Felipe Otamendi ---

Re: [PATCH 1/2 V2] memory-hotplug: fix BUG_ON in move_freepages()

2015-04-19 Thread Xishi Qiu
On 2015/4/20 9:42, Gu Zheng wrote: > Hi Xishi, > On 04/18/2015 04:05 AM, Yasuaki Ishimatsu wrote: > >> >> Your patches will fix your issue. >> But, if BIOS reports memory first at node hot add, pgdat can >> not be initialized. >> >> Memory hot add flows are as follows: >> >> add_memory >> ...

Re: [PATCH v3] dmaengine: xgene-dma: Fix sparse wannings and coccinelle warnings

2015-04-19 Thread Rameshwar Sahu
Hi Vinod, On Fri, Apr 17, 2015 at 11:59 PM, Vinod Koul wrote: > >> /* Get DMA error interrupt */ >> @@ -2076,7 +2035,6 @@ static struct platform_driver xgene_dma_driver = { >> .remove = xgene_dma_remove, >> .driver = { >> .name = "X-Gene-DMA", >> -

Re: [RFC][PATCH v2 00/13] USB: OTG/DRD Core functionality

2015-04-19 Thread Peter Chen
On Tue, Apr 14, 2015 at 01:41:47PM +0300, Roger Quadros wrote: > This is an attempt to centralize OTG/Dual-role functionality in the kernel. > As of now I've got Dual-role functionality working pretty reliably on > dra7-evm. xhci side of things for OTG/DRD use are fixed in >

[Bugfix v5] x86/PCI/ACPI: Fix regression caused by commit 63f1789ec716

2015-04-19 Thread Jiang Liu
An IO port or MMIO resource assigned to a PCI host bridge may be consumed by the host bridge itself or available to its child bus/devices. On x86 and IA64 platforms, all IO port and MMIO resources are assumed to be available to child bus/devices except one special case: IO port [0xCF8-0xCFF]

Re: Fwd: Re: sparc64: Build failure due to commit f1600e549b94 (sparc: Make sparc64 use scalable lib/iommu-common.c functions)

2015-04-19 Thread Michael Ellerman
On Sun, 2015-04-19 at 14:36 -0400, Sowmini Varadhan wrote: > > On (04/19/15 14:09), David Miller wrote: > > > > > On (04/18/15 21:23), Guenter Roeck wrote: > > >> lib/built-in.o:(.discard+0x1): multiple definition of > > >> `__pcpu_unique_iommu_pool_hash' > > >>

Re: [PATCH 1/2 V2] memory-hotplug: fix BUG_ON in move_freepages()

2015-04-19 Thread Xishi Qiu
On 2015/4/20 10:09, Gu Zheng wrote: > Hi Ishimatsu, Xishi, > > On 04/20/2015 10:11 AM, Yasuaki Ishimatsu wrote: > >> >>> When hot adding memory and creating new node, the node is offline. >>> And after calling node_set_online(), the node becomes online. >>> >>> Oh, sorry. I misread your

[PATCH] Staging: comedi: fix coding style errors in daqboard2000.c

2015-04-19 Thread Gbenga Adalumo
Fix coding style errors found by checkpatch.pl tool Signed-off-by: Gbenga Adalumo --- drivers/staging/comedi/drivers/daqboard2000.c | 58 +-- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/drivers/staging/comedi/drivers/daqboard2000.c

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

2015-04-19 Thread Stephen Rothwell
Hi all, After merging the xfs tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: fs/xfs/xfs_file.c: In function 'xfs_file_dio_aio_write': fs/xfs/xfs_file.c:744:8: warning: passing argument 1 of 'mapping->a_ops->direct_IO' makes pointer from integer without a cast ret =

[git pull] IOMMU Updates for Linux v4.1

2015-04-19 Thread Joerg Roedel
Hi Linus, The following changes since commit e42391cd048809d903291d07f86ed3934ce138e9: Linux 4.0-rc6 (2015-03-29 15:26:31 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git tags/iommu-updates-v4.1 for you to fetch changes up to

Re: [PATCH 02/20] STAGING/lustre: limit follow_link recursion using stack space.

2015-04-19 Thread Al Viro
On Sun, Apr 19, 2015 at 10:33:48PM +0100, Al Viro wrote: > On Sun, Apr 19, 2015 at 02:57:07PM -0600, Andreas Dilger wrote: > > > I'd be happy if symlink recursion was removed completely, but so far the > > added symlink recursion limit hasn't been a problem for Lustre users. > > Well, it's gone

Re: [PATCH 1/2 V2] memory-hotplug: fix BUG_ON in move_freepages()

2015-04-19 Thread Gu Zheng
Hi Ishimatsu, Xishi, On 04/20/2015 10:11 AM, Yasuaki Ishimatsu wrote: > >> When hot adding memory and creating new node, the node is offline. >> And after calling node_set_online(), the node becomes online. >> >> Oh, sorry. I misread your ptaches. >> > > Please ignore it... Seems also a

Re: [PATCH 1/2 V2] memory-hotplug: fix BUG_ON in move_freepages()

2015-04-19 Thread Gu Zheng
Hi Ishimatsu, Xishi, On 04/20/2015 10:11 AM, Yasuaki Ishimatsu wrote: > >> When hot adding memory and creating new node, the node is offline. >> And after calling node_set_online(), the node becomes online. >> >> Oh, sorry. I misread your ptaches. >> > > Please ignore it... Seems also a

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

2015-04-19 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the xfs tree got a conflict in fs/xfs/xfs_file.c between commits 99733fa372ea ("xfs_file_aio_write_checks: switch to iocb/iov_iter") and 3309dd04cbcd ("switch generic_write_checks() to iocb and iter") from Linus' tree and commits b9d59846f737 ("xfs: DIO write

Re: [PATCH 1/2 V2] memory-hotplug: fix BUG_ON in move_freepages()

2015-04-19 Thread Yasuaki Ishimatsu
On Mon, 20 Apr 2015 09:33:10 +0800 Xishi Qiu wrote: > On 2015/4/18 4:05, Yasuaki Ishimatsu wrote: > > > > > Your patches will fix your issue. > > But, if BIOS reports memory first at node hot add, pgdat can > > not be initialized. > > > > Memory hot add flows are as follows: > > > >

Re: [PATCH 2/2] modpost: don't emit section mismatch warnings for compiler optimizations

2015-04-19 Thread Rusty Russell
Paul Gortmaker writes: > Currently an allyesconfig build [gcc-4.9.1] can generate the following: > >WARNING: vmlinux.o(.text.unlikely+0x3864): Section mismatch in >reference from the function cpumask_empty.constprop.3() to the >variable .init.data:nmi_ipi_mask > > which comes from the

Re: [PATCH 1/2 V2] memory-hotplug: fix BUG_ON in move_freepages()

2015-04-19 Thread Yasuaki Ishimatsu
> When hot adding memory and creating new node, the node is offline. > And after calling node_set_online(), the node becomes online. > > Oh, sorry. I misread your ptaches. > Please ignore it... Thanks, Yasuaki Ishimatsu On Yasuaki Ishimatsu wrote: > > When hot adding memory and creating

[no subject]

2015-04-19 Thread Helen Wu
Good day , Stock mould metal or leather blank keyring available with any of your own logo engraved . welcome to inquiry at any time. thanks . Thanks Joan sales department Sonier Pins Co.,Ltd.

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

2015-04-19 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the s390 tree got a conflict in arch/s390/pci/pci_debug.c between commit c2f0b61d8969 ("s390: remove use of seq_printf return value") from Linus' tree and commit 80ed156a3d12 ("s390/pci: add locking for fmb access") from the s390 tree. I fixed it up (see

Re: [PATCH 1/2 V2] memory-hotplug: fix BUG_ON in move_freepages()

2015-04-19 Thread Gu Zheng
Hi Xishi, On 04/18/2015 04:05 AM, Yasuaki Ishimatsu wrote: > > Your patches will fix your issue. > But, if BIOS reports memory first at node hot add, pgdat can > not be initialized. > > Memory hot add flows are as follows: > > add_memory > ... > -> hotadd_new_pgdat() > ... > ->

Re: [PATCH 1/2 V2] memory-hotplug: fix BUG_ON in move_freepages()

2015-04-19 Thread Xishi Qiu
On 2015/4/18 4:05, Yasuaki Ishimatsu wrote: > > Your patches will fix your issue. > But, if BIOS reports memory first at node hot add, pgdat can > not be initialized. > > Memory hot add flows are as follows: > > add_memory > ... > -> hotadd_new_pgdat() > ... > -> node_set_online(nid) >

Re: [PATCH 1/2 V2] memory-hotplug: fix BUG_ON in move_freepages()

2015-04-19 Thread Yasuaki Ishimatsu
When hot adding memory and creating new node, the node is offline. And after calling node_set_online(), the node becomes online. Oh, sorry. I misread your ptaches. Thanks, Yasuaki Ishimatsu On Mon, 20 Apr 2015 09:33:10 +0800 Xishi Qiu wrote: > On 2015/4/18 4:05, Yasuaki Ishimatsu wrote: > >

[git pull] m68knommu arch fixes for 4.1

2015-04-19 Thread Greg Ungerer
Hi Linus, Can you please pull the m68knommu git tree, for-next branch. Nothing big, spelling fixes and fix/cleanup for ColdFire eth device setup. Regards Greg The following changes since commit e42391cd048809d903291d07f86ed3934ce138e9: Linux 4.0-rc6 (2015-03-29 15:26:31 -0700) are

[PATCH]: MIPS: IP32: Fix two build errors in reset code introduced in DS1685 platform hook patch

2015-04-19 Thread Joshua Kinard
From: Joshua Kinard Fix two build errors that somehow got into upstream. Signed-off-by: Joshua Kinard Fixes: 15beb694c661: "mips: ip32: add platform data hooks to use DS1685 driver" --- arch/mips/sgi-ip32/ip32-platform.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [alsa-devel] [PATCH 1/2] extcon: arizona: Add support for select accessory detect mode when headphone detection"

2015-04-19 Thread Inha Song
Hi, Thanks for your comments, On Fri, 17 Apr 2015 10:00:47 +0100 Charles Keepax wrote: > On Fri, Apr 17, 2015 at 05:32:58PM +0900, Inha Song wrote: > > This patch add support for select accessory detect mode to HPDETL or HPDETR. > > Arizona provides a headphone detection circuit on the HPDETL

Re: [PATCH v5 2/2] perf: report/annotate: fix segfault problem.

2015-04-19 Thread Wang Nan
Ping again? On 2015/4/15 9:27, Wang Nan wrote: > Ping? > > On 2015/4/10 11:53, Wang Nan wrote: >> perf report and perf annotate are easy to trigger segfault if trace data >> contain kernel module information like this: >> >> # perf report -D -i ./perf.data >> ... >> 0 0 0x188 [0x50]:

Re: [PATCH v2 2/2] checkpatch: suggest using eth_zero_addr() and eth_broadcast_addr()

2015-04-19 Thread Joe Perches
On Mon, 2015-04-20 at 00:16 +0200, Mateusz Kulikowski wrote: > Suggest using eth_zero_addr() or eth_broadcast_addr() instead of memset(). Hi again Mateusz > diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl [] > @@ -5042,6 +5042,22 @@ sub process { >"Prefer

Re: [PATCH] Staging: dgnc: Using temporary value for repeated dereferences.

2015-04-19 Thread Joe Perches
On Sun, 2015-04-19 at 23:58 +0200, Yorick Rommers wrote: > Hello Joe, > > Thank you once again for the feedback. > I've changed my patch accordingly, see below. > > -- > > A patch for a line being too long (>80) in dgnc_mgmt.c, > fixed by making a temporary

Re: [PATCH 2/2] iommu-common: rename iommu_pool_hash to iommu_hash_common

2015-04-19 Thread Guenter Roeck
On 04/19/2015 10:13 AM, Sowmini Varadhan wrote: When CONFIG_DEBUG_FORCE_WEAK_PER_CPU is set, the DEFINE_PER_CPU_SECTION macro will define an extern __pcpu_unique_##name variable that could conflict with the same definition in powerpc at this time. Avoid that conflict by renaming iommu_pool_hash

Re: [PATCH 1/2] iommu-common: fix x86_64 compiler warnings

2015-04-19 Thread Guenter Roeck
On 04/19/2015 10:13 AM, Sowmini Varadhan wrote: Declare iommu_large_alloc as static. Remove extern definition for iommu_tbl_pool_init(). Signed-off-by: Sowmini Varadhan Tested-by: Guenter Roeck Reviewed-by: Guenter Roeck -- To unsubscribe from this list: send the line "unsubscribe

[LKP] [f2fs] 465a05fecc2: +147.3% fsmark.files_per_sec

2015-04-19 Thread Huang Ying
FYI, we noticed the below changes on git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master commit 465a05fecc2c7921d50f33cd10621abc049cbabf ("f2fs: enable inline data by default") testbox/testcase/testparams:

[PATCH v2 0/2] checkpatch: new ethernet address manipulation checks

2015-04-19 Thread Mateusz Kulikowski
Changes in v2 (applied review comments): - Fixed indentation in both patches - Detect memset(foo, 0x00, ETH_ALEN) - Detect memset(foo, 255, ETH_ALEN) - Rephrased 2/2 commit message Patch Notes from v1: Add 3 new warnings to checkpatch: 1) PREFER_ETHER_ADDR_EQUAL Replace memcmp(foo, bar,

[PATCH v2 2/2] checkpatch: suggest using eth_zero_addr() and eth_broadcast_addr()

2015-04-19 Thread Mateusz Kulikowski
Suggest using eth_zero_addr() or eth_broadcast_addr() instead of memset(). Signed-off-by: Mateusz Kulikowski --- scripts/checkpatch.pl | 16 1 file changed, 16 insertions(+) diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index b9ea436..aee6d43 100755 ---

[PATCH v2 1/2] checkpatch: suggest using ether_addr_equal*()

2015-04-19 Thread Mateusz Kulikowski
Check if memcmp() is used to compare ethernet addresses and suggest using ether_addr_equal() or ether_addr_equal_unaligned() Signed-off-by: Mateusz Kulikowski --- scripts/checkpatch.pl | 7 +++ 1 file changed, 7 insertions(+) diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index

Re: [PATCH 2/2] checkpatch: suggest using eth_zero_addr() and eth_broadcast_addr()

2015-04-19 Thread Mateusz Kulikowski
Hi Joe, On 19.04.2015 22:20, Joe Perches wrote: (...) >> +# check for memset(foo, 0xFF, ETH_ALEN) that could be eth_broadcast_addr >> +if ($^V && $^V ge 5.10.0 && >> +$line =~ >> /^\+(?:.*?)\bmemset\s*\(\s*$FuncArg\s*,\s*$FuncArg\s*\,\s*ETH_ALEN\s*\)/s) { > >

[PATCH] Staging: dgnc: Using temporary value for repeated dereferences.

2015-04-19 Thread Yorick Rommers
Hello Joe, Thank you once again for the feedback. I've changed my patch accordingly, see below. -- A patch for a line being too long (>80) in dgnc_mgmt.c, fixed by making a temporary value for dgnc_Board[brd], replacing all instanced of dgnc_Board[brd] with

[PATCH] etherdevice: Add ether_addr_copy_unaligned

2015-04-19 Thread Mateusz Kulikowski
Some drivers require copying unaligned ethernet addresses. Using memcpy() causes checkpatch warnings and may cause regressions (someone will "fix" alignment of packed structure) Signed-off-by: Mateusz Kulikowski --- include/linux/etherdevice.h | 16 1 file changed, 16

Re: [PATCH 02/20] STAGING/lustre: limit follow_link recursion using stack space.

2015-04-19 Thread Al Viro
On Sun, Apr 19, 2015 at 02:57:07PM -0600, Andreas Dilger wrote: > I'd be happy if symlink recursion was removed completely, but so far the > added symlink recursion limit hasn't been a problem for Lustre users. Well, it's gone in my tree; I've just pushed the current queue to

[PATCH] drm: fb_helper: prefer to use mode, which is not DRM_MODE_TYPE_USERDEF

2015-04-19 Thread Radek Dostal
commit eaf99c749d43 ("drm: Perform cmdline mode parsing during connector initialisation") breaks HDMI output on BeagleBone Black with LG TV (model 19LS4R-ZA) when "video=HDMI-A-1:1280x720@60" is specified on the command line. The reason is newly added mode '"1280x720" 60 74440 1280 1336 1472 1664

Re: [PATCH 02/20] STAGING/lustre: limit follow_link recursion using stack space.

2015-04-19 Thread Andreas Dilger
On Apr 17, 2015, at 9:01 PM, Al Viro wrote: > > On Mon, Mar 23, 2015 at 01:37:38PM +1100, NeilBrown wrote: >> lustre's ->follow_link() uses a lot of stack space and so >> need to limit symlink recursion based on stack size. >> >> It currently tests current->link_count, but that will soon >>

[PATCH] staging: rtl8192u: ieee80211: Silence sparse warning

2015-04-19 Thread Gaston Gonzalez
Silence the following sparse warning: drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c:184:16: warning: cast to restricted __le16 Signed-off-by: Gaston Gonzalez --- .../rtl8192u/ieee80211/ieee80211_crypt_tkip.c | 22 +++--- 1 file changed, 11 insertions(+), 11

  1   2   3   4   5   >