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 v1 14/15] scsi: ufs: commit descriptors before setting the doorbell

2015-08-30 Thread ygardi
On Thu, Aug 27, 2015 at 7:11 AM, yga...@codeaurora.org wrote: On Tue, Aug 25, 2015 at 7:36 AM, yga...@codeaurora.org wrote: On Aug 21, 2015 3:10 PM, Yaniv Gardi yga...@codeaurora.org wrote: Add a write memory barrier to make sure descriptors prepared are actually written to memory before

[PATCH 1/2] x86/bitops: implement __test_bit

2015-08-30 Thread Michael S. Tsirkin
One little known side effect of test_bit is that it adds a kind of a compiler barrier since the pointer parameter is volatile. It seems risky to change the semantics of test_bit so let's just add __test_bit (matching __set_bit and __clear_bit) that does not add such a barrier. Will be used by

[PATCH 2/2] kvm/x86: use __test_bit

2015-08-30 Thread Michael S. Tsirkin
Let compiler do slightly better optimizations using the non-volatile __test_bit in all cases where the values are set using the non-volatile __set_bit and __clear_bit. I left test_bit in place where the mask is set using the atomic set_bit/clear_bit, for symmetry. This shaves about 100 bytes

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

2015-08-30 Thread Aleksey Makarov
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 = (struct nicvf_cq_poll *)cq_irq; + struct nicvf *nic = cq_poll-nicvf; +

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

2015-08-30 Thread Winkler, Tomas
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 and reviewed again after resend by Martin Petersen I'm submitting patches to

[PATCH-v2 1/2] mpt3sas: Refcount sas_device objects and fix unsafe list usage

2015-08-30 Thread Nicholas A. Bellinger
From: Nicholas Bellinger n...@linux-iscsi.org These objects can be referenced concurrently throughout the driver, we need a way to make sure threads can't delete them out from under each other. This patch adds the refcount, and refactors the code to use it. Additionally, we cannot iterate over

[PATCH-v2 0/2] mpt3sas: Reference counting fixes from for-next mpt2sas

2015-08-30 Thread Nicholas A. Bellinger
From: Nicholas Bellinger n...@linux-iscsi.org Hi all, This series is a mpt3sas LLD forward port of Calvin Owens' for-next reference counting bugfix series for mpt2sas LLD code. His latest patch series can be found here: [PATCH v4 0/2] Fixes for memory corruption in mpt2sas

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

2015-08-30 Thread ygardi
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 ufshcd-pltfrm is no longer serves as a platform device. Now it only

[PATCH RFC 1/3] vmx: allow ioeventfd for EPT violations

2015-08-30 Thread Michael S. Tsirkin
Even when we skip data decoding, MMIO is slightly slower than port IO because it uses the page-tables, so the CPU must do a pagewalk on each access. This overhead is normally masked by using the TLB cache: but not so for KVM MMIO, where PTEs are marked as reserved and so are never cached. As

[PATCH RFC 2/3] svm: allow ioeventfd for NPT page faults

2015-08-30 Thread Michael S. Tsirkin
MMIO is slightly slower than port IO because it uses the page-tables, so the CPU must do a pagewalk on each access. This overhead is normally masked by using the TLB cache: but not so for KVM MMIO, where PTEs are marked as reserved and so are never cached. As ioeventfd memory is never read, make

[PATCH RFC 3/3] kvm: add KVM_CAP_IOEVENTFD_PF capability

2015-08-30 Thread Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin m...@redhat.com --- include/uapi/linux/kvm.h | 1 + arch/x86/kvm/x86.c| 1 + Documentation/virtual/kvm/api.txt | 7 +++ 3 files changed, 9 insertions(+) diff --git a/include/uapi/linux/kvm.h b/include/uapi/linux/kvm.h index

Re: [PATCH 2/2] media: atmel-isi: move configure_geometry() to start_streaming()

2015-08-30 Thread Guennadi Liakhovetski
Hi Josh, On Wed, 17 Jun 2015, Josh Wu wrote: As in set_fmt() function we only need to know which format is been set, we don't need to access the ISI hardware in this moment. So move the configure_geometry(), which access the ISI hardware, to start_streaming() will make code more consistent

[PATCH net-next v2 5/8] net: thunderx: Support for HW VLAN stripping

2015-08-30 Thread Aleksey Makarov
From: Sunil Goutham sgout...@cavium.com This patch configures HW to strip 802.1Q header if found in a receiving packet. The stripped VLAN ID and TCI information is passed on to software via CQE_RX. Also sets netdev's 'vlan_features' so that other HW offload features can be used for tagged

[PATCH net-next v2 6/8] net: thunderx: Rework interrupt handling

2015-08-30 Thread Aleksey Makarov
From: Sunil Goutham sgout...@cavium.com Rework interrupt handler to avoid checking IRQ affinity of CQ interrupts. Now separate handlers are registered for each IRQ including RBDR. Register interrupt handlers for only those which are being used. Add nicvf_dump_intr_status() and use it in irq

[PATCH net-next v2 3/8] net: thunderx: mailboxes: remove code duplication

2015-08-30 Thread Aleksey Makarov
From: Sunil Goutham sgout...@cavium.com Use the nicvf_send_msg_to_pf() function in the mailbox code. Signed-off-by: Sunil Goutham sgout...@cavium.com Signed-off-by: Robert Richter rrich...@cavium.com Signed-off-by: Aleksey Makarov aleksey.maka...@caviumnetworks.com ---

[PATCH net-next v2 4/8] net: thunderx: Receive hashing HW offload support

2015-08-30 Thread Aleksey Makarov
From: Sunil Goutham sgout...@cavium.com Adding support for receive hashing HW offload by using RSS_ALG and RSS_TAG fields of CQE_RX descriptor. Also removed dependency on minimum receive queue count to configure RSS so that hash is always generated. This hash is used by RPS logic to distribute

Re: [PATCH 2/2] media: atmel-isi: move configure_geometry() to start_streaming()

2015-08-30 Thread Guennadi Liakhovetski
Yep, I see the thread and updates to this patch now, please, ignore this mail, sorry. Thanks Guennadi On Sun, 30 Aug 2015, Guennadi Liakhovetski wrote: Hi Josh, On Wed, 17 Jun 2015, Josh Wu wrote: As in set_fmt() function we only need to know which format is been set, we don't need

Re: [PATCH] sched/deadline: fix dl bandwidth of root domain overflow after dl task dead

2015-08-30 Thread Wanpeng Li
On 8/10/15 10:10 PM, Juri Lelli wrote: On 06/08/15 09:39, Wanpeng Li wrote: Hi Juri, Hi, 2015-05-06 16:14 GMT+08:00 Juri Lelli juri.le...@arm.com mailto:juri.le...@arm.com: Hi Wanpeng, I finally got to review this, sorry about the huge delay. On 07/04/2015 04:36, Wanpeng

[PATCH] arm64: add kc_offset_to_vaddr and kc_vaddr_to_offset macro

2015-08-30 Thread yalin wang
This patch add kc_offset_to_vaddr() and kc_vaddr_to_offset(), the default version doesn't work on arm64, because arm64 kernel address is below the PAGE_OFFSET, like module address and vmemmap address are all below PAGE_OFFSET address. Signed-off-by: yalin wang yalin.wang2...@gmail.com ---

Re: [PATCH 2/3] rhashtable-test: retry insert operations in threads

2015-08-30 Thread Herbert Xu
Phil Sutter p...@nwl.cc wrote: Should we introduce a new field to struct rhashtable to track the internal state? This might allow to clean up some rather obscure tests, e.g. whether a table resize is in progress or not. Why would we want to do that? The deferred expansion is done on a best

Problems booting 4.1.6

2015-08-30 Thread Peter Weilbacher
I've only recently upgraded the kernel from 4.0.5 to 4.1.6 and since then I cannot boot my machine any more. It basically stops after Decompressing Linux... Parsing ELF... done. Booting the kernel. and if I wait long enough I'll see messages like INFO: rcu_sched self-detected stall on CPU

Re: [PATCH 1/2] media: atmel-isi: setup the ISI_CFG2 register directly

2015-08-30 Thread Guennadi Liakhovetski
Hi Josh, On Wed, 17 Jun 2015, Josh Wu wrote: In the function configure_geometry(), we will setup the ISI CFG2 according to the sensor output format. It make no sense to just read back the CFG2 register and just set part of it. So just set up this register directly makes things simpler.

Applied regmap: Introduce max_raw_read/write for regmap_bulk_read/write to the regmap tree

2015-08-30 Thread Mark Brown
The patch regmap: Introduce max_raw_read/write for regmap_bulk_read/write 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

Applied regmap: regmap max_raw_read/write getter functions to the regmap tree

2015-08-30 Thread Mark Brown
The patch regmap: regmap max_raw_read/write getter functions 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 hours) and

Applied regmap-i2c: Add smbus i2c block support to the regmap tree

2015-08-30 Thread Mark Brown
The patch regmap-i2c: Add smbus i2c block support 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 hours) and sent to

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:

  1   2   3   4   >