Re: [PATCH] binfmt_script: do not leave interp on stack

2012-10-12 Thread halfdog
Kees Cook wrote: > On Thu, Oct 11, 2012 at 07:32:40PM -0700, Kees Cook wrote: >> +/* >> + * Since bprm is already modified, we cannot continue if the the >> + * handlers for starting the new interpreter have failed. >> + * Make sure that we do not return -ENOEXEC, as that would >>

RE: [PATCH] genirq: for edge interrupt IRQS_ONESHOT support with irq thread

2012-10-12 Thread anish kumar
On Fri, 2012-10-12 at 22:52 +0200, Thomas Gleixner wrote: > On Fri, 12 Oct 2012, Liu, Chuansheng wrote: > > > -Original Message- > > > From: anish kumar [mailto:anish198519851...@gmail.com] > > > Sent: Friday, October 12, 2012 11:25 PM > > > To: Liu, Chuansheng > > > Cc: Thomas Gleixner;

[GIT PULL] user namespace compile fixes for 3.7

2012-10-12 Thread Eric W. Biederman
Linus, Please pull the for-linus git tree from: git://git.kernel.org:/pub/scm/linux/kernel/git/ebiederm/user-namespace.git for-linus HEAD: e9069f470803eeb5e243a05bc717452c6218bd71 btrfs: Fix compilation with user namespace support enabled This tree contains three trivial fixes. One

[PATCH] mtd: gpmi: remove unneccessary header

2012-10-12 Thread Huang Shijie
The whole gpmi-nand driver has turned to pure devicetree supported. So the linux/mtd/gpmi-nand.h is not neccessary now. Just remove it, and move some macros to the gpmi-nand driver itself. Signed-off-by: Huang Shijie --- drivers/mtd/nand/gpmi-nand/gpmi-lib.c |1 -

Re: Seems like "sched: Add missing call to calc_load_exit_idle()" should be reverted in 3.5 branch

2012-10-12 Thread 陈华才
So I still think that "sched: Add missing call to calc_load_exit_idle()" should be reverted in 3.5 branch... > On 10/06/2012 01:23 AM, Peter Zijlstra wrote: >> On Fri, 2012-10-05 at 10:10 -0700, Jonathan Nieder wrote: >>> Peter Zijlstra wrote: On Thu, 2012-10-04 at 15:27 -0700, Greg

Re: [PATCH 04/25] blackfin: Use Kbuild infrastructure for kvm_para.h

2012-10-12 Thread Mike Frysinger
On Friday 12 October 2012 22:26:36 Steven Rostedt wrote: > From: Steven Rostedt > > All the headers but kvm_para.h use the Kbuild infrastructure to > get to the asm-generic headers. Acked-by: Mike Frysinger -mike signature.asc Description: This is a digitally signed message part.

Re: [PATCH] [media] stk1160: Remove dead code from stk1160_i2c_read_reg()

2012-10-12 Thread Ezequiel Garcia
On Sun, Nov 9, 2008 at 2:04 PM, Jesper Juhl wrote: > There are two checks for 'rc' being less than zero with no change to > 'rc' between the two, so the second is just dead code - remove it. > > Signed-off-by: Jesper Juhl > --- > drivers/media/usb/stk1160/stk1160-i2c.c |3 --- > 1 files

Re: [PATCH 20/25] sparc: Use Kbuild infrastructure to handle asm-generic headers

2012-10-12 Thread David Miller
From: Steven Rostedt Date: Fri, 12 Oct 2012 22:26:52 -0400 > From: Steven Rostedt > > Use Kbuild infrastructure to handle the asm-generic headers > and remove the wrapper headers that call them. > > This only affects headers that do nothing but include the generic > equivalent. It does not

question about /dev/root symlink

2012-10-12 Thread William Hubbs
All, I am part of the team that maintains udev on gentoo. This bug [1] has prompted me to ask a couple of questions about the /dev/root symbolic link. According to upstream udev, we should not use this at all and if tools are relying on it they should be fixed to not do so. Does the kernel

[PATCH 08/25] h8300: Use Kbuild infrastructure to handle asm-generic headers

2012-10-12 Thread Steven Rostedt
From: Steven Rostedt Use Kbuild infrastructure to handle the asm-generic headers and remove the wrapper headers that call them. This only affects headers that do nothing but include the generic equivalent. It does not touch any header that does a little more. Cc: linux-kbu...@vger.kernel.org

[PATCH 07/25] frv: Use Kbuild infrastructure to handle asm-generic headers

2012-10-12 Thread Steven Rostedt
From: Steven Rostedt Use Kbuild infrastructure to handle the asm-generic headers and remove the wrapper headers that call them. This only affects headers that do nothing but include the generic equivalent. It does not touch any header that does a little more. Cc: linux-kbu...@vger.kernel.org

[PATCH 04/25] blackfin: Use Kbuild infrastructure for kvm_para.h

2012-10-12 Thread Steven Rostedt
From: Steven Rostedt All the headers but kvm_para.h use the Kbuild infrastructure to get to the asm-generic headers. Cc: linux-kbu...@vger.kernel.org Cc: uclinux-dist-de...@blackfin.uclinux.org Cc: Mike Frysinger Signed-off-by: Steven Rostedt --- arch/blackfin/include/asm/Kbuild |1 +

[PATCH 00/25] asm-generic: Convert all to use Kbuild file

2012-10-12 Thread Steven Rostedt
Recently I suggested to someone that was adding a new asm file that currently only contained an x86 change to add a header in all archs that was just a wrapper to point to the asm-generic version. I suggested this because that's the way we use to do it and just to refresh my memory, I looked at

[PATCH 09/25] hexagon: Use Kbuild infrastructure for kvm_para.h

2012-10-12 Thread Steven Rostedt
From: Steven Rostedt All the headers but kvm_para.h use the Kbuild infrastructure to get to the asm-generic headers. Cc: linux-kbu...@vger.kernel.org Cc: linux-hexa...@vger.kernel.org Cc: Richard Kuo Signed-off-by: Steven Rostedt --- arch/hexagon/include/asm/Kbuild |1 +

[PATCH 10/25] ia64: Use Kbuild infrastructure to handle asm-generic headers

2012-10-12 Thread Steven Rostedt
From: Steven Rostedt Use Kbuild infrastructure to handle the asm-generic headers and remove the wrapper headers that call them. This only affects headers that do nothing but include the generic equivalent. It does not touch any header that does a little more. Cc: linux-kbu...@vger.kernel.org

[PATCH 01/25] alpha: Use Kbuild infrastructure to handle asm-generic headers

2012-10-12 Thread Steven Rostedt
From: Steven Rostedt Use Kbuild infrastructure to handle the asm-generic headers and remove the wrapper headers that call them. This only affects headers that do nothing but include the generic equivalent. It does not touch any header that does a little more. Cc: linux-kbu...@vger.kernel.org

[PATCH 16/25] parisc: Use Kbuild infrastructure to handle asm-generic headers

2012-10-12 Thread Steven Rostedt
From: Steven Rostedt Use Kbuild infrastructure to handle the asm-generic headers and remove the wrapper headers that call them. This only affects headers that do nothing but include the generic equivalent. It does not touch any header that does a little more. Cc: linux-kbu...@vger.kernel.org

[PATCH 12/25] microblaze: Use Kbuild infrastructure to handle asm-generic headers

2012-10-12 Thread Steven Rostedt
From: Steven Rostedt Use Kbuild infrastructure to handle the asm-generic headers and remove the wrapper headers that call them. This only affects headers that do nothing but include the generic equivalent. It does not touch any header that does a little more. Cc: linux-kbu...@vger.kernel.org

[PATCH 20/25] sparc: Use Kbuild infrastructure to handle asm-generic headers

2012-10-12 Thread Steven Rostedt
From: Steven Rostedt Use Kbuild infrastructure to handle the asm-generic headers and remove the wrapper headers that call them. This only affects headers that do nothing but include the generic equivalent. It does not touch any header that does a little more. Cc: linux-kbu...@vger.kernel.org

[PATCH 13/25] mips: Use Kbuild infrastructure to handle asm-generic headers

2012-10-12 Thread Steven Rostedt
From: Steven Rostedt Use Kbuild infrastructure to handle the asm-generic headers and remove the wrapper headers that call them. This only affects headers that do nothing but include the generic equivalent. It does not touch any header that does a little more. Cc: linux-kbu...@vger.kernel.org

[PATCH 02/25] arm: Use Kbuild infrastructure to handle asm-generic headers

2012-10-12 Thread Steven Rostedt
From: Steven Rostedt Use Kbuild infrastructure to handle the asm-generic headers and remove the wrapper headers that call them. This only affects headers that do nothing but include the generic equivalent. It does not touch any header that does a little more. Cc: linux-kbu...@vger.kernel.org

[PATCH 17/25] powerpc: Use Kbuild infrastructure to handle asm-generic headers

2012-10-12 Thread Steven Rostedt
From: Steven Rostedt Use Kbuild infrastructure to handle the asm-generic headers and remove the wrapper headers that call them. This only affects headers that do nothing but include the generic equivalent. It does not touch any header that does a little more. Cc: linux-kbu...@vger.kernel.org

[PATCH 06/25] cris: Use Kbuild infrastructure to handle asm-generic headers

2012-10-12 Thread Steven Rostedt
From: Steven Rostedt Use Kbuild infrastructure to handle the asm-generic headers and remove the wrapper headers that call them. This only affects headers that do nothing but include the generic equivalent. It does not touch any header that does a little more. Cc: linux-kbu...@vger.kernel.org

[PATCH 11/25] m32r: Use Kbuild infrastructure to handle asm-generic headers

2012-10-12 Thread Steven Rostedt
From: Steven Rostedt Use Kbuild infrastructure to handle the asm-generic headers and remove the wrapper headers that call them. This only affects headers that do nothing but include the generic equivalent. It does not touch any header that does a little more. Cc: linux-kbu...@vger.kernel.org

[PATCH 14/25] mn10300: Use Kbuild infrastructure to handle asm-generic headers

2012-10-12 Thread Steven Rostedt
From: Steven Rostedt Use Kbuild infrastructure to handle the asm-generic headers and remove the wrapper headers that call them. This only affects headers that do nothing but include the generic equivalent. It does not touch any header that does a little more. Cc: linux-kbu...@vger.kernel.org

[PATCH 18/25] s390: Use Kbuild infrastructure to handle asm-generic headers

2012-10-12 Thread Steven Rostedt
From: Steven Rostedt Use Kbuild infrastructure to handle the asm-generic headers and remove the wrapper headers that call them. This only affects headers that do nothing but include the generic equivalent. It does not touch any header that does a little more. Cc: linux-kbu...@vger.kernel.org

[PATCH 19/25] score: Use Kbuild infrastructure to handle asm-generic headers

2012-10-12 Thread Steven Rostedt
From: Steven Rostedt Use Kbuild infrastructure to handle the asm-generic headers and remove the wrapper headers that call them. This only affects headers that do nothing but include the generic equivalent. It does not touch any header that does a little more. Cc: linux-kbu...@vger.kernel.org

[PATCH 22/25] um: Use Kbuild infrastructure for kvm_para.h

2012-10-12 Thread Steven Rostedt
From: Steven Rostedt All the headers but kvm_para.h use the Kbuild infrastructure to get to the asm-generic headers. (also had to add ipcbuf.h) Cc: linux-kbu...@vger.kernel.org Cc: user-mode-linux-de...@lists.sourceforge.net Cc: Jeff Dike Cc: Richard Weinberger Signed-off-by: Steven Rostedt

[PATCH 05/25] c6x: Use Kbuild infrastructure for kvm_para.h

2012-10-12 Thread Steven Rostedt
From: Steven Rostedt All the headers but kvm_para.h use the Kbuild infrastructure to get to the asm-generic headers. Cc: linux-kbu...@vger.kernel.org Cc: linux-c6x-...@linux-c6x.org Cc: Mark Salter Cc: Aurelien Jacquiot Signed-off-by: Steven Rostedt --- arch/c6x/include/asm/Kbuild |

[PATCH 24/25] x86: Use Kbuild infrastructure to handle asm-generic headers

2012-10-12 Thread Steven Rostedt
From: Steven Rostedt Use Kbuild infrastructure to handle the asm-generic headers and remove the wrapper headers that call them. This only affects headers that do nothing but include the generic equivalent. It does not touch any header that does a little more. Cc: linux-kbu...@vger.kernel.org

[PATCH 25/25] xtensa: Use Kbuild infrastructure to handle asm-generic headers

2012-10-12 Thread Steven Rostedt
From: Steven Rostedt Use Kbuild infrastructure to handle the asm-generic headers and remove the wrapper headers that call them. This only affects headers that do nothing but include the generic equivalent. It does not touch any header that does a little more. Cc: linux-kbu...@vger.kernel.org

[PATCH 15/25] openrisc: Use Kbuild infrastructure for kvm_para.h

2012-10-12 Thread Steven Rostedt
From: Steven Rostedt All the headers but kvm_para.h use the Kbuild infrastructure to get to the asm-generic headers. Cc: linux-kbu...@vger.kernel.org Cc: li...@lists.openrisc.net Cc: Jonas Bonn Signed-off-by: Steven Rostedt --- arch/openrisc/include/asm/Kbuild |1 +

[PATCH 23/25] unicore32: Use Kbuild infrastructure for kvm_para.h

2012-10-12 Thread Steven Rostedt
From: Steven Rostedt All the headers but kvm_para.h use the Kbuild infrastructure to get to the asm-generic headers. Cc: linux-kbu...@vger.kernel.org Cc: Guan Xuetao Signed-off-by: Steven Rostedt --- arch/unicore32/include/asm/Kbuild |1 + arch/unicore32/include/asm/kvm_para.h |1

[PATCH 03/25] avr32: Use Kbuild infrastructure to handle asm-generic headers

2012-10-12 Thread Steven Rostedt
From: Steven Rostedt Use Kbuild infrastructure to handle the asm-generic headers and remove the wrapper headers that call them. This only affects headers that do nothing but include the generic equivalent. It does not touch any header that does a little more. Cc: linux-kbu...@vger.kernel.org

[PATCH 21/25] tile: Use Kbuild infrastructure for kvm_para.h

2012-10-12 Thread Steven Rostedt
From: Steven Rostedt All the headers but kvm_para.h use the Kbuild infrastructure to get to the asm-generic headers. Cc: linux-kbu...@vger.kernel.org Cc: Chris Metcalf Signed-off-by: Steven Rostedt --- arch/tile/include/asm/Kbuild |1 + arch/tile/include/asm/kvm_para.h |1 - 2

Re: [GIT PULL] (xen) stable/for-linus-3.7-uapi-tag for v3.7-rc0

2012-10-12 Thread Linus Torvalds
On Fri, Oct 12, 2012 at 10:45 PM, Konrad Rzeszutek Wilk wrote: > > Please pull! Btw, please use the -M switch to get renames as renames (and --summary). You diffstat: > include/uapi/xen/Kbuild|2 + > include/uapi/xen/evtchn.h | 88 +++ >

[PATCH] PM / Domains: Fix memory leak on error path in pm_genpd_attach_cpuidle

2012-10-12 Thread Jonghwan Choi
If pm_genpd_attach_cpudidle failed we leak memory stored in 'cpu_data'. Signed-off-by: Jonghwan Choi --- drivers/base/power/domain.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/drivers/base/power/domain.c b/drivers/base/power/domain.c index c22b869..96b71b6

Re: [PATCH 1/1] task_work: Add local_irq_enable() into task_work_run()

2012-10-12 Thread Al Viro
On Sat, Oct 13, 2012 at 10:09:36AM +0900, Linus Torvalds wrote: > On Sat, Oct 13, 2012 at 1:03 AM, Oleg Nesterov wrote: > > arch/alpha and probably some other architectures call > > do_notify_resume()->task_work_run() with irqs disabled. > > I'm going to ignore this patch because I *hope* it is

Re: [PATCH 1/1] task_work: Add local_irq_enable() into task_work_run()

2012-10-12 Thread Linus Torvalds
On Sat, Oct 13, 2012 at 1:03 AM, Oleg Nesterov wrote: > arch/alpha and probably some other architectures call > do_notify_resume()->task_work_run() with irqs disabled. I'm going to ignore this patch because I *hope* it is unnecessary after the pull from Al that I just did. But if that turns out

CONFIG_MODULE_SIG breaks out-of-tree modules in modpost.

2012-10-12 Thread Valdis Kletnieks
For starters, yes, I *do* understand the security issues involved, and no, I *don't* want to hear about NVidia evilness, because this looks like a modpost problem not an NVidia problem. I built next-20121011 with CONFIG_MODULE_SIG=y, and MODULE_SIG_FORCE=n, so that I could test the feature, and

[PATCH] sdhci: put regulator if probe fails

2012-10-12 Thread Thadeu Lima de Souza Cascardo
When using the dummy regulator, SDHCI may fail its probing because the regulator does not support any voltages. When reloading the driver, you will get a warning about a duplicate sysfs link. [72211.963386] :03:00.0 supply vmmc not found, using dummy regulator [72211.963409] [

[git pull] signals pile 3

2012-10-12 Thread Al Viro
The last bits of infrastructure for kernel_thread() et.al., with alpha/arm/x86 use of those. Plus sanitizing the asm glue and do_notify_resume() on alpha, fixing the "disabled irq while running task_work stuff" breakage there. At that point the rest of kernel_thread/kernel_execve/sys_execve work

[PATCH] ACPI video: Ignore errors after _DOD evaluation.

2012-10-12 Thread Igor Murzov
There are systems where video module known to work fine regardless of broken _DOD and ignoring returned value here doesn't cause any issues later. This should fix brightness controls on some laptops. Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=47861 Signed-off-by: Igor Murzov

[git pull] vfs pile 3

2012-10-12 Thread Al Viro
Stuff from Jeff Layton, mostly. Sanitizing interplay between audit and namei, removing a lot of insanity from audit_inode() mess and getting things ready for his ESTALE patchset. Please, pull from the usual place - git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git for-linus

[PATCH 2/2] uapi: remove trailing spaces

2012-10-12 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" No functional changes. Cc: dri-de...@lists.freedesktop.org Cc: linux-kernel@vger.kernel.org Cc: de...@driverdev.osuosl.org Cc: backpo...@vger.kernel.org Cc: Rob Clark Cc: Arnd Bergmann Cc: Dave Jones Cc: David Airlie Cc: Ben Skeggs Cc: Alan Cox Cc: David Howells

[PATCH 1/2] uapi: update includes for drm content when no kernel API exists

2012-10-12 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" The UAPI changes split kernel API and userspace API content onto two separate header files. The userspace API drm content was moved to include/uapi/drm/ with the same file name while kernel specific API content was kept under include/drm/ with the same file name. When

[PATCH 0/2] uapi: two minor changes

2012-10-12 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" Here are a few minor updates to the UAPI changes [0]. The first one is to help with the backport effort [1], the second one is simply space cosmetic change to address my eyes bleeding while reviewing the changes on next-20121012 with git. If the changes on

Re: [GIT PULL] Disintegrate UAPI for spi

2012-10-12 Thread Grant Likely
On Sat, Oct 13, 2012 at 12:06 AM, David Howells wrote: > Grant Likely wrote: > >> > Can you merge the following branch into the spi tree please. >> >> Do you want this merged into 3.7? If so, go ahead and push it directly >> to Linus. I've not been able to do any maintainership stuff for the >>

[PATCH 1/1] Tools: hv: Don't return loopback addresses

2012-10-12 Thread K. Y. Srinivasan
Don't return loopback addresses and further don't terminate the IP address strings with a semicolon. This is the current behavior of Windows guests. Signed-off-by: K. Y. Srinivasan Reviewed-by: Haiyang Zhang Reported-by: Claudio Latini --- tools/hv/hv_kvp_daemon.c | 13 + 1

[PATCH 1/1] tools: hv: Return the full kernel version

2012-10-12 Thread K. Y. Srinivasan
Currently, we are returning the same string for both OSBuildNumber and OSVersion keys. Return the full uts string for the OSBuild key since Windows does not impose any restrictions on this. Signed-off-by: K. Y. Srinivasan Reviewed-by: Haiyang Zhang Reported-by: Claudio Latini ---

Re: [PATCH RFC 2/2] [x86] Optimize copy_page by re-arranging instruction sequence and saving register

2012-10-12 Thread Borislav Petkov
On Fri, Oct 12, 2012 at 05:02:57PM -0400, George Spelvin wrote: > Here are some Phenom results for that benchmark. The average time > increases from 700 to 760 cycles (+8.6%). I was afraid something like that would show up. Btw, in looking at this more and IINM, we use the REP MOVSQ version on

Re: [GIT PULL] Disintegrate UAPI for spi

2012-10-12 Thread David Howells
Grant Likely wrote: > > Can you merge the following branch into the spi tree please. > > Do you want this merged into 3.7? If so, go ahead and push it directly > to Linus. I've not been able to do any maintainership stuff for the > last merge window or this one. Mark Brown has covered for me on

Re: [dm-crypt] PROBLEM: read starvation during writeback

2012-10-12 Thread Michael Zugelder
Hi, On Fri, 2012-10-12 at 22:34 +0200, Milan Broz wrote: > On 10/12/2012 09:37 PM, Michael Zugelder wrote: > > Testing setup: > > * Fedora 17, stock 3.5.4-2.fc17 kernel and a self-compiled 3.6.1 kernel > > * 320 GiB USB hard drive (sdb) > > I guess that USB is the key factor here... I

[git pull] 3.7 device-mapper changes

2012-10-12 Thread Alasdair G Kergon
Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/agk/linux-dm tags/dm-3.7-changes to get the following device-mapper changes for 3.7. Thanks, Alasdair Remove the power-of-2 block size constraint on discards in

Re: [GIT PULL] Disintegrate UAPI for spi

2012-10-12 Thread Grant Likely
On Tue, Oct 9, 2012 at 2:30 PM, David Howells wrote: > Can you merge the following branch into the spi tree please. Do you want this merged into 3.7? If so, go ahead and push it directly to Linus. I've not been able to do any maintainership stuff for the last merge window or this one. Mark Brown

Re: [Xen-devel] [PATCH V2 3/7]: PVH: mmu related changes.

2012-10-12 Thread Mukesh Rathor
On Fri, 12 Oct 2012 09:57:56 +0100 Ian Campbell wrote: > On Thu, 2012-10-11 at 22:58 +0100, Mukesh Rathor wrote: > > @@ -2177,8 +2210,19 @@ static const struct pv_mmu_ops xen_mmu_ops > > __initconst = { > > > > void __init xen_init_mmu_ops(void) > > { > > -

Re: [PATCH 2/3] vmevent: Factor vmevent_match_attr() out of vmevent_match()

2012-10-12 Thread Anton Vorontsov
On Fri, Oct 12, 2012 at 03:37:43PM +0300, Pekka Enberg wrote: [...] > > +static bool vmevent_match_attr(struct vmevent_attr *attr, u64 value) > > +{ > > + u32 state = attr->state; > > + bool attr_lt = state & VMEVENT_ATTR_STATE_VALUE_LT; > > + bool attr_gt = state &

[GIT PULL] Final round of SCSI updates for the 3.6+ merge window

2012-10-12 Thread James Bottomley
This is an assorted set of stragglers into the merge window with driver updates for megaraid_sas, lpfc, bfi and mvumi. It also includes some fairly major fixes for virtio-scsi (scatterlist init), scsi_debug (off by one error), storvsc (use after free) and qla2xxx (potential deadlock). The patch

Re: [PATCH 0/1] (Was: [regression] boot failure on alpha, bisected)

2012-10-12 Thread Al Viro
On Fri, Oct 12, 2012 at 06:03:37PM +0200, Oleg Nesterov wrote: > On 10/06, Thorsten Kranzkowski wrote: > > > > After upgrading from v3.5-rc7 to current git my system oopses and locks up > > early in the boot sequence. > > OK, I am sending the patch which I already showed. > > Perhaps we should

[PATCH] [media] stk1160: Remove dead code from stk1160_i2c_read_reg()

2012-10-12 Thread Jesper Juhl
There are two checks for 'rc' being less than zero with no change to 'rc' between the two, so the second is just dead code - remove it. Signed-off-by: Jesper Juhl --- drivers/media/usb/stk1160/stk1160-i2c.c |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git

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

2012-10-12 Thread Linus Walleij
On Sat, Oct 13, 2012 at 12:04 AM, Vivien Didelot wrote: > About the generic driver (to allow registering one platform device per > DIO block), I think it won't be possible, because there are shared > regions, such as 0x7d, used by DIO2 and LCD DIO for direction... Probably true. > Is there a

Re: [ 097/120] rcu: Fix day-one dyntick-idle stall-warning bug

2012-10-12 Thread Ben Hutchings
On Thu, 2012-10-11 at 10:00 +0900, Greg Kroah-Hartman wrote: > 3.4-stable review patch. If anyone has any objections, please let me know. > > -- > > From: "Paul E. McKenney" > > commit a10d206ef1a83121ab7430cb196e0376a7145b22 upstream. [...] > This commit therefore makes CPUs

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

2012-10-12 Thread Vivien Didelot
Hi Linus, On Fri, 2012-10-12 at 22:53 +0200, Linus Walleij wrote: > Well that may also be a pretty big step if you just want to mux > one bank of GPIO. I'm a bit ambivalent. But if you want to tie > pin and gpio information together and name all pins, pinctrl > is what should suit you best. > >

Re: [PATCH 2/3] Do not use acpi_device to find pci root bridge in _init code.

2012-10-12 Thread Yinghai Lu
On Fri, Oct 12, 2012 at 11:34 AM, Yinghai Lu wrote: > On Fri, Oct 12, 2012 at 3:54 AM, Jiang Liu wrote: >> On 2012-10-12 18:42, Tang Chen wrote: >>> On 10/12/2012 06:36 PM, Jiang Liu wrote: I have sent a similar patch to Yinghai before. For simplicity, we could use

Re: [RFC PATCH 3/3] Convert mce_disabled

2012-10-12 Thread Borislav Petkov
On Fri, Oct 12, 2012 at 05:46:16PM +, Luck, Tony wrote: > > Or, you can modify the mca_config I have there and use bools and pass a > > pointer to each actual bool member in each DEVICE_BIT_ATTR invocation > > (and rename it to DEVICE_BOOL_ATTR). Yeah, that could work, unless I'm > > missing

Re: [RFT/PATCH] serial: omap: prevent resume if device is not suspended.

2012-10-12 Thread Tony Lindgren
* Kevin Hilman [121012 13:34]: > > I'm not conviced (yet) that a mismatch is the root cause. Yes, that's > what the author of $SUBJECT patch assumed and stated, but I'm not > pursuaded. > > If it's an improperly configured mux issue, then the UART will break > whenever the device is actually

Re: [PATCH] [ARM] Use AT() in the linker script to create correct program headers

2012-10-12 Thread Jason Gunthorpe
On Wed, Oct 10, 2012 at 10:55:44AM +0100, Dave Martin wrote: > As a side comment, some things such as MAC addresses can be probed and > set from userspace after kernel boot, assuming that you have a way > to fetch the device description blob from userspace. If it's accessible > via MTD I'm

Re: [Xen-devel] [PATCH V2 1/7]: PVH: basic and header changes, elfnote changes, ...

2012-10-12 Thread Mukesh Rathor
On Fri, 12 Oct 2012 09:48:48 +0100 Ian Campbell wrote: > > index fdce49c..9323b8c 100644 > > --- a/arch/x86/xen/Kconfig > > +++ b/arch/x86/xen/Kconfig > > @@ -50,3 +50,13 @@ config XEN_DEBUG_FS > > Enable statistics output and various tuning options in > > debugfs. Enabling this option may

Linux 3.0.46

2012-10-12 Thread Greg KH
I'm announcing the release of the 3.0.46 kernel. All users of the 3.0 kernel series must upgrade. The updated 3.0.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.0.y and can be browsed at the normal kernel.org git web browser:

Linux 3.4.14

2012-10-12 Thread Greg KH
I'm announcing the release of the 3.4.14 kernel. All users of the 3.4 kernel series must upgrade. The updated 3.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.4.y and can be browsed at the normal kernel.org git web browser:

Re: [Xen-devel] [PATCH V2 0/7]: PVH: PV guest with extensions

2012-10-12 Thread Mukesh Rathor
On Fri, 12 Oct 2012 10:18:31 +0100 Ian Campbell wrote: > On Thu, 2012-10-11 at 22:49 +0100, Mukesh Rathor wrote: > > Hi guys, > > > > Ok, I've made all the changes from prev RFC patch submissions. > > Tested all the combinations. The patches are organized slightly > > differently from prev

Linux 3.5.7

2012-10-12 Thread Greg KH
I'm announcing the release of the 3.5.7 kernel. Note, this is the LAST 3.5.y kernel release, it is now end-of-life. Please move to the 3.6 kernel branch at this time. All users of the 3.5 kernel series must upgrade. The updated 3.5.y git tree can be found at:

Linux 3.6.2

2012-10-12 Thread Greg KH
I'm announcing the release of the 3.6.2 kernel. All users of the 3.6 kernel series must upgrade. The updated 3.6.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.6.y and can be browsed at the normal kernel.org git web browser:

Re: Intel graphics drm issue?

2012-10-12 Thread Bruno Prémont
Hi Mark, [CCing intel-gfx] On Fri, 12 October 2012 Mark Hounschell wrote: > Not sure this is the correct place to ask about a possible drm issue. I > have an intel based PC with an HDMI port that I'm trying to connect to > an LG TV. I have successfully used this HDMI port connected to an

Re: [ 011/120] lib/gcd.c: prevent possible div by 0

2012-10-12 Thread Greg Kroah-Hartman
On Fri, Oct 12, 2012 at 10:11:24PM +0100, Ben Hutchings wrote: > On Thu, 2012-10-11 at 09:59 +0900, Greg Kroah-Hartman wrote: > > 3.4-stable review patch. If anyone has any objections, please let me know. > > > > -- > > > > From: Davidlohr Bueso > > > > commit

Re: [PATCH 4/6] ARM: ux500: Add UART support to the u9540 Device Tree

2012-10-12 Thread Linus Walleij
On Thu, Oct 11, 2012 at 8:06 PM, Jean-Christophe PLAGNIOL-VILLARD wrote: > On 10:22 Thu 11 Oct , Lee Jones wrote: >> The board could actually be called either ccu9540, or just >> u9540. I picked one and went with it. The full name is the >> u9540 development board. > > so use ccu9540 as

Re: [ 011/120] lib/gcd.c: prevent possible div by 0

2012-10-12 Thread Ben Hutchings
On Thu, 2012-10-11 at 09:59 +0900, Greg Kroah-Hartman wrote: > 3.4-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Davidlohr Bueso > > commit e96875677fb2b7cb739c5d7769824dff7260d31d upstream. > > Account for all properties when a

[PATCH] iw_cxgb4: do not free chunk that we have failed to allocate

2012-10-12 Thread Thadeu Lima de Souza Cascardo
In the error path of registering memory, in case there is a failure when trying to allocate a chunk from the memory pool, it will try to free the same chunk, which will BUG. Signed-off-by: Thadeu Lima de Souza Cascardo --- drivers/infiniband/hw/cxgb4/mem.c |2 +- 1 files changed, 1

[PATCH] genalloc: the chunk bitmap should be sized as a multiple of long

2012-10-12 Thread Thadeu Lima de Souza Cascardo
A gen_pool_chunk uses a bitmap to find what addresses ranges it has allocated and bugs when we destroy the pool and a chunk has some bits set. There is a problem when it allocates the bitmap. It allocates only the number of bytes needed for the bits that represent the size it's allocating. That

Re: [PATCH 2/2] input: gpio-keys: Add runtime support

2012-10-12 Thread Linus Walleij
On Thu, Oct 11, 2012 at 4:22 PM, Shubhrajyoti Datta wrote: >> @@ -526,6 +527,7 @@ static int gpio_keys_open(struct input_dev *input) >> { >> struct gpio_keys_drvdata *ddata = input_get_drvdata(input); >> >> + pm_runtime_get_sync(input->dev.parent); > > I am not an expert of the

Re: [PATCH] perf: teach perf inject to merge sched_stat_* and sched_switch events (v3)

2012-10-12 Thread Andrey Wagin
Hello Frederic, Could you write your opinion about this patch? Here are fixed all bugs, which you mentioned for the previous version. Thanks. 2012/9/18 Andrew Vagin : > You may want to know where and how long a task is sleeping. A callchain > may be found in sched_switch and a time slice in

Re: [PATCH 02/16] f2fs: add on-disk layout

2012-10-12 Thread Arnd Bergmann
On Friday 05 October 2012 20:56:44 김재극 wrote: > +struct f2fs_nat_entry { > + __u8 version; > + __le32 ino; > + __le32 block_addr; > +} __packed; > + > +struct f2fs_nat_block { > + struct f2fs_nat_entry entries[NAT_ENTRY_PER_BLOCK]; > +} __packed; Using "__packed" on

Re: [PATCH RFC 2/2] [x86] Optimize copy_page by re-arranging instruction sequence and saving register

2012-10-12 Thread George Spelvin
Here are some Phenom results for that benchmark. The average time increases from 700 to 760 cycles (+8.6%). vendor_id : AuthenticAMD cpu family : 16 model : 2 model name : AMD Phenom(tm) 9850 Quad-Core Processor stepping: 3 microcode : 0x183 cpu MHz

Re: [patch] gpio-timberdale: fix a potential wrapping issue

2012-10-12 Thread Linus Walleij
On Thu, Oct 11, 2012 at 8:56 AM, Dan Carpenter wrote: > ->last_ier is an unsigned long but the high bits can't be used int the > original code because the shift wraps. > > Signed-off-by: Dan Carpenter Applied, thanks! Should we send this to stable? (I assume so ...) Yours, Linus Walleij -- To

RE: [PATCH] genirq: for edge interrupt IRQS_ONESHOT support with irq thread

2012-10-12 Thread Thomas Gleixner
On Fri, 12 Oct 2012, Liu, Chuansheng wrote: > > > But IRQS_ONESHOT does not work well for edge interrupt. > > > And pasting the IRQS_ONESHOT description: > > > * IRQS_ONESHOT- irq is not unmasked in primary handler > > > > Right, and edge type interrupts doe not support it. >

Re: [PATCH 00/16] f2fs: introduce flash-friendly file system

2012-10-12 Thread Arnd Bergmann
On Wednesday 10 October 2012 11:36:14 David Woodhouse wrote: > The whole thing is silly. What we actually want on an embedded system is > to ditch the FTL altogether and have direct access to the NAND. Then we > can know our file system is behaving optimally. And we don't need > hacks like TRIM to

Re: [PATCH] TPM: Let the tpm char device be openable multiple times

2012-10-12 Thread Jason Gunthorpe
On Wed, Oct 10, 2012 at 11:33:24AM -0500, Kent Yoder wrote: > On Sun, Sep 30, 2012 at 05:33:45PM -0600, Jason Gunthorpe wrote: > > How to use the TPM is really a user space policy choice, if the > > environment wants to use middleware then fine, but it is possible to > > make correct TPM apps

Re: [PATCH 00/16] f2fs: introduce flash-friendly file system

2012-10-12 Thread Arnd Bergmann
On Wednesday 10 October 2012 00:53:51 Theodore Ts'o wrote: > On Tue, Oct 09, 2012 at 01:01:24PM +0200, Lukáš Czerner wrote: > > Do not get me wrong, I do not think it is worth to wait for vendors > > to come to their senses, but it is worth constantly reminding that > > we *need* this kind of

RE: [PATCH] genirq: for edge interrupt IRQS_ONESHOT support with irq thread

2012-10-12 Thread Thomas Gleixner
On Fri, 12 Oct 2012, Liu, Chuansheng wrote: > > On SMP an interrupt which is raised after the ack() again before the > > handler finishes, can invoke another delivery on a different CPU, > > which then sees the IRQ_INPROGESS flag, masks it and flags it > > PENDING. When the primary handler on the

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

2012-10-12 Thread Linus Walleij
On Mon, Oct 8, 2012 at 8:20 PM, Vivien Didelot wrote: > On Mon, 2012-10-08 at 12:38 +0200, Linus Walleij wrote: >> On Wed, Sep 26, 2012 at 2:42 AM, Vivien Didelot >> wrote: >> Part of me dislike that you create one single driver for all >> three blocks instead of abstracting the driver to

RE: [PATCH] genirq: for edge interrupt IRQS_ONESHOT support with irq thread

2012-10-12 Thread Thomas Gleixner
On Fri, 12 Oct 2012, Liu, Chuansheng wrote: > > -Original Message- > > From: anish kumar [mailto:anish198519851...@gmail.com] > > Sent: Friday, October 12, 2012 11:25 PM > > To: Liu, Chuansheng > > Cc: Thomas Gleixner; linux-kernel@vger.kernel.org > > Subject: RE: [PATCH] genirq: for edge

Re: PROBLEM: [dm-crypt] read starvation during writeback

2012-10-12 Thread Milan Broz
On 10/12/2012 09:37 PM, Michael Zugelder wrote: > I'm having an issue reading data via dm-crypt when there is heavy > writeback going on (i.e. copying large files or using dd). A single > read takes anywhere from a few seconds to multiple minutes. > > Testing setup: > * Fedora 17, stock

Re: [RFT/PATCH] serial: omap: prevent resume if device is not suspended.

2012-10-12 Thread Kevin Hilman
Russell King - ARM Linux writes: > On Fri, Oct 12, 2012 at 10:59:22AM -0700, Kevin Hilman wrote: >> Russell King - ARM Linux writes: >> >> > On Fri, Oct 12, 2012 at 09:35:54AM -0700, Kevin Hilman wrote: >> >> Sourav writes: >> >> > diff --git a/drivers/tty/serial/omap-serial.c >> >> >

[GIT PULL] tile updates for 3.7

2012-10-12 Thread Chris Metcalf
Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile.git master Note that this is not based off the 3.6.0 release but off an intermediate point that includes David Howell's uapi disintegration work; the bulk of this change is the tile uapi disintegration.

Re: [PATCH v2] net: calxedaxgmac: rework transmit ring handling

2012-10-12 Thread Rob Herring
Eric Dumazet wrote: >On Fri, 2012-10-12 at 13:04 -0500, Rob Herring wrote: >> From: Rob Herring >> >> Only generate tx interrupts on every ring size / 4 descriptors. Move >the >> netif_stop_queue call to the end of the xmit function rather than >> checking at the beginning. >> >>

Re: [PATCH v2] TPM: Provide a tpm_tis OF driver

2012-10-12 Thread Jason Gunthorpe
On Wed, Oct 10, 2012 at 11:24:28AM -0500, Kent Yoder wrote: > Why change the structs to const here? This generates warnings for me: I should have dropped this, I was added when I added the __devinitdata annotations.. > > + > > +static struct platform_driver tis_driver = { > > .driver = {

Re: [PATCH 2/5] efivarfs: efivarfs_create() ensure we drop our reference on inode on error

2012-10-12 Thread Khalid Aziz
On Fri, 2012-10-12 at 20:21 +0100, Matt Fleming wrote: > This is a common idiom used throughout the kernel to simply error paths. > As you noted, calling kfree(NULL) is harmless and there's certainly no > need to worry about the overhead of calling kfree() without doing any > freeing since the

atd stopped working in kernel 3.6.0

2012-10-12 Thread russellbell
I apologize if this is the wrong spot. I can't figure out where to go. atd fails beginning in kernel 3.6.0 reporting 'Can't link execution file: Operation not permitted' 1) atd works in kernel 3.5.5 2) A version built from the latest source in 3.6.1 fails in the same way

[PATCH 1/3] Drivers: hv: Get rid of unnecessary forward declarations

2012-10-12 Thread K. Y. Srinivasan
Get rid of unnecessary forward declarations. Signed-off-by: K. Y. Srinivasan Reviewed-by: Haiyang Zhang Reported-by: Jason Wang --- drivers/hv/channel.c |8 1 files changed, 0 insertions(+), 8 deletions(-) diff --git a/drivers/hv/channel.c b/drivers/hv/channel.c index

[PATCH 3/3] Drivers: hv: Get rid of hv_ringbuffer_cleanup()

2012-10-12 Thread K. Y. Srinivasan
hv_ringbuffer_cleanup() is an empty function; get rid of it. Signed-off-by: K. Y. Srinivasan Reviewed-by: Haiyang Zhang Reported-by: Jason Wang --- drivers/hv/channel.c |4 drivers/hv/hyperv_vmbus.h |1 - drivers/hv/ring_buffer.c | 11 --- 3 files changed, 0

  1   2   3   4   5   6   7   8   9   >