[PATCH] lpfc: replaced kmalloc + memset with kzalloc

2015-10-27 Thread Saurabh Sengar
replacing kmalloc and memset by a single call of kzalloc Signed-off-by: Saurabh Sengar --- drivers/scsi/lpfc/lpfc_els.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/scsi/lpfc/lpfc_els.c b/drivers/scsi/lpfc/lpfc_els.c index 36bf58b..9729ab1 100644 --- a/drivers/sc

Re: [PATCH 6/6] dmaengine: tegra-apb: Disable interrupts on removal

2015-10-27 Thread Vinod Koul
On Fri, Oct 16, 2015 at 11:57:02AM +0100, Jon Hunter wrote: > >>> How about just calling free_irq()? That's how you'd typically handle this. > >> > >> Yes, however, the interrupt is requested by devm_request_irq(). I guess > >> I could call devm_free_irq() here? > > > > Just use request_irq() inst

Re: [PATCH v3 0/3] virtio DMA API core stuff

2015-10-27 Thread David Woodhouse
On Tue, 2015-10-27 at 23:38 -0700, Andy Lutomirski wrote: > > Changes from v2: > - Fix really embarrassing bug. This version actually works. So embarrassing you didn't want to tell us what it was? ... --- a/drivers/virtio/virtio_ring.c +++ b/drivers/virtio/virtio_ring.c @@ -292,7 +292,7 @@ sta

Re: [PATCH v3] dmaengine: fsl-edma: add PM suspend/resume support

2015-10-27 Thread Vinod Koul
On Tue, Oct 27, 2015 at 03:58:31AM +, Yao Yuan wrote: > Hi Vinod, > Please do not top post > Thanks for your review. > I did the test and it seems that it should be ok when CONFIG_PM is not > defined. > So I removed the protection code to make it more readable. > Do you think is it ok? Yes

Re: [PATCH V3 3/5] cpufreq: ondemand: queue work for policy->cpus together

2015-10-27 Thread Viresh Kumar
On 28-10-15, 07:38, Rafael J. Wysocki wrote: > On Tuesday, October 13, 2015 01:39:03 PM Viresh Kumar wrote: > > Currently update_sampling_rate() runs over each online CPU and > > cancels/queues work on it. Its very inefficient for the case where a > > single policy manages multiple CPUs, as they ca

Re: [PATCH V3 1/5] cpufreq: ondemand: Drop unnecessary locks from update_sampling_rate()

2015-10-27 Thread Viresh Kumar
On 28-10-15, 06:54, Rafael J. Wysocki wrote: > On Wednesday, October 28, 2015 10:14:51 AM Viresh Kumar wrote: > > In cases where a single policy controls multiple CPUs, a timer is > > queued for every cpu present in policy->cpus. When we reach the timer > > handler (which can be on multiple CPUs to

Re: [PATCH V3 4/5] cpufreq: governor: Quit work-handlers early if governor is stopped

2015-10-27 Thread Rafael J. Wysocki
On Tuesday, October 13, 2015 01:39:04 PM Viresh Kumar wrote: > cpufreq_governor_lock is abused by using it outside of cpufreq core, > i.e. in cpufreq-governors. But we didn't had a better solution to the > problem (described later) at that point of time, and following was the > only acceptable solu

Re: character driver - poll() timeout

2015-10-27 Thread Muni Sekhar
On Tue, Oct 27, 2015 at 8:48 PM, Clemens Ladisch wrote: > Muni Sekhar wrote: >> On Tue, Oct 27, 2015 at 1:41 PM, Clemens Ladisch wrote: >>> Muni Sekhar wrote: Is it possible to print the timeout value in character driver poll() API? >>> >>> No. Your driver's poll callback never waits. >>> >

[PATCH v3 0/3] virtio DMA API core stuff

2015-10-27 Thread Andy Lutomirski
This switches virtio to use the DMA API unconditionally. I'm sure it breaks things, but it seems to work on x86 using virtio-pci, with and without Xen, and using both the modern 1.0 variant and the legacy variant. Changes from v2: - Fix really embarrassing bug. This version actually works. Cha

[PATCH v3 1/3] virtio_net: Stop doing DMA from the stack

2015-10-27 Thread Andy Lutomirski
From: Andy Lutomirski Once virtio starts using the DMA API, we won't be able to safely DMA from the stack. virtio-net does a couple of config DMA requests from small stack buffers -- switch to using dynamically-allocated memory. This should have no effect on any performance-critical code paths.

[PATCH v3 2/3] virtio_ring: Support DMA APIs

2015-10-27 Thread Andy Lutomirski
virtio_ring currently sends the device (usually a hypervisor) physical addresses of its I/O buffers. This is okay when DMA addresses and physical addresses are the same thing, but this isn't always the case. For example, this never works on Xen guests, and it is likely to fail if a physical "virt

[PATCH v3 3/3] virtio_pci: Use the DMA API

2015-10-27 Thread Andy Lutomirski
This fixes virtio-pci on platforms and busses that have IOMMUs. This will break the experimental QEMU Q35 IOMMU support until QEMU is fixed. In exchange, it fixes physical virtio hardware as well as virtio-pci running under Xen. We should clean up the virtqueue API to do its own allocation and t

Re: [PATCH 06/10] merge_config.sh: only consider last value of symbols

2015-10-27 Thread Darren Hart
On Wed, Oct 28, 2015 at 09:42:07AM +0900, Olof Johansson wrote: Needs a commit message here that says (I think): Avoid mangled error output by collecting only the last value. Warnings are still issued when overrides occur. Agreed on the change though. Reviewed-by: Darren Hart > Signed-off-by:

Re: [PATCH 05/10] merge_config.sh: Better handling of CONFIG_FOO=n

2015-10-27 Thread Bruce Ashfield
On 10/28/2015 02:26 AM, Darren Hart wrote: On Wed, Oct 28, 2015 at 09:42:06AM +0900, Olof Johansson wrote: Kconfig knows how to handle CONFIG_FOO=n just fine, but it'll always use "# CONFIG FOO is not set" in the resulting config. Mangle the input accordingly so we don't report this as a failure

[PATCH v2 2/4] ocfs2: sysfile interfaces for online file check

2015-10-27 Thread Gang He
Implement online file check sysfile interfaces, e.g. how to create the related sysfile according to device name, how to display/handle file check request from the sysfile. Signed-off-by: Gang He --- fs/ocfs2/Makefile| 3 +- fs/ocfs2/filecheck.c | 566 +++

[PATCH v2 1/4] ocfs2: export ocfs2_kset for online file check

2015-10-27 Thread Gang He
Export ocfs2_kset object from ocfs2_stackglue kernel module, then online file check code will create the related sysfiles under ocfs2_kset object. Signed-off-by: Gang He --- fs/ocfs2/stackglue.c | 3 ++- fs/ocfs2/stackglue.h | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/f

[PATCH v2 3/4] ocfs2: create/remove sysfile for online file check

2015-10-27 Thread Gang He
Create online file check sysfile when ocfs2 mount, remove the related sysfile when ocfs2 umount. Signed-off-by: Gang He --- fs/ocfs2/super.c | 5 + 1 file changed, 5 insertions(+) diff --git a/fs/ocfs2/super.c b/fs/ocfs2/super.c index 403c566..7213a94 100644 --- a/fs/ocfs2/super.c +++ b/fs/

Re: [PATCH 05/10] merge_config.sh: Better handling of CONFIG_FOO=n

2015-10-27 Thread Darren Hart
On Wed, Oct 28, 2015 at 09:42:06AM +0900, Olof Johansson wrote: > Kconfig knows how to handle CONFIG_FOO=n just fine, but it'll always > use "# CONFIG FOO is not set" in the resulting config. Mangle the input > accordingly so we don't report this as a failure when it isn't. > > Signed-off-by: Olof

[PATCH v2 4/4] ocfs2: check/fix inode block for online file check

2015-10-27 Thread Gang He
Implement online check or fix inode block during reading a inode block to memory. Signed-off-by: Gang He --- fs/ocfs2/inode.c | 196 +++-- fs/ocfs2/ocfs2_trace.h | 2 + 2 files changed, 192 insertions(+), 6 deletions(-) diff --git a/fs/ocfs2/i

[PATCH v2 0/4] Add online file check feature

2015-10-27 Thread Gang He
When there are errors in the ocfs2 filesystem, they are usually accompanied by the inode number which caused the error. This inode number would be the input to fixing the file. One of these options could be considered: A file in the sys filesytem which would accept inode numbers. This could be used

[PATCH] tty/vt/keyboard: use memdup_user to simplify code

2015-10-27 Thread Saurabh Sengar
use memdup_user rather than duplicating implementation. found by coccinelle Signed-off-by: Saurabh Sengar --- drivers/tty/vt/keyboard.c | 14 +- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/drivers/tty/vt/keyboard.c b/drivers/tty/vt/keyboard.c index 6f0336f..f973bfc

Re: [PATCH v12 0/6] Altera PCIe host controller driver with MSI support

2015-10-27 Thread Ley Foon Tan
On Wed, Oct 28, 2015 at 9:02 AM, Bjorn Helgaas wrote: > On Tue, Oct 27, 2015 at 7:56 PM, Ley Foon Tan wrote: >> On Tue, Oct 27, 2015 at 10:26 PM, Bjorn Helgaas wrote: >>> Hi Ley, >>> >>> On Fri, Oct 23, 2015 at 06:27:09PM +0800, Ley Foon Tan wrote: This is the 12th version of patch set to a

Re: [PATCH] ARM: dts: sunxi: sun6i-a31s-primo81.dts: add touchscreen axis swapping property

2015-10-27 Thread Maxime Ripard
Hi, On Sat, Oct 24, 2015 at 11:07:31PM +0200, Karsten Merker wrote: > The MSI Primo81 has a display in portrait mode but a touchscreen > in landscape mode. To have both of them use the same coordinate > system, the touchscreen-swapped-x-y property has to be set > for the touchscreen. > > Signed-

Re: [PATCH v4 0/2] powerpc/512x: add LocalPlus Bus FIFO device driver

2015-10-27 Thread Vinod Koul
On Tue, Oct 27, 2015 at 11:42:57PM +0300, Alexander Popov wrote: > >> Hello, > >> > >> I've done my best to fix the issues pointed by Timur Tabi and Vinod Koul. > >> Could I have a feedback please? > > > > I dont see to have v4 in my list :( Can you please repost > > Hello, Vinod > > I'm sure I

Re: [PATCH 04/10] merge_config.sh: exit non-0 in case of failures

2015-10-27 Thread Darren Hart
On Wed, Oct 28, 2015 at 09:42:05AM +0900, Olof Johansson wrote: > Exit with non-0 value in cases where there was a failure to set an option. > Also, add a '-e' during which the conflict warnings are considered failures > (-e -r will result in these being failures, -r will result in them just being

Re: [PATCH 00/10] merge_config misc reworks and testcases

2015-10-27 Thread Bruce Ashfield
On 10/28/2015 01:02 AM, Darren Hart wrote: On Wed, Oct 28, 2015 at 09:42:01AM +0900, Olof Johansson wrote: Hi, Somewhat wide distribution list here, since I've added everyone who's touched the script, with the presumption that those have been the major users of it. Please make sure none of thes

[GIT] Networking

2015-10-27 Thread David Miller
This may look a bit scary this late in the release cycle, but as is typically the case it's predominantly small driver fixes all over the place. 1) Fix two regressions in ipv6 route lookups, particularly wrt. output interface specifications in the lookup key. From David Ahern. 2) Fix checks

Re: [PATCH v2] Input: tsc2005 - Add support for tsc2004

2015-10-27 Thread Dmitry Torokhov
On Wed, Oct 28, 2015 at 12:48:29AM -0500, Michael Welling wrote: > On Tue, Oct 27, 2015 at 10:41:52PM -0700, Dmitry Torokhov wrote: > > On Wed, Oct 28, 2015 at 12:23:34AM -0500, Michael Welling wrote: > > > On Tue, Oct 27, 2015 at 06:51:41PM -0700, Dmitry Torokhov wrote: > > > > Hi Michael, > > > >

Re: [PATCH V3 3/5] cpufreq: ondemand: queue work for policy->cpus together

2015-10-27 Thread Rafael J. Wysocki
On Tuesday, October 13, 2015 01:39:03 PM Viresh Kumar wrote: > Currently update_sampling_rate() runs over each online CPU and > cancels/queues work on it. Its very inefficient for the case where a > single policy manages multiple CPUs, as they can be processed together. In the case of one policy o

Re: [PATCH v2 2/3] virtio_ring: Support DMA APIs

2015-10-27 Thread David Woodhouse
On Wed, 2015-10-28 at 14:52 +0900, Christian Borntraeger wrote: >0059b25a: e3201024 lg %r2,32(%r1) > #0059b260: e310b0a4 lg %r1,160(%r11) > >0059b266: 4810100c lh %r1,12(%r1) Precisely what is that

Re: [PATCH 03/10] merge_config.sh: minor argument parsing refactoring

2015-10-27 Thread Darren Hart
On Wed, Oct 28, 2015 at 09:42:04AM +0900, Olof Johansson wrote: > Every case that continues iterating needs a shift, so move it to common > location. > Also, the continues are redundant. > > Signed-off-by: Olof Johansson Nice cleanup, thanks Olof. Reviewed-by: Darren Hart -- Darren Hart Int

Re: [PATCH V3 2/5] cpufreq: ondemand: update sampling rate immediately

2015-10-27 Thread Rafael J. Wysocki
On Tuesday, October 13, 2015 01:39:02 PM Viresh Kumar wrote: > We are immediately updating sampling rate for already queued-works, only > if the new expiry is lesser than the old one. > > But what about the case, where the user doesn't want frequent events and > want to increase sampling time imme

Re: [PATCH 02/10] merge_config.sh: print warnings on stderr

2015-10-27 Thread Darren Hart
On Wed, Oct 28, 2015 at 09:42:03AM +0900, Olof Johansson wrote: > Makes it easier to grab just errors/warnings in a build log. > > Signed-off-by: Olof Johansson I think this is the right change, I just want to make sure Bruce (Cc'd) sees it for linux-yocto. Reviewed-by: Darren Hart > --- > s

Re: [PATCH v2] Staging: android: uapi: fixed comment block coding style error in ion.h

2015-10-27 Thread Sudip Mukherjee
On Tue, Oct 27, 2015 at 02:04:54PM +0200, Dzonatans Melgalvis wrote: > Fixed checkpatch.pl warning about comment block coding style. > > Signed-off-by: Dzonatans Melgalvis '. This change has already been done by: 7e4161747bc6 ("staging: android: Fix checkpatch block comments warnings") which tre

Re: [PATCH v2 2/3] virtio_ring: Support DMA APIs

2015-10-27 Thread Christian Borntraeger
Am 28.10.2015 um 14:30 schrieb Andy Lutomirski: > +static void vring_unmap_one(const struct vring_virtqueue *vq, > + struct vring_desc *desc) > +{ > + u16 flags = virtio16_to_cpu(vq->vq.vdev, desc->flags); > + > + if (flags & VRING_DESC_F_INDIRECT) { > +

Re: [PATCH v2] Input: tsc2005 - Add support for tsc2004

2015-10-27 Thread Michael Welling
On Tue, Oct 27, 2015 at 10:41:52PM -0700, Dmitry Torokhov wrote: > On Wed, Oct 28, 2015 at 12:23:34AM -0500, Michael Welling wrote: > > On Tue, Oct 27, 2015 at 06:51:41PM -0700, Dmitry Torokhov wrote: > > > Hi Michael, > > > On Tue, Oct 27, 2015 at 07:17:01PM -0500, Michael Welling wrote: > > > > A

[lkp] [sched/fair] 1746babbb1: +2.3% unixbench.score

2015-10-27 Thread kernel test robot
FYI, we noticed the below changes on https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master commit 1746babbb15594ba2d8d8196589bbbc2b5ff51c9 ("sched/fair: Have task_move_group_fair() also detach entity load from the old runqueue") =

Re: [PATCH v2] Input: tsc2005 - Add support for tsc2004

2015-10-27 Thread Dmitry Torokhov
On Wed, Oct 28, 2015 at 12:38:31AM -0500, Michael Welling wrote: > On Wed, Oct 28, 2015 at 12:37:35PM +0800, kbuild test robot wrote: > > Hi Michael, > > > > [auto build test ERROR on input/next -- if it's inappropriate base, please > > suggest rules for selecting the more suitable base] > > > >

[lkp] [x86/setup] f5f3497cad: BUG: kernel boot crashed

2015-10-27 Thread kernel test robot
FYI, we noticed the below changes on https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master commit f5f3497cad8c8416a74b9aaceb127908755d020a ("x86/setup: Extend low identity map to cover whole kernel range") +++--

Re: [PATCH v2] Input: tsc2005 - Add support for tsc2004

2015-10-27 Thread Dmitry Torokhov
On Wed, Oct 28, 2015 at 12:23:34AM -0500, Michael Welling wrote: > On Tue, Oct 27, 2015 at 06:51:41PM -0700, Dmitry Torokhov wrote: > > Hi Michael, > > On Tue, Oct 27, 2015 at 07:17:01PM -0500, Michael Welling wrote: > > > Adds support for the i2c based tsc2004. Support was added to the tsc2005 >

Re: [PATCH 2/2] drivers:staging:wlan_ng Fix no space is necessary after a cast

2015-10-27 Thread Sudip Mukherjee
On Tue, Oct 27, 2015 at 11:26:48PM +0100, Bogicevic Sasa wrote: > It should be fine, I meant in a sence nothing is accepted from me yet It doesnot generate any warning in my setup. And please donot top post while replying. regards sudip -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH v2] Input: tsc2005 - Add support for tsc2004

2015-10-27 Thread Michael Welling
On Wed, Oct 28, 2015 at 12:37:35PM +0800, kbuild test robot wrote: > Hi Michael, > > [auto build test ERROR on input/next -- if it's inappropriate base, please > suggest rules for selecting the more suitable base] > > url: > https://github.com/0day-ci/linux/commits/Michael-Welling/Input-tsc2

Re: [PATCH v3 4/5] clk: s2mps15: Add support for S2MPS15 clocks

2015-10-27 Thread Krzysztof Kozlowski
On 28.10.2015 13:55, Alim Akhtar wrote: > > > On 10/28/2015 10:04 AM, Krzysztof Kozlowski wrote: >> On 28.10.2015 10:26, Krzysztof Kozlowski wrote: >>> On 26.10.2015 21:51, Alim Akhtar wrote: S2MPS15 PMIC has three 32k buffered clocks outputs. This patch adds supports for the same to th

[lkp] [mm, page_alloc] 43993977ba: +88% OOM possibility

2015-10-27 Thread kernel test robot
FYI, we noticed the below changes on https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master commit 43993977baecd838d66ccabc7f682342fc6ff635 ("mm, page_alloc: distinguish between being unable to sleep, unwilling to sleep and avoiding waking kswapd") We found the OOM possibilit

Re: [PATCH V2 0/3] perf/powerpc:Add ability to sample intr machine state in powerpc

2015-10-27 Thread Anju T
Hi Denis, On Monday 26 October 2015 06:47 PM, Denis Kirjanov wrote: On 10/26/15, Anju T wrote: This short patch series add the ability to sample the interrupted machine state for each hardware sample Hi, how can we check your patch series without testing details? I have mentioned about the c

[PATCH v2 1/3] virtio_net: Stop doing DMA from the stack

2015-10-27 Thread Andy Lutomirski
From: Andy Lutomirski Once virtio starts using the DMA API, we won't be able to safely DMA from the stack. virtio-net does a couple of config DMA requests from small stack buffers -- switch to using dynamically-allocated memory. This should have no effect on any performance-critical code paths.

[PATCH v2 3/3] virtio_pci: Use the DMA API

2015-10-27 Thread Andy Lutomirski
From: Andy Lutomirski This fixes virtio-pci on platforms and busses that have IOMMUs. This will break the experimental QEMU Q35 IOMMU support until QEMU is fixed. In exchange, it fixes physical virtio hardware as well as virtio-pci running under Xen. We should clean up the virtqueue API to do

[PATCH v2 2/3] virtio_ring: Support DMA APIs

2015-10-27 Thread Andy Lutomirski
virtio_ring currently sends the device (usually a hypervisor) physical addresses of its I/O buffers. This is okay when DMA addresses and physical addresses are the same thing, but this isn't always the case. For example, this never works on Xen guests, and it is likely to fail if a physical "virt

[PATCH v2 0/3] virtio DMA API core stuff

2015-10-27 Thread Andy Lutomirski
This switches virtio to use the DMA API unconditionally. I'm sure it breaks things, but it seems to work on x86 using virtio-pci, with and without Xen, and using both the modern 1.0 variant and the legacy variant. Changes from v1: - Fix an endian conversion error causing a BUG to hit. - Fix a D

Re: [PATCH] w1: w1_process() is not freezable kthread

2015-10-27 Thread Jiri Kosina
On Tue, 27 Oct 2015, Evgeniy Polyakov wrote: > > w1_process() calls try_to_freeze(), but the thread doesn't mark itself > > freezable through set_freezable(), so the try_to_freeze() call is useless. > > I believe it is better to mark it freezable, what do you think? Its task > is useless if anyo

Re: [PATCH V3 1/5] cpufreq: ondemand: Drop unnecessary locks from update_sampling_rate()

2015-10-27 Thread Rafael J. Wysocki
On Wednesday, October 28, 2015 10:14:51 AM Viresh Kumar wrote: > On 28-10-15, 05:05, Rafael J. Wysocki wrote: > > On Tuesday, October 13, 2015 01:39:01 PM Viresh Kumar wrote: > > > 'timer_mutex' is required to sync work-handlers of policy->cpus. > > > update_sampling_rate() is just canceling the wo

Re: [PATCH 01/10] merge_config.sh: factor out value parsing

2015-10-27 Thread Darren Hart
On Wed, Oct 28, 2015 at 09:42:02AM +0900, Olof Johansson wrote: > Since we want to adjust the line later on to deal with CONFIG_FOO=n, > let's make a function for it so we have only one place to change it in. > > Signed-off-by: Olof Johansson > --- > scripts/kconfig/merge_config.sh | 12

Re: [PATCH v2] Input: tsc2005 - Add support for tsc2004

2015-10-27 Thread Michael Welling
On Tue, Oct 27, 2015 at 06:51:41PM -0700, Dmitry Torokhov wrote: > Hi Michael, > On Tue, Oct 27, 2015 at 07:17:01PM -0500, Michael Welling wrote: > > Adds support for the i2c based tsc2004. Support was added to the tsc2005 > > driver > > due to the similarity of the devices. > > > > Signed-off-by

Re: [PATCH 3/3] x86: context_tracking: avoid irq_save/irq_restore on kernel entry and exit

2015-10-27 Thread Andy Lutomirski
On Tue, Oct 27, 2015 at 6:39 PM, Paolo Bonzini wrote: > x86 always calls user_enter and user_exit with interrupt disabled. > Therefore, it is not necessary to check for exceptions, nor to > save/restore the IRQ state, when context tracking functions are > called by guest_enter and guest_exit. > >

Re: [PATCH 2/3] context_tracking: avoid irq_save/irq_restore on guest entry and exit

2015-10-27 Thread Andy Lutomirski
On Tue, Oct 27, 2015 at 6:39 PM, Paolo Bonzini wrote: > guest_enter and guest_exit must be called with interrupts disabled, > since they take the vtime_seqlock with write_seq{lock,unlock}. > Therefore, it is not necessary to check for exceptions, nor to > save/restore the IRQ state, when context t

Re: [PATCH 1/3] context_tracking: remove duplicate enabled check

2015-10-27 Thread Andy Lutomirski
On Tue, Oct 27, 2015 at 6:39 PM, Paolo Bonzini wrote: > All calls to context_tracking_enter and context_tracking_exit > are already checking context_tracking_is_enabled, except the > context_tracking_user_enter and context_tracking_user_exit > functions left in for the benefit of assembly calls. >

Re: [RFC PATCH v2 2/3] restartable sequences: x86 ABI

2015-10-27 Thread Paul Turner
On Tue, Oct 27, 2015 at 10:03 PM, Peter Zijlstra wrote: > > On Tue, Oct 27, 2015 at 04:57:05PM -0700, Paul Turner wrote: > > +static void rseq_sched_out(struct preempt_notifier *pn, > > +struct task_struct *next) > > +{ > > + set_thread_flag(TIF_NOTIFY_RESUME); > > +} >

RE: [PATCH 05/11] dt-binding: Add ngpios property to GPIO controller node

2015-10-27 Thread Pramod Kumar
Hi Linus, > -Original Message- > From: Linus Walleij [mailto:linus.wall...@linaro.org] > Sent: 27 October 2015 15:11 > To: Pramod Kumar > Cc: Rob Herring; Pawel Moll; Mark Rutland; Ian Campbell; Kumar Gala; Ray Jui; > Scott Branden; Russell King; linux-g...@vger.kernel.org; bcm-kernel-feed

Re: [PATCH 2/3] virtio_ring: Support DMA APIs

2015-10-27 Thread Andy Lutomirski
On Tue, Oct 27, 2015 at 7:21 PM, Joerg Roedel wrote: > On Tue, Oct 27, 2015 at 07:13:56PM -0700, Andy Lutomirski wrote: >> On Tue, Oct 27, 2015 at 7:06 PM, Joerg Roedel wrote: >> > Hi Andy, >> > >> > On Tue, Oct 27, 2015 at 06:17:09PM -0700, Andy Lutomirski wrote: >> >> From: Andy Lutomirski >>

Re: [PATCH 2/3] virtio_ring: Support DMA APIs

2015-10-27 Thread Andy Lutomirski
On Tue, Oct 27, 2015 at 7:27 PM, Christian Borntraeger wrote: > Am 28.10.2015 um 10:17 schrieb Andy Lutomirski: > @@ -423,27 +522,42 @@ EXPORT_SYMBOL_GPL(virtqueue_kick); >> >> static void detach_buf(struct vring_virtqueue *vq, unsigned int head) >> { >> - unsigned int i; >> + unsigned i

Re: [PATCH v2 05/10] hwmon: (fam15h_power) Add compute unit accumulated power

2015-10-27 Thread Huang Rui
On Wed, Oct 28, 2015 at 01:34:18AM +0100, Borislav Petkov wrote: > On Tue, Oct 27, 2015 at 10:53:40AM +0800, Huang Rui wrote: > > Preemption must be disabled when calling smp_call_function_many, > > get_cpu would did that. Will get_online_cpus have the same behavior > > like that? > > Well, get_on

[PATCH] drivers: power: always set IRQF_ONESHOT if no primary handler is specified

2015-10-27 Thread Saurabh Sengar
If no primary handler is specified then a default one is assigned which always returns IRQ_WAKE_THREAD. This handler requires the IRQF_ONESHOT, because the source of interrupt is not disabled. Signed-off-by: Saurabh Sengar --- drivers/power/max8903_charger.c | 9 ++--- drivers/power/wm831x_

Re: [PATCH v3 4/5] clk: s2mps15: Add support for S2MPS15 clocks

2015-10-27 Thread Alim Akhtar
On 10/28/2015 10:04 AM, Krzysztof Kozlowski wrote: On 28.10.2015 10:26, Krzysztof Kozlowski wrote: On 26.10.2015 21:51, Alim Akhtar wrote: S2MPS15 PMIC has three 32k buffered clocks outputs. This patch adds supports for the same to the s2mps11 clock driver. Signed-off-by: Alim Akhtar ---

Re: [RFC PATCH v2 2/3] restartable sequences: x86 ABI

2015-10-27 Thread Peter Zijlstra
On Tue, Oct 27, 2015 at 04:57:05PM -0700, Paul Turner wrote: > +static void rseq_sched_out(struct preempt_notifier *pn, > +struct task_struct *next) > +{ > + set_thread_flag(TIF_NOTIFY_RESUME); > +} > > static __read_mostly struct preempt_ops rseq_preempt_ops = { >

Re: [PATCH 00/10] merge_config misc reworks and testcases

2015-10-27 Thread Darren Hart
On Wed, Oct 28, 2015 at 09:42:01AM +0900, Olof Johansson wrote: > Hi, > > Somewhat wide distribution list here, since I've added everyone who's > touched the script, with the presumption that those have been the major > users of it. Please make sure none of these changes break your use cases. +Br

XMAS LOAN OFFER

2015-10-27 Thread
Do you need a Business or Personal Loan? If yes then get back via stevebruceloancompany.li...@gmail.com for full details -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/m

[PATCH v4] sched: fix incorrect wait time and wait count statistics

2015-10-27 Thread Joonwoo Park
At present scheduler resets task's wait start timestamp when the task migrates to another rq. This misleads scheduler itself into reporting less wait time than actual by omitting time spent for waiting prior to migration and also more wait count than actual by counting migration as wait end event

Re: [PATCH V3 1/5] cpufreq: ondemand: Drop unnecessary locks from update_sampling_rate()

2015-10-27 Thread Viresh Kumar
On 28-10-15, 05:05, Rafael J. Wysocki wrote: > On Tuesday, October 13, 2015 01:39:01 PM Viresh Kumar wrote: > > 'timer_mutex' is required to sync work-handlers of policy->cpus. > > update_sampling_rate() is just canceling the works and queuing them > > again. This isn't protecting anything at all i

Re: [PATCH v2] Input: tsc2005 - Add support for tsc2004

2015-10-27 Thread kbuild test robot
Hi Michael, [auto build test ERROR on input/next -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/Michael-Welling/Input-tsc2005-Add-support-for-tsc2004/20151028-082017 config: x86_64-randconfig-s1-10281141

Re: [PATCH v3 4/5] clk: s2mps15: Add support for S2MPS15 clocks

2015-10-27 Thread Krzysztof Kozlowski
On 28.10.2015 10:26, Krzysztof Kozlowski wrote: > On 26.10.2015 21:51, Alim Akhtar wrote: >> S2MPS15 PMIC has three 32k buffered clocks outputs. This patch >> adds supports for the same to the s2mps11 clock driver. >> >> Signed-off-by: Alim Akhtar >> --- >> drivers/clk/Kconfig |5 +++--

RE: [PATCH] IB/sa: replace GFP_KERNEL with GFP_ATOMIC

2015-10-27 Thread Weiny, Ira
> > On Tue, Oct 27, 2015 at 06:56:50PM +, Wan, Kaike wrote: > > > > I do wonder if it is a good idea to call ib_nl_send_msg with a > > > spinlock held though.. Would be nice to see that go away. > > > > We have to hold the lock to protect against a race condition that a > > quick response wil

[GIT PULL] Discard regression fix for 4.3

2015-10-27 Thread Jens Axboe
Hi Linus, This is a fix for a discard performance issues on a particular NVMe device. I originally thought this regression was introduced prior to this merge window and wanted to just make it part of the 4.4 merge window patches and mark it stable, but it has in fact been introduced in this series

[PATCH] audit: removing unused variable

2015-10-27 Thread Saurabh Sengar
variavle rc in not required as it is just used for unchanged for return, and return is always 0 in the function. Signed-off-by: Saurabh Sengar --- kernel/audit.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/kernel/audit.c b/kernel/audit.c index 662c007..409482f 1006

Re: [PATCH v8 1/5] Documentation: add sbsa-gwdt driver documentation

2015-10-27 Thread Fu Wei
Hi Mark Thanks for your rapid feedback, I appreciate your help very much. On 28 October 2015 at 00:22, Mark Rutland wrote: > On Wed, Oct 28, 2015 at 12:06:35AM +0800, fu@linaro.org wrote: >> From: Fu Wei >> >> The sbsa-gwdt.txt documentation in devicetree/bindings/watchdog is for >> introd

Re: [PATCH 4/5] mm: simplify reclaim path for MADV_FREE

2015-10-27 Thread yalin wang
> On Oct 27, 2015, at 16:52, yalin wang wrote: > > >> On Oct 27, 2015, at 16:10, Minchan Kim wrote: >> >> On Tue, Oct 27, 2015 at 03:39:16PM +0800, yalin wang wrote: >>> On Oct 27, 2015, at 15:09, Minchan Kim wrote: Hello Yalin, Sorry for missing you in Cc list. >

[PATCH v4] serial: support 16-bit register interface for console

2015-10-27 Thread Masahiro Yamada
Currently, 8-bit (MMIO) and 32-bit (MMIO32) register interfaces are supported for the 8250 console, but the 16-bit (MMIO16) is not. The 8250 UART device on my board is connected to a 16-bit bus and my main motivation is to use earlycon with it. (Refer to arch/arm/boot/dts/uniphier-support-card.dtsi

Re: [PATCH v3 1/3] leds: rt5033: Add DT binding for RT5033

2015-10-27 Thread Ingi Kim
Hi Jacek, Oh, I see. I'll add. Thanks for the review. On 2015년 10월 26일 19:11, Jacek Anaszewski wrote: > Hi Ingi, > > On 10/23/2015 07:48 AM, Ingi Kim wrote: >> This patch adds the device tree bindings for RT5033 flash LEDs. >> >> Signed-off-by: Ingi Kim >> Acked-by: Rob Herring >> --- >> ...

Re: [PATCH v3 4/5] clk: s2mps15: Add support for S2MPS15 clocks

2015-10-27 Thread Alim Akhtar
Hello On 10/28/2015 06:52 AM, Krzysztof Kozlowski wrote: On 26.10.2015 21:51, Alim Akhtar wrote: S2MPS15 PMIC has three 32k buffered clocks outputs. This patch adds supports for the same to the s2mps11 clock driver. Signed-off-by: Alim Akhtar --- drivers/clk/Kconfig |5 +++-- dri

Re: [PATCH v3 5/5] drivers/rtc/rtc-s5m.c: add support for S2MPS15 RTC

2015-10-27 Thread Alim Akhtar
On 10/28/2015 09:01 AM, Krzysztof Kozlowski wrote: On 28.10.2015 12:14, Alim Akhtar wrote: Hello, On 10/28/2015 07:47 AM, Krzysztof Kozlowski wrote: On 28.10.2015 10:53, Mark Brown wrote: On Wed, Oct 28, 2015 at 10:29:56AM +0900, Krzysztof Kozlowski wrote: If that's true, then don't add n

[PATCH v2] efi: replace GFP_KERNEL with GFP_ATOMIC

2015-10-27 Thread Saurabh Sengar
replace GFP_KERNEL with GFP_ATOMIC, as code while holding a spinlock should be atomic GFP_KERNEL may sleep and can cause deadlock, where as GFP_ATOMIC may fail but certainly avoids deadlock Signed-off-by: Saurabh Sengar --- drivers/firmware/efi/vars.c | 12 +--- 1 file changed, 9 inserti

Re: [PATCH v2 3/4] mm/hugetlb: page faults check for fallocate hole punch in progress and wait

2015-10-27 Thread Hugh Dickins
On Tue, 20 Oct 2015, Mike Kravetz wrote: > At page fault time, check i_private which indicates a fallocate hole punch > is in progress. If the fault falls within the hole, wait for the hole > punch operation to complete before proceeding with the fault. > > Signed-off-by: Mike Kravetz > --- >

Re: [PATCH V3 1/5] cpufreq: ondemand: Drop unnecessary locks from update_sampling_rate()

2015-10-27 Thread Rafael J. Wysocki
On Tuesday, October 13, 2015 01:39:01 PM Viresh Kumar wrote: > 'timer_mutex' is required to sync work-handlers of policy->cpus. > update_sampling_rate() is just canceling the works and queuing them > again. This isn't protecting anything at all in update_sampling_rate() > and is not gonna be of any

Re: [PATCH v2 0/4] hugetlbfs fallocate hole punch race with page faults

2015-10-27 Thread Hugh Dickins
On Tue, 20 Oct 2015, Mike Kravetz wrote: > The hugetlbfs fallocate hole punch code can race with page faults. The > result is that after a hole punch operation, pages may remain within the > hole. No other side effects of this race were observed. > > In preparation for adding userfaultfd suppor

Re: [PATCH v3 5/5] drivers/rtc/rtc-s5m.c: add support for S2MPS15 RTC

2015-10-27 Thread Krzysztof Kozlowski
On 28.10.2015 12:14, Alim Akhtar wrote: > Hello, > > On 10/28/2015 07:47 AM, Krzysztof Kozlowski wrote: >> On 28.10.2015 10:53, Mark Brown wrote: >>> On Wed, Oct 28, 2015 at 10:29:56AM +0900, Krzysztof Kozlowski wrote: >>> If that's true, then don't add new compatibles, new names etc. Re-use.

Re: [PATCH v3] serial: support 16-bit register interface for console

2015-10-27 Thread Masahiro Yamada
Hi Peter, 2015-10-27 22:53 GMT+09:00 Peter Hurley : > Hi Masahiro, > > On 10/26/2015 12:11 AM, Masahiro Yamada wrote: >> Currently, 8-bit (MMIO) and 32-bit (MMIO32) register interfaces are >> supported for the 8250 console, but the 16-bit (MMIO16) is not. >> The 8250 UART device on my board is con

[PATCH] phy: core: Get a refcount to phy in devm_of_phy_get_by_index()

2015-10-27 Thread Chunfeng Yun
On driver detach, devm_phy_release() will put a refcount to the phy, so gets a refconut to it before return. Signed-off-by: Chunfeng Yun --- drivers/phy/phy-core.c | 21 +++-- 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/drivers/phy/phy-core.c b/drivers/phy/phy-

Re: [PATCH v2 1/2] serial: 8250_early: do not save and restore IER in write callback

2015-10-27 Thread Masahiro Yamada
Hi Peter, 2015-10-27 22:54 GMT+09:00 Peter Hurley : > Hi Masahiro, > > On 10/24/2015 12:17 AM, Masahiro Yamada wrote: >> The IER has already been masked in early_serial8250_setup(), there is >> no reason to save and restore it every time early_serial8250_write() >> is called. >> >> Signed-off-by:

Re: [PATCH v3 5/5] drivers/rtc/rtc-s5m.c: add support for S2MPS15 RTC

2015-10-27 Thread Alim Akhtar
Hello, On 10/28/2015 07:47 AM, Krzysztof Kozlowski wrote: On 28.10.2015 10:53, Mark Brown wrote: On Wed, Oct 28, 2015 at 10:29:56AM +0900, Krzysztof Kozlowski wrote: If that's true, then don't add new compatibles, new names etc. Re-use. No new code needed, no changes needed. Keep it simple.

[PATCH v3] PM / suspend: replacing printk

2015-10-27 Thread Saurabh Sengar
replacing printk(s) with appropriate pr_info and pr_err in order to fix checkpatch.pl warnings Signed-off-by: Saurabh Sengar --- kernel/power/suspend.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kernel/power/suspend.c b/kernel/power/suspend.c index 7e4cda4..7fec885

Re: [PATCH] KVM: x86: fix eflags state following processor init/reset

2015-10-27 Thread Wanpeng Li
Ping, :-) On 10/21/15 2:28 PM, Wanpeng Li wrote: Reference SDM 3.4.3: Following initialization of the processor (either by asserting the RESET pin or the INIT pin), the state of the EFLAGS register is 0002H. However, the eflags fixed bit is not set and other bits are also not cleared during

Re: [PATCH 2/7 v2] powerpc/dma-mapping: override dma_get_page_shift

2015-10-27 Thread Benjamin Herrenschmidt
On Tue, 2015-10-27 at 19:30 -0700, Nishanth Aravamudan wrote: > On 28.10.2015 [11:20:05 +0900], Benjamin Herrenschmidt wrote: > > On Tue, 2015-10-27 at 18:54 -0700, Nishanth Aravamudan wrote: > > > > > > In "bypass" mode, what TCE size is used? Is it guaranteed to be > > > 4K? > > > > None :-) Th

Re: [PATCH] ARM: perf: ensure the cpu is available to scheduler when set irq affinity

2015-10-27 Thread Li RongQing
On Wed, Oct 28, 2015 at 12:47 AM, Will Deacon wrote: >> + continue; >> + > > Isn't this all racy against concurrent hotplug events? We're probably > better off requesting the IRQs at PMU probe time, since we no longer have > to worry about sharing the IRQ lines with oth

[PATCH v3] PM / suspend: replacing printk

2015-10-27 Thread Saurabh Sengar
replacing printk(s) with appropriate pr_info and pr_err in order to fix checkpatch.pl warnings. Signed-off-by: Saurabh Sengar --- kernel/power/suspend.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kernel/power/suspend.c b/kernel/power/suspend.c index 7e4cda4..7fec88

[PATCH] of: simplify arch_find_n_match_cpu_physical_id() function

2015-10-27 Thread Masahiro Yamada
This commit does not change the function behavior. Signed-off-by: Masahiro Yamada --- drivers/of/base.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/of/base.c b/drivers/of/base.c index 8b5a187..017dd94 100644 --- a/drivers/of/base.c +++ b/drivers/of/base.c @@

Re: [PATCH 5/8] mm: memcontrol: account socket memory on unified hierarchy

2015-10-27 Thread Johannes Weiner
On Tue, Oct 27, 2015 at 05:45:32PM -0700, David Miller wrote: > From: Johannes Weiner > Date: Tue, 27 Oct 2015 09:42:27 -0700 > > > On Tue, Oct 27, 2015 at 05:15:54PM +0100, Michal Hocko wrote: > >> > For now, something like this as a boot commandline? > >> > > >> > cgroup.memory=nosocket > >>

Re: [patch 3/3] vmstat: Create our own workqueue

2015-10-27 Thread Christoph Lameter
On Wed, 28 Oct 2015, Tejun Heo wrote: > The only thing necessary here is WQ_MEM_RECLAIM. I don't see how > WQ_SYSFS and WQ_FREEZABLE make sense here. Subject: vmstat: Remove WQ_FREEZABLE and WQ_SYSFS Signed-off-by: Christoph Lameter Index: linux/mm/vmstat.c ==

Re: [PATCH RESEND v2 net-next] net: hisilicon: updates HNS config and documents

2015-10-27 Thread David Miller
From: huangdaode Date: Tue, 27 Oct 2015 19:16:34 +0800 > From: yankejian > > updates the bindings documents and dtsi file according to the review > comments[https://lkml.org/lkml/2015/9/21/670] from Rob Herring > > > Acked-by: Rob Herring > Signed-off-by: yankejian > Signed-off-by: huangda

Re: [PATCH] vhost: fix performance on LE hosts

2015-10-27 Thread David Miller
From: "Michael S. Tsirkin" Date: Tue, 27 Oct 2015 11:37:39 +0200 > commit 2751c9882b947292fcfb084c4f604e01724af804 ("vhost: cross-endian > support for legacy devices") introduced a minor regression: even with > cross-endian disabled, and even on LE host, vhost_is_little_endian is > checking is_le

Re: [PATCH 01/70] cpufreq: interactive: New 'interactive' governor

2015-10-27 Thread Viresh Kumar
Hi Bálint, On 28-10-15, 01:59, Rafael J. Wysocki wrote: > On Tuesday, October 27, 2015 06:29:49 PM Bálint Czobor wrote: > > From: Mike Chan > > > > This governor is designed for latency-sensitive workloads, such as > > interactive user interfaces. The interactive governor aims to be > > signifi

Re: [PATCH] net: hns: fixes the bug tested XGE by ethtool -p

2015-10-27 Thread David Miller
From: yankejian Date: Tue, 27 Oct 2015 17:17:40 +0800 > From: Li Peng > > delete action of ETHTOOL_ID_ON/ETHTOOL_ID_OFF in XGE ethtool -p, > so Hardware control the LED state instead of software. > > Signed-off-by: Li Peng > Signed-off-by: Yisen Zhuang > Signed-off-by: yankejian Applied. -

  1   2   3   4   5   6   7   8   9   10   >