[PATCH] Document that IRQ_NONE should be returned when IRQ not actually *handled*

2015-10-28 Thread David Woodhouse
Our IRQ storm detection works when an interrupt handler returns IRQ_NONE for thousands of consecutive interrupts in a second. It doesn't hurt to occasionally return IRQ_NONE when the interrupt is actually genuine. Drivers should only be returning IRQ_HANDLED if they have actually *done* something

Re: [PATCH 08/10] merge_config.sh: use trap for cleanup

2015-10-28 Thread Darren Hart
On Wed, Oct 28, 2015 at 09:42:09AM +0900, Olof Johansson wrote: > Use the trap to cleanup even on regular exit. > > Signed-off-by: Olof Johansson > --- > scripts/kconfig/merge_config.sh | 8 +--- > 1 file changed, 5 insertions(+), 3 deletions(-) > > diff --git

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

2015-10-28 Thread Andy Lutomirski
On Tue, Oct 27, 2015 at 11:53 PM, David Woodhouse wrote: > 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? ... Shhh, it's a secret! I

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

2015-10-28 Thread Michael S. Tsirkin
On Tue, Oct 27, 2015 at 11:38:58PM -0700, Andy Lutomirski wrote: > 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

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

2015-10-28 Thread Michael S. Tsirkin
On Tue, Oct 27, 2015 at 10:30:19PM -0700, Andy Lutomirski wrote: > 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

Re: [PATCH 07/10] merge_config.sh: add tests

2015-10-28 Thread Olof Johansson
On Wed, Oct 28, 2015 at 4:00 PM, Darren Hart wrote: > On Wed, Oct 28, 2015 at 09:42:08AM +0900, Olof Johansson wrote: >> For being a small script, merge_config.sh is fairly scary to change since >> there's no >> real way to know if you did something wrong. So it seems appropriate to add >> a

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

2015-10-28 Thread Darren Hart
On Wed, Oct 28, 2015 at 01:30:59AM -0400, Bruce Ashfield wrote: > On 10/28/2015 01:02 AM, Darren Hart wrote: > >On Wed, Oct 28, 2015 at 09:42:01AM +0900, Olof Johansson wrote: > >>- The script now prints the warnings on stderr, and returns non-0 when > >> something is encountered > > > >This one

Re: [PATCH] drm/vmwgfx: switch from ioremap_cache to memremap

2015-10-28 Thread Thomas Hellstrom
Dan, On 10/19/2015 11:34 PM, Williams, Dan J wrote: > On Tue, 2015-10-13 at 20:52 +0200, Thomas Hellstrom wrote: >>> Ok, I'll make local read_fifo() and write_fifo() macros to make this >>> explicit. Are these names ok with you? >> Sure. >> > So I ended up just leaving the __iomem annotation on

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

2015-10-28 Thread Rafael J. Wysocki
On Wednesday, October 28, 2015 12:16:35 PM Viresh Kumar wrote: > 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

Re: perf: fuzzer triggered trouble on AMD, maybe ibs related

2015-10-28 Thread Stephane Eranian
On Thu, Oct 22, 2015 at 6:46 PM, Vince Weaver wrote: > Hello > > I've been busy but finally had a chance to run perf_fuzzer on current git. > I am running on an AMD A10 system (my traditional Haswell system is > otherwise occupied). > > I got the following WARNING which was followed by an NMI

Re: [PATCH 1/6] dmaengine: tegra-apb: Correct runtime-pm usage

2015-10-28 Thread Vinod Koul
On Fri, Oct 16, 2015 at 09:25:52AM +0100, Jon Hunter wrote: > @@ -1182,14 +1182,11 @@ static int tegra_dma_alloc_chan_resources(struct > dma_chan *dc) > { > struct tegra_dma_channel *tdc = to_tegra_dma_chan(dc); > struct tegra_dma *tdma = tdc->tdma; > - int ret; > >

[PATCH v2] cputime: fix invalid gtime

2015-10-28 Thread Hiroshi Shimamoto
From: Hiroshi Shimamoto /proc/stats shows invalid gtime when the thread is running in guest. When vtime accounting is not enabled, we cannot get a valid delta. The delta is calculated now - tsk->vtime_snap, but tsk->vtime_snap is only updated when vtime accounting is enabled. This patch makes

Re: [PATCH 07/10] merge_config.sh: add tests

2015-10-28 Thread Darren Hart
On Wed, Oct 28, 2015 at 09:42:08AM +0900, Olof Johansson wrote: > For being a small script, merge_config.sh is fairly scary to change since > there's no > real way to know if you did something wrong. So it seems appropriate to add a > simple > test suite. > > I've started with testcases in the

[PATCH] lpfc: replaced kmalloc + memset with kzalloc

2015-10-28 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 ---

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

2015-10-28 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()

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

2015-10-28 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 @@

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

2015-10-28 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?

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

2015-10-28 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

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

2015-10-28 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

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

2015-10-28 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

Re: character driver - poll() timeout

2015-10-28 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-28 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.

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

2015-10-28 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

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

2015-10-28 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

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

2015-10-28 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

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

2015-10-28 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-28 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

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

2015-10-28 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-28 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

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

2015-10-28 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 +++

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

2015-10-28 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:

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

2015-10-28 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

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

2015-10-28 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

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

2015-10-28 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-28 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

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

2015-10-28 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. > >

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

2015-10-28 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-28 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-28 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

[GIT] Networking

2015-10-28 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-28 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-28 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

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

2015-10-28 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

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

2015-10-28 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

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

2015-10-28 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

Re: [PATCH 3/9] powerpc32: checksum_wrappers_64 becomes checksum_wrappers

2015-10-28 Thread Anton Blanchard
Hi Scott, > I wonder why it was 64-bit specific in the first place. I think it was part of a series where I added my 64bit assembly checksum routines, and I didn't step back and think that the wrapper code would be useful on 32 bit. Anton -- To unsubscribe from this list: send the line

[PATCH 3/3] ARC: mm: HIGHMEM: switch to using phys_addr_t for physical addresses

2015-10-28 Thread Vineet Gupta
This allows PAE40 support in next patch when we switch to > 32-bits of physical addresses Signed-off-by: Vineet Gupta --- arch/arc/include/asm/cacheflush.h | 8 arch/arc/mm/cache.c | 26 +- arch/arc/mm/tlb.c |

Re: [PATCH] MAINTAINERS: Start using the 'reviewer' (R) tag

2015-10-28 Thread Lee Jones
On Wed, 28 Oct 2015, Javier Martinez Canillas wrote: > Hello Joe, > > On Wed, Oct 28, 2015 at 12:06 PM, Joe Perches wrote: > > On Wed, 2015-10-28 at 11:53 +0100, Javier Martinez Canillas wrote: > >> (Lee) think(s) that the difference between a maintainer and > >> a reviewer is

Re: [PATCH] MAINTAINERS: Start using the 'reviewer' (R) tag

2015-10-28 Thread Joe Perches
On Wed, 2015-10-28 at 12:14 +, Lee Jones wrote: > Ah, but wait. get_maintainer.pl *does* assume M means Maintainer > doesn't it? No, it looks at the "S:" line. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org

Re: [PATCH -rt] Revert "net: use synchronize_rcu_expedited()"

2015-10-28 Thread Paul E. McKenney
On Wed, Oct 28, 2015 at 03:34:00AM -0500, Josh Cartwright wrote: > On Tue, Oct 27, 2015 at 04:15:59PM -0700, Paul E. McKenney wrote: > > On Tue, Oct 27, 2015 at 08:27:53AM -0700, Eric Dumazet wrote: > > > On Tue, 2015-10-27 at 12:02 -0300, Arnaldo Carvalho de Melo wrote: > [..] > > > > The first

[PATCH] ntp:Fix second_overflow's input parameter type

2015-10-28 Thread DengChao
The function "second_overflow" uses "unsigned long" as its input parameter type which will overflow after year 2106 on 32bit systems. This patch replaces it with a time64_t type. Since "next_ntp_leap_sec" is already calculated, we can reuse it and avoid re-doing the division (which is now

[v6, 2/6] fsl/fman: Add FMan support

2015-10-28 Thread igal.liberman
From: Igal Liberman Add the Data Path Acceleration Architecture Frame Manger Driver. The FMan embeds a series of hardware blocks that implement a group of Ethernet interfaces. This patch adds The FMan configuration, initialization and runtime control routines. The

[v6, 3/6] fsl/fman: Add FMan MAC support

2015-10-28 Thread igal.liberman
From: Igal Liberman Add the Data Path Acceleration Architecture Frame Manger MAC support. This patch adds The FMan MAC configuration, initialization and runtime control routines. This patch contains support for these types of MACs: - dTSEC: Three speed

[v6, 1/6] fsl/fman: Add FMan MURAM support

2015-10-28 Thread igal.liberman
From: Igal Liberman Add Frame Manager Multi-User RAM support. This internal FMan memory block is used by the FMan hardware modules, the management being made through the generic allocator. The FMan Internal memory, for example, is used for allocating transmit and

[PATCH v5 5/7] vfio: platform: add compat in vfio_platform_device

2015-10-28 Thread Eric Auger
Let's retrieve the compatibility string on probe and store it in the vfio_platform_device struct Signed-off-by: Eric Auger --- v2 -> v3: - populate compat after vdev check --- drivers/vfio/platform/vfio_platform_common.c | 15 ---

[v6, 0/6] Freescale DPAA FMan

2015-10-28 Thread igal.liberman
From: Igal Liberman The Freescale Data Path Acceleration Architecture (DPAA) is a set of hardware components on specific QorIQ multicore processors. This architecture provides the infrastructure to support simplified sharing of networking interfaces and accelerators

[PATCH v5 4/7] vfio: platform: reset: calxedaxgmac: add reset function registration

2015-10-28 Thread Eric Auger
This patch adds the reset function registration/unregistration. This is handled through the module_vfio_reset_handler macro. This latter also defines a MODULE_ALIAS which simplifies the load from vfio-platform. Signed-off-by: Eric Auger Reviewed-by: Arnd Bergmann

[PATCH 7/8] Staging: rtl8192u: ieee80211: removed unnecessary braces

2015-10-28 Thread Kurt Kanzenbach
This patch fixes the following checkpatch warning: - WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Kurt Kanzenbach --- drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-)

[PATCH v5 0/7] VFIO platform reset module rework

2015-10-28 Thread Eric Auger
This series fixes the current implementation by getting rid of the usage of __symbol_get which caused a compilation issue with CONFIG_MODULES disabled. On top of this, the usage of MODULE_ALIAS makes possible to add a new reset module without being obliged to update the framework. The new

Re: [PATCH 31/52] perf stat record: Synthesize stat record data

2015-10-28 Thread Jiri Olsa
On Tue, Oct 27, 2015 at 11:42:44AM -0300, Arnaldo Carvalho de Melo wrote: > Em Sun, Oct 25, 2015 at 03:51:47PM +0100, Jiri Olsa escreveu: > > Synthesizing needed stat record data for report/script: > > - cpu/thread maps > > - stat config > > After this it gets a bit better, but then I

[PATCH 1/8] Staging: rtl8192u: ieee80211: fixed open brace positions

2015-10-28 Thread Kurt Kanzenbach
This patch fixes the following checkpatch error: - ERROR: that open brace { should be on the previous line Signed-off-by: Kurt Kanzenbach --- .../staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c | 18 ++ 1 file changed, 6 insertions(+), 12 deletions(-)

[PULL] clockevents: fixes for 4.3-rc7

2015-10-28 Thread Daniel Lezcano
Hi Thomas, this pull request contains a set of fixes for tip/timers/urgent: - Prevent ftrace recursion by adding the 'notrace' attribute to the sched_clock read callback (Jisheng Zhang). - Fix multiple shutdown call issue (Magnus Damm). Beside that, the commit

Re: [PATCH v3 1/2] ASoC: wm9713: convert to regmap

2015-10-28 Thread Charles Keepax
On Tue, Oct 27, 2015 at 10:58:21PM +0100, Robert Jarzmik wrote: > Convert the Wolfson WM9713 to regmap API. This will leverage all the > regmap functions (debug, registers update, etc ...). > > As a bonus, this will pave the path to gpio chip introduction, and > devicetree support. > >

[PATCH 2/8] clocksource/drivers/pistachio: Prevent ftrace recursion

2015-10-28 Thread Daniel Lezcano
From: Jisheng Zhang Currently pistachio can be used as a scheduler clock. We properly marked pistachio_read_sched_clock() as notrace but we then call another function pistachio_clocksource_read_cycles() that _wasn't_ notrace. Having a traceable function in the sched_clock()

[PATCH v6 08/15] scsi: ufs: add retries to dme_peer get and set attribute

2015-10-28 Thread Yaniv Gardi
The dme_peer get/set attribute commands are prone to errors, therefore we add three retries for the UIC command sending. Error code returned from ufshcd_send_uic_cmd() is checked, and unless it was successful or the retries have finished, another command will be sent. Reviewed-by: Gilad Broner

[PATCH v6 14/15] scsi: ufs: commit descriptors before setting the doorbell

2015-10-28 Thread Yaniv Gardi
Add a write memory barrier to make sure descriptors prepared are actually written to memory before ringing the doorbell. We have also added the write memory barrier after ringing the doorbell register so that controller sees the new request immediately. Reviewed-by: Dolev Raviv

Re: [RFT, PATCH v1 1/1] hexdump: truncate output in case of overflow

2015-10-28 Thread Aaro Koskinen
Hi, On Wed, Oct 28, 2015 at 12:48:19PM +0200, Andy Shevchenko wrote: > There is a classical off-by-one error in case when we try to place, for > example, 1+1 bytes as hex in the buffer of size 6. The expected result is to > get an output truncated, but in the reality we get 6 bytes filed followed

Re: [PATCH] xfrm: dst_entries_init() per-net dst_ops

2015-10-28 Thread Dan Streetman
On Tue, Oct 27, 2015 at 12:15 PM, wrote: > From: Dan Streetman > > The ipv4 and ipv6 xfrms each create a template dst_ops object, and > perform dst_entries_init() on the template objects. Then each net > namespace has its

Re: [PATCH V1 11/11] arm64, pci, acpi: Support for ACPI based PCI hostbridge init

2015-10-28 Thread Liviu . Dudau
On Wed, Oct 28, 2015 at 02:42:30PM +0100, Tomasz Nowicki wrote: > On 28.10.2015 12:49, liviu.du...@arm.com wrote: > >On Tue, Oct 27, 2015 at 05:38:42PM +0100, Tomasz Nowicki wrote: > >>Because of two patch series: > >>1. Jiang Liu's common interface to support PCI host bridge init > >>2.

[PATCH 3.12 026/123] windfarm: decrement client count when unregistering

2015-10-28 Thread Jiri Slaby
From: Paul Bolle 3.12-stable review patch. If anyone has any objections, please let me know. === commit fe2b592173ff0274e70dc44d1d28c19bb995aa7c upstream. wf_unregister_client() increments the client count when a client unregisters. That is obviously

Re: [PATCH v3 2/5] mfd: sec: Add support for S2MPS15 PMIC

2015-10-28 Thread Alim Akhtar
Hello, On 10/28/2015 02:16 PM, Lee Jones wrote: On Wed, 28 Oct 2015, Krzysztof Kozlowski wrote: On 26.10.2015 23:34, Lee Jones wrote: On Mon, 26 Oct 2015, Alim Akhtar wrote: From: Thomas Abraham Add support for S2MPS15 PMIC which is similar to S2MPS11 PMIC. The

RE: [RFC PATCH 1/2] usb: doc: Add bindings for ULPI platform driver

2015-10-28 Thread Subbaraya Sundeep Bhatta
Hi Kishon, > -Original Message- > From: Kishon Vijay Abraham I [mailto:kis...@ti.com] > Sent: Sunday, October 11, 2015 8:11 PM > To: Punnaiah Choudary Kalluri; ba...@ti.com > Cc: Rob Herring; Subbaraya Sundeep Bhatta; Peter Chen; > devicet...@vger.kernel.org; gre...@linuxfoundation.org;

Re: [PATCH v5] PCI: Xilinx-NWL-PCIe: Added support for Xilinx NWL PCIe Host Controller

2015-10-28 Thread Bjorn Helgaas
On Wed, Oct 28, 2015 at 10:17:22AM +, Bharat Kumar Gogada wrote: > > On Mon, Oct 26, 2015 at 08:26:26PM +0530, Bharat Kumar Gogada wrote: > > > Adding PCIe Root Port driver for Xilinx PCIe NWL bridge IP. > > > > + > > > + while ((status = nwl_bridge_readl(pcie, MSGF_MSI_STATUS_LO)) != > > 0)

Re: [PATCH v4 11/11] scsi: ufs-exynos: add UFS host support for Exynos SoCs

2015-10-28 Thread Kishon Vijay Abraham I
Hi, On Sunday 25 October 2015 05:34 PM, Alim Akhtar wrote: > Hi Kishon > Thanks again for you review. > > On Fri, Oct 23, 2015 at 8:48 PM, Kishon Vijay Abraham I wrote: >> Hi, >> >> On Thursday 15 October 2015 08:38 AM, Alim Akhtar wrote: >>> +CCing kishon Vijay, >>> >>> On

Re: [PATCH 0/2] perf: we can now read separate debug-info files based on a build ID

2015-10-28 Thread Arnaldo Carvalho de Melo
Em Tue, Oct 27, 2015 at 07:50:41PM -0700, Dima Kogan escreveu: > Hi. I'd like to get this merged before I forget about it and then I hit Hey, me too! But you forgot to ask me to :-) I.e. please CC whoever is listed in the MAINTAINERS file, also please next time use 'git format-patch' when

[PATCH 3/8] Staging: rtl8192u: ieee80211: added missing space around '='

2015-10-28 Thread Kurt Kanzenbach
This patch fixes the following checkpatch error: - ERROR: spaces required around that '=' Signed-off-by: Kurt Kanzenbach --- drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 5/8] Staging: rtl8192u: ieee80211: corrected indent

2015-10-28 Thread Kurt Kanzenbach
This patch corrects the indentation in five instances in the ieee80211_crypt_tkip.c file. Signed-off-by: Kurt Kanzenbach --- drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git

[PATCH 2/8] Staging: rtl8192u: ieee80211: fixed position of else statements

2015-10-28 Thread Kurt Kanzenbach
This patch fixes the following checkpatch error: - ERROR: else should follow close brace '}' Signed-off-by: Kurt Kanzenbach --- drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git

[PATCH 0/8] Staging: rtl8192u: ieee80211: checkpatch cleanups

2015-10-28 Thread Kurt Kanzenbach
This patch series corrects most checkpatch.pl errors and some warnings in the ieee80211_crypt_tkip.c file. Kurt Kanzenbach (8): Staging: rtl8192u: ieee80211: fixed open brace positions Staging: rtl8192u: ieee80211: fixed position of else statements Staging: rtl8192u: ieee80211: added

[PATCH v5 2/7] vfio: platform: add capability to register a reset function

2015-10-28 Thread Eric Auger
In preparation for subsequent changes in reset function lookup, lets introduce a dynamic list of reset combos (compat string, reset module, reset function). The list can be populated/voided with vfio_platform_register/unregister_reset. Those are not yet used in this patch. Signed-off-by: Eric

Re: [PATCH] MAINTAINERS: Start using the 'reviewer' (R) tag

2015-10-28 Thread Javier Martinez Canillas
Hello Lee, On Wed, Oct 28, 2015 at 1:14 PM, Lee Jones wrote: > On Wed, 28 Oct 2015, Lee Jones wrote: > >> On Wed, 28 Oct 2015, Javier Martinez Canillas wrote: >> >> > Hello Joe, >> > >> > On Wed, Oct 28, 2015 at 12:06 PM, Joe Perches wrote: >> > > On Wed,

[PATCH v4] VFIO: platform: reset: AMD xgbe reset module

2015-10-28 Thread Eric Auger
This patch introduces a module that registers and implements a low-level reset function for the AMD XGBE device. it performs the following actions: - reset the PHY - disable auto-negotiation - disable & clear auto-negotiation IRQ - soft-reset the MAC Those tiny pieces of code are inherited from

[PATCH v5 3/7] vfio: platform: introduce module_vfio_reset_handler macro

2015-10-28 Thread Eric Auger
The module_vfio_reset_handler macro - define a module alias - implement module init/exit function which respectively registers and unregisters the reset function. Signed-off-by: Eric Auger Reviewed-by: Arnd Bergmann --- v4 -> v5: - add Arnd's R-b v3 ->

[PATCH v6 02/15] scsi: ufs: clear fields UTRD, UPIU req and rsp before new transfers

2015-10-28 Thread Yaniv Gardi
Some of the data structures (like response UPIU) and/or its elements (unused fields) should be cleared before sending out the respective command to UFS device. This change clears the UPIU response data structure for query commands and NOP command before sending out the command. We also initialize

[PATCH v6 11/15] scsi: ufs: retry failed query flag requests

2015-10-28 Thread Yaniv Gardi
UFS flag query requests may fail sometimes due to timeouts etc. Add a wrapper function to retry up to 10 times in case of such failure, similar to retries being made for attribute queries. Reviewed-by: Dolev Raviv Signed-off-by: Gilad Broner

[PATCH v6 05/15] scsi: ufs: increase fDeviceInit query response timeout

2015-10-28 Thread Yaniv Gardi
fDeviceInit query response time for some devices is too long that default query request timeout of 100ms may not be enough. Experiments show that fDeviceInit response sometimes takes 500ms so to be on safer side this change sets the timeout to 600ms. Without this change, we might unnecessarily

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

2015-10-28 Thread Michael S. Tsirkin
On Wed, Oct 28, 2015 at 05:09:47PM +0900, David Woodhouse wrote: > On Wed, 2015-10-28 at 16:40 +0900, Christian Borntraeger wrote: > > Am 28.10.2015 um 16:17 schrieb Michael S. Tsirkin: > > > On Tue, Oct 27, 2015 at 11:38:57PM -0700, Andy Lutomirski wrote: > > > > This switches virtio to use the

Re: [PATCH v2 00/17] add fixes, device quirks, error recovery,

2015-10-28 Thread Gilad Broner
Looks good to me. Reviewed-by: Gilad Broner > V2: > This series should be pushed on top of 15 patches series: > "Big fixes, retries, handle a race condition" > fixed and few comments. > > V1: > This series should be pushed on top of 15 patches series: > "Big fixes,

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

2015-10-28 Thread Tetsuo Handa
Christoph Lameter wrote: > 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. > I can still trigger silent livelock with this patchset applied. -- [ 272.283217] MemAlloc-Info: 9

[char-misc-next 1/2] mei: bus: use correct lock ordering

2015-10-28 Thread Tomas Winkler
The correct lock order is cl_bus_lock device_lock me_clients_rwsem This order was violated in bus rescan and remove routines when me_client_rwsem was locked before cl_bus_lock. Chain exists of: [4.321653] >device_lock --> >me_clients_rwsem --> >cl_bus_lock [4.321653] [

Re: [RFC PATCH net-next 1/4] perf tools: Enable pre-event inherit setting by config terms

2015-10-28 Thread Jiri Olsa
On Wed, Oct 28, 2015 at 10:55:02AM +, Wang Nan wrote: SNIP > diff --git a/tools/perf/util/evsel.c b/tools/perf/util/evsel.c > index f820906..397fb4e 100644 > --- a/tools/perf/util/evsel.c > +++ b/tools/perf/util/evsel.c > @@ -653,6 +653,15 @@ static void apply_config_terms(struct perf_evsel

Re: [PATCH] MAINTAINERS: Start using the 'reviewer' (R) tag

2015-10-28 Thread Krzysztof Kozlowski
W dniu 28.10.2015 o 19:14, Lee Jones pisze: > On Wed, 28 Oct 2015, Krzysztof Kozlowski wrote: >> On 28.10.2015 17:24, Lee Jones wrote: >>> On Wed, 28 Oct 2015, Krzysztof Kozlowski wrote: 2015-10-28 3:44 GMT+09:00 Joe Perches : > On Tue, 2015-10-27 at 18:15 +, Lee

Re: [PATCH 1/6] dmaengine: tegra-apb: Correct runtime-pm usage

2015-10-28 Thread Jon Hunter
On 28/10/15 07:03, Vinod Koul wrote: > On Fri, Oct 16, 2015 at 09:25:52AM +0100, Jon Hunter wrote: >> @@ -1182,14 +1182,11 @@ static int tegra_dma_alloc_chan_resources(struct >> dma_chan *dc) >> { >> struct tegra_dma_channel *tdc = to_tegra_dma_chan(dc); >> struct tegra_dma *tdma =

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

2015-10-28 Thread Jon Hunter
On 28/10/15 06:53, Vinod Koul wrote: > 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()

Re: [PATCH] MAINTAINERS: Start using the 'reviewer' (R) tag

2015-10-28 Thread Lee Jones
On Wed, 28 Oct 2015, Krzysztof Kozlowski wrote: > W dniu 28.10.2015 o 19:14, Lee Jones pisze: > > On Wed, 28 Oct 2015, Krzysztof Kozlowski wrote: > >> On 28.10.2015 17:24, Lee Jones wrote: > >>> On Wed, 28 Oct 2015, Krzysztof Kozlowski wrote: > 2015-10-28 3:44 GMT+09:00 Joe Perches

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

2015-10-28 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,

Re: [PATCH 2/2] efi: Fix warning of int-to-pointer-cast on x86 32-bit builds

2015-10-28 Thread Ingo Molnar
* Matt Fleming wrote: > On Fri, 23 Oct, at 12:33:29PM, Ingo Molnar wrote: > > > > Matt, do you want to take these fixes, or should I apply them directly? > > Could you please apply them directly with my Reviewed-by tag? Sure, done! Thanks, Ingo -- To

Re: [PATCH V1 11/11] arm64, pci, acpi: Support for ACPI based PCI hostbridge init

2015-10-28 Thread Liviu . Dudau
On Tue, Oct 27, 2015 at 05:38:42PM +0100, Tomasz Nowicki wrote: > Because of two patch series: > 1. Jiang Liu's common interface to support PCI host bridge init > 2. Refactoring of MMCONFIG, part of this patch set > now we can think about PCI buses enumeration for ARM64 and ACPI tables. > > This

Re: [PATCH 31/52] perf stat record: Synthesize stat record data

2015-10-28 Thread Jiri Olsa
On Tue, Oct 27, 2015 at 11:42:44AM -0300, Arnaldo Carvalho de Melo wrote: SNIP > > So, I'm creating a perf/stat branch and putting what I processed so far, with > the changelog edits and changes in some function/struct names I > partially mentioned, please try to continue from there, ok? ok,

Re: [PATCH] MAINTAINERS: Start using the 'reviewer' (R) tag

2015-10-28 Thread Lee Jones
On Wed, 28 Oct 2015, Lee Jones wrote: > On Wed, 28 Oct 2015, Javier Martinez Canillas wrote: > > > Hello Joe, > > > > On Wed, Oct 28, 2015 at 12:06 PM, Joe Perches wrote: > > > On Wed, 2015-10-28 at 11:53 +0100, Javier Martinez Canillas wrote: > > >> (Lee) think(s) that the

<    5   6   7   8   9   10   11   12   13   14   >