RE: [PATCH v3 4/8] pciehp: Don't disable the link permanently, during removal

2013-12-17 Thread Rajat Jain
> -Original Message- > From: Guenter Roeck [mailto:groe...@gmail.com] On Behalf Of Guenter > Roeck > Sent: Tuesday, December 17, 2013 7:40 PM > To: Rajat Jain > Cc: Bjorn Helgaas; Rajat Jain; Kenji Kaneshige; Alex Williamson; Yijing > Wang; linux-...@vger.kernel.org;

Re: 3.12: kernel panic when resuming from suspend to RAM (x86_64)

2013-12-17 Thread micky
Hi: It seems that the card-reader was removed during suspend or resume, is that right? or did you removed by hand? I want to know with Thomas' patch, after resume, is the card-reader and card-reader driver still exist? if not exist, I also want to know which function called first,

Re: [PATCH v0 00/71] perf: Add support for Intel Processor Trace

2013-12-17 Thread Namhyung Kim
Hi Andi, On Mon, 16 Dec 2013 07:45:27 -0800, Andi Kleen wrote: >> My hope has always been that we can make a userspace function graph tracer >> out of its dumps. And I think we can, I'm pretty sure that would be a useful >> tool. > > I wrote one, based on the __fentry__, like the kernel: >

Re: question about cpu_active_mask

2013-12-17 Thread Mike Galbraith
On Tue, 2013-12-17 at 16:01 -0500, Mark Hounschell wrote: > I hope it is OK to ask a newbie question here. I'm trying to better > understand the boot process. I can't seem to find where in the kernel > sources the cpu_active_mask (defined in include/linux/cpumask.h) gets > populated. I can see

Re: [PATCH] scsi: int overflow in st_ioctl()

2013-12-17 Thread Yu Chen
Because the local variable of st_int_ioctl function, such as long ltmp be assigned by arg. I think we should limit the parameter arg of st_int_ioctl function to the range of 24-bit signed integer. Yong Jianxu, please update your patch. 2013/12/18 "Kai Mäkisara (Kolumbus)" : > On 17.12.2013, at

linux-next: manual merge of the block tree with the f2fs tree

2013-12-17 Thread Stephen Rothwell
Hi Jens, Today's linux-next merge of the block tree got a conflict in fs/f2fs/data.c between commits from the f2fs tree and commits 2c30c71bd653 ("block: Convert various code to bio_for_each_segment()") and 4f024f3797c4 ("block: Abstract out bvec iterator") from the block tree. I fixed it up (I

Re: [PATCH V4 09/10] power8, perf: Change BHRB branch filter configuration

2013-12-17 Thread Anshuman Khandual
On 12/18/2013 05:38 AM, Michael Ellerman wrote: > On Fri, 2013-12-13 at 13:50 +0530, Anshuman Khandual wrote: >> On 12/09/2013 11:51 AM, Michael Ellerman wrote: >>> >>> As I said in my comments on version 3 which you ignored: >>> >>> I think it would be clearer if we actually checked for the

[ANNOUNCE] 3.4.74-rt92

2013-12-17 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 3.4.74-rt92 stable release. This release is just an update to the new stable 3.4.74 version and no RT specific changes have been made. You can get this release via the git tree at:

[ANNOUNCE] 3.8.13.14-rt27

2013-12-17 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 3.8.13.14-rt27 stable release. This release is just an update to the new stable 3.8.13.14 version and no RT specific changes have been made. You can get this release via the git tree at:

[ANNOUNCE] 3.10.24-rt22

2013-12-17 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 3.10.24-rt22 stable release. This release is just an update to the new stable 3.10.24 version and no RT specific changes have been made. You can get this release via the git tree at:

Re: [v3][PATCH 8/8] book3e/kexec/kdump: recover "r4 = 0" to create the initial TLB

2013-12-17 Thread Scott Wood
On Tue, 2013-07-09 at 16:03 +0800, Tiejun Chen wrote: > In commit 96f013f, "powerpc/kexec: Add kexec "hold" support for Book3e > processors", requires that GPR4 survive the "hold" process, for IBM Blue > Gene/Q with with some very strange firmware. But for FSL Book3E, r4 = 1 > to indicate that the

Re: [v3][PATCH 7/8] book3e/kexec/kdump: redefine VIRT_PHYS_OFFSET

2013-12-17 Thread Scott Wood
On Tue, 2013-07-09 at 16:03 +0800, Tiejun Chen wrote: > Book3e is always aligned 1GB to create TLB so we should > use (KERNELBASE - MEMORY_START) as VIRT_PHYS_OFFSET to > get __pa/__va properly while boot kdump. What if MEMORY_START - PHYSICAL_START >= 1 GiB? What about the comment that says we

[PATCH v2] Input: add i2c/smbus driver for elan touchpad

2013-12-17 Thread Duson Lin
This driver adds support for elan i2c/smbus touchpad found on some laptops PC Signed-off-by: Duson Lin --- drivers/input/mouse/Kconfig| 10 + drivers/input/mouse/Makefile |1 + drivers/input/mouse/elan_i2c.c | 890 3 files changed, 901

Re: [v3][PATCH 6/8] book3e/kexec/kdump: implement ppc64 kexec specfic

2013-12-17 Thread Scott Wood
On Tue, 2013-07-09 at 16:03 +0800, Tiejun Chen wrote: > ppc64 kexec mechanism has a different implementation with ppc32. > > Signed-off-by: Tiejun Chen Could you describe the relevant differences? -Scott -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body

Re: [v3][PATCH 5/8] book3e/kexec/kdump: introduce a kexec kernel flag

2013-12-17 Thread Scott Wood
On Tue, 2013-07-09 at 16:03 +0800, Tiejun Chen wrote: > We need to introduce a flag to indicate we're already running > a kexec kernel then we can go proper path. For example, We > shouldn't access spin_table from the bootloader to up any secondary > cpu for kexec kernel, and kexec kernel already

Re: [PATCH v3 4/8] pciehp: Don't disable the link permanently, during removal

2013-12-17 Thread Guenter Roeck
On Wed, Dec 18, 2013 at 03:20:58AM +, Rajat Jain wrote: > > > > -Original Message- > > From: Bjorn Helgaas [mailto:bhelg...@google.com] > > > > [+cc ying...@kernel.org (seems to be Yinghai's preferred email] > > > > On Tue, Dec 17, 2013 at 12:06:05PM -0800, Rajat Jain wrote: > > >

Re: [v3][PATCH 4/8] book3e/kexec/kdump: create a 1:1 TLB mapping

2013-12-17 Thread Scott Wood
On Tue, 2013-07-09 at 16:03 +0800, Tiejun Chen wrote: > book3e have no real MMU mode so we have to create a 1:1 TLB > mapping to make sure we can access the real physical address. > And correct something to support this pseudo real mode on book3e. > > Signed-off-by: Tiejun Chen Why do we need

RE: [PATCH 3/3 v2] ARM: dts: sama5d3xcm: add the regulator device node

2013-12-17 Thread Yang, Wenyou
Hi Mark, > -Original Message- > From: Mark Brown [mailto:broo...@kernel.org] > Sent: Tuesday, December 17, 2013 8:38 PM > To: Yang, Wenyou > Cc: lgirdw...@gmail.com; linux-kernel@vger.kernel.org; > grant.lik...@linaro.org; rob.herr...@calxeda.com; linux- > d...@vger.kernel.org;

RE: [PATCH 1/3 v2] regulator: act8865: add PMIC act8865 driver

2013-12-17 Thread Yang, Wenyou
Hi Mark, Thank you very much. > -Original Message- > From: Mark Brown [mailto:broo...@kernel.org] > Sent: Tuesday, December 17, 2013 9:07 PM > To: Yang, Wenyou > Cc: lgirdw...@gmail.com; linux-kernel@vger.kernel.org; > grant.lik...@linaro.org; rob.herr...@calxeda.com; linux- >

Re: [v3][PATCH 3/8] book3e/kexec/kdump: enable kexec for kernel

2013-12-17 Thread Scott Wood
On Tue, 2013-07-09 at 16:03 +0800, Tiejun Chen wrote: > We need to active KEXEC for book3e and bypass or convert non-book3e stuff > in kexec coverage. > > Signed-off-by: Tiejun Chen > --- > arch/powerpc/Kconfig |2 +- > arch/powerpc/kernel/machine_kexec_64.c | 148 >

Re: [PATCH] mm/mlock: fix BUG_ON unlocked page for nolinear VMAs

2013-12-17 Thread Sasha Levin
On 12/17/2013 10:23 PM, Wanpeng Li wrote: - mlock_vma_page(page); /* no-op if already mlocked */ - if (page == check_page) + if (page != check_page && trylock_page(page)) { + mlock_vma_page(page);

Re: [v3][PATCH 2/8] powerpc/book3e: support CONFIG_RELOCATABLE

2013-12-17 Thread Scott Wood
On Tue, 2013-07-09 at 16:03 +0800, Tiejun Chen wrote: > book3e is different with book3s since 3s includes the exception > vectors code in head_64.S as it relies on absolute addressing > which is only possible within this compilation unit. So we have > to get that label address with got. > > And

RE: [PATCH 2/3 v2] regulator: act8865: add device tree binding doc

2013-12-17 Thread Yang, Wenyou
Hi Mark, > -Original Message- > From: Mark Brown [mailto:broo...@kernel.org] > Sent: Tuesday, December 17, 2013 8:48 PM > To: Yang, Wenyou > Cc: lgirdw...@gmail.com; linux-kernel@vger.kernel.org; > grant.lik...@linaro.org; rob.herr...@calxeda.com; linux- > d...@vger.kernel.org;

RE: [PATCH v3 4/8] pciehp: Don't disable the link permanently, during removal

2013-12-17 Thread Rajat Jain
> -Original Message- > From: Bjorn Helgaas [mailto:bhelg...@google.com] > > [+cc ying...@kernel.org (seems to be Yinghai's preferred email] > > On Tue, Dec 17, 2013 at 12:06:05PM -0800, Rajat Jain wrote: > > We need future link up events for hot-add, thus don't disable the link > >

[PATCH] async: fix insert entry in ascending list

2013-12-17 Thread Vaughan Cao
Hi Tejun, I suppose there is a fault in the patch of https://lkml.org/lkml/2013/1/16/546. I know you made a new patch for latest kernel which don't move the entry between pending and running list that remove the code I mentioned, but our kernel is based on v3.8.13 that has the code. In my

[PATCH] checkpatch.pl: Fix wrong curly bracket position reporting

2013-12-17 Thread Jean-Baptiste Theou
This patch fixes wrong curly bracket position reporting when function declarations have only one void argument. Missing error (ERROR: space required before the open brace '{') on this situation : int foo(void){ ... } Signed-off-by: Jean-Baptiste Theou --- scripts/checkpatch.pl | 2 +-

Re: [v3][PATCH 1/8] powerpc/book3e: rename interrupt_end_book3e with __end_interrupts

2013-12-17 Thread Scott Wood
On Tue, 2013-07-09 at 16:03 +0800, Tiejun Chen wrote: > We can rename 'interrupt_end_book3e' with '__end_interrupts' then > book3s/book3e can share this unique label to make sure we can use > this conveniently. > > Signed-off-by: Tiejun Chen What users of this do you plan to share between

[PATCH] checkpatch.pl: Fix wrong curly bracket position reporting

2013-12-17 Thread Jean-Baptiste Theou
This patch fixes wrong curly bracket position reporting when function declarations have only one void argument. Missing error (ERROR: space required before the open brace '{') on this situation : int foo(void){ ... } Signed-off-by: Jean-Baptiste Theou --- scripts/checkpatch.pl | 2 +-

RE: linux-next: build warning in Linus' tree

2013-12-17 Thread Skidmore, Donald C
> -Original Message- > From: netdev-ow...@vger.kernel.org [mailto:netdev- > ow...@vger.kernel.org] On Behalf Of Stephen Rothwell > Sent: Tuesday, December 17, 2013 2:52 PM > To: David Miller; net...@vger.kernel.org > Cc: linux-n...@vger.kernel.org; linux-kernel@vger.kernel.org;

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

2013-12-17 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm-intel tree got a conflict in drivers/gpu/drm/i915/intel_pm.c between commit fec8cba306f9 ("drm/i915: use crtc_htotal in watermark calculations to match fastboot v2") from Linus' tree and commit 96f90c5421aa ("drm/i915: Move ILK/SNB/IVB over to the HSW

Re: [v6][PATCH 2/5] powerpc/book3e: store crit/mc/dbg exception thread info

2013-12-17 Thread Scott Wood
On Wed, 2013-10-23 at 17:31 +0800, Tiejun Chen wrote: > We need to store thread info to these exception thread info like something > we already did for PPC32. > > Signed-off-by: Tiejun Chen > --- > arch/powerpc/kernel/exceptions-64e.S | 22 +++--- > 1 file changed, 19

Re: [v6][PATCH 5/5] powerpc/book3e/kgdb: Fix a single stgep case of lazy IRQ

2013-12-17 Thread Scott Wood
On Wed, 2013-10-23 at 17:31 +0800, Tiejun Chen wrote: > In lazy EE magic, we may have a lazy interrupt occured while > entering kgdb, but we really don't want to replay that interrupt > for kgdb, so we have to clear the PACA_IRQ_HARD_DIS force to > make sure we can exit directly from this debug

Re: [PATCH] jffs2: unlock f->sem on error in jffs2_new_inode()

2013-12-17 Thread Li Zefan
The patch should be sent to jffs2 mainling list, which is linux-...@lists.infradead.org. It's not needed to cc stable mailing list. Actually I think it's better not to. On 2013/12/18 10:14, Wang Nan wrote: > From: Wang Guoli > > If jffs2_new_inode() succeeds, it returns with f->sem held, and >

Re: linux-next: build failure after merge of the net-next tree

2013-12-17 Thread David Miller
From: David Miller Date: Tue, 17 Dec 2013 21:21:45 -0500 (EST) > I'll try to fix this up, thanks for the report. Here's what I committed, thanks again Stephen: [PATCH] lib: Add missing arch generic-y entries for asm-generic/hash.h Reported-by: Stephen Rothwell

Re: linux-next: build failure after merge of the net-next tree

2013-12-17 Thread David Miller
From: Stephen Rothwell Date: Wed, 18 Dec 2013 12:56:43 +1100 > After merging the net-next tree, today's linux-next build (powerpc > ppc64_defconfig) failed like this: > > In file included from include/linux/hashtable.h:12:0, > from include/linux/elevator.h:5, >

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

2013-12-17 Thread Stephen Rothwell
Hi Jeff, On Tue, 17 Dec 2013 17:56:09 -0800 Jeff Kirsher wrote: > > Your fix is fine, what I have in my tree is the following, so if you > want to modify your change so that the resultant code looks like this: > > struct rtnl_link_stats64 *vsi_stats = > i40e_get_vsi_stats_struct(vsi);

[PATCH] jffs2: unlock f->sem on error in jffs2_new_inode()

2013-12-17 Thread Wang Nan
From: Wang Guoli If jffs2_new_inode() succeeds, it returns with f->sem held, and the caller is responsible for releasing the lock. If it fails, it still returns with the lock held, but the caller won't release the lock, which will lead to deadlock. Fix it by releasing the lock in

Re: [RFC PATCH] net, tun: remove the flow cache

2013-12-17 Thread Zhi Yong Wu
On Tue, Dec 17, 2013 at 6:05 PM, Jason Wang wrote: > On 12/17/2013 05:13 PM, Zhi Yong Wu wrote: >> On Tue, Dec 17, 2013 at 4:49 PM, Jason Wang wrote: >>> > On 12/17/2013 03:26 PM, Zhi Yong Wu wrote: >> From: Zhi Yong Wu >> >> The flow cache is an extremely broken concept, and it

Re: [PATCH v5 10/14] efi: only print saved efi runtime maps instead of all memmap ranges for kexec

2013-12-17 Thread Dave Young
On 12/17/13 at 04:58pm, Borislav Petkov wrote: > On Tue, Dec 17, 2013 at 02:34:36PM +0800, Dave Young wrote: > > They are moved to efi.c efi_setup_init(), I'm not sure if I expained > > clear enough, in current code parse_efi_setup only accept one argument > > phys_addr so I will mapping it with

[PATCH v4 2/2] mfd: rtsx: add support for card reader rtl8402

2013-12-17 Thread micky_ching
From: Micky Ching rtl8402 is much like rtl8411, so just add it to rtl8411.c Signed-off-by: Micky Ching --- drivers/mfd/rtl8411.c | 44 drivers/mfd/rtsx_pcr.c |5 + drivers/mfd/rtsx_pcr.h |1 + 3 files changed, 46 insertions(+), 4

Re: [RFC PATCH 00/13] nohz: Use sysidle detection to let the timekeeper sleep

2013-12-17 Thread Alex Shi
On 12/18/2013 06:51 AM, Frederic Weisbecker wrote: > So this is what this series brings, more details following: > > * Some code, naming and whitespace cleanups > > * Allow all CPUs outside the nohz_full range to handle the timekeeping > duty, not just CPU 0. Balancing the timekeeping duty

Re: [PATCH v3 4/6] pinctrl: Add pinctrl binding for Broadcom Capri SoCs

2013-12-17 Thread Sherman Yin
On 13-12-16 05:17 AM, Linus Walleij wrote: On Sat, Dec 14, 2013 at 2:16 AM, Sherman Yin wrote: +- bias-pull-up:Integer. Pull up strength in Ohm: + 1: 1.2 kOhm + 2: 1.8 kOhm +

[PATCH v4 1/2] mfd: rtsx: add set pull control macro and simplify rtl8411

2013-12-17 Thread micky_ching
From: Micky Ching add set pull control macro to reduce code for setting pull control, and use a common init function to reduce code for rtl8411.c. So this patch is used to just simplify code. Signed-off-by: Micky Ching --- drivers/mfd/rtl8411.c | 53

[PATCH v4 0/2] mfd: rtsx: decrease driver size and add new device

2013-12-17 Thread micky_ching
From: Micky Ching we add a macro to simplify setting pull control, and use a common init function to init the common params for 8411-like chips. at last we add support for rtl8402 chip. Micky Ching (2): mfd: rtsx: add set pull control macro and simplify rtl8411 mfd: rtsx: add support for

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

2013-12-17 Thread Jeff Kirsher
On Wed, 2013-12-18 at 12:46 +1100, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the net-next tree got a conflict in > drivers/net/ethernet/intel/i40e/i40e_main.c between commit 3c325ced6aef > ("i40e: fix null dereference") from Linus' tree and commit bc7d338fbb3f > ("i40e:

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

2013-12-17 Thread Stephen Rothwell
break any architecture other than x86 :-( I have used the net-next tree from next-20131217 for today. -- Cheers, Stephen Rothwells...@canb.auug.org.au pgp7AF7mbe0_6.pgp Description: PGP signature

Re: [PATCH v2] drm/bochs: new driver

2013-12-17 Thread Dave Airlie
On Wed, Dec 18, 2013 at 3:04 AM, Gerd Hoffmann wrote: > DRM driver for (virtual) vga cards using the bochs dispi > interface, such as the qemu standard vga (qemu -vga std). > > Don't bother supporting anything but 32bpp for now, even > though the virtual hardware is able to do that. Hi Gerd,

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

2013-12-17 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in drivers/net/ethernet/intel/i40e/i40e_main.c between commit 3c325ced6aef ("i40e: fix null dereference") from Linus' tree and commit bc7d338fbb3f ("i40e: reinit flow for the main VSI") from the net-next tree. I fixed it up

Re: [PATCH 0/5] VFS: Directory level cache cleaning

2013-12-17 Thread Li Zefan
On 2013/12/17 17:31, Li Wang wrote: > This extension is just add-on extension. The original debugging > capability is still there, and more flexible debugging is now allowed. > but you intent is to let applications use this interface for non-debugging purpose. -- To unsubscribe from this list:

3.13.0-rc4+: Warning at drivers/gpu/drm/i915/intel_display.c

2013-12-17 Thread Carlos R. Mafra
I've been using an external monitor with my retina Macbook and sometimes I see the warning below. I think it happens when I unplug the monitor from the thunderbolt port (I use a converter to VGA). [10906.327043] [ cut here ] [10906.327059] WARNING: CPU: 3 PID: 643 at

Re: [PATCH 0/5] VFS: Directory level cache cleaning

2013-12-17 Thread Li Wang
Both 'drop_caches' and 'vfs_cache_pressure' do coarse granularity control. Sometimes these do not help much for those performance sensitive applications. General and simple algorithms are good regarding its application independence and working for normal situations. However, since applications

Re: [PATCH v9 0/2] PWM: pwm-atmel: add PWM controller driver

2013-12-17 Thread Bo Shen
Hi Thierry, On 12/17/2013 06:30 PM, Thierry Reding wrote: On Fri, Dec 13, 2013 at 02:41:48PM +0800, Bo Shen wrote: This patch series add Atmel PWM controller driver support. Changes in v9: - Address the comments from Thierry Reding Hi, I've pushed a slightly modified version of this

[PATCH] i2c: fix a potential kmemleak of adapter device

2013-12-17 Thread Gu Zheng
When running with the latest kernel, we get the following kmemleak message: unreferenced object 0x8800c2a36100 (size 256): comm "modprobe", pid 629, jiffies 4294676002 (age 1531.115s) hex dump (first 32 bytes): 00 00 00 00 ad 4e ad de ff ff ff ff 00 00 00 00 .N.. ff ff

Re: [PATCH v3 1/2] mfd: rtsx: reduce code duplication in rtl8411

2013-12-17 Thread micky
On 12/17/2013 03:28 PM, Dan Carpenter wrote: On Tue, Dec 17, 2013 at 10:36:58AM +0800, micky_ch...@realsil.com.cn wrote: diff --git a/drivers/mfd/rtsx_pcr.h b/drivers/mfd/rtsx_pcr.h index 947e79b..26b52ec 100644 --- a/drivers/mfd/rtsx_pcr.h +++ b/drivers/mfd/rtsx_pcr.h @@ -63,4 +63,12 @@ static

Re: [PATCH v3] staging: ion: Avoid using rt_mutexes directly

2013-12-17 Thread Colin Cross
On Tue, Dec 17, 2013 at 5:04 PM, John Stultz wrote: > RT_MUTEXES can be configured out of the kernel, causing compile > problems with ION. > > To quote Colin: > "rt_mutexes were added with the deferred freeing feature. Heaps need > to return zeroed memory to userspace, but zeroing the memory on

[PATCH v3] staging: ion: Avoid using rt_mutexes directly

2013-12-17 Thread John Stultz
RT_MUTEXES can be configured out of the kernel, causing compile problems with ION. To quote Colin: "rt_mutexes were added with the deferred freeing feature. Heaps need to return zeroed memory to userspace, but zeroing the memory on every allocation was causing performance issues. We added a

Re: linux-next: build failure after merge of the pm tree

2013-12-17 Thread Rafael J. Wysocki
directory > #include >^ > > Caused by commit a99493647c1a ("Merge branch 'acpi-cleanup' into > linux-next") which incorrectly reintroduced the include of > linux/acpi_io.h. > > I have used the pm tree from next-20131217 for today. Sorry for the

Re: [RFC][PATCH] PM / Sleep: Freeze filesystems during system suspend/hibernation

2013-12-17 Thread Rafael J. Wysocki
On Tuesday, December 17, 2013 08:00:55 PM Josh Boyer wrote: > On Tue, Dec 17, 2013 at 7:52 PM, Rafael J. Wysocki wrote: > > On Tuesday, December 17, 2013 11:04:46 AM Josh Boyer wrote: > >> On Tue, Dec 17, 2013 at 11:03 AM, Josh Boyer > >> wrote: > >> > On Fri, May 25, 2012 at 3:13 PM, Rafael J.

Re: [PATCH v3 4/8] pciehp: Don't disable the link permanently, during removal

2013-12-17 Thread Bjorn Helgaas
[+cc ying...@kernel.org (seems to be Yinghai's preferred email] On Tue, Dec 17, 2013 at 12:06:05PM -0800, Rajat Jain wrote: > We need future link up events for hot-add, thus don't disable > the link permanently during device removal. Also, remove the static > functions that are now left unused.

[PATCH] tty: an overflow of multiplication in drivers/tty/cyclades.c

2013-12-17 Thread xqx12
there is an overflow in the code : cyz_polling_cycle = (arg * HZ) / 1000, the multiplicator arg comes from user, so it may be an overflow if arg is a big number. And the value of cyc_polling_cycle will be wrong when it is used next time. Reported-by: Qixue Xiao Suggested-by: Yongjian Xu

Re: [RFC][PATCH] PM / Sleep: Freeze filesystems during system suspend/hibernation

2013-12-17 Thread Josh Boyer
On Tue, Dec 17, 2013 at 7:52 PM, Rafael J. Wysocki wrote: > On Tuesday, December 17, 2013 11:04:46 AM Josh Boyer wrote: >> On Tue, Dec 17, 2013 at 11:03 AM, Josh Boyer >> wrote: >> > On Fri, May 25, 2012 at 3:13 PM, Rafael J. Wysocki wrote: >> >> On Friday, May 25, 2012, Josh Boyer wrote: >>

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

2013-12-17 Thread Stephen Rothwell
eanup' into linux-next") which incorrectly reintroduced the include of linux/acpi_io.h. I have used the pm tree from next-20131217 for today. -- Cheers, Stephen Rothwells...@canb.auug.org.au pgpS82htQHd4h.pgp Description: PGP signature

Re: [PATCH 05/11] drivers: acpi: Include appropriate header file in utstate.c

2013-12-17 Thread Rafael J. Wysocki
On Tuesday, December 17, 2013 12:25:18 PM Josh Triplett wrote: > On Tue, Dec 17, 2013 at 05:35:46PM +, Moore, Robert wrote: > > I'm not sure what version of ACPICA you are looking at, but in the master > > git tree for ACPICA, the file accommon.h includes "acutils.h". > > This is the version

RE: [PATCH v4 3/9] phy: Add new Exynos USB PHY driver

2013-12-17 Thread Anton Tikhomirov
Hi Kamil, > Hi Anton, > > > From: Anton Tikhomirov [mailto:av.tikhomi...@samsung.com] > > Sent: Tuesday, December 10, 2013 3:43 AM > > > > Hi Kamil, > > > > Same USB2.0 PHY may be used by several HCDs, for example EHCI and > OHCI. > > Consider the situation, when EHCI stops using the PHY and

Re: [git pull] drm fixes

2013-12-17 Thread Dave Airlie
On Wed, Dec 18, 2013 at 10:42 AM, Linus Torvalds wrote: > On Tue, Dec 17, 2013 at 4:33 PM, Dave Airlie wrote: >> >> are available in the git repository at: >> >> git://people.freedesktop.org/~airlied/linux > > Nope. > > I assume you meant the 'drm-fixes' branch, but you didn't actually > *say*

Re: [PATCH v2] libata, freezer: avoid block device removal while system is frozen

2013-12-17 Thread Rafael J. Wysocki
On Tuesday, December 17, 2013 07:50:42 AM Tejun Heo wrote: > Hello, > > Rafael, if you're okay with the workaround, I'll route it through > libata/for-3.13-fixes. > > Thanks. > --- 8< --- > Freezable kthreads and workqueues are fundamentally problematic in > that they effectively

Re: [PATCH 1/3] mm: munlock: fix a bug where THP tail page is encountered

2013-12-17 Thread Bob Liu
On 12/17/2013 09:00 PM, Vlastimil Babka wrote: > > I would prefer that too but patch 3 needs it again, so I left it as it is > here. > As for comment, here's a revised patch that adds it: > Thanks. > --8<-- > From: Vlastimil Babka > Date: Fri, 13 Dec 2013 14:25:21 +0100 > Subject:

Re: [git pull] drm fixes

2013-12-17 Thread Linus Torvalds
On Tue, Dec 17, 2013 at 4:33 PM, Dave Airlie wrote: > > are available in the git repository at: > > git://people.freedesktop.org/~airlied/linux Nope. I assume you meant the 'drm-fixes' branch, but you didn't actually *say* that, and when I pull it I don't get the same diffstat you claim, so

Re: [RFC][PATCH] PM / Sleep: Freeze filesystems during system suspend/hibernation

2013-12-17 Thread Rafael J. Wysocki
On Tuesday, December 17, 2013 11:04:46 AM Josh Boyer wrote: > On Tue, Dec 17, 2013 at 11:03 AM, Josh Boyer > wrote: > > On Fri, May 25, 2012 at 3:13 PM, Rafael J. Wysocki wrote: > >> On Friday, May 25, 2012, Josh Boyer wrote: > >>> On Fri, Feb 17, 2012 at 3:59 PM, Rafael J. Wysocki wrote: >

Re: Writeback threads and freezable

2013-12-17 Thread Dave Chinner
On Mon, Dec 16, 2013 at 07:56:04AM -0500, Tejun Heo wrote: > On Mon, Dec 16, 2013 at 07:51:24AM -0500, Tejun Heo wrote: > > On Mon, Dec 16, 2013 at 02:56:52PM +1100, Dave Chinner wrote: > > > > What are you suggesting? Implementing separate warm and hot unplug > > > > paths? That makes no sense

[GIT PULL] Update to error injection interface

2013-12-17 Thread Luck, Tony
Ingo, Please queue in x86/ras branch for next merge window. Thanks -Tony The following changes since commit 319e2e3f63c348a9b66db4667efa73178e18b17d: Linux 3.13-rc4 (2013-12-15 12:31:33 -0800) are available in the git repository at:

[git pull] drm fixes

2013-12-17 Thread Dave Airlie
Definitely seems quieter this week, radeon, intel, intel broadwell, vmwgfx, ttm, armada, and a couple of core fixes, one revert in radeon most of these are either going to stable or fixes for things introduced in the merge window, Dave. The following changes since commit

Re: [PATCH v4 6/9] PCI/MSI: Factor out pci_get_msi_vec_count() interface

2013-12-17 Thread Bjorn Helgaas
On Mon, Dec 16, 2013 at 09:34:59AM +0100, Alexander Gordeev wrote: > Device drivers can use this interface to obtain maximum number > of MSI interrupts the device supports and use that number i.e. > in a following call to pci_enable_msi_block() interface. > > Signed-off-by: Alexander Gordeev >

Re: [PATCH v4 9/9] PCI/MSI: Introduce pci_auto_enable_msi*() family helpers

2013-12-17 Thread Bjorn Helgaas
On Mon, Dec 16, 2013 at 09:35:02AM +0100, Alexander Gordeev wrote: > Currently many device drivers need contiguously call functions > pci_enable_msix() for MSI-X or pci_enable_msi_block() for MSI > in a loop until success or failure. This update generalizes > this usage pattern and introduces

Re: [PATCH] libata, freezer: avoid block device removal while system is frozen

2013-12-17 Thread Rafael J. Wysocki
On Tuesday, December 17, 2013 07:34:57 AM Tejun Heo wrote: > Hello, Rafael. > > On Tue, Dec 17, 2013 at 03:34:00AM +0100, Rafael J. Wysocki wrote: > > No, it isn't. [I guess it was originally, but it has not been the case > > for a very long time.] It is about getting user space interactions

[PATCH 2/3] net_dma: remove

2013-12-17 Thread Dan Williams
Per commit "net_dma: mark broken" net_dma is no longer used and there is no plan to fix it. Cc: Dave Jiang Cc: Vinod Koul Cc: David Whipple Cc: Alexander Duyck Signed-off-by: Dan Williams --- Documentation/ABI/removed/net_dma |8 + Documentation/networking/ip-sysctl.txt |6 -

[PATCH 3/3] dma debug: flag copy-on-write events to pages undergoing dma

2013-12-17 Thread Dan Williams
Record actively mapped pages and provide an api for other parts of the kernel to check that a given page is dma inactive before taking action. Verified to catch the misuse of the dma-api in the NET_DMA implementation. Cc: Vinod Koul Cc: Andrew Morton Signed-off-by: Dan Williams ---

[PATCH 0/3] net_dma removal and a new dma-debug check

2013-12-17 Thread Dan Williams
NET_DMA violates the expectation of the dma-mapping api by allowing the cpu to touch receive buffer memory while dma is active. If this activity triggers a copy-on-write event the application may see missing data as the dma completes to the old mapping. [PATCH 1/3] net_dma: mark broken Detail

[PATCH 1/3] net_dma: mark broken

2013-12-17 Thread Dan Williams
net_dma can cause data to be copied to a stale mapping if a copy-on-write fault occurs during dma. The application sees missing data. The following trace is triggered by modifying the kernel to WARN if it ever triggers copy-on-write on a page that is undergoing dma: WARNING: CPU: 24 PID: 2529

Re: [Intel-gfx] [PATCH] drm/intel: Only smash VGA SR01 register if intel is default VGA device

2013-12-17 Thread Keith Packard
Chris Wilson writes: > Ok, so as no vgaarb_clients have yet been registered and so the call to > grab the IO resource does not actually disable VGA IO routing to the > nvidia card. Yikes! This explains a lot. > If you care to update the changelog to explain the problem is that > vgaarb is

Re: [PATCH] f2fs: introduce a new direct_IO write path

2013-12-17 Thread Jaegeuk Kim
Change log from v1: o fix NOSPC error handling >From b8511a74fe98b67247a9feeed58441e8f5ffd705 Mon Sep 17 00:00:00 2001 From: Jaegeuk Kim Date: Mon, 16 Dec 2013 19:04:05 +0900 Subject: [PATCH] f2fs: introduce a new direct_IO write path Cc: linux-fsde...@vger.kernel.org,

Re: [PATCH] libata, freezer: avoid block device removal while system is frozen

2013-12-17 Thread Rafael J. Wysocki
On Tuesday, December 17, 2013 07:36:43 AM Tejun Heo wrote: > Hello, Rafael. > > On Tue, Dec 17, 2013 at 03:38:05AM +0100, Rafael J. Wysocki wrote: > > On Friday, December 13, 2013 03:40:34 PM Tejun Heo wrote: > > > Hello, > > > > > > So, this is the laughable workaround that I came up with.

Re: [PATCH V4 09/10] power8, perf: Change BHRB branch filter configuration

2013-12-17 Thread Michael Ellerman
On Fri, 2013-12-13 at 13:50 +0530, Anshuman Khandual wrote: > On 12/09/2013 11:51 AM, Michael Ellerman wrote: > > > > As I said in my comments on version 3 which you ignored: > > > > I think it would be clearer if we actually checked for the > > possibilities we > > allow and let

Re: [PATCH v5] clk: si570: Add a driver for SI570 oscillators

2013-12-17 Thread Guenter Roeck
On Tue, Dec 17, 2013 at 03:43:40PM -0800, Mike Turquette wrote: > Quoting Guenter Roeck (2013-12-14 08:33:27) > > On 10/02/2013 04:17 PM, Mike Turquette wrote: > > > Quoting Sören Brinkmann (2013-10-02 10:20:38) > > >> Hi Mike, > > >> > > >> could you please comment on this/apply it to clk-next? >

Re: [RFC][PATCH] PM / Sleep: Freeze filesystems during system suspend/hibernation

2013-12-17 Thread Pavel Machek
On Wed 2013-12-18 10:31:52, Dave Chinner wrote: > On Wed, Dec 18, 2013 at 12:08:43AM +0100, Pavel Machek wrote: > > Hi! > > > > > >>> Did this patch ever wind up going anywhere? Fedora has it sitting in > > > >>> our tree with a comment that says "rebase" and I don't see it in the > > > >>>

Re: [PATCH] FS-Cache: Fix handling of an attempt to store a page that is now beyond EOF

2013-12-17 Thread Milosz Tanski
I hate to be that guy and keep bugging you guys. Can I get an acknowledgment of the original patch? It fixed a very real issue for fscache users that occurs semi-frequently under moderate concurrency. - M On Mon, Dec 16, 2013 at 12:20 PM, Milosz Tanski wrote: > Hey guys it looks like this patch

Re: [PATCH v5 2/2] ARM: mach-moxart: add MOXA ART SoC device tree files

2013-12-17 Thread Sören Brinkmann
Hi Jonas, On Tue, Dec 17, 2013 at 04:38:34PM +0100, Jonas Jensen wrote: > Add a generic (dtsi) include file for MOXA ART SoCs. > > Also add a file for UC-7112-LX. > > Signed-off-by: Jonas Jensen > --- > Documentation/devicetree/bindings/arm/moxart.txt | 12 ++ > arch/arm/boot/dts/Makefile

[ANNOUNCE] Git v1.8.5.2

2013-12-17 Thread Junio C Hamano
The latest maintenance release Git v1.8.5.2 is now available at the usual places. The release tarballs are found at: http://code.google.com/p/git-core/downloads/list and their SHA-1 checksums are: 3a09d6d5d4e31c702f17e664a527b4c2f6e84faf git-1.8.5.2.tar.gz

[PATCH v2 0/3] Add USB support for Ingenic JZ4740

2013-12-17 Thread Apelete Seketeli
Hello, Following the fix I submitted a few weeks ago, here is a set of patches that adds USB support for the Ingenic JZ4740 MIPS SoC. The JZ4740 is found in the Ben NanoNote handheld computer which is built by the Qi-Hardware community. Even though Ben NanoNote is already supported in the

[PATCH v2 2/3] usb: musb: add support for JZ4740 usb device controller

2013-12-17 Thread Apelete Seketeli
Add support for Ingenic JZ4740 USB Device Controller through a specific musb glue layer. The platform data already available in tree for that USB Device Controller was previously used by an out-of-tree USB gadget driver which was not relying on the musb driver and was written by Ingenic and the

[PATCH v2 3/3] usb: musb: fix setting JZ4740 gadget periphal mode on reset

2013-12-17 Thread Apelete Seketeli
JZ4740 USB Device Controller is not OTG compatible and does not have DEVCTL register in silicon. During ethernet-over-usb transactions, on reset, musb driver tries to read from DEVCTL and consequently sets device as host (A-Device) instead of peripheral (B-Device), which makes it a composite

[PATCH v2 1/3] mips: qi_lb60: add defconfig for Ben NanoNote

2013-12-17 Thread Apelete Seketeli
Add defconfig for the Ben NanoNote handheld computer which is built around QI_LB60 board and Ingenic JZ4740 MIPS SoC. Signed-off-by: Apelete Seketeli --- arch/mips/configs/qi_lb60_defconfig | 188 +++ 1 file changed, 188 insertions(+) create mode 100644

Re: [PATCH 04/13] tick: Use timekeeping_cpu() to elect the CPU handling timekeeping duty

2013-12-17 Thread Paul E. McKenney
On Tue, Dec 17, 2013 at 11:51:23PM +0100, Frederic Weisbecker wrote: > Now that we have an API to determine if a CPU is allowed to handle > timekeeping duty, use it now on timekeeper selection time for clarity. > > Signed-off-by: Frederic Weisbecker > Cc: Thomas Gleixner > Cc: Ingo Molnar >

Get back to me fast

2013-12-17 Thread Mr.Emmanuel Broni
Hello Dear, I am Mr.Emmanuel Broni. the head of business management Department of Ghana National Petroleum Corporation ( G.N.P.C ) and responsible for the award of contract relating to oil business. I want us to enter into confidential and binding business agreement where by I will be

Re: [PATCH 06/13] nohz: Introduce full dynticks' default timekeeping target

2013-12-17 Thread Paul E. McKenney
On Tue, Dec 17, 2013 at 11:51:25PM +0100, Frederic Weisbecker wrote: > When a full dynticks CPU wakes up while the whole rest of the system > is idle, we need to wake up the CPU in charge of the timekeeping duty > handling. > > As of today, the CPU that maintains this duty is CPU 0 when >

Re: [PATCH 07/13] sched: Enable IPI reception on timekeeper under nohz full system

2013-12-17 Thread Paul E. McKenney
On Tue, Dec 17, 2013 at 11:51:26PM +0100, Frederic Weisbecker wrote: > We need the default timekeeping CPU to be able to receive IPIs sent > from full dynticks CPUs when they wake up from full system idle state. > > Therefore we need an entrypoint from the scheduler IPI so that the > need to poll

Re: [PATCH 11/13] nohz: Wake up timekeeper on exit from sysidle state

2013-12-17 Thread Frederic Weisbecker
On Tue, Dec 17, 2013 at 03:34:54PM -0800, Paul E. McKenney wrote: > On Tue, Dec 17, 2013 at 11:51:30PM +0100, Frederic Weisbecker wrote: > > When a full dynticks CPU wakes up from sysidle state, which means that > > all full dynticks CPUs were previously sleeping, it's possible that > > all the

Re: [PATCH 09/13] nohz: Allow timekeeper's tick to stop when all full dynticks CPUs are idle

2013-12-17 Thread Paul E. McKenney
On Tue, Dec 17, 2013 at 11:51:28PM +0100, Frederic Weisbecker wrote: > When all full dynticks CPUs are idle, as detected by RCU's sysidle > detection, there is no need to keep the timekeeping CPU's tick alive > anymore. So lets shut it down when we meet this favourable state. The > timekeeper will

Re: [PATCH 03/13] rcu: Exclude all potential timekeepers from sysidle detection

2013-12-17 Thread Frederic Weisbecker
On Tue, Dec 17, 2013 at 03:27:14PM -0800, Paul E. McKenney wrote: > On Tue, Dec 17, 2013 at 11:51:22PM +0100, Frederic Weisbecker wrote: > > The purpose of the full system idle detection is to notify the CPU > > handling the timekeeping when the rest of the system is idle so that it > > can sleep

Re: [PATCH v5] clk: si570: Add a driver for SI570 oscillators

2013-12-17 Thread Mike Turquette
Quoting Guenter Roeck (2013-12-14 08:33:27) > On 10/02/2013 04:17 PM, Mike Turquette wrote: > > Quoting Sören Brinkmann (2013-10-02 10:20:38) > >> Hi Mike, > >> > >> could you please comment on this/apply it to clk-next? > > > > It looks good and is in the queue. Will show up in clk-next in a few

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