[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 --- drivers/scsi/ufs/ufs-qcom.c | 165 +++- drivers/scsi/ufs/ufs-qcom.h | 37

[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 --- 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 e945383..5f45307 100644 ---

[PATCH v4 4/8] add ufshcd_get_variant ufshcd_set_variant

2015-08-30 Thread Yaniv Gardi
Signed-off-by: Yaniv Gardi --- 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 b/drivers/scsi/ufs/ufs-qcom.c index

[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 --- drivers/scsi/ufs/ufs-qcom.c | 1 - drivers/scsi/ufs/ufshcd.c | 104 +--- drivers/scsi/ufs/ufshcd.h |

[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 --- drivers/scsi/ufs/ufs-qcom.c | 7 ++- 1 file

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

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

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 > >

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: [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: 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

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, wrote: >> On Sun, Aug 23, 2015 at 8:09 AM, Yaniv Gardi >> 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

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 When cpu is disabled, all irqs will be migratged to another cpu. In some cases, a new affinity is different, it needed to be coppied to irq's

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

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

2015-08-30 Thread Aneesh Kumar K.V
Andrey Ryabinin writes: > 2015-08-26 11:26 GMT+03:00 Aneesh Kumar K.V : >> 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 reports when we > print report as early > as

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

2015-08-30 Thread Aneesh Kumar K.V
Andrey Ryabinin writes: > 2015-08-26 11:26 GMT+03:00 Aneesh Kumar K.V : >> 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: Aneesh Kumar K.V >> --- >>

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

2015-08-30 Thread Aneesh Kumar K.V
Andrey Ryabinin writes: > 2015-08-26 11:26 GMT+03:00 Aneesh Kumar K.V : >> 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 early zero page kasan shadow region for the >>

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

2015-08-30 Thread Aneesh Kumar K.V
Andrey Ryabinin writes: > 2015-08-26 11:26 GMT+03:00 Aneesh Kumar K.V : >> Conditionalize the check using #ifdef >> >> Signed-off-by: Aneesh Kumar K.V >> --- >> mm/kasan/report.c | 11 --- >> 1 file changed, 8 insertions(+), 3 deletions(-) >> >> diff --git a/mm/kasan/report.c

__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

[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 Signed-off-by: Fengguang Wu ---

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 : > On Fri, Aug 21, 2015 at 08:24:16PM +0900, Jingoo Han wrote: >> On 2015. 8. 21., at PM 7:01, Yakir Yang wrote: >> > >> > Hi Jingoo, >> > >> >> 在

[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 --- drivers/input/joystick/xpad.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

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 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 Li wrote: >

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 > > 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 >

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

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 wrote: > > Fixes userspace compilation error: > > > > drm/drm.h:132:2: error: unknown type name ‘size_t’ > > > > Signed-off-by: Mikko Rapeli > > --- > > include/uapi/drm/drm.h | 8 > >

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

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

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, wrote: >>> On Tue, Aug 25, 2015 at 7:36 AM, wrote: > On Aug 21, 2015 3:10 PM, "Yaniv Gardi" wrote: >> >> Add a write memory barrier to make sure descriptors prepared are >> actually >> written to memory before ringing the doorbell. We

Re: [PATCH 3/9] amdkfd: use instead of

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

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

2015-08-30 Thread Aleksey Makarov
From: Sunil Goutham 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 connectivity. 'loopback'

[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 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 Qsets/VFs to be

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

2015-08-30 Thread Aleksey Makarov
From: Sunil Goutham 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 handlers.

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

2015-08-30 Thread Aleksey Makarov
From: Sunil Goutham 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 flows across

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

2015-08-30 Thread Aleksey Makarov
From: Sunil Goutham 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 packets. This offload

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

2015-08-30 Thread Aleksey Makarov
From: Sunil Goutham Added ethtool support to dump receive packet error statistics reported in CQE. Also made some small fixes Signed-off-by: Sunil Goutham Signed-off-by: Aleksey Makarov --- drivers/net/ethernet/cavium/thunder/nic.h | 36 +++--

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

2015-08-30 Thread Aleksey Makarov
From: Sunil Goutham Use the nicvf_send_msg_to_pf() function in the mailbox code. Signed-off-by: Sunil Goutham Signed-off-by: Robert Richter Signed-off-by: Aleksey Makarov --- drivers/net/ethernet/cavium/thunder/nic.h| 3 +- drivers/net/ethernet/cavium/thunder/nicvf_main.c | 44

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

2015-08-30 Thread Aleksey Makarov
From: Aleksey Makarov The liquidio and thunder drivers have different maintainers. Signed-off-by: Aleksey Makarov --- MAINTAINERS | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 4e6dcb6..43cf79e 100644 --- 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)

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

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-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

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

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; +

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

2015-08-30 Thread Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin --- 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 716ad4a..4509aa3 100644

[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 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 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

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

[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 Signed-off-by: Fengguang Wu --- opt3001.c |1 -

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 > 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 serves as a

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

[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

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: 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 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 wrote: On Thu, Aug 27, 2015 at 08:55:13AM

[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 Cc: Jonathan Cameron Cc: Hartmut Knaack Cc: Lars-Peter Clausen Cc: Peter Meerwald Cc: Greg Kroah-Hartman Cc: Tapasweni Pathak ---

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

2015-08-30 Thread Nicholas A. Bellinger
From: Nicholas Bellinger 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 the lock, since

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

2015-08-30 Thread Nicholas A. Bellinger
From: Nicholas Bellinger 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 the sas_device_list

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

2015-08-30 Thread Nicholas A. Bellinger
From: Nicholas Bellinger 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 2/3] rhashtable-test: retry insert operations in threads

2015-08-30 Thread Herbert Xu
Phil Sutter 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 effort

[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

[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 --- drivers/base/regmap/regmap-i2c.c | 49 1 file changed, 49 insertions(+) diff --git

[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

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, > > > > > > > >

[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 ---

[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 --- 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 100644 --- a/include/net/ip.h +++

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

<    1   2   3   4   >