[PATCH 1/1] eventfd: fix incorrect filename is a comment

2013-01-30 Thread Martin Sustrik
Comment in eventfd.h referred to 'include/asm-generic/fcntl.h' while the correct path is 'include/uapi/asm-generic/fcntl.h'. Signed-off-by: Martin Sustrik --- include/linux/eventfd.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/linux/eventfd.h

Re: [PATCH v3] Add 4 tracepoint events for vfs

2013-01-30 Thread Al Viro
On Thu, Jan 31, 2013 at 03:40:38PM +0800, chenggang@gmail.com wrote: > @@ -1391,12 +1394,16 @@ generic_file_aio_read(struct kiocb *iocb, const > struct iovec *iov, > unsigned long seg = 0; > size_t count; > loff_t *ppos = >ki_pos; > + const unsigned char *f_name; > >

Re: [PATCH] printk: Avoid softlockups in console_unlock()

2013-01-30 Thread anish singh
On Fri, Jan 18, 2013 at 3:09 AM, Andrew Morton wrote: > On Thu, 17 Jan 2013 22:04:42 +0100 > Jan Kara wrote: > >> ... >> >> So I played a bit with this. To make things easier for me I added >> artificial mdelay(len*10) (effectively simulating console able to print 100 >> characters per second)

[PATCH v3] Add 4 tracepoint events for vfs

2013-01-30 Thread chenggang . qin
From: chenggang@gmail.com This version changed some type definition according to Steven's advise. Thanks for Steven. If the engineers want to analyze the file access behavior of some applications without source code, perf tools with some appropriate tracepoints events in the VFS subsystem

Re: [RFC 2/2] sched/fair: prefer a CPU in the "lowest" idle state

2013-01-30 Thread Namhyung Kim
On Thu, 31 Jan 2013 15:30:02 +0800, Michael Wang wrote: > On 01/31/2013 02:58 PM, Namhyung Kim wrote: >> But AFAIK the number of states in cpuidle is usually less than 10 so maybe >> we can change the weight then, but there's no promise... > > And I just got another case we should take care: > >

RE: [PATCH 2/3] X86: Add a check to catch Xen emulation of Hyper-V

2013-01-30 Thread Jan Beulich
>>> On 30.01.13 at 19:12, KY Srinivasan wrote: > Presumably, Hyper-V emulation is only to run enlightened Windows. The issue > with > Xen is not that it emulates Hyper-V, but this emulation is turned on while > running Linux. > That is the reason I chose to check for Xen. Would you prefer a DMI

Re: [RFC 1/4] video: panel: add CLAA101WA01A panel support

2013-01-30 Thread Mark Zhang
On 01/31/2013 02:36 PM, Alexandre Courbot wrote: > On Thu, Jan 31, 2013 at 1:54 PM, Mark Zhang wrote: >> Display controller don't know whether the panel has EDID EEPROM but the >> panel driver knows. So why we need to make display controller queries >> EDID blindly? Since panel driver knows about

Re: [RFC 2/2] sched/fair: prefer a CPU in the "lowest" idle state

2013-01-30 Thread Michael Wang
On 01/31/2013 02:58 PM, Namhyung Kim wrote: > On Thu, 31 Jan 2013 14:39:20 +0800, Michael Wang wrote: >> On 01/31/2013 01:16 PM, Namhyung Kim wrote: >>> Anyway, I have an idea with this in mind. It's like adding a new "idle >>> load" to each idle cpu rather than special casing the idle cpus like

Re: [PATCH V3] suspend: enable freeze timeout configuration through sys

2013-01-30 Thread Yasuaki Ishimatsu
2013/01/31 13:55, fli24 wrote: At present, the value of timeout for freezing is 20s, which is meaningless in case that one thread is frozen with mutex locked and another thread is trying to lock the mutex, as this time of freezing will fail unavoidably. And if there is no new wakeup event

Re: [PATCH 1/1] dma: pl330: Convert to devm_ioremap_resource()

2013-01-30 Thread Thierry Reding
On Thu, Jan 31, 2013 at 12:37:04PM +0530, Sachin Kamat wrote: > Use the newly introduced devm_ioremap_resource() instead of > devm_request_and_ioremap() which provides more consistent error handling. > > Signed-off-by: Sachin Kamat > Cc: Vinod Koul > Cc: Thierry Reding > Cc: Greg Kroah-Hartman

Re: [PATCH 1/1] dma: pl330: Convert to devm_ioremap_resource()

2013-01-30 Thread Greg Kroah-Hartman
On Thu, Jan 31, 2013 at 12:37:04PM +0530, Sachin Kamat wrote: > Use the newly introduced devm_ioremap_resource() instead of > devm_request_and_ioremap() which provides more consistent error handling. > > Signed-off-by: Sachin Kamat > Cc: Vinod Koul > Cc: Thierry Reding > Cc: Greg Kroah-Hartman

Re: [PATCH 8/8] cputime: Safely read cputime of full dynticks CPUs

2013-01-30 Thread Sedat Dilek
On Thu, Jan 31, 2013 at 1:38 AM, Frederic Weisbecker wrote: > 2013/1/28 Sedat Dilek : >> On Mon, Jan 28, 2013 at 8:04 PM, Frederic Weisbecker >> wrote: >>> While remotely reading the cputime of a task running in a >>> full dynticks CPU, the values stored in utime/stime fields >>> of struct

Re: [PATCH v2] i2c-i801: SMBus patch for Intel Avoton DeviceIDs

2013-01-30 Thread Jean Delvare
On Wed, 30 Jan 2013 17:25:32 -0800, Seth Heasley wrote: > This patch adds the PCU SMBus DeviceID for the Intel Avoton SOC. > > Signed-off-by: Seth Heasley > --- > Change notes for v2: > * corrected order of DeviceID defines > > Documentation/i2c/busses/i2c-i801 |1 + >

Re: [PATCH 1/1] digsig: Fix memory leakage in digsig_verify_rsa()

2013-01-30 Thread Kasatkin, Dmitry
On Thu, Jan 31, 2013 at 3:02 AM, James Morris wrote: > What's the practical impact of this? Could an attacker kill the machine? > > It might be possible slowly to eat the whole memory if there were too many memory verifications. This is a bug and the patch will be applied to stable. Should go

[PATCH 1/1] dma: pl330: Convert to devm_ioremap_resource()

2013-01-30 Thread Sachin Kamat
Use the newly introduced devm_ioremap_resource() instead of devm_request_and_ioremap() which provides more consistent error handling. Signed-off-by: Sachin Kamat Cc: Vinod Koul Cc: Thierry Reding Cc: Greg Kroah-Hartman --- This change is based against linux-next tree (20130128). This change

Re: [PATCH v6 00/15] memory-hotplug: hot-remove physical memory

2013-01-30 Thread Tang Chen
On 01/31/2013 02:19 PM, Simon Jeons wrote: Hi Tang, On Thu, 2013-01-31 at 11:31 +0800, Tang Chen wrote: Hi Simon, Please see below. :) On 01/31/2013 09:22 AM, Simon Jeons wrote: Sorry, I still confuse. :( update node_states[N_NORMAL_MEMORY] to node_states[N_MEMORY] or

Re: [PATCH] ASoC: fsl: Fix multiple symbol definitions

2013-01-30 Thread Mark Brown
On Thu, Jan 31, 2013 at 08:06:58AM +0100, Thierry Reding wrote: > That does indeed look much better than fiddling with the Makefile. My > automated ARM builds of linux-next were failing for a few days because > of this, so I guess the fix (as well as the MMC one) just hadn't made it > into

Re: Uhhuh. NMI received for unknown reason 2c on CPU 0.

2013-01-30 Thread Borislav Petkov
On Thu, Jan 31, 2013 at 01:54:56AM +0100, Rafael J. Wysocki wrote: > On Thursday, January 31, 2013 12:47:40 AM Jiri Slaby wrote: > > On 01/31/2013 12:12 AM, Jiri Slaby wrote: > > > I think I will start with commenting parts of `power' script to see > > > exactly which of the power savings cause

Re: [PATCHv4 3/7] zswap: add to mm/

2013-01-30 Thread Minchan Kim
On Tue, Jan 29, 2013 at 03:40:23PM -0600, Seth Jennings wrote: > zswap is a thin compression backend for frontswap. It receives > pages from frontswap and attempts to store them in a compressed > memory pool, resulting in an effective partial memory reclaim and > dramatically reduced swap device

Re: [PATCH] ASoC: fsl: Fix multiple symbol definitions

2013-01-30 Thread Thierry Reding
On Thu, Jan 31, 2013 at 09:42:17AM +0800, Shawn Guo wrote: > On Wed, Jan 30, 2013 at 09:24:31PM +0100, Thierry Reding wrote: > > Commit 25b8d31 (ASoC: fsl: fix multiple definition of init_module) fixed > > a build error due to multiple symbol definitions when building as a > > module. However, it

Re: [PATCH 1/5] e1000e: fix resuming from runtime-suspend

2013-01-30 Thread Konstantin Khlebnikov
Rafael J. Wysocki wrote: On Tuesday, January 29, 2013 10:32:14 AM Konstantin Khlebnikov wrote: Rafael J. Wysocki wrote: On Monday, January 28, 2013 04:05:33 PM Bjorn Helgaas wrote: [+cc Rafael, author of patch you cited] On Fri, Jan 18, 2013 at 4:42 AM, Konstantin Khlebnikov wrote: Bug

Re: [PATCH] mmc: sdhci-esdhc-imx: Remove unused variables

2013-01-30 Thread Thierry Reding
On Thu, Jan 31, 2013 at 08:31:20AM +0800, Shawn Guo wrote: > On Wed, Jan 30, 2013 at 09:11:21PM +0100, Thierry Reding wrote: > > Commit 3f175a6 (mmc: sdhci-esdhc-imx: remove ESDHC_CD_GPIO handling from > > IO accessory) removed all the code that was using these variables, so it > > is safe to drop

Re: [RFC 2/2] sched/fair: prefer a CPU in the "lowest" idle state

2013-01-30 Thread Namhyung Kim
On Thu, 31 Jan 2013 14:39:20 +0800, Michael Wang wrote: > On 01/31/2013 01:16 PM, Namhyung Kim wrote: >> Anyway, I have an idea with this in mind. It's like adding a new "idle >> load" to each idle cpu rather than special casing the idle cpus like >> above. IOW an idle cpu will get very small

[PATCH] Add a python script to statistic direct io behavior

2013-01-30 Thread chenggang
From: chenggang@gmail.com This patch depends on a prev patch: https://lkml.org/lkml/2013/1/29/47 If the engineers want to analyze the direct io behavior of some applications without source code, perf tools with some appropriate tracepoints events in the VFS subsystem are excellent choice.

Re: [RFC] arm: use built-in byte swap function

2013-01-30 Thread Borislav Petkov
On Wed, Jan 30, 2013 at 08:09:00PM -0600, Kim Phillips wrote: > diff --git a/arch/Kconfig b/arch/Kconfig > index 40e2b12..c8798b9 100644 > --- a/arch/Kconfig > +++ b/arch/Kconfig > @@ -141,6 +141,16 @@ config ARCH_USE_BUILTIN_BSWAP >instructions should set this. And it shouldn't hurt to

Re: [PATCH 1/2] regulator: max8997: Use of_get_child_count()

2013-01-30 Thread Mark Brown
On Wed, Jan 30, 2013 at 08:52:49PM +0800, Axel Lin wrote: > Signed-off-by: Axel Lin Applied both, thanks. signature.asc Description: Digital signature

Re: [PATCH] regulator: tps65090: Fix using wrong dev argument for calling of_regulator_match

2013-01-30 Thread Mark Brown
On Wed, Jan 30, 2013 at 08:28:20PM +0800, Axel Lin wrote: > The dev parameter is the device requesting the data. > In this case it should be >dev rather than pdev->dev.parent. Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH V3] regulators: anatop: add set_voltage_time_sel interface

2013-01-30 Thread Mark Brown
On Thu, Jan 31, 2013 at 11:23:53AM -0500, Anson Huang wrote: > some of anatop's regulators(cpu, vddpu and vddsoc) have > register settings about LDO's step time, which will impact > the LDO ramp up speed, need to use set_voltage_time_sel > interface to add necessary delay everytime LDOs' voltage >

Re: [RFC 2/2] sched/fair: prefer a CPU in the "lowest" idle state

2013-01-30 Thread Michael Wang
On 01/31/2013 01:16 PM, Namhyung Kim wrote: > Hi Sebastian and Michael, > > On Thu, 31 Jan 2013 10:12:35 +0800, Michael Wang wrote: >> On 01/31/2013 05:19 AM, Sebastian Andrzej Siewior wrote: >>> If a new CPU has to be choosen for a task, then the scheduler first selects >>> the group with the

Re: [RFC 1/4] video: panel: add CLAA101WA01A panel support

2013-01-30 Thread Alexandre Courbot
On Thu, Jan 31, 2013 at 1:54 PM, Mark Zhang wrote: > Display controller don't know whether the panel has EDID EEPROM but the > panel driver knows. So why we need to make display controller queries > EDID blindly? Since panel driver knows about all "video modes/panel > size" stuffs, why not we let

[PATCH] arm: dts: omap4-panda: Add I2c pinctrl data

2013-01-30 Thread Sourav Poddar
Booting 3.8-rc4 on omap4 panda results in the following error [0.27] omap_i2c 4807.i2c: did not get pins for i2c error: -19 [0.445770] omap_i2c 4807.i2c: bus 0 rev0.11 at 400 kHz [0.473937] omap_i2c 48072000.i2c: did not get pins for i2c error: -19 [0.474670] omap_i2c

RE: Avoid high order memory allocating with kmalloc, when read large seq file

2013-01-30 Thread Tu, Xiaobing
Hi Rientjes Thanks a lot for your info, yes, you are right, I just re-send the patch, could you please review? Br Xiaobing -Original Message- From: David Rientjes [mailto:rient...@google.com] Sent: Wednesday, January 30, 2013 5:49 AM To: Tu, Xiaobing Cc:

Re: [PATCH v6 00/15] memory-hotplug: hot-remove physical memory

2013-01-30 Thread Simon Jeons
Hi Tang, On Thu, 2013-01-31 at 11:31 +0800, Tang Chen wrote: > Hi Simon, > > Please see below. :) > > On 01/31/2013 09:22 AM, Simon Jeons wrote: > > > > Sorry, I still confuse. :( > > update node_states[N_NORMAL_MEMORY] to node_states[N_MEMORY] or > > node_states[N_NORMAL_MEMOR] present

RE: Avoid high order memory allocating with kmalloc, when read large seq file

2013-01-30 Thread Tu, Xiaobing
Hi Morton Thank you very much for your kindly info, In android system,, when you read /sys/kernel/debug/binder/proc/xxx, xxx is the process id , it will trigger high order kmalloc. But we can't limit the size of binder info, because we need this to debug the binder related issue. I had

Re: [PATCH V3] regulators: anatop: add set_voltage_time_sel interface

2013-01-30 Thread Shawn Guo
On Thu, Jan 31, 2013 at 11:23:53AM -0500, Anson Huang wrote: > some of anatop's regulators(cpu, vddpu and vddsoc) have > register settings about LDO's step time, which will impact > the LDO ramp up speed, need to use set_voltage_time_sel > interface to add necessary delay everytime LDOs' voltage >

resend----[PATCH] Avoid high order memory allocating with kmalloc, when read large seq file

2013-01-30 Thread xtu4
[SEQ_FILE] Avoid high order memory allocating with kmalloc when read large seq file currently, when dumpstate access /proc/xxx/binder , this binder include lots of info, it will use seq_read in kernel, in this function, it will trigger high order memory alloc, when read binder info or other

[PATCH] drm/radeon: Calling object_unrefer() when creating fb failure

2013-01-30 Thread Su, Xuemin
From: liu chuansheng Date: Thu, 31 Jan 2013 22:13:00 +0800 Subject: [PATCH] drm/radeon: Calling object_unrefer() when creating fb failure When kzalloc() failed in radeon_user_framebuffer_create(), need to call object_unreference() to match the object_reference(). Signed-off-by: liu chuansheng

[git pull] revert the console lockdep

2013-01-30 Thread Dave Airlie
Hi Linus, as suggested lets undo the console lock lockdep tracking for now, Dave. The following changes since commit 2e51b231a8d716ea5aacde0bd95ac789cea195b0: Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux (2013-01-30 12:02:26 +1100) are available in the git

Re: [PATCH v8 4/4] sd: change to auto suspend mode

2013-01-30 Thread Aaron Lu
On Wed, Jan 30, 2013 at 10:38:26AM -0500, Alan Stern wrote: > On Wed, 30 Jan 2013, Aaron Lu wrote: > > > From: Lin Ming > > > > Uses block layer runtime pm helper functions in > > scsi_runtime_suspend/resume for devices that take advantage of it. > > > > Remove scsi_autopm_* from sd

Re: [RESEND PATCH v5 1/4] zram: Fix deadlock bug in partial write

2013-01-30 Thread Minchan Kim
On Wed, Jan 30, 2013 at 05:21:12PM +0900, Minchan Kim wrote: > Hi Greg, > > On Tue, Jan 29, 2013 at 11:20:06PM -0500, Greg Kroah-Hartman wrote: > > On Mon, Jan 28, 2013 at 09:38:23AM +0900, Minchan Kim wrote: > > > Now zram allocates new page with GFP_KERNEL in zram I/O path > > > if IO is

Re: Query related to MSR(Magnetic Stripe Reader) Device Driver

2013-01-30 Thread Priyaranjan Das
Hi Greg, On Tue, Jan 29, 2013 at 7:03 PM, Greg KH wrote: > On Mon, Jan 28, 2013 at 03:25:08PM +0530, Priyaranjan Das wrote: >> Hi Greg, >> >> On Tue, Jan 22, 2013 at 10:06 PM, Greg KH wrote: >> > On Tue, Jan 22, 2013 at 03:02:32PM +0530, Priyaranjan Das wrote: >> >> Hi All, >> >> >> >> I am

Re: BUG: circular locking dependency detected

2013-01-30 Thread Greg Kroah-Hartman
On Thu, Jan 31, 2013 at 11:26:53AM +1100, Linus Torvalds wrote: > On Thu, Jan 31, 2013 at 11:13 AM, Russell King wrote: > > > > Which may or may not be a good thing depending how you look at it; it > > means that once your kernel blanks, you get a lockdep dump. At that > > point you lose lockdep

Re: [PATCHv4 2/7] zsmalloc: promote to lib/

2013-01-30 Thread Minchan Kim
On Wed, Jan 30, 2013 at 10:28:41AM -0600, Seth Jennings wrote: > On 01/29/2013 04:51 PM, Andrew Morton wrote: > > On Tue, 29 Jan 2013 15:40:22 -0600 > > Seth Jennings wrote: > > > >> This patch promotes the slab-based zsmalloc memory allocator > >> from the staging tree to lib/ > > > > Hate to

Re: [PATCH v8 2/4] block: add runtime pm helpers

2013-01-30 Thread Aaron Lu
On Wed, Jan 30, 2013 at 10:54:53AM -0500, Alan Stern wrote: > On Wed, 30 Jan 2013, Aaron Lu wrote: > > > From: Lin Ming > > > > Add runtime pm helper functions: > > > > void blk_pm_runtime_init(struct request_queue *q, struct device *dev) > > - Initialization function for drivers to call. >

Re: [PATCH] staging: zsmalloc: remove unused pool name

2013-01-30 Thread Greg Kroah-Hartman
On Wed, Jan 30, 2013 at 12:29:57PM -0500, Konrad Rzeszutek Wilk wrote: > On Wed, Jan 30, 2013 at 06:21:59PM +0100, Greg Kroah-Hartman wrote: > > On Wed, Jan 30, 2013 at 09:41:55AM -0600, Seth Jennings wrote: > > > On 01/30/2013 09:36 AM, Seth Jennings wrote:> zs_create_pool() > > > currently takes

Re: [RFC PATCH v2 01/12] Add sys_hotplug.h for system device hotplug framework

2013-01-30 Thread Greg KH
On Wed, Jan 30, 2013 at 06:15:12PM -0700, Toshi Kani wrote: > > Please make it a "real" pointer, and not a void *, those shouldn't be > > used at all if possible. > > How about changing the "void *handle" to acpi_dev_node below? > >struct acpi_dev_nodeacpi_node; > > Basically, it has

Re: [PATCHv2 1/9] staging: zsmalloc: add gfp flags to zs_create_pool

2013-01-30 Thread Minchan Kim
On Wed, Jan 30, 2013 at 11:11:47AM -0500, Konrad Rzeszutek Wilk wrote: > On Mon, Jan 28, 2013 at 11:59:17AM +0900, Minchan Kim wrote: > > On Fri, Jan 25, 2013 at 07:56:29AM -0800, Dan Magenheimer wrote: > > > > From: Seth Jennings [mailto:sjenn...@linux.vnet.ibm.com] > > > > Subject: Re: [PATCHv2

Re: [RFC 1/2] cpuidle: trace state of the CPU

2013-01-30 Thread Namhyung Kim
On Wed, 30 Jan 2013 22:19:16 +0100, Sebastian Andrzej Siewior wrote: > This patch adds an interface to cpuidle in order to retrieve the current > idle state of a given CPU. Zero means the CPU is not in an idle state. Either > because a cpuidle driver is not available or because the CPU is busy >

Re: [RFC 2/2] sched/fair: prefer a CPU in the "lowest" idle state

2013-01-30 Thread Namhyung Kim
Hi Sebastian and Michael, On Thu, 31 Jan 2013 10:12:35 +0800, Michael Wang wrote: > On 01/31/2013 05:19 AM, Sebastian Andrzej Siewior wrote: >> If a new CPU has to be choosen for a task, then the scheduler first selects >> the group with the least load. This group is returned if its load is lower

Re: Bug#695182: [RFC] Reproducible OOM with just a few sleeps

2013-01-30 Thread Ben Hutchings
On Thu, 2013-01-31 at 06:40 +1100, paul.sz...@sydney.edu.au wrote: > Dear Pavel and Dave, > > > The assertion was that 4GB with no PAE passed a forkbomb test (ooming) > > while 4GB of RAM with PAE hung, thus _PAE_ is broken. > > Yes, PAE is broken. Still, maybe the above needs slight correction:

Re: [RFC PATCH 0/4] SUNRPC: rework cache upcall to avoid NFSd root swapping

2013-01-30 Thread Stanislav Kinsbursky
31.01.2013 03:00, J. Bruce Fields пишет: On Tue, Jan 15, 2013 at 11:09:23AM +0300, Stanislav Kinsbursky wrote: The main idea of this patch set is to call cache request not on kthread upcall, but on userspace daemon cache_read call. This fixes the problem with gaining of wrong dentry path after

Re: [PATCHv5] tty: Added a CONFIG_TTY option to allow removal of TTY

2013-01-30 Thread Greg Kroah-Hartman
On Wed, Jan 30, 2013 at 05:15:19PM -0800, Joe Millenbach wrote: > The option allows you to remove TTY and compile without errors. This > saves space on systems that won't support TTY interfaces anyway. > bloat-o-meter output is below. > > The bulk of this patch consists of Kconfig changes adding

Questin about swap_slot free and invalidate page

2013-01-30 Thread Minchan Kim
When I reviewed zswap, I was curious about frontswap_store. It said following as. * If frontswap already contains a page with matching swaptype and * offset, the frontswap implementation may either overwrite the data and * return success or invalidate the page from frontswap and return

RE: [PATCH v4 5/8] MFD: ti_am335x_tscadc: Add DT support

2013-01-30 Thread Hiremath, Vaibhav
On Thu, Jan 31, 2013 at 09:41:11, Patil, Rachna wrote: > On Wed, Jan 30, 2013 at 16:10:09, Koen Kooi wrote: > > > > Op 24 jan. 2013, om 04:45 heeft "Patil, Rachna" het > > volgende geschreven: > > > > > From: "Patil, Rachna" > > > > > > Make changes to add DT support in the MFD core driver.

RE: [PATCH V2] suspend: enable freeze timeout configuration through sys

2013-01-30 Thread Li, Fei
Hello Rafael, I update it as below in V3, do you think it makes sense? At present, the value of timeout for freezing is 20s, which is meaningless in case that one thread is frozen with mutex locked and another thread is trying to lock the mutex, as this time of freezing will fail unavoidably.

[PATCH V3] suspend: enable freeze timeout configuration through sys

2013-01-30 Thread fli24
At present, the value of timeout for freezing is 20s, which is meaningless in case that one thread is frozen with mutex locked and another thread is trying to lock the mutex, as this time of freezing will fail unavoidably. And if there is no new wakeup event registered, the system will waste at

Re: [PATCH] checkpatch: fix USLEEP_RANGE test

2013-01-30 Thread Joe Perches
On Wed, 2013-01-30 at 11:15 -0800, Bruce Allan wrote: > Do not test udelay() for a value less than 10usec when passed a variable > instead of a hard-coded number; [] > diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl [] > @@ -3237,9 +3237,9 @@ sub process { [] > # prefer usleep_range

Re: [RFC 1/4] video: panel: add CLAA101WA01A panel support

2013-01-30 Thread Mark Zhang
On 01/31/2013 12:24 PM, Alexandre Courbot wrote: > On Thu, Jan 31, 2013 at 12:51 PM, Mark Zhang wrote: >>> DDC access is a property of the display controller, not the panel >>> itself. The panel might be hooked up to a display controller's DDC/I2C >>> channel as the target, but it isn't the

Re: [PATCH 2/2] regulators: anatop: add set_voltage_time_sel interface

2013-01-30 Thread Anson Huang
On Wed, Jan 30, 2013 at 02:30:47PM -0700, Troy Kisky wrote: > On 1/30/2013 3:37 PM, Anson Huang wrote: > >some of anatop's regulators(vppcpu, vddpu and vddsoc) have > >register settings about LDO's step time, which will impact > >the LDO ramp up speed, need to use set_voltage_time_sel > >interface

Re: [PATCH] cpufreq: SPEAr: Notify all policy->cpus of frequency change

2013-01-30 Thread Viresh Kumar
On 31 January 2013 10:23, Viresh Kumar wrote: > SPEAr cpufreq driver supports dual core Cortex-A9 SoC's, where cpus share > policy > structure. Whenever we update frequency of a cpu, we must notify all > policy->cpus. > > Signed-off-by: Viresh Kumar Find it attached too.

[PATCH] cpufreq: SPEAr: Notify all policy->cpus of frequency change

2013-01-30 Thread Viresh Kumar
SPEAr cpufreq driver supports dual core Cortex-A9 SoC's, where cpus share policy structure. Whenever we update frequency of a cpu, we must notify all policy->cpus. Signed-off-by: Viresh Kumar --- drivers/cpufreq/spear-cpufreq.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff

Re: [PATCH] cpufreq: exynos: simplify .init() for setting policy->cpus

2013-01-30 Thread Viresh Kumar
On 31 January 2013 10:22, Viresh Kumar wrote: > With the recent changes in cpufreq core, we just need to set mask of all > possible cpus into policy->cpus. Rest would be done by core. > > Signed-off-by: Viresh Kumar Oops! Sent the wrong patch again. Ignore this mail :) -- To unsubscribe from

Re: [PATCH v4 9/9] devcg: propagate local changes down the hierarchy

2013-01-30 Thread Serge E. Hallyn
Quoting a...@redhat.com (a...@redhat.com): ... > New exceptions allowing additional access to devices won't be propagated, but > it'll be possible to add an exception to access all of part of the newly > allowed device(s). Is that intended to apply only to only in the DEFAULT_DENY case? If so

Re: [PATCH 0/2] Extend interfaces to access PCIe capabilities registers

2013-01-30 Thread Bjorn Helgaas
On Fri, Jan 25, 2013 at 5:55 PM, Myron Stowe wrote: > This series is a minor extension to Jiang Liu's recent efforts - [PATCH v3 > 00/32] provide interfaces to access PCIe capabilities registers - which > adds an additional PCI Express accessor for obtaining a device's > Capabilities Register. >

Re: [PATCH 2/3] mm: accelerate mm_populate() treatment of THP pages

2013-01-30 Thread Michel Lespinasse
On Wed, Jan 30, 2013 at 7:05 PM, Hugh Dickins wrote: > On Wed, 30 Jan 2013, Michel Lespinasse wrote: > >> This change adds a page_mask argument to follow_page. >> >> follow_page sets *page_mask to HPAGE_PMD_NR - 1 when it encounters a THP >> page, >> and to 0 in other cases. >> >>

Re: [RFC 1/4] video: panel: add CLAA101WA01A panel support

2013-01-30 Thread Alexandre Courbot
On Thu, Jan 31, 2013 at 12:51 PM, Mark Zhang wrote: >> DDC access is a property of the display controller, not the panel >> itself. The panel might be hooked up to a display controller's DDC/I2C >> channel as the target, but it isn't the host/controller of the DDC/I2C >> channel. As such, placing

Re: [PATCH v4 9/9] devcg: propagate local changes down the hierarchy

2013-01-30 Thread Serge E. Hallyn
Quoting a...@redhat.com (a...@redhat.com): > +/** > + * propagate_behavior - propagates a change in the behavior down in hierarchy > + * @devcg_root: device cgroup that changed behavior > + * > + * returns: 0 in case of success, != 0 in case of error > + * > + * This is one of the two key

Re: [RFC 1/4] video: panel: add CLAA101WA01A panel support

2013-01-30 Thread Alexandre Courbot
On Thu, Jan 31, 2013 at 5:27 AM, Stephen Warren wrote: > So this looks like a reasonable binding to me. The one issue is that > it's very generic, and if we go this route, we'll probably end up with > tens or hundreds of identical or extremely similar simple bindings, and > associated drivers. >

RE: [PATCH v4 5/8] MFD: ti_am335x_tscadc: Add DT support

2013-01-30 Thread Patil, Rachna
On Wed, Jan 30, 2013 at 16:10:09, Koen Kooi wrote: > > Op 24 jan. 2013, om 04:45 heeft "Patil, Rachna" het volgende > geschreven: > > > From: "Patil, Rachna" > > > > Make changes to add DT support in the MFD core driver. > > > > Signed-off-by: Patil, Rachna > > --- > > Changes in v4: > >

Re: 3.8-rc5 xfs corruption

2013-01-30 Thread Dave Chinner
On Wed, Jan 30, 2013 at 10:16:47PM -0500, CAI Qian wrote: > Hello, > > (Sorry to post to xfs mailing lists but unsure about which one is the > best for this.) Trimmed to just x...@oss.sgi.com. > I have seen something like this once during testing on a system with a > EMC VNX FC/multipath

RE: [PATCH] mtd: devices: elm: Removes literals in elm DT node

2013-01-30 Thread Philip, Avinash
Hi Artem, On Thu, Jan 24, 2013 at 14:00:38, Peter Korsgaard wrote: > > "Philip" == Philip Avinash writes: > > Philip> As part of removing generalized dependency, replace > Philip> literal fields in DT compatible field with <52> for am335x > Philip> platforms. > > Acked-by: Peter

Re: [PATCH] cpuidle: fix new C-states not functional after AC disconnect

2013-01-30 Thread Julius Werner
>> Rafael, is possible to apply the patch [1/2] I previously sent ? >> >> https://patchwork.kernel.org/patch/1878691/ > > I need to talk about this with Len. That should happen tomorrow if everything > goes well. Hi Rafael, Have you made a decision on picking up Daniel's first change yet? I

Re: [PATCH] tty: Fix ptmx open without closed slave.

2013-01-30 Thread Peter Hurley
Hi Ilya, On Wed, 2012-12-19 at 23:00 +0400, Ilya Zykov wrote: > When we are opening ptmx, we have closed pts, by description. > Now only if we open and after close all pts' descriptions, pty_close() sets > this bit correctly > > Signed-off-by: Ilya Zykov > --- > drivers/tty/pty.c |1 + > 1

Re: [RFC 1/4] video: panel: add CLAA101WA01A panel support

2013-01-30 Thread Mark Zhang
On 01/31/2013 04:19 AM, Stephen Warren wrote: > On 01/30/2013 12:20 AM, Mark Zhang wrote: >> On 01/30/2013 11:02 AM, Alexandre Courbot wrote: >>> Add support for the Chunghwa CLAA101WA01A display panel. > >>> +static int panel_claa101_get_modes(struct display_entity *entity, >>> +

MIPS atomic_set_mask and atomic_clear_mask

2013-01-30 Thread yili0568
Hello, everybody: Does MIPS need the functions atomic_set_mask and atomic_clear_mask? Or how can I implement these functions. -- 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 2/2] ACPI / scan: Clean up acpi_bus_get_parent()

2013-01-30 Thread Yasuaki Ishimatsu
2013/01/31 7:04, Rafael J. Wysocki wrote: From: Rafael J. Wysocki Make acpi_bus_get_parent() more straightforward and remove an unnecessary local variable ret from it. Signed-off-by: Rafael J. Wysocki --- Acked-by: Yasuaki Ishimatsu drivers/acpi/scan.c | 16 +--- 1 file

Re: [PATCH v6 00/15] memory-hotplug: hot-remove physical memory

2013-01-30 Thread Tang Chen
Hi Simon, Please see below. :) On 01/31/2013 09:22 AM, Simon Jeons wrote: Sorry, I still confuse. :( update node_states[N_NORMAL_MEMORY] to node_states[N_MEMORY] or node_states[N_NORMAL_MEMOR] present 0...ZONE_MOVABLE? node_states is what? node_states[N_NORMAL_MEMOR] or

[RESEND PATCH 4/4] GPU/i915: Fix acpi_bus_get_device() check in drivers/gpu/drm/i915/intel_opregion.c

2013-01-30 Thread Yasuaki Ishimatsu
I forgot to change subject. So I resend a patch. --- acpi_bus_get_device() returns int not acpi_status. The patch change not to apply ACPI_FAILURE() to the return value of acpi_bus_get_device(). Signed-off-by: Yasuaki Ishimatsu --- drivers/gpu/drm/i915/intel_opregion.c |2 +- 1 file

[RESEND PATCH 3/4] PNPACPI: Fix acpi_bus_get_device() check in drivers/pnp/pnpacpi/core.c

2013-01-30 Thread Yasuaki Ishimatsu
I forgot to chnage subject. So I resend a patch. --- acpi_bus_get_device() returns int not acpi_status. The patch change not to apply ACPI_FAILURE() to the return value of acpi_bus_get_device(). Signed-off-by: Yasuaki Ishimatsu --- drivers/pnp/pnpacpi/core.c | 10 +- 1 file

[PATCH V3] regulators: anatop: add set_voltage_time_sel interface

2013-01-30 Thread Anson Huang
some of anatop's regulators(cpu, vddpu and vddsoc) have register settings about LDO's step time, which will impact the LDO ramp up speed, need to use set_voltage_time_sel interface to add necessary delay everytime LDOs' voltage is increased. offset 0x170: bit [24-25]: cpu bit [26-27]: vddpu bit

[RESEND PATCH 2/4] ACPI/dock: Fix acpi_bus_get_device() check in drivers/acpi/ddock.c

2013-01-30 Thread Yasuaki Ishimatsu
I forgot to change subject. So I resend a patch. --- acpi_bus_get_device() returns int not acpi_status. The patch change not to apply ACPI_SUCCESS() to the return value of acpi_bus_get_device(). Signed-off-by: Yasuaki Ishimatsu --- drivers/acpi/dock.c |2 +- 1 file changed, 1

[RESEND PATCH 1/4] ACPI/PM: Fix acpi_bus_get_device() check in drivers/acpi/device_pm.c

2013-01-30 Thread Yasuaki Ishimatsu
I fogot to change subject. So I resend a patch. --- acpi_bus_get_device() returns int not acpi_status. The patch change not to apply ACPI_FAILURE() to the return value of acpi_bus_get_device(). Signed-off-by: Yasuaki Ishimatsu --- drivers/acpi/device_pm.c |6 +++--- 1 file changed, 3

Re: [PATCH 0/4] Fix acpi_bus_get_device() check

2013-01-30 Thread Yasuaki Ishimatsu
acpi_bus_get_device() returns int not acpi_status. The patch change not to apply ACPI_FAILURE() to the return value of acpi_bus_get_device(). Signed-off-by: Yasuaki Ishimatsu --- drivers/gpu/drm/i915/intel_opregion.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index:

Re: [PATCH 0/4] Fix acpi_bus_get_device() check

2013-01-30 Thread Yasuaki Ishimatsu
acpi_bus_get_device() returns int not acpi_status. The patch change not to apply ACPI_FAILURE() to the return value of acpi_bus_get_device(). Signed-off-by: Yasuaki Ishimatsu --- drivers/pnp/pnpacpi/core.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) Index:

3.8-rc5 xfs corruption

2013-01-30 Thread CAI Qian
Hello, (Sorry to post to xfs mailing lists but unsure about which one is the best for this.) I have seen something like this once during testing on a system with a EMC VNX FC/multipath back-end. Kernel config file is here, http://people.redhat.com/qcai/stable/.config [ 3025.063024]

Re: [PATCH 0/4] Fix acpi_bus_get_device() check

2013-01-30 Thread Yasuaki Ishimatsu
acpi_bus_get_device() returns int not acpi_status. The patch change not to apply ACPI_SUCCESS() to the return value of acpi_bus_get_device(). Signed-off-by: Yasuaki Ishimatsu --- drivers/acpi/dock.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux-pm/drivers/acpi/dock.c

Re: [PATCH 0/4] Fix acpi_bus_get_device() check

2013-01-30 Thread Yasuaki Ishimatsu
acpi_bus_get_device() returns int not acpi_status. The patch change not to apply ACPI_FAILURE() to the return value of acpi_bus_get_device(). Signed-off-by: Yasuaki Ishimatsu --- drivers/acpi/device_pm.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Index:

[PATCH 0/4] Fix acpi_bus_get_device() check

2013-01-30 Thread Yasuaki Ishimatsu
Some functions use ACPI_SUCCESS/FAILURE for checking return value of acpi_bus_get_device(). Following patches change not to apply ACPI_SUCCESS/FAILURE to the return value of acpi_bus_get_device(). [PATCH 1/4] ACPI/PM: Fix acpi_bus_get_device() check in drivers/acpi/device_pm.c [PATCH 2/4]

Re: [RFC PATCH v2 01/12] Add sys_hotplug.h for system device hotplug framework

2013-01-30 Thread Toshi Kani
On Tue, 2013-01-29 at 23:58 -0500, Greg KH wrote: > On Thu, Jan 10, 2013 at 04:40:19PM -0700, Toshi Kani wrote: > > +/* > > + * Hot-plug device information > > + */ > > Again, stop it with the "generic" hotplug term here, and everywhere > else. You are doing a very _specific_ type of hotplug

Re: [PATCH V2] regulators: anatop: add set_voltage_time_sel interface

2013-01-30 Thread Shawn Guo
On Thu, Jan 31, 2013 at 10:57:06AM -0500, Anson Huang wrote: > some of anatop's regulators(cpu, vddpu and vddsoc) have > register settings about LDO's step time, which will impact > the LDO ramp up speed, need to use set_voltage_time_sel > interface to add necessary delay everytime LDOs' voltage >

Re: [PATCH 2/3] mm: accelerate mm_populate() treatment of THP pages

2013-01-30 Thread Hugh Dickins
On Wed, 30 Jan 2013, Michel Lespinasse wrote: > This change adds a page_mask argument to follow_page. > > follow_page sets *page_mask to HPAGE_PMD_NR - 1 when it encounters a THP page, > and to 0 in other cases. > > __get_user_pages() makes use of this in order to accelerate populating > THP

Re: [PATCH 1/2] ACPI / scan: Fix acpi_bus_get_device() check in acpi_match_device()

2013-01-30 Thread Yasuaki Ishimatsu
2013/01/31 7:03, Rafael J. Wysocki wrote: From: Rafael J. Wysocki Since acpi_bus_get_device() returns int and not acpi_status, change acpi_match_device() so that it doesn't apply ACPI_FAILURE() to the return value of acpi_bus_get_device(). Signed-off-by: Rafael J. Wysocki --- I have no

[PATCH V2] regulators: anatop: add set_voltage_time_sel interface

2013-01-30 Thread Anson Huang
some of anatop's regulators(cpu, vddpu and vddsoc) have register settings about LDO's step time, which will impact the LDO ramp up speed, need to use set_voltage_time_sel interface to add necessary delay everytime LDOs' voltage is increased. offset 0x170: bit [24-25]: cpu bit [26-27]: vddpu bit

RE: [PATCH 2/4] ARM: imx: set CKO1 parent clock source in imx6q sabresd

2013-01-30 Thread Zhang Quan-B13634
Shawn, Thank your feedback, please see the comments inline Best Regards Gary > -Original Message- > From: Shawn Guo [mailto:shawn@linaro.org] > Sent: Tuesday, January 29, 2013 19:29 > To: Zhang Quan-B13634 > Cc: ker...@pengutronix.de; li...@arm.linux.org.uk; >

RE: [PATCH] arm: dts: omap4-sdp: Add I2c pinctrl data

2013-01-30 Thread Kumar, Anil
On Wed, Jan 30, 2013 at 14:36:10, Coelho, Luciano wrote: > On Wed, 2013-01-30 at 14:18 +0530, Santosh Shilimkar wrote: > > On Wednesday 30 January 2013 02:13 PM, Kumar, Anil wrote: > > > Hi Sourav, > > > > > > On Wed, Jan 30, 2013 at 12:10:18, Poddar, Sourav wrote: > > >> Hi Luciano, > > >> On

[PATCH] cpufreq: exynos: simplify .init() for setting policy->cpus

2013-01-30 Thread Viresh Kumar
With the recent changes in cpufreq core, we just need to set mask of all possible cpus into policy->cpus. Rest would be done by core. Signed-off-by: Viresh Kumar --- drivers/cpufreq/exynos-cpufreq.c | 14 +- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git

Re: [PATCH v4 8/9] devcg: refactor dev_exception_clean()

2013-01-30 Thread Li Zefan
On 2013/1/31 4:50, Tejun Heo wrote: > Hello, > > On Wed, Jan 30, 2013 at 12:49 PM, Aristeu Rozanski > that's not > intentional. thanks for catching this >> >> Tejun, you want me to resubmit the whole series or just the next patch >> (where I was supposed to move that chunk)? > > If it doesn't

Re: [RFC 2/2] sched/fair: prefer a CPU in the "lowest" idle state

2013-01-30 Thread Michael Wang
On 01/31/2013 05:19 AM, Sebastian Andrzej Siewior wrote: > If a new CPU has to be choosen for a task, then the scheduler first selects > the group with the least load. This group is returned if its load is lower > compared to the group to which the task is currently assigned. > If there are

Re: [PATCH, RFC 00/16] Transparent huge page cache

2013-01-30 Thread Hugh Dickins
On Tue, 29 Jan 2013, Kirill A. Shutemov wrote: > Hugh Dickins wrote: > > On Mon, 28 Jan 2013, Kirill A. Shutemov wrote: > > > From: "Kirill A. Shutemov" > > > > > > Here's first steps towards huge pages in page cache. > > > > > > The intend of the work is get code ready to enable transparent

Re: [PATCH 0/3] Enable multiple MSI feature in pSeries

2013-01-30 Thread Mike
Hi all Any comments about my patchset? Thanks Mike 在 2013-01-15二的 15:38 +0800,Mike Qiu写道: > Currently, multiple MSI feature hasn't been enabled in pSeries, > These patches try to enbale this feature. > > These patches have been tested by using ipr driver, and the driver patch > has been made

  1   2   3   4   5   6   7   8   9   10   >