Applied regmap: Add raw_write/read checks for max_raw_write/read sizes to the regmap tree

2015-08-30 Thread Mark Brown
The patch regmap: Add raw_write/read checks for max_raw_write/read sizes has been applied to the regmap tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

Re: [PATCH 3/9] amdkfd: use linux/mman.h instead of uapi/asm-generic/mman-common.h

2015-08-30 Thread Oded Gabbay
On Fri, Aug 28, 2015 at 10:27 AM, Christoph Hellwig h...@lst.de wrote: The latter is a default version of asm/mman.h and not for driver use. Signed-off-by: Christoph Hellwig h...@lst.de --- drivers/gpu/drm/amd/amdkfd/kfd_chardev.c | 2 +- drivers/gpu/drm/amd/amdkfd/kfd_flat_memory.c |

[PATCH-v2 2/2] mpt3sas: Refcount fw_events and fix unsafe list usage

2015-08-30 Thread Nicholas A. Bellinger
From: Nicholas Bellinger n...@linux-iscsi.org The fw_event_work struct is concurrently referenced at shutdown, so add a refcount to protect it, and refactor the code to use it. Additionally, refactor _scsih_fw_event_cleanup_queue() such that it no longer iterates over the list without holding

[PATCH net-next v2 2/8] net: thunderx: Add receive error stats reporting via ethtool

2015-08-30 Thread Aleksey Makarov
From: Sunil Goutham sgout...@cavium.com Added ethtool support to dump receive packet error statistics reported in CQE. Also made some small fixes Signed-off-by: Sunil Goutham sgout...@cavium.com Signed-off-by: Aleksey Makarov aleksey.maka...@caviumnetworks.com ---

[PATCH net-next v2 1/8] net: thunderx: fix MAINTAINERS

2015-08-30 Thread Aleksey Makarov
From: Aleksey Makarov aleksey.maka...@caviumnetworks.com The liquidio and thunder drivers have different maintainers. Signed-off-by: Aleksey Makarov aleksey.maka...@caviumnetworks.com --- MAINTAINERS | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS

[PATCH net-next v2 0/8] net: thunderx: New features and fixes

2015-08-30 Thread Aleksey Makarov
v2: - The unused affinity_mask field of the structure cmp_queue has been deleted. (thanks to David Miller) - The unneeded initializers have been dropped. (thanks to Alexey Klimov) - The commit message net: thunderx: Rework interrupt handling has been fixed. (thanks to Alexey Klimov)

[PATCH v4 1/4] regmap: Introduce max_raw_read/write for regmap_bulk_read/write

2015-08-30 Thread Markus Pargmann
There are some buses which have a limit on the maximum number of bytes that can be send/received. An example for this is I2C_FUNC_SMBUS_I2C_BLOCK which does not support any reads/writes of more than 32 bytes. The regmap_bulk operations should still be able to utilize the full 32 bytes in this

[PATCH v4 3/4] regmap: Add raw_write/read checks for max_raw_write/read sizes

2015-08-30 Thread Markus Pargmann
Check in regmap_raw_read() and regmap_raw_write() for correct maximum sizes of the operations. Return -E2BIG if this size is not supported because it is too big. Also this patch causes an uninitialized variable warning so it initializes ret (although not necessary). Signed-off-by: Markus

[PATCH v4 0/4] regmap: i2c block support

2015-08-30 Thread Markus Pargmann
Hi, Rebased the series against your for-next branch. I hope this is the right one. Best Regards, Markus Markus Pargmann (4): regmap: Introduce max_raw_read/write for regmap_bulk_read/write regmap: regmap max_raw_read/write getter functions regmap: Add raw_write/read checks for

[PATCH v4 4/4] regmap-i2c: Add smbus i2c block support

2015-08-30 Thread Markus Pargmann
This allows to read/write up to 32 bytes of data and is to be prefered if supported before the register read/write smbus support. Signed-off-by: Markus Pargmann m...@pengutronix.de --- drivers/base/regmap/regmap-i2c.c | 49 1 file changed, 49

[PATCH v4 2/4] regmap: regmap max_raw_read/write getter functions

2015-08-30 Thread Markus Pargmann
Add functions to access the maximum size we can read/write using regmap_raw_read/write(). This helps drivers that need to know how much they can write with the raw functions without problems. There are some devices (e.g. bmc150) that have fifos as registers which need to be read in specific

Re: Problems loading firmware using built-in drivers with kernels that use initramfs.

2015-08-30 Thread Arend van Spriel
On 08/29/2015 12:38 PM, Ming Lei wrote: On Sat, 29 Aug 2015 10:50:22 +0200 Arend van Spriel ar...@broadcom.com wrote: On 08/29/2015 09:11 AM, Takashi Iwai wrote: On Sat, 29 Aug 2015 06:09:01 +0200, Ming Lei wrote: On Sat, Aug 29, 2015 at 9:11 AM, Luis R. Rodriguez mcg...@suse.com wrote: On

Re: [PATCH 03/98] drm.h: use __kernel_size_t instead of size_t

2015-08-30 Thread Mikko Rapeli
On Wed, Jun 03, 2015 at 06:19:48PM +0100, Emil Velikov wrote: On 30 May 2015 at 16:37, Mikko Rapeli mikko.rap...@iki.fi wrote: Fixes userspace compilation error: drm/drm.h:132:2: error: unknown type name ‘size_t’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi ---

Re: [PATCH v3 3/4] media: pxa_camera: trivial move of dma irq functions

2015-08-30 Thread Guennadi Liakhovetski
On Wed, 29 Jul 2015, Robert Jarzmik wrote: From: Robert Jarzmik robert.jarz...@intel.com This moves the dma irq handling functions up in the source file, so that they are available before DMA preparation functions. It prepares the conversion to DMA engine, where the descriptors are

[PATCH RFC V4 1/2] net: Introduce helper functions to get the per cpu data

2015-08-30 Thread Raghavendra K T
Signed-off-by: Raghavendra K T raghavendra...@linux.vnet.ibm.com --- include/net/ip.h | 10 ++ net/ipv4/af_inet.c | 41 +++-- 2 files changed, 37 insertions(+), 14 deletions(-) diff --git a/include/net/ip.h b/include/net/ip.h index d5fe9f2..93bf12e

Re: [PATCH 0/2] mpt3sas: Reference counting fixes from in-flight mpt2sas

2015-08-30 Thread Nicholas A. Bellinger
On Fri, 2015-08-28 at 13:25 -0700, James Bottomley wrote: On Thu, 2015-08-27 at 12:15 -0700, Nicholas A. Bellinger wrote: On Thu, 2015-08-27 at 07:40 -0700, James Bottomley wrote: On Thu, 2015-08-27 at 10:37 +0530, Sreekanth Reddy wrote: HI Nicholas Calvin, Thanks for the

[PATCH] staging: iio: adc: lpc32xx: use correct reutrn value

2015-08-30 Thread Peng Fan
To lpc32xx_adc driver, when platform_get_resource or platform_get_irq failed, we should use -ENXIO as a return value, but not -EBUSY. Signed-off-by: Peng Fan van.free...@gmail.com Cc: Jonathan Cameron ji...@kernel.org Cc: Hartmut Knaack knaac...@gmx.de Cc: Lars-Peter Clausen l...@metafoo.de Cc:

[PATCH net-next v2 7/8] net: thunderx: Support for upto 96 queues for a VF

2015-08-30 Thread Aleksey Makarov
From: Sunil Goutham sgout...@cavium.com This patch adds support for handling multiple qsets assigned to a single VF. There by increasing no of queues from earlier 8 to max no of CPUs in the system i.e 48 queues on a single node and 96 on dual node system. User doesn't have option to assign which

[PATCH net-next v2 8/8] net: thunderx: Support for internal loopback mode

2015-08-30 Thread Aleksey Makarov
From: Sunil Goutham sgout...@cavium.com Support for setting VF's corresponding BGX LMAC in internal loopback mode. This mode can be used for verifying basic HW functionality such as packet I/O, RX checksum validation, CQ/RBDR interrupts, stats e.t.c. Useful when DUT has no external network

Re: scsi: convert host_busy to atomic_t series causes regressions for some hardware configurations

2015-08-30 Thread Sergio Callegari
Hi Christoph, just checked. Unfortunately, the patch below, applied on top of Linus' v3.17 (which I am using as a test kernel) *does not fix the issue*. Best regards, Sergio On 25/08/2015 13:00, Christoph Hellwig wrote: Hi Sergio, can you give the patch below a try? libata currently

[PATCH v4 2/4] media: pxa_camera: move interrupt to tasklet

2015-08-30 Thread Robert Jarzmik
From: Robert Jarzmik robert.jarz...@intel.com In preparation for dmaengine conversion, move the camera interrupt handling into a tasklet. This won't change the global flow, as this interrupt is only used to detect the end of frame and activate DMA fifos handling. Signed-off-by: Robert Jarzmik

Re: [PATCH v3 3/4] media: pxa_camera: trivial move of dma irq functions

2015-08-30 Thread Robert Jarzmik
Guennadi Liakhovetski g.liakhovet...@gmx.de writes: This still seems to break compilation to me. Could you compile-test after each your patch, please? Ah yes. Ill timing, I had sent the v4 before having these comments, so I'll have to fix it in v5. Cheers. -- Robert -- To unsubscribe from

Re: [PATCH 0/7] x86 vdso32 cleanups

2015-08-30 Thread Brian Gerst
On Sat, Aug 29, 2015 at 12:10 PM, Andy Lutomirski l...@amacapital.net wrote: On Sat, Aug 29, 2015 at 8:20 AM, Brian Gerst brge...@gmail.com wrote: This patch set contains several cleanups to the 32-bit VDSO. The main change is to only build one VDSO image, and select the syscall entry point

linux-next: bad base of the h8300 tree

2015-08-30 Thread Stephen Rothwell
Hi Yoshinori, The h8300 tree today has been based on linux-next. This cannto work. Please rebase this onto Linus' tree (or some other stable base). I cannot use your tree in this state, so it will be dropped from linux-next until it is fixed. Also, Linus cannot pull it in this state. --

[PATCH] serial: sc16is7xx: Remove unnecessary MODULE_ALIAS()

2015-08-30 Thread Javier Martinez Canillas
The driver has a I2C device id table that is used to create the modaliases and also sc16is7xx is not a supported I2C id, so it's never used. Signed-off-by: Javier Martinez Canillas jav...@osg.samsung.com --- drivers/tty/serial/sc16is7xx.c | 1 - 1 file changed, 1 deletion(-) diff --git

Re: [PATCH 2/2] spi: spi-ep93xx: change PTR_ERR argument

2015-08-30 Thread walter harms
Am 30.08.2015 20:05, schrieb Julia Lawall: Apply PTR_ERR to the value that was recently assigned. The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // smpl @@ expression x,y; @@ if (IS_ERR(x) || ...) { ... when any when != IS_ERR(...)

[PATCH] btrfs: cleanup btrfs_balance profile validity checks

2015-08-30 Thread Alexandru Moise
Improve readability by generalizing the profile validity checks, I had to read through those if statements half a dozen times on my first try just to get an idea of what's happening there. Signed-off-by: Alexandru Moise 00moses.alexande...@gmail.com --- fs/btrfs/volumes.c | 21

Re: [PATCH 1/2] ASoC: qcom: change PTR_ERR argument

2015-08-30 Thread Julia Lawall
On Sun, 30 Aug 2015, walter harms wrote: Am 30.08.2015 20:05, schrieb Julia Lawall: Apply PTR_ERR to the value that was recently assigned. The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // smpl @@ expression x,y; @@ if

Re: [2/2] cxl: Fix force unmapping mmaps of contexts allocated through the kernel api

2015-08-30 Thread Michael Ellerman
On Thu, 2015-27-08 at 09:50:19 UTC, Ian Munsie wrote: From: Ian Munsie imun...@au1.ibm.com The cxl user api uses the address_space associated with the file when we need to force unmap all cxl mmap regions (e.g. on eeh, driver detach, etc). Currently, contexts allocated through the kernel api

[PATCH 1/2] backlight: adp8860: Remove unnecessary MODULE_ALIAS()

2015-08-30 Thread Javier Martinez Canillas
The driver has a I2C device id table that is used to create the modaliases and also adp8860-backlight is not a supported I2C id, so it's never used. Signed-off-by: Javier Martinez Canillas jav...@osg.samsung.com --- drivers/video/backlight/adp8860_bl.c | 1 - 1 file changed, 1 deletion(-)

[PATCH 2/2] backlight: adp8870: Remove unnecessary MODULE_ALIAS()

2015-08-30 Thread Javier Martinez Canillas
The driver has a I2C device id table that is used to create the modaliases and also adp8870-backlight is not a supported I2C id, so it's never used. Signed-off-by: Javier Martinez Canillas jav...@osg.samsung.com --- drivers/video/backlight/adp8870_bl.c | 1 - 1 file changed, 1 deletion(-)

Re: [PATCH] lib: Make _find_next_bit helper function inline

2015-08-30 Thread Rasmus Villemoes
I've lost track of what's up and down in this, but now that I look at this again let me throw in my two observations of stupid gcc behaviour: For the current code, both debian's gcc (4.7) and 5.1 partially inlines _find_next_bit, namely the if (!nbits || start = nbits) test. I know it does it to

[PATCH 1/2] ASoC: qcom: change PTR_ERR argument

2015-08-30 Thread Julia Lawall
Apply PTR_ERR to the value that was recently assigned. The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // smpl @@ expression x,y; @@ if (IS_ERR(x) || ...) { ... when any when != IS_ERR(...) ( PTR_ERR(x) | * PTR_ERR(y) ) ... when any } //

Linux 4.2 is out

2015-08-30 Thread Linus Torvalds
So judging by how little happened this week, it wouldn't have been a mistake to release 4.2 last week after all, but hey, there's certainly a few fixes here, and it's not like delaying 4.2 for a week should have caused any problems either. So here it is, and the merge window for 4.3 is now open.

Re: [RFC] asm-generic/pci_iomap.h: make custom PCI BAR requirements explicit

2015-08-30 Thread Arnd Bergmann
On Friday 28 August 2015 17:17:27 Luis R. Rodriguez wrote: From: Luis R. Rodriguez mcg...@suse.com The S390 architecture requires a custom pci_iomap() implementation as the asm-generic implementation assumes there are disjunctions between PCI BARs, and on S390 PCI BAR are not disjunctive,

Build regressions/improvements in v4.2

2015-08-30 Thread Geert Uytterhoeven
Below is the list of build error/warning regressions/improvements in v4.2[1] compared to v4.1[2]. Summarized: - build errors: +8/-53 - build warnings: +127/-265 JFYI, when comparing v4.2[1] to v4.2-rc8[3], the summaries are: - build errors: +0/-3 - build warnings: +27/-30 Note that

Re: Build regressions/improvements in v4.2

2015-08-30 Thread Geert Uytterhoeven
On Sun, Aug 30, 2015 at 11:05 PM, Geert Uytterhoeven ge...@linux-m68k.org wrote: JFYI, when comparing v4.2[1] to v4.2-rc8[3], the summaries are: - build errors: +0/-3 Nice! [1] http://kisskb.ellerman.id.au/kisskb/head/9309/ (all 254 configs) [3]

[PATCH] iio: light: fix platform_no_drv_owner.cocci warnings

2015-08-30 Thread kbuild test robot
drivers/iio/light/opt3001.c:796:3-8: No need to set .owner here. The core will do it. Remove .owner field if calls are used which set it automatically Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci CC: Andreas Dannenberg dannenb...@ti.com Signed-off-by: Fengguang Wu

[PATCH RFC 0/3] kvm add ioeventfd pf capability

2015-08-30 Thread Michael S. Tsirkin
One of the reasons MMIO is slower than port IO is because it requires a page table lookup. For normal memory accesses, this is solved by using the TLB cache - but MMIO entries are either not present or reserved and so are never cached. To fix, allow installing an ioeventfd on top of a read only

[PATCH] Input: xpad - fix Razer Atrox Arcade Stick mapping definition

2015-08-30 Thread Dario Scarpa
The Razer Atrox Arcade Stick features 10 buttons, and two of them (LT/RT) don't work properly. Change its definition in xpad_device[] (mapping field) to fix. Signed-off-by: Dario Scarpa dario.sca...@duskzone.it --- drivers/input/joystick/xpad.c |2 +- 1 file changed, 1 insertion(+), 1

Re: [PATCH] mei, make modules.alias UUID information easier to read

2015-08-30 Thread Prarit Bhargava
On 08/29/2015 05:21 PM, Winkler, Tomas wrote: Hi Prarit, On Fri, Aug 28, 2015 at 07:50:52AM -0400, Prarit Bhargava wrote: Heikki, Tomas? I'm afraid I don't know much about Intel's Management Engine Interface. Looks like the driver is from Samuel (CC'd) so I'm guessing he is the person

Re: __blkg_lookup oops with 4.2-rcX

2015-08-30 Thread Richard W.M. Jones
On Sun, Aug 30, 2015 at 08:30:41AM -0400, Josh Boyer wrote: Hi Tejun, Mike and Jeff suggested you be informed of the oops one of our community members is hitting in Fedora with 4.2-rcX. I thought they had already sent this upstream to you, but apparently they didn't. The latest oops is

[PATCH 2/2] spi: spi-ep93xx: change PTR_ERR argument

2015-08-30 Thread Julia Lawall
Apply PTR_ERR to the value that was recently assigned. The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // smpl @@ expression x,y; @@ if (IS_ERR(x) || ...) { ... when any when != IS_ERR(...) ( PTR_ERR(x) | * PTR_ERR(y) ) ... when any } //

[PATCH 0/2] change PTR_ERR argument

2015-08-30 Thread Julia Lawall
Apply PTR_ERR to the value that was recently assigned. --- var/julia/linuxcopy/drivers/spi/spi-ep93xx.c |3 ++- var/julia/linuxcopy/sound/soc/qcom/lpass-cpu.c |3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) -- To unsubscribe from this list: send the line unsubscribe

[PATCH] mtd: nand: pxa3xx: add optional dma for pxa architecture

2015-08-30 Thread Robert Jarzmik
The PXA architecture provides a DMA to pump data from the nand controller to memory and the other way around. Add it to the binding description. Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- Documentation/devicetree/bindings/mtd/pxa3xx-nand.txt | 3 +++ 1 file changed, 3 insertions(+)

[git pull] m68k updates for 4.3

2015-08-30 Thread Geert Uytterhoeven
Hi Linus, The following changes since commit d770e558e21961ad6cfdf0ff7df0eb5d7d4f0754: Linux 4.2-rc1 (2015-07-05 11:01:52 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k.git for-linus for you to fetch changes up to

[PATCH] gpio: sx150x: Remove unnecessary MODULE_ALIAS()

2015-08-30 Thread Javier Martinez Canillas
The driver has a I2C device id table that is used to create the module aliases and also sx150x isn't a supported I2C id, so it's never used. Signed-off-by: Javier Martinez Canillas jav...@osg.samsung.com --- drivers/gpio/gpio-sx150x.c | 1 - 1 file changed, 1 deletion(-) diff --git

Re: Problems loading firmware using built-in drivers with kernels that use initramfs.

2015-08-30 Thread Linus Torvalds
On Sun, Aug 30, 2015 at 1:25 AM, Arend van Spriel ar...@broadcom.com wrote: On 08/29/2015 12:38 PM, Ming Lei wrote: Does this mean a built-in driver can not get firmware from initramfs or built in the kernel early. Seems a bit too aggressive. Yeah, that seems wrong. Loading firmware from

[PATCH 1/2] mm/slab: skip memcg reclaim only if in atomic context

2015-08-30 Thread Vladimir Davydov
SLAB's implementation of kmem_cache_alloc() works as follows: 1. First, it tries to allocate from the preferred NUMA node without issuing reclaim. 2. If step 1 fails, it tries all nodes in the order of preference, again without invoking reclaimer 3. Only if steps 1 and 2 fails, it falls

[PATCH 2/2] mm/slub: do not bypass memcg reclaim for high-order page allocation

2015-08-30 Thread Vladimir Davydov
Commit 6af3142bed1f52 (mm/slub: don't wait for high-order page allocation) made allocate_slab() try to allocate high order slab pages without __GFP_WAIT in order to avoid invoking reclaim/compaction when we can fall back on low order pages. However, it broke memcg/memory.high logic in case kmem

[PATCH 0/2] Fix memcg/memory.high in case kmem accounting is enabled

2015-08-30 Thread Vladimir Davydov
Hi, Tejun reported that sometimes memcg/memory.high threshold seems to be silently ignored if kmem accounting is enabled: http://www.spinics.net/lists/linux-mm/msg93613.html It turned out that both SLAB and SLUB try to allocate without __GFP_WAIT first. As a result, if there is enough free

[PATCH v4 4/4] media: pxa_camera: conversion to dmaengine

2015-08-30 Thread Robert Jarzmik
Convert pxa_camera to dmaengine. This removes all DMA registers manipulation in favor of the more generic dmaengine API. The functional level should be the same as before. The biggest change is in the videobuf_sg_splice() function, which splits a videobuf-dma into several scatterlists for 3

[PATCH v4 0/4] media: pxa_camera: conversion to dmaengine

2015-08-30 Thread Robert Jarzmik
Hi Guennadi, This is the forth round. This time sg_split() was a consequence of (a) and (b), ie. sg_split() move into kernel's lib/ directory, and following dmaengine reuse flag introduction, change pxa_camera accordingly. Happy review. Cheers. Robert Jarzmik (4): media: pxa_camera: fix the

[PATCH v2] mtd: nand: pxa3xx-nand: prevent DFI bus lockup on removal

2015-08-30 Thread Robert Jarzmik
After the conversion of pxa architecture to common clock framework, the NAND clock can be disabled on driver exit. In this case, it happens that if the driver used the NAND and set the DFI arbitration bit, the next access to a static memory controller area, such as an ethernet card, will stall

[PATCH v4 1/4] media: pxa_camera: fix the buffer free path

2015-08-30 Thread Robert Jarzmik
From: Robert Jarzmik robert.jarz...@intel.com Fix the error path where the video buffer wasn't allocated nor mapped. In this case, in the driver free path don't try to unmap memory which was not mapped in the first place. Signed-off-by: Robert Jarzmik robert.jarz...@free.fr ---

[PATCH v4 3/4] media: pxa_camera: trivial move of dma irq functions

2015-08-30 Thread Robert Jarzmik
From: Robert Jarzmik robert.jarz...@intel.com This moves the dma irq handling functions up in the source file, so that they are available before DMA preparation functions. It prepares the conversion to DMA engine, where the descriptors are populated with these functions as callbacks.

[PATCH 2/2 v2] spi: spi-ep93xx: fix PTR_ERR problem

2015-08-30 Thread Julia Lawall
Move initialization of msg-status up over the call to dev_err, in both calls to ep93xx_spi_dma_prepare, and change the reference in the call to dev_err to msg-status, to both fix the wrong argument to PTR_ERR in the second case and to make the dev_err line a little shorter. This required

[PATCH] Staging: ste_rmi4: Remove unnecessary MODULE_ALIAS()

2015-08-30 Thread Javier Martinez Canillas
The driver has a I2C device id table that is used to create the modaliases which already contains synaptics_rmi4_ts. So the alias is not needed. Signed-off-by: Javier Martinez Canillas jav...@osg.samsung.com --- drivers/staging/ste_rmi4/synaptics_i2c_rmi4.c | 1 - 1 file changed, 1 deletion(-)

Re: [PATCH 1/2] ASoC: qcom: change PTR_ERR argument

2015-08-30 Thread walter harms
Am 30.08.2015 20:05, schrieb Julia Lawall: Apply PTR_ERR to the value that was recently assigned. The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // smpl @@ expression x,y; @@ if (IS_ERR(x) || ...) { ... when any when != IS_ERR(...)

Re: [PATCH v3 4/4] media: pxa_camera: conversion to dmaengine

2015-08-30 Thread Robert Jarzmik
Guennadi Liakhovetski g.liakhovet...@gmx.de writes: +last_buf = list_entry(pcdev-capture.prev, + struct pxa_buffer, vb.queue); You can use list_last_entry() Ok. +last_status = dma_async_is_tx_complete(pcdev-dma_chans[chan], +

[PATCH] coccinelle: tests: improve odd_ptr_err.cocci

2015-08-30 Thread Julia Lawall
The original version only considered the case where the then branch contains only one call to PTR_ERR. Reimplement the whole thing to allow multiple calls, with potentially different arguments. Signed-off-by: Julia Lawall julia.law...@lip6.fr --- scripts/coccinelle/tests/odd_ptr_err.cocci |

Re: [1/2] cxl: Fix + cleanup error paths in cxl_dev_context_init

2015-08-30 Thread Michael Ellerman
On Thu, 2015-27-08 at 09:50:18 UTC, Ian Munsie wrote: From: Ian Munsie imun...@au1.ibm.com If the cxl_context_alloc() call fails, we return immediately without releasing the reference on the AFU device, allowing it to leak. This patch switches to using goto style error handling so that the

Re: [PATCH v3 4/4] media: pxa_camera: conversion to dmaengine

2015-08-30 Thread Guennadi Liakhovetski
Hi Robert, I assume, the next iteration of your patches won't contain a local copy of the SG splitting code. On Wed, 29 Jul 2015, Robert Jarzmik wrote: Convert pxa_camera to dmaengine. This removes all DMA registers manipulation in favor of the more generic dmaengine API. The functional

Re: [PATCH V2 09/10] kasan: Prevent deadlock in kasan reporting

2015-08-30 Thread Aneesh Kumar K.V
Andrey Ryabinin ryabinin@gmail.com writes: 2015-08-26 11:26 GMT+03:00 Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com: We we end up calling kasan_report in real mode, our shadow mapping for even spinlock variable will show poisoned. Generally I agree with this patch. We should disable

Applied regulator: ltc3589: Remove unnecessary MODULE_ALIAS() to the regulator tree

2015-08-30 Thread Mark Brown
The patch regulator: ltc3589: Remove unnecessary MODULE_ALIAS() has been applied to the regulator tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

Applied regulator: ad5398: Remove unnecessary MODULE_ALIAS() to the regulator tree

2015-08-30 Thread Mark Brown
The patch regulator: ad5398: Remove unnecessary MODULE_ALIAS() has been applied to the regulator tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

[PATCH v4 6/8] scsi: ufs: make the UFS variant a platform device

2015-08-30 Thread Yaniv Gardi
This change turns the UFS variant (SCSI_UFS_QCOM) into a UFS a platform device. In order to do so a few additional changes are required: 1. The ufshcd-pltfrm is no longer serves as a platform device. Now it only serves as a group of platform APIs such as PM APIs (runtime suspend/resume,

[PATCH v4 8/8] scsi: ufs-qcom: add QUniPro hardware support and power optimizations

2015-08-30 Thread Yaniv Gardi
New revisions of UFS host controller supports the new UniPro hardware controller (referred as QUniPro). This patch adds the support to enable this new UniPro controller hardware. This change also adds power optimization for bus scaling feature, as well as support for HS-G3 power mode.

[PATCH v4 7/8] scsi: ufs-qcom: add debug prints for test bus

2015-08-30 Thread Yaniv Gardi
Adds support for configuring and reading the test bus and debug registers. This change also adds another vops in order to print the debug registers. Signed-off-by: Yaniv Gardi yga...@codeaurora.org --- drivers/scsi/ufs/ufs-qcom.c | 165 +++-

[PATCH v4 1/8] phy: qcom-ufs: fix build error when the component is built as a module

2015-08-30 Thread Yaniv Gardi
Export the following functions in order to avoid build errors when the component PHY_QCOM_UFS is compiled as a module: ERROR: ufs_qcom_phy_disable_ref_clk [drivers/scsi/ufs/ufs-qcom.ko] undefined! ERROR: ufs_qcom_phy_enable_ref_clk [drivers/scsi/ufs/ufs-qcom.ko] undefined! ERROR:

Re: [PATCH net-next 6/8] net: thunderx: Rework interrupt handler

2015-08-30 Thread Sunil Kovvuri
On Sun, Aug 30, 2015 at 2:50 PM, Aleksey Makarov feumil...@gmail.com wrote: On 29.08.2015 04:44, Alexey Klimov wrote: -static irqreturn_t nicvf_intr_handler(int irq, void *nicvf_irq) +static irqreturn_t nicvf_intr_handler(int irq, void *cq_irq) +{ + struct nicvf_cq_poll *cq_poll =

Re: [scsi 5/7 RESEND] scsi_debug: schedule_resp fix input variable check

2015-08-30 Thread James Bottomley
On Sun, 2015-08-30 at 10:36 +, Winkler, Tomas wrote: I'm just not sure why the patches are not merged or even rejected. Because ideally I want a Maintainer ack. That's Doug Gilbert. James The patches were discussed and the ACked by Doug in February 7/7 wasn't. and

Re: [PATCH 8/8] staging: lustre: put constant on the right of binary operator

2015-08-30 Thread Julia Lawall
On Sat, 29 Aug 2015, Joe Perches wrote: On Sat, 2015-08-29 at 19:30 +0200, Julia Lawall wrote: Move constants to the right of binary operators. [] diff --git a/drivers/staging/lustre/lustre/ptlrpc/client.c b/drivers/staging/lustre/lustre/ptlrpc/client.c [] @@ -2954,7 +2954,7 @@ void

Re: [PATCH v3 0/14] Add Analogix Core Display Port Driver

2015-08-30 Thread Romain Perier
Hi, Could you rebase your serie onto linux-next or 4.2-rc8 ? it does not apply here... Regards, Romain 2015-08-21 15:16 GMT+02:00 Thierry Reding tred...@nvidia.com: On Fri, Aug 21, 2015 at 08:24:16PM +0900, Jingoo Han wrote: On 2015. 8. 21., at PM 7:01, Yakir Yang y...@rock-chips.com wrote:

__blkg_lookup oops with 4.2-rcX

2015-08-30 Thread Josh Boyer
Hi Tejun, Mike and Jeff suggested you be informed of the oops one of our community members is hitting in Fedora with 4.2-rcX. I thought they had already sent this upstream to you, but apparently they didn't. The latest oops is below. That is with 4.2-rc8. I believe the first report was

Re: [PATCH V2 07/10] kasan: Make INLINE KASan support arch selectable

2015-08-30 Thread Aneesh Kumar K.V
Andrey Ryabinin ryabinin@gmail.com writes: 2015-08-26 11:26 GMT+03:00 Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com: Some of the archs, may find it difficult to support inline KASan mode. Add HAVE_ARCH_KASAN_INLINE so that we can disable inline support at config time. Signed-off-by:

Re: [PATCH v3 6/8] scsi: ufs: make the UFS variant a platform device

2015-08-30 Thread Rob Herring
On Sun, Aug 30, 2015 at 3:43 AM, yga...@codeaurora.org wrote: On Sun, Aug 23, 2015 at 8:09 AM, Yaniv Gardi yga...@codeaurora.org wrote: This change turns the UFS variant (SCSI_UFS_QCOM) into a UFS a platform device. In order to do so a few additional changes are required: 1. The

Re: [PATCH] arm64: fix a migrating irq bug when hotplug cpu

2015-08-30 Thread Hanjun Guo
On 08/30/2015 02:12 AM, Marc Zyngier wrote: On 2015-08-29 16:12, Jiang Liu wrote: On 2015/8/29 21:00, Yang Yingliang wrote: From: Yang Yingliang yangyingli...@huawei.com When cpu is disabled, all irqs will be migratged to another cpu. In some cases, a new affinity is different, it needed to

[PATCH v4 0/8] Fix error message and present UFS variant

2015-08-30 Thread Yaniv Gardi
V4: add file Documentation/devicetree/bindings/ufs/ufs-qcom.txt and modify the compatible strings in Documentation/devicetree/bindings/ufs/ufshcd-pltfrm.txt V3: fixes a few minor issues. V2: fixes a few issues of unnecessary EXPORT_SYMBOL, types of parameters in routine definition, build errors

[PATCH v4 2/8] scsi: ufs-qcom: fix compilation warning if compiled as a module

2015-08-30 Thread Yaniv Gardi
This change fixes a compilation warning that happens if SCSI_UFS_QCOM is compiled as a module. Also this patch fixes an error happens when insmod the module: ufs_qcom: module license 'unspecified' taints kernel. Signed-off-by: Yaniv Gardi yga...@codeaurora.org --- drivers/scsi/ufs/ufs-qcom.c |

Re: [PATCH 09/15] x86, amd: add accessor for number of cores per compute unit

2015-08-30 Thread Borislav Petkov
On Sat, Aug 29, 2015 at 11:19:14AM +0200, Ingo Molnar wrote: So let me withdraw my ack: the much more important question that I missed first time around, why is this reporting feature living in hwmon, not in perf? We have energy reporting facilities in perf that this should be synced to.

Re: Filesystem Question

2015-08-30 Thread Theodore Ts'o
On Sat, Aug 29, 2015 at 04:46:09PM -0600, Jeffrey Merkey wrote: I guess no one can answer that for certain. Oh well.Too many PATCH emails in between on the list. Gets lost in the noise I guess. This list used to be like a wild party. Things sure have changed around the world of Linux.

[PATCH v4 4/8] add ufshcd_get_variant ufshcd_set_variant

2015-08-30 Thread Yaniv Gardi
Signed-off-by: Yaniv Gardi yga...@codeaurora.org --- drivers/scsi/ufs/ufs-qcom.c | 34 +- drivers/scsi/ufs/ufshcd.h | 21 + 2 files changed, 38 insertions(+), 17 deletions(-) diff --git a/drivers/scsi/ufs/ufs-qcom.c

[PATCH v4 5/8] scsi: ufs: creates wrapper functions for vops

2015-08-30 Thread Yaniv Gardi
In order to simplify the code a set of wrapper functions is created to test and call each of the variant operations. Signed-off-by: Yaniv Gardi yga...@codeaurora.org --- drivers/scsi/ufs/ufs-qcom.c | 1 - drivers/scsi/ufs/ufshcd.c | 104 +---

[PATCH v4 3/8] scsi: ufs-qcom: update configuration option of SCSI_UFS_QCOM component

2015-08-30 Thread Yaniv Gardi
This change is required in order to be able to build the component as a module. Signed-off-by: Yaniv Gardi yga...@codeaurora.org --- drivers/scsi/ufs/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/ufs/Kconfig b/drivers/scsi/ufs/Kconfig index

Re: [PATCH RFC V4 2/2] net: Optimize snmp stat aggregation by walking all the percpu data at once

2015-08-30 Thread Eric Dumazet
On Sun, 2015-08-30 at 11:29 +0530, Raghavendra K T wrote: Docker container creation linearly increased from around 1.6 sec to 7.5 sec (at 1000 containers) and perf data showed 50% ovehead in snmp_fold_field. reason: currently __snmp6_fill_stats64 calls snmp_fold_field that walks through per

Re: [PATCH 0/2] mpt3sas: Reference counting fixes from in-flight mpt2sas

2015-08-30 Thread James Bottomley
On Sun, 2015-08-30 at 00:22 -0700, Nicholas A. Bellinger wrote: On Fri, 2015-08-28 at 13:25 -0700, James Bottomley wrote: On Thu, 2015-08-27 at 12:15 -0700, Nicholas A. Bellinger wrote: On Thu, 2015-08-27 at 07:40 -0700, James Bottomley wrote: On Thu, 2015-08-27 at 10:37 +0530, Sreekanth

Re: [PATCH 3/7] x86/vdso32: Remove unused vdso-fakesections.c

2015-08-30 Thread Andy Lutomirski
On Sat, Aug 29, 2015 at 8:20 AM, Brian Gerst brge...@gmail.com wrote: Signed-off-by: Brian Gerst brge...@gmail.com Acked-by: Andy Lutomirski l...@kernel.org --Andy -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More

Re: [PATCH] media: soc-camera: increase the length of clk_name on soc_of_bind()

2015-08-30 Thread Guennadi Liakhovetski
Hi Josh, Sorry, I missed the 4.3 merge cycle, but isn't this patch a fix? Isn't it fixing soc-camera / atmel-isi on a specific platform, where the clock name is longer, than currently supported? Is this platform in the mainline and its current camera support is broken because of this? In such

Re: [PATCH] spi: omap2-mcspi: add runtime PM to set_cs()

2015-08-30 Thread Jarkko Nikula
Hi On 07/24/2015 07:39 PM, Mark Brown wrote: On Wed, Jul 22, 2015 at 08:46:09PM +0200, Sebastian Reichel wrote: Since commit ddcad7e9068eb omap2_mcspi_set_cs() is called without runtime power management requested. Thus the below kernel oops may be generated if a device is accessed after the

[PATCH] regulator: mt6311: fix platform_no_drv_owner.cocci warnings

2015-08-30 Thread kbuild test robot
drivers/regulator/mt6311-regulator.c:169:3-8: No need to set .owner here. The core will do it. Remove .owner field if calls are used which set it automatically Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci CC: Henry Chen henryc.c...@mediatek.com Signed-off-by: Fengguang Wu

Re: [PATCH V2 02/10] kasan: MODULE_VADDR is not available on all archs

2015-08-30 Thread Aneesh Kumar K.V
Andrey Ryabinin ryabinin@gmail.com writes: 2015-08-26 11:26 GMT+03:00 Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com: Conditionalize the check using #ifdef Signed-off-by: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com --- mm/kasan/report.c | 11 --- 1 file changed, 8

Re: [PATCH V2 05/10] kasan: Enable arch to hook into kasan callbacks.

2015-08-30 Thread Aneesh Kumar K.V
Andrey Ryabinin ryabinin@gmail.com writes: 2015-08-26 11:26 GMT+03:00 Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com: We add enable/disable callbacks in this patch which architecture can implemement. We will use this in the later patches for architecture like ppc64, that cannot have

Applied regulator: mt6311: fix platform_no_drv_owner.cocci warnings to the regulator tree

2015-08-30 Thread Mark Brown
The patch regulator: mt6311: fix platform_no_drv_owner.cocci warnings has been applied to the regulator tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next

Re: [RFC] watchdog: Add watchdog device control through sysfs attributes

2015-08-30 Thread Pratyush Anand
Hi Guenter, Thanks for review. On 29/08/2015:09:51:24 AM, Guenter Roeck wrote: On Fri, Aug 21, 2015 at 11:18:12PM +0530, Pratyush Anand wrote: This patch adds following attributes to watchdog device's sysfs interface. * start - writes non zero value to start and zero to stop I would

[PATCH] PKCS#7: Add OIDs for sha224, sha284 and sha512 hash algos and use them

2015-08-30 Thread David Howells
Add OIDs for sha224, sha284 and sha512 hash algos and use them to select the hashing algorithm. Without this, something like the following error might get written to dmesg: [ 31.829322] PKCS7: Unknown OID: [32] 2.16.840.1.101.3.4.2.3 [ 31.829328] PKCS7: Unknown OID: [180]

Re: [PATCH] spi: omap2-mcspi: add runtime PM to set_cs()

2015-08-30 Thread Michael Welling
On Sun, Aug 30, 2015 at 05:45:21PM +0300, Jarkko Nikula wrote: Hi On 07/24/2015 07:39 PM, Mark Brown wrote: On Wed, Jul 22, 2015 at 08:46:09PM +0200, Sebastian Reichel wrote: Since commit ddcad7e9068eb omap2_mcspi_set_cs() is called without runtime power management requested. Thus the

[PATCH] misc: ad525x_dpot: Remove unnecessary MODULE_ALIAS()

2015-08-30 Thread Javier Martinez Canillas
The driver has a I2C device id table that is used to create the module aliases and also ad_dpot isn't a supported I2C id, so it's never used. Signed-off-by: Javier Martinez Canillas jav...@osg.samsung.com --- drivers/misc/ad525x_dpot-i2c.c | 1 - 1 file changed, 1 deletion(-) diff --git

[PATCH v1] Documentation: add Device tree bindings for hwmon/nct7802

2015-08-30 Thread Constantine Shulyupin
reg-init implementation is borowerd from broadcom,c45-reg-init and marvell,reg-init. Signed-off-by: Constantine Shulyupin co...@makelinux.com --- --- .../devicetree/bindings/hwmon/nct7802.txt | 27 ++ 1 file changed, 27 insertions(+) create mode 100644

[PATCH] power: Remove unnecessary MODULE_ALIAS() for I2C drivers

2015-08-30 Thread Javier Martinez Canillas
These drivers already have an I2C device id table that is used to create module aliases and the used MODULE_ALIAS() was either already in the I2C table so it was redundant or wasn't a valid I2C id so it was never used. Signed-off-by: Javier Martinez Canillas jav...@osg.samsung.com ---

<    1   2   3   4   >