[PATCH] spi: core: make zero length transfer valid again

2014-02-28 Thread Atsushi Nemoto
Zero length transfer becomes invalid since spi: core: Validate length of the transfers in message commit, but it should be valid to support an odd device, for example, which requires long delay between chipselect and the first transfer, etc. Signed-off-by: Atsushi Nemoto an...@mba.ocn.ne.jp ---

Re: [PATCH v4 0/8] wilink: add device tree support

2014-02-28 Thread Luca Coelho
On Fri, 2014-02-28 at 14:29 +0200, Luca Coelho wrote: On Fri, 2014-02-28 at 08:26 +0100, Yegor Yefremov wrote: On Tue, Jul 30, 2013 at 3:04 PM, Luciano Coelho coe...@ti.com wrote: Hi, This patch series adds device tree support to the wlcore_sdio driver, which is used by WiLink6,

Re: [PATCH v6 07/14] ARM: Remove use of struct kprobe from generic probes code

2014-02-28 Thread Jon Medhurst (Tixy)
On Fri, 2014-02-28 at 10:12 +, Russell King - ARM Linux wrote: On Mon, Feb 10, 2014 at 02:38:58AM -0500, David Long wrote: diff --git a/arch/arm/kernel/probes.c b/arch/arm/kernel/probes.c index 7cd1763..179deac 100644 --- a/arch/arm/kernel/probes.c +++ b/arch/arm/kernel/probes.c @@

Re: perf_fuzzer compiled for x32 causes reboot

2014-02-28 Thread Vince Weaver
On Thu, 27 Feb 2014, Steven Rostedt wrote: On Thu, 27 Feb 2014 20:34:34 -0500 (EST) Vince Weaver vincent.wea...@maine.edu wrote: I would actually suggest we do the equivalent on i386 as well. Vince, could you try this patch as an experiment? OK with your patch applied it does

[PATCH v2] ACPI / EC: Clear stale EC events on Samsung systems

2014-02-28 Thread Kieran Clancy
A number of Samsung notebooks (530Uxx/535Uxx/540Uxx/550Pxx/900Xxx/etc) continue to log events during sleep (lid open/close, AC plug/unplug, battery level change), which accumulate in the EC until a buffer fills. After the buffer is full (tests suggest it holds 8 events), GPEs stop being triggered

Re: [PATCH v3] tty: Set correct tty name in 'active' sysfs attribute

2014-02-28 Thread Hannes Reinecke
On 02/27/2014 12:30 PM, David Herrmann wrote: From: Hannes Reinecke h...@suse.de The 'active' sysfs attribute should refer to the currently active tty devices the console is running on, not the currently active console. The console structure doesn't refer to any device in sysfs, only the tty

[PATCH 0/6] close pageblock_migratetype and pageblock_skip races

2014-02-28 Thread Vlastimil Babka
Hello, this series follows on the discussions of Joonsoo Kim's series improve robustness on handling migratetype https://lkml.org/lkml/2014/1/9/29 The goal is to close the race of get/set_pageblock_migratetype (and _skip) which Joonsoo found in the code and I've observed in my further compaction

[PATCH 1/6] mm: call get_pageblock_migratetype() under zone-lock where possible

2014-02-28 Thread Vlastimil Babka
Joonsoo Kim has found a theoretical race between get/set_pageblock_migratetype which can result in wrong values being read, including values higher than MIGRATE_TYPES, thanks to the non-synchronized get/set operations which read or update individual bits in a loop. My own testing with a debug

[PATCH 6/6] mm: use atomic bit operations in set_pageblock_flags_group()

2014-02-28 Thread Vlastimil Babka
set_pageblock_flags_group() is used to set either migratetype or skip bit of a pageblock. Setting migratetype is done under zone-lock (except from __init code), however changing the skip bits is not protected and the pageblock flags bitmap packs migratetype and skip bits together and uses

[PATCH 5/6] mm: compaction: do not set pageblock skip bit when already set

2014-02-28 Thread Vlastimil Babka
Compaction migratepages scanner calls update_pageblock_skip() for blocks where isolation failed. It currently does that also for blocks where no isolation was attempted because the skip bit was already set. This is wasteful, so this patch reuses the existing skipped_async_unsuitable flag to avoid

[PATCH 4/6] mm: add set_pageblock_migratetype_nolock() for calls outside zone-lock

2014-02-28 Thread Vlastimil Babka
To prevent races, set_pageblock_migratetype() should be called with zone-lock held. This patch adds a debugging assertion and introduces a _nolock variant for zone init functions. Signed-off-by: Vlastimil Babka vba...@suse.cz --- mm/page_alloc.c | 13 ++--- 1 file changed, 10

[PATCH 2/6] mm: add get_pageblock_migratetype_nolock() for cases where locking is undesirable

2014-02-28 Thread Vlastimil Babka
In order to prevent race with set_pageblock_migratetype, most of calls to get_pageblock_migratetype have been moved under zone-lock. For the remaining call sites, the extra locking is undesirable, notably in free_hot_cold_page(). This patch introduces a _nolock version to be used on these call

[PATCH 3/6] mm: add is_migrate_isolate_page_nolock() for cases where locking is undesirable

2014-02-28 Thread Vlastimil Babka
This patch complements the addition of get_pageblock_migratetype_nolock() for the case where is_migrate_isolate_page() cannot be called with zone-lock held. A race with set_pageblock_migratetype() may be detected, in which case a caller supplied argument is returned. Signed-off-by: Vlastimil

Re: [PATCH 4/5] DMA: sun6i: Add driver for the Allwinner A31 DMA controller

2014-02-28 Thread Andy Shevchenko
On Fri, 2014-02-28 at 11:36 +0100, Maxime Ripard wrote: Hi Andy, On Tue, Feb 25, 2014 at 01:28:15PM +0200, Andy Shevchenko wrote: +static irqreturn_t sun6i_dma_interrupt(int irq, void *dev_id) +{ + struct sun6i_dma_dev *sdev = (struct sun6i_dma_dev *)dev_id; + struct sun6i_vchan

Re: perf_fuzzer compiled for x32 causes reboot

2014-02-28 Thread Steven Rostedt
On Fri, 28 Feb 2014 09:15:33 -0500 (EST) Vince Weaver vincent.wea...@maine.edu wrote: On Thu, 27 Feb 2014, Steven Rostedt wrote: On Thu, 27 Feb 2014 20:34:34 -0500 (EST) Vince Weaver vincent.wea...@maine.edu wrote: I would actually suggest we do the equivalent on i386 as well.

Re: [PATCH 1/2] asm-generic: rwsem: ensure sem-cnt is only accessed via atomic_long_*

2014-02-28 Thread Peter Hurley
On 02/28/2014 07:13 AM, Will Deacon wrote: On Thu, Feb 27, 2014 at 05:28:24AM +, Davidlohr Bueso wrote: On Fri, 2014-02-21 at 17:22 +, Will Deacon wrote: The asm-generic rwsem implementation directly acceses sem-cnt when performing a __down_read_trylock operation. Whilst this is

Re: [PATCH 1/3] mfd: twl6040: Select i2c fast mode as default with regmap patch

2014-02-28 Thread Peter Ujfalusi
On 02/28/2014 03:30 PM, Nishanth Menon wrote: TWL6030 can do 3.3MHz by default and there are no speed registers to configure. According to the datasheet the speed of twl6030 is limited to 2.4MHz. I have not seen registers or pins to select the speed. As the documentation puts this: High-speed

Re: [PATCH 4/5] DMA: sun6i: Add driver for the Allwinner A31 DMA controller

2014-02-28 Thread Maxime Ripard
On Fri, Feb 28, 2014 at 03:33:11PM +0200, Andy Shevchenko wrote: On Fri, 2014-02-28 at 11:36 +0100, Maxime Ripard wrote: Hi Andy, On Tue, Feb 25, 2014 at 01:28:15PM +0200, Andy Shevchenko wrote: +static irqreturn_t sun6i_dma_interrupt(int irq, void *dev_id) +{ + struct

[PATCH] usb: gadget: atmel_usba: Fix crashed during stopping when DEBUG is enabled

2014-02-28 Thread Gregory CLEMENT
The debug trace in the atmel_usba_stop function made the assumption that the driver pointer passed in parameter was not NULL. Since the commit usb: gadget: udc-core: fix a regression during gadget driver unbinding, it was no more always true. This lead to a kernel crash. This commit now use the

Re: [PATCH] usb: gadget: atmel_usba: fix crash when no endpoint are specified

2014-02-28 Thread Nicolas Ferre
On 27/02/2014 16:42, Alexandre Belloni : If no endpoints are present in the device tree, the kernel will cras hwith the s/cras hwith/crash with/ following error: Unable to handle kernel paging request at virtual address 00101008 [...] [c0222ff4] (composite_dev_prepare) from [c022326c]

Re: [PATCH] Doc: USB: gadget: atmel_usba correct atmel,vbus-gpio meaning

2014-02-28 Thread Nicolas Ferre
On 27/02/2014 16:45, Alexandre Belloni : atmel,at91sam9rl-udc is a USB gadget, it has now means to control vbus. s/now/no/ atmel,vbus-gpio is in fact used to detect the presence of vbus. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com Acked-by: Nicolas Ferre

Re: [alsa-devel] [PATCHv2 1/3] ASoC: codec: Simplify ASoC probe code.

2014-02-28 Thread Lars-Peter Clausen
On 02/28/2014 10:04 AM, Xiubo Li wrote: Signed-off-by: Xiubo Li li.xi...@freescale.com --- @Mark, @Lars, @All, I have checked for each driver about the following issue from Lars: Just removing the set_cache_io() call will not work for all drivers. There are some MFD child devices which use

Re: [PATCH 0/2 v2] x86: kvm: global clock updates

2014-02-28 Thread Marcelo Tosatti
On Fri, Feb 28, 2014 at 12:52:53PM +0100, Andrew Jones wrote: This patch series addresses two issues with global clock updates. The first fixes a bug found on hosts that have a tsc marked as unstable. As global clock updates get triggered on every vcpu load in these cases, guests with a large

Re: [PATCH 10/11] kexec: Support for loading ELF x86_64 images

2014-02-28 Thread Borislav Petkov
On Mon, Jan 27, 2014 at 01:57:50PM -0500, Vivek Goyal wrote: This patch provides support for kexec for loading ELF x86_64 images. I have tested it with loading vmlinux and it worked. Can you please enlighten me what the use case for ELF kernel images is? bzImage I understand but what produces

Is it possible to get deterministic system with 3.10.xx and Full-RT-preemption?

2014-02-28 Thread Andreas Starzer
Is there a possible configuration/implementation at Kernel 3.10.xx with PREEMPT_RT_FULL=y (or newer) to get an explicit thread for workqueues which do exclusive work? I want to increase the priority of my drivers workqueue (and only this) to be still functional under heavy system load like

[PATCH 6/8] evm: enable key retention service automatically

2014-02-28 Thread Dmitry Kasatkin
If keys are not enabled, EVM is not visible in the configuration menu. It may be difficult to figure out what to do unless you really know. Other subsystems as NFS, CIFS select keys automatically. This patch does the same. Signed-off-by: Dmitry Kasatkin d.kasat...@samsung.com ---

[PATCH 3/8] ima: return d_name.name if d_path fails

2014-02-28 Thread Dmitry Kasatkin
Signed-off-by: Dmitry Kasatkin d.kasat...@samsung.com --- security/integrity/ima/ima_api.c | 2 +- security/integrity/ima/ima_main.c | 7 +-- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/security/integrity/ima/ima_api.c b/security/integrity/ima/ima_api.c index

[PATCH 5/8] ima: skip memory allocation for empty files

2014-02-28 Thread Dmitry Kasatkin
Memory allocation is unnecessary for empty files. This patch finalize the hash without memory allocation. Signed-off-by: Dmitry Kasatkin d.kasat...@samsung.com --- security/integrity/ima/ima_crypto.c | 20 1 file changed, 12 insertions(+), 8 deletions(-) diff --git

[PATCH 8/8] evm: introduce EVM hmac xattr list

2014-02-28 Thread Dmitry Kasatkin
EVM currently uses source hard coded list of xattrs which needs to be included into the HMAC calculation. This is very unflexible. Adding new attributes requires modifcation of the source code and prevents building the kernel which works with previously labeled filesystems. Early versions of

[PATCH 0/8] integrity: fixes and new features

2014-02-28 Thread Dmitry Kasatkin
Hi, This patchset contains bug fixes, cleanups and new features for integrity subsytem. - Dmitry Dmitry Kasatkin (8): ima: fix erronous removal of security.ima xattr integrity: fix checkpatch errors ima: return d_name.name if d_path fails evm: EVM does not use MD5 ima: skip memory

[PATCH 7/8] evm: introduce EVM hmac attribute list

2014-02-28 Thread Dmitry Kasatkin
This patch replaces using of hmac version configuration parameter with attribute list. It allows to build kernels which works with previously labeled filesystems. Currently supported attribute is 'fsuuid' which is equivalent of former version 2. Signed-off-by: Dmitry Kasatkin

[PATCH 4/8] evm: EVM does not use MD5

2014-02-28 Thread Dmitry Kasatkin
Signed-off-by: Dmitry Kasatkin d.kasat...@samsung.com --- security/integrity/evm/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/security/integrity/evm/Kconfig b/security/integrity/evm/Kconfig index fea9749..5aa9103 100644 --- a/security/integrity/evm/Kconfig +++

[PATCH 1/8] ima: fix erronous removal of security.ima xattr

2014-02-28 Thread Dmitry Kasatkin
ima_inode_post_setattr() calls ima_must_appraise() to check if file needs to be appraised. If it is not then it removes security.ima xattr. With original policy matching code it might happen that even file needs to be appraised with FILE_CHECK hook, it might not be for POST_SETATTR hook.

[PATCH 2/8] integrity: fix checkpatch errors

2014-02-28 Thread Dmitry Kasatkin
Unfixed checkpatch errors make it difficult to see new errors.. This patch fix them. Some lines with over 80 chars remained unchanged to improve code readability. Signed-off-by: Dmitry Kasatkin d.kasat...@samsung.com --- security/integrity/evm/evm.h | 28 +++---

Re: perf_fuzzer compiled for x32 causes reboot

2014-02-28 Thread Vince Weaver
On Fri, 28 Feb 2014, Steven Rostedt wrote: Interesting. Are you doing a perf function trace? And just in case, can you add this patch and make sure the copy is called by NMI. 199.900682: function: trace_do_page_fault 199.900683: page_fault_user: address=__per_cpu_end

Re: [PATCH 1/3] mfd: twl6040: Select i2c fast mode as default with regmap patch

2014-02-28 Thread Nishanth Menon
On 02/28/2014 08:26 AM, Peter Ujfalusi wrote: On 02/28/2014 03:30 PM, Nishanth Menon wrote: TWL6030 can do 3.3MHz by default and there are no speed registers to configure. According to the datasheet the speed of twl6030 is limited to 2.4MHz. I have not seen registers or pins to select the

Re: [PATCH v2 1/4] x86: Use the default ABI for the 32-bit vDSO

2014-02-28 Thread H. Peter Anvin
How many internal function calls are there? It seems we should try to avoid those as much as possible by suitable inlining. On February 27, 2014 11:28:25 PM PST, Stefani Seibold stef...@seibold.net wrote: Am Donnerstag, den 27.02.2014, 16:18 -0800 schrieb Andy Lutomirski: There's no reason for

[RFC 2/2] ima: provide double buffering for hash calculation

2014-02-28 Thread Dmitry Kasatkin
Asynchronous hash API allows initiate hash calculation and perform other tasks while hash is calculated. This patch introduces using of double buffering for simultenous hashing and reading of the next chunk of data from storage. Signed-off-by: Dmitry Kasatkin d.kasat...@samsung.com ---

[RFC 0/2] integrity: asynchronous hash support

2014-02-28 Thread Dmitry Kasatkin
HW accelerated hash calculation is available only via ahash API. First patch introduces usage of ahash API for file hash calculation. It allows to offload hash calculation to HW accelerator and release CPU time to do other usefull job. It might speedup hash calculation but also reduce power

[RFC 1/2] ima: use ahash API for file hash calculation

2014-02-28 Thread Dmitry Kasatkin
Async hash API allows to use HW acceleration for hash calculation. It may give significant performance gain or/and reduce power consumption, which might be very beneficial for battery powered devices. This patch introduces use of ahash API if 'ima_use_ahash' parameter is specified on the command

Re: [PATCH V2 1/2] mmc: omap_hsmmc: Add support for quirky omap3 hsmmc controller

2014-02-28 Thread Nishanth Menon
On 02/14/2014 10:31 AM, Tony Lindgren wrote: * Nishanth Menon n...@ti.com [140213 21:48]: When device is booted using devicetree, platforms impacted by Erratum 2.1.1.128 is not detected easily in the mmc driver. This erratum indicates that the module cannot do multi-block transfers. Platforms

Feb. Fedora Kernel Patch Report

2014-02-28 Thread Josh Boyer
It's been a while since I sent one of these. Mostly that's due to the overlap between which upstream stable version we're using in Fedora across the releases, and how fast those have been happening upstream. We're settled on 3.13.y now, and with 3.14-rc4 out there things have calmed down enough

Re: perf_fuzzer compiled for x32 causes reboot

2014-02-28 Thread H. Peter Anvin
If I'm reading this right we end up going from the page fault tracepoint to copy_from_user_nmi() without going through NMI, and the cr2 corruption is obvious. I guess the assumption that only the NMI path needed to save cr2 is flawed? On February 28, 2014 7:07:29 AM PST, Vince Weaver

Re: [PATCH 2/8] integrity: fix checkpatch errors

2014-02-28 Thread Dmitry Kasatkin
This patch is on the top of Joe Perches patch. - Dmitry On 28/02/14 16:59, Dmitry Kasatkin wrote: Unfixed checkpatch errors make it difficult to see new errors.. This patch fix them. Some lines with over 80 chars remained unchanged to improve code readability. Signed-off-by: Dmitry

Re: perf_fuzzer compiled for x32 causes reboot

2014-02-28 Thread Steven Rostedt
On Fri, 28 Feb 2014 10:07:29 -0500 (EST) Vince Weaver vincent.wea...@maine.edu wrote: On Fri, 28 Feb 2014, Steven Rostedt wrote: 199.900696: function: __module_address ... 199.900705: function: __kernel_text_address 199.900809:

Re: [PATCH v2] zram: support REQ_DISCARD

2014-02-28 Thread Joonsoo Kim
2014-02-26 23:06 GMT+09:00 Jerome Marchand jmarc...@redhat.com: On 02/26/2014 02:57 PM, Sergey Senozhatsky wrote: On (02/26/14 14:44), Jerome Marchand wrote: On 02/26/2014 02:16 PM, Sergey Senozhatsky wrote: Hello, On (02/26/14 14:23), Joonsoo Kim wrote: zram is ram based block device and

Re: [PATCH v2] zram: support REQ_DISCARD

2014-02-28 Thread Joonsoo Kim
2014-02-26 17:07 GMT+09:00 Minchan Kim minc...@kernel.org: Hi Joonsoo, On Wed, Feb 26, 2014 at 02:23:15PM +0900, Joonsoo Kim wrote: zram is ram based block device and can be used by backend of filesystem. When filesystem deletes a file, it normally doesn't do anything on data block of that

Re: [GIT PULL] qcom DT changes for v3.15

2014-02-28 Thread Arnd Bergmann
On Thursday 20 February 2014, Kumar Gala wrote: The following changes since commit cf1e8f0cd665e2a9966d2bee4e11ecc0938ff166: ARM: qcom: Rename various msm prefixed functions to qcom (2014-02-06 16:20:41 -0600) are available in the git repository at:

Re: [PATCH v2 2/3] arm64: Extend the PCI I/O space to 16MB

2014-02-28 Thread Catalin Marinas
On Thu, Feb 27, 2014 at 01:09:58PM +, Liviu Dudau wrote: From: Catalin Marinas catalin.mari...@arm.com The patch moves the PCI I/O space (currently at 64K) before the earlyprintk mapping and extends it to 16MB. Signed-off-by: Catalin Marinas catalin.mari...@arm.com I'll push this into

Re: perf_fuzzer compiled for x32 causes reboot

2014-02-28 Thread Steven Rostedt
On Fri, 28 Feb 2014 10:20:00 -0500 Steven Rostedt rost...@goodmis.org wrote: Below is a patch that should fix this. Please remove all other patches and try this out. Updated patch, as Peter Zijlstra on IRC asked me if the exception_enter() can be traced. And looking at it, it sure can be. --

Re: [PATCH V3 1/5] idle/cpuidle: Split cpuidle_idle_call main function into smaller functions

2014-02-28 Thread Daniel Lezcano
On 02/28/2014 01:56 PM, Peter Zijlstra wrote: Daniel; can you rebase these patches on top of tip/master. Yes, sure. No problem. Ingo is going to create tip/sched/idle := tip/sched/core + tip/timer/core and then we can stick these patches in there. Perfect ! Thanks -- Daniel --

[PATCH] x86 trace: Fix page fault tracing bug

2014-02-28 Thread Jiri Olsa
The trace_do_page_fault function trigger tracepoint and then handles the actual page fault. This could lead to error if the tracepoint caused page fault. The original cr2 value gets lost and the original page fault handler kills current process with SIGSEGV. This happens if you record page

Re: perf_fuzzer compiled for x32 causes reboot

2014-02-28 Thread Peter Zijlstra
On Fri, Feb 28, 2014 at 07:13:06AM -0800, H. Peter Anvin wrote: If I'm reading this right we end up going from the page fault tracepoint to copy_from_user_nmi() without going through NMI, and the cr2 corruption is obvious. I guess the assumption that only the NMI path needed to save cr2 is

Re: [PATCH 1/2] asm-generic: rwsem: ensure sem-cnt is only accessed via atomic_long_*

2014-02-28 Thread Will Deacon
On Fri, Feb 28, 2014 at 12:50:06PM +, Peter Hurley wrote: On 02/28/2014 07:13 AM, Will Deacon wrote: diff --git a/include/asm-generic/rwsem.h b/include/asm-generic/rwsem.h index 603a0a11e592..2b6401f9e428 100644 --- a/include/asm-generic/rwsem.h +++ b/include/asm-generic/rwsem.h @@

Re: [PATCH v6 0/2] Introduce AEMIF driver for Davinci/Keystone archs

2014-02-28 Thread Santosh Shilimkar
Greg, On Monday 24 February 2014 12:26 PM, Ivan Khoronzhuk wrote: These patches introduce Async External Memory Interface (EMIF16/AEMIF) controller driver for Davinci/Keystone archs. For more informations see documentation: Davinci DM646x - http://www.ti.com/lit/ug/sprueq7c/sprueq7c.pdf

Re: [PATCH] x86 trace: Fix page fault tracing bug

2014-02-28 Thread Peter Zijlstra
On Fri, Feb 28, 2014 at 04:33:40PM +0100, Jiri Olsa wrote: While I like the idea of just pushing up the CR2 read; the below does the read too late still, exception_enter() also has a tracepoint in. @@ -1267,9 +1269,18 @@ dotraplinkage void __kprobes trace_do_page_fault(struct pt_regs *regs,

Re: [PATCH] x86 trace: Fix page fault tracing bug

2014-02-28 Thread Jiri Olsa
On Fri, Feb 28, 2014 at 04:33:40PM +0100, Jiri Olsa wrote: The trace_do_page_fault function trigger tracepoint and then handles the actual page fault. This could lead to error if the tracepoint caused page fault. The original cr2 value gets lost and the original page fault handler kills

Re: [PATCH] usb: gadget: atmel_usba: Fix crashed during stopping when DEBUG is enabled

2014-02-28 Thread Alexandre Belloni
Hi Gregory, On 28/02/2014 at 15:34:01 +0100, Gregory CLEMENT wrote : The debug trace in the atmel_usba_stop function made the assumption that the driver pointer passed in parameter was not NULL. Since the commit usb: gadget: udc-core: fix a regression during gadget driver unbinding, it was no

Re: [PATCH v3 1/2] arm64: make a single hook to syscall_trace() for all syscall features

2014-02-28 Thread Will Deacon
On Fri, Feb 28, 2014 at 05:14:24AM +, AKASHI Takahiro wrote: Currently syscall_trace() is called only for ptrace. With additional TIF_xx flags defined, it is now called in all the cases of audit, ftrace and seccomp in addition to ptrace. Acked-by: Richard Guy Briggs r...@redhat.com

RE: [RFC V1] drivers/base/regmap: Implementation for regmap_multi_reg_write

2014-02-28 Thread Opensource [Anthony Olech]
a bypassed version of the API, it needs to be rebased. I see that next-20140228 has Charles' patch applied, my next attempt will be rebased against the latest linux-next. a) should an async operation be allowed? easy in the case where all the changes are in the same page

Re: 3.12-stable kernel tree being taken over by Jiri Slaby

2014-02-28 Thread Shuah Khan
On 02/26/2014 04:19 PM, Greg Kroah-Hartman wrote: As I hinted at in my kernel summit talk about the stable kernel tree, we have a sucker^Wvolunteer who has stepped up to take over the longterm maintenance of the 3.12 stable kernel tree. Jiri Slaby will be doing this work, for how ever long he

Re: [PATCH] x86 trace: Fix page fault tracing bug

2014-02-28 Thread Steven Rostedt
Vince, can you test this patch instead. Seems that the bug you found was found by others. You can remove all patches again, and modify this patch such that the read of cr2 is before the exception_enter() call (in both locations) On Fri, Feb 28, 2014 at 04:47:15PM +0100, Jiri Olsa wrote: On Fri,

Re: [PATCH v6 0/2] Introduce AEMIF driver for Davinci/Keystone archs

2014-02-28 Thread Greg KH
On Fri, Feb 28, 2014 at 10:43:36AM -0500, Santosh Shilimkar wrote: Greg, On Monday 24 February 2014 12:26 PM, Ivan Khoronzhuk wrote: These patches introduce Async External Memory Interface (EMIF16/AEMIF) controller driver for Davinci/Keystone archs. For more informations see

[PATCHv2] x86 trace: Fix page fault tracing bug

2014-02-28 Thread Jiri Olsa
On Fri, Feb 28, 2014 at 04:47:08PM +0100, Peter Zijlstra wrote: On Fri, Feb 28, 2014 at 04:33:40PM +0100, Jiri Olsa wrote: While I like the idea of just pushing up the CR2 read; the below does the read too late still, exception_enter() also has a tracepoint in. please check v2, thanks jirka

Re: [PATCH] x86 trace: Fix page fault tracing bug

2014-02-28 Thread Steven Rostedt
On Fri, Feb 28, 2014 at 04:33:40PM +0100, Jiri Olsa wrote: The trace_do_page_fault function trigger tracepoint and then handles the actual page fault. This could lead to error if the tracepoint caused page fault. The original cr2 value gets lost and the original page fault handler kills

Re: [GIT PULL timers] Timer-wheel bandaids^Wcommits for 3.15

2014-02-28 Thread Paul E. McKenney
On Fri, Feb 28, 2014 at 06:06:38AM +0100, Mike Galbraith wrote: On Thu, 2014-02-27 at 17:27 -0800, Paul E. McKenney wrote: Hello, Thomas and Ingo, This pull request contains latency bandaids^Woptimizations to the timer-wheel code that are useful in conjunction with NO_HZ_FULL Kconfig

Re: [PATCHv2] x86 trace: Fix page fault tracing bug

2014-02-28 Thread H. Peter Anvin
On 02/28/2014 08:05 AM, Jiri Olsa wrote: On Fri, Feb 28, 2014 at 04:47:08PM +0100, Peter Zijlstra wrote: On Fri, Feb 28, 2014 at 04:33:40PM +0100, Jiri Olsa wrote: While I like the idea of just pushing up the CR2 read; the below does the read too late still, exception_enter() also has a

Re: [PATCHv2] x86 trace: Fix page fault tracing bug

2014-02-28 Thread Steven Rostedt
Vince, you probably missed my other emails, as I sent from mutt, and not my normal email client. I see that mutt uses my own box to send, and I got these error messages (need to put back sending via my ISP instead of my local mail server): vincent.wea...@maine.edu (after MAIL FROM): 550 5.5.4

Re: [PATCH v6 2/2] arm64: audit: Add audit hook in ptrace/syscall_trace

2014-02-28 Thread Will Deacon
On Fri, Feb 28, 2014 at 05:17:15AM +, AKASHI Takahiro wrote: This patch adds auditing functions on entry to or exit from every system call invocation. Acked-by: Richard Guy Briggs r...@redhat.com Signed-off-by: AKASHI Takahiro takahiro.aka...@linaro.org --- arch/arm64/kernel/ptrace.c

Re: perf_fuzzer compiled for x32 causes reboot

2014-02-28 Thread H. Peter Anvin
On 02/28/2014 07:40 AM, Peter Zijlstra wrote: On Fri, Feb 28, 2014 at 07:13:06AM -0800, H. Peter Anvin wrote: If I'm reading this right we end up going from the page fault tracepoint to copy_from_user_nmi() without going through NMI, and the cr2 corruption is obvious. I guess the assumption

Re: [PATCH] usb: gadget: atmel_usba: Fix crashed during stopping when DEBUG is enabled

2014-02-28 Thread Gregory CLEMENT
On 28/02/2014 16:50, Alexandre Belloni wrote: Hi Gregory, On 28/02/2014 at 15:34:01 +0100, Gregory CLEMENT wrote : The debug trace in the atmel_usba_stop function made the assumption that the driver pointer passed in parameter was not NULL. Since the commit usb: gadget: udc-core: fix a

Re: [PATCH v6 0/2] Introduce AEMIF driver for Davinci/Keystone archs

2014-02-28 Thread Santosh Shilimkar
On Friday 28 February 2014 11:06 AM, Greg KH wrote: On Fri, Feb 28, 2014 at 10:43:36AM -0500, Santosh Shilimkar wrote: Greg, On Monday 24 February 2014 12:26 PM, Ivan Khoronzhuk wrote: These patches introduce Async External Memory Interface (EMIF16/AEMIF) controller driver for

[GIT PULL] KVM changes for 3.14-rc5

2014-02-28 Thread Paolo Bonzini
Linus, The following changes since commit 6d0abeca3242a88cab8232e4acd7e2bf088f3bc2: Linux 3.14-rc3 (2014-02-16 13:30:25 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/virt/kvm/kvm.git tags/for-linus for you to fetch changes up to

Re: [PATCHv2] x86 trace: Fix page fault tracing bug

2014-02-28 Thread Steven Rostedt
On Fri, 28 Feb 2014 08:11:59 -0800 H. Peter Anvin h...@zytor.com wrote: If so, do we need to hoist the reading of %cr2 all the way into assembly or something else? Function tracing code should not fault. Peter and Jiri were discussing on IRC to make sure that perf could not enable userspace

[PATCH v2 0/2] checkpatch: fixes for vendor compatible check

2014-02-28 Thread Florian Vaussard
Hi, Since v1 [1]: - Add check for vendors with '-', as suggested by Joe Perches Regards, Florian [1] http://thread.gmane.org/gmane.linux.drivers.devicetree/63770 Florian Vaussard (2): checkpatch: check vendor compatible with dashes checkpatch: fix spurious vendor compatible warnings

[PATCH v2 1/2] checkpatch: check vendor compatible with dashes

2014-02-28 Thread Florian Vaussard
The current vendor compatible check will not match vendors with dashes, like: compatible=asahi-kasei Reported-by: Joe Perches j...@perches.com Signed-off-by: Florian Vaussard florian.vauss...@epfl.ch --- scripts/checkpatch.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH] Staging: comedi: addi-data: remove unnecessary variable initializations in hwdrv_apci035.c

2014-02-28 Thread Ian Abbott
On 2014-02-28 07:30, Chase Southwood wrote: Nearly every variable in hwdrv_apci035.c is initialized to 0 when it is declared, and then set to some other value before ever being used. As such, we can remove all of these initializations. They are accomplishing nothing. Signed-off-by: Chase

[PATCH v2 2/2] checkpatch: fix spurious vendor compatible warnings

2014-02-28 Thread Florian Vaussard
With a compatible string like compatible = foo; checkpatch will currently try to find foo in vendor-prefixes.txt, which is wrong since the vendor prefix is empty in this specific case. Skip the vendor test if the compatible is not like compatible = vendor,something; Signed-off-by: Florian

Re: perf_fuzzer compiled for x32 causes reboot

2014-02-28 Thread Steven Rostedt
On Fri, 28 Feb 2014 08:15:11 -0800 H. Peter Anvin h...@zytor.com wrote: Well, I was talking about the assumption spelled out in the comment above copy_from_user_nmi() which pretty much states cr2 is safe because cr2 is saved/restored in the NMI wrappers. Yeah, it seems that the name

Re: [PATCH 08/11] kexec-bzImage: Support for loading bzImage using 64bit entry

2014-02-28 Thread Vivek Goyal
On Thu, Feb 27, 2014 at 10:36:29PM +0100, Borislav Petkov wrote: Hi Boris, Thanks for taking time to review this large patchset. Please find my comments inline. [..] diff --git a/arch/x86/kernel/Makefile b/arch/x86/kernel/Makefile index cb648c8..fa9981d 100644 ---

Re: [PATCH 2/4] ARM: dove: prepare new Dove DT Kconfig variable

2014-02-28 Thread Jason Cooper
On Fri, Feb 28, 2014 at 10:53:10AM +0900, Mark Brown wrote: On Thu, Feb 27, 2014 at 10:28:03PM +0100, Sebastian Hesselbarth wrote: DT-enabled Dove will move over from ARCH_DOVE in mach-dove to MACH_DOVE in mach-mvebu. As non-DT ARCH_DOVE will stay to rot for a while, add a new DT-only

[PATCH v2 4/5] DMA: sun6i: Add driver for the Allwinner A31 DMA controller

2014-02-28 Thread Maxime Ripard
The Allwinner A31 has a 16 channels DMA controller that it shares with the newer A23. Although sharing some similarities with the DMA controller of the older Allwinner SoCs, it's significantly different, I don't expect it to be possible to share the driver for these two. The A31 Controller is

[PATCH v2 1/5] clk: sun6i: Protect CPU clock

2014-02-28 Thread Maxime Ripard
Right now, AHB is an indirect child clock of the CPU clock. If that happens to change, since the CPU clock has no other consumers declared in Linux, it would be shut down, which is not really a good idea. Prevent this by forcing it enabled. Signed-off-by: Maxime Ripard

[PATCH 2/3] HID: multitouch: remove pen special handling

2014-02-28 Thread Benjamin Tissoires
Pens have a special handling in hid-mt as hybrid pen/touch devices are quite common now. However, some fancy devices presents also useful collections like mouse or keyboard. The special case for the pen may not be a special case, and treat it as a generic case. Signed-off-by: Benjamin Tissoires

[PATCH 0/3] HID: multitouch cleanups and support for fancy devices

2014-02-28 Thread Benjamin Tissoires
Hi guys, Ok, this patch series is not very consistent and could have been split in two... Anyway, here is some work for hid-multitouch: - the first patch is mainly a way for us to reduce the work load regarding hid-mt when device makers ask for an inclusion in the kernel. Also, I have been

[PATCH 1/3] HID: multitouch: remove registered devices with default behavior

2014-02-28 Thread Benjamin Tissoires
The default multitouch protocol class in use since the kernel v3.9 is working quite well. Since its inclusion, the only devices we had to tweak were those who really need quirks (GeneralTouch, FocalTech and Wistron, the 3 of them are Win 7 certified ones). The flow of new unhandled devices has

[PATCH 3/3] HID: multitouch: add support of other generic collections in hid-mt

2014-02-28 Thread Benjamin Tissoires
The ANTON Touch Pad is a device which can switch from a multitouch touchpad to a mouse. It thus presents several generic collections which are currently ignored by hid-multitouch. Enable them by not ignoring them in mt_input_mapping. Adding also a suffix for them depending on their application.

[PATCH v2 0/5] Add support for the Allwinner A31 DMA Controller

2014-02-28 Thread Maxime Ripard
Hi, This patchset adds support for the DMA controller found in the Allwinner A31 and A23 SoCs. This has been tested using the newly introduced SPI driver on an A31 EVK. Support for DMA-driven SPI transfers will be the subject of another patch serie. Thanks, Maxime Changes from v1: - Removed

[PATCH v2 5/5] ARM: sun6i: dt: Add A31 DMA controller to DTSI

2014-02-28 Thread Maxime Ripard
Now that we have a DMA driver, we can add the DMA bindings in the DTSI for the controller and the devices supported that can use DMA. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- arch/arm/boot/dts/sun6i-a31.dtsi | 29 + 1 file changed, 29

Re: [PATCH] doc: update SubmittingPatches about the Fixed tag

2014-02-28 Thread Jason Cooper
On Thu, Feb 27, 2014 at 07:37:02PM -0800, Aaron Brown wrote: From: Jacob Keller jacob.e.kel...@intel.com This patch updates the SubmittingPatches process to include howto about the new 'Fixed' tag to be used when a patch fixes an issue in a previous commit (found by git-bisect for example).

Re: [PATCH] ARM: qcom: Enable basic support for Qualcomm platforms in multi_v7_defconfig

2014-02-28 Thread Kevin Hilman
Hi Kumar, Kevin Hilman khil...@linaro.org writes: Kumar Gala ga...@codeaurora.org writes: Enable support for the MSM8x60, MSM8960, and MSM8974 SoCs, clocks and serial console as part of the standard multi_v7_defconfig. Signed-off-by: Kumar Gala ga...@codeaurora.org --- I leave this to

[PATCH v2 2/5] clk: sun6i: Reparent AHB clock on PLL6

2014-02-28 Thread Maxime Ripard
In order for the DMA controller to work for SDRAM to devices transfers, the AHB clock should be reparented on the PLL6. Force that parenting in the clock driver. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- drivers/clk/sunxi/clk-sunxi.c | 18 +- 1 file

[PATCH v2 3/5] clk: sun6i: Protect SDRAM gating bit

2014-02-28 Thread Maxime Ripard
Prevent the SDRAM controller from being gated by force-enabling it in the clock driver. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- drivers/clk/sunxi/clk-sunxi.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/clk/sunxi/clk-sunxi.c

Re: [PATCH v9 3/3] mmc: sdhci-msm: Add platform_execute_tunning implementation

2014-02-28 Thread Kumar Gala
On Feb 28, 2014, at 5:24 AM, Georgi Djakov gdja...@mm-sol.com wrote: This patch adds implementation for platform specific tuning in order to support HS200 bus speed mode on Qualcomm SDHCI controller. Signed-off-by: Asutosh Das asuto...@codeaurora.org Signed-off-by: Venkat Gopalakrishnan

Re: [PATCH 2/2] timer: Make sure TIMER_FLAG_MASK bits are free in allocated base

2014-02-28 Thread Viresh Kumar
On 28-Feb-2014, at 4:22 pm, Thomas Gleixner t...@linutronix.de wrote: On Fri, 28 Feb 2014, Viresh Kumar wrote: Currently we are using two lowest bit of base for internal purpose and so they both should be zero in the allocated address. The code was doing the right thing before this

Re: [PATCH 3/3] usb: phy: msm: use ASSIGN_*_PM_OPS variants

2014-02-28 Thread Greg Kroah-Hartman
On Fri, Feb 28, 2014 at 09:48:08AM +0100, Ulf Hansson wrote: On 28 February 2014 00:44, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: On Thu, Feb 27, 2014 at 03:41:31PM -0800, David Cohen wrote: On Thu, Feb 27, 2014 at 11:03:24AM -0800, Greg Kroah-Hartman wrote: On Tue, Feb 25,

Re: [PATCH 09/11] kexec: Provide a function to add a segment at fixed address

2014-02-28 Thread Vivek Goyal
On Thu, Feb 27, 2014 at 10:52:32PM +0100, Borislav Petkov wrote: [..] +/* Add a kexec segment at fixed address provided by caller */ +int kexec_add_segment(struct kimage *image, char *buffer, unsigned long bufsz, + unsigned long memsz, unsigned long base) +{ +

[PATCH] Drivers:staging:ozwpan Fixed sparse context imbalance warning

2014-02-28 Thread Surendra Patil
Sparse warns about - drivers/staging/ozwpan/ozproto.c:797:6: warning: context imbalance in 'oz_polling_lock_bh' - wrong count at exit drivers/staging/ozwpan/ozproto.c:802:6: warning: context imbalance in 'oz_polling_unlock_bh' - unexpected unlock so added __acquires() and __releases().

Re: [PATCH v2 3/3] arm64: is_compat_task is defined both in asm/compat.h and linux/compat.h

2014-02-28 Thread Will Deacon
On Tue, Feb 25, 2014 at 09:20:25AM +, AKASHI Takahiro wrote: kernel/seccomp.c includes linux/compat.h and, indicrectly, asm/compat.h via asm/syscall.h. Due to the duplicated definitions of is_compat_task, compiling this file will fail in the case of !CONFIG_COMPAT. So this patch 1)

FIQ on xilinx cortex a9 zynq

2014-02-28 Thread Tim Sander
Hi I am currently trying to get the FIQ interrupt working with linux. I want to have the FIQ to have an interrupt which is not masked by linux and gives the lowest irq latencys the hardware can deliver. In the case of the xilinx zynx i have seen that the ICCICR register enables the FIQ via the

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