Re: [PATCH] usb: gadget: ncm: correct endianess conversion

2012-10-07 Thread Felipe Balbi
On Fri, Oct 05, 2012 at 01:58:21AM +0300, Dmytro Milinevskyy wrote: > > Signed-off-by: Dmytro Milinevskyy missing commit log. NAK. Just resend with a proper commit log and I can apply. -- balbi signature.asc Description: Digital signature

Re: [PATCH 1/4] acpi,memory-hotplug : add memory offline code to acpi_memory_device_remove()

2012-10-07 Thread Wen Congyang
At 10/05/2012 04:53 AM, KOSAKI Motohiro Wrote: > On Wed, Oct 3, 2012 at 5:58 AM, Yasuaki Ishimatsu > wrote: >> From: Yasuaki Ishimatsu >> >> The memory device can be removed by 2 ways: >> 1. send eject request by SCI >> 2. echo 1 >/sys/bus/pci/devices/PNP0C80:XX/eject >> >> In the 1st case, acpi_

Re: [PATCH] mm: compaction: Iron out isolate_freepages_block() and isolate_freepages_range() -fix1

2012-10-07 Thread Minchan Kim
On Thu, Oct 04, 2012 at 03:00:17PM +0100, Mel Gorman wrote: > The following patch is still missing from linux-next/akpm so am > resending in case it got lost in the mess. > > > CMA is reported to be broken in next-20120926. Minchan Kim pointed out > that this was due to nr_scanned != total_isolat

Re: [PATCH] mm: compaction: Iron out isolate_freepages_block() and isolate_freepages_range() -fix2

2012-10-07 Thread Minchan Kim
On Fri, Oct 05, 2012 at 10:59:45AM +0100, Mel Gorman wrote: > Thierry reported offline that the strict check "mm: compaction: Iron out > isolate_freepages_block() and isolate_freepages_range() -fix1" check is > still too strict because it's possible for more pages to be isolated > than required. Th

[PATCH v3 4/8] perf tools: configure tmp path at build time

2012-10-07 Thread Irina Tirdea
From: Irina Tirdea Temporary perf files are hardcoded to point to /tmp. Android does not have a /tmp directory so it needs to set this path at compile time. Add a compile-time definition (PERF_TMP_DIR) in the Makefile that sets the path to temp directory. By default it points to /tmp. Signed-of

[PATCH v3 7/8] perf tools: configure addr2line for cross-compiling

2012-10-07 Thread Irina Tirdea
From: Irina Tirdea When analyzing data recorded on a target with a different architecture than the host, we must use addr2line from the toolchain for that architecture. Add a command line option to set addr2line at runtime. As we have architecture information of saved perf.data file, we can also

[PATCH v3 8/8] perf stat: implement --big-num grouping

2012-10-07 Thread Irina Tirdea
From: Irina Tirdea In glibc, printf supports ' to group numbers with thousands' grouping characters. Bionic does not support ' for printf. Implement thousands's grouping for numbers according to locale. The implementation uses the algorithm from glibc (http://www.gnu.org/software/libc/). Bionic

[PATCH v3 6/8] perf tools: Try to find cross-built objdump path

2012-10-07 Thread Irina Tirdea
From: Namhyung Kim As we have architecture information of saved perf.data file, we can try to find cross-built objdump path. The triplets include support for Android (arm, x86 and mips architectures). Signed-off-by: Namhyung Kim Signed-off-by: Irina Tirdea --- tools/perf/Makefile |

[PATCH v3 5/8] perf tools: configure shell path at compile time

2012-10-07 Thread Irina Tirdea
From: Irina Tirdea Shell path /bin/sh is hardcoded in various places in perf. Android has a different folder structure and does not have /bin/sh. Set the shell path at compile time in the Makefile by setting PERF_SHELL_PATH. By default it is set to /bin/sh. Signed-off-by: Irina Tirdea --- too

[PATCH 3/8] Documentation: add documentation on compiling for Android

2012-10-07 Thread Irina Tirdea
From: Irina Tirdea Add documentation for cross-compiling on Android including: () instructions on how to set the Android NDK environment () how to cross-compile perf for Android () how to install on an Android device/emulator, set the runtime environment and run it Signed-off-by: Irina Tirdea -

[PATCH 2/8] perf tools: update Makefile for Android

2012-10-07 Thread Irina Tirdea
From: Irina Tirdea For cross-compiling on Android, some specific changes are needed in the Makefile. Update the Makefile to support cross-compiling for Android. The original ideea for this was send by Bernhard Rosenkraenzer in https://lkml.org/lkml/2012/8/23/316, but this is a rewrite. Changes:

[PATCH 1/8] perf tools: add on_exit implementation

2012-10-07 Thread Irina Tirdea
From: Bernhard Rosenkraenzer on_exit() is only available in new versions of glibc. It is not implemented in Bionic and will lead to linking errors when compiling for Android. Implement a wrapper for on_exit using atexit. The implementation for on_exit is the one sent by Bernhard Rosenkraenzer i

[PATCH 0/8] perf tools: fixes for Android

2012-10-07 Thread Irina Tirdea
From: Irina Tirdea Hi, I have gathered in this set all remaining patches with Android fixes. Starting from Bernhard's patch [1], I added 2 patches (patch 1 and 2) that include on_exit implementation and Android support in the Makefile. I have also added some documentation on building for Androi

Re: [PATCH 1/3] x86, mm: Include the entire kernel memory map in trampoline_pgd

2012-10-07 Thread Jan Beulich
>>> "H. Peter Anvin" 10/07/12 12:27 PM >>> >Actually, no, because we may need to double-map in the low address space per >discussion at LPC. Now this I don't follow (due to lack of context), but it would of course be relevant for determining the need eventual further adjustments to the patch we'

Re: [PATCH 4/4] acpi,memory-hotplug : store the node id in acpi_memory_device

2012-10-07 Thread Wen Congyang
At 10/06/2012 02:56 AM, KOSAKI Motohiro Wrote: > On Wed, Oct 3, 2012 at 6:11 AM, Yasuaki Ishimatsu > wrote: >> From: Wen Congyang >> >> The memory device has only one node id. Store the node id when >> enable the memory device, and we can reuse it when removing the >> memory device. > > You don'

Re: [PATCH 2/4] acpi,memory-hotplug : rename remove_memory() to offline_memory()

2012-10-07 Thread Wen Congyang
At 10/05/2012 05:31 AM, KOSAKI Motohiro Wrote: > On Wed, Oct 3, 2012 at 6:02 AM, Yasuaki Ishimatsu > wrote: >> From: Yasuaki Ishimatsu >> >> add_memory() hot adds a physical memory. But remove_memory does not >> hot remove a phsical memory. It only offlines memory. The name >> confuse us. >> >> S

linux-next: Tree for Oct 8

2012-10-07 Thread Stephen Rothwell
Hi all, Do not add stuff destined for v3.8 to your linux-next included branches until after v3.7-rc1 is released. Changes since 201201005: New tree: asm-generic Conflicts are migrating as trees are merged by Linus. The ia64 tree gained a conflict against the asm-generic tree. The acpi tree ga

Re: [PATCH 2/5] mfd: tps65090: add error prints when mem alloc failed

2012-10-07 Thread Laxman Dewangan
On Sunday 07 October 2012 09:43 PM, Joe Perches wrote: On Sun, 2012-10-07 at 20:52 +0530, Laxman Dewangan wrote: Add error prints when memory allocation failed for tps65090 data. Also cleanups the melloc arguments. The new dev_err is unnecessary. A dump_stack is already done on alloc failures.

Re: [PATCH 04/13] x86, mm: Revert back good_end setting for 64bit

2012-10-07 Thread Yinghai Lu
On Fri, Oct 5, 2012 at 7:58 AM, Yinghai Lu wrote: > On Fri, Oct 5, 2012 at 4:27 AM, Stefano Stabellini > wrote: >> On Fri, 5 Oct 2012, Yinghai Lu wrote: >>> On Thu, Oct 4, 2012 at 2:54 PM, H. Peter Anvin wrote: >>> > >>> > See my other post. This is bringing up the Kernel Summit algorithm again

Re: [PATCH 2/2] ARM: Exynos4: Register clocks via common clock framework

2012-10-07 Thread Thomas Abraham
Hi Sylwester, Thanks for reviewing this patch series. On 6 October 2012 00:21, Sylwester Nawrocki wrote: > Hello, > > On 10/01/2012 02:09 PM, chander.kash...@linaro.org wrote: >> From: Thomas Abraham >> >> Register clocks for Exynos4 platfotms using common clock framework. >> Also included are s

Re: [PATCH 2/2] ARM: Exynos4: Register clocks via common clock framework

2012-10-07 Thread Thomas Abraham
Hi Tomasz, On 3 October 2012 17:25, Tomasz Figa wrote: > Hi Chander, Thomas, > > I think this patch could be split into several smaller, while retaining > logical integrity of particular patches, e.g.: > - the change introduced to __clk_init (with proper description and rationale > why the gen

Re: [PATCH 2/2] ARM: Exynos4: Register clocks via common clock framework

2012-10-07 Thread Thomas Abraham
Hi Tomasz, On 3 October 2012 19:40, Tomasz Figa wrote: > Hi Chander, Thomas, > > I can see one more problem here. > > Based on the fact that sdhci-s3c driver receives only the endpoint gate > clock (hsmmc), doesn't the following setup make the driver unable to change > the frequency of this clock

Re: [PATCH 1/5] regulator: tps65090: rename driver name and regulator name

2012-10-07 Thread Laxman Dewangan
On Monday 08 October 2012 11:23 AM, Venu Byravarasu wrote: -Original Message- From: Laxman Dewangan Sent: Saturday, October 06, 2012 8:48 PM static struct platform_driver tps65090_regulator_driver = { .driver = { - .name = "tps65090-regulator", + .

Re: [PATCH 0/2] ARM: Exynos4: Migrate to common clock framework.

2012-10-07 Thread Thomas Abraham
Hi Tomasz, Thanks for reviewing this patch series. On 3 October 2012 16:26, Tomasz Figa wrote: > Hi Chander, Thomas, > > On Monday 01 of October 2012 17:39:19 chander.kash...@linaro.org wrote: >> From: Thomas Abraham >> >> This patch series migrates Exynos4 clock support to common clock >> fram

Re: [PATCH 5/5] regulator: tps65090: add external control support for DCDC

2012-10-07 Thread Laxman Dewangan
On Monday 08 October 2012 11:15 AM, Venu Byravarasu wrote: -Original Message- From: Laxman Dewangan Sent: Saturday, October 06, 2012 8:48 PM To: broo...@opensource.wolfsonmicro.com; l...@ti.com; sa...@linux.intel.com Cc: Venu Byravarasu; axel@gmail.com; linux-kernel@vger.kernel.org; L

Re: [PATCH 3/5] mfd: tps65090: remove unused member of struct tps65090

2012-10-07 Thread Laxman Dewangan
On Monday 08 October 2012 11:10 AM, Venu Byravarasu wrote: -Original Message- From: Laxman Dewangan Sent: Sunday, October 07, 2012 8:52 PM To: sa...@linux.intel.com Cc: linux-kernel@vger.kernel.org; Venu Byravarasu; Laxman Dewangan Subject: [PATCH 3/5] mfd: tps65090: remove unused member

Re: [PATCH 4/5] mfd: tps65090: move register access APIs to header

2012-10-07 Thread Laxman Dewangan
On Monday 08 October 2012 11:07 AM, Venu Byravarasu wrote: -Original Message- From: Laxman Dewangan Sent: Sunday, October 07, 2012 8:52 PM To: sa...@linux.intel.com Cc: linux-kernel@vger.kernel.org; Venu Byravarasu; Laxman Dewangan Subject: [PATCH 4/5] mfd: tps65090: move register access

Re: [PATCH] gpio: add TS-5500 DIO headers support

2012-10-07 Thread Linus Walleij
On Fri, Oct 5, 2012 at 1:18 AM, Vivien Didelot wrote: > Grant, Linus, any feedback? On the entire driver or on the config fragment? The latter looks OK, I'll look at the driver per se now. (I was busy with the merge window you know...) Yours, Linus Walleij -- To unsubscribe from this list: sen

Re: [PATCH] pppoatm: don't send frames to destroyed vcc

2012-10-07 Thread Krzysztof Mazur
On Sat, Oct 06, 2012 at 05:38:04PM +0200, Krzysztof Mazur wrote: > On Sat, Oct 06, 2012 at 02:32:50PM +0100, David Woodhouse wrote: > > On Sat, 2012-10-06 at 14:19 +0200, Krzysztof Mazur wrote: > > > Now pppoatm_send(), like vcc_sendmsg(), checks for vcc flags that > > > indicate that vcc is not re

Re: [PATCH 0/3] Volatile Ranges (v7) & Lots of words

2012-10-07 Thread Minchan Kim
Hi John, On Fri, Sep 28, 2012 at 11:16:30PM -0400, John Stultz wrote: > > After Kernel Summit and Plumbers, I wanted to consider all the various > side-discussions and try to summarize my current thoughts here along > with sending out my current implementation for review. > > Also: I'm going on

Re: [PATCH 6/6] gpio: gpio-da9052: Convert to the new da9052 interrupt functions

2012-10-07 Thread Linus Walleij
On Thu, Oct 4, 2012 at 5:15 AM, Fabio Estevam wrote: > From: Fabio Estevam > > Convert to the new da9052 interrupt functions, so that we can get rid of > irq_base references. > > Cc: Grant Likely > Cc: Linus Walleij > Signed-off-by: Fabio Estevam Applied to my GPIO tree with Mark's ACK. You

Re: [REGRESSION] cgroup: notify_on_release may not be triggered in some cases

2012-10-07 Thread Li Zefan
On 2012/10/4 15:37, Daisuke Nishimura wrote: > notify_on_release must be triggered when the last process in a cgroup is > move to another. But if the first(and only) process in a cgroup is moved to > another, notify_on_release is not triggered. > > # mkdir /cgroup/cpu/SRC > # mkdir /cg

Re: [PATCH v3]mconf: Add Save button

2012-10-07 Thread Borislav Petkov
On Mon, Oct 08, 2012 at 01:05:14PM +0800, Wang YanQing wrote: > mconf make me annoying I have to make menuconfig && exit to save the > config when I am tuning .config time by time, it is even worse I have > to search down to my desire submenu time by time. Well, there are a bunch of patches from B

[PATCH v2 1/3] drivers: bus: ocp2scp: add pdata support

2012-10-07 Thread Kishon Vijay Abraham I
ocp2scp was not having pdata support which makes *musb* fail for non-dt boot in OMAP platform. The pdata will have information about the devices that is connected to ocp2scp. ocp2scp driver will now make use of this information to create the devices that is attached to ocp2scp. Signed-off-by: Kish

[PATCH v2 0/3] ocp2scp: add non-dt support

2012-10-07 Thread Kishon Vijay Abraham I
This patch series allows ocp2scp driver to create its child devices from the platform data. In omap platforms, usb phy is connected to ocp2scp and usb phy is needed for MUSB to be functional. When ocp2scp driver was added, it had only dt support which means it wont create usb phy devices for non-d

[PATCH v2 3/3] ARM: OMAP: ocp2scp: create omap device for ocp2scp

2012-10-07 Thread Kishon Vijay Abraham I
Platfrom device for ocp2scp is created using omap_device_build in devices file. This is used for both omap4(musb) and omap5(dwc3). Signed-off-by: Kishon Vijay Abraham I --- arch/arm/mach-omap2/devices.c | 76 + 1 file changed, 76 insertions(+) diff --gi

[PATCH v2 2/3] ARM: OMAP4: add _dev_attr_ to ocp2scp for representing usb_phy

2012-10-07 Thread Kishon Vijay Abraham I
In order to reflect devices(usb_phy) attached to ocp2scp bus, ocp2scp is assigned a device attribute to represent the attached devices. Signed-off-by: Kishon Vijay Abraham I Cc: Benoit Cousson --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 28 1 file changed, 28

RE: [PATCH 1/5] regulator: tps65090: rename driver name and regulator name

2012-10-07 Thread Venu Byravarasu
> -Original Message- > From: Laxman Dewangan > Sent: Saturday, October 06, 2012 8:48 PM > To: broo...@opensource.wolfsonmicro.com; l...@ti.com; > sa...@linux.intel.com > Cc: Venu Byravarasu; axel@gmail.com; linux-kernel@vger.kernel.org; > Laxman Dewangan > Subject: [PATCH 1/5] regulator

Re: [PATCH 2/2] Drivers: hv: Add Hyper-V balloon driver

2012-10-07 Thread Rusty Russell
"K. Y. Srinivasan" writes: > +static int hot_add; > + > +module_param(hot_add, int, S_IRUGO); > +MODULE_PARM_DESC(hot_add, "If set attempt memory hot_add"); I think this should be a 'bool', but I can't tell, since it's not used in this patch. Cheers, Rusty. -- To unsubscribe from this list: send

Re: [PATCH 02/16] ARM: binfmt_flat: unused variable 'persistent'

2012-10-07 Thread Greg Ungerer
On 06/10/12 00:55, Arnd Bergmann wrote: The flat_get_addr_from_rp() macro does not use the 'persistent' argument on ARM, causing a harmless compiler warning. A cast to void removes that warning. Without this patch, building at91x40_defconfig results in: fs/binfmt_flat.c: In function 'load_flat_

Re: [PATCH] Do not change worker's running cpu in cmci_rediscover().

2012-10-07 Thread Tang Chen
Hi all, Would you please help to review this patch ? Thanks. :) On 09/28/2012 03:54 PM, Lai Jiangshan wrote: Add CC: Tejun Heo, Peter Zijlstra. Hi, Tejun This is a bug whose root cause is the same as https://bugzilla.kernel.org/show_bug.cgi?id=47301. Acked-by: Lai Jiangshan thanks, Lai

Re: [PATCH] pwm: Get rid of HAVE_PWM

2012-10-07 Thread Thierry Reding
On Mon, Oct 08, 2012 at 10:45:44AM +0800, Eric Miao wrote: > On Fri, Oct 5, 2012 at 3:13 AM, Thierry Reding > wrote: > > On Thu, Oct 04, 2012 at 08:48:54PM +0200, Lars-Peter Clausen wrote: > >> On 10/04/2012 08:29 PM, Thierry Reding wrote: > >> > On Thu, Oct 04, 2012 at 05:00:23PM +0200, Lars-Pete

RE: [PATCH 5/5] regulator: tps65090: add external control support for DCDC

2012-10-07 Thread Venu Byravarasu
> -Original Message- > From: Laxman Dewangan > Sent: Saturday, October 06, 2012 8:48 PM > To: broo...@opensource.wolfsonmicro.com; l...@ti.com; > sa...@linux.intel.com > Cc: Venu Byravarasu; axel@gmail.com; linux-kernel@vger.kernel.org; > Laxman Dewangan > Subject: [PATCH 5/5] regulator

Re: [PATCH 01/16] ARM: warnings in arch/arm/include/asm/uaccess.h

2012-10-07 Thread Greg Ungerer
On 06/10/12 00:55, Arnd Bergmann wrote: On NOMMU ARM, the __addr_ok() and __range_ok() macros do not evaluate their arguments, which may lead to harmless build warnings in some code where the variables are not used otherwise. Adding a cast to void gets rid of the warning and does not make any sem

RE: [PATCH 3/5] mfd: tps65090: remove unused member of struct tps65090

2012-10-07 Thread Venu Byravarasu
> -Original Message- > From: Laxman Dewangan > Sent: Sunday, October 07, 2012 8:52 PM > To: sa...@linux.intel.com > Cc: linux-kernel@vger.kernel.org; Venu Byravarasu; Laxman Dewangan > Subject: [PATCH 3/5] mfd: tps65090: remove unused member of struct > tps65090 > > Remove unused member fr

RE: [PATCH 4/5] mfd: tps65090: move register access APIs to header

2012-10-07 Thread Venu Byravarasu
> -Original Message- > From: Laxman Dewangan > Sent: Sunday, October 07, 2012 8:52 PM > To: sa...@linux.intel.com > Cc: linux-kernel@vger.kernel.org; Venu Byravarasu; Laxman Dewangan > Subject: [PATCH 4/5] mfd: tps65090: move register access APIs to header > > Since tps65090 register is ac

[REGRESSION]: hibernation issues on 3.5.4/3.5.5

2012-10-07 Thread Andrew Watts
Hello. I am experiencing problems with hibernation (echo disk > /sys/power/state) on both 3.5.4 and 3.5.5. Note: Problem did not exist up through 3.5.2 (I skipped 3.5.3). Upon resume from hibernation, the % loading progress indicator appears. At some point the image stops loading and the system r

Re: Deadlock on poweroff

2012-10-07 Thread Kirill A. Shutemov
On Sun, Oct 07, 2012 at 09:41:28PM -0700, Paul E. McKenney wrote: > On Sun, Oct 07, 2012 at 07:50:12PM +0300, Kirill A. Shutemov wrote: > > On Sun, Oct 07, 2012 at 09:03:11AM -0700, Paul E. McKenney wrote: > > > On Sun, Oct 07, 2012 at 05:47:11AM +0300, Kirill A. Shutemov wrote: > > > > Hi Paul and

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

2012-10-07 Thread Rusty Russell
Stephen Rothwell writes: > Hi Rusty, > > Today's linux-next merge of the modules tree got a conflict in > init/Kconfig between commit 754b7b63d112 ("sections: disable const > sections for PA-RISC v2") from Linus' tree and commit 54ddd23d78ba > ("X.509: Add simple ASN.1 grammar compiler") from the

Re: [PATCH 3/13] drivers/media/tuners/qt1010.c: use macros for i2c_msg initialization

2012-10-07 Thread Julia Lawall
Sorry, I mean either: I2C_MSG_WRITE(priv->cfg->i2c_address, ®, sizeof(reg)), I2C_MSG_READ(priv->cfg->i2c_address, val, sizeof(*val)), Of course. Sorry for not having seen that. I can do that. julia -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

Re: [PATCH 3/3] ARM: OMAP: ocp2scp: create omap device for ocp2scp

2012-10-07 Thread kishon
Hi, On Saturday 06 October 2012 04:00 AM, Sergei Shtylyov wrote: Hello. On 05-10-2012 12:07, Kishon Vijay Abraham I wrote: Platfrom device for ocp2scp is created using omap_device_build in devices file. This is used for both omap4(musb) and omap5(dwc3). Signed-off-by: Kishon Vijay Abraham I

Re: [PATCH 0/10] memory-hotplug: hot-remove physical memory

2012-10-07 Thread Wen Congyang
At 10/06/2012 03:06 AM, KOSAKI Motohiro Wrote: >> Known problems: >> 1. memory can't be offlined when CONFIG_MEMCG is selected. >>For example: there is a memory device on node 1. The address range >>is [1G, 1.5G). You will find 4 new directories memory8, memory9, memory10, >>and memory1

Re: [PATCH 8/10] memory-hotplug : remove page table of x86_64 architecture

2012-10-07 Thread Wen Congyang
At 10/08/2012 12:37 PM, Andi Kleen Wrote: > Yasuaki Ishimatsu writes: >> +} >> + >> +/* >> + * We use 2M page, but we need to remove part of them, >> + * so split 2M page to 4K page. >> + */ >> +

RE: [PATCH v2 0/7] uio_pruss cleanup and platform support

2012-10-07 Thread Hebbar, Gururaja
On Sat, Oct 06, 2012 at 02:58:26, Porter, Matt wrote: > On Fri, Oct 05, 2012 at 04:43:56AM +, Hebbar, Gururaja wrote: > > Matt, > > > > On Wed, Oct 03, 2012 at 20:30:58, Porter, Matt wrote: > > > On Fri, Sep 28, 2012 at 03:37:45PM -0400, Matt Porter wrote: > > > > Changes since v1: > > > >

Re: [PATCH 3/13] drivers/media/tuners/qt1010.c: use macros for i2c_msg initialization

2012-10-07 Thread Ryan Mallon
On 08/10/12 16:05, Julia Lawall wrote: > On Mon, 8 Oct 2012, Ryan Mallon wrote: > >> On 08/10/12 02:38, Julia Lawall wrote: >>> From: Julia Lawall >>> >>> Introduce use of I2c_MSG_READ/WRITE/OP, for readability. >>> >>> A length expressed as an explicit constant is also re-expressed as >>> the si

Re: [PATCH 12/13] drivers/media/tuners/max2165.c: use macros for i2c_msg initialization

2012-10-07 Thread Julia Lawall
On Mon, 8 Oct 2012, Ryan Mallon wrote: On 08/10/12 02:38, Julia Lawall wrote: From: Julia Lawall Introduce use of I2c_MSG_READ/WRITE/OP, for readability. A length expressed as an explicit constant is also re-expressed as the size of the buffer, when this is possible. The second case is simp

Re: [PATCH 5/13] drivers/media/tuners: use macros for i2c_msg initialization

2012-10-07 Thread Julia Lawall
As far as I can see, the comments on this are: &b[0] should be just b There should be a newline before the elements of a multi-element array Some one-element array buffers should just be variables sizeof(val) should be used I will redo the patches to include the first two, but not the others. I

Re: [PATCH 3/13] drivers/media/tuners/qt1010.c: use macros for i2c_msg initialization

2012-10-07 Thread Julia Lawall
On Mon, 8 Oct 2012, Ryan Mallon wrote: On 08/10/12 02:38, Julia Lawall wrote: From: Julia Lawall Introduce use of I2c_MSG_READ/WRITE/OP, for readability. A length expressed as an explicit constant is also re-expressed as the size of the buffer, when this is possible. A simplified version of

[PATCH v3]mconf: Add Save button

2012-10-07 Thread Wang YanQing
mconf make me annoying I have to make menuconfig && exit to save the config when I am tuning .config time by time, it is even worse I have to search down to my desire submenu time by time. So I add "Save" button to save our time. With "Save" button, I can use CRTL-Z after save config, and then use

Re: [PATCH 13/13] drivers/media/tuners/e4000.c: use macros for i2c_msg initialization

2012-10-07 Thread Julia Lawall
On Sun, 7 Oct 2012, Joe Perches wrote: On Sun, 2012-10-07 at 23:43 +0200, Julia Lawall wrote: On Sun, 7 Oct 2012, Joe Perches wrote: Are READ and WRITE the action names? They are really the important information in this case. Yes, most (all?) uses of _READ and _WRITE macros actually perform

RE: [PATCH] fix x2apic defect that Linux kernel doesn't mask 8259A interrupt during the time window between changing VT-d table base address and initializing these VT-d entries(smpboot.c and apic.c )

2012-10-07 Thread
Hi Suresh, Could you please update current status about these 2 files and patch? I am not sure if I have answered your questions , if not ,feel free to let me know. This is my first time to submit patch to LKML, so what should I do next step ? About this patch , where needs to be enhanced ? T

Re: Deadlock on poweroff

2012-10-07 Thread Paul E. McKenney
On Sun, Oct 07, 2012 at 07:50:12PM +0300, Kirill A. Shutemov wrote: > On Sun, Oct 07, 2012 at 09:03:11AM -0700, Paul E. McKenney wrote: > > On Sun, Oct 07, 2012 at 05:47:11AM +0300, Kirill A. Shutemov wrote: > > > Hi Paul and all, > > > > > > With commit 755609a9087fa983f567dc5452b2fa7b089b591f I'

Re: [PATCH 8/10] memory-hotplug : remove page table of x86_64 architecture

2012-10-07 Thread Andi Kleen
Yasuaki Ishimatsu writes: > + } > + > + /* > + * We use 2M page, but we need to remove part of them, > + * so split 2M page to 4K page. > + */ > + pte = alloc_low_page(&pte_ph

Re: vfs: oops on open_by_handle_at() in linux-next

2012-10-07 Thread Hugh Dickins
On Mon, 8 Oct 2012, Al Viro wrote: > On Sun, Oct 07, 2012 at 08:32:51PM -0700, Hugh Dickins wrote: > > Thank you, Sasha: this should fix it, and similar in other FSes. > > > > > > [PATCH] tmpfs,ceph,gfs2,isofs,reiserfs,xfs: fix fh_len checking > > > > Fuzzing with trinity oopsed on the 1st instr

Re: vfs: oops on open_by_handle_at() in linux-next

2012-10-07 Thread Al Viro
On Sun, Oct 07, 2012 at 08:32:51PM -0700, Hugh Dickins wrote: > Thank you, Sasha: this should fix it, and similar in other FSes. > > > [PATCH] tmpfs,ceph,gfs2,isofs,reiserfs,xfs: fix fh_len checking > > Fuzzing with trinity oopsed on the 1st instruction of shmem_fh_to_dentry(), > u64 inum

RE: [PATCH 2/2] Drivers: hv: Add Hyper-V balloon driver

2012-10-07 Thread KY Srinivasan
> -Original Message- > From: Greg KH [mailto:gre...@linuxfoundation.org] > Sent: Sunday, October 07, 2012 8:45 PM > To: KY Srinivasan > Cc: linux-kernel@vger.kernel.org; de...@linuxdriverproject.org; > o...@aepfle.de; > a...@canonical.com; a...@linux-foundation.org; a...@firstfloor.org >

RE: [PATCH 1/2] mm: Export vm_committed_as

2012-10-07 Thread KY Srinivasan
> -Original Message- > From: Greg KH [mailto:gre...@linuxfoundation.org] > Sent: Sunday, October 07, 2012 8:44 PM > To: KY Srinivasan > Cc: linux-kernel@vger.kernel.org; de...@linuxdriverproject.org; > o...@aepfle.de; > a...@canonical.com; a...@linux-foundation.org; a...@firstfloor.org >

Re: vfs: oops on open_by_handle_at() in linux-next

2012-10-07 Thread Hugh Dickins
On Sun, 7 Oct 2012, Sasha Levin wrote: > > While fuzzing with trinity inside a KVM tools guest using latest linux-next, > I've stumbled on the following: > > [ 74.082463] BUG: unable to handle kernel paging request at 880061cd3000 > [ 74.087481] IP: [] shmem_alloc_inode+0x40/0x40 > [ 7

Re: [PATCH 05/17] ARM: pxa: remove sharpsl_fatal_check function

2012-10-07 Thread Haojian Zhuang
On Mon, Oct 8, 2012 at 10:38 AM, Eric Miao wrote: > On Wed, Oct 3, 2012 at 12:36 AM, Arnd Bergmann wrote: >> The sharpsl_fatal_check has not been used since Pavel Machek removed >> the caller in 99f329a2b "pxa/sharpsl_pm: zaurus c3000 aka spitz: fix >> resume". Nobody has complained since 2009, s

Re: [BISECTED] snd-hda-intel audio distortion in Linus' current tree

2012-10-07 Thread Vincent Cheng
[Cc: alsa-de...@alsa-project.org; also, please cc: me explicitly as well, since I'm not subscribed to either list] On Wed, Sep 26, 2012 at 12:29 AM, Steven Noonan wrote: > Started having audio problems when trying out the latest tree > (v3.6-rc7-10-g56d27ad). When playing any kind of audio, there

[PATCH] Do not use cpu_to_node() to find an offlined cpu's node.

2012-10-07 Thread Tang Chen
If a cpu is offline, its nid will be set to -1, and cpu_to_node(cpu) will return -1. As a result, cpumask_of_node(nid) will return NULL. In this case, find_next_bit() in for_each_cpu will get a NULL pointer and cause panic. Here is a call trace: [ 609.824017] Call Trace: [ 609.824017] [ 609.

[PATCH v2]mconf: Add Save button

2012-10-07 Thread Wang YanQing
mconf make me annoying I have to make menuconfig && exit to save the config when I am tuning .config time by time, it is even worse I have to search down to my desire submenu time by time. So I add "Save" button to save our time. With "Save" button, I can use CRTL-Z after save config, and then use

Re: [PATCH] pwm: Get rid of HAVE_PWM

2012-10-07 Thread Eric Miao
On Fri, Oct 5, 2012 at 3:13 AM, Thierry Reding wrote: > On Thu, Oct 04, 2012 at 08:48:54PM +0200, Lars-Peter Clausen wrote: >> On 10/04/2012 08:29 PM, Thierry Reding wrote: >> > On Thu, Oct 04, 2012 at 05:00:23PM +0200, Lars-Peter Clausen wrote: >> >> On 10/04/2012 08:06 AM, Thierry Reding wrote:

[PATCH v2] drivers:misc: ti-st: fix potential NULL pointer dereference in st_register()

2012-10-07 Thread Wei Yongjun
From: Wei Yongjun Remove the pointless NULL dereference above the NULL test. dpatch engine is used to auto generate this patch. (https://github.com/weiyj/dpatch) Signed-off-by: Wei Yongjun --- v1 -> v2: drop the NULL dereference --- drivers/misc/ti-st/st_core.c | 1 - 1 file changed, 1 deleti

Re: [PATCH 05/17] ARM: pxa: remove sharpsl_fatal_check function

2012-10-07 Thread Eric Miao
On Wed, Oct 3, 2012 at 12:36 AM, Arnd Bergmann wrote: > The sharpsl_fatal_check has not been used since Pavel Machek removed > the caller in 99f329a2b "pxa/sharpsl_pm: zaurus c3000 aka spitz: fix > resume". Nobody has complained since 2009, so it's safe to assume we > can just remove the function.

Re: Module xattr signatures

2012-10-07 Thread Rusty Russell
Mimi Zohar writes: > On Fri, 2012-10-05 at 17:42 +0300, Kasatkin, Dmitry wrote: >> Hello, >> >> On Fri, Oct 5, 2012 at 4:47 AM, Rusty Russell wrote: >> > >> > Hi all, >> > >> > Had a talk with Mimi, and IMA still wants xattr signatures on >> > modules like they have for other files with

RE: linux-next: build failure after merge of the thermal tree

2012-10-07 Thread Zhang, Rui
Hi, > -Original Message- > From: Stephen Rothwell [mailto:s...@canb.auug.org.au] > Sent: Monday, October 08, 2012 8:02 AM > To: Zhang, Rui > Cc: linux-n...@vger.kernel.org; linux-kernel@vger.kernel.org; Amit > Daniel Kachhap; Wu, Fengguang; Andrew Morton > Subject: linux-next: build failur

Re: [PATCH 13/13] drivers/media/tuners/e4000.c: use macros for i2c_msg initialization

2012-10-07 Thread Ryan Mallon
On 08/10/12 12:56, Mauro Carvalho Chehab wrote: > Em Sun, 07 Oct 2012 14:51:58 -0700 > Joe Perches escreveu: > >> On Sun, 2012-10-07 at 23:43 +0200, Julia Lawall wrote: >>> On Sun, 7 Oct 2012, Joe Perches wrote: > Are READ and WRITE the action names? They are really the important > infor

[PATCH] linux/compiler.h: Add __must_hold macro for functions called with a lock held

2012-10-07 Thread Josh Triplett
linux/compiler.h has macros to denote functions that acquire or release locks, but not to denote functions called with a lock held that return with the lock still held. Add a __must_hold macro to cover that case. Signed-off-by: Josh Triplett Reported-by: Ed Cashin Tested-by: Ed Cashin --- inc

Re: Linux 3.6.1

2012-10-07 Thread Uwaysi Bin Kareem
Threadirqs still not working here (and never did). Email me if you want to sort it out. Peace Be With You. -- 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 http://vger.kernel.org/majordomo-in

Re: [PATCH 13/13] drivers/media/tuners/e4000.c: use macros for i2c_msg initialization

2012-10-07 Thread Mauro Carvalho Chehab
Em Sun, 07 Oct 2012 14:51:58 -0700 Joe Perches escreveu: > On Sun, 2012-10-07 at 23:43 +0200, Julia Lawall wrote: > > On Sun, 7 Oct 2012, Joe Perches wrote: > > >> Are READ and WRITE the action names? They are really the important > > >> information in this case. > > > > > > Yes, most (all?) use

[PATCH v2] vlan: don't deliver frames for unknown vlans to protocols

2012-10-07 Thread Florian Zumbiehl
6a32e4f9dd9219261f8856f817e6655114cfec2f made the vlan code skip marking vlan-tagged frames for not locally configured vlans as PACKET_OTHERHOST if there was an rx_handler, as the rx_handler could cause the frame to be received on a different (virtual) vlan-capable interface where that vlan might b

Re: RNG: is it possible to spoil /dev/random by seeding it from (evil) TRNGs

2012-10-07 Thread Theodore Ts'o
On Mon, Oct 08, 2012 at 02:41:31AM +0200, Christoph Anton Mitterer wrote: > I just wondered because I remembered David Shaw (one of the main > developers from gpg) to imply[0] some time ago, that an "evil" entropy > source would actually be a problem: I've looked at his message, I didn't see any j

Re: [ 174/262] x86, avx: dont use avx instructions with "noxsave" boot param

2012-10-07 Thread Ben Hutchings
On Mon, 2012-10-08 at 07:55 +0800, H. Peter Anvin wrote: > Userland should use a different query mechanism. On the other hand, > it will not hurt either. On pre-xsave kernels AVX is a non-option. [...] OK, having looked at what the SDM says I agree that there shouldn't be a problem for userland.

Re: [PATCH] regmap: silence GCC warning

2012-10-07 Thread Mark Brown
On Sat, Oct 06, 2012 at 11:57:36AM +0200, Paul Bolle wrote: > 2) I hope to send in a second path shortly, changing 'num' to size_t. My > main doubt is whether its problematic that the loop index in > regmap_volatile_range() uses unsigned int too. If 'num' would exceed > UINT_MAX, that loop would n

Re: [PATCH] make CONFIG_EXPERIMENTAL invisible and default

2012-10-07 Thread Paul E. McKenney
On Sun, Oct 07, 2012 at 04:18:54PM -0400, Dave Jones wrote: > On Sun, Oct 07, 2012 at 09:30:29AM -0700, Paul E. McKenney wrote: > > > > I think Kconfig is mostly what distro would like to use the thing is > > > the Kconfig text needs to be there upfront when its merged, not two > > > months lat

Re: [PATCH] staging: r8712u: fix potential NULL pointer dereference in r871x_wps_start()

2012-10-07 Thread Larry Finger
On 10/07/2012 07:43 PM, Wei Yongjun wrote: From: Wei Yongjun The dereference should be moved below the NULL test. dpatch engine is used to auto generate this patch. (https://github.com/weiyj/dpatch) Signed-off-by: Wei Yongjun --- drivers/staging/rtl8712/rtl871x_ioctl_linux.c | 4 ++-- 1 f

RE: [RESEND PATCH v4 0/2] ACPI: DBGP/DBG2 early console support for LPIA.

2012-10-07 Thread Zheng, Lv
> go ahead and take the series in tip 3.8, Peter, thanks. > > I looked over this series a while back and my feedback was that it should be > disabled by default and enabled by bootparam -- like other earlyprink -- else > an > issue here would render a system un-bootable. I see that LV has addres

linux-next: manual merge of the ia64 tree with the asm-generic tree

2012-10-07 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the ia64 tree got a conflict in arch/ia64/include/asm/Kbuild between commit e7a570ff7dff ("asm-generic: Add default clkdev.h") from the asm-generic tree and commit f68301fee715 ("UAPI: (Scripted) Disintegrate arch/ia64/include/asm") from the ia64 tree. I fixed

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

2012-10-07 Thread Stephen Rothwell
Hi Rusty, Today's linux-next merge of the modules tree got a conflict in init/Kconfig between commit 754b7b63d112 ("sections: disable const sections for PA-RISC v2") from Linus' tree and commit 54ddd23d78ba ("X.509: Add simple ASN.1 grammar compiler") from the modules tree. I fixed it up (see bel

Re: [PATCH] drivers:misc: ti-st: fix potential NULL pointer dereference in st_register()

2012-10-07 Thread Greg KH
On Mon, Oct 08, 2012 at 08:41:36AM +0800, Wei Yongjun wrote: > From: Wei Yongjun > > The dereference should be moved below the NULL test. > > dpatch engine is used to auto generate this patch. > (https://github.com/weiyj/dpatch) > > Signed-off-by: Wei Yongjun > --- > drivers/misc/ti-st/st_cor

Re: [PATCH 2/2] Drivers: hv: Add Hyper-V balloon driver

2012-10-07 Thread Greg KH
On Sun, Oct 07, 2012 at 04:59:46PM -0700, K. Y. Srinivasan wrote: > +config HYPERV_BALLOON > + tristate "Microsoft Hyper-V Balloon driver" > + depends on HYPERV > + help > + Select this option to enable the Hyper-V Utilities. Your help text is wrong :( > --- /dev/null > +++ b/dr

Re: [PATCH 1/2] mm: Export vm_committed_as

2012-10-07 Thread Greg KH
On Sun, Oct 07, 2012 at 04:59:45PM -0700, K. Y. Srinivasan wrote: > The policy engine on the host expects the guest to report the > committed_as. Since this variable is not exported, > export this symbol. Why are these symbols not needed by either Xen or KVM or vmware, which I think all support th

[PATCH] staging: r8712u: fix potential NULL pointer dereference in r871x_wps_start()

2012-10-07 Thread Wei Yongjun
From: Wei Yongjun The dereference should be moved below the NULL test. dpatch engine is used to auto generate this patch. (https://github.com/weiyj/dpatch) Signed-off-by: Wei Yongjun --- drivers/staging/rtl8712/rtl871x_ioctl_linux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) d

Re: RNG: is it possible to spoil /dev/random by seeding it from (evil) TRNGs

2012-10-07 Thread Christoph Anton Mitterer
Hi Ted. Thanks for your prompt reply. On Thu, 2012-10-04 at 18:49 -0400, Theodore Ts'o wrote: > It is impossible by design. Or specifically, /dev/random was designed > so that it can be world-writeable, and an attacker can feed in any > kind of input he or she wants, and it will not allow the

[PATCH] drivers:misc: ti-st: fix potential NULL pointer dereference in st_register()

2012-10-07 Thread Wei Yongjun
From: Wei Yongjun The dereference should be moved below the NULL test. dpatch engine is used to auto generate this patch. (https://github.com/weiyj/dpatch) Signed-off-by: Wei Yongjun --- drivers/misc/ti-st/st_core.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers

[git pull] drm for 3.7-rc1 (part 2)

2012-10-07 Thread Dave Airlie
Hi Linus, This is the follow-up pull, 3 pieces a) exynos next stuff, was delayed but looks okay to me, one patch in v4l bits but it was acked by v4l person. b) UAPI disintegration bits c) intel fixes - DP fixes, hang fixes, other misc fixes. Dave. The following changes since commit 0b8e74c6f4

linux-next: manual merge of the sound tree with the v4l-dvb tree

2012-10-07 Thread Stephen Rothwell
Hi Takashi, Today's linux-next merge of the sound tree got a conflict in arch/arm/mach-davinci/include/mach/da8xx.h between commit 154d54a8ce99 ("[media] ARM: davinci: da850: Add SoC related definitions for VPIF") from the v4l-dvb tree and commit 896f66b7de29 ("ASoC/ARM: Davinci: McASP: split asp

Re: Updated: [PATCH] hardening: add PROT_FINAL prot flag to mmap/mprotect

2012-10-07 Thread PaX Team
On 7 Oct 2012 at 9:43, Ard Biesheuvel wrote: > 2012/10/6 PaX Team : > > sadly, this is not true at all, for multiple reasons: > > > .. snip ... > > > > cheers, > > PaX Team > > > > So can I summarize your position as that there is no merit at all in > the ability to inhibit future permissions o

Re: PROBLEM: It seems that /usr/bin/time program reports a wrong value for MaxRSS.

2012-10-07 Thread Hugh Dickins
On Sun, 7 Oct 2012, Kamran Amini wrote: > On Sun, Oct 7, 2012 at 1:18 AM, Hugh Dickins wrote: > > On Thu, 4 Oct 2012, Kamran Amini wrote: > >> > >> It seems that /usr/bin/time program reports a wrong value for MaxRSS. > >> The report shows MaxRSS, about 4 times the > >> actual allocated memory by

  1   2   3   4   5   >