[PATCH] staging/olpc_dcon: fix checkpatch warnings

2012-07-26 Thread Toshiaki Yamane
Now checkpatch clean. $ find drivers/staging/olpc_dcon/ -name "*.[ch]"|xargs ./scripts/checkpatch.pl \ -f --terse --nosummary|cut -f3- -d":"|sort |uniq -c|sort -n 2 WARNING: msleep < 20ms can sleep for up to 20ms; see Documentation/timers/timers-howto.txt 3 WARNING: Prefer pr_debug(

[vmw_vmci 07/11] Apply VMCI hash table

2012-07-26 Thread Andrew Stiegmann (stieg)
Implements a hash table for VMCI's use. Signed-off-by: Andrew Stiegmann (stieg) --- drivers/misc/vmw_vmci/vmci_hash_table.c | 332 +++ drivers/misc/vmw_vmci/vmci_hash_table.h | 56 + 2 files changed, 388 insertions(+), 0 deletions(-) create mode 100644 drivers

Re: [vmw_vmci 01/11] Apply VMCI context code

2012-07-26 Thread Greg KH
On Thu, Jul 26, 2012 at 04:39:30PM -0700, Andrew Stiegmann (stieg) wrote: > Context code maintains state for vmci and allows the driver > to communicate with multiple VMs. > > Signed-off-by: Andrew Stiegmann (stieg) One tiny nit: > diff --git a/drivers/misc/vmw_vmci/vmci_context.c > b/drivers/

[vmw_vmci 03/11] Apply VMCI doorbell code

2012-07-26 Thread Andrew Stiegmann (stieg)
Doorbell code allows for notifcations between host and guest. Signed-off-by: Andrew Stiegmann (stieg) --- drivers/misc/vmw_vmci/vmci_doorbell.c | 751 + drivers/misc/vmw_vmci/vmci_doorbell.h | 57 +++ 2 files changed, 808 insertions(+), 0 deletions(-) create m

[vmw_vmci 00/11] VMCI for Linux

2012-07-26 Thread Andrew Stiegmann (stieg)
In an effort to improve the out-of-the-box experience with Linux kernels for VMware users, VMware is working on readying the Virtual Machine Communication Interface (vmw_vmci) and VMCI Sockets (vmw_vsock) kernel modules for inclusion in the Linux kernel. The purpose of this post is to acquire feedb

[vmw_vmci 05/11] Apply VMCI event code

2012-07-26 Thread Andrew Stiegmann (stieg)
Code that manages event handlers and handles callbacks when specific events fire. Signed-off-by: Andrew Stiegmann (stieg) --- drivers/misc/vmw_vmci/vmci_event.c | 451 drivers/misc/vmw_vmci/vmci_event.h | 29 +++ 2 files changed, 480 insertions(+), 0 delet

Re: [vmw_vmci 00/11] VMCI for Linux

2012-07-26 Thread Greg KH
On Thu, Jul 26, 2012 at 04:39:29PM -0700, Andrew Stiegmann (stieg) wrote: > In an effort to improve the out-of-the-box experience with Linux > kernels for VMware users, VMware is working on readying the Virtual > Machine Communication Interface (vmw_vmci) and VMCI Sockets > (vmw_vsock) kernel modul

Re: [Resend][PATCH] ACPI / PM: Fix build warning in sleep.c for CONFIG_ACPI_SLEEP unset

2012-07-26 Thread Len Brown
Applied. thanks, Len Brown, Intel Open Source Technology Center -- 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-info.html Please read the FAQ at http://www.tu

[PATCH] n_tty: Don't lose characters when PARMRK is enabled

2012-07-26 Thread Jaeden Amero
When PARMRK is set and large transfers of characters that will get marked are being received, n_tty could drop data silently (i.e. without reporting any error to the client). This is because characters have the potential to take up to three bytes in the line discipline (when they get marked with pa

Re: [GIT PULL 00/15] arm-soc: changes for v3.6

2012-07-26 Thread Mark A. Greer
On Tue, Jul 24, 2012 at 02:51:35PM -0600, Paul Walmsley wrote: > Hi > > On Tue, 24 Jul 2012, Arnd Bergmann wrote: > > > On Tuesday 24 July 2012, Linus Torvalds wrote: > > > > > In your "for-linus" branch, "&mpu_3xxx_clkdm" remains in the > > > clockdomains_common[] array. In my merge, it is gone

Re: [PATCH] cpuidle: coupled: fix sleeping while atomic in cpu notifier

2012-07-26 Thread Shilimkar, Santosh
On Thu, Jul 26, 2012 at 9:25 AM, Shilimkar, Santosh wrote: > On Wed, Jul 25, 2012 at 11:20 PM, Colin Cross wrote: >> The cpu hotplug notifier gets called in both atomic and non-atomic >> contexts, it is not always safe to lock a mutex. Filter out all events >> except the six necessary ones, whic

Re: No big TTY/serial patch merge for 3.6-rc1

2012-07-26 Thread Alan Cox
On Thu, 26 Jul 2012 14:28:07 -0700 Greg KH wrote: > On Thu, Jul 26, 2012 at 10:23:13PM +0100, Alan Cox wrote: > > On Thu, 26 Jul 2012 12:08:14 -0700 > > Greg KH wrote: > > > > > tty: Move the handling of the tty release logic > > > > Can we lose that one specifically. I've chased down Ia

Re: [PATCH] debug: Do not permit CONFIG_DEBUG_STACK_USAGE=y on IA64 or PARISC

2012-07-26 Thread Peter Chubb
> "Ingo" == Ingo Molnar writes: Ingo> * James Bottomley wrote: >> Since the problem is an invalid assumption about how the stack >> grows, why not just condition it on that. We actually have a >> config option for this: CONFIG_STACK_GROWSUP. But for some reason >> ia64 doesn't define this,

Re: RAID extremely slow

2012-07-26 Thread Kevin Ross
On 07/25/2012 10:00 PM, Kevin Ross wrote: unused devices: # cat /proc/sys/dev/raid/speed_limit_min 1 MD is unable to reach its minimum rebuild rate while other system activity is ongoing. You might want to lower this number to see if that gets you out of the stalls. Or temporarily s

Re: [PATCH 2/2] hw_random: add support for the TPM chip as a hardware RNG source

2012-07-26 Thread H. Peter Anvin
On 07/26/2012 02:58 PM, H. Peter Anvin wrote: On 06/07/2012 11:47 AM, Kent Yoder wrote: This driver will make use of any available TPM chip on the system as a hwrng source. Signed-off-by: Kent Yoder --- drivers/char/hw_random/Kconfig | 13 + drivers/char/hw_random/Makefile |

Re: [PATCH] ivtv: Declare MODULE_FIRMWARE usage

2012-07-26 Thread Andy Walls
On Thu, 2012-07-26 at 12:26 -0600, Tim Gardner wrote: > Cc: Andy Walls > Cc: Mauro Carvalho Chehab > Cc: ivtv-de...@ivtvdriver.org > Cc: linux-me...@vger.kernel.org > Signed-off-by: Tim Gardner > --- > drivers/media/video/ivtv/ivtv-firmware.c |4 > 1 file changed, 4 insertions(+) > >

Re: [PATCH] mfd: add MAX8907 core driver

2012-07-26 Thread Mark Brown
On Thu, Jul 26, 2012 at 04:07:12PM -0600, Stephen Warren wrote: > On 07/26/2012 02:35 PM, Mark Brown wrote: > > On Thu, Jul 26, 2012 at 01:40:30PM -0600, Stephen Warren wrote: > >> + if (irqd_is_wakeup_set(d)) { > >> + /* 1 -- disable, 0 -- enable */ > >> +

Re: [PATCH v2] cx18: Declare MODULE_FIRMWARE usage

2012-07-26 Thread Andy Walls
On Thu, 2012-07-26 at 11:21 -0600, Tim Gardner wrote: > Missed a firmware file in cx18-av-firmware.c > > rtg Please send patches in-line vs. an attachment. This is still missing the firmware file in cx18-dvb.c. Regards, Andy > From 9b4be013f173efc12bb2776394bf6a5abb8725b6 Mon Sep 17 00:00:00 2

Re: [PATCH 1/2] tpm: Move tpm_get_random api into the TPM device driver

2012-07-26 Thread H. Peter Anvin
On 06/07/2012 11:47 AM, Kent Yoder wrote: Move the tpm_get_random api from the trusted keys code into the TPM device driver itself so that other callers can make use of it. Also, change the api slightly so that the number of bytes read is returned in the call, since the TPM command can potentiall

Re: [PATCH] cx18: Declare MODULE_FIRMWARE usage

2012-07-26 Thread Andy Walls
On Thu, 2012-07-26 at 11:05 -0600, Tim Gardner wrote: > Cc: Andy Walls > Cc: Mauro Carvalho Chehab > Cc: ivtv-de...@ivtvdriver.org > Cc: linux-me...@vger.kernel.org > Signed-off-by: Tim Gardner You missed v4l-cx23418-dig.fw, in cx18-av-firmware.c, which is required by all CX23418 devices. You

Re: [PATCH] mfd: add MAX8907 core driver

2012-07-26 Thread Stephen Warren
On 07/26/2012 02:35 PM, Mark Brown wrote: > On Thu, Jul 26, 2012 at 01:40:30PM -0600, Stephen Warren wrote: >> +if (irqd_is_wakeup_set(d)) { >> +/* 1 -- disable, 0 -- enable */ >> +switch (irq_data->mask_reg) { > > This loop we should just port

Re: [PATCH 2/2] hw_random: add support for the TPM chip as a hardware RNG source

2012-07-26 Thread H. Peter Anvin
On 06/07/2012 11:47 AM, Kent Yoder wrote: This driver will make use of any available TPM chip on the system as a hwrng source. Signed-off-by: Kent Yoder --- drivers/char/hw_random/Kconfig | 13 + drivers/char/hw_random/Makefile |1 + drivers/char/hw_random/tpm-rng.c | 55

[PATCH 1/4] EFI: Stash ROMs if they're not in the PCI BAR

2012-07-26 Thread Matthew Garrett
EFI provides support for providing PCI ROMs via means other than the ROM BAR. This support vanishes after we've exited boot services, so add support for stashing copies of the ROMs in setup_data if they're not otherwise available. --- arch/x86/boot/compressed/eboot.c | 118 +++

[PATCH 3/4] PCI: Add support for non-BAR ROMs

2012-07-26 Thread Matthew Garrett
Platforms may provide their own mechanisms for obtaining ROMs. Add support for using data provided by the platform in that case. Signed-off-by: Matthew Garrett --- drivers/pci/rom.c |9 - include/linux/pci.h |2 ++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/

[PATCH] efi: Build EFI stub with EFI-appropriate options

2012-07-26 Thread Matthew Garrett
We can't assume the presence of the red zone while we're still in a boot services environment, so we should build with -fno-red-zone to avoid problems. Change the size of wchar at the same time to make string handling simpler. Signed-off-by: Matthew Garrett --- arch/x86/boot/compressed/Makefile

Re: [PATCH] cx25840: Declare MODULE_FIRMWARE usage

2012-07-26 Thread Andy Walls
On Thu, 2012-07-26 at 10:44 -0600, Tim Gardner wrote: > Cc: Mauro Carvalho Chehab > Cc: linux-me...@vger.kernel.org > Signed-off-by: Tim Gardner > --- > drivers/media/video/cx25840/cx25840-firmware.c | 15 --- > 1 file changed, 12 insertions(+), 3 deletions(-) > > diff --git a/dri

Re: [ 028/108] sched/nohz: Rewrite and fix load-avg computation -- again

2012-07-26 Thread Peter Zijlstra
On Thu, 2012-07-26 at 23:01 +0100, Ben Hutchings wrote: > > That's what I thought, so I went ahead with just the one. > Should I queue up the other two for a future 3.2.y update? Yeah, why not.. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message

[PATCH 2/4] PCI: Add pcibios_add_device

2012-07-26 Thread Matthew Garrett
Platforms may want to provide architecture-specific functionality during PCI enumeration. Add a pcibios_add_device() call that architectures can override to do so. Signed-off-by: Matthew Garrett --- drivers/pci/bus.c |5 + drivers/pci/pci.c | 13 + include/linux/pci.h |

efi, x86, pci: Improve graphics support on some Apple hardware

2012-07-26 Thread Matthew Garrett
Some Apple machines only provide their video ROM via an EFI-specific mechanism and don't permit it to be retrieved from the BAR. Add infrastructure to stash it and provide access to drivers. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majo

[PATCH 4/4] X86: Use PCI setup data

2012-07-26 Thread Matthew Garrett
EFI can provide PCI ROMs out of band via boot services, which may not be available after boot. Add support for using the data handed off to us by the boot stub or bootloader. Signed-off-by: Matthew Garrett --- arch/x86/pci/common.c | 33 + 1 file changed, 33 ins

Re: [GIT PULL] a large btrfs update

2012-07-26 Thread Linus Torvalds
On Thu, Jul 26, 2012 at 2:09 PM, Chris Mason wrote: > > for-linus-merged has an extra commit on top as well that changes the > btrfs send/receive code to Al's new dentry_open. It's a small commit, > and my guess is that you'll cherry pick it and do your own merge. Indeed. And I dd the semantic m

Re: [ 028/108] sched/nohz: Rewrite and fix load-avg computation -- again

2012-07-26 Thread Ben Hutchings
On Thu, Jul 26, 2012 at 11:25:37PM +0200, Peter Zijlstra wrote: > On Tue, 2012-07-24 at 15:06 +0100, Ben Hutchings wrote: > > On Mon, 2012-07-23 at 02:07 +0100, Ben Hutchings wrote: > > > 3.2-stable review patch. If anyone has any objections, please let me > > > know. > > > > > > ---

[PATCH] X86: Improve GOP detection in the EFI boot stub

2012-07-26 Thread Matthew Garrett
We currently use the PCI IO protocol as a proxy for a functional GOP. This is less than ideal, since some platforms will put the GOP on output devices rather than the GPU itself. Move to using the conout protocol. This is not guaranteed per-spec, but is part of the consplitter implementation that c

Re: [PATCH v3 1/4] ACPI: Add acpi_pr_() interfaces

2012-07-26 Thread Joe Perches
On Thu, 2012-07-26 at 15:50 -0600, Bjorn Helgaas wrote: > On Thu, Jul 26, 2012 at 3:43 PM, Joe Perches wrote: > > On Thu, 2012-07-26 at 15:37 -0600, Bjorn Helgaas wrote: > >> PNP0C01:00: new device for \_SB_.PCI0.ISA_.MBIO > >> > >> I fiddled with this a while ago; it would look something like

Re: [RFC][PATCH 0/14] PM / shmobile: Pass power domain information via DT (was: Re: [RFD] PM: Device tree representation of power domains)

2012-07-26 Thread Mark Brown
On Thu, Jul 26, 2012 at 02:45:52PM -0700, Kevin Hilman wrote: > Ideally, we will eventually have a representation that can map > from regulators all the way down to IP blocks. regulator --> voltage > domain --> power domain --> clock domain --> clocks --> IP block. Well, often the clock bit is s

Re: [PATCH] mm: hugetlbfs: Close race during teardown of hugetlbfs shared page tables v2

2012-07-26 Thread Hugh Dickins
On Thu, 26 Jul 2012, Rik van Riel wrote: > On 07/20/2012 09:49 AM, Mel Gorman wrote: > > This V2 is still the mmap_sem approach that fixes a potential deadlock > > problem pointed out by Michal. > > Larry and I were looking around the hugetlb code some > more, and found what looks like yet another

Re: [PATCH v3 1/4] ACPI: Add acpi_pr_() interfaces

2012-07-26 Thread Toshi Kani
On Thu, 2012-07-26 at 15:37 -0600, Bjorn Helgaas wrote: > On Thu, Jul 26, 2012 at 02:58:50PM -0600, Toshi Kani wrote: > > On Thu, 2012-07-26 at 13:22 -0600, Bjorn Helgaas wrote: > > > On Wed, Jul 25, 2012 at 5:12 PM, Toshi Kani wrote: > > > > This patch introduces acpi_pr_(), where is a kernel >

Re: [PATCH] mfd: add MAX8907 core driver

2012-07-26 Thread Mark Brown
On Thu, Jul 26, 2012 at 03:14:21PM -0600, Stephen Warren wrote: > On 07/26/2012 02:35 PM, Mark Brown wrote: > > This looks very suspicious... why do we need to call > > irqd_irq_disabled() here? > I believe the status register reflects the unmasked status, it's just > the interrupt signal that'

Re: [PATCH v3 1/4] ACPI: Add acpi_pr_() interfaces

2012-07-26 Thread Bjorn Helgaas
On Thu, Jul 26, 2012 at 3:43 PM, Joe Perches wrote: > On Thu, 2012-07-26 at 15:37 -0600, Bjorn Helgaas wrote: >> PNP0C01:00: new device for \_SB_.PCI0.ISA_.MBIO >> >> I fiddled with this a while ago; it would look something like this: > [] >> +static noinline_for_stack >> +char *acpi_name_stri

Re: [GIT PULL] New TPM driver and features

2012-07-26 Thread H. Peter Anvin
On 07/26/2012 07:31 AM, Kent Yoder wrote: hw_random: add support for the TPM chip as a hardware RNG source Could you clarify this? rngd (the user of /dev/hw_random) already has support for the TPM... is this fundamentally different (e.g. can it coexist with tcsd being in use at the sa

Re: [RFC][PATCH 0/14] PM / shmobile: Pass power domain information via DT (was: Re: [RFD] PM: Device tree representation of power domains)

2012-07-26 Thread Kevin Hilman
Mark Brown writes: > On Wed, Jul 25, 2012 at 05:38:35PM -0700, Kevin Hilman wrote: > >> That being said, I'm not sure why ti,hwmods is being used as an example >> for powerdomains. hwmods describe the integration of SoC IP blocks >> (base addr, IRQ, DMA channel etc., which are being moved to DT)

Re: [PATCH v8 1/2] block: ioctl support for sanitize in eMMC 4.5

2012-07-26 Thread Arnd Bergmann
On Wednesday 25 July 2012, Yaniv Gardi wrote: > > Adding a new ioctl to support sanitize operation in eMMC > cards version 4.5. > The sanitize ioctl support helps performing this operation > via user application. > > Signed-off-by: Yaniv Gardi > Can you explain how you expect this to be called

Re: [PATCH v8 2/2] mmc: card: Adding support for sanitize in eMMC 4.5

2012-07-26 Thread Arnd Bergmann
On Wednesday 25 July 2012, Yaniv Gardi wrote: > This feature delete the unmap memory region of the eMMC card, > by writing to a specific register in the EXT_CSD > unmap region is the memory region that were previously deleted > (by erase, trim or discard operation) > > Signed-off-by: Yaniv Gardi

[PATCH 5/5] staging: vt6656: remove commented out stuff from hostap.c

2012-07-26 Thread Jesper Juhl
Git has the code if we ever need it, so instead of having chunks of commented out code clutter up the file get rid of it. Signed-off-by: Jesper Juhl --- drivers/staging/vt6656/hostap.c | 45 + 1 file changed, 1 insertion(+), 44 deletions(-) diff --git a

[PATCH 4/5] staging: vt6656: minor trivial whitespace cleanups

2012-07-26 Thread Jesper Juhl
Convert a few tabs to spaces, remove some pointless whitespace, add some missing whitespace (in drivers/staging/vt6656/hostap.c). All quite small and trivial. Signed-off-by: Jesper Juhl --- drivers/staging/vt6656/hostap.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --

[PATCH 3/5] staging: vt6656: Fix indentation in hostap.c

2012-07-26 Thread Jesper Juhl
We use tabs for indentation, not spaces. Signed-off-by: Jesper Juhl --- drivers/staging/vt6656/hostap.c | 644 +++- 1 file changed, 301 insertions(+), 343 deletions(-) diff --git a/drivers/staging/vt6656/hostap.c b/drivers/staging/vt6656/hostap.c index 126f57

[PATCH RT v2] cpu unplug with PREEMPT_LL

2012-07-26 Thread Frank Rowand
v2: less UGLY (less intrusive in sched.c) With CONFIG_PREEMPT_LL, cpu unplug generates a bunch of BUG: sleeping function called from invalid context BUG: scheduling while atomic To reproduce the problem: echo 0 > /sys/devices/system/cpu/cpu1/online This patch should maybe not be included

[PATCH 2/5] staging: vt6656: Remove some redundant blank lines from hostap.c

2012-07-26 Thread Jesper Juhl
This trivial patch simply removes some completely redundant blank lines from drivers/staging/vt6656/hostap.c Signed-off-by: Jesper Juhl --- drivers/staging/vt6656/hostap.c | 40 1 file changed, 40 deletions(-) diff --git a/drivers/staging/vt6656/hostap.c

Re: [RFC][PATCH] Make io_submit non-blocking

2012-07-26 Thread Zach Brown
On Fri, Jul 27, 2012 at 01:22:10AM +0530, Ankit Jain wrote: > I should probably be doing better tests, any suggestions on what or > how I can test? Well, is the test actually *doing* anything with these IOs? Calling io_submit() and then immediately waiting for completion is the best case for off

[PATCH 1/5] staging: vt6656: don't leak 'param' in vt6656_hostap_ioctl() when returning -EOPNOTSUPP

2012-07-26 Thread Jesper Juhl
Don't return -EOPNOTSUPP directly in switch case's since it'll leak the memory allocated to 'param' when that variable goes out of scope without having been assigned to anything. Signed-off-by: Jesper Juhl --- drivers/staging/vt6656/hostap.c | 12 ++-- 1 file changed, 6 insertions(+), 6

Re: [PATCH v3 1/4] ACPI: Add acpi_pr_() interfaces

2012-07-26 Thread Joe Perches
On Thu, 2012-07-26 at 15:37 -0600, Bjorn Helgaas wrote: > PNP0C01:00: new device for \_SB_.PCI0.ISA_.MBIO > > I fiddled with this a while ago; it would look something like this: [] > +static noinline_for_stack > +char *acpi_name_string(char *buf, char *end, acpi_handle handle, > +

[PATCH 0/5] staging: vt6656: small bug fixes and cleanups for hostapd.c

2012-07-26 Thread Jesper Juhl
Hi Greg Here's a small series of patches that fixes some memory leaks and cleans up the code a bit for vt6656 hostapd.c - done on top of Linus' tree as of today. -- Jesper Juhlhttp://www.chaosbits.net/ Don't top-post http://www.catb.org/jargon/html/T/top-post.html Plain text mails onl

[ 05/40] UBIFS: fix a bug in empty space fix-up

2012-07-26 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Artem Bityutskiy commit c6727932cfdb13501108b16c38463c09d5ec7a74 upstream. UBIFS has a feature called "empty space fix-up" which is a quirk to work-around limitations of dumb fl

[ 07/40] mm/vmstat.c: cache align vm_stat

2012-07-26 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Dimitri Sivanich commit a1cb2c60ddc98ff4e5246f410558805401ceee67 upstream. Stable note: Not tracked on Bugzilla. This patch is known to make a big difference to tmpfs pe

[ 06/40] dm raid1: fix crash with mirror recovery and discard

2012-07-26 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Mikulas Patocka commit 751f188dd5ab95b3f2b5f2f467c38aae5a2877eb upstream. This patch fixes a crash when a discard request is sent during mirror recovery. Firstly, some backgrou

[ 02/40] ntp: Fix STA_INS/DEL clearing bug

2012-07-26 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: John Stultz commit 6b1859dba01c7d512b72d77e3fd7da8354235189 upstream. In commit 6b43ae8a619d17c4935c3320d2ef9e92bdeed05d, I introduced a bug that kept the STA_INS or STA_DEL bit

[ 01/40] cifs: always update the inode cache with the results from a FIND_*

2012-07-26 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Jeff Layton commit cd60042cc1392e79410dc8de9e9c1abb38a29e57 upstream. When we get back a FIND_FIRST/NEXT result, we have some info about the dentry that we use to instantiate a

Re: [PATCH 9/9 v3] dma: shdma: convert to the shdma base library

2012-07-26 Thread Guennadi Liakhovetski
On Thu, 26 Jul 2012, Vinod Koul wrote: > On Thu, 2012-07-26 at 15:58 +0900, Paul Mundt wrote: > > On Thu, Jul 26, 2012 at 12:19:21PM +0530, Vinod Koul wrote: > > > On Wed, 2012-07-25 at 12:59 +0900, Paul Mundt wrote: > > > > On Wed, May 09, 2012 at 05:09:21PM +0200, Guennadi Liakhovetski wrote: >

[ 13/40] vmscan: shrinker->nr updates race and go wrong

2012-07-26 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Dave Chinner commit acf92b485cccf028177f46918e045c0c4e80ee10 upstream. Stable note: Not tracked in Bugzilla. This patch reduces excessive reclaim of slab objects reducin

[PATCH] fs/jfs: TRIM support for JFS Filesystem

2012-07-26 Thread Tino Reichardt
This patch adds support for the two linux interfaces of the discard/TRIM command for SSD devices and sparse/thinly-provisioned LUNs. JFS will support batched discard via FITRIM ioctl and online discard with the discard mount option. I also think that a short description of the FITRIM ioctl should

[ 12/40] vmscan: add shrink_slab tracepoints

2012-07-26 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Dave Chinner commit 095760730c1047c69159ce88021a7fa3833502c8 upstream. Stable note: This patch makes later patches easier to apply but otherwise has little to justify it

[ 14/40] vmscan: reduce wind up shrinker->nr when shrinker cant do work

2012-07-26 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Dave Chinner commit 3567b59aa80ac4417002bf58e35dce5c777d4164 upstream. Stable note: Not tracked in Bugzilla. This patch reduces excessive reclaim of slab objects reducin

[ 18/40] mm: change isolate mode from #define to bitwise type

2012-07-26 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Minchan Kim commit 4356f21d09283dc6d39a6f7287a65ddab61e2808 upstream. Stable note: Not tracked in Bugzilla. This patch makes later patches easier to apply but has no oth

Re: [PATCH v3 1/4] ACPI: Add acpi_pr_() interfaces

2012-07-26 Thread Bjorn Helgaas
On Thu, Jul 26, 2012 at 02:58:50PM -0600, Toshi Kani wrote: > On Thu, 2012-07-26 at 13:22 -0600, Bjorn Helgaas wrote: > > On Wed, Jul 25, 2012 at 5:12 PM, Toshi Kani wrote: > > > This patch introduces acpi_pr_(), where is a kernel > > > message level such as err/warn/info, to support improved log

[ 09/40] mm: reduce the amount of work done when updating min_free_kbytes

2012-07-26 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Mel Gorman commit 938929f14cb595f43cd1a4e63e22d36cab1e4a1f upstream. Stable note: Fixes https://bugzilla.novell.com/show_bug.cgi?id=726210 . Large machines with 1TB or m

[ 21/40] mm: migration: clean up unmap_and_move()

2012-07-26 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Minchan Kim commit 0dabec93de633a87adfbbe1d800a4c56cd19d73b upstream. Stable note: Not tracked in Bugzilla. This patch makes later patches easier to apply but has no oth

[ 23/40] mm: compaction: determine if dirty pages can be migrated without blocking within ->migratepage

2012-07-26 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Mel Gorman commit b969c4ab9f182a6e1b2a0848be349f99714947b0 upstream. Stable note: Not tracked in Bugzilla. A fix aimed at preserving page aging information by reducing L

[ 26/40] kswapd: avoid unnecessary rebalance after an unsuccessful balancing

2012-07-26 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Alex Shi commit d2ebd0f6b89567eb93ead4e2ca0cbe03021f344b upstream. Stable note: Fixes https://bugzilla.redhat.com/show_bug.cgi?id=712019. This patch reduces kswapd CPU

[ 29/40] mm: vmscan: when reclaiming for compaction, ensure there are sufficient free pages available

2012-07-26 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Mel Gorman commit fe4b1b244bdb96136855f2c694071cb09d140766 upstream. Stable note: Not tracked on Bugzilla. THP and compaction was found to aggressively reclaim pages and

[ 30/40] mm: vmscan: do not OOM if aborting reclaim to start compaction

2012-07-26 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Mel Gorman commit 7335084d446b83cbcb15da80497d03f0c1dc9e21 upstream. Stable note: Not tracked in Bugzilla. This patch makes later patches easier to apply but otherwise h

Re: [BUG] NTFS code doesn't sanitize folder names sufficiently

2012-07-26 Thread Chris Jones
Marian Beermann wrote: Hello everyone, today I noticed some very odd behaviour, which could lead people to believe a loss of data, because it is possible to create directories with backslashes in them. I am currently running kernel 3.5. To completly reproduce the problem to the full extend

[ 38/40] cpusets: stall when updating mems_allowed for mempolicy or disjoint nodemask

2012-07-26 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: David Rientjes commit b246272ecc5ac68c743b15c9e41a2275f7ce70e2 upstream. Stable note: Not tracked in Bugzilla. [get|put]_mems_allowed() is extremely expensive and severe

[ 40/40] mm/hugetlb: fix warning in alloc_huge_page/dequeue_huge_page_vma

2012-07-26 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Konstantin Khlebnikov commit b1c12cbcd0a02527c180a862e8971e249d3b347d upstream. Stable note: Not tracked in Bugzilla. [get|put]_mems_allowed() is extremely expensive and

[ 34/40] mm/vmscan.c: consider swap space when deciding whether to continue reclaim

2012-07-26 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Minchan Kim commit 86cfd3a45042ab242d47f3935a02811a402beab6 upstream. Stable note: Not tracked in Bugzilla. This patch reduces kswapd CPU usage on swapless systems with

[ 32/40] vmscan: promote shared file mapped pages

2012-07-26 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Konstantin Khlebnikov commit 34dbc67a644f11ab3475d822d72e25409911e760 upstream. Stable note: Not tracked in Bugzilla. There were reports of shared mapped pages being unf

[ 28/40] mm: compaction: introduce sync-light migration for use by compaction

2012-07-26 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Mel Gorman commit a6bc32b899223a877f595ef9ddc1e89ead5072b8 upstream. Stable note: Not tracked in Buzilla. This was part of a series that reduced interactivity stalls exp

[ 19/40] mm: compaction: make isolate_lru_page() filter-aware

2012-07-26 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Minchan Kim commit 39deaf8585152f1a35c1676d3d7dc6ae0fb65967 upstream. Stable note: Not tracked in Bugzilla. THP and compaction disrupt the LRU list leading to poor recla

[ 10/40] mm: vmscan: fix force-scanning small targets without swap

2012-07-26 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Johannes Weiner commit a4d3e9e76337059406fcf3ead288c0df22a790e9 upstream. Stable note: Not tracked in Bugzilla. This patch augments an earlier commit that avoids scannin

[ 11/40] vmscan: clear ZONE_CONGESTED for zone with good watermark

2012-07-26 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Shaohua Li commit 439423f6894aa0dec22187526827456f5004baed upstream. Stable note: Not tracked in Bugzilla. kswapd is responsible for clearing ZONE_CONGESTED after it bal

[ 36/40] mm: vmscan: convert global reclaim to per-memcg LRU lists

2012-07-26 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Johannes Weiner commit b95a2f2d486d0d768a92879c023a03757b9c7e58 upstream - WARNING: this is a substitute patch. Stable note: Not tracked in Bugzilla. This is a partial backport

[ 37/40] cpusets: avoid looping when storing to mems_allowed if one node remains set

2012-07-26 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: David Rientjes commit 89e8a244b97e48f1f30e898b6f32acca477f2a13 upstream. Stable note: Not tracked in Bugzilla. [get|put]_mems_allowed() is extremely expensive and severe

[ 35/40] mm: test PageSwapBacked in lumpy reclaim

2012-07-26 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Hugh Dickins commit 043bcbe5ec51e0478ef2b44acef17193e01d7f70 upstream. Stable note: Not tracked in Bugzilla. There were reports of shared mapped pages being unfairly rec

[ 33/40] vmscan: activate executable pages after first usage

2012-07-26 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Konstantin Khlebnikov commit c909e99364c8b6ca07864d752950b6b4ecf6bef4 upstream. Stable note: Not tracked in Bugzilla. There were reports of shared mapped pages being unf

[ 39/40] cpuset: mm: reduce large amounts of memory barrier related damage v3

2012-07-26 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Mel Gorman commit cc9a6c8776615f9c194ccf0b63a0aa5628235545 upstream. Stable note: Not tracked in Bugzilla. [get|put]_mems_allowed() is extremely expensive and severely

[ 31/40] mm: vmscan: check if reclaim should really abort even if compaction_ready() is true for one zone

2012-07-26 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Mel Gorman commit 0cee34fd72c582b4f8ad8ce00645b75fb4168199 upstream. Stable note: Not tracked on Bugzilla. THP and compaction was found to aggressively reclaim pages and

[ 27/40] kswapd: assign new_order and new_classzone_idx after wakeup in sleeping

2012-07-26 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Alex Shi commit f0dfcde099453aa4c0dc42473828d15a6d492936 upstream. Stable note: Fixes https://bugzilla.redhat.com/show_bug.cgi?id=712019. This patch reduces kswapd CPU

[ 25/40] mm: compaction: make isolate_lru_page() filter-aware again

2012-07-26 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Mel Gorman commit c82449352854ff09e43062246af86bdeb628f0c3 upstream. Stable note: Not tracked in Bugzilla. A fix aimed at preserving page aging information by reducing L

[ 24/40] mm: page allocator: do not call direct reclaim for THP allocations while compaction is deferred

2012-07-26 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Mel Gorman commit 66199712e9eef5aede09dbcd9dfff87798a66917 upstream. Stable note: Not tracked in Buzilla. This was part of a series that reduced interactivity stalls exp

[ 22/40] mm: compaction: allow compaction to isolate dirty pages

2012-07-26 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Mel Gorman commit a77ebd333cd810d7b680d544be88c875131c2bd3 upstream. Stable note: Not tracked in Bugzilla. A fix aimed at preserving page aging information by reducing L

[ 20/40] mm: zone_reclaim: make isolate_lru_page() filter-aware

2012-07-26 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Minchan Kim commit f80c0673610e36ae29d63e3297175e22f70dde5f upstream. Stable note: Not tracked in Bugzilla. THP and compaction disrupt the LRU list leading to poor recla

[ 16/40] vmscan: abort reclaim/compaction if compaction can proceed

2012-07-26 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Mel Gorman commit e0c23279c9f800c403f37511484d9014ac83adec upstream. Stable note: Not tracked on Bugzilla. THP and compaction was found to aggressively reclaim pages and

[ 17/40] mm: compaction: trivial clean up in acct_isolated()

2012-07-26 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Minchan Kim commit b9e84ac1536d35aee03b2601f19694949f0bd506 upstream. Stable note: Not tracked in Bugzilla. This patch makes later patches easier to apply but has no oth

[ 15/40] vmscan: limit direct reclaim for higher order allocations

2012-07-26 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Rik van Riel commit e0887c19b2daa140f20ca8104bdc5740f39dbb86 upstream. Stable note: Not tracked on Bugzilla. THP and compaction was found to aggressively reclaim pages a

[ 08/40] mm: memory hotplug: Check if pages are correctly reserved on a per-section basis

2012-07-26 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Mel Gorman commit 2bbcb8788311a40714b585fc11b51da6ffa2ab92 upstream. Stable note: Fixes https://bugzilla.novell.com/show_bug.cgi?id=721039 . Without the patch, memory ho

[ 04/40] MIPS: Properly align the .data..init_task section.

2012-07-26 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: David Daney commit 7b1c0d26a8e272787f0f9fcc5f3e8531df3b3409 upstream. Improper alignment can lead to unbootable systems and/or random crashes. [r...@linux-mips.org: This is a l

[ 03/40] mm: fix lost kswapd wakeup in kswapd_stop()

2012-07-26 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Aaditya Kumar commit 1c7e7f6c0703d03af6bcd5ccc11fc15d23e5ecbe upstream. Offlining memory may block forever, waiting for kswapd() to wake up because kswapd() does not check the e

Re: [RFC][PATCH 0/14] PM / shmobile: Pass power domain information via DT (was: Re: [RFD] PM: Device tree representation of power domains)

2012-07-26 Thread Rafael J. Wysocki
On Thursday, July 26, 2012, Mark Brown wrote: > On Wed, Jul 25, 2012 at 05:38:35PM -0700, Kevin Hilman wrote: > > > That being said, I'm not sure why ti,hwmods is being used as an example > > for powerdomains. hwmods describe the integration of SoC IP blocks > > (base addr, IRQ, DMA channel etc.,

Re: No big TTY/serial patch merge for 3.6-rc1

2012-07-26 Thread Greg KH
On Thu, Jul 26, 2012 at 10:23:13PM +0100, Alan Cox wrote: > On Thu, 26 Jul 2012 12:08:14 -0700 > Greg KH wrote: > > > tty: Move the handling of the tty release logic > > Can we lose that one specifically. I've chased down Ian Abbotts problem > and replicated it and that is the offending pa

Re: [PATCH 1/2] sound: tegra_wm8903: Adjust to of_get_named_gpio() change

2012-07-26 Thread Mark Brown
On Mon, Jun 18, 2012 at 06:42:21PM +0200, Roland Stigge wrote: > of_get_named_gpio() was changed to return -EPROBE_DEFER in case of > gpios not probed yet. This patch adjusts tegra_wm8903 to this. Applied both, thanks. signature.asc Description: Digital signature

[PATCH RFC] cpu: No more __stop_machine() in _cpu_down()

2012-07-26 Thread Paul E. McKenney
The _cpu_down() function invoked as part of the CPU-hotplug offlining process currently invokes __stop_machine(), which is slow and inflicts substantial real-time latencies on the entire system. This patch substitutes stop_cpus() for __stop_machine() in order to improve both performance and real-t

<    1   2   3   4   5   6   7   >