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]

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:

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

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,

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]

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

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

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

[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

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

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

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

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

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: [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

[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

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 Zhang, Lin-Bao (Linux Kernel R)
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 ?

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

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 =

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

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 > [

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,

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,

[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] [

[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

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

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

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 >

[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 ---

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

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?)

[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

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

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

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

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

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

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

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

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 > --- >

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 > +++

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

[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(-)

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

[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

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

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

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

2012-10-07 Thread Stephen Rothwell
Hi Zhang, After merging the thermal tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/thermal/cpu_cooling.c: In function 'get_idr': drivers/thermal/cpu_cooling.c:89:14: error: 'MAX_ID_MASK' undeclared (first use in this function) Caused by commit 023614183768

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

2012-10-07 Thread H. Peter Anvin
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. Ben Hutchings wrote: >On Fri, 2012-09-28 at 11:51 -0700, Greg Kroah-Hartman wrote: >> From: Greg KH >> >> 3.5-stable review patch. If anyone has any

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

2012-10-07 Thread Stephen Rothwell
Hi Len, Today's linux-next merge of the acpi tree got a conflict in include/acpi/acpixf.h between commit d8dc91b753b8 ("Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux") from Linus' tree and commit 558dc6f9ee2a ("Merge branch 'upstream' into next") from the acpi

[ 018/108] dmaengine: at_hdmac: fix comment in atc_prep_slave_sg()

2012-10-07 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Nicolas Ferre commit c618a9be0e8c0f36baee2560860a0118a428fb26 upstream. s/dma_memcpy/slave_sg/ and it is sg length that we are talking about. Signed-off-by: Nicolas Ferre Signed-off-by:

[ 019/108] dmaengine: at_hdmac: check that each sg data length is non-null

2012-10-07 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Nicolas Ferre commit c456797681db814f4f5b36909e8e94047bf53d9c upstream. Avoid the construction of a malformed DMA request sent to the DMA controller. Log message is for debug only because this

[ 013/108] sched: Fix ancient race in do_exit()

2012-10-07 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Yasunori Goto commit b5740f4b2cb3503b436925eb2242bc3d75cd3dfe upstream. try_to_wake_up() has a problem which may change status from TASK_DEAD to TASK_RUNNING in race condition with SMI or

[ 012/108] cpufreq/powernow-k8: workqueue user shouldnt migrate the kworker to another CPU

2012-10-07 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Tejun Heo commit 6889125b8b4e09c5e53e6ecab3433bed1ce198c9 upstream. powernowk8_target() runs off a per-cpu work item and if the cpufreq_policy->cpu is different from the current one, it

[ 001/108] target: Fix ->data_length re-assignment bug with SCSI overflow

2012-10-07 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Bellinger commit 4c054ba63ad47ef244cfcfa1cea38134620a5bae upstream. This patch fixes a long-standing bug with SCSI overflow handling where se_cmd->data_length was incorrectly being

Re: [PATCH][GPIO] Add IRQ edge setter to gpiolib

2012-10-07 Thread Drasko DRASKOVIC
Hi Grant, Thomas, do you see any potential problems with this patch? It adds sysfs interface to change / set-up trigger edge from the kernel (currently not possible). BR, Drasko On Fri, Oct 5, 2012 at 3:16 PM, Drasko DRASKOVIC wrote: > On Fri, Oct 5, 2012 at 2:40 PM, Linus Walleij > wrote:

[ 095/108] net: small bug on rxhash calculation

2012-10-07 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Chema Gonzalez [ Upstream commit 6862234238e84648c305526af2edd98badcad1e0 ] In the current rxhash calculation function, while the sorting of the ports/addrs is coherent (you get the same

[ 016/108] brcmfmac: fix big endian bug in i-scan.

2012-10-07 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Hante Meuleman commit ed205b361956c96e0d8c09a8c9135a6a79cd9541 upstream. ssid len is 32 bit and needs endian conversion for big endian systems. Signed-off-by: Hante Meuleman Signed-off-by:

[ 014/108] hpwdt: Fix kdump issue in hpwdt

2012-10-07 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Toshi Kani commit 308b135e4fcc00c80c07e0e04e7afa8edf78583c upstream. kdump can be interrupted by watchdog timer when the timer is left activated on the crash kernel. Changed the hpwdt driver

[ 017/108] brcmfmac: Fix big endian host configuration data.

2012-10-07 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Hante Meuleman commit e020a83d0942a5aceac35986500c9834efc8707d upstream. Fixes big endian host configuration parameters. Reviewed-by: Arend Van Spriel Signed-off-by: Hante Meuleman

[ 104/108] tg3: Fix TSO CAP for 5704 devs w / ASF enabled

2012-10-07 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Matt Carlson [ Upstream commit cf9ecf4b631f649a964fa611f1a5e8874f2a76db ] On the earliest TSO capable devices, TSO was accomplished through firmware. The TSO cannot coexist with ASF

[ 102/108] net: do not disable sg for packets requiring no checksum

2012-10-07 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Ed Cashin [ Upstream commit c0d680e577ff171e7b37dbdb1b1bf5451e851f04 ] A change in a series of VLAN-related changes appears to have inadvertently disabled the use of the scatter gather feature

[ 015/108] rtlwifi: rtl8192ce: Log message that B_CUT device may not work

2012-10-07 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Larry Finger commit 022e1d0680c7b4366017393417b8758be5abcee8 upstream. There are a number of problems that occur for the latest version of the Realtek RTL8188CE device with the in-kernel

[ 008/108] memory hotplug: fix section info double registration bug

2012-10-07 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: qiuxishi commit f14851af0ebb32745c6c5a2e400aa0549f9d20df upstream. There may be a bug when registering section info. For example, on my Itanium platform, the pfn range of node0 includes the

[ 006/108] drivers/rtc/rtc-twl.c: ensure all interrupts are disabled during probe

2012-10-07 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Kevin Hilman commit 8dcebaa9a0ae8a0487f4342f3d56d2cb1c980860 upstream. On some platforms, bootloaders are known to do some interesting RTC programming. Without going into the obscurities as

[ 107/108] Bluetooth: add support for atheros 0489:e057

2012-10-07 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Peng Chen commit 2096ae6ca647302d50a68aa36cb66a00e7dfac70 upstream. Add support for the AR3012 chip found on Fioxconn. usb-devices shows: T: Bus=06 Lev=01 Prnt=01 Port=00 Cnt=01

[ 098/108] ipv6: raw: fix icmpv6_filter()

2012-10-07 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 1b05c4b50edbddbdde715c4a7350629819f6655e ] icmpv6_filter() should not modify its input, or else its caller would need to recompute ipv6_hdr() if skb->head is

[ 099/108] ipv6: mip6: fix mip6_mh_filter()

2012-10-07 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 96af69ea2a83d292238bdba20e4508ee967cf8cb ] mip6_mh_filter() should not modify its input, or else its caller would need to recompute ipv6_hdr() if skb->head is

[ 097/108] ipv4: raw: fix icmp_filter()

2012-10-07 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit ab43ed8b7490cb387782423ecf74aeee7237e591 ] icmp_filter() should not modify its input, or else its caller would need to recompute ip_hdr() if skb->head is

[ 094/108] pppoe: drop PPPOX_ZOMBIEs in pppoe_release

2012-10-07 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Xiaodong Xu [ Upstream commit 2b018d57ff18e5405823e5cb59651a5b4d946d7b ] When PPPOE is running over a virtual ethernet interface (e.g., a bonding interface) and the user tries to delete the

[ 089/108] sierra_net: Endianess bug fix.

2012-10-07 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Lennart Sorensen [ Upstream commit 2120c52da6fe741454a60644018ad2a6abd957ac ] I discovered I couldn't get sierra_net to work on a powerpc. Turns out the firmware attribute check assumes the

[ 009/108] cciss: fix handling of protocol error

2012-10-07 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: "Stephen M. Cameron" commit 2453f5f992717251cfadab6184fbb3ec2f2e8b40 upstream. If a command completes with a status of CMD_PROTOCOL_ERR, this information should be conveyed to the SCSI mid

[ 096/108] net: guard tcp_set_keepalive() to tcp sockets

2012-10-07 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 3e10986d1d698140747fcfc2761ec9cb64c1d582 ] Its possible to use RAW sockets to get a crash in tcp_set_keepalive() / sk_reset_timer() Fix is to make sure socket

[ 108/108] Bluetooth: Add support for Sony Vaio T-Series

2012-10-07 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Yevgeniy Melnichuk commit bc21fde2d549d1cb1ebef04016eb7affa43bb5c1 upstream. Add Sony Vaio T-Series Bluetooth Module( 0x489:0xE036) to the blacklist of btusb module and add it to the ath3k

[ 085/108] ixp4xx_hss: fix build failure due to missing linux/module.h inclusion

2012-10-07 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Florian Fainelli [ Upstream commit 0b836ddde177bdd5790ade83772860940bd481ea ] Commit 36a1211970193ce215de50ed1e4e1272bc814df1 (netprio_cgroup.h: dont include module.h from other includes) made

[ 105/108] Bluetooth: Support AR3011 in Acer Iconia Tab W500

2012-10-07 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Marek Vasut commit 6eda541d12116b4772baa09d3e8d7b0389df4289 upstream. Acer used this chip connected via USB: Bus 005 Device 005: ID 0cf3:3005 Atheros Communications, Inc. AR3011 Bluetooth

[ 086/108] netxen: check for root bus in netxen_mask_aer_correctable

2012-10-07 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Nikolay Aleksandrov [ Upstream commit e4d1aa40e363ed3e0486aeeeb0d173f7f822737e ] Add a check if pdev->bus->self == NULL (root bus). When attaching a netxen NIC to a VM it can be on the root

[ 007/108] mm/page_alloc: fix the page address of higher pages buddy calculation

2012-10-07 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Li Haifeng commit 0ba8f2d59304dfe69b59c034de723ad80f7ab9ac upstream. The heuristic method for buddy has been introduced since commit 43506fad21ca ("mm/page_alloc.c: simplify calculation of

[ 084/108] net: ethernet: davinci_cpdma: decrease the desc count when cleaning up the remaining packets

2012-10-07 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: htbegin [ Upstream commit ffb5ba90017505a19e238e986e6d33f09e4df765 ] chan->count is used by rx channel. If the desc count is not updated by the clean up loop in cpdma_chan_stop, the value

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

2012-10-07 Thread K. Y. Srinivasan
Add the basic balloon driver. Windows hosts dynamically manage the guest memory allocation via a combination memory hot add and ballooning. Memory hot add is used to grow the guest memory upto the maximum memory that can be allocatted to the guest. Ballooning is used to both shrink as well as

[PATCH 1/2] mm: Export vm_committed_as

2012-10-07 Thread K. Y. Srinivasan
The policy engine on the host expects the guest to report the committed_as. Since this variable is not exported, export this symbol. Signed-off-by: K. Y. Srinivasan --- mm/mmap.c |1 + mm/nommu.c |1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/mm/mmap.c b/mm/mmap.c

[ 088/108] pkt_sched: fix virtual-start-time update in QFQ

2012-10-07 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Paolo Valente [ Upstream commit 71261956973ba9e0637848a5adb4a5819b4bae83 ] If the old timestamps of a class, say cl, are stale when the class becomes active, then QFQ may assign to cl a much

[ 103/108] aoe: assert AoE packets marked as requiring no checksum

2012-10-07 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Ed Cashin [ Upstream commit 8babe8cc6570ed896b7b596337eb8fe730c3ff45 ] In order for the network layer to see that AoE requires no checksumming in a generic way, the packets must be marked as

[ 004/108] mm/ia64: fix a memory block size bug

2012-10-07 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Jianguo Wu commit 05cf96398e1b6502f9e191291b715c7463c9d5dd upstream. I found following definition in include/linux/memory.h, in my IA64 platform, SECTION_SIZE_BITS is equal to 32, and

  1   2   3   4   5   6   7   8   >