[PATCH 45/58] [SCSI] zfcp: fix lock imbalance by reworking request queue locking

2013-09-02 Thread Luis Henriques
3.5.7.21 -stable review patch. If anyone has any objections, please let me know. -- From: Martin Peschke commit d79ff142624e1be080ad8d09101f7004d79c36e1 upstream. This patch adds wait_event_interruptible_lock_irq_timeout(), which is a straight-forward descendant of

[PATCH 48/58] nilfs2: fix issue with counting number of bio requests for BIO_EOPNOTSUPP error detection

2013-09-02 Thread Luis Henriques
3.5.7.21 -stable review patch. If anyone has any objections, please let me know. -- From: Vyacheslav Dubeyko commit 4bf93b50fd04118ac7f33a3c2b8a0a1f9fa80bc9 upstream. Fix the issue with improper counting number of flying bio requests for BIO_EOPNOTSUPP error detection case.

[PATCH 44/58] of: fdt: fix memory initialization for expanded DT

2013-09-02 Thread Luis Henriques
3.5.7.21 -stable review patch. If anyone has any objections, please let me know. -- From: Wladislav Wiebe commit 9e40127526e857fa3f29d51e83277204fbdfc6ba upstream. Already existing property flags are filled wrong for properties created from initial FDT. This could cause

linux-next: build failure after merge of the final tree (drm tree related)

2013-09-02 Thread Stephen Rothwell
Hi all, After merging the final tree, today's linux-next build (powerpc allyesconfig) failed like this: drivers/gpu/drm/radeon/ci_dpm.c: In function 'ci_request_link_speed_change_before_state_change': drivers/gpu/drm/radeon/ci_dpm.c:4212:4: error: implicit declaration of function

[PATCH 46/58] [SCSI] zfcp: fix schedule-inside-lock in scsi_device list loops

2013-09-02 Thread Luis Henriques
3.5.7.21 -stable review patch. If anyone has any objections, please let me know. -- From: Martin Peschke commit 924dd584b198a58aa7cb3efefd8a03326550ce8f upstream. BUG: sleeping function called from invalid context at kernel/workqueue.c:2752 in_atomic(): 1, irqs_disabled():

[PATCH 3/4] AHCI: Conserve interrupts with pci_enable_msi_block_part() interface

2013-09-02 Thread Alexander Gordeev
Make use of the new pci_enable_msi_block_part() interface and conserve on othewise wasted interrupt resources for 10 of 16 unused MSI vectors on Intel chipsets. Signed-off-by: Alexander Gordeev --- drivers/ata/ahci.c | 48 +--- 1 files changed, 29

[PATCH 57/58] drivers/base/memory.c: fix show_mem_removable() to handle missing sections

2013-09-02 Thread Luis Henriques
3.5.7.21 -stable review patch. If anyone has any objections, please let me know. -- From: Russ Anderson commit 21ea9f5ace3a7317cc3ba1fbc749758021a83136 upstream. "cat /sys/devices/system/memory/memory*/removable" crashed the system. The problem is that show_mem_removable()

[PATCH 4/4] PCI/MSI: Get rid of pci_enable_msi_block_auto() interface

2013-09-02 Thread Alexander Gordeev
There are no consumers of pci_enable_msi_block_auto() interface have left. Eliminate it for now. Signed-off-by: Alexander Gordeev --- Documentation/PCI/MSI-HOWTO.txt | 12 ++-- drivers/pci/msi.c | 25 - include/linux/pci.h |7

[PATCH 54/58] powerpc: Don't Oops when accessing /proc/powerpc/lparcfg without hypervisor

2013-09-02 Thread Luis Henriques
3.5.7.21 -stable review patch. If anyone has any objections, please let me know. -- From: Benjamin Herrenschmidt commit f5f6cbb61610b7bf9d9d96db9c3979d62a424bab upstream. /proc/powerpc/lparcfg is an ancient facility (though still actively used) which allows access to some

[PATCH 51/58] workqueue: fix possible stall on try_to_grab_pending() of a delayed work item

2013-09-02 Thread Luis Henriques
3.5.7.21 -stable review patch. If anyone has any objections, please let me know. -- From: Lai Jiangshan commit 3aa62497594430ea522050b75c033f71f2c60ee6 upstream. Currently, when try_to_grab_pending() grabs a delayed work item, it leaves its linked work items alone on the

[PATCH 2/4] MSI/x86: Support pci_enable_msi_block_part() interface

2013-09-02 Thread Alexander Gordeev
This update is a prerequisite for the forthcoming update of the AHCI device driver to conserve 10/16 MSIs on Intel chipsets. The update makes use of 'nvec_mme' parameter for pci_enable_msi_block_part() interface. Signed-off-by: Alexander Gordeev --- drivers/iommu/irq_remapping.c | 12

[PATCH 55/58] powerpc: Work around gcc miscompilation of __pa() on 64-bit

2013-09-02 Thread Luis Henriques
3.5.7.21 -stable review patch. If anyone has any objections, please let me know. -- From: Paul Mackerras commit bdbc29c19b2633b1d9c52638fb732bcde7a2031a upstream. On 64-bit, __pa(_var) gets miscompiled by recent versions of gcc as something like: addis

[PATCH 50/58] efivars: explicitly calculate length of VariableName

2013-09-02 Thread Luis Henriques
3.5.7.21 -stable review patch. If anyone has any objections, please let me know. -- From: Matt Fleming commit ec50bd32f1672d38ddce10fb1841cbfda89cfe9a upstream. It's not wise to assume VariableNameSize represents the length of VariableName, as not all firmware updates

Re: [PATCH 0/5] Remove ASoC-level I/O functions from cq93vc

2013-09-02 Thread Samuel Ortiz
Hi Mark, On Sun, Sep 01, 2013 at 04:08:53PM +0100, Mark Brown wrote: > On Sun, Sep 01, 2013 at 04:48:47PM +0200, Samuel Ortiz wrote: > > > As I'd prefer to carry the MFD ones (Including the twl6040 one) through > > mfd-next, I can build a branch for you to pull from. Would that be fine > > with

Re: [PATCHv2 1/4] pwm: Add Freescale FTM PWM driver support

2013-09-02 Thread Sascha Hauer
On Mon, Sep 02, 2013 at 03:33:37AM +, Xiubo Li-B47053 wrote: > > > > +static void fsl_pwm_free(struct pwm_chip *chip, struct pwm_device > > > +*pwm) { > > > + struct fsl_pwm_chip *fpc; > > > + struct fsl_pwm_data *pwm_data; > > > + > > > + fpc = to_fsl_chip(chip); > > > + > > > + pwm_data =

Re: [PATCH] rbtree: Add some necessary condition checks

2013-09-02 Thread Michel Lespinasse
On Sun, Sep 1, 2013 at 11:30 PM, Zhi Yong Wu wrote: > In Tue, Aug 27, 2013 at 6:01 AM, Michel Lespinasse wrote: >> On Fri, Aug 23, 2013 at 7:45 AM, wrote: >>> From: Zhi Yong Wu >>> >>> Signed-off-by: Zhi Yong Wu >>> --- >>> include/linux/rbtree_augmented.h | 3 ++- >>> lib/rbtree.c

[PATCH 1/4] PCI/MSI: Introduce pci_enable_msi_block_part() interface

2013-09-02 Thread Alexander Gordeev
There are PCI devices that require a particular value written to the Multiple Message Enable (MME) register while aligned on power of 2 boundary value of actually used MSI vectors 'nvec' is a lesser of that MME value: roundup_pow_of_two(nvec) < 'Multiple Message Enable' However the

[PATCH 0/4] AHCI: Conserve interrupts with pci_enable_msi_block_part() interface

2013-09-02 Thread Alexander Gordeev
This series is aimed to conserve on othewise wasted interrupt resources for 10 of 16 unused MSI vectors for AHCI devices on Intel chipsets. Alexander Gordeev (4): PCI/MSI: Introduce pci_enable_msi_block_part() interface MSI/x86: Support pci_enable_msi_block_part() interface AHCI: Conserve

[PATCH 58/58] x86 get_unmapped_area: Access mmap_legacy_base through mm_struct member

2013-09-02 Thread Luis Henriques
3.5.7.21 -stable review patch. If anyone has any objections, please let me know. -- From: Radu Caragea commit 41aacc1eea645c99edbe8fbcf78a97dc9b862adc upstream. This is the updated version of df54d6fa5427 ("x86 get_unmapped_area(): use proper mmap base for bottom-up

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

2013-09-02 Thread James Hogan
On 13/10/12 03:26, Steven Rostedt wrote: > 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

[PATCH 52/58] x86/xen: do not identity map UNUSABLE regions in the machine E820

2013-09-02 Thread Luis Henriques
3.5.7.21 -stable review patch. If anyone has any objections, please let me know. -- From: David Vrabel commit 3bc38cbceb85881a8eb789ee1aa56678038b1909 upstream. If there are UNUSABLE regions in the machine memory map, dom0 will attempt to map them 1:1 which is not permitted

[PATCH 47/58] nilfs2: remove double bio_put() in nilfs_end_bio_write() for BIO_EOPNOTSUPP error

2013-09-02 Thread Luis Henriques
3.5.7.21 -stable review patch. If anyone has any objections, please let me know. -- From: Vyacheslav Dubeyko commit 2df37a19c686c2d7c4e9b4ce1505b5141e3e5552 upstream. Remove double call of bio_put() in nilfs_end_bio_write() for the case of BIO_EOPNOTSUPP error detection.

[PATCH 56/58] powerpc/hvsi: Increase handshake timeout from 200ms to 400ms.

2013-09-02 Thread Luis Henriques
3.5.7.21 -stable review patch. If anyone has any objections, please let me know. -- From: Eugene Surovegin commit d220980b701d838560a70de691b53be007e99e78 upstream. This solves a problem observed in kexec'ed kernel where 200ms timeout is too short and bootconsole fails to

[PATCH 36/58] Hostap: copying wrong data prism2_ioctl_giwaplist()

2013-09-02 Thread Luis Henriques
3.5.7.21 -stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 909bd5926d474e275599094acad986af79671ac9 upstream. We want the data stored in "addr" and "qual", but the extra ampersands mean we are copying stack data instead.

[PATCH V3 4/6] vhost_net: determine whether or not to use zerocopy at one time

2013-09-02 Thread Jason Wang
Currently, even if the packet length is smaller than VHOST_GOODCOPY_LEN, if upend_idx != done_idx we still set zcopy_used to true and rollback this choice later. This could be avoided by determining zerocopy once by checking all conditions at one time before. Signed-off-by: Jason Wang ---

[PATCH 03/58] serial: mxs: fix buffer overflow

2013-09-02 Thread Luis Henriques
3.5.7.21 -stable review patch. If anyone has any objections, please let me know. -- From: Wolfram Sang commit 4829e7650f8a40645e4e32b26a37fb833a5e75f0 upstream. SMATCH correctly found an off-by-one error: drivers/tty/serial/mxs-auart.c:889 auart_console_write() error:

[PATCH V3 5/6] vhost_net: poll vhost queue after marking DMA is done

2013-09-02 Thread Jason Wang
We used to poll vhost queue before making DMA is done, this is racy if vhost thread were waked up before marking DMA is done which can result the signal to be missed. Fix this by always polling the vhost thread before DMA is done. Signed-off-by: Jason Wang --- - The patch is needed for stable

Re: [PATCHv2 4/4] Documentation: Add device tree bindings for Freescale FTM PWM.

2013-09-02 Thread Sascha Hauer
On Mon, Sep 02, 2013 at 02:38:53AM +, Xiubo Li-B47053 wrote: > > Subject: Re: [PATCHv2 4/4] Documentation: Add device tree bindings for > > Freescale FTM PWM. > > > ... > > > + > > > +pwm0: pwm@40038000 { > > > + compatible = "fsl,vf610-ftm-pwm"; > > > + reg = <0x40038000

[PATCH V3 6/6] vhost_net: correctly limit the max pending buffers

2013-09-02 Thread Jason Wang
As Michael point out, We used to limit the max pending DMAs to get better cache utilization. But it was not done correctly since it was one done when there's no new buffers submitted from guest. Guest can easily exceeds the limitation by keeping sending packets. So this patch moves the check into

[PATCH V3 3/6] vhost: switch to use vhost_add_used_n()

2013-09-02 Thread Jason Wang
Let vhost_add_used() to use vhost_add_used_n() to reduce the code duplication. To avoid the overhead brought by __copy_to_user(). We will use put_user() when one used need to be added. Signed-off-by: Jason Wang --- drivers/vhost/vhost.c | 54 ++-- 1

[PATCH V3 2/6] vhost_net: use vhost_add_used_and_signal_n() in vhost_zerocopy_signal_used()

2013-09-02 Thread Jason Wang
We tend to batch the used adding and signaling in vhost_zerocopy_callback() which may result more than 100 used buffers to be updated in vhost_zerocopy_signal_used() in some cases. So switch to use vhost_add_used_and_signal_n() to avoid multiple calls to vhost_add_used_and_signal(). Which means

Re: [PATCH 09/12] KVM: MMU: introduce pte-list lockless walker

2013-09-02 Thread Xiao Guangrong
On 08/30/2013 07:44 PM, Gleb Natapov wrote: > On Thu, Aug 29, 2013 at 08:02:30PM +0800, Xiao Guangrong wrote: >> On 08/29/2013 07:33 PM, Xiao Guangrong wrote: >>> On 08/29/2013 05:31 PM, Gleb Natapov wrote: On Thu, Aug 29, 2013 at 02:50:51PM +0800, Xiao Guangrong wrote: > After more

Re: [PATCH 1/2] mfd: 88pm800: Fix the bug that pdata may be NULL

2013-09-02 Thread Samuel Ortiz
Hi Chao, On Mon, Sep 02, 2013 at 09:21:04AM +0800, Chao Xie wrote: > On Fri, Aug 30, 2013 at 8:30 PM, Samuel Ortiz wrote: > > Hi Xie, > > > > On Tue, Aug 27, 2013 at 02:11:58PM +0800, Chao Xie wrote: > >> On Tue, Aug 20, 2013 at 9:40 AM, Samuel Ortiz > >> wrote: > >> > Hi Xie, > >> > > >> > On

Re: [PATCH] Kconfig.debug: Add FRAME_POINTER anti-dependency for ARC

2013-09-02 Thread Vineet Gupta
On 08/30/2013 08:50 PM, Dave Hansen wrote: > On 08/30/2013 12:48 AM, Vineet Gupta wrote: >> If we had ARCH_FRAME_POINTER_UNAVAILABLE (def_bool n), we could potentially >> remove >> ARCH_FRAME_POINTER too: >> The issue is some (sparc, c6x...) which are neither in #1 or #2, and not >> present >>

Re: [PATCH] mfd: twl6040: Use regmap for register cache

2013-09-02 Thread Lee Jones
On Mon, 02 Sep 2013, Samuel Ortiz wrote: > Hi Lee, > > On Mon, Sep 02, 2013 at 09:17:59AM +0100, Lee Jones wrote: > > On Sat, 31 Aug 2013, Mark Brown wrote: > > > > > From: Mark Brown > > > > > > Rather then open coding a cache of the vibra control registers use the > > > regmap cache code.

[PATCH 1/1] dma: mv_xor: Fix incorrect error path

2013-09-02 Thread Sachin Kamat
Return directly if memory allocation fails. There is no need of dma_free_coherent(). Signed-off-by: Sachin Kamat Cc: Saeed Bishara --- drivers/dma/mv_xor.c |6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/dma/mv_xor.c b/drivers/dma/mv_xor.c index

[PATCH 4/4] slab: make more slab management structure off the slab

2013-09-02 Thread Joonsoo Kim
Now, the size of the freelist for the slab management diminish, so that the on-slab management structure can waste large space if the object of the slab is large. Consider a 128 byte sized slab. If on-slab is used, 31 objects can be in the slab. The size of the freelist for this case would be 31

[PATCH 0/4] slab: implement byte sized indexes for the freelist of a slab

2013-09-02 Thread Joonsoo Kim
This patchset implements byte sized indexes for the freelist of a slab. Currently, the freelist of a slab consist of unsigned int sized indexes. Most of slabs have less number of objects than 256, so much space is wasted. To reduce this overhead, this patchset implements byte sized indexes for

[PATCH 3/4] slab: introduce byte sized index for the freelist of a slab

2013-09-02 Thread Joonsoo Kim
Currently, the freelist of a slab consist of unsigned int sized indexes. Most of slabs have less number of objects than 256, since restriction for page order is at most 1 in default configuration. For example, consider a slab consisting of 32 byte sized objects on two continous pages. In this

Re: [RFC 00/24] perf tools: Add traceevent plugins support

2013-09-02 Thread Jiri Olsa
On Sun, Sep 01, 2013 at 12:48:25PM +0200, Jiri Olsa wrote: > hi, > backporting traceevent plugin support from trace-cmd. It's reachable here: git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git perf/core_plugins jirka -- To unsubscribe from this list: send the line "unsubscribe

[PATCH 1/4] slab: factor out calculate nr objects in cache_estimate

2013-09-02 Thread Joonsoo Kim
This logic is not simple to understand so that making separate function helping readability. Additionally, we can use this change in the following patch which implement for freelist to have another sized index in according to nr objects. Signed-off-by: Joonsoo Kim diff --git a/mm/slab.c

[PATCH] drivers: uio: mf624_disable_interrupt() can be static

2013-09-02 Thread Rostislav Lisovy
From: Fengguang Wu Signed-off-by: Fengguang Wu Signed-off-by: Rostislav Lisovy --- drivers/uio/uio_mf624.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/uio/uio_mf624.c b/drivers/uio/uio_mf624.c index a1768b2..92cf6a9 100644 --- a/drivers/uio/uio_mf624.c

Re: [PATCH 24/25] perf tools: Add multi file '-M' option for record command

2013-09-02 Thread Jiri Olsa
On Mon, Sep 02, 2013 at 10:52:46AM +0300, Adrian Hunter wrote: > On 01/09/13 13:36, Jiri Olsa wrote: > > split event data into multiple files based on the file > > size or time delta specified as an argument to the option. > > > > Adding multi file '-M' option for record command to store > >

[PATCH 2/4] slab: introduce helper functions to get/set free object

2013-09-02 Thread Joonsoo Kim
In the following patches, to get/set free objects from the freelist is changed so that simple casting doesn't work for it. Therefore, introduce helper functions. Signed-off-by: Joonsoo Kim diff --git a/mm/slab.c b/mm/slab.c index 9d4bad5..a0e49bb 100644 --- a/mm/slab.c +++ b/mm/slab.c @@

Re: [PATCH V2 6/6] vhost_net: correctly limit the max pending buffers

2013-09-02 Thread Jason Wang
On 09/02/2013 02:30 PM, Jason Wang wrote: > On 09/02/2013 01:56 PM, Michael S. Tsirkin wrote: >> > On Fri, Aug 30, 2013 at 12:29:22PM +0800, Jason Wang wrote: >>> >> As Michael point out, We used to limit the max pending DMAs to get >>> >> better cache >>> >> utilization. But it was not done

[PATCH 1/2] dma: ste_dma40: Remove duplicate const

2013-09-02 Thread Sachin Kamat
'const' was added twice. Signed-off-by: Sachin Kamat --- drivers/dma/ste_dma40.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/ste_dma40.c b/drivers/dma/ste_dma40.c index 7bbcabb..df0a606 100644 --- a/drivers/dma/ste_dma40.c +++ b/drivers/dma/ste_dma40.c @@

[PATCH 2/2] dma: ste_dma40: Fix potential null pointer dereference

2013-09-02 Thread Sachin Kamat
kcalloc can return NULL. Check the pointer before dereferencing. Signed-off-by: Sachin Kamat --- drivers/dma/ste_dma40.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/dma/ste_dma40.c b/drivers/dma/ste_dma40.c index df0a606..82d2b97 100644 --- a/drivers/dma/ste_dma40.c +++

Re: [PATCH] mfd: twl6040: Use regmap for register cache

2013-09-02 Thread Samuel Ortiz
Hi Lee, On Mon, Sep 02, 2013 at 09:17:59AM +0100, Lee Jones wrote: > On Sat, 31 Aug 2013, Mark Brown wrote: > > > From: Mark Brown > > > > Rather then open coding a cache of the vibra control registers use the > > regmap cache code. Also cache the interrupt mask register, providing > > a

linux-next: build warning after merge of the scsi tree

2013-09-02 Thread Stephen Rothwell
Hi James, After merging the scsi tree, today's linux-next build (x86_64 allmodconfig) produced this warning: drivers/scsi/ufs/ufshcd.c: In function 'ufshcd_eh_host_reset_handler': drivers/scsi/ufs/ufshcd.c:2740:3: warning: 'flush_work_sync' is deprecated (declared at

Re: 3.11-rc7:BUG: soft lockup

2013-09-02 Thread Baoquan He
Hi Tianhong, I applied your patch and execute below cmd. Then keyboard inputting problems happened, I can't enter user/password correctly, then reboot again, it's OK now. The original bug still can't be reproduced. make SUBDIRS=net/bridge/netfilter/ cp /net/bridge/netfilter/ebtables.ko

Re: perf_event: rdpmc self-monitoring overhead issue

2013-09-02 Thread Stephane Eranian
On Mon, Sep 2, 2013 at 4:50 AM, Andi Kleen wrote: > Stephane Eranian writes: > >> I don't see a flag in mmap() to fault it in immediately. > > MAP_PRESENT > I could not find this constant defined anywhere in the kernel source tree nor in /usr/include. Are you sure of the name? -- To unsubscribe

Re: [PATCH v3] imx-drm: Fix probe failure

2013-09-02 Thread Sascha Hauer
On Fri, Aug 30, 2013 at 02:53:12PM -0300, Fabio Estevam wrote: > From: Fabio Estevam > > Since commit b5dc0d10 (drm/imx: kill firstopen callback) the following probe > failure is seen: > > [drm] Supports vblank timestamp caching Rev 1 (10.10.2010). > [drm] No driver support for vblank timestamp

Re: [edk2] Corrupted EFI region

2013-09-02 Thread Matt Fleming
On Thu, 08 Aug, at 06:46:02AM, Andrew Fish wrote: > > On Aug 8, 2013, at 3:17 AM, Matt Fleming wrote: > > > On Wed, 07 Aug, at 02:10:28PM, Andrew Fish wrote: > >> Well the issue I see is I don't think OS X or Windows are doing this. > >> So I'm guessing there is some unique thing beings done on

Re: [PATCH 1/1] dma: imx-dma: Remove redundant NULL check

2013-09-02 Thread Sascha Hauer
On Mon, Sep 02, 2013 at 01:21:18PM +0530, Sachin Kamat wrote: > kfree on a NULL pointer is a no-op. Null pointer check is > not necessary. > > Signed-off-by: Sachin Kamat > Cc: Sascha Hauer Acked-by: Sascha Hauer Sascha > --- > drivers/dma/imx-dma.c |6 ++ > 1 file changed, 2

Re: [PATCH] mfd: twl6040: Use regmap for register cache

2013-09-02 Thread Lee Jones
On Sat, 31 Aug 2013, Mark Brown wrote: > From: Mark Brown > > Rather then open coding a cache of the vibra control registers use the > regmap cache code. Also cache the interrupt mask register, providing > a small performance improvement for the interrupt code. > > Signed-off-by: Mark Brown

Re: [PATCH 1/4] mfd: add STw481x driver

2013-09-02 Thread Lee Jones
Hi Linus, > This adds a driver for the STw481x PMICs found in the Nomadik > family of platforms. This one uses pure device tree probing. > Print some of the OTP registers on boot and register a regulator > MFD child. > > Signed-off-by: Linus Walleij > --- > Hi Sam, I'm seeking an ACK for this

Re: [RFC PATCH 02/14] drivers: thermal: introduce device tree parser

2013-09-02 Thread Wei Ni
On 08/30/2013 07:19 AM, Eduardo Valentin wrote: > * PGP Signed: 08/29/2013 at 04:19:46 PM > > Mark, Pawel and Stephen, > > > On 27-08-2013 14:17, Eduardo Valentin wrote: >> On 27-08-2013 12:23, Mark Rutland wrote: >>> On Tue, Aug 27, 2013 at 02:44:40PM +0100, Eduardo Valentin wrote: Hello

[PATCH 1/1] dma: imx-dma: Remove redundant NULL check

2013-09-02 Thread Sachin Kamat
kfree on a NULL pointer is a no-op. Null pointer check is not necessary. Signed-off-by: Sachin Kamat Cc: Sascha Hauer --- drivers/dma/imx-dma.c |6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/dma/imx-dma.c b/drivers/dma/imx-dma.c index ff2aab9..78f8ca5

Re: [PATCHv6 1/2] ARM: sunxi: Initial support for Allwinner's Security ID fuses

2013-09-02 Thread Maxime Ripard
Hi Oliver, On Sun, Sep 01, 2013 at 01:30:18PM +0200, oliver+l...@schinagl.nl wrote: > From: Oliver Schinagl > > Allwinner has electric fuses (efuse) on their line of chips. This driver > reads those fuses, seeds the kernel entropy and exports them as a sysfs > node. > > These fuses are most

Re: [PATCH] drivers: misc: bmp085: remove '__init' from mp085_get_of_properties()

2013-09-02 Thread Chen Gang
It seems the "./scripts/get_maintainer.pl" is not quite precise, it lead me to send this mail to kernel mailing list, not to drivers related mailing list. [root@gchenlinux linux-next]# ./scripts/get_maintainer.pl /tmp/0001-drivers-misc-bmp085-remove-__init-from-mp085_get_of_.patch Arnd

[PATCH] drivers: misc: bmp085: remove '__init' from mp085_get_of_properties()

2013-09-02 Thread Chen Gang
bmp085_get_of_properties() is called by bmp085_init_client() which is called by bmp085_probe() which is an EXPORT_SYMBOL_GPL function. bmp085_probe() is really used as a probe function by another modules (e.g. bmp085-i2c.c, bmp085-spi.c). Except bmp085_get_of_properties(), all functions have no

Re: [PATCH 24/25] perf tools: Add multi file '-M' option for record command

2013-09-02 Thread Adrian Hunter
On 01/09/13 13:36, Jiri Olsa wrote: > split event data into multiple files based on the file > size or time delta specified as an argument to the option. > > Adding multi file '-M' option for record command to store > output perf.data into multiple files based on the size > threshold. > > The

Re: 3.11-rc7:BUG: soft lockup

2013-09-02 Thread Ding Tianhong
On 2013/9/2 14:06, Baoquan He wrote: > Hi both, > > Thanks for your patches. I tried to test your patches, first the 2nd > one, namely Hillf's patch, it's OK. Then when I wanted to reproduce and > test Cong's patch, it failed to happen again. > > I remember this bug happened randomly at the

[tip:sched/core] sched: Factor out code to should_we_balance()

2013-09-02 Thread tip-bot for Joonsoo Kim
Commit-ID: 23f0d2093c789e612185180c468fa09063834e87 Gitweb: http://git.kernel.org/tip/23f0d2093c789e612185180c468fa09063834e87 Author: Joonsoo Kim AuthorDate: Tue, 6 Aug 2013 17:36:42 +0900 Committer: Ingo Molnar CommitDate: Mon, 2 Sep 2013 08:27:34 +0200 sched: Factor out code to

[tip:sched/core] sched/fair: Shrink sg_lb_stats and play memset games

2013-09-02 Thread tip-bot for Peter Zijlstra
Commit-ID: 147c5fc2bad780d8093b547f2baa204e78107faf Gitweb: http://git.kernel.org/tip/147c5fc2bad780d8093b547f2baa204e78107faf Author: Peter Zijlstra AuthorDate: Mon, 19 Aug 2013 15:22:57 +0200 Committer: Ingo Molnar CommitDate: Mon, 2 Sep 2013 08:27:35 +0200 sched/fair: Shrink

[tip:sched/core] sched: Remove one division operation in find_busiest_queue()

2013-09-02 Thread tip-bot for Joonsoo Kim
Commit-ID: 95a79b805b935f4a7b685aa8a117d916c638323e Gitweb: http://git.kernel.org/tip/95a79b805b935f4a7b685aa8a117d916c638323e Author: Joonsoo Kim AuthorDate: Tue, 6 Aug 2013 17:36:41 +0900 Committer: Ingo Molnar CommitDate: Mon, 2 Sep 2013 08:26:59 +0200 sched: Remove one division

[tip:perf/core] perf: Convert kmalloc_node(...GFP_ZERO...) to kzalloc_node()

2013-09-02 Thread tip-bot for Joe Perches
Commit-ID: 7bfb7e6bdd906f11ee9e751b3fec4f4fc728e818 Gitweb: http://git.kernel.org/tip/7bfb7e6bdd906f11ee9e751b3fec4f4fc728e818 Author: Joe Perches AuthorDate: Thu, 29 Aug 2013 13:59:17 -0700 Committer: Ingo Molnar CommitDate: Mon, 2 Sep 2013 08:42:49 +0200 perf: Convert

[tip:perf/core] perf/x86: use INTEL_UEVENT_EXTRA_REG to define MSR_OFFCORE_RSP_X

2013-09-02 Thread tip-bot for Yan, Zheng
Commit-ID: 53ad0447208d3f5897f673ca0b16c776583eedba Gitweb: http://git.kernel.org/tip/53ad0447208d3f5897f673ca0b16c776583eedba Author: Yan, Zheng AuthorDate: Thu, 18 Jul 2013 17:02:23 +0800 Committer: Ingo Molnar CommitDate: Mon, 2 Sep 2013 08:42:47 +0200 perf/x86: use

[tip:perf/core] perf: Export struct perf_branch_entry to userspace

2013-09-02 Thread tip-bot for Vince Weaver
Commit-ID: 274481de6cb69abdb49403ff32abb63c23743413 Gitweb: http://git.kernel.org/tip/274481de6cb69abdb49403ff32abb63c23743413 Author: Vince Weaver AuthorDate: Fri, 23 Aug 2013 15:51:03 -0400 Committer: Ingo Molnar CommitDate: Mon, 2 Sep 2013 08:42:48 +0200 perf: Export struct

[tip:perf/core] perf: Add attr->mmap2 attribute to an event

2013-09-02 Thread tip-bot for Stephane Eranian
Commit-ID: 13d7a2410fa637f450a29ecb515ac318ee40c741 Gitweb: http://git.kernel.org/tip/13d7a2410fa637f450a29ecb515ac318ee40c741 Author: Stephane Eranian AuthorDate: Wed, 21 Aug 2013 12:10:24 +0200 Committer: Ingo Molnar CommitDate: Mon, 2 Sep 2013 08:42:48 +0200 perf: Add attr->mmap2

[tip:perf/core] perf/x86: Add Silvermont (22nm Atom) support

2013-09-02 Thread tip-bot for Yan, Zheng
Commit-ID: 1fa64180fbf7a33b7a30636a2f174a5cad68d48f Gitweb: http://git.kernel.org/tip/1fa64180fbf7a33b7a30636a2f174a5cad68d48f Author: Yan, Zheng AuthorDate: Thu, 18 Jul 2013 17:02:24 +0800 Committer: Ingo Molnar CommitDate: Mon, 2 Sep 2013 08:42:47 +0200 perf/x86: Add Silvermont

[tip:sched/core] sched/fair: Rework and comment the group_imb code

2013-09-02 Thread tip-bot for Peter Zijlstra
Commit-ID: 30ce5dabc92b5a349a7d9e9cf499494d230e0691 Gitweb: http://git.kernel.org/tip/30ce5dabc92b5a349a7d9e9cf499494d230e0691 Author: Peter Zijlstra AuthorDate: Thu, 15 Aug 2013 20:29:29 +0200 Committer: Ingo Molnar CommitDate: Mon, 2 Sep 2013 08:27:38 +0200 sched/fair: Rework and

[tip:sched/core] sched: Clean-up struct sd_lb_stat

2013-09-02 Thread tip-bot for Joonsoo Kim
Commit-ID: 56cf515b4b1567c4e8fa9926175b40c66b9ec472 Gitweb: http://git.kernel.org/tip/56cf515b4b1567c4e8fa9926175b40c66b9ec472 Author: Joonsoo Kim AuthorDate: Tue, 6 Aug 2013 17:36:43 +0900 Committer: Ingo Molnar CommitDate: Mon, 2 Sep 2013 08:27:35 +0200 sched: Clean-up struct

[tip:sched/core] sched/fair: Fix the sd_parent_degenerate() code

2013-09-02 Thread tip-bot for Peter Zijlstra
Commit-ID: 10866e62e8a6907d9072f10f9a0561db0c0cf50b Gitweb: http://git.kernel.org/tip/10866e62e8a6907d9072f10f9a0561db0c0cf50b Author: Peter Zijlstra AuthorDate: Mon, 19 Aug 2013 16:57:04 +0200 Committer: Ingo Molnar CommitDate: Mon, 2 Sep 2013 08:27:40 +0200 sched/fair: Fix the

[tip:perf/urgent] perf: Prevent race in unthrottling code

2013-09-02 Thread tip-bot for Jiri Olsa
Commit-ID: ae23bff1d71f8b416ed740bc458df67355c77c92 Gitweb: http://git.kernel.org/tip/ae23bff1d71f8b416ed740bc458df67355c77c92 Author: Jiri Olsa AuthorDate: Sat, 24 Aug 2013 16:45:54 +0200 Committer: Ingo Molnar CommitDate: Mon, 2 Sep 2013 08:13:24 +0200 perf: Prevent race in

[tip:sched/core] sched/fair: Optimize find_busiest_queue()

2013-09-02 Thread tip-bot for Peter Zijlstra
Commit-ID: 6906a40839198f33dbb56d20e644c01e00663952 Gitweb: http://git.kernel.org/tip/6906a40839198f33dbb56d20e644c01e00663952 Author: Peter Zijlstra AuthorDate: Mon, 19 Aug 2013 15:20:21 +0200 Committer: Ingo Molnar CommitDate: Mon, 2 Sep 2013 08:27:37 +0200 sched/fair: Optimize

[tip:sched/core] sched/fair: Make group power more consistent

2013-09-02 Thread tip-bot for Peter Zijlstra
Commit-ID: 3ae11c90fd055ba1b1b03a014f851b395bdd26ff Gitweb: http://git.kernel.org/tip/3ae11c90fd055ba1b1b03a014f851b395bdd26ff Author: Peter Zijlstra AuthorDate: Thu, 15 Aug 2013 20:37:48 +0200 Committer: Ingo Molnar CommitDate: Mon, 2 Sep 2013 08:27:37 +0200 sched/fair: Make group

[tip:sched/core] sched/fair: Remove duplicate load_per_task computations

2013-09-02 Thread tip-bot for Peter Zijlstra
Commit-ID: 38d0f7708543bcfa03d5ee55e8346f801b4a59c9 Gitweb: http://git.kernel.org/tip/38d0f7708543bcfa03d5ee55e8346f801b4a59c9 Author: Peter Zijlstra AuthorDate: Thu, 15 Aug 2013 19:47:56 +0200 Committer: Ingo Molnar CommitDate: Mon, 2 Sep 2013 08:27:36 +0200 sched/fair: Remove

Re: [PATCH V3 RFC 00/16] EFI stub for ARM

2013-09-02 Thread Matt Fleming
On Fri, 23 Aug, at 03:40:04PM, Roy Franz wrote: > Hi Matt, > >Do you have a tree I can monitor to see if you have taken this? > Would you like me to split out the x86/common only changes into a > separate series from the ARM changes? I've just returned from my honeymoon. I'll reply to your

RE: [PATCH v4 3/3] dma: Add Freescale eDMA engine driver support

2013-09-02 Thread Lu Jingchang-B35083
> -Original Message- > From: Vinod Koul [mailto:vinod.k...@intel.com] > Sent: Monday, September 02, 2013 2:37 PM > To: Lu Jingchang-B35083 > Cc: shawn@linaro.org; linux-kernel@vger.kernel.org; linux-arm- > ker...@lists.infradead.org; devicet...@vger.kernel.org > Subject: Re: [PATCH v4

Re: [PATCH v4 1/5] ARM: add basic Trusted Foundations support

2013-09-02 Thread Alexandre Courbot
Hi Tomasz! On Fri, Aug 30, 2013 at 5:20 PM, Tomasz Figa wrote: >> +Required properties: >> +- compatible : "tl,trusted-foundations" >> +- version-major : major version number of Trusted Foundations firmware >> +- version-minor: minor version number of Trusted Foundations firmware > > Hmm, maybe

Re: [PATCH v4 3/3] dma: Add Freescale eDMA engine driver support

2013-09-02 Thread Vinod Koul
On Mon, Sep 02, 2013 at 07:10:53AM +, Lu Jingchang-B35083 wrote: > > -Original Message- > > From: Vinod Koul [mailto:vinod.k...@intel.com] > > Sent: Monday, September 02, 2013 12:51 PM > > To: Lu Jingchang-B35083 > > Cc: shawn@linaro.org; linux-kernel@vger.kernel.org; linux-arm- >

Re: [PATCH 1/2] dma: sh: use devm_ioremap_resource() instead of devm_request_and_ioremap()

2013-09-02 Thread Vinod Koul
On Mon, Sep 02, 2013 at 10:23:15AM +0900, Jingoo Han wrote: > Use devm_ioremap_resource() because devm_request_and_ioremap() is > obsoleted by devm_ioremap_resource(). Applied both, Thanks ~Vinod -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message

Re: [PATCH v3 0/3] cleanup of gpio_pcf857x.c

2013-09-02 Thread George Cherian
On 9/2/2013 12:25 PM, Kuninori Morimoto wrote: Hi Sorry for my many response. No Issues. and thanks for the review. This patch series - removes the irq_demux_work - Uses devm_request_threaded_irq - Call the user handler iff gpio_to_irq is done. v1 --> v2

Re: [PATCH] pch_dma: Add MODULE_DEVICE_TABLE

2013-09-02 Thread Vinod Koul
On Mon, Sep 02, 2013 at 12:02:06AM +0100, Ben Hutchings wrote: > pch_dma currently isn't auto-loaded if built as a module. Applied, thanks ~Vinod signature.asc Description: Digital signature

Re: [PATCH] dma: imx-sdma: Staticize sdma_driver_data structures

2013-09-02 Thread Vinod Koul
On Sun, Sep 01, 2013 at 09:57:12PM -0300, Fabio Estevam wrote: > From: Fabio Estevam > > Sparse report the following warnings: > > drivers/dma/imx-sdma.c:330:25: warning: symbol 'sdma_imx31' was not declared. > Should it be static? > drivers/dma/imx-sdma.c:351:25: warning: symbol 'sdma_imx25'

Re: [RFC,v3] Add a driver for the Somagic smi2021 chip

2013-09-02 Thread Jon Arne Jørgensen
On Mon, Sep 02, 2013 at 03:50:14AM +0800, Wang Shilong wrote: Hi, > Hello, Using checkpatch.pl, i get the following warnings(errors): > WARNING: Avoid CamelCase: descriptor.idProduct> > #1766: FILE: drivers/media/usb/smi2021/smi2021_main.c:790: > + if (udev->descriptor.idProduct ==

Re: [PATCH 2/2] x86, apic: Disable BSP if boot cpu is AP

2013-09-02 Thread Borislav Petkov
On Mon, Sep 02, 2013 at 11:32:59AM +0900, HATAYAMA Daisuke wrote: > As you suggest, boot_cpu seems more understandable also to me. BTW, > please notice that it doesn't denote that the CPU we're booting on > currently, but that the CPU with BSP flag set. Hmm, by "BSP flag set" you mean it is the

RE: [PATCH v4 3/3] dma: Add Freescale eDMA engine driver support

2013-09-02 Thread Lu Jingchang-B35083
> -Original Message- > From: Vinod Koul [mailto:vinod.k...@intel.com] > Sent: Monday, September 02, 2013 12:51 PM > To: Lu Jingchang-B35083 > Cc: shawn@linaro.org; linux-kernel@vger.kernel.org; linux-arm- > ker...@lists.infradead.org; devicet...@vger.kernel.org > Subject: Re: [PATCH v4

Re: [PATCH v7 1/4] spinlock: A new lockref structure for lockless update of refcount

2013-09-02 Thread Ingo Molnar
* Linus Torvalds wrote: > On Sun, Sep 1, 2013 at 5:12 PM, Linus Torvalds > wrote: > > > > It *is* one of the few locked accesses remaining, and it's clearly > > getting called a lot (three calls per system call: two mntput's - one > > for the root path, one for the result path, and one from

Re: [PATCH 00/18] ARM: s3c64xx: Let amba-pl08x driver handle DMA

2013-09-02 Thread Vinod Koul
On Sun, Aug 11, 2013 at 07:59:12PM +0200, Tomasz Figa wrote: > This is first non-RFC version of my patches extending support of > amba-pl08x DMA engine driver to PL080S DMA engine (PL080 modified by > Samsung) found in Samsung S3C64xx SoCs. > > Due to changes scattered across different areas of

Re: [PATCH 09/12] KVM: MMU: introduce pte-list lockless walker

2013-09-02 Thread Xiao Guangrong
On 08/30/2013 07:38 PM, Gleb Natapov wrote: > On Thu, Aug 29, 2013 at 07:26:40PM +0800, Xiao Guangrong wrote: >> On 08/29/2013 05:51 PM, Gleb Natapov wrote: >>> On Thu, Aug 29, 2013 at 05:31:42PM +0800, Xiao Guangrong wrote: > As Documentation/RCU/whatisRCU.txt says: > > As

Re: 3.11-rc7:BUG: soft lockup

2013-09-02 Thread Ding Tianhong
On 2013/9/2 14:06, Baoquan He wrote: > Hi both, > > Thanks for your patches. I tried to test your patches, first the 2nd > one, namely Hillf's patch, it's OK. Then when I wanted to reproduce and > test Cong's patch, it failed to happen again. > > I remember this bug happened randomly at the

Re: perf, x86: Add parts of the remaining haswell PMU functionality

2013-09-02 Thread Ingo Molnar
One thing I'm not seeing in the current Haswell code is the config set up for PERF_COUNT_HW_STALLED_CYCLES_FRONTEND/BACKEND. Both SB and IB has them configured. Thanks, Ingo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH v4 2/3] sched: Consider max cost of idle balance per sched domain

2013-09-02 Thread Srikar Dronamraju
* Jason Low [2013-08-29 13:05:35]: > + u64 curr_cost = 0; > > this_rq->idle_stamp = rq_clock(this_rq); > > - if (this_rq->avg_idle < sysctl_sched_migration_cost) > + if (this_rq->avg_idle < this_rq->max_idle_balance_cost) > return; > Since

Re: [PATCH v3 0/3] cleanup of gpio_pcf857x.c

2013-09-02 Thread Kuninori Morimoto
Hi Sorry for my many response. > This patch series > - removes the irq_demux_work > - Uses devm_request_threaded_irq > - Call the user handler iff gpio_to_irq is done. > > v1 --> v2 > Split v1 to 3 patches > v2 --> v3 > Remove the unnecessary dts patches.

Re: [PATCH] rtl8187: fix use after free on failure path in rtl8187_init_urbs()

2013-09-02 Thread Hin-Tak Leung
-- On Mon, Sep 2, 2013 05:06 BST Alexey Khoroshilov wrote: >On 01.09.2013 10:51, Hin-Tak Leung wrote: >> -- >> On Sat, Aug 31, 2013 22:18 BST Alexey Khoroshilov wrote: >> >> In case of __dev_alloc_skb() failure rtl8187_init_urbs() >> calls

Re: [PATCH v4 1/3] sched: Reduce overestimating rq->avg_idle

2013-09-02 Thread Srikar Dronamraju
* Jason Low [2013-08-29 13:05:34]: > When updating avg_idle, if the delta exceeds some max value, then avg_idle > gets set to the max, regardless of what the previous avg was. This can cause > avg_idle to often be overestimated. > > This patch modifies the way we update avg_idle by always

Re: [PATCH] rbtree: Add some necessary condition checks

2013-09-02 Thread Zhi Yong Wu
In Tue, Aug 27, 2013 at 6:01 AM, Michel Lespinasse wrote: > On Fri, Aug 23, 2013 at 7:45 AM, wrote: >> From: Zhi Yong Wu >> >> Signed-off-by: Zhi Yong Wu >> --- >> include/linux/rbtree_augmented.h | 3 ++- >> lib/rbtree.c | 5 +++-- >> 2 files changed, 5 insertions(+), 3

Re: [PATCH V2 6/6] vhost_net: correctly limit the max pending buffers

2013-09-02 Thread Jason Wang
On 09/02/2013 01:56 PM, Michael S. Tsirkin wrote: > On Fri, Aug 30, 2013 at 12:29:22PM +0800, Jason Wang wrote: >> As Michael point out, We used to limit the max pending DMAs to get better >> cache >> utilization. But it was not done correctly since it was one done when >> there's no >> new

<    1   2   3   4   5   6   7   8   9   10   >