[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

[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

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

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

[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

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

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

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

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

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

[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

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

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

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

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

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

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

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

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

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

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

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

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:

[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

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

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

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

[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

<    8   9   10   11   12   13