Re: [PATCH 2/2] phy: driver for Conexant Digicolor internal USB PHY

2015-03-31 Thread Kishon Vijay Abraham I
Hi, On Tuesday 31 March 2015 05:04 PM, Baruch Siach wrote: Hi Marek, On Sat, Mar 28, 2015 at 04:33:02PM +0100, Marek Vasut wrote: On Friday, March 27, 2015 at 05:36:29 AM, Baruch Siach wrote: Add a driver for the USB PHY on the Conexant CX92755 SoC, from the Digicolor series of SoCs. The PHY

[PATCH V2 0/3] timers: Allocate per-cpu tvec_base's statically

2015-03-31 Thread Viresh Kumar
Hi Ingo/Thomas, This is V2 of the cleanups around timer-core initialization sent earlier. These make initialization of tvec_base's simpler by statically allocating memory for them, and removing the need of initializing them again on CPU hotplug. V1->V2: - Dropped 2/3 from earlier set, which

Re: [PATCH v2 0/3] Balanced slots, attempt #2

2015-03-31 Thread Henrik Rydberg
On 03/31/2015 05:07 PM, Benjamin Tissoires wrote: > Hi, > > so this is the v2 with Hans' ack and Henrik's respin of the first patch. The whole series looks good, thank you Benjamin. Acked-by: Henrik Rydberg Henrik -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

Re: [PATCHSET 1/3 v2 block/for-4.1/core] writeback: cgroup writeback support

2015-03-31 Thread Tejun Heo
://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git review-cgroup-writeback-20150331 git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git review-cgroup-writeback-backpressure-20150331 git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git review-cgroup-writeback-switch-20150331 Jan

Re: [Linux-nvdimm] [PATCH 4/6] SQUSHME: pmem: Micro cleaning

2015-03-31 Thread Boaz Harrosh
On 03/31/2015 06:17 PM, Dan Williams wrote: > On Tue, Mar 31, 2015 at 6:27 AM, Boaz Harrosh wrote: >> >> Some error checks had unlikely some did not. Put unlikely >> on all error handling paths. >> (I like unlikely for error paths specially for readability) > > "unlikely()" is not a readability

Re: lz4: fix system halted at boot kernel x86_64 compressed lz4

2015-03-31 Thread Greg KH
On Wed, Mar 25, 2015 at 08:04:59AM +0100, Krzysztof Kolasa wrote: > On 25.03.2015 01:44, David Sterba wrote: > > On Tue, Mar 24, 2015 at 12:27:25PM +0100, Krzysztof Kolasa wrote: > >> lz4: fix system halted at boot kernel x86_64 compressed lz4 > >> > >> Decompression process ends with an error

Re: [RESEND PATCH] MAINTAINERS: change the Atmel audio alsa driver entry

2015-03-31 Thread Mark Brown
On Tue, Mar 31, 2015 at 03:34:51PM +0200, Nicolas Ferre wrote: > I take over the the maintainship of Atmel alsa drivers from Voice. > Thanks for your work! Applied, thanks. signature.asc Description: Digital signature

RE: [PATCH v2 7/8] net/macb: fix the peripheral version test

2015-03-31 Thread Punnaiah Choudary Kalluri
> -Original Message- > From: Nicolas Ferre [mailto:nicolas.fe...@atmel.com] > Sent: Tuesday, March 31, 2015 6:32 PM > To: linux-arm-ker...@lists.infradead.org; net...@vger.kernel.org; David S. > Miller > Cc: linux-kernel@vger.kernel.org; Boris BREZILLON; Cyrille Pitchen; Alexandre >

Re: [RFC PATCH 2/2] Kbuild: avoid partial linking of drivers/built-in.o

2015-03-31 Thread Nicolas Pitre
On Mon, 30 Mar 2015, Ard Biesheuvel wrote: > On 30 March 2015 at 16:13, Michal Marek wrote: > > On 2015-03-30 15:31, Ard Biesheuvel wrote: > >> On 30 March 2015 at 15:26, Russell King - ARM Linux > >> wrote: > >>> On Mon, Mar 30, 2015 at 02:38:35PM +0200, Michal Marek wrote: > Is this a

[PATCH V2 3/3] timer: Further simplify SMP and HOTPLUG logic

2015-03-31 Thread Viresh Kumar
From: Peter Zijlstra Remove one CONFIG_HOTPLUG_CPU #ifdef in trade for introducing one CONFIG_SMP #ifdef. The CONFIG_SMP ifdef avoids declaring the per-cpu __tvec_bases storage on UP systems since they already have boot_tvec_bases. Also (re)add a runtime check on the base alignment -- for the

[PATCH V2 1/3] timer: Allocate per-cpu tvec_base's statically

2015-03-31 Thread Viresh Kumar
From: Peter Zijlstra Memory for tvec_base is allocated separately for boot CPU (statically) and non-boot CPUs (dynamically). The reason is because __TIMER_INITIALIZER() needs to set ->base to a valid pointer (because we've made NULL special, hint: lock_timer_base()) and we cannot get a compile

[PATCH V2 2/3] timer: Don't initialize tvec_base on hotplug

2015-03-31 Thread Viresh Kumar
There is no need to call init_timers_cpu() on every cpu hotplug event, there is not much we need to reset. - Timer-lists are already empty at the end of migrate_timers(). - timer_jiffies will be refreshed while adding a new timer, after the CPU is online again. - active_timers and

Re: [Linux-nvdimm] [PATCH 4/6] SQUSHME: pmem: Micro cleaning

2015-03-31 Thread Dan Williams
On Tue, Mar 31, 2015 at 6:27 AM, Boaz Harrosh wrote: > > Some error checks had unlikely some did not. Put unlikely > on all error handling paths. > (I like unlikely for error paths specially for readability) "unlikely()" is not a readability hint, it's specifically for branches that profiling

Re: [PATCH 4/9 net-next] ipv6: replace if/BUG by BUG_ON

2015-03-31 Thread David Miller
From: YOSHIFUJI Hideaki Date: Tue, 31 Mar 2015 12:50:27 +0900 > Hi, > > Fabian Frederick wrote: >> Signed-off-by: Fabian Frederick >> --- >> net/ipv6/addrconf.c | 3 +-- >> net/ipv6/esp6.c | 3 +-- >> net/ipv6/netfilter/nf_conntrack_reasm.c | 3 +--

Re: [PATCH] staging: lustre: replace kzalloc with copy_from_user with memdup_user

2015-03-31 Thread Julia Lawall
On Tue, 31 Mar 2015, Dhere, Chaitanya (C.) wrote: > This patch replaces kzalloc and copy_from_user with memdup_user call > This change was detected with coccinelle tool > > Signed-off-by: Chaitanya Dhere > --- > drivers/staging/lustre/lustre/llite/file.c | 11 +++ > 1 file changed, 3

[PATCH] virtio_config: reorder functions

2015-03-31 Thread Michael S. Tsirkin
This simply reorders functions in virtio_config so width access wrapper helpers are all together. Drops an extra empty line while we are at it. Signed-off-by: Michael S. Tsirkin --- include/linux/virtio_config.h | 15 +++ 1 file changed, 7 insertions(+), 8 deletions(-) diff --git

Re: [PATCH] fs: show locked and lock_ro options in mountinfo

2015-03-31 Thread Andrey Wagin
2015-03-28 1:47 GMT+03:00 Richard Weinberger : > Hi! > > Am 27.03.2015 um 23:35 schrieb Andrey Wagin: >> 2015-03-28 0:42 GMT+03:00 Richard Weinberger : >>> On Fri, Mar 27, 2015 at 9:39 PM, Andrey Vagin wrote: I don't see any reasons to hide them. This information can help to understand

Re: [v4 2/8] iommu, x86: Define new irte structure for VT-d Posted-Interrupts

2015-03-31 Thread Joerg Roedel
On Tue, Mar 24, 2015 at 02:32:01AM +, Wu, Feng wrote: > > I think it is better to put this as a union into struct irte. It saves > > memory and unnecessary casting in later patches. > > Thanks for the comments! Thinking more about this, I think its probably fine to keep the two versions of

[PATCH] TESTCASE: of: OOPS when disabling node via OF_DYNAMIC

2015-03-31 Thread Wolfram Sang
From: Wolfram Sang I wanted to disable a node via OF_DYNAMIC by setting its status to disabled. This code is the minimal testcase, the same happens in a more complex scenario. There is something wrong with freeing resources. Is my module wrong? Or is it a bug? Crashlog without

RE: [PATCH v2 8/8] net/macb: unify peripheral version testing

2015-03-31 Thread Punnaiah Choudary Kalluri
> -Original Message- > From: Nicolas Ferre [mailto:nicolas.fe...@atmel.com] > Sent: Tuesday, March 31, 2015 6:32 PM > To: linux-arm-ker...@lists.infradead.org; net...@vger.kernel.org; David S. > Miller > Cc: linux-kernel@vger.kernel.org; Boris BREZILLON; Cyrille Pitchen; Alexandre >

[PATCH v2 3/3] Input: synaptics - allocate 3 slots to keep stability in image sensors

2015-03-31 Thread Benjamin Tissoires
When slowly dropping 1, 2 and then 3 fingers on an image sensor touchpad, we can see that the first finger gets reassigned a new slot while it did not move. This is due to the kernel tracking algorithm which can not assign correctly the 3 touches, being out of slots. Declaring that we support 3

Re: another pmem variant V2

2015-03-31 Thread Boaz Harrosh
On 03/31/2015 12:25 PM, Christoph Hellwig wrote: > On Thu, Mar 26, 2015 at 06:57:47PM +0200, Boaz Harrosh wrote: <> > > Any news? I'd really like to resend this ASAP to get it into 4.1.. Hi Christoph I hate to be bearer of bad news but we have a problem with the e820 patch: x86: add

Re: smp_call_function_single lockups

2015-03-31 Thread Linus Torvalds
On Mon, Mar 30, 2015 at 8:15 PM, Chris J Arges wrote: > > I modified the posted patch with the following: Actually, in addition to Ingo's patches (and the irq printout), which you should try first, if none of that really gives any different behavior, can modify that ack_APIC_irq() debugging code

[PATCH v2 07/10] KVM: arm64: guest debug, add support for single-step

2015-03-31 Thread Alex Bennée
This adds support for single-stepping the guest. As userspace can and will manipulate guest registers before restarting any tweaking of the registers has to occur just before control is passed back to the guest. Furthermore while guest debugging is in effect we need to squash the ability of the

[PATCH] Revert "drm/i915: Performed deferred clflush inside set-cache-level"

2015-03-31 Thread Sudip Mukherjee
This reverts commit <0f71979ab7fbd0c71c41c2798de3d33937915434>. my display was getting garbled for a moment very frequently. it looked like when the screen was getting refreshed then something was going wrong. git bisect gave this as the first bad commit, and after reverting it now display is not

[PATCH v2 09/10] KVM: arm64: trap nested debug register access

2015-03-31 Thread Alex Bennée
When we are using the hardware registers for guest debug we need to deal with the guests access to them. There is already a mechanism for dealing with these accesses so we build on top of that. - mdscr_el1_bits is renamed as we save the whole register - any access to mdscr_el1 is now stored

[PATCH v2 02/10] KVM: define common __KVM_GUESTDBG_USE_SW/HW_BP values

2015-03-31 Thread Alex Bennée
Currently x86, powerpc and soon arm64 use the same two architecture specific bits for guest debug support for software and hardware breakpoints. This makes the shared values explicit while leaving the gate open for another architecture to use some other value if they really really want to.

[PATCH v2 08/10] KVM: arm64: guest debug, HW assisted debug support

2015-03-31 Thread Alex Bennée
This adds support for userspace to control the HW debug registers for guest debug. We'll only copy the $ARCH defined number across as that is all that hyp.S will use anyway. I've moved some helper functions into the hw_breakpoint.h header for re-use. As with single step we need to tweak the guest

[PATCH v2 06/10] KVM: arm64: guest debug, add SW break point support

2015-03-31 Thread Alex Bennée
This adds support for SW breakpoints inserted by userspace. We do this by trapping all BKPT exceptions in the hypervisor (MDCR_EL2_TDE). The kvm_debug_exit_arch carries the address of the exception. If user-space doesn't know of the breakpoint then we have a guest inserted breakpoint and the

[PATCH v2 04/10] KVM: arm: guest debug, add stub KVM_SET_GUEST_DEBUG ioctl

2015-03-31 Thread Alex Bennée
This commit adds a stub function to support the KVM_SET_GUEST_DEBUG ioctl. Currently any operation flag will return EINVAL. Actual functionality will be added with further patches. Signed-off-by: Alex Bennée . --- v2 - simplified form of the ioctl (stuff will go into setup_debug) diff --git

[PATCH v2 05/10] KVM: arm: introduce kvm_arch_setup/clear_debug()

2015-03-31 Thread Alex Bennée
This is a precursor for later patches which will need to do more to setup debug state before entering the hyp.S switch code. The existing functionality for setting mdcr_el2 has been moved out of hyp.S and now uses the value kept in vcpu->arch.mdcr_el2. This also moves the conditional setting of

Re: [PATCH v4 00/14] Add kdbus implementation

2015-03-31 Thread Tom Gundersen
On Tue, Mar 31, 2015 at 3:58 PM, Andy Lutomirski wrote: > On Mon, Mar 30, 2015 at 9:56 AM, David Herrmann wrote: >> Hi >> >> On Wed, Mar 25, 2015 at 7:12 PM, Andy Lutomirski wrote: >>> On Wed, Mar 25, 2015 at 10:29 AM, David Herrmann >>> wrote: >> [...] > I could be wrong about the lack

[PATCH v2 01/10] KVM: add commentary for kvm_debug_exit_arch struct

2015-03-31 Thread Alex Bennée
Bring into line with the commentary for the other structures and their KVM_EXIT_* cases. Signed-off-by: Alex Bennée --- v2 - add comments for other exit types diff --git a/include/uapi/linux/kvm.h b/include/uapi/linux/kvm.h index 8055706..5eedf84 100644 --- a/include/uapi/linux/kvm.h +++

[PATCH] staging: lustre: replace kzalloc with copy_from_user with memdup_user

2015-03-31 Thread Dhere, Chaitanya (C.)
This patch replaces kzalloc and copy_from_user with memdup_user call This change was detected with coccinelle tool Signed-off-by: Chaitanya Dhere --- drivers/staging/lustre/lustre/llite/file.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git

[PATCH v2 03/10] KVM: arm: guest debug, define API headers

2015-03-31 Thread Alex Bennée
This commit defines the API headers for guest debugging. There are two architecture specific debug structures: - kvm_guest_debug_arch, allows us to pass in HW debug registers - kvm_debug_exit_arch, signals the exact debug exit and pc The type of debugging being used is control by the

[PATCH v2 0/3] Balanced slots, attempt #2

2015-03-31 Thread Benjamin Tissoires
Hi, so this is the v2 with Hans' ack and Henrik's respin of the first patch. Cheers, Benjamin Benjamin Tissoires (3): Input: MT - make slot assignment work for overcovered solutions Revert "Revert "Input: synaptics - use dmax in input_mt_assign_slots"" Input: synaptics - allocate 3 slots

[PATCH v2 1/3] Input: MT - make slot assignment work for overcovered solutions

2015-03-31 Thread Benjamin Tissoires
The recent inclusion of a deassignment cost in the slot assignment algorithm did not properly account for the corner cases where the solutions are overcovered. This patch makes sure the resulting assignment is unique, allocating new slots when necessary. Signed-off-by: Henrik Rydberg

Re: restart_syscall: use freezable blocking call

2015-03-31 Thread Peter Zijlstra
On Tue, Mar 31, 2015 at 01:39:07AM +0200, Rafael J. Wysocki wrote: > > From: Maninder Singh > > Subject: kernel/time/hrtimer.c: restart_syscall: use freezable blocking call > > > > Avoid waking up every thread sleeping in a restart_syscall call during > > suspend and resume by calling a

[PATCH v2 2/3] Revert "Revert "Input: synaptics - use dmax in input_mt_assign_slots""

2015-03-31 Thread Benjamin Tissoires
This reverts commit 09d042a2eb90 ("Revert "Input: synaptics - use dmax in input_mt_assign_slots"") Now that balanced slots assignments seem to be fixed, let's reenable the use in synaptics.c and wait for users to complain if there are still problems. Signed-off-by: Benjamin Tissoires Acked-by:

Re: [PATCH RFC] nohz,blk-mq: do not create blk-mq workqueues on nohz dedicated CPUs

2015-03-31 Thread Jens Axboe
On 03/31/2015 08:27 AM, Rik van Riel wrote: CPUs with nohz_full do not want disruption from timer interrupts, or other random system things. This includes block mq work. There is another issue with block mq vs. realtime tasks that run 100% of the time, which is not uncommon on systems that

Re: d63e2e1f3df breaks sparc/T5-8

2015-03-31 Thread David Miller
From: Yinghai Lu Date: Mon, 30 Mar 2015 18:06:02 -0700 > ok, that is really non-pref mmio 64bit. > We can workaround the problem by honoring firmware setting, according > to > https://www.pcisig.com/specifications/pciexpress/base2/PCIe_Base_r2.1_Errata_08Jun10.pdf > page 13 > > Please check

Re: [PATCH 4/5] coresight-stm: adding driver for CoreSight STM component

2015-03-31 Thread Alexander Shishkin
Mathieu Poirier writes: > On 30 March 2015 at 08:04, Alexander Shishkin > wrote: >> As it looks from the above snippet, you're using a stream of DATA >> packets for user's payload. I also noticed that you use an ioctl to >> trigger timestamps. > > Right, the ioctl() conveys user space

Re: [PATCH] ti-soc-thermal: implement omap3 support

2015-03-31 Thread Grazvydas Ignotas
On Tue, Mar 31, 2015 at 11:42 AM, Pavel Machek wrote: > > This adds support for OMAP3 chips to ti-soc-thermal. As requested by > TI people, it is marked unreliable and warning is printed. > > Signed-off-by: Pavel Machek > > --- > ... > --- /dev/null > +++

Re: [PATCH RFC] nohz,blk-mq: do not create blk-mq workqueues on nohz dedicated CPUs

2015-03-31 Thread Frederic Weisbecker
On Tue, Mar 31, 2015 at 10:27:26AM -0400, Rik van Riel wrote: > CPUs with nohz_full do not want disruption from timer interrupts, > or other random system things. This includes block mq work. > > There is another issue with block mq vs. realtime tasks that run > 100% of the time, which is not

Re: [PATCH 0/2] timer: Migrate running timers

2015-03-31 Thread Viresh Kumar
On 31 March 2015 at 12:25, Viresh Kumar wrote: > While queuing a timer, we try to migrate it to a non-idle core if the local > core > is idle, but we don't try that if the timer is re-armed from its handler. > > There were few unsolved problems due to which it was avoided until now. But > there

Re: [PATCH v3] spi: Add SPI driver for Mikrotik RB4xx series boards

2015-03-31 Thread Andy Shevchenko
On Tue, Mar 31, 2015 at 5:11 PM, Bert Vermeulen wrote: > This driver mediates access between the connected CPLD and other devices > on the bus. > > The m25p80-compatible boot flash and (some models) MMC use regular SPI, > bitbanged as required by the SoC. However the SPI-connected CPLD has > a

Re: [LKP] [Btrfs] 3a8b36f3780: -62.6% fileio.requests_per_sec

2015-03-31 Thread Filipe Manana
On 03/31/2015 09:32 AM, Huang Ying wrote: > Hi, Filipe, > > On Wed, 2015-03-18 at 10:05 +, Filipe Manana wrote: > [snip] > >> Hi, thanks for this. >> >> However this doesn't make sense to me. >> This commit only touches btrfs' fsync handler and the test uses sysbench >> without passing

Re: [PATCH 1/3] Input: mt - prevent balanced slot assignment to assign twice the slot

2015-03-31 Thread Benjamin Tissoires
Hi Henrik, On Mar 31 2015 or thereabouts, Henrik Rydberg wrote: > Hi Benjamin, > > > If two touches are under the dmax distance, it looks like they can now > > be assigned to the same slot. Add a band aid to prevent such situation > > and be able to use the balanced slot assignment. > > Yes,

Re: [BUG] perf script segfault

2015-03-31 Thread Arnaldo Carvalho de Melo
Em Tue, Mar 31, 2015 at 11:37:44AM -0300, Arnaldo Carvalho de Melo escreveu: > Em Tue, Mar 31, 2015 at 04:25:57PM +0200, Jiri Olsa escreveu: > > I was just replying to the poluted ordered_events .. I haven't tracked > :-) Yeah, that was kinda a layering violation, its good that we can > remove

Re: [PATCH] xen-blkback: define pr_fmt macro to avoid the duplication of DRV_PFX

2015-03-31 Thread Roger Pau Monné
El 31/03/15 a les 23.14, Tao Chen ha escrit: > Define pr_fmt macro with {xen-blkback: } prefix, then remove all use > of DRV_PFX in the pr and DPRINTK sentences. It will simplify the code. > > And if the pr sentences miss a \n, add it in the end. If the DPRINTK > sentences have redundant \n,

Re: [PATCH 1/2] timer: Avoid waking up an idle-core by migrate running timer

2015-03-31 Thread Peter Zijlstra
On Tue, Mar 31, 2015 at 12:25:16PM +0530, Viresh Kumar wrote: > Cc: Steven Miao > +#define TIMER_FLAG_MASK 0x7LU So Steven, this will break compilation on blackfin because that makes cacheline_aligned a NOP while we assume it will generate

Re: [PATCH v3 5/7] dmaengine: omap-dma: Take DMA request number from DT if it is available

2015-03-31 Thread Peter Ujfalusi
On 03/27/2015 10:24 PM, Russell King - ARM Linux wrote: > On Fri, Mar 27, 2015 at 02:26:51PM +0200, Peter Ujfalusi wrote: >> +if (!pdev->dev.of_node || of_property_read_u32(pdev->dev.of_node, >> + "dma-requests", >> +

Re: [PATCH v2 3/5] mmc: mediatek: Add PM support for MMC driver

2015-03-31 Thread Ulf Hansson
On 17 March 2015 at 04:13, Chaotian Jing wrote: > Add PM support for Mediatek MMC driver > > Signed-off-by: Chaotian Jing > --- > drivers/mmc/host/mtk-sd.c | 94 > ++- > 1 file changed, 93 insertions(+), 1 deletion(-) > > diff --git

[PATCH] perf sched: Make cpu based arrays dynamic

2015-03-31 Thread David Ahern
Remove MAX_CPUS and static array sizing in favor of run time growth. Signed-off-by: David Ahern Cc: Ingo Molnar --- tools/perf/builtin-sched.c | 84 -- 1 file changed, 73 insertions(+), 11 deletions(-) diff --git a/tools/perf/builtin-sched.c

[PATCH] perf sched: Remove max pid assumption from perf-sched

2015-03-31 Thread David Ahern
'perf sched replay' currently fails on sparc64: $ perf sched replay run measurement overhead: 2475 nsecs sleep measurement overhead: 56165 nsecs the run test took 999705 nsecs the sleep test took 1059270 nsecs perf: builtin-sched.c:384: register_pid: Assertion `!(pid >=

Re: Revised futex(2) man page for review

2015-03-31 Thread Davidlohr Bueso
On Sat, 2015-03-28 at 12:47 +0100, Peter Zijlstra wrote: >The condition is represented by the futex word, which is an address in >memory supplied to the futex() system call, and the value at this mem‐ >ory location. (While the virtual addresses for the same memory in

[PATCH v1 0/2] *** scsi: ufs: add support for quirks ***

2015-03-31 Thread Yaniv Gardi
changes of v1: - change#1: in this version we modify ufs_qcom_host structure to hold the UFS controller revision info. - change#2: here we add quirks support for non standard behaviour of the controller. Yaniv Gardi (2): scsi: ufs-qcom: save controller revision info in internal structure

Re: [PATCH 07/12] HID: hid-lg4ff: Protect concurrent access to the output HID report values with a spinlock.

2015-03-31 Thread Jiri Kosina
On Sat, 21 Mar 2015, Michal Malý wrote: > Since all functions that need to send some data to the device they > manage share the same HID report some synchronization is needed to > prevent sending bogus data to the device. This patch is doing much more than just adding a mutual exclusion

Re: [PATCH v3 2/2] perf tool: Fix ppid for synthesized fork events

2015-03-31 Thread Jiri Olsa
On Mon, Mar 30, 2015 at 02:35:58PM -0600, David Ahern wrote: > 363b785f38 added synthesized fork events and set a thread's parent id > to itself. Since we are already processing /proc//status the ppid > can be determined properly. Make it so. > > Signed-off-by: David Ahern > Cc: Don Zickus >

Re: [PATCH v2 3/7] Introduce a new clone4 syscall with more flag bits and extensible arguments

2015-03-31 Thread David Drysdale
On Mon, Mar 23, 2015 at 3:05 PM, wrote: > On Mon, Mar 23, 2015 at 02:11:45PM +, David Drysdale wrote: >> On Sun, Mar 15, 2015 at 7:59 AM, Josh Triplett wrote: >> > diff --git a/arch/x86/ia32/ia32entry.S b/arch/x86/ia32/ia32entry.S >> > index 0286735..ba28306 100644 >> > ---

[PATCH] misc: pass miscdevice through file's private_data

2015-03-31 Thread Tom Van Braeckel
Make the miscdevice accessible through the file's private_data. Previously, this was done only when an open() file operation had been registered. If no custom open() file operation was defined, private_data was set to NULL. This subtle quirk was confusing, to the point where kernel code

Re: [PATCH 05/12] HID: hid-lg4ff: Update a warning message for a case where device is incorrectly flagged to be handled by hid-lg4ff in hid-lg.

2015-03-31 Thread Jiri Kosina
On Sat, 21 Mar 2015, Michal Malý wrote: > The original warning message was highly misleading. This warning can be > triggered only if a device is flagged to be handled by hid-lg4ff in > hid-lg but hid-lg4ff lacks support for such device. > > Signed-off-by: Michal Malý > --- >

[PATCH v1 2/2] scsi: ufs: add support to allow non standard behaviours (quirks)

2015-03-31 Thread Yaniv Gardi
Some implementation of UFS host controller HW might have some non-standard behaviours (quirks) when compared to behaviour specified by UFSHCI specification. This patch add support to allow specifying all such quirks to standard UFS host controller driver so standard driver takes them into account.

Re: [BUG] perf script segfault

2015-03-31 Thread Arnaldo Carvalho de Melo
Em Tue, Mar 31, 2015 at 04:25:57PM +0200, Jiri Olsa escreveu: > On Tue, Mar 31, 2015 at 11:13:26AM -0300, Arnaldo Carvalho de Melo wrote: > > SNIP > > > And setting tool->ordered_events to false; > > > > What fails is perf_evlist__sample_id_all(session->evlist), I went as far as > > looking at

[PATCH v1 1/2] scsi: ufs-qcom: save controller revision info in internal structure

2015-03-31 Thread Yaniv Gardi
Sometimes, specific information about the UFS controller revision is required in order to determine certain operations or execute controller dependent quirks. In order to avoid reading the controller revision multiple times, we simply read it once and save this information in internal structure.

Re: [PATCH v2 1/2] perf tool: Refactor comm/tgid lookup

2015-03-31 Thread Jiri Olsa
On Mon, Mar 30, 2015 at 02:35:57PM -0600, David Ahern wrote: > Rather than parsing /proc/pid/status file one line at a time, read > it into a buffer in one shot and search for all strings in one pass. > > tgid conversion also simplified -- removing the isspace walk. As > noted by Arnaldo those

Re: [PATCH 1/1 linux-next] Btrfs: use BTRFS_COMPRESS_NONE instead of 0

2015-03-31 Thread David Sterba
On Mon, Mar 30, 2015 at 10:21:11PM +0200, Fabian Frederick wrote: > cow_file_range_inline() was called with 0 instead of > actual definition. Please also fix the initialization in btrfs_finish_ordered_io . -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Re: [PATCH 3/3] iio: Documentation: Add initial documentaton for IIO

2015-03-31 Thread Daniel Baluta
On Sat, Mar 28, 2015 at 1:53 PM, Jonathan Cameron wrote: > On 25/03/15 19:28, Daniel Baluta wrote: >> On Wed, Mar 25, 2015 at 7:22 PM, Peter Meerwald wrote: >>> On Wed, 25 Mar 2015, Daniel Baluta wrote: >>> This file wants to be a starting point document for anyone wanting to use IIO

Re: [PATCH 3/9] perf sched replay: Alloc the memory of pid_to_task dynamically to adapt to the unexpected change of pid_max

2015-03-31 Thread David Ahern
On 3/31/15 7:46 AM, Yunlong Song wrote: diff --git a/tools/perf/builtin-sched.c b/tools/perf/builtin-sched.c index c466104..20d887b 100644 --- a/tools/perf/builtin-sched.c +++ b/tools/perf/builtin-sched.c @@ -23,6 +23,7 @@ #include #include #include +#include #define PR_SET_NAME

[PATCH RFC] nohz,blk-mq: do not create blk-mq workqueues on nohz dedicated CPUs

2015-03-31 Thread Rik van Riel
CPUs with nohz_full do not want disruption from timer interrupts, or other random system things. This includes block mq work. There is another issue with block mq vs. realtime tasks that run 100% of the time, which is not uncommon on systems that have CPUs dedicated to real time use with

Re: [PATCH v2 0/1] spi: Add driver for Routerboard RB4xx boards

2015-03-31 Thread Ralf Baechle
On Tue, Mar 31, 2015 at 09:44:25AM +0100, Mark Brown wrote: > On Mon, Mar 30, 2015 at 08:24:16PM +0200, Bert Vermeulen wrote: > > Changes in v2: > > This is a near complete rewrite of the original OpenWrt driver. All comments > > were taken into account, and the spi_transfer.fast_write flag is

Re: [BUG] perf script segfault

2015-03-31 Thread Jiri Olsa
On Tue, Mar 31, 2015 at 11:13:26AM -0300, Arnaldo Carvalho de Melo wrote: SNIP > And setting tool->ordered_events to false; > > What fails is perf_evlist__sample_id_all(session->evlist), I went as far as > looking at the perf_evlist__sample_id_all call that will find a first evsel, > with all

Re: [PATCH 2/9] perf sched replay: Increase the MAX_PID value to fix assertion failure problem

2015-03-31 Thread David Ahern
On 3/31/15 7:46 AM, Yunlong Song wrote: diff --git a/tools/perf/builtin-sched.c b/tools/perf/builtin-sched.c index a1893e8..c466104 100644 --- a/tools/perf/builtin-sched.c +++ b/tools/perf/builtin-sched.c @@ -28,7 +28,7 @@ #define MAX_CPUS 4096 #define COMM_LEN 20

[RFC] SQUASHME: pmem: Split up pmem_probe from pmem_alloc

2015-03-31 Thread Boaz Harrosh
On 03/31/2015 01:25 PM, Boaz Harrosh wrote: <> > > And one last issue. I have some configuration "hardness" with the > memmap=nn!aa Kernel command line API, it was better for me with the > pmem map= module param. Will you be OK if I split pmem_probe() into > calling pmem_alloc(addr, length), so I

Re: [PATCH v3 2/2] perf tool: Fix ppid for synthesized fork events

2015-03-31 Thread Jiri Olsa
On Tue, Mar 31, 2015 at 04:10:26PM +0200, Jiri Olsa wrote: > On Mon, Mar 30, 2015 at 02:35:58PM -0600, David Ahern wrote: > > 363b785f38 added synthesized fork events and set a thread's parent id > > to itself. Since we are already processing /proc//status the ppid > > can be determined properly.

Re: [PATCH] devpts: Add ptmx_uid and ptmx_gid options

2015-03-31 Thread Alexander Larsson
On tis, 2015-03-31 at 17:08 +0300, James Bottomley wrote: > On Tue, 2015-03-31 at 06:59 -0700, Andy Lutomirski wrote: > > > > I don't think that this is correct. That user can already create a > > nested userns and map themselves as 0 inside it. Then they can mount > > devpts. > > I don't mind

Re: [BUG] perf script segfault

2015-03-31 Thread Arnaldo Carvalho de Melo
Em Tue, Mar 31, 2015 at 11:02:16AM -0300, Arnaldo Carvalho de Melo escreveu: > Em Tue, Mar 31, 2015 at 03:58:01PM +0200, Jiri Olsa escreveu: > > On Tue, Mar 31, 2015 at 09:59:20AM -0300, Arnaldo Carvalho de Melo wrote: > > > Em Mon, Mar 30, 2015 at 08:45:33PM -0300, Arnaldo Carvalho de Melo > > >

Re: [PATCH 01/11] clocksource: arm_arch_timer: Rename arch_timer_probed to reflect behaviour

2015-03-31 Thread Laurent Pinchart
Hi Ingo, On Tuesday 31 March 2015 09:14:52 Ingo Molnar wrote: > * Daniel Lezcano wrote: > > From: Laurent Pinchart > > > > The arch_timer_probed function returns whether the given time doesn't > > need to be probed. This can be the case when the timer has been probed > > already, but also when

[PATCH v3] spi: Add SPI driver for Mikrotik RB4xx series boards

2015-03-31 Thread Bert Vermeulen
This driver mediates access between the connected CPLD and other devices on the bus. The m25p80-compatible boot flash and (some models) MMC use regular SPI, bitbanged as required by the SoC. However the SPI-connected CPLD has a "fast write" mode, in which two bits are transferred by SPI clock

Re: [PATCH v3 2/2] perf tool: Fix ppid for synthesized fork events

2015-03-31 Thread Jiri Olsa
On Mon, Mar 30, 2015 at 02:35:58PM -0600, David Ahern wrote: > 363b785f38 added synthesized fork events and set a thread's parent id > to itself. Since we are already processing /proc//status the ppid > can be determined properly. Make it so. > > Signed-off-by: David Ahern > Cc: Don Zickus >

Re: [linux-nfc] [PATCH 1/8] NFC: NCI: Allow connection close with dev down

2015-03-31 Thread Robert Dolca
On Thu, Mar 26, 2015 at 2:29 AM, Samuel Ortiz wrote: > Hi Robert, > > On Tue, Feb 24, 2015 at 12:01:45PM +0200, Robert Dolca wrote: >> By calling __nci_request instead of nci_request allows the driver to use >> the function while initializing the device (setup stage) >> >> Signed-off-by: Robert

Re: [PATCH 3/3] dt: paz00: define nvec as child of i2c bus

2015-03-31 Thread Stephen Warren
On 03/31/2015 12:40 AM, Andrey Danin wrote: Hi, Thanks for the review. On 03.02.2015 0:20, Stephen Warren wrote: On 01/29/2015 12:20 AM, Andrey Danin wrote: NVEC driver was reimplemented to use tegra i2c. Use common i2c bindings for NVEC node. diff --git

[for-next][PATCH] ring-buffer: Remove duplicate use of '&' in recursive code

2015-03-31 Thread Steven Rostedt
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git for-next Head SHA1: d631c8cceb1d1d06f372878935949d421585186b Steven Rostedt (Red Hat) (1): ring-buffer: Remove duplicate use of '&' in recursive code kernel/trace/ring_buffer.c | 5 + 1 file changed, 1

Re: [PATCH] devpts: Add ptmx_uid and ptmx_gid options

2015-03-31 Thread James Bottomley
On Tue, 2015-03-31 at 06:59 -0700, Andy Lutomirski wrote: > On Tue, Mar 31, 2015 at 6:55 AM, James Bottomley > wrote: > > On Tue, 2015-03-31 at 06:44 -0700, Andy Lutomirski wrote: > >> On Tue, Mar 31, 2015 at 6:23 AM, James Bottomley > >> wrote: > >> > On Tue, 2015-03-31 at 06:12 -0700, Andy

Re: [linux-nfc] [PATCH 4/8] NFC: NCI: Add a special nci_request for driver

2015-03-31 Thread Robert Dolca
On Thu, Mar 26, 2015 at 2:29 AM, Samuel Ortiz wrote: > Hi Robert, > > On Tue, Feb 24, 2015 at 12:01:48PM +0200, Robert Dolca wrote: >> This patch adds nci_request_driver and nci_req_complete_driver >> as a wrapper for __nci_request. When nci_req_complete_driver is >> called it also sets cmd_cnt

Re: [RFC PATCH 08/11] IB/Verbs: Use management helper has_iwarp() for, iwarp-check

2015-03-31 Thread Michael Wang
On 03/31/2015 03:42 PM, Tom Talpey wrote: > On 3/31/2015 7:41 AM, Michael Wang wrote: >> [snip] > Yes, in fact the iWARP protocol does not preclude multiple read SGEs, > even though most iWARP implementations have chosen to support just one. > > Even for multi-SGE-capable adapters, there is a

Re: [linux-nfc] [PATCH 3/8] NFC: NCI: Adds NCI init and reset API for drivers

2015-03-31 Thread Robert Dolca
On Thu, Mar 26, 2015 at 2:29 AM, Samuel Ortiz wrote: > Hi Robert, > > On Tue, Feb 24, 2015 at 12:01:47PM +0200, Robert Dolca wrote: >> In order to communicate with the device during the setup >> phase, the driver may need to initialize the device. After >> the setup is done the driver should

[PATCH] caif: remove unused struct member

2015-03-31 Thread Rasmus Villemoes
The tty_name member of struct ser_device is never set or used, so it can be removed. (The definition of struct ser_device is private to this .c file, and the identifier tty_name only occurs in this one place.) Signed-off-by: Rasmus Villemoes --- drivers/net/caif/caif_serial.c | 1 - 1 file

Re: linux-next: manual merge of the arm64 tree with the arm-soc tree

2015-03-31 Thread Catalin Marinas
Hi Stephen, On Tue, Mar 31, 2015 at 10:21:22AM +1100, Stephen Rothwell wrote: > diff --cc arch/arm64/configs/defconfig > index f3c8619f8fe1,e07896c819ef.. > --- a/arch/arm64/configs/defconfig > +++ b/arch/arm64/configs/defconfig > @@@ -31,9 -31,12 +31,13 @@@ CONFIG_MODULES= >

Re: [RFC PATCH 08/11] IB/Verbs: Use management helper has_iwarp() for, iwarp-check

2015-03-31 Thread Tom Talpey
On 3/31/2015 7:41 AM, Michael Wang wrote: Hi, Tom Thanks for the comments :-) On 03/31/2015 01:19 PM, Tom Talpey wrote: [oops - repeating my reply with full cc's] [snip] Actually I'm thinking about Doug's idea to use rdma_transport_is_XX() instead of the current basic helper, thus may

Re: [PATCH] fs: direct-io: increase bio refcount as batch

2015-03-31 Thread Jeff Moyer
Ming Lei writes: > Each bio is always submitted to block device one by one, > so it isn't necessary to increase the bio refcount by one > each time with holding dio->bio_lock. This patch opens up a race where a completion event can come in before the refcount for the dio is incremented,

Re: [BUG] perf script segfault

2015-03-31 Thread Arnaldo Carvalho de Melo
Em Tue, Mar 31, 2015 at 03:58:01PM +0200, Jiri Olsa escreveu: > On Tue, Mar 31, 2015 at 09:59:20AM -0300, Arnaldo Carvalho de Melo wrote: > > Em Mon, Mar 30, 2015 at 08:45:33PM -0300, Arnaldo Carvalho de Melo escreveu: > > > Em Mon, Mar 30, 2015 at 04:51:34PM -0600, David Ahern escreveu: > > > >

Re: [PATCH] devpts: Add ptmx_uid and ptmx_gid options

2015-03-31 Thread Andy Lutomirski
On Tue, Mar 31, 2015 at 6:55 AM, James Bottomley wrote: > On Tue, 2015-03-31 at 06:44 -0700, Andy Lutomirski wrote: >> On Tue, Mar 31, 2015 at 6:23 AM, James Bottomley >> wrote: >> > On Tue, 2015-03-31 at 06:12 -0700, Andy Lutomirski wrote: >> >> On Tue, Mar 31, 2015 at 6:07 AM, James Bottomley

Re: [PATCH V2 0/3] pinctrl: Support for IMG Pistachio

2015-03-31 Thread Ralf Baechle
On Mon, Mar 30, 2015 at 04:16:53PM -0700, Andrew Bresticker wrote: > This series adds support for the system pin and GPIO controller on the IMG > Pistachio SoC. Pistachio's system pin controller manages 99 pins, 90 of > which are MFIOs which can be muxed between multiple functions or used > as

[PATCH] x86: Factor out common CPU initialization code

2015-03-31 Thread Boris Ostrovsky
Some of x86 bare-metal and Xen CPU initialization code is common between the two and therefore can be factored out to avoid code duplication. As a side effect, doing so will also extend the fix provided by commit a7fcf28d431e ("x86/asm/entry: Replace this_cpu_sp0() with current_top_of_stack() to

Re: [PATCH v4 00/14] Add kdbus implementation

2015-03-31 Thread Andy Lutomirski
On Mon, Mar 30, 2015 at 9:56 AM, David Herrmann wrote: > Hi > > On Wed, Mar 25, 2015 at 7:12 PM, Andy Lutomirski wrote: >> On Wed, Mar 25, 2015 at 10:29 AM, David Herrmann >> wrote: > [...] I could be wrong about the lack of use cases. If so, please enlighten me. >>> >>> We have several

Re: [BUG] perf script segfault

2015-03-31 Thread Jiri Olsa
On Tue, Mar 31, 2015 at 09:59:20AM -0300, Arnaldo Carvalho de Melo wrote: > Em Mon, Mar 30, 2015 at 08:45:33PM -0300, Arnaldo Carvalho de Melo escreveu: > > Em Mon, Mar 30, 2015 at 04:51:34PM -0600, David Ahern escreveu: > > > tool was moved to ordered_events and is not initialized for pipe mode.

[PATCH 2/3] tty: return tty->name directly from tty_name

2015-03-31 Thread Rasmus Villemoes
All users of tty_name pass the return value (the provided buffer) to some printf-like function. We can thus avoid the strcpy and, more importantly, later remove the buf parameter completely, eliminating the need for some 64 byte stack buffers. Signed-off-by: Rasmus Villemoes ---

Re: [PATCH v2 0/2] i8k.c => dell-smm-hwmon.c

2015-03-31 Thread Greg Kroah-Hartman
On Mon, Mar 30, 2015 at 08:32:36PM -0700, Guenter Roeck wrote: > On 03/29/2015 05:57 AM, Pali Rohár wrote: > >This patch series moves drivers/char/i8k.c to drivers/hwmon/dell-smm-hwmon.c > >and allows to compile hwmon driver without /proc/i8k file. > > > >Pali Rohár (2): > > hwmon: Rename i8k

[PATCH 0/3] tty: eliminate 64 byte stack buffers passed to tty_name

2015-03-31 Thread Rasmus Villemoes
All users of tty_name pass the return value directly to a printf function, so we might as well use tty->name directly instead of copying it to a user-supplied (stack) buffer. allmodconfig compile-tested only. Rasmus Villemoes (3): tty: constify return type of tty_name tty: return tty->name

<    3   4   5   6   7   8   9   10   11   12   >