RE: [v2 00/25] Add VT-d Posted-Interrupts support

2014-12-08 Thread Wu, Feng
Ping... Thanks, Feng > -Original Message- > From: Wu, Feng > Sent: Wednesday, December 03, 2014 3:39 PM > To: t...@linutronix.de; mi...@redhat.com; h...@zytor.com; x...@kernel.org; > g...@kernel.org; pbonz...@redhat.com; dw...@infradead.org; > j...@8bytes.org; alex.william...@redhat.com;

Re: using DMA-API on ARM

2014-12-08 Thread Johannes Stezenbach
On Fri, Dec 05, 2014 at 06:53:03PM +, Catalin Marinas wrote: > On Fri, Dec 05, 2014 at 06:39:45PM +, Catalin Marinas wrote: > > > > Does your system have an L2 cache? What's the SoC topology, can PCIe see > > such L2 cache (or snoop the L1 caches)? > > BTW, if you really have a PL310-like

Re: [PATCH] drivers: Kconfig: Remove duplicate sourcing of soc folder

2014-12-08 Thread Tobias Klauser
On 2014-12-08 at 14:36:24 +0100, Pramod Gurav wrote: > Folder soc/ was sourced twice somehow. Remove duplicate entry. I already sent a patch for this a while ago [1], though it wasn't applied yet. [1] http://thread.gmane.org/gmane.linux.kernel/1831623 -- To unsubscribe from this list: send the

[RFC] usb: dwc3: add DWC3_SKIP_USB3PHY and DWC3_SKIP_USB2_PHY quirks

2014-12-08 Thread Jisheng Zhang
Hi list, On platforms which has native usb hosts/phys and pci-dwc3 controller, the dwc3 core may get the wrong usb2_phy and usb3_phy by devm_usb_get_phy(). It depends on which usb phy driver is initialized firstly, the usb_phy_generic or the native/real usb phy driver. Before all old USB phy libr

Re: [PATCH] arm64: Enable CONFIG_COMPAT also for 64k page size

2014-12-08 Thread Michael Matz
Hi, On Fri, 5 Dec 2014, Alexander Graf wrote: > I don't have a full distribution for you yet, but we'll start to switch > to the 2.25 branch soon. > > Michael, what are you plans on when a first armv7 Factory build based on > 2.25 would be available? 2.25 isn't released yet, but I just submit

RE: using DMA-API on ARM

2014-12-08 Thread Hante Meuleman
Still using outlook, but will limit the line length, I hope that works for the moment. Attached is a log with the requested information, it is a little bit non-standard though. The dump code from the mm was copied in the driver and called from there, mapping the prints back to our local printf, but

Re: [PATCH] drivers: Kconfig: Remove duplicate sourcing of soc folder

2014-12-08 Thread Pramod Gurav
Thanks. :-) On Mon, Dec 8, 2014 at 7:08 PM, Tobias Klauser wrote: > On 2014-12-08 at 14:36:24 +0100, Pramod Gurav > wrote: >> Folder soc/ was sourced twice somehow. Remove duplicate entry. > > I already sent a patch for this a while ago [1], though it wasn't > applied yet. > > [1] http://thread

Re: [PATCH v14 7/7] ARM: kprobes: enable OPTPROBES for ARM 32

2014-12-08 Thread Wang Nan
On 2014/12/8 21:22, Jon Medhurst (Tixy) wrote: > On Mon, 2014-12-08 at 20:31 +0800, Wang Nan wrote: >> On 2014/12/8 20:06, Wang Nan wrote: >>> On 2014/12/8 19:50, Jon Medhurst (Tixy) wrote: On Mon, 2014-12-08 at 19:15 +0800, Wang Nan wrote: > On 2014/12/8 19:04, Jon Medhurst (Tixy) wrote:

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

2014-12-08 Thread Lee Jones
On Mon, 08 Dec 2014, Arnd Bergmann wrote: > On Monday 08 December 2014 13:00:09 Lee Jones wrote: > > On Mon, 08 Dec 2014, Arnd Bergmann wrote: > > > > > On Monday 08 December 2014 12:06:19 Stephen Rothwell wrote: > > > > Hi Stephen, > > > > > > > > Today's linux-next merge of the bcm2835 tree go

Re: [STLinux Kernel] [PATCH v2 RESEND 02/11] mtd: st_spi_fsm: Obtain and use EMI clock if provided

2014-12-08 Thread Peter Griffin
Hi Lee, On Thu, 04 Dec 2014, Lee Jones wrote: > ST's Common Clk Framework is now available. This patch ensures the FSM > makes use of it by obtaining and enabling the EMI clock if provided. If > system fails to provide the EMI clock FSM uses its original default > rate. I'm not sure I understa

Re: [PATCH] kthread: kthread_bind fails to enforce CPU affinity (fixes kernel BUG at kernel/smpboot.c:134!)

2014-12-08 Thread Steven Rostedt
On Mon, 8 Dec 2014 14:27:01 +1100 Anton Blanchard wrote: > I have a busy ppc64le KVM box where guests sometimes hit the infamous > "kernel BUG at kernel/smpboot.c:134!" issue during boot: > > BUG_ON(td->cpu != smp_processor_id()); > > Basically a per CPU hotplug thread scheduled on the wrong C

Re: [STLinux Kernel] [PATCH v3 0/4] spi: st: New driver for ST's SPI Controller

2014-12-08 Thread Maxime Coquelin
On 12/08/2014 02:22 PM, Arnd Bergmann wrote: On Monday 08 December 2014 12:53:30 Lee Jones wrote: This is a new driver which controls the SPI component of ST's Synchronous Serial Controller (SSC). How does this related to the i2c driver for drivers/i2c/busses/i2c-st.c? Could you have the same

Re: [STLinux Kernel] [PATCH v2 RESEND 02/11] mtd: st_spi_fsm: Obtain and use EMI clock if provided

2014-12-08 Thread Peter Griffin
Hi Lee, > On Thu, 04 Dec 2014, Lee Jones wrote: > > > ST's Common Clk Framework is now available. This patch ensures the FSM > > makes use of it by obtaining and enabling the EMI clock if provided. If > > system fails to provide the EMI clock FSM uses its original default > > rate. > > > > I'm

Re: [tpmdd-devel] [PATCH v8 6/8] tpm: TPM 2.0 baseline support

2014-12-08 Thread Jarkko Sakkinen
On Fri, Dec 05, 2014 at 12:13:18AM +0100, Peter Hüwe wrote: > Am Mittwoch, 3. Dezember 2014, 03:28:35 schrieb Stefan Berger: > > On 12/02/2014 05:31 PM, Jarkko Sakkinen wrote: > > > + > > > +/** > > > + * tpm2_startup() - send startup command to the TPM chip > > > + * @chip:TPM chip

[PATCH v8] spi: add support for DLN-2 USB-SPI adapter

2014-12-08 Thread Laurentiu Palcu
This adds support for Diolan DLN2 USB-SPI adapter. Information about the USB protocol interface can be found in the Programmer's Reference Manual [1], see section 5.4.6 for the SPI master module commands and responses. [1] https://www.diolan.com/downloads/dln-api-manual.pdf Signed-off-by: Lauren

[PATCH v15 6/7] kprobes: Pass the original kprobe for preparing optimized kprobe

2014-12-08 Thread Wang Nan
From: Masami Hiramatsu Pass the original kprobe for preparing an optimized kprobe arch-dep part, since for some architecture (e.g. ARM32) requires the information in original kprobe. Signed-off-by: Masami Hiramatsu Signed-off-by: Wang Nan --- arch/x86/kernel/kprobes/opt.c | 3 ++- include/lin

[PATCH v15 4/7] ARM: kprobes: disallow probing stack consuming instructions

2014-12-08 Thread Wang Nan
This patch prohibits probing instructions for which the stack requirements are unable to be determined statically. Some test cases are found not work again after the modification, this patch also removes them. Signed-off-by: Wang Nan Reviewed-by: Jon Medhurst v1 -> v2: - Use MAX_STACK_SIZE mac

[PATCH v15 0/7] ARM: kprobes: OPTPROBES and other improvements.

2014-12-08 Thread Wang Nan
This is v15 patch series of kprobeopt related code. V14 uses stop_machine() incorrectly, this version fixes it. Previous discussion can be found from: https://lkml.org/lkml/2014/12/8/21 https://lkml.org/lkml/2014/12/4/942 https://lkml.org/lkml/2014/12/4/4 https://lkml.org/lkml/2014/12/1/64 https:

[PATCH v15 1/7] ARM: probes: move all probe code to dedicate directory

2014-12-08 Thread Wang Nan
In discussion on LKML (https://lkml.org/lkml/2014/11/28/158), Russell King suggests to move all probe related code to arch/arm/probes. This patch does the work. Due to dependency on 'arch/arm/kernel/patch.h', this patch also moves patch.h to 'arch/arm/include/asm/patch.h', and related '#include' di

[PATCH v15 2/7] ARM: kprobes: introduces checker

2014-12-08 Thread Wang Nan
This patch introdces 'checker' to decoding phase, and calls checkers when instruction decoding. This allows further decoding for specific instructions. This patch introduces a stub call of checkers in kprobe arch_prepare_kprobe() as an example and for further expansion. Signed-off-by: Wang Nan R

[PATCH v15 5/7] ARM: kprobes: Add test cases for stack consuming instructions

2014-12-08 Thread Wang Nan
From: Jon Medhurst These have extra 'checker' functions associated with them so lets make sure those get covered by testing. Signed-off-by: Jon Medhurst Signed-off-by: Wang Nan v1 -> v2: - Move to arch/arm/probes/ . --- arch/arm/probes/kprobes/test-arm.c | 17 +++-- arch/arm/p

Re: linux-next: build failure after merge of the spi tree

2014-12-08 Thread Laurentiu Palcu
On Mon, Dec 08, 2014 at 11:05:17PM +1100, Stephen Rothwell wrote: > Hi Mark, > > After merging the spi tree, today's linux-next build (powerpc > allyesconfig) failed like this: > > drivers/spi/spi-dln2.c: In function 'dln2_spi_copy_from_buf': > drivers/spi/spi-dln2.c:415:4: error: implicit declar

[PATCH v15 7/7] ARM: kprobes: enable OPTPROBES for ARM 32

2014-12-08 Thread Wang Nan
This patch introduce kprobeopt for ARM 32. Limitations: - Currently only kernel compiled with ARM ISA is supported. - Offset between probe point and optinsn slot must not larger than 32MiB. Masami Hiramatsu suggests replacing 2 words, it will make things complex. Futher patch can make suc

[PATCH v15 3/7] ARM: kprobes: collects stack consumption for store instructions

2014-12-08 Thread Wang Nan
This patch uses the previously introduced checker functionality on store instructions to record their stack consumption information to arch_probes_insn. Signed-off-by: Wang Nan Signed-off-by: Jon Medhurst Reviewed-by: Jon Medhurst v1 -> v2: - Bugfix and code improvements following Tixy's sugg

Re: [PATCH] kobject: grammar fix

2014-12-08 Thread Jonathan Corbet
On Sat, 6 Dec 2014 16:38:57 -0500 John de la Garza wrote: > -When the kobject is removed from the kernel (details on how to do that is > +When the kobject is removed from the kernel (details on how to do that are Makes sense, applied to the docs tree. Thanks, jon -- To unsubscribe from this li

[RESEND][PATCH v15 1/7] ARM: probes: move all probe code to dedicate directory

2014-12-08 Thread Wang Nan
In discussion on LKML (https://lkml.org/lkml/2014/11/28/158), Russell King suggests to move all probe related code to arch/arm/probes. This patch does the work. Due to dependency on 'arch/arm/kernel/patch.h', this patch also moves patch.h to 'arch/arm/include/asm/patch.h', and related '#include' di

[RESEND][PATCH v15 0/7] ARM: kprobes: OPTPROBES and other improvements.

2014-12-08 Thread Wang Nan
This is v15 patch series of kprobeopt related code. V14 uses stop_machine() incorrectly, this version fixes it. Previous discussion can be found from: https://lkml.org/lkml/2014/12/8/21 https://lkml.org/lkml/2014/12/4/942 https://lkml.org/lkml/2014/12/4/4 https://lkml.org/lkml/2014/12/1/64 https:

[RESEND][PATCH v15 3/7] ARM: kprobes: collects stack consumption for store instructions

2014-12-08 Thread Wang Nan
This patch uses the previously introduced checker functionality on store instructions to record their stack consumption information to arch_probes_insn. Signed-off-by: Wang Nan Signed-off-by: Jon Medhurst Reviewed-by: Jon Medhurst --- v1 -> v2: - Bugfix and code improvements following Tixy's s

Re: [PATCH v4] media: platform: add VPFE capture driver support for AM437X

2014-12-08 Thread Hans Verkuil
On 12/06/2014 02:07 PM, Lad, Prabhakar wrote: > From: Benoit Parrot > > This patch adds Video Processing Front End (VPFE) driver for > AM437X family of devices > Driver supports the following: > - V4L2 API using MMAP buffer access based on videobuf2 api > - Asynchronous sensor/decoder sub device

Re: [PATCH 7/20] drm/i915: fix misspelling of current function in string

2014-12-08 Thread Daniel Vetter
On Mon, Dec 08, 2014 at 12:24:27PM +0200, Jani Nikula wrote: > On Sun, 07 Dec 2014, Julia Lawall wrote: > > Replace a misspelled function name by %s and then __func__. > > > > This was done using Coccinelle, including the use of Levenshtein distance, > > as proposed by Rasmus Villemoes. > > > > Si

[RESEND][PATCH v15 2/7] ARM: kprobes: introduces checker

2014-12-08 Thread Wang Nan
This patch introdces 'checker' to decoding phase, and calls checkers when instruction decoding. This allows further decoding for specific instructions. This patch introduces a stub call of checkers in kprobe arch_prepare_kprobe() as an example and for further expansion. Signed-off-by: Wang Nan R

[RESEND][PATCH v15 7/7] ARM: kprobes: enable OPTPROBES for ARM 32

2014-12-08 Thread Wang Nan
This patch introduce kprobeopt for ARM 32. Limitations: - Currently only kernel compiled with ARM ISA is supported. - Offset between probe point and optinsn slot must not larger than 32MiB. Masami Hiramatsu suggests replacing 2 words, it will make things complex. Futher patch can make suc

[RESEND][PATCH v15 6/7] kprobes: Pass the original kprobe for preparing optimized kprobe

2014-12-08 Thread Wang Nan
From: Masami Hiramatsu Pass the original kprobe for preparing an optimized kprobe arch-dep part, since for some architecture (e.g. ARM32) requires the information in original kprobe. Signed-off-by: Masami Hiramatsu Signed-off-by: Wang Nan --- arch/x86/kernel/kprobes/opt.c | 3 ++- include/lin

[RESEND][PATCH v15 4/7] ARM: kprobes: disallow probing stack consuming instructions

2014-12-08 Thread Wang Nan
This patch prohibits probing instructions for which the stack requirements are unable to be determined statically. Some test cases are found not work again after the modification, this patch also removes them. Signed-off-by: Wang Nan Reviewed-by: Jon Medhurst --- v1 -> v2: - Use MAX_STACK_SIZE

[RESEND][PATCH v15 5/7] ARM: kprobes: Add test cases for stack consuming instructions

2014-12-08 Thread Wang Nan
From: Jon Medhurst These have extra 'checker' functions associated with them so lets make sure those get covered by testing. Signed-off-by: Jon Medhurst Signed-off-by: Wang Nan --- v1 -> v2: - Move to arch/arm/probes/ . --- arch/arm/probes/kprobes/test-arm.c | 17 +++-- arch/ar

[PATCH] powerpc32: missing accessors to pgprot_t objects

2014-12-08 Thread Christophe Leroy
Compilation with #define STRICT_MM_TYPECHECKS in arch/powerpc/include/asm/page.h fails due to missing use of pgprot_val() when using pgprot_t objects. arch/powerpc/mm/pgtable_32.c: In function '__ioremap_caller': arch/powerpc/mm/pgtable_32.c:185:9: error: invalid operands to binary | (have 'long

[PATCH] powerpc32/chrp: fix section mismatch warning

2014-12-08 Thread Christophe Leroy
This patch fixes a section mismatch warning WARNING: vmlinux.o(.text+0x213b6): Section mismatch in reference from the function chrp_init_early() to the variable .init.data:boot_command_line The function chrp_init_early() references the variable __initdata boot_command_line. This is often because

[PATCH] xen/blkfront: remove redundant flush_op

2014-12-08 Thread Vitaly Kuznetsov
flush_op is unambiguously defined by feature_flush: REQ_FUA | REQ_FLUSH -> BLKIF_OP_WRITE_BARRIER REQ_FLUSH -> BLKIF_OP_FLUSH_DISKCACHE 0 -> 0 and thus can be removed. This is just a cleanup. The patch was suggested by Boris Ostrovsky. Signed-off-by: Vitaly Kuznetsov --- The patch is

Re: [Intel-gfx] [PATCH] gpu: drm: i915: intel_display.c: Remove unused function

2014-12-08 Thread Daniel Vetter
On Mon, Dec 08, 2014 at 10:32:49AM -0200, Paulo Zanoni wrote: > 2014-12-08 6:42 GMT-02:00 Daniel Vetter : > > On Sun, Dec 07, 2014 at 07:29:17PM +0100, Rickard Strandqvist wrote: > >> Remove the function intel_output_name() that is not used anywhere. > >> > >> This was partially found by using a st

Re: [PATCH v5 00/61] dmaengine: Implement generic slave capabilities retrieval

2014-12-08 Thread Maxime Ripard
On Mon, Dec 08, 2014 at 11:47:46AM +0530, Vinod Koul wrote: > On Mon, Nov 17, 2014 at 02:41:54PM +0100, Maxime Ripard wrote: > > Hi, > > > > As we discussed a couple of weeks ago, this is the third attempt at > > creating a generic behaviour for slave capabilities retrieval so that > > generic lay

Re: [RFC PATCH v6 6/9] thermal: cpu_cooling: implement the power cooling device API

2014-12-08 Thread Javi Merino
On Mon, Dec 08, 2014 at 01:31:35PM +, Viresh Kumar wrote: > On 8 December 2014 at 18:20, Javi Merino wrote: > > Is this loop pointless? I seem to recall that it was needed but I > > forgot the details. If you think it is, I can remove it. > > Yes it is pointless. The CPUs you are iterating

Re: [RFC PATCH 0/3] Introduce IIO interface for fingerprint sensors

2014-12-08 Thread Baluta, Teodora
Hello, On Vi, 2014-12-05 at 02:15 +, Jonathan Cameron wrote: > On 04/12/14 13:00, Teodora Baluta wrote: > > This patchset adds support for fingerprint sensors through the IIO > > interface. > > This way userspace applications collect information in a uniform way. All > > processing would be d

[GIT PULL] ftracetest: Ftrace self tests for 3.19

2014-12-08 Thread Steven Rostedt
Linus, Updates for the ftrace self tests: o Added kprobes on ftrace testcase o Sort test cases o Add file to hold helper functions o Use logfile name supported by busybox's mktemp o Clear trace buffer after running kprobe test o Fix show descriptions when run on dash shell o Add --verbose

Re: frequent lockups in 3.18rc4

2014-12-08 Thread Sasha Levin
On 12/08/2014 12:20 AM, Paul E. McKenney wrote: > I have seen this caused by lost IPIs, but you have to lose two of them, > which seems less than fully likely. It does seem that it can cause full blown stalls as well, just pretty rarely (notice the lack of any prints before): [11373.032327] audit

Re: [PATCH v5 00/61] dmaengine: Implement generic slave capabilities retrieval

2014-12-08 Thread Maxime Ripard
On Mon, Dec 08, 2014 at 07:00:47PM +0530, Vinod Koul wrote: > On Mon, Dec 08, 2014 at 10:32:47AM +0100, Ludovic Desroches wrote: > > On Mon, Dec 08, 2014 at 11:47:46AM +0530, Vinod Koul wrote: > > > On Mon, Nov 17, 2014 at 02:41:54PM +0100, Maxime Ripard wrote: > > > > Hi, > > > > > > > > As we di

Re: [STLinux Kernel] [PATCH v2 RESEND 10/11] mtd: st_spi_fsm: Provide mask to obtain correct boot device pins

2014-12-08 Thread Peter Griffin
Hi Lee, On Thu, 04 Dec 2014, Lee Jones wrote: > From: Christophe Kerello > > This patch adds a mask to be able to get the right boot device selection. Have you seen this series I posted https://lkml.org/lkml/2014/11/19/71? It is trying to consolodate the way the various STI drivers are handli

Re: [PATCH -mm] memcg: fix possible use-after-free in memcg_kmem_get_cache

2014-12-08 Thread Christoph Lameter
On Sun, 7 Dec 2014, Vladimir Davydov wrote: > diff --git a/mm/slub.c b/mm/slub.c > index 95d214255663..7ddf01e2a465 100644 > --- a/mm/slub.c > +++ b/mm/slub.c > @@ -2450,6 +2450,7 @@ redo: > > slab_post_alloc_hook(s, gfpflags, object); > > + memcg_kmem_put_cache(s); > return object

Re: [RFC PATCH v6 1/9] tracing: Add array printing helpers

2014-12-08 Thread Dave P Martin
On Fri, Dec 05, 2014 at 07:04:12PM +, Javi Merino wrote: > From: Dave Martin > > If a trace event contains an array, there is currently no standard > way to format this for text output. Drivers are currently hacking > around this by a) local hacks that use the trace_seq functionailty > direc

Re: [PATCH] tools/liblockdep: Fix debug_check thinko in mutex destroy

2014-12-08 Thread Sasha Levin
On 12/08/2014 06:07 AM, Kirill Smelkov wrote: > In mutex destroy code currently we pass to debug_check_no_locks_freed() > > [mem_from, mem_end) > > address region. But debug_check_no_locks_freed() accepts > > mem_from, mem_*len* > > i.e. second parameter is region length, not end addres

Re: using DMA-API on ARM

2014-12-08 Thread Arnd Bergmann
On Monday 08 December 2014 13:47:38 Hante Meuleman wrote: > Still using outlook, but will limit the line length, I hope that works for the > moment. Attached is a log with the requested information, it is a little > bit non-standard though. The dump code from the mm was copied in > the driver and c

[PATCH] irqchip: mediatek: Fix error return code detection

2014-12-08 Thread Yingjoe Chen
This fix an error handling bug reported by Beniamino, this is based on mtk intpol patches [1] Joe.C http://lists.infradead.org/pipermail/linux-arm-kernel/2014-November/305808.html of_io_request_and_map() return ERR_PTR wrapped error code instead of NULL when fail, fix code i

Re: [PATCH 2/2] Drivers: hv: balloon: Fix the deadlock issue in the memory hot-add code

2014-12-08 Thread Michal Hocko
On Fri 05-12-14 16:41:38, K. Y. Srinivasan wrote: > Andy Whitcroft initially saw this deadlock. We > have seen this as well. Here is the original description of the > problem (and a potential solution) from Andy: > > https://lkml.org/lkml/2014/3/14/451 > > Here is an excerpt from that mail: > >

[GIT PULL] tracing/NMI/printk: Use seq_buf for safe printing from NMI context

2014-12-08 Thread Steven Rostedt
Linus, You and Andrew brought up some issues with the original patch set. Here's the thread: http://lkml.kernel.org/r/20140619213329.478113...@goodmis.org Your concern was moving "trace_seq.c" into lib/ as a file named "trace_" and functions starting with "trace_" had nothing to do with the g

[PATCH 0/4] Add support for PCI mapped devices and rmmod

2014-12-08 Thread Ricardo Ribalda Delgado
The main purpose of this patchset is to use the driver on a PCI mapped fpga. This patchset also converts the driver to platform device, so it will support hot plugged devices and rmmod. Ricardo Ribalda Delgado (4): gpio/xilinx: remove offset property gpio/xilinx: Convert the driver to platfor

[PATCH 4/4] gpio-xilinx: Add support for X86 Arch

2014-12-08 Thread Ricardo Ribalda Delgado
Core can be accessed via PCIe on X86 platform. Signed-off-by: Ricardo Ribalda Delgado --- drivers/gpio/Kconfig | 4 ++-- drivers/gpio/gpio-xilinx.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 0959ca9..7f8ba83 1006

[PATCH 3/4] gpio-xilinx: Implement remove callback

2014-12-08 Thread Ricardo Ribalda Delgado
This way the driver can me unloaded. Signed-off-by: Ricardo Ribalda Delgado --- drivers/gpio/gpio-xilinx.c | 52 +++--- 1 file changed, 45 insertions(+), 7 deletions(-) diff --git a/drivers/gpio/gpio-xilinx.c b/drivers/gpio/gpio-xilinx.c index 1199a31..f9

Re: [GIT PULL] tracing/NMI/printk: Use seq_buf for safe printing from NMI context

2014-12-08 Thread Steven Rostedt
On Mon, 8 Dec 2014 10:05:28 -0500 Steven Rostedt wrote: > This code solves the issue of performing stack dumps from NMI context. > The issue is that printk() is not safe from NMI context as if the NMI > were to trigger when a printk() was being performed, the NMI could > deadlock from the printk

[PATCH 2/4] gpio/xilinx: Convert the driver to platform device interface

2014-12-08 Thread Ricardo Ribalda Delgado
This way we do not need to transverse the device tree manually and we support hot plugged devices. Signed-off-by: Ricardo Ribalda Delgado --- drivers/gpio/gpio-xilinx.c | 27 ++- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/drivers/gpio/gpio-xilinx.c b/

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

2014-12-08 Thread Arnd Bergmann
On Monday 08 December 2014 13:49:03 Lee Jones wrote: > On Mon, 08 Dec 2014, Arnd Bergmann wrote: > > > On Monday 08 December 2014 13:00:09 Lee Jones wrote: > > > On Mon, 08 Dec 2014, Arnd Bergmann wrote: > > > > > > > On Monday 08 December 2014 12:06:19 Stephen Rothwell wrote: > > > > > Hi Stephe

Re

2014-12-08 Thread christain147
Good day,This email is sequel to an ealier sent message of which you have not responded.I have a personal charity project which I will want you to execute on my behalf.Please kindly get back to me with this code MHR/3910/2014 .You can reach me on mrsalimqa...@gmail.com . Thank you Salim Qadri --

[PATCH 1/4] gpio/xilinx: remove offset property

2014-12-08 Thread Ricardo Ribalda Delgado
Instead of calculating the register offset per call, pre-calculate it on probe time. Signed-off-by: Ricardo Ribalda Delgado --- drivers/gpio/gpio-xilinx.c | 33 +++-- 1 file changed, 11 insertions(+), 22 deletions(-) diff --git a/drivers/gpio/gpio-xilinx.c b/drivers/

Re: [PATCH] blk-mq: Avoid that I/O hangs in bt_get()

2014-12-08 Thread Bart Van Assche
On 11/06/14 14:41, Bart Van Assche wrote: With kernel 3.18-rc3 and with can_queue=62 I can trigger a hang in bt_get() easily. (once more replying to my own e-mail) Hello Jens, Finally I found the time to look further into this. The patch below seems to be sufficient to prevent this hang. How

Re: [PATCH 2/20] PCI: keystone: fix misspelling of current function in string

2014-12-08 Thread Murali Karicheri
On 12/07/2014 02:20 PM, Julia Lawall wrote: Replace a misspelled function name by %s and then __func__. The function name contains pcie, not pci as in the string. This was done using Coccinelle, including the use of Levenshtein distance, as proposed by Rasmus Villemoes. Signed-off-by: Julia La

[PATCH v2 00/10] virtio_pci: split out legacy device support

2014-12-08 Thread Michael S. Tsirkin
Sorry about sending two versions in such quick order - it turns out v1 was broken on modular kernels, so I'm sending v2 to make these configs testable as well. virtio 1.0 support for virtio-pci isn't ready yet. Therefore, this patchset doesn't make any functional changes. Instead, this simply refa

[PATCH v2 02/10] virtio_pci: fix coding style for structs

2014-12-08 Thread Michael S. Tsirkin
should be struct foo { } not struct foo { } Signed-off-by: Michael S. Tsirkin --- drivers/virtio/virtio_pci.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/virtio/virtio_pci.c b/drivers/virtio/virtio_pci.c index ee1b54c..6f3db1f 100644 --- a/drivers/virtio/

[PATCH v2 03/10] virtio_pci: free up vq->priv

2014-12-08 Thread Michael S. Tsirkin
We don't need to go from vq to vq info on data path, so using direct vq->priv pointer for that seems like a waste. Let's build an array of vq infos, then we can use vq->index for that lookup. Signed-off-by: Michael S. Tsirkin --- drivers/virtio/virtio_pci.c | 56 +---

Re: wl1251: NVS firmware data

2014-12-08 Thread Ming Lei
On Sat, Dec 6, 2014 at 9:02 PM, Pali Rohár wrote: > On Saturday 06 December 2014 13:49:54 Pavel Machek wrote: > > /** > + * request_firmware_prefer_user: - prefer usermode helper for loading > firmware > + * @firmware_p: pointer to firmware image > + * @name: name of firmware file > + * @device

[PATCH v2 09/10] virtio_pci: update file descriptions and copyright

2014-12-08 Thread Michael S. Tsirkin
There's been a lot of changes since 2007. List main authors, add Red Hat copyright. Signed-off-by: Michael S. Tsirkin --- drivers/virtio/virtio_pci.h| 5 - drivers/virtio/virtio_pci.c| 5 - drivers/virtio/virtio_pci_legacy.c | 5 - 3 files changed, 12 insertions(+), 3

[PATCH v2 10/10] virtio_pci: rename virtio_pci -> virtio_pci_common

2014-12-08 Thread Michael S. Tsirkin
kbuild does not seem to like it when we name source files same as the module. Let's rename virtio_pci -> virtio_pci_common, and get rid of #include-ing c files. Signed-off-by: Michael S. Tsirkin --- drivers/virtio/{virtio_pci.h => virtio_pci_common.h} | 4 ++-- drivers/virtio/{virtio_pci.c => vi

[PATCH v2 08/10] virtio_pci: split out legacy device support

2014-12-08 Thread Michael S. Tsirkin
Move everything dealing with legacy devices out to virtio_pci_legacy.c. Expose common code APIs in virtio_pci.h Signed-off-by: Michael S. Tsirkin --- drivers/virtio/virtio_pci.h| 133 drivers/virtio/virtio_pci.c| 420 ++--- drivers/vir

[PATCH v2 07/10] virtio_pci: setup config vector indirectly

2014-12-08 Thread Michael S. Tsirkin
config vector setup is version specific, do it indirectly. Signed-off-by: Michael S. Tsirkin --- drivers/virtio/virtio_pci.c | 19 +-- 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/drivers/virtio/virtio_pci.c b/drivers/virtio/virtio_pci.c index 68023e5..c8ca3f7 1

Re: using DMA-API on ARM

2014-12-08 Thread Russell King - ARM Linux
On Mon, Dec 08, 2014 at 04:01:32PM +0100, Arnd Bergmann wrote: > In your log, I see this message: > > [0.00] PL310 OF: cache setting yield illegal associativity > [0.00] PL310 OF: -1069781724 calculated, only 8 and 16 legal > [0.00] L2C-310 enabling early BRESP for Cortex-A

[PATCH v2 06/10] virtio_pci: setup vqs indirectly

2014-12-08 Thread Michael S. Tsirkin
VQ setup is mostly version-specific, add another level of indirection to split the version-independent code out. Signed-off-by: Michael S. Tsirkin --- drivers/virtio/virtio_pci.c | 69 ++--- 1 file changed, 46 insertions(+), 23 deletions(-) diff --git a/d

[PATCH v2 01/10] virtio_pci: add isr field

2014-12-08 Thread Michael S. Tsirkin
Use isr field instead of direct access to ioaddr. This way generalizes easily to virtio 1.0. Signed-off-by: Michael S. Tsirkin --- drivers/virtio/virtio_pci.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/virtio/virtio_pci.c b/drivers/virtio/virtio_pci.c index

[PATCH v2 05/10] virtio_pci: delete vqs indirectly

2014-12-08 Thread Michael S. Tsirkin
VQ deletion is mostly version-specific, add another level of indirection to split the version-independent code out. Signed-off-by: Michael S. Tsirkin --- drivers/virtio/virtio_pci.c | 27 --- 1 file changed, 20 insertions(+), 7 deletions(-) diff --git a/drivers/virtio/vi

[PATCH v2 04/10] virtio_pci: use priv for vq notification

2014-12-08 Thread Michael S. Tsirkin
slightly reduce the amount of pointer chasing this needs to do. More importantly, this will easily generalize to virtio 1.0. Signed-off-by: Michael S. Tsirkin --- drivers/virtio/virtio_pci.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/virtio/virtio_pci.c b/dr

Re: wl1251: NVS firmware data

2014-12-08 Thread Pali Rohár
On Monday 08 December 2014 16:18:18 Ming Lei wrote: > On Sat, Dec 6, 2014 at 9:02 PM, Pali Rohár wrote: > > On Saturday 06 December 2014 13:49:54 Pavel Machek wrote: > > /** > > > > + * request_firmware_prefer_user: - prefer usermode helper > > for loading firmware + * @firmware_p: pointer to f

Re: using DMA-API on ARM

2014-12-08 Thread Arnd Bergmann
On Monday 08 December 2014 15:17:33 Russell King - ARM Linux wrote: > On Mon, Dec 08, 2014 at 04:01:32PM +0100, Arnd Bergmann wrote: > > In your log, I see this message: > > > > [0.00] PL310 OF: cache setting yield illegal associativity > > [0.00] PL310 OF: -1069781724 calculated,

[PATCH] misc: ioc4: simplify wave period measurement in clock_calibrate

2014-12-08 Thread Richard Leitner
The loop for measuring the square wave periods over some cycles is refactored to be more easily readable. This includes avoiding a "by-hand-implemented" for loop with a "real" one and adding some comments. Furthermore the following compiler warning is avoided by this patch: drivers/misc/ioc4.c: In

Re: frequent lockups in 3.18rc4

2014-12-08 Thread Sasha Levin
On 12/08/2014 09:33 AM, Sasha Levin wrote: > On 12/08/2014 12:20 AM, Paul E. McKenney wrote: >> > I have seen this caused by lost IPIs, but you have to lose two of them, >> > which seems less than fully likely. > It does seem that it can cause full blown stalls as well, just pretty > rarely (notice

Re: [PATCH -mm] memcg: fix possible use-after-free in memcg_kmem_get_cache

2014-12-08 Thread Vladimir Davydov
On Mon, Dec 08, 2014 at 08:49:31AM -0600, Christoph Lameter wrote: > On Sun, 7 Dec 2014, Vladimir Davydov wrote: > > > diff --git a/mm/slub.c b/mm/slub.c > > index 95d214255663..7ddf01e2a465 100644 > > --- a/mm/slub.c > > +++ b/mm/slub.c > > @@ -2450,6 +2450,7 @@ redo: > > > > slab_post_alloc_

[PATCH] ASoC: pcm512x: Trigger auto-increment of register addresses on i2c

2014-12-08 Thread Peter Rosin
From: Peter Rosin When the codec is connected using i2c, it will only auto-increment register addresses if msb (0x80) of the register address byte is set. Signed-off-by: Peter Rosin --- sound/soc/codecs/pcm512x-i2c.c |7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/

Re: wl1251: NVS firmware data

2014-12-08 Thread Ming Lei
On Mon, Dec 8, 2014 at 11:22 PM, Pali Rohár wrote: > On Monday 08 December 2014 16:18:18 Ming Lei wrote: >> On Sat, Dec 6, 2014 at 9:02 PM, Pali Rohár > wrote: >> > On Saturday 06 December 2014 13:49:54 Pavel Machek wrote: >> > /** >> > >> > + * request_firmware_prefer_user: - prefer usermode he

Re: [PATCH v4 1/3] mfd: add support for Cypress CYUSBS234 USB Serial Bridge controller

2014-12-08 Thread Johan Hovold
On Sat, Nov 29, 2014 at 11:49:04AM +0530, Muthu Mani wrote: > Adds support for USB-I2C/GPIO interfaces of Cypress Semiconductor > CYUSBS234 USB-Serial Bridge controller. > > Details about the device can be found at: > http://www.cypress.com/?rID=84126 > > Signed-off-by: Muthu Mani > Signed-off-b

Re: [RFC PATCH v6 1/9] tracing: Add array printing helpers

2014-12-08 Thread Steven Rostedt
On Fri, 5 Dec 2014 19:04:12 + "Javi Merino" wrote: > +static const char * > +ftrace_print_array_seq(struct trace_seq *p, const void *buf, int buf_len, > +bool (*iterator)(struct trace_seq *p, const char *prefix, > + const void **buf,

Re: [PATCH 20/20] drm/radeon: fix misspelling of current function in string

2014-12-08 Thread Alex Deucher
On Sun, Dec 7, 2014 at 2:21 PM, Julia Lawall wrote: > Replace a misspelled function name by %s and then __func__. > > This was done using Coccinelle, including the use of Levenshtein distance, > as proposed by Rasmus Villemoes. > > Signed-off-by: Julia Lawall Looks fine to me. For consistency,

Re: [PATCH] misc: ioc4: simplify wave period measurement in clock_calibrate

2014-12-08 Thread Arnd Bergmann
On Monday 08 December 2014 16:28:10 Richard Leitner wrote: > The loop for measuring the square wave periods over some cycles is > refactored to be more easily readable. This includes avoiding a > "by-hand-implemented" for loop with a "real" one and adding some > comments. > > Furthermore the follo

[PATCH 0/4] drm/msm: YUV suppport addition for MDP4 & MDP5

2014-12-08 Thread Stephane Viau
Hi, So this set of patches adds YUV support for MDP4 and MDP5. This only concerns the public planes (using ViG pipes). The fun part was to rebase things on top of atomic but things worked out fine. I was able to test this for MDP5 on a 8084 target. I cannot say the same for MDP4 for which I don't

[PATCH 1/4] drm/msm/mdp: add register description for YUV support

2014-12-08 Thread Stephane Viau
YUV support addition implies that sub-modules of the ViG pipes need to be configured: Color Space Converter (CSC) and Scaler are the main components used to convert YUV to RGB data. Note that the output of a pipe has to be in RGB888 format since only this format is understood by the (layer) mixers.

[PATCH 4/4] drm/msm/mdp4: add YUV format support

2014-12-08 Thread Stephane Viau
From: Beeresh Gopal The patch add support for YUV frame format for MDP4 platform. Signed-off-by: Beeresh Gopal Signed-off-by: Stephane Viau --- drivers/gpu/drm/msm/mdp/mdp4/mdp4_plane.c | 104 +++--- 1 file changed, 95 insertions(+), 9 deletions(-) diff --git a/driver

[PATCH 2/4] drm/msm/mdp: add common YUV information for MDP4/MDP5

2014-12-08 Thread Stephane Viau
Both MDP4 and MDP5 share some code as far as YUV support is concerned. This change adds this information and will be followed by the actual MDP4 and MDP5 YUV support patches. Signed-off-by: Stephane Viau --- drivers/gpu/drm/msm/mdp/mdp4/mdp4_kms.h | 19 -- drivers/gpu/drm/msm/mdp/mdp5/mdp

Re: [GIT PULL][RESEND] hw_breakpoints: Support AMD range breakpoints

2014-12-08 Thread Frederic Weisbecker
On Mon, Dec 08, 2014 at 11:53:33AM +0100, Ingo Molnar wrote: > > * Frederic Weisbecker wrote: > > > Ingo, > > > > Please pull the perf/core-v3 branch that can be found at: > > > > git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git > > perf/core-v3 > > > > HEAD: 3674

[PATCH 3/4] drm/msm/mdp5: add NV12 support for MDP5

2014-12-08 Thread Stephane Viau
This change adds the NV12 format support for public planes. Signed-off-by: Stephane Viau --- drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c | 213 +++--- drivers/gpu/drm/msm/msm_fb.c | 2 +- 2 files changed, 194 insertions(+), 21 deletions(-) diff --git a/drive

Re: [PATCH] misc: ioc4: simplify wave period measurement in clock_calibrate

2014-12-08 Thread Paul Bolle
On Mon, 2014-12-08 at 16:28 +0100, Richard Leitner wrote: > The loop for measuring the square wave periods over some cycles is > refactored to be more easily readable. This includes avoiding a > "by-hand-implemented" for loop with a "real" one and adding some > comments. > > Furthermore the follow

[PATCH] srcu: Isolate srcu sections using CONFIG_SRCU

2014-12-08 Thread Pranith Kumar
Isolate the SRCU functions and data structures within CONFIG_SRCU so that there is a compile time failure if srcu is used when not enabled. This was decided to be better than waiting until link time for a failure to occur. Signed-off-by: Pranith Kumar CC: Paul E. McKenney CC: Josh Triplett CC:

Re: using DMA-API on ARM

2014-12-08 Thread Catalin Marinas
On Mon, Dec 08, 2014 at 12:55:38PM +, Johannes Stezenbach wrote: > On Fri, Dec 05, 2014 at 06:53:03PM +, Catalin Marinas wrote: > > On Fri, Dec 05, 2014 at 06:39:45PM +, Catalin Marinas wrote: > > > > > > Does your system have an L2 cache? What's the SoC topology, can PCIe see > > > su

Re: frequent lockups in 3.18rc4

2014-12-08 Thread Paul E. McKenney
On Mon, Dec 08, 2014 at 09:33:29AM -0500, Sasha Levin wrote: > On 12/08/2014 12:20 AM, Paul E. McKenney wrote: > > I have seen this caused by lost IPIs, but you have to lose two of them, > > which seems less than fully likely. > > It does seem that it can cause full blown stalls as well, just pret

Re: [PATCH] misc: ioc4: simplify wave period measurement in clock_calibrate

2014-12-08 Thread Richard Leitner
On Mon, 08 Dec 2014 16:46:31 +0100 Arnd Bergmann wrote: > On Monday 08 December 2014 16:28:10 Richard Leitner wrote: > > > > Signed-off-by: Richard Leitner > > Acked-by: Arnd Bergmann > > > With the changed loop, do you still get a warning if you > remove the extra 'start = ktime_get_ns()'

Re: frequent lockups in 3.18rc4

2014-12-08 Thread Paul E. McKenney
On Mon, Dec 08, 2014 at 10:28:53AM -0500, Sasha Levin wrote: > On 12/08/2014 09:33 AM, Sasha Levin wrote: > > On 12/08/2014 12:20 AM, Paul E. McKenney wrote: > >> > I have seen this caused by lost IPIs, but you have to lose two of them, > >> > which seems less than fully likely. > > It does seem th

RE: [PATCH v4 1/3] mfd: add support for Cypress CYUSBS234 USB Serial Bridge controller

2014-12-08 Thread Muthu Mani
> On Sat, Nov 29, 2014 at 11:49:04AM +0530, Muthu Mani wrote: > > Adds support for USB-I2C/GPIO interfaces of Cypress Semiconductor > > CYUSBS234 USB-Serial Bridge controller. > > > > Details about the device can be found at: > > http://www.cypress.com/?rID=84126 > > > > Signed-off-by: Muthu Mani

<    2   3   4   5   6   7   8   >