Re: eGalax touchscreen regression

2013-04-24 Thread Artem Bityutskiy
On Tue, 2013-04-23 at 08:40 -0700, Dmitry Torokhov wrote: the eGalax driver now requires OF. For us this is a regression because we do not have OF: https://bugs.tizen.org/jira/browse/TIVI-740 I see. In this case we need to come up with a platform data to pass wakeup gpio in case platform

Re: [PATCH 2/2] f2fs: add REQ_META about metadata requests for submit bio

2013-04-24 Thread Namjae Jeon
+ if (type == META) Should be if (btype == META). Thanks, Yes, Right :) Thanks for fixing. Hi. Jaegeuk. Should I resend the fixed patch as above your comment ? Thanks. + rw |= REQ_META; + if (sbi-bio[btype]) { struct bio_private *p =

Re: [HELP] Documentation on CPU:/sys/devices/system/cpu/cpuX/cache/indexX/shared_cpu_map

2013-04-24 Thread Rob Landley
On 04/23/2013 08:07:44 AM, Ren Zhen wrote: Hi all: Can anybody help me to understand the usage of 'shared_cpu_map' in /sys/devices/system/cpu/cpuX/cache/indexX/. when I execute the cmd--'#cat shared_cpu_map', it retures '05'. And my computer use Ubuntu12.04,Intel core i3 CPU. I

Re: [PATCH] regulator: max8973: Don't override control1 variable when set ramp delay bits

2013-04-24 Thread Laxman Dewangan
On Tuesday 23 April 2013 09:44 PM, Axel Lin wrote: Current code overrides control1 variable when setting ramp delay bits. Fix it by just setting ramp_delay bits. Signed-off-by: Axel Lin axel@ingics.com Acked-by: Laxman Dewanganldewan...@nvidia.com -- To unsubscribe from this list: send the

[PATCH v2 0/8] powerpc/pseries: Nvram-to-pstore

2013-04-24 Thread Aruna Balakrishnaiah
Currently the kernel provides the contents of p-series NVRAM only as a simple stream of bytes via /dev/nvram, which must be interpreted in user space by the nvram command in the powerpc-utils package. This patch set exploits the pstore subsystem to expose each partition in NVRAM as a separate file

[PATCH v2 1/8] powerpc/pseries: Remove syslog prefix in uncompressed oops text

2013-04-24 Thread Aruna Balakrishnaiah
Removal of syslog prefix in the uncompressed oops text will help in capturing more oops data. Signed-off-by: Aruna Balakrishnaiah ar...@linux.vnet.ibm.com Reviewed-by: Jim Keniston jkeni...@us.ibm.com --- arch/powerpc/platforms/pseries/nvram.c |2 +- 1 file changed, 1 insertion(+), 1

[PATCH v2 4/8] powerpc/pseries: Read/Write oops nvram partition via pstore

2013-04-24 Thread Aruna Balakrishnaiah
IBM's p series machines provide persistent storage for LPARs through NVRAM. NVRAM's lnx,oops-log partition is used to log oops messages. Currently the kernel provides the contents of p-series NVRAM only as a simple stream of bytes via /dev/nvram, which must be interpreted in user space by the

[PATCH v2 3/8] powerpc/pseries: Introduce generic read function to read nvram-partitions

2013-04-24 Thread Aruna Balakrishnaiah
Introduce generic read function to read nvram partitions other than rtas. nvram_read_error_log will be retained which is used to read rtas partition from rtasd. nvram_read_partition is the generic read function to read from any nvram partition. Signed-off-by: Aruna Balakrishnaiah

[PATCH v2 5/8] powerpc/pseries: Read rtas partition via pstore

2013-04-24 Thread Aruna Balakrishnaiah
This patch set exploits the pstore subsystem to read details of rtas partition in NVRAM to a separate file in /dev/pstore. For instance, rtas details will be stored in a file named [rtas-nvram-4]. Signed-off-by: Aruna Balakrishnaiah ar...@linux.vnet.ibm.com Reviewed-by: Jim Keniston

[PATCH v2 6/8] powerpc/pseries: Distinguish between a os-partition and non-os partition

2013-04-24 Thread Aruna Balakrishnaiah
Introduce os_partition member in nvram_os_partition structure to identify if the partition is an os partition or not. This will be useful to handle non-os partitions of-config and common. Signed-off-by: Aruna Balakrishnaiah ar...@linux.vnet.ibm.com Reviewed-by: Jim Keniston jkeni...@us.ibm.com

[PATCH v2 7/8] powerpc/pseries: Read of-config partition via pstore

2013-04-24 Thread Aruna Balakrishnaiah
This patch set exploits the pstore subsystem to read details of of-config partition in NVRAM to a separate file in /dev/pstore. For instance, of-config partition details will be stored in a file named [of-nvram-5]. Signed-off-by: Aruna Balakrishnaiah ar...@linux.vnet.ibm.com Reviewed-by: Jim

[PATCH v2 8/8] powerpc/pseries: Read common partition via pstore

2013-04-24 Thread Aruna Balakrishnaiah
This patch exploits pstore subsystem to read details of common partition in NVRAM to a separate file in /dev/pstore. For instance, common partition details will be stored in a file named [common-nvram-6]. Signed-off-by: Aruna Balakrishnaiah ar...@linux.vnet.ibm.com Reviewed-by: Jim Keniston

[PATCH v2 2/8] powerpc/pseries: Add version and timestamp to oops header

2013-04-24 Thread Aruna Balakrishnaiah
Introduce version and timestamp information in the oops header. oops_log_info (oops header) holds version (to distinguish between old and new format oops header), length of the oops text (compressed or uncompressed) and timestamp. The version field will sit in the same place as the length in old

Re: helping with tracking commits across repos

2013-04-24 Thread D M German
Greg On Mon, Apr 15, 2013 at 05:13:45PM -0700, D M German wrote: Greg KH twisted the bytes to say: http://o.cs.uvic.ca:20810/perl/next.pl Greg Yes, that's a great thing. Maybe the ability to see the subject: line Greg of the commit somewhere easier than having to click

Re: [PATCH] PowerPC: kernel: memory access violation when rtas_data_buf contents are more than 1026

2013-04-24 Thread Vasant Hegde
On 04/23/2013 08:42 AM, Chen Gang wrote: need set '\0' for 'local_buffer'. SPLPAR_MAXLENGTH is 1026, RTAS_DATA_BUF_SIZE is 4096. so the contents of rtas_data_buf may truncated in memcpy. if contents are really truncated. the splpar_strlen is more than 1026. the next while loop checking

[PATCH] VSOCK: Fix misc device registration

2013-04-24 Thread Asias He
When we call vsock_core_init to init VSOCK the second time, vsock_device.minor still points to the old dynamically allocated minor number. misc_register will allocate it for us successfully as if we were asking for a static one. However, when other user call misc_register to allocate a dynamic

Re: [PATCH -next] gpu: host1x: gr2d drivers/gpu/host1x/drm/gr2d.c: fix error return code in gr2d_submit()

2013-04-24 Thread Thierry Reding
On Wed, Apr 24, 2013 at 10:19:27AM +0800, Wei Yongjun wrote: From: Wei Yongjun yongjun_...@trendmicro.com.cn Fix to return a negative error code from the error handling case instead of 0, as done elsewhere in this function. Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn ---

[PATCH] usb: musb: make use_sg flag URB specific

2013-04-24 Thread Fabio Baltieri
From: Virupax Sadashivpetimath virupax.sadashivpetim...@stericsson.com Since highmem PIO URB handling was introduced in: 8e8a551 usb: musb: host: Handle highmem in PIO mode when a URB is being handled it may happen that the static use_sg flag was set by a previous URB with buffer in highmem.

Re: [PATCH 1/1] usb: ehci-fsl: set INCR8 mode only on MPC512x

2013-04-24 Thread tiejun.chen
On 04/24/2013 01:55 PM, Anatolij Gustschin wrote: On Wed, 24 Apr 2013 10:55:10 +0800 Tiejun Chen tiejun.c...@windriver.com wrote: commit 761bbcb7, usb: ehci-fsl: set INCR8 mode for system bus interface on MPC512x, introduced to fix one MPC5121e (M36P) Errata by setting INCR8 mode for system

Re: [PATCH -next v2] gpu: host1x: gr2d: fix error return code in gr2d_submit()

2013-04-24 Thread Thierry Reding
On Wed, Apr 24, 2013 at 10:44:08AM +0800, Wei Yongjun wrote: From: Wei Yongjun yongjun_...@trendmicro.com.cn Fix to return -EINVAL in the host1x_bo lookup error handling case instead of 0, as done elsewhere in this function. So with my comment to v1 addressed this becomes invalid again. I

Re: [PATCH -next RESEND] gpu: host1x: drm: fix missing unlock on error

2013-04-24 Thread Thierry Reding
On Wed, Apr 24, 2013 at 11:07:30AM +0800, Wei Yongjun wrote: On 04/24/2013 10:53 AM, Mark Zhang wrote: I think Thierry has acked this patch. So why? Yes, Thierry has acked this patch five months ago, but this patch does not applied util now. And the source file has been moved from

[RFC][PATCH 1/1] USB/EHCI: work for different PHY_CLK_VALID detecting order

2013-04-24 Thread Tiejun Chen
Due to different controller issue of PHY_CLK_VALID in ULPI mode, in some cases, after set PHY_CLK_SEL, we should set USB_CTRL_USB_EN before checking PHY_CLK_VALID, otherwise PHY_CLK_VALID doesn't work. But in other cases USB_CTRL_USB_EN is already set previously and PHY_CLK_VALID is not valid

Re: Print out additional debugging advice when we hit lockdep BUGs

2013-04-24 Thread Ingo Molnar
* Dave Jones da...@redhat.com wrote: We occasionally get reports of these BUGs being hit, and the stack trace doesn't necessarily always tell us what we need to know about why we are hitting those limits. If users start attaching /proc/lock_stats to reports we may have more of a clue

Re: [PATCH v2 6/6] add documentation on proc.txt

2013-04-24 Thread Rob Landley
On 04/23/2013 08:41:04 PM, Minchan Kim wrote: This patch adds stuff about new reclaim field in proc.txt Cc: Rob Landley r...@landley.net Signed-off-by: Minchan Kim minc...@kernel.org --- Rob, I didn't add your Acked-by because interface was slight changed. I hope you give Acke-by after review

Re: [RFC 00/14] perf tools: Introduce new 'ftrace' command

2013-04-24 Thread Ingo Molnar
* Pekka Enberg penb...@kernel.org wrote: Hello, On Tue, 2013-04-23 at 17:30 +0900, Namhyung Kim wrote: This patchset implements a front-end tool for kernel's ftrace. It uses function_graph tracer by default and normal function tracer is also supported. (Of course you need to enable

[PATCH -next v3] gpu: host1x: gr2d: fix error return code in gr2d_submit()

2013-04-24 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn Fix to return -ENOENT in the host1x_bo lookup error handling case instead of 0, as done elsewhere in this function. Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn --- v1 - v2: fix the patch subject --- drivers/gpu/host1x/drm/gr2d.c | 8

Re: [PATCH 04/10] usb: musb: ux500: harden checks for platform data

2013-04-24 Thread Lee Jones
Hi Sergei, struct musb_hdrc_platform_data *plat = dev-platform_data; -struct ux500_musb_board_data *data = plat-board_data; +struct ux500_musb_board_data *data; -param_array = data-dma_rx_param_array; +param_array = (data) ? data-dma_rx_param_array : NULL; Why

linux-next: manual merge of the arm-soc tree with the pm tree

2013-04-24 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in arch/arm/mach-exynos/cpuidle.c between commit 554c06ba3ee2 (cpuidle: remove en_core_tk_irqen flag) from the pm tree and commit 2eb89f893e44 (ARM: EXYNOS: factor out the idle states) from the arm-soc tree. I fixed it up (see

Re: [PATCH] PowerPC: kernel: memory access violation when rtas_data_buf contents are more than 1026

2013-04-24 Thread Chen Gang
On 2013年04月24日 14:28, Vasant Hegde wrote: On 04/23/2013 08:42 AM, Chen Gang wrote: need set '\0' for 'local_buffer'. SPLPAR_MAXLENGTH is 1026, RTAS_DATA_BUF_SIZE is 4096. so the contents of rtas_data_buf may truncated in memcpy. if contents are really truncated. the splpar_strlen is

Re: [PATCH V3 3/3] pwm: pxa: add device tree support

2013-04-24 Thread Thierry Reding
On Tue, Apr 23, 2013 at 10:23:54PM -0400, Chao Xie wrote: [...] @@ -124,9 +128,52 @@ static struct pwm_ops pxa_pwm_ops = { .owner = THIS_MODULE, }; -static int pwm_probe(struct platform_device *pdev) +static struct of_device_id pxa_pwm_of_match[] = { static const, please. +#ifdef

Re: [PATCH V3 2/3] pwm: pxa: use module_platform_driver for driver register

2013-04-24 Thread Thierry Reding
On Tue, Apr 23, 2013 at 10:23:53PM -0400, Chao Xie wrote: Signed-off-by: Chao Xie chao@marvell.com The subject is a bit redundant. Something like: pwm: pxa: use module_platform_driver() would be enough. But I'd like to see a commit message which also mentions that the driver used

Re: [PATCH V3 1/3] pwm: pxa: ARCH_MMP share same pwm driver with ARCH_PXA

2013-04-24 Thread Thierry Reding
On Tue, Apr 23, 2013 at 10:23:52PM -0400, Chao Xie wrote: the pwm driver is not only used by ARCH_PXA but also ARCH_MMP Please use only uppercase PWM in prose. Also the commit description is a full sentence so it should start with a capital letter and end with a full-stop. Thierry

Re: [PATCH] PowerPC: kernel: memory access violation when rtas_data_buf contents are more than 1026

2013-04-24 Thread Vasant Hegde
On 04/24/2013 12:33 PM, Chen Gang wrote: On 2013年04月24日 14:28, Vasant Hegde wrote: On 04/23/2013 08:42 AM, Chen Gang wrote: need set '\0' for 'local_buffer'. SPLPAR_MAXLENGTH is 1026, RTAS_DATA_BUF_SIZE is 4096. so the contents of rtas_data_buf may truncated in memcpy. if contents are

Re: [Patch v2] mm: slab: Verify the nodeid passed to ____cache_alloc_node

2013-04-24 Thread Pekka Enberg
On Tue, Apr 23, 2013 at 5:31 PM, Aaron Tomlin atom...@redhat.com wrote: This patch is in response to BZ#42967 [1]. Using VM_BUG_ON so it's used only when CONFIG_DEBUG_VM is set, given that cache_alloc_node() is a hot code path. The patch is pretty badly mangled and does not apply with 'git

Re: Unsigned widening casts of binary not operations..

2013-04-24 Thread Ingo Molnar
* Linus Torvalds torva...@linux-foundation.org wrote: And there's quite a lot of them. Even in my (fairly small) config I use on my desktop. And the first warnings I see are in x86 code: arch/x86/kernel/traps.c:405:16: warning: implicit unsigned widening cast of a '~' expression

Re: [PATCH] slab: Remove unnecessary __builtin_constant_p()

2013-04-24 Thread Pekka Enberg
Hello, On Tue, Apr 23, 2013 at 12:16 AM, Andrew Morton a...@linux-foundation.org wrote: The patch made index_of() weaker! It's probably all a bit academic, given that linux-next does -/* - * This function must be completely optimized away if a constant is passed to - * it. Mostly the same

Re: [GIT PULL] nohz: Adaptively stop the tick, finally

2013-04-24 Thread Ingo Molnar
* Frederic Weisbecker fweis...@gmail.com wrote: Ingo, Please pull the latest full dynticks branch that can found at: git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git timers/nohz HEAD: 67826eae8c16dbf00c262be6ec15021bb42f69c4 This handles perf and CPUs

Re: [PATCH V3 3/3] pwm: pxa: add device tree support

2013-04-24 Thread Thierry Reding
On Tue, Apr 23, 2013 at 10:23:54PM -0400, Chao Xie wrote: Add the deice tree support for pwm-pxa. Instead of repeating the patch subject here, maybe you could be more verbose about the changes you make, like splitting off the parsing of OF and platform data into separate functions. diff --git

Re: [PATCH V3 0/3] pwm: pxa: bug fix and device tree support

2013-04-24 Thread Thierry Reding
When you send the next version, can you please Cc Eric Miao. I'd like to get his Acked-by on this series. Thanks, Thierry pgp2nlpIOoztK.pgp Description: PGP signature

Re: [GIT PULL] nohz: Adaptively stop the tick, finally

2013-04-24 Thread Ingo Molnar
* Ingo Molnar mi...@kernel.org wrote: One detail: 'make oldconfig' gave me: Timer tick handling 1. Periodic timer ticks (constant rate, no dynticks) (HZ_PERIODIC) (NEW) 2. Idle dynticks system (tickless idle) (NO_HZ_IDLE) (NEW) I.e. CONFIG_NO_HZ_IDLE is picked by default. The

Re: [PATCH 0/9] TPU PWM support

2013-04-24 Thread Simon Horman
dependencies. That tag includes the renesas-pinmux2-for-v3.10 tag which the pinmux branch was previously based on. I have applied this entire series on the resulting pinmux branch. I plan to push this when I tag renesas-next-20130424 later today. If not I will tag and push renesas-next-20130425 tomorrow

Re: [PATCHv3 00/14] drivers: mailbox: framework creation

2013-04-24 Thread Loic PALLARDY
Hi Jassi, Suman, On 04/23/2013 09:20 PM, Anna, Suman wrote: Hi Jassi, On Mon, Apr 22, 2013 at 9:26 PM, Anna, Sumans-a...@ti.com wrote: a) No documentation. Usually the header would have proper documentation of data structures and info for users of both side of the api. I will fix the

Re: [PATCH -next RESEND] gpu: host1x: drm: fix missing unlock on error

2013-04-24 Thread Thierry Reding
On Wed, Apr 24, 2013 at 10:48:23AM +0800, Wei Yongjun wrote: From: Wei Yongjun yongjun_...@trendmicro.com.cn Add the missing unlock before return from function host1x_drm_init() and host1x_drm_exit() in the error handling case. Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn I've

Re: [PATCH] PowerPC: kernel: memory access violation when rtas_data_buf contents are more than 1026

2013-04-24 Thread Chen Gang
On 2013年04月24日 15:23, Vasant Hegde wrote: On 04/24/2013 12:33 PM, Chen Gang wrote: On 2013年04月24日 14:28, Vasant Hegde wrote: On 04/23/2013 08:42 AM, Chen Gang wrote: need set '\0' for 'local_buffer'. SPLPAR_MAXLENGTH is 1026, RTAS_DATA_BUF_SIZE is 4096. so the contents of rtas_data_buf

[PATCH 08/10 v2] ARM: ux500: Populate the ux500-musb Device Tree entry

2013-04-24 Thread Lee Jones
This patch provides all the information to successfully probe() and correctly configure the ux500-musb device driver for DMA. Signed-off-by: Lee Jones lee.jo...@linaro.org diff --git a/arch/arm/boot/dts/dbx5x0.dtsi b/arch/arm/boot/dts/dbx5x0.dtsi index 86b35a1..838214c 100644 ---

Re: [PATCH -next v3] gpu: host1x: gr2d: fix error return code in gr2d_submit()

2013-04-24 Thread Thierry Reding
On Wed, Apr 24, 2013 at 02:50:51PM +0800, Wei Yongjun wrote: From: Wei Yongjun yongjun_...@trendmicro.com.cn Fix to return -ENOENT in the host1x_bo lookup error handling case instead of 0, as done elsewhere in this function. Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn I've

[PATCH 06/10 v2] usb: musb: ux500: add device tree probing support

2013-04-24 Thread Lee Jones
usb: musb: ux500: add device tree probing support This patch will allow ux500-musb to be probed and configured solely from configuration found in Device Tree. Cc: Felipe Balbi ba...@ti.com Cc: linux-...@vger.kernel.org Signed-off-by: Lee Jones lee.jo...@linaro.org diff --git

Re: [PATCH] arch/powerpc/kernel: using %12.12s instead of %12s for avoiding memory overflow.

2013-04-24 Thread Chen Gang
Hello Vasant Hegde: How about this patch, is it OK ? Thanks. On 2013年03月25日 12:30, Chen Gang wrote: Hello Maintainers: could you help check this patch whether is ok ? thanks. On 2013年02月17日 12:00, Chen Gang wrote: Hello relative members: please give a glance to this patch,

Re: Unsigned widening casts of binary not operations..

2013-04-24 Thread Cyrill Gorcunov
On Wed, Apr 24, 2013 at 09:26:30AM +0200, Ingo Molnar wrote: * Linus Torvalds torva...@linux-foundation.org wrote: And there's quite a lot of them. Even in my (fairly small) config I use on my desktop. And the first warnings I see are in x86 code: arch/x86/kernel/traps.c:405:16:

Re: [PATCH] ARM: ux500: Supply a DTS file for the u8540 platform

2013-04-24 Thread Lee Jones
On Tue, 23 Apr 2013, Linus Walleij wrote: On Thu, Apr 4, 2013 at 9:29 AM, Lee Jones lee.jo...@linaro.org wrote: This is a skeleton DTS file which only enables serial. Just using this simple file yields a terminal when booting u8540. Signed-off-by: Lee Jones lee.jo...@linaro.org Now,

linux-next: build failure after merge of the final tree (staging tree related))

2013-04-24 Thread Stephen Rothwell
Hi all, After merging the final tree, today's linux-next build (powerpc allyesconfig) failed like this: drivers/staging/comedi/drivers/ni_labpc.c: In function 'labpc_ai_cmd': drivers/staging/comedi/drivers/ni_labpc.c:980:9: error: implicit declaration of function 'virt_to_bus'

[PATCH] Revert V4L/DVB: uvc: Enable USB autosuspend by default on uvcvideo

2013-04-24 Thread adam . lee
From: Adam Lee adam@canonical.com This reverts commit 3dae8b41dc5651f8eb22cf310e8b116480ba25b7. 1, I do have a Chicony webcam, implements autosuspend in a broken way, make `poweroff` performs rebooting when its autosuspend enabled. 2, There are other webcams which don't support autosuspend

Re: [PATCHv3 00/14] drivers: mailbox: framework creation

2013-04-24 Thread Jassi Brar
Hi Loic, On 24 April 2013 13:09, Loic PALLARDY loic.palla...@st.com wrote: Hi Jassi, Suman, Yes, the xxx_no_irq API has been introduced to answer some STE requirements. It must be possible to send some message under atomic context for different reasons (latency, during idle/suspend

Re: [PATCHv3 00/14] drivers: mailbox: framework creation

2013-04-24 Thread Loic PALLARDY
Hi Jassi, On 04/24/2013 06:39 AM, Jassi Brar wrote: Hi Suman, [please limit replies to not more than 80 columns per line] On 24 April 2013 00:50, Anna, Sumans-a...@ti.com wrote: Documentation wise, we'd need documentation for what we finally wanna have, not the current implementation.

Re: [PREEMPT RT] SLUB and split softirq lock for v3.2-rt

2013-04-24 Thread Sebastian Andrzej Siewior
On 04/24/2013 04:36 AM, Steven Rostedt wrote: Hi Sebastian, Hi Steven, Which version of 3.2-rt was this applied to. It does not apply, where patch 7/16 totally does not apply. I looked at the history of 3.2-rt and I can't find where it would apply. I applied them on top of 2438ee33 (Linux

Re: [PATCH] arch/powerpc/kernel: using %12.12s instead of %12s for avoiding memory overflow.

2013-04-24 Thread Vasant Hegde
On 04/24/2013 01:15 PM, Chen Gang wrote: Hello Vasant Hegde: How about this patch, is it OK ? Thanks. On 2013年03月25日 12:30, Chen Gang wrote: Hello Maintainers: could you help check this patch whether is ok ? thanks. On 2013年02月17日 12:00, Chen Gang wrote: Hello relative

Re: [PATCH v2 6/6] add documentation on proc.txt

2013-04-24 Thread Minchan Kim
Hello Rob, On Wed, Apr 24, 2013 at 01:49:45AM -0500, Rob Landley wrote: On 04/23/2013 08:41:04 PM, Minchan Kim wrote: This patch adds stuff about new reclaim field in proc.txt Cc: Rob Landley r...@landley.net Signed-off-by: Minchan Kim minc...@kernel.org --- Rob, I didn't add your

Re: [PATCH] perf tool: fix the perf --version bug

2013-04-24 Thread Runzhen Wang
ping~ :) On 04/16/2013 01:00 PM, Runzhen Wang wrote: The perf --version can't print the right version information when reset it to an earlier commit. For example, at present the version is: # ./perf --version perf version 3.9.rc6.gf8378f then, I reset it to an earlier version tag, say

Re: [PATCH] arch/powerpc/kernel: using %12.12s instead of %12s for avoiding memory overflow.

2013-04-24 Thread Vasant Hegde
On 04/24/2013 01:45 PM, Vasant Hegde wrote: On 04/24/2013 01:15 PM, Chen Gang wrote: Hello Vasant Hegde: How about this patch, is it OK ? Thanks. On 2013年03月25日 12:30, Chen Gang wrote: Hello Maintainers: could you help check this patch whether is ok ? thanks. On

Re: [PATCH 1/6] input: pxa27x-keypad: copy members of platform data to device private data

2013-04-24 Thread Dmitry Torokhov
Hi Chao, On Tue, Apr 23, 2013 at 11:20:28PM -0400, Chao Xie wrote: Original driver will directly use platform data when driver is running. In fact, the platform data may be freed after system is bootup, This statement is not correct, the platform data should be never be freed, otherwise one

Re: [PATCH] arm64: compiling issue, need add include/asm/vga.h file

2013-04-24 Thread Catalin Marinas
On Wed, Apr 24, 2013 at 04:44:29AM +0100, Chen Gang wrote: For compiling with allmodconfig, need vga.h file, so copy it from arm32. I would rather use the generic vga.h. We don't even have a vga_base defined. -- Catalin -- To unsubscribe from this list: send the line unsubscribe linux-kernel

attempt to move .org backwards still show up

2013-04-24 Thread Mike Qiu
Hi all I get an error message when I compile the source code in Power7 platform use the newest upstream kernel. [root@feng linux]# make -j60 CHK include/generated/uapi/linux/version.h CHK include/generated/utsrelease.h CC scripts/mod/devicetable-offsets.s GEN scripts/mod/devicetable-offsets.h

Re: Linux kernel support -O0 optimization flag?

2013-04-24 Thread Pavel Machek
On Mon 2013-04-15 13:16:36, richard -rw- weinberger wrote: On Mon, Apr 15, 2013 at 9:58 AM, Ley Foon Tan lf...@altera.com wrote: Change KBUILD_CFLAGS to -O0 in Makefile and got the compilation error as below. Is the Linux kernel support -O0 optimization flag? No. If I'm not mistaken

Re: attempt to move .org backwards still show up

2013-04-24 Thread Michael Ellerman
On Wed, Apr 24, 2013 at 04:22:53PM +0800, Mike Qiu wrote: Hi all I get an error message when I compile the source code in Power7 platform use the newest upstream kernel. Hi Mike, It depends on what your .config is. What defconfig are you building? cheers -- To unsubscribe from this list:

Re: [PATCH] arch/powerpc/kernel: using %12.12s instead of %12s for avoiding memory overflow.

2013-04-24 Thread Chen Gang
On 2013年04月24日 16:19, Vasant Hegde wrote: for tmp_part-header.name: it is Terminating null required only for names 12 chars. so need to limit the %.12s for it in printk additional info: %12s limit the width, not for the original string output length

RE: [PATCH] lowmemorykiller: prevent multiple instances of low memory killer

2013-04-24 Thread Dolkow, Snild
No, it's not. This is controlled higher in shrink_slab() by this: max_pass = do_shrinker_shrink(shrinker, shrink, 0); if (max_pass = 0) continue; Yes, but the later calls will still not handle other negative values as failures, and there is a chance that more

Re: [PATCH 21/32] dmaengine: ste_dma40: Also report the number of logical channels

2013-04-24 Thread Lee Jones
On Mon, 22 Apr 2013, Russell King - ARM Linux wrote: On Mon, Apr 22, 2013 at 11:37:15AM +0100, Lee Jones wrote: On Mon, 22 Apr 2013, Vinod Koul wrote: On Mon, Apr 22, 2013 at 11:14:55AM +0100, Lee Jones wrote: On Mon, 22 Apr 2013, Vinod Koul wrote: On Thu, Apr 18, 2013 at

Re: attempt to move .org backwards still show up

2013-04-24 Thread Mike Qiu
于 2013/4/24 16:31, Michael Ellerman 写道: On Wed, Apr 24, 2013 at 04:22:53PM +0800, Mike Qiu wrote: Hi all I get an error message when I compile the source code in Power7 platform use the newest upstream kernel. Hi Mike, It depends on what your .config is. What defconfig are you building? I

Re: attempt to move .org backwards still show up

2013-04-24 Thread Mike Qiu
于 2013/4/24 16:31, Michael Ellerman 写道: On Wed, Apr 24, 2013 at 04:22:53PM +0800, Mike Qiu wrote: Hi all I get an error message when I compile the source code in Power7 platform use the newest upstream kernel. Hi Mike, It depends on what your .config is. What defconfig are you building?

Re: [PATCHv3 00/14] drivers: mailbox: framework creation

2013-04-24 Thread Loic PALLARDY
Hi Jassi, On 04/24/2013 09:59 AM, Jassi Brar wrote: Hi Loic, On 24 April 2013 13:09, Loic PALLARDYloic.palla...@st.com wrote: Hi Jassi, Suman, Yes, the xxx_no_irq API has been introduced to answer some STE requirements. It must be possible to send some message under atomic context for

[PATCH 21/32 v2] dmaengine: ste_dma40: Also report the number of logical channels

2013-04-24 Thread Lee Jones
dmaengine: ste_dma40: Also report the number of logical channels Now we know the total of physical and logical channels, we may as well report them within the information log. Before: dma40 dma40.0: hardware revision: 3 @ 0x801c with 8 physical channels After: as above ... and 256 logical

Re: [PATCH v3 2/3] resource: Add release_mem_region_adjustable()

2013-04-24 Thread Ram Pai
On Thu, Apr 11, 2013 at 10:30:02AM -0600, Toshi Kani wrote: On Wed, 2013-04-10 at 15:24 -0700, Andrew Morton wrote: On Wed, 10 Apr 2013 15:08:29 -0700 (PDT) David Rientjes rient...@google.com wrote: On Wed, 10 Apr 2013, Toshi Kani wrote: I'll switch it to GFP_ATOMIC. Which is

Re: [PATCH] arm64: compiling issue, need add include/asm/vga.h file

2013-04-24 Thread Chen Gang
On 2013年04月24日 16:22, Catalin Marinas wrote: On Wed, Apr 24, 2013 at 04:44:29AM +0100, Chen Gang wrote: For compiling with allmodconfig, need vga.h file, so copy it from arm32. I would rather use the generic vga.h. We don't even have a vga_base defined. OK, thanks. I need send patch v2.

[PATCH 08/32 v2] dmaengine: ste_dma40: Remove home-brew MAX() macro

2013-04-24 Thread Lee Jones
The current implementation of the DMA40's local MAX() macro evaluates its arguments more times than is necessary and it not type checked. This patch strips replaces it with a new, more efficient constant. Cc: Vinod Koul vinod.k...@intel.com Cc: Dan Williams d...@fb.com Cc: Per Forlin

Re: [PATCH 15/32] dmaengine: ste_dma40: Separate Logical Global Interrupt Mask (GIM) unmasking

2013-04-24 Thread Lee Jones
On Mon, 22 Apr 2013, Lee Jones wrote: void d40_phy_cfg(struct stedma40_chan_cfg *cfg, u32 *src_cfg, u32 *dst_cfg, bool is_log) @@ -107,11 +113,6 @@ void d40_phy_cfg(struct stedma40_chan_cfg *cfg, src |= 1 D40_SREG_CFG_PRI_POS; dst |=

Re: [PATCH 05/32] dmaengine: ste_dma40: Supply macros to resolve 'src' and 'dst' directions

2013-04-24 Thread Lee Jones
On Mon, 22 Apr 2013, Lee Jones wrote: On Mon, 22 Apr 2013, Vinod Koul wrote: On Thu, Apr 18, 2013 at 11:11:47AM +0100, Lee Jones wrote: There are lots of lengthy if() statements located sporadically up and down the driver. This simple macro should make many of them a little simpler

[HELP] cpuidle in SYSFS: /sys/devices/system/cpu/cpu0/cpuidle/state0/desc

2013-04-24 Thread Ren Zhen
Hi all: In /Documentation/cpuidle/sysfs.txt, It says: desc : Small description about the idle state(string). when I read desc: mysystem:/sys/devices/system/cpu/cpu0/cpuidle/state0/# cat desc CPUIDLE CORE POLL IDLE

Re: [PATCH 17/32] dmaengine: ste_dma40: Remove redundant argument from d40_phy_cfg()

2013-04-24 Thread Lee Jones
+ if ((cfg-dir == STEDMA40_PERIPH_TO_MEM) || + (cfg-dir == STEDMA40_PERIPH_TO_PERIPH)) { Why would you need your own direction defines, I see that there is not much diff between these and what dmaengine defines, so perhpas you could use those? Same with these ones, subsequent

Re: [PATCHv3 00/14] drivers: mailbox: framework creation

2013-04-24 Thread Jassi Brar
Hi - On 24 April 2013 13:38, Loic PALLARDY loic.palla...@st.com wrote: Hi Jassi, On 04/24/2013 06:39 AM, Jassi Brar wrote: The non-atomic API falls flat should just a single client comes with very low latency requirements. In fact there are different situations for the non/atomic

Re: [PATCH] pinctrl: move subsystem mutex to pinctrl_dev struct

2013-04-24 Thread Linus Walleij
On Wed, Apr 10, 2013 at 3:04 PM, Patrice CHOTARD patrice.chot...@st.com wrote: On 03/28/2013 12:33 AM, Stephen Warren wrote: I don't understand the link between maps and pinctrl_select(), pinctrl_select_state_locked() doesn't touch the map. Yes, pinctrl_select() shouldn't touch the map since

Re: NumaTOP 1.0 launched

2013-04-24 Thread zhou jencce
2013/4/24 Jin, Yao yao@intel.com: Hi Zhou, I just worry a little bit if you can apply the raw patch on the tip or other version of kernel code. You know, the perf code is changed frequently. Thanks Jin Yao That's OK, I'd like to try. Thanks XIong From: zhou jencce

Re: eGalax touchscreen regression

2013-04-24 Thread Artem Bityutskiy
On Tue, 2013-04-23 at 08:40 -0700, Dmitry Torokhov wrote: the eGalax driver now requires OF. For us this is a regression because we do not have OF: https://bugs.tizen.org/jira/browse/TIVI-740 I see. In this case we need to come up with a platform data to pass wakeup gpio in case platform

[PATCH v2] pinctrl: move subsystem mutex to pinctrl_dev struct

2013-04-24 Thread Linus Walleij
From: Patrice Chotard patrice.chot...@st.com This mutex avoids deadlock in case of use of multiple pin controllers. Before this modification, by using a global mutex, deadlock appeared when, for example, a call to pinctrl_pins_show() locked the pinctrl_mutex, called the ops-pin_dbg_show of a

Re: [PATCH 3/8] irq-imgpdc: add ImgTec PDC irqchip driver

2013-04-24 Thread James Hogan
Thanks for the review Thomas! On 23/04/13 16:09, Thomas Gleixner wrote: On Tue, 23 Apr 2013, James Hogan wrote: +/** + * struct pdc_intc_priv - private pdc interrupt data. + * @nr_perips: Number of peripheral interrupt signals. + * @nr_syswakes:Number of syswake signals. +

Re: [PATCH] Revert V4L/DVB: uvc: Enable USB autosuspend by default on uvcvideo

2013-04-24 Thread Laurent Pinchart
Hi Adam, Thanks for the patch. On Wednesday 24 April 2013 15:57:19 adam@canonical.com wrote: From: Adam Lee adam@canonical.com This reverts commit 3dae8b41dc5651f8eb22cf310e8b116480ba25b7. 1, I do have a Chicony webcam, implements autosuspend in a broken way, make `poweroff`

Re: [RFC 00/14] perf tools: Introduce new 'ftrace' command

2013-04-24 Thread Namhyung Kim
Hi Steve, On Tue, 23 Apr 2013 11:58:01 -0400, Steven Rostedt wrote: On Tue, 2013-04-23 at 17:30 +0900, Namhyung Kim wrote: Hello, This patchset implements a front-end tool for kernel's ftrace. It uses function_graph tracer by default and normal function tracer is also supported. (Of

Re: [PATCH v8 3/8] spi/spi-atmel: add dmaengine support

2013-04-24 Thread Richard Genoud
2013/4/23 Mark Brown broo...@kernel.org: On Wed, Apr 03, 2013 at 12:23:35PM +0200, Richard GENOUD wrote: Richard, delete irrelevant context from your mails - it makes it much easier to find the content you added. On [mer., 03.04.2013 13:59:19], Wenyou Yang wrote: As I did some work on that

Re: [RFC 00/14] perf tools: Introduce new 'ftrace' command

2013-04-24 Thread Namhyung Kim
Hi Pekka, On Tue, 23 Apr 2013 20:19:37 +0300, Pekka Enberg wrote: Hello, On Tue, 2013-04-23 at 17:30 +0900, Namhyung Kim wrote: This patchset implements a front-end tool for kernel's ftrace. It uses function_graph tracer by default and normal function tracer is also supported. (Of course

[tip:x86/platform] x86/olpc/xo1/sci: Don't call input_free_device () after input_unregister_device()

2013-04-24 Thread tip-bot for Wei Yongjun
Commit-ID: 3482e664dc7f44e0ffb1fcf1de7af74977748f31 Gitweb: http://git.kernel.org/tip/3482e664dc7f44e0ffb1fcf1de7af74977748f31 Author: Wei Yongjun yongjun_...@trendmicro.com.cn AuthorDate: Wed, 24 Apr 2013 10:46:24 +0800 Committer: Ingo Molnar mi...@kernel.org CommitDate: Wed, 24 Apr

[tip:x86/mm] x86/iommu/dmar: Remove warning for HPET scope type

2013-04-24 Thread tip-bot for Linn Crosetto
Commit-ID: 13f72756da86f155898e2c2022f7b3a106c3742e Gitweb: http://git.kernel.org/tip/13f72756da86f155898e2c2022f7b3a106c3742e Author: Linn Crosetto l...@hp.com AuthorDate: Tue, 23 Apr 2013 12:26:45 -0600 Committer: Ingo Molnar mi...@kernel.org CommitDate: Wed, 24 Apr 2013 08:45:47 +0200

Re: [PATCH 3/8] irq-imgpdc: add ImgTec PDC irqchip driver

2013-04-24 Thread Thomas Gleixner
On Wed, 24 Apr 2013, James Hogan wrote: Thanks for the review Thomas! On 23/04/13 16:09, Thomas Gleixner wrote: On Tue, 23 Apr 2013, James Hogan wrote: + spinlock_t lock; raw_spinlock_t please Okay. If I understand right, this would be because on RT, spinlock_t

Re: [PATCH net] tuntap: correct the return value in tun_set_iff()

2013-04-24 Thread Michael S. Tsirkin
On Tue, Apr 23, 2013 at 02:40:39PM +0800, Jason Wang wrote: commit (3be8fbab tuntap: fix error return code in tun_set_iff()) breaks the creation of multiqueue tuntap since it forbids to create more than one queues for a multiqueue tuntap device. We need return 0 instead -EBUSY here since we

[tip:sched/core] sched: Change position of resched_cpu() in load_balance()

2013-04-24 Thread tip-bot for Joonsoo Kim
Commit-ID: f1cd0858100c67273f2c74344e0c464344c4a982 Gitweb: http://git.kernel.org/tip/f1cd0858100c67273f2c74344e0c464344c4a982 Author: Joonsoo Kim iamjoonsoo@lge.com AuthorDate: Tue, 23 Apr 2013 17:27:37 +0900 Committer: Ingo Molnar mi...@kernel.org CommitDate: Wed, 24 Apr 2013

[tip:sched/core] sched: Explicitly cpu_idle_type checking in rebalance_domains()

2013-04-24 Thread tip-bot for Joonsoo Kim
Commit-ID: de5eb2dd7f171ee8a45d23cd41aa2efe9ab922b3 Gitweb: http://git.kernel.org/tip/de5eb2dd7f171ee8a45d23cd41aa2efe9ab922b3 Author: Joonsoo Kim iamjoonsoo@lge.com AuthorDate: Tue, 23 Apr 2013 17:27:38 +0900 Committer: Ingo Molnar mi...@kernel.org CommitDate: Wed, 24 Apr 2013

[tip:sched/core] sched: Don' t consider other cpus in our group in case of NEWLY_IDLE

2013-04-24 Thread tip-bot for Joonsoo Kim
Commit-ID: cfc03118047172f5bdc58d63c607d16d33ce5305 Gitweb: http://git.kernel.org/tip/cfc03118047172f5bdc58d63c607d16d33ce5305 Author: Joonsoo Kim iamjoonsoo@lge.com AuthorDate: Tue, 23 Apr 2013 17:27:39 +0900 Committer: Ingo Molnar mi...@kernel.org CommitDate: Wed, 24 Apr 2013

[tip:sched/core] sched: Move up affinity check to mitigate useless redoing overhead

2013-04-24 Thread tip-bot for Joonsoo Kim
Commit-ID: d31980846f9688db3ee3e5863525c6ff8ace4c7c Gitweb: http://git.kernel.org/tip/d31980846f9688db3ee3e5863525c6ff8ace4c7c Author: Joonsoo Kim iamjoonsoo@lge.com AuthorDate: Tue, 23 Apr 2013 17:27:40 +0900 Committer: Ingo Molnar mi...@kernel.org CommitDate: Wed, 24 Apr 2013

Re: [PATCH 2/2] f2fs: add REQ_META about metadata requests for submit bio

2013-04-24 Thread Jaegeuk Kim
2013-04-24 (수), 15:08 +0900, Namjae Jeon: + if (type == META) Should be if (btype == META). Thanks, Yes, Right :) Thanks for fixing. Hi. Jaegeuk. Should I resend the fixed patch as above your comment ? I can handle it. :) Thanks, Thanks. + rw |= REQ_META; +

Re: [PATCH 1/3] spi: s3c64xx: added support for polling mode

2013-04-24 Thread Girish KS
On Tue, Apr 23, 2013 at 8:45 PM, Mark Brown broo...@kernel.org wrote: On Mon, Apr 22, 2013 at 12:39:23PM +0530, Girish K S wrote: From: Girish K S girishks2...@gmail.com The 64xx spi driver supports partial polling mode. Only the last chunk of the transfer length is transferred or recieved

[PATCH 03/26] perf tools: Move arch check into config/Makefile

2013-04-24 Thread Jiri Olsa
Moving arch check into config/Makefile. Signed-off-by: Jiri Olsa jo...@redhat.com Cc: Arnaldo Carvalho de Melo a...@ghostprotocols.net Cc: Peter Zijlstra a.p.zijls...@chello.nl Cc: Ingo Molnar mi...@elte.hu Cc: Paul Mackerras pau...@samba.org Cc: Corey Ashford cjash...@linux.vnet.ibm.com Cc:

[PATCHv2 00/26] perf tools: Makefile changes

2013-04-24 Thread Jiri Olsa
hi, this patchset mostly consists of moving the config 'CHK' stuff into config/Makefile which will be also used for kbuild afterwards. I'm sending now just the Makefile changes separated from the kbuild stuff, which will come later. The original RFC is here:

  1   2   3   4   5   6   7   8   9   10   >