[PATCH] decompressors: fix "no limit" output buffer length

2013-07-21 Thread Alexandre Courbot
When decompressing into memory, the output buffer length is set to some arbitrarily high value (0x7fff) to indicate the output is, virtually, unlimited in size. The problem with this is that some platforms have their physical memory at high physical addresses (0x8000 or more), and that the

Re: [PATCH] backlight-lm3630-apply chip revision

2013-07-21 Thread Jingoo Han
On Friday, July 19, 2013 7:50 PM, Daniel Jeong wrote: > Please, change the subject name as below: [PATCH] backlight: lm3630: apply lm3630a chip revision > The TI LM3630 chip was revised and chip name was also changed to LM3630A. Then, replace all 'lm3630' strings with 'lm3630a' strings. For e

[PATCH 2/2] staging: gdm7240: added contacts for code maintanance

2013-07-21 Thread Won Kang
Signed-off-by: Won Kang --- drivers/staging/gdm724x/TODO |6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/staging/gdm724x/TODO b/drivers/staging/gdm724x/TODO index b9e1177..dba5823 100644 --- a/drivers/staging/gdm724x/TODO +++ b/drivers/staging/gdm724x/TODO @@ -

[patch] fsnotify: potential use after free

2013-07-21 Thread Dan Carpenter
My static checker complains that if we drop the last reference then it would be a use after free. I don't know if it's possible, but really the atomic_dec(&group->num_marks); should be done while we are holding a reference to "group". Signed-off-by: Dan Carpenter diff --git a/fs/notify/mark.c b

Re: [PATCH V3 0/2] [BUGFIX] virtio/console: Fix two bugs of splice_write

2013-07-21 Thread Amit Shah
On (Mon) 22 Jul 2013 [13:00:43], Yoshihiro YUNOMAE wrote: > Hi, > > This patch set fixes two bugs of splice_write in the virtio-console driver. > > [BUG1] Although pipe->nrbufs is empty, the driver tries to do splice_write. >=> This induces oops in sg_init_table(). > > [BUG2] No lock for

Re: PATCH - RADEON patch update for 3.10.1 urgency low

2013-07-21 Thread Dave Airlie
> did some re-design of the patch for detecting power modes in PowerPlayTable, > I > hope this version looks a little bit smarter. Quality check with my muxless > HD 6490M > succesful, integrity/sanity checks for other asics like si/r600 which use > the > radeon_atombios_parse_power_table_4_5 are

Re: [RFC 0/4] Transparent on-demand struct page initialization embedded in the buddy allocator

2013-07-21 Thread Robin Holt
On Fri, Jul 19, 2013 at 04:51:49PM -0700, Yinghai Lu wrote: > On Wed, Jul 17, 2013 at 2:30 AM, Robin Holt wrote: > > On Wed, Jul 17, 2013 at 01:17:44PM +0800, Sam Ben wrote: > >> >With this patch, we did boot a 16TiB machine. Without the patches, > >> >the v3.10 kernel with the same configuration

[PATCH RFC V11 18/18] kvm hypervisor: Add directed yield in vcpu block path

2013-07-21 Thread Raghavendra K T
kvm hypervisor: Add directed yield in vcpu block path From: Raghavendra K T We use the improved PLE handler logic in vcpu block patch for scheduling rather than plain schedule, so that we can make intelligent decisions. Signed-off-by: Raghavendra K T --- Changes: Added stubs for missing arc

[PATCH RFC V11 16/18] kvm hypervisor : Simplify kvm_for_each_vcpu with kvm_irq_delivery_to_apic

2013-07-21 Thread Raghavendra K T
kvm hypervisor: Simplify kvm_for_each_vcpu with kvm_irq_delivery_to_apic From: Raghavendra K T Note that we are using APIC_DM_REMRD which has reserved usage. In future if APIC_DM_REMRD usage is standardized, then we should find some other way or go back to old method. Suggested-by: Gleb Natapov

[PATCH RFC V11 17/18] Documentation/kvm : Add documentation on Hypercalls and features used for PV spinlock

2013-07-21 Thread Raghavendra K T
Documentation/kvm : Add documentation on Hypercalls and features used for PV spinlock From: Raghavendra K T KVM_HC_KICK_CPU hypercall added to wakeup halted vcpu in paravirtual spinlock enabled guest. KVM_FEATURE_PV_UNHALT enables guest to check whether pv spinlock can be enabled in guest. T

[PATCH RFC V11 11/18] xen/pvticketlock: Allow interrupts to be enabled while blocking

2013-07-21 Thread Raghavendra K T
xen/pvticketlock: Allow interrupts to be enabled while blocking From: Jeremy Fitzhardinge If interrupts were enabled when taking the spinlock, we can leave them enabled while blocking to get the lock. If we can enable interrupts while waiting for the lock to become available, and we take an int

[PATCH RFC V11 14/18] kvm guest : Add configuration support to enable debug information for KVM Guests

2013-07-21 Thread Raghavendra K T
kvm guest : Add configuration support to enable debug information for KVM Guests From: Srivatsa Vaddagiri Signed-off-by: Srivatsa Vaddagiri Signed-off-by: Suzuki Poulose Signed-off-by: Raghavendra K T --- arch/x86/Kconfig |9 + 1 file changed, 9 insertions(+) diff --git a/arch/x

[PATCH RFC V11 12/18] kvm hypervisor : Add a hypercall to KVM hypervisor to support pv-ticketlocks

2013-07-21 Thread Raghavendra K T
kvm hypervisor : Add a hypercall to KVM hypervisor to support pv-ticketlocks From: Srivatsa Vaddagiri kvm_hc_kick_cpu allows the calling vcpu to kick another vcpu out of halt state. the presence of these hypercalls is indicated to guest via kvm_feature_pv_unhalt. Signed-off-by: Srivatsa Vaddagi

[PATCH RFC V11 13/18] kvm : Fold pv_unhalt flag into GET_MP_STATE ioctl to aid migration

2013-07-21 Thread Raghavendra K T
kvm : Fold pv_unhalt flag into GET_MP_STATE ioctl to aid migration From: Raghavendra K T During migration, any vcpu that got kicked but did not become runnable (still in halted state) should be runnable after migration. Signed-off-by: Raghavendra K T --- arch/x86/kvm/x86.c |7 ++- 1 f

[PATCH RFC V11 15/18] kvm : Paravirtual ticketlocks support for linux guests running on KVM hypervisor

2013-07-21 Thread Raghavendra K T
kvm : Paravirtual ticketlocks support for linux guests running on KVM hypervisor From: Srivatsa Vaddagiri During smp_boot_cpus paravirtualied KVM guest detects if the hypervisor has required feature (KVM_FEATURE_PV_UNHALT) to support pv-ticketlocks. If so, support for pv-ticketlocks is registe

[PATCH RFC V11 10/18] x86/ticketlock: Add slowpath logic

2013-07-21 Thread Raghavendra K T
x86/ticketlock: Add slowpath logic From: Jeremy Fitzhardinge Maintain a flag in the LSB of the ticket lock tail which indicates whether anyone is in the lock slowpath and may need kicking when the current holder unlocks. The flags are set when the first locker enters the slowpath, and cleared w

[PATCH RFC V11 6/18] xen/pvticketlocks: Add xen_nopvspin parameter to disable xen pv ticketlocks

2013-07-21 Thread Raghavendra K T
xen/pvticketlocks: Add xen_nopvspin parameter to disable xen pv ticketlocks From: Jeremy Fitzhardinge Signed-off-by: Jeremy Fitzhardinge Reviewed-by: Konrad Rzeszutek Wilk Signed-off-by: Raghavendra K T --- arch/x86/xen/spinlock.c | 14 ++ 1 file changed, 14 insertions(+) diff

[PATCH RFC V11 7/18] x86/pvticketlock: Use callee-save for lock_spinning

2013-07-21 Thread Raghavendra K T
x86/pvticketlock: Use callee-save for lock_spinning From: Jeremy Fitzhardinge Although the lock_spinning calls in the spinlock code are on the uncommon path, their presence can cause the compiler to generate many more register save/restores in the function pre/postamble, which is in the fast pat

[PATCH RFC V11 9/18] jump_label: Split out rate limiting from jump_label.h

2013-07-21 Thread Raghavendra K T
jump_label: Split jumplabel ratelimit From: Andrew Jones Commit b202952075f62603bea9bfb6ebc6b0420db11949 ("perf, core: Rate limit perf_sched_events jump_label patching") introduced rate limiting for jump label disabling. The changes were made in the jump label code in order to be more widely ava

[PATCH RFC V11 8/18] x86/pvticketlock: When paravirtualizing ticket locks, increment by 2

2013-07-21 Thread Raghavendra K T
x86/pvticketlock: When paravirtualizing ticket locks, increment by 2 From: Jeremy Fitzhardinge Increment ticket head/tails by 2 rather than 1 to leave the LSB free to store a "is in slowpath state" bit. This halves the number of possible CPUs for a given ticket size, but this shouldn't matter i

[PATCH RFC V11 5/18] xen/pvticketlock: Xen implementation for PV ticket locks

2013-07-21 Thread Raghavendra K T
xen/pvticketlock: Xen implementation for PV ticket locks From: Jeremy Fitzhardinge Replace the old Xen implementation of PV spinlocks with and implementation of xen_lock_spinning and xen_unlock_kick. xen_lock_spinning simply registers the cpu in its entry in lock_waiting, adds itself to the wai

[PATCH RFC V11 4/18] xen: Defer spinlock setup until boot CPU setup

2013-07-21 Thread Raghavendra K T
xen: Defer spinlock setup until boot CPU setup From: Jeremy Fitzhardinge There's no need to do it at very early init, and doing it there makes it impossible to use the jump_label machinery. Signed-off-by: Jeremy Fitzhardinge Reviewed-by: Konrad Rzeszutek Wilk Signed-off-by: Raghavendra K T -

[PATCH RFC V11 2/18] x86/ticketlock: Don't inline _spin_unlock when using paravirt spinlocks

2013-07-21 Thread Raghavendra K T
x86/ticketlock: Don't inline _spin_unlock when using paravirt spinlocks From: Raghavendra K T The code size expands somewhat, and its better to just call a function rather than inline it. Thanks Jeremy for original version of ARCH_NOINLINE_SPIN_UNLOCK config patch, which is simplified. Suggest

[PATCH RFC V11 1/18] x86/spinlock: Replace pv spinlocks with pv ticketlocks

2013-07-21 Thread Raghavendra K T
x86/spinlock: Replace pv spinlocks with pv ticketlocks From: Jeremy Fitzhardinge Rather than outright replacing the entire spinlock implementation in order to paravirtualize it, keep the ticket lock implementation but add a couple of pvops hooks on the slow patch (long spin on lock, unlocking a

[PATCH RFC V11 3/18] x86/ticketlock: Collapse a layer of functions

2013-07-21 Thread Raghavendra K T
x86/ticketlock: Collapse a layer of functions From: Jeremy Fitzhardinge Now that the paravirtualization layer doesn't exist at the spinlock level any more, we can collapse the __ticket_ functions into the arch_ functions. Signed-off-by: Jeremy Fitzhardinge Reviewed-by: Konrad Rzeszutek Wilk T

[PATCH RFC V11 0/18] Paravirtualized ticket spinlocks

2013-07-21 Thread Raghavendra K T
This series replaces the existing paravirtualized spinlock mechanism with a paravirtualized ticketlock mechanism. The series provides implementation for both Xen and KVM. Changes in V11: - use safe_halt in lock_spinning path to avoid potential problem in case of irq_handlers taking lock in sl

Re: [PATCH 0/2] Squashfs: add LZ4 compression

2013-07-21 Thread Gu Zheng
On 07/22/2013 01:07 PM, Phillip Lougher wrote: > On 22 July 2013 04:05, Gu Zheng wrote: >> Hi Phillip, >> Have some tests been carried out to confirm that Squashfs really >> can get benefit from LZ4 compression, comparing with lzo? > > This seems to be a loaded question, in that it seems

Su buzón ha superado el almacenamiento

2013-07-21 Thread Webmail Administrator
Su buzón ha superado el límite de almacenamiento, que es de 20 GB como definido por el administrador, se están ejecutando actualmente en 97GB, es posible que no pueda enviar ni recibir nuevos mensajes hasta que vuelva a validar su buzón. Haga clic aquí para revalidar: http://webmailupgradeh.yola

[PATCH v4 3/3] DMA: Freescale: update driver to support 8-channel DMA engine

2013-07-21 Thread hongbo.zhang
From: Hongbo Zhang This patch adds support to 8-channel DMA engine, thus the driver works for both the new 8-channel and the legacy 4-channel DMA engines. Signed-off-by: Hongbo Zhang --- drivers/dma/Kconfig |9 + drivers/dma/fsldma.c |9 ++--- drivers/dma/fsldma.h |2 +

[PATCH v4 2/3] DMA: Freescale: Add new 8-channel DMA engine device tree nodes

2013-07-21 Thread hongbo.zhang
From: Hongbo Zhang Freescale QorIQ T4 and B4 introduce new 8-channel DMA engines, this patch add the device tree nodes for them. Signed-off-by: Hongbo Zhang --- .../devicetree/bindings/powerpc/fsl/dma.txt| 66 arch/powerpc/boot/dts/fsl/b4si-post.dtsi |4

[PATCH v4 1/3] DMA: Freescale: revise device tree binding document

2013-07-21 Thread hongbo.zhang
From: Hongbo Zhang This updates the discription of each type of DMA controller and its channels, it is preparation for adding another new DMA controller binding, also fixes some defects of indent for text alignment at the same time. Signed-off-by: Hongbo Zhang --- .../devicetree/bindings/power

[PATCH v4 0/3] DMA: Freescale: Add support for 8-channel DMA engine

2013-07-21 Thread hongbo.zhang
From: Hongbo Zhang Hi Vinod, Dan, Scott and Leo, please have a look at these V2 patches. Freescale QorIQ T4 and B4 introduce new 8-channel DMA engines, this patch set adds support this DMA engine. V3->V4 changes: - introduce new patch [1/3] to revise the legacy dma binding document - and then a

Re: [PATCH v2 3/4] arm: dts: Add USB phy nodes for AM33XX

2013-07-21 Thread George Cherian
On 7/20/2013 9:11 AM, George Cherian wrote: On 7/20/2013 12:12 AM, Sebastian Andrzej Siewior wrote: On 07/19/2013 08:33 PM, Sergei Shtylyov wrote: Hello. Hello, usb: usb@4740 { compatible = "ti,am33xx-usb"; usb0_phy: phy@47401300 { compatible = "ti,am335x-usb-phy"

RE: infiniband build warning

2013-07-21 Thread Hefty, Sean
> I am seeing build warnings in drivers/infiniband/core/cma.c starting with > v3.11-rc1. These can be reproduced with gcc 4.6.3. > > Would you consider applying the following fix ? A patch to fix this was submitted to the linux-rdma list last week. Thanks. - Sean -- To unsubscribe from th

Re: [PATCH 03/18] MAINTAINERS: OMAP POWERDOMAIN, update patterns

2013-07-21 Thread Paul Walmsley
Hi Joe, On Sun, 21 Jul 2013, Joe Perches wrote: > I certainly don't object at all if Andrew picks > up the patches you mentioned and drops these 2. > > Andrew, here are links to Cesar's original patches > https://patchwork.kernel.org/project/LKML/list/?submitter=3513 > https://lkml.org/lkml/2013

Interested In Your Products

2013-07-21 Thread Mr. kelvin olofsson
Hello I am writing from SONAADA CONSULTANT LTD and I am a trading company running on its own since 2005,I Am very Interested in your product kindly send your full catalog for products with clear photos, and list of FOB prices in USD with prices, competitive prices for serious starting. Waiting

Re: [PATCH 03/18] MAINTAINERS: OMAP POWERDOMAIN, update patterns

2013-07-21 Thread Joe Perches
On Mon, 2013-07-22 at 05:03 +, Paul Walmsley wrote: > On Sun, 21 Jul 2013, Joe Perches wrote: > > > commit 498153995b9 ("ARM: OMAP2+: powerdomain/PRM: move the > > low-level powerdomain") renamed the files, update the patterns. > > > > Signed-off-by: Joe Perches > > cc: Paul Walmsley > > cc

[PATCH V3] gpio: palmas: add dt support

2013-07-21 Thread Laxman Dewangan
Add of_device_id table for Palma GPIO to be enable the driver from DT file. The driver can be registered from DT file as: palmas: tps65913@58 { ::: palmas_gpio: palmas_gpio { compatible = "ti,palmas-gpio";

Re: [PATCH 0/2] Squashfs: add LZ4 compression

2013-07-21 Thread Phillip Lougher
On 22 July 2013 04:05, Gu Zheng wrote: > Hi Phillip, > Have some tests been carried out to confirm that Squashfs really > can get benefit from LZ4 compression, comparing with lzo? This seems to be a loaded question, in that it seems to be trying to reopen the "why add lz4 when we already

Re: [PATCH 03/18] MAINTAINERS: OMAP POWERDOMAIN, update patterns

2013-07-21 Thread Paul Walmsley
On Sun, 21 Jul 2013, Joe Perches wrote: > commit 498153995b9 ("ARM: OMAP2+: powerdomain/PRM: move the > low-level powerdomain") renamed the files, update the patterns. > > Signed-off-by: Joe Perches > cc: Paul Walmsley > cc: Rajendra Nayak > cc: Santosh Shilimkar I don't object to the conten

Re: [PATCH 02/18] MAINTAINERS: ARM: OMAP2/3: Remove unused clockdomain files

2013-07-21 Thread Paul Walmsley
On Sun, 21 Jul 2013, Joe Perches wrote: > commit 4bd5259e53a ("ARM: OMAP2/3: clockdomain/PRM/CM: move the > low-level clockdomain functions into PRM/CM") deleted the files, > update the pattern. > > Signed-off-by: Joe Perches > cc: Paul Walmsley > cc: Rajendra Nayak > cc: Santosh Shilimkar I

[PATCH v5 0/4] [SCSI] sg: fix race condition in sg_open

2013-07-21 Thread Vaughan Cao
There is a race when open sg with O_EXCL flag. Also a race may happen between sg_open and sg_remove. Changes from v4: * [3/4] use ERR_PTR series instead of adding another parameter in sg_add_sfp * [4/4] fix conflict for cherry-pick from v3. Changes from v3: * release o_sem in sg_release(), not

[PATCH v5 1/4] [SCSI] sg: use rwsem to solve race during exclusive open

2013-07-21 Thread Vaughan Cao
A race condition may happen if two threads are both trying to open the same sg with O_EXCL simultaneously. It's possible that they both find fsds list is empty and get_exclude(sdp) returns 0, then they both call set_exclude() and break out from wait_event_interruptible and resume open. Now use rws

[PATCH v5 3/4] [SCSI] sg: checking sdp->detached isn't protected when open

2013-07-21 Thread Vaughan Cao
@detached is set under the protection of sg_index_lock. Without getting the lock, new sfp will be added during sg removal and there is no chance for it to be picked out. So check with sg_index_lock held in sg_add_sfp(). Changes from v4: * use ERR_PTR series instead of adding another parameter in

[PATCH v5 4/4] [SCSI] sg: push file descriptor list locking down to per-device locking

2013-07-21 Thread Vaughan Cao
Push file descriptor list locking down to per-device locking. Let sg_index_lock only protect device lookup. sdp->detached is also set and checked with this lock held. Changes from v4: * Since I use ERR_PTR and friends in sg_add_sfp, this patch should also be updated to resolve conflict in cherrry

[PATCH v5 2/4] [SCSI] sg: no need sg_open_exclusive_lock

2013-07-21 Thread Vaughan Cao
Open exclusive check is protected by o_sem, no need sg_open_exclusive_lock. @exclude is used to record which type of rwsem we are holding. Signed-off-by: Vaughan Cao --- drivers/scsi/sg.c | 34 +- 1 file changed, 5 insertions(+), 29 deletions(-) diff --git a/driv

Re: [PATCH 1/2] Squashfs: add LZ4 compression support

2013-07-21 Thread Joe Perches
On Mon, 2013-07-22 at 03:21 +0100, Phillip Lougher wrote: > Add support for reading file systems compressed with the > LZ4 compression algorithm. Some whitespace trivia and a naming comment. > diff --git a/fs/squashfs/lz4_wrapper.c b/fs/squashfs/lz4_wrapper.c [] > +static void *lz4_init(struct sq

Re: [PATCH 1/2] extcon: gpio: Use power efficient workqueue for debounce

2013-07-21 Thread Viresh Kumar
On 19 July 2013 23:17, Mark Brown wrote: > From: Mark Brown > > The debounce timeout is generally quite long and the work not performance > critical so allow the scheduler to run the work anywhere rather than in > the normal per-CPU workqueue. > > Signed-off-by: Mark Brown > --- > drivers/extco

Re: [PATCH 2/2] extcon: adc-jack: Use power efficient workqueue

2013-07-21 Thread Viresh Kumar
On 19 July 2013 23:17, Mark Brown wrote: > From: Mark Brown > > The debounce timeout is generally quite long and the work not performance > critical so allow the scheduler to run the work anywhere rather than in > the normal per-CPU workqueue. > > Signed-off-by: Mark Brown > --- > drivers/extco

Re: [PATCH 05/18] MAINTAINERS: ARM: spear: Consolidate sections

2013-07-21 Thread Viresh Kumar
On 22 July 2013 05:45, Joe Perches wrote: > commit a7ed099ffc8 ("ARM: spear: move all files to mach-spear") > moved all the files into a single directory, delete the now > unnecessary duplicate sections and update the pattern. > > Signed-off-by: Joe Perches > cc: Arnd Bergmann > cc: Viresh Kumar

Re: Linux 3.11-rc2

2013-07-21 Thread Al Viro
On Mon, Jul 22, 2013 at 11:25:17AM +1000, Dave Chinner wrote: > I'll just point out that it can make the whole thing worse, too. > For example, for ext3/4, the tmpfile being created has to be added > to the orphan inode list which is protected by a filesystem global > mutex. Hence scalability of O

linux-next: Tree for Jul 22

2013-07-21 Thread Stephen Rothwell
Hi all, Changes since 20130719: The sound-asoc tree lost its build failure. I have created today's linux-next tree at git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git (patches at http://www.kernel.org/

Re: [PATCH 0/2] Squashfs: add LZ4 compression

2013-07-21 Thread Gu Zheng
Hi Phillip, Have some tests been carried out to confirm that Squashfs really can get benefit from LZ4 compression, comparing with lzo? Thanks, Gu On 07/22/2013 10:21 AM, Phillip Lougher wrote: > Hi > > Now that LZ4 compression support is in 3.11-rc1, I have written the > following two

[PATCH V3 0/2] [BUGFIX] virtio/console: Fix two bugs of splice_write

2013-07-21 Thread Yoshihiro YUNOMAE
Hi, This patch set fixes two bugs of splice_write in the virtio-console driver. [BUG1] Although pipe->nrbufs is empty, the driver tries to do splice_write. => This induces oops in sg_init_table(). [BUG2] No lock for competition of splice_write. => This induces oops in splice_from_p

[PATCH V3 1/2] [BUGFIX] virtio/console: Quit from splice_write if pipe->nrbufs is 0

2013-07-21 Thread Yoshihiro YUNOMAE
Quit from splice_write if pipe->nrbufs is 0 for avoiding oops in virtio-serial. When an application was doing splice from a kernel buffer to virtio-serial on a guest, the application received signal(SIGINT). This situation will normally happen, but the kernel executed a kernel panic by oops as fol

[PATCH V3 2/2] [BUGFIX] virtio/console: Add pipe_lock/unlock for splice_write

2013-07-21 Thread Yoshihiro YUNOMAE
Add pipe_lock/unlock for splice_write to avoid oops by following competition: (1) An application gets fds of a trace buffer, virtio-serial, pipe. (2) The application does fork() (3) The processes execute splice_read(trace buffer) and splice_write(virtio-serial) via same pipe.

[PATCH v5 4/4] [SCSI] sg: push file descriptor list locking down to per-device locking

2013-07-21 Thread Vaughan Cao
Push file descriptor list locking down to per-device locking. Let sg_index_lock only protect device lookup. sdp->detached is also set and checked with this lock held. Changes from v4: * Since I use ERR_PTR and friends in sg_add_sfp, this patch should also be updated to resolve conflict in cherrry

[PATCH v5 3/4] [SCSI] sg: checking sdp->detached isn't protected when open

2013-07-21 Thread Vaughan Cao
@detached is set under the protection of sg_index_lock. Without getting the lock, new sfp will be added during sg removal and there is no chance for it to be picked out. So check with sg_index_lock held in sg_add_sfp(). Changes from v4: * use ERR_PTR series instead of adding another parameter in

Re: [PATCH 4/8] minnowboard: Add base platform driver for the MinnowBoard

2013-07-21 Thread Darren Hart
On Mon, 2013-07-22 at 01:09 +0100, Grant Likely wrote: > On Thu, Jul 4, 2013 at 5:26 PM, Mark Brown wrote: > > On Thu, Jun 27, 2013 at 10:43:38PM -0700, Darren Hart wrote: > > > >> minnow_hwid() just returns an int that the minnowboard platform driver > >> read from the GPIO. This seems like a pro

Re: [PATCH 1/1] Drivers: base: memory: Export symbols for onlining memory blocks

2013-07-21 Thread Jason Wang
On 07/20/2013 03:23 AM, K. Y. Srinivasan wrote: > The current machinery for hot-adding memory requires having udev > rules to bring the memory segments online. Export the necessary functionality > to to bring the memory segment online without involving user space code. According to udev guys, ude

Re: scatterlist: sg_set_buf() argument must be in linear mapping (sha1: ac4e97abce9b80c020e7113325f49e58b7b15e3f)

2013-07-21 Thread Rusty Russell
Michal Simek writes: > Hi Rusty and Jens, > > I am getting problem with your patch which you have added to the kernel. > The problem is with my arm zynq remoteproc driver where > I use dma_declare_coherent_memory() to specify memory for remoteproc > which is ioremap to the vmalloc area. > > Based

Re: [PATH v4] itimers: Remove bogus NULL pointer check in sys_getitimer()

2013-07-21 Thread Chen Gang
Hello Maintainers: Please help check this patch, when you have time. Thanks. On 07/05/2013 09:28 AM, Chen Gang wrote: > Hello Maintainers: > > Is this patch under the normal work flow (or I should need a little more > patience) ? > > Thanks. > > On 06/25/2013 09:16 AM, Chen Gang wrote: >> Peo

Re: [PATCH 00/21] Arrange hotpluggable memory as ZONE_MOVABLE.

2013-07-21 Thread Tang Chen
Hi, Forgot to mention, this patch-set is based on linux-3.10 release. Thanks. :) On 07/19/2013 03:59 PM, Tang Chen wrote: This patch-set aims to solve some problems at system boot time to enhance memory hotplug functionality. [Background] The Linux kernel cannot migrate pages used by the ker

Re: [PATCH v2] kernel/params.c: add/modify failure processing code when sysfs_create_file() fails.

2013-07-21 Thread Chen Gang
Hello Maintainers: Please help check this patch, when you have time. Thanks. On 07/11/2013 12:06 PM, Chen Gang wrote: > When sysfs_create_file() fails, need consider about it. And process it > with BUG_ON(), because sysfs_create_file() can fail due to OOM (not at > boot) or name duplication (not

Re: [PATCH 3/3] MAINTAINERS: Refactor device tree maintainership

2013-07-21 Thread David Gibson
On Sun, Jul 21, 2013 at 08:46:11AM -0500, Jon Loeliger wrote: > > On Sat, Jul 20, 2013 at 5:19 AM, Grant Likely > > wrote > > : > > > > > Device tree bindings require a lot more attention than they used to. > > > We've got a group of volunteers willing to take over maintaining > > > bindings. Th

[PATCH 2/2] Squashfs: Add LZ4 compression configuration option

2013-07-21 Thread Phillip Lougher
Add the glue code, and also update the documentation. Signed-off-by: Phillip Lougher --- Documentation/filesystems/squashfs.txt |8 fs/squashfs/Kconfig| 15 +++ fs/squashfs/Makefile |1 + fs/squashfs/decompressor.c

[PATCH 1/2] Squashfs: add LZ4 compression support

2013-07-21 Thread Phillip Lougher
Add support for reading file systems compressed with the LZ4 compression algorithm. This patch adds the LZ4 decompressor wrapper code. Signed-off-by: Phillip Lougher --- fs/squashfs/lz4_wrapper.c | 163 + fs/squashfs/squashfs_fs.h |1 + 2 files c

paper supplier

2013-07-21 Thread Hidka
Dear Purchasing manager: Nice time to you It is my big pleasure to hear you need A4 paper If you still need that pls tell me Then i can send you our best price Best wishes Ida Ida Chen SALES MANAGER East Siweite industry Co., Ltd www.dfswtpaper.com SKYPE: siweite Email:s...@swtindustry.comn�

[PATCH 0/2] Squashfs: add LZ4 compression

2013-07-21 Thread Phillip Lougher
Hi Now that LZ4 compression support is in 3.11-rc1, I have written the following two patches for Squashfs to use it. Phillip Lougher (2): Squashfs: add LZ4 compression support Squashfs: Add LZ4 compression configuration option Documentation/filesystems/squashfs.txt |8 +- fs/squashfs/Kc

[GIT PULL] Thermal management fixes for v3.11-rc3

2013-07-21 Thread Zhang Rui
Hi, Linus, Please pull from the git repository at git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux.git next to receive Thermal management fixes for v3.11-rc3 with top-most commit ace120dcf23b3bbba00d797a898481997381052f: Thermal: Fix lockup of cpu_down() on top of commit 47188d39

Re: [ 37/72] Input: bcm5974 - add support for the 2013 MacBook Air

2013-07-21 Thread Dmitry Torokhov
On Sunday, July 21, 2013 06:42:03 PM Greg Kroah-Hartman wrote: > On Thu, Jul 18, 2013 at 10:44:45PM -0700, Greg Kroah-Hartman wrote: > > On Thu, Jul 18, 2013 at 10:40:40PM -0700, Dmitry Torokhov wrote: > > > Greg, > > > > > > On Thu, Jul 18, 2013 at 10:25:54PM -0700, Greg Kroah-Hartman wrote: > >

RE: [PATCH] lustre:libcfs: remove redundant code.

2013-07-21 Thread Peng, Tao
> -Original Message- > From: Paul Bolle [mailto:pebo...@tiscali.nl] > Sent: Saturday, July 20, 2013 12:07 AM > To: Greg Kroah-Hartman > Cc: Alexandru Juncu; Pekka Enberg; andreas.dilger; Peng, Tao; driverdev; LKML > Subject: Re: [PATCH] lustre:libcfs: remove redundant code. > > On Fri, 201

Linux 3.9.11

2013-07-21 Thread Greg KH
I'm announcing the release of the 3.9.11 kernel. Note, this is the LAST 3.9-stable kernel. It is now dead, end-of-life, not to be touched by me again, please move to 3.10 now, you have been warned. All users of the 3.9 kernel series must upgrade. The updated 3.9.y git tree can be found at:

Linux 3.10.2

2013-07-21 Thread Greg KH
I'm announcing the release of the 3.10.2 kernel. All users of the 3.10 kernel series must upgrade. The updated 3.10.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.10.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 3.9.11

2013-07-21 Thread Greg KH
diff --git a/Makefile b/Makefile index d0af302..ad368cd 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 3 PATCHLEVEL = 9 -SUBLEVEL = 10 +SUBLEVEL = 11 EXTRAVERSION = NAME = Black Squirrel Wakeup Call diff --git a/arch/x86/xen/time.c b/arch/x86/xen/time.c index 054cc01..d50a821

Re: Linux 3.4.54

2013-07-21 Thread Greg KH
diff --git a/Makefile b/Makefile index 104049d..6ca3657 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 3 PATCHLEVEL = 4 -SUBLEVEL = 53 +SUBLEVEL = 54 EXTRAVERSION = NAME = Saber-toothed Squirrel diff --git a/arch/arm/kernel/perf_event.c b/arch/arm/kernel/perf_event.c index 85

Linux 3.4.54

2013-07-21 Thread Greg KH
I'm announcing the release of the 3.4.54 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:

Linux 3.0.87

2013-07-21 Thread Greg KH
I'm announcing the release of the 3.0.87 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:

Re: Linux 3.0.87

2013-07-21 Thread Greg KH
diff --git a/Makefile b/Makefile index da6a0ca..03aa17e 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 3 PATCHLEVEL = 0 -SUBLEVEL = 86 +SUBLEVEL = 87 EXTRAVERSION = NAME = Sneaky Weasel diff --git a/arch/arm/kernel/perf_event.c b/arch/arm/kernel/perf_event.c index 2b5b142..75

Re: [ 37/72] Input: bcm5974 - add support for the 2013 MacBook Air

2013-07-21 Thread Greg Kroah-Hartman
On Thu, Jul 18, 2013 at 10:44:45PM -0700, Greg Kroah-Hartman wrote: > On Thu, Jul 18, 2013 at 10:40:40PM -0700, Dmitry Torokhov wrote: > > Greg, > > > > On Thu, Jul 18, 2013 at 10:25:54PM -0700, Greg Kroah-Hartman wrote: > > > 3.10-stable review patch. If anyone has any objections, please let me

infiniband build warning

2013-07-21 Thread Michel Lespinasse
Hi, I am seeing build warnings in drivers/infiniband/core/cma.c starting with v3.11-rc1. These can be reproduced with gcc 4.6.3. Would you consider applying the following fix ? (The compiler warning seems benign as I could easily convince myself that the variable won't be used uninitialized, bu

Re: thermal / x86: Fix init error code path in package temperature driver

2013-07-21 Thread Zhang Rui
On Sun, 2013-07-21 at 15:03 +0200, Rafael J. Wysocki wrote: > On Saturday, July 20, 2013 11:30:44 PM Srinivas Pandruvada wrote: > > Hi Rafael, > > > > This is already fixed and currently merged to MM tree. So this should > > make to rc2. > > I don't know whether Rui will push or MM maintainer wil

Re: [GIT PULL] ACPI video support fixes for v3.11

2013-07-21 Thread Rafael J. Wysocki
On Sunday, July 21, 2013 10:15:31 AM Linus Torvalds wrote: > On Sat, Jul 20, 2013 at 5:22 PM, Rafael J. Wysocki wrote: > > > > I'm sending a separate pull request for this as it may be somewhat > > controversial. > > Ugh. That's an understatement, and I hate the timing. Sorry about that. The ch

Re: Linux 3.11-rc2

2013-07-21 Thread Dave Chinner
On Sun, Jul 21, 2013 at 12:53:10PM -0700, Linus Torvalds wrote: > So it's been another week, and -rc2 is out there. > > The patch looks a bit odd, because by bulk 95% of the patch is just > the removal of the CSR staging driver that wasn't getting any > traction, so the diffstat (and the dirstat i

[PATCH 2/4] ipc: drop ipc_lock_by_ptr

2013-07-21 Thread Davidlohr Bueso
After previous cleanups and optimizations, this function is no longer heavily used and we don't have a good reason to keep it. Update the few remaining callers and get rid of it. Signed-off-by: Davidlohr Bueso --- ipc/namespace.c | 3 ++- ipc/util.c | 6 -- ipc/util.h | 6 -- 3

[PATCH 1/4] ipc, shm: guard against non-existant vma in shmdt(2)

2013-07-21 Thread Davidlohr Bueso
When !CONFIG_MMU there's a chance we can derefence a NULL pointer when the VM area isn't found - check the return value of find_vma(). Also, remove the redundant -EINVAL return: retval is set to the proper return code and *only* changed to 0, when we actually unmap the segments. Signed-off-by: Da

[PATCH 0/4] ipc: misc fixes & pending cleanups

2013-07-21 Thread Davidlohr Bueso
Applies on top of linux-next (20130719), please consider them for 3.12. Very straightforward patchset: Patch 1: always check the return of find_vma in shmdt(2) Patch 2-4: remove now mostly unused functions from the previous cleanups and optimizations. Davidlohr Bueso (4): ipc, shm: g

[PATCH 3/4] ipc, shm: drop shm_lock_check

2013-07-21 Thread Davidlohr Bueso
This function was replaced by a the lockless shm_obtain_object_check(), and no longer has any users. Signed-off-by: Davidlohr Bueso --- ipc/shm.c | 11 --- 1 file changed, 11 deletions(-) diff --git a/ipc/shm.c b/ipc/shm.c index c7ee2f6..9ffc563 100644 --- a/ipc/shm.c +++ b/ipc/shm.c @@

[PATCH] pinctrl: pinctrl-imx: Remove unneeded check for platform_get_resource()

2013-07-21 Thread Fabio Estevam
From: Fabio Estevam As devm_ioremap_resource() is used on probe, there is no need to explicitly check the return value from platform_get_resource(), as this is something that devm_ioremap_resource() takes care by itself. Signed-off-by: Fabio Estevam --- drivers/pinctrl/pinctrl-imx.c | 3 ---

[PATCH 4/4] ipc: drop ipc_lock_check

2013-07-21 Thread Davidlohr Bueso
No remaining users, we now use ipc_obtain_object_check(). Signed-off-by: Davidlohr Bueso --- ipc/util.c | 16 ipc/util.h | 1 - 2 files changed, 17 deletions(-) diff --git a/ipc/util.c b/ipc/util.c index 9f6aa30..e829da9 100644 --- a/ipc/util.c +++ b/ipc/util.c @@ -686,22 +686

RE: [PATCH 1/3] mfd: add LP3943 MFD driver

2013-07-21 Thread Kim, Milo
> This needs to be reviewed by the devicetree people. > Please break out the bindings separately and include > devicet...@vger.kernel.org on that review. OK, thanks. > > +++ b/Documentation/devicetree/bindings/mfd/lp3943.txt > > @@ -0,0 +1,23 @@ > > +Bindings for TI/National Semiconductor LP3943

RE: [PATCH 2/3] gpio: add LP3943 I2C GPIO expander driver

2013-07-21 Thread Kim, Milo
Hi Linus, Thanks for both of GPIO patch reviews. I'll fix them. > I forgot one thing: > > On Tue, Jul 16, 2013 at 4:38 AM, Kim, Milo wrote: > > > +static int lp3943_gpio_probe(struct platform_device *pdev) > > +{ > > + struct lp3943 *l = dev_get_drvdata(pdev->dev.parent); > > + stru

[PATCH] imx-drm: imx-tve: Remove unneeded check for platform_get_resource()

2013-07-21 Thread Fabio Estevam
From: Fabio Estevam As devm_ioremap_resource() is used on probe, there is no need to explicitly check the return value from platform_get_resource(), as this is something that devm_ioremap_resource() takes care by itself. Signed-off-by: Fabio Estevam --- drivers/staging/imx-drm/imx-tve.c | 5 -

RE: [PATCH 0/3] LP3943 MFD driver for a GPIO expander and a PWM generator

2013-07-21 Thread Kim, Milo
Hi Linus, Thanks for your review. > On Tue, Jul 16, 2013 at 4:38 AM, Kim, Milo wrote: > > > LP3943 is an integrated device capable of driving 16 output channels. > > It supports a GPIO expander and a PWM generator. > > But actually the data sheet describes it as a LED driver with PWM > chip. >

RE: [PATCH 1/3] mfd: add LP3943 MFD driver

2013-07-21 Thread Kim, Milo
Hi Lee, Thanks for your detailed review. > > diff --git a/Documentation/devicetree/bindings/mfd/lp3943.txt > b/Documentation/devicetree/bindings/mfd/lp3943.txt > > new file mode 100644 > > index 000..4eb251d > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/mfd/lp3943.txt > > @@ -0

Re: [x86] Kernel panic - not syncing: Fatal exception in interrupt

2013-07-21 Thread Fengguang Wu
Hi Jiri, > What I am however wondering whether can't be case here is that the jump > label was used before int3_notifier has been registered. > I am thinking about ways around this, but we'll probably have to do the > same ftrace is doing, i.e. hook into do_int3() directly instead of relying >

Re: Re: [PATCH V2 0/2] [BUGFIX] virtio/console: Fix two bugs of splice_write

2013-07-21 Thread Yoshihiro YUNOMAE
Hi Amit, Sorry for the late reply. (2013/07/19 19:05), Amit Shah wrote: On (Fri) 19 Jul 2013 [18:19:51], Yoshihiro YUNOMAE wrote: Hi, This patch set fixes two bugs of splice_write in the virtio-console driver. [BUG1] Although pipe->nrbufs is empty, the driver tries to do splice_write.

Re: [PATCH] hugepage: allow parallelization of the hugepage fault path

2013-07-21 Thread Joonsoo Kim
On Fri, Jul 19, 2013 at 02:24:15PM -0700, Davidlohr Bueso wrote: > On Fri, 2013-07-19 at 17:14 +1000, David Gibson wrote: > > On Thu, Jul 18, 2013 at 05:42:35PM +0900, Joonsoo Kim wrote: > > > On Wed, Jul 17, 2013 at 12:50:25PM -0700, Davidlohr Bueso wrote: > > > > From: David Gibson > > > > > >

Re: [PATCH 3/3] MAINTAINERS: Refactor device tree maintainership

2013-07-21 Thread Grant Likely
On Mon, Jul 22, 2013 at 1:43 AM, Joe Perches wrote: > On Mon, 2013-07-22 at 01:36 +0100, Grant Likely wrote: >> On Sun, Jul 21, 2013 at 10:46 AM, Grant Likely >> wrote: >> > On Sun, Jul 21, 2013 at 1:29 AM, Joe Perches wrote: >> >> On Sat, 2013-07-20 at 17:17 -0700, Olof Johansson wrote: >> >>>

Re: [PATCH] ASoC: generic: add simple card with devicetree support

2013-07-21 Thread Kuninori Morimoto
Hi > > On Sat, 20 Jul 2013 22:23:36 +0200 > > Daniel Mack wrote: > > > >> There is a simple-card driver in the tree already, and there were > >> several attempts to add DT bindings for it in the past - have you seen > >> that? Search for "ASoC: add simple-card DT support" in the archives ... >

  1   2   3   >