[PATCH 05/10] ARM: dts: omap3 hs: Remove timer12

2015-02-26 Thread Pali Rohár
Device timer12 is automatically disabled on all HS devices via DTS property ti,timer-secure in file omap3.dtsi so it can be safely removed. We do not need to disable it on another place. Signed-off-by: Pali Rohár pali.ro...@gmail.com --- arch/arm/boot/dts/omap34xx-hs.dtsi |4

[PATCH 04/10] crypto: omap-sham: Check for return value from pm_runtime_get_sync

2015-02-26 Thread Pali Rohár
Function pm_runtime_get_sync could fail and we need to check return value to prevent kernel crash. Signed-off-by: Pali Rohár pali.ro...@gmail.com --- drivers/crypto/omap-sham.c |9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/drivers/crypto/omap-sham.c

[PATCH 07/13] FS-Cache: Permit fscache_cancel_op() to cancel in-progress operations too

2015-02-26 Thread David Howells
Currently, fscache_cancel_op() only cancels pending operations - attempts to cancel in-progress operations are ignored. This leads to a problem in fscache_wait_for_operation_activation() whereby the wait is terminated, but the object has been killed. The check at the end of the function now

[PATCH 12/13] FS-Cache: The operation cancellation method needs calling in more places

2015-02-26 Thread David Howells
Any time an incomplete operation is cancelled, the operation cancellation function needs to be called to clean up. This is currently being passed directly to some of the functions that might want to call it, but not all. Instead, pass the cancellation method pointer to the

Re: [PATCH v7 2/3] drivers/bus: Freescale Management Complex (fsl-mc) bus driver

2015-02-26 Thread Alexander Graf
On 24.02.15 23:21, J. German Rivera wrote: Platform device driver that sets up the basic bus infrastructure for the fsl-mc bus type, including support for adding/removing fsl-mc devices, register/unregister of fsl-mc drivers, and bus match support to bind devices to drivers.

Re: [PATCH v2 1/1] drivers/bus: fsl-mc object allocator driver

2015-02-26 Thread Alexander Graf
On 24.02.15 23:50, J. German Rivera wrote: The fsl-mc object allocator driver manages allocatable fsl-mc objects such as DPBPs, DPMCPs and DPCONs. It provides services to other fsl-mc drivers to allocate/deallocate these types of objects. Oh sorry, what I forgot to mention in the other mail

[PATCH_V3 0/3] dma: dt: Add DMA driver for jz4780

2015-02-26 Thread Zubair Lutfullah Kakakhel
Hi, Here we have three patches that add a DMA driver for the Ingenic JZ4780 SoC. JZ4780 support is still in-flight. See http://patchwork.linux-mips.org/bundle/paulburton/ci20-v3.20/ These are based on 4.0-rc1. Apart from the channel numbers, jz4740 and jz4780 are quite different. The

[PATCH_V3 2/3] dma: jz4780: add driver for the Ingenic JZ4780 DMA controller

2015-02-26 Thread Zubair Lutfullah Kakakhel
From: Alex Smith alex.sm...@imgtec.com This patch adds a driver for the DMA controller found in the Ingenic JZ4780. It currently does not implement any support for the programmable firmware feature of the controller - this is not necessary for most uses. It also does not take priority into

Re: [RFC PATCH 1/3] eeprom: Add a simple EEPROM framework

2015-02-26 Thread Maxime Ripard
On Thu, Feb 26, 2015 at 09:16:27AM +, Srinivas Kandagatla wrote: I think we are making simple eeprom framework too smart which will break in future. IMHO, Anything on top of eeprom interface that interprets the data should not go into the eeprom framework itself, it can either live some

[PATCH 1/4] mm, documentation: clarify /proc/pid/status VmSwap limitations

2015-02-26 Thread Vlastimil Babka
The documentation for /proc/pid/status does not mention that the value of VmSwap counts only swapped out anonymous private pages and not shmem. This is not obvious, so document this limitation. Signed-off-by: Vlastimil Babka vba...@suse.cz --- I've noticed that proc(5) manpage is currently

[PATCH 2/4] mm, procfs: account for shmem swap in /proc/pid/smaps

2015-02-26 Thread Vlastimil Babka
Currently, /proc/pid/smaps will always show Swap: 0 kB for shmem-backed mappings, even if the mapped portion does contain pages that were swapped out. This is because unlike private anonymous mappings, shmem does not change pte to swap entry, but pte_none when swapping the page out. In the smaps

[PATCH 09/10] ARM: dts: omap3-tao3530: Include directly omap34xx.dtsi

2015-02-26 Thread Pali Rohár
This patch just move content of file omap34xx-hs.dtsi into omap3-tao3530.dts. There is no code change, patch is just preparation for removing -hs file. Signed-off-by: Pali Rohár pali.ro...@gmail.com --- arch/arm/boot/dts/omap3-tao3530.dtsi | 11 ++- 1 file changed, 10 insertions(+), 1

[PATCH 0/4] enhance shmem process and swap accounting

2015-02-26 Thread Vlastimil Babka
This series is based on Jerome Marchand's [1] so let me quote the first paragraph from there: There are several shortcomings with the accounting of shared memory (sysV shm, shared anonymous mapping, mapping to a tmpfs file). The values in /proc/pid/status and statm don't allow to distinguish

[PATCH v6 0/6] hwmon: thermal: Odroid U3: Provide support for Odroid U3 fan

2015-02-26 Thread Lukasz Majewski
Presented patches add support for Odroid's U3 optional CPU FAN, which uses PWM subsystem for low level control. After successful probe it registers itself as a cooling device for thermal subsystem. This driver also supports devices without DTS specified. To provide correct functionality, new

Re: 3.19.0 / kswap0 bug

2015-02-26 Thread Vlastimil Babka
On 02/21/2015 05:16 PM, Pavol Cupka wrote: Hi list, I am encountering a bug on my desktop PC. Running gentoo-sources (patches for gentoo) 3.19.0, gcc 4.8.4, glibc 2.19 Although there don't seem to be many gentoo patches on top, you should try reproducing this with vanilla 3.19 kernel first.

Re: [PATCH v6 1/3] dmaengine: Add support for APM X-Gene SoC DMA engine driver

2015-02-26 Thread Ben Dooks
On 26/02/15 12:31, Rameshwar Sahu wrote: Hi Vinod, On Tue, Feb 24, 2015 at 6:23 PM, Rameshwar Prasad Sahu rs...@apm.com wrote: This patch implements the APM X-Gene SoC DMA engine driver. The APM X-Gene SoC DMA engine consists of 4 DMA channels for performing DMA operations. These DMA

Re: [PATCH v2 1/1] drivers/bus: fsl-mc object allocator driver

2015-02-26 Thread Alexander Graf
On 24.02.15 23:50, J. German Rivera wrote: The fsl-mc object allocator driver manages allocatable fsl-mc objects such as DPBPs, DPMCPs and DPCONs. It provides services to I'd recommend to explain what these abbreviations mean. It's ridiculously hard to remember what they are about. So please

Re: [PATCH 0/3 v6] drivers/bus: Freescale Management Complex bus driver patch series

2015-02-26 Thread Alexander Graf
On 27.01.15 15:35, Stuart Yoder wrote: Hi Arnd/Alex, German has posted an example driver for the fsl-mc bus in his RFC [RFC PATCH 1/1] drivers/bus: fsl-mc object allocator driver. In addition I have made available the skeleton for a driver for one of the objects/devices (crypto) that

Re: [PATCH v6 6/6] hwmon: pwm-fan: Code for using PWM FAN as a cooling device

2015-02-26 Thread Lukasz Majewski
Hi Guenter, On 02/26/2015 05:59 AM, Lukasz Majewski wrote: The PWM FAN device can now be used as a thermal cooling device. Necessary infrastructure has been added in this commit. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Acked-by: Eduardo Valentin edubez...@gmail.com ---

Business proposal.

2015-02-26 Thread Shun Jun
vg.docx Description: MS-Word 2007 document

[PATCH 05/13] FS-Cache: Synchronise object death state change vs operation submission

2015-02-26 Thread David Howells
When an object is being marked as no longer live, do this under the object spinlock to prevent a race with operation submission targeted on that object. The problem occurs due to the following pair of intertwined sequences when the cache tries to create an object that would take it over the hard

[PATCH 01/13] FS-Cache: Count culled objects and objects rejected due to lack of space

2015-02-26 Thread David Howells
Count the number of objects that get culled by the cache backend and the number of objects that the cache backend declines to instantiate due to lack of space in the cache. These numbers are made available through /proc/fs/fscache/stats Signed-off-by: David Howells dhowe...@redhat.com ---

[PATCH 00/13] FS-Cache: Fix a number of bugs that occur when the cache runs out of space

2015-02-26 Thread David Howells
with: fscache-fixes-20150226 David --- David Howells (13): FS-Cache: Count culled objects and objects rejected due to lack of space FS-Cache: Move fscache_report_unexpected_submission() to make it more available FS-Cache: When submitting an op, cancel it if the target object is dying

[PATCH 06/13] FS-Cache: fscache_object_is_dead() has wrong logic, kill it

2015-02-26 Thread David Howells
fscache_object_is_dead() returns true only if the object is marked dead and the cache got an I/O error. This should be a logical OR instead. Since two of the callers got split up into handling for separate subcases, expand the other callers and kill the function. This is probably the right

[PATCH 08/13] FS-Cache: Out of line fscache_operation_init()

2015-02-26 Thread David Howells
Out of line fscache_operation_init() so that it can access internal FS-Cache features, such as stats, in a later commit. Signed-off-by: David Howells dhowe...@redhat.com --- fs/fscache/operation.c| 22 ++ include/linux/fscache-cache.h | 24

[PATCH 09/13] FS-Cache: Count the number of initialised operations

2015-02-26 Thread David Howells
Count and display through /proc/fs/fscache/stats the number of initialised operations. Signed-off-by: David Howells dhowe...@redhat.com --- Documentation/filesystems/caching/fscache.txt |3 ++- fs/fscache/internal.h |1 + fs/fscache/operation.c

[PATCH 03/13] FS-Cache: When submitting an op, cancel it if the target object is dying

2015-02-26 Thread David Howells
When submitting an operation, prefer to cancel the operation immediately rather than queuing it for later processing if the object is marked as dying (ie. the object state machine has reached the KILL_OBJECT state). Whilst we're at it, change the series of related test_bit() calls into a

[PATCH v6 3/6] ARM: dts: Add properties to use pwm-fan device as a cooling device in Odroid U3

2015-02-26 Thread Lukasz Majewski
With those bindings it is possible to use pwm-fan device available in Odroid U3 as a cooling device. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Acked-by: Eduardo Valentin edubez...@gmail.com --- Changes for v2: - Rename cooling-pwm-values property to cooling-levels Changes for v3: -

[PATCH 02/13] FS-Cache: Move fscache_report_unexpected_submission() to make it more available

2015-02-26 Thread David Howells
Move fscache_report_unexpected_submission() up within operation.c so that it can be called from fscache_submit_exclusive_op() too. Signed-off-by: David Howells dhowe...@redhat.com --- fs/fscache/operation.c | 74 1 file changed, 37

[PATCH 5/8] zram: return zram device_id value from zram_add()

2015-02-26 Thread Sergey Senozhatsky
ZRAM_CTL_ADD ioctl requires valid device_id to be provided, that can be a bit inconvenient. Change zram_add() to return negative value upon new device creation failure, and device_id (= 0) value otherwise. This prepares ZRAM_CTL_ADD to perform automatic device_id assignment. New device_id will be

[PATCH 8/8] zram: report every added and removed device

2015-02-26 Thread Sergey Senozhatsky
With dynamic device creation/removal printing num_devices in zram_init() doesn't make a lot of sense, as well as printing the number of destroyed devices in destroy_devices(). Print per-device action (added/removed) in zram_add() and zram_remove() instead. Example: [ 3645.259652] zram: Added

Re: [PATCH 2/4] usb: Introduce Xen pvUSB frontend

2015-02-26 Thread Oliver Neukum
On Thu, 2015-02-26 at 14:35 +0100, Juergen Gross wrote: + + /* reset completion */ + if ((info-ports[wIndex].status USB_PORT_STAT_RESET) != 0 + time_after_eq(jiffies, info-ports[wIndex].timeout)) { +

Re: [PATCH 2/3 v3] x86: entry_64.S: always allocate complete struct pt_regs

2015-02-26 Thread Sabrina Dubroca
2015-02-26, 14:54:33 +0100, Denys Vlasenko wrote: On Thu, Feb 26, 2015 at 1:11 PM, Denys Vlasenko vda.li...@googlemail.com wrote: On Thu, Feb 26, 2015 at 10:55 AM, Denys Vlasenko vda.li...@googlemail.com wrote: On Wed, Feb 25, 2015 at 10:59 PM, Andy Lutomirski l...@amacapital.net wrote:

Re: Trying to use 'perf probe' to debug perf itself

2015-02-26 Thread Arnaldo Carvalho de Melo
Em Thu, Feb 26, 2015 at 01:57:42PM +0900, Masami Hiramatsu escreveu: (2015/02/25 22:25), Arnaldo Carvalho de Melo wrote: Em Wed, Feb 25, 2015 at 11:53:16AM +0900, Masami Hiramatsu escreveu: (2015/02/25 3:49), Arnaldo Carvalho de Melo wrote: Hmm, strange. Could you tell me the version of

Re: [PATCH 2/4] mm, procfs: account for shmem swap in /proc/pid/smaps

2015-02-26 Thread Jerome Marchand
On 02/26/2015 02:51 PM, Vlastimil Babka wrote: Currently, /proc/pid/smaps will always show Swap: 0 kB for shmem-backed mappings, even if the mapped portion does contain pages that were swapped out. This is because unlike private anonymous mappings, shmem does not change pte to swap entry, but

Re: [RFC][PATCH v2] sched/rt: Use IPI to trigger RT task push migration instead of pulling

2015-02-26 Thread Steven Rostedt
On Thu, 26 Feb 2015 08:49:07 +0100 Peter Zijlstra pet...@infradead.org wrote: Yes, notice that we don't start iterating at the beginning; this in on purpose. If we start iterating at the beginning, _every_ cpu will again pile up on the first one. By starting at the current cpu, each cpu

[PATCH_V3 1/3] dt-bindings: dma: Add binding for jz4780-dma

2015-02-26 Thread Zubair Lutfullah Kakakhel
From: Alex Smith alex.sm...@imgtec.com Add device tree bindings for the DMA controller on JZ4780 SoCs, used by the dma-jz4780 driver. Signed-off-by: Alex Smith alex.sm...@imgtec.com Signed-off-by: Zubair Lutfullah Kakakhel zubair.kakak...@imgtec.com --- V3 - V2 Changed binding. Used to be 3 DMA

[PATCH 0/2] New fix for icache coherency race

2015-02-26 Thread Lars Persson
This patch set proposes an improved fix for the race condition that originally was fixed in commit 2a4a8b1e5d9d (MIPS: Remove race window in page fault handling). I have used the flush_icache_page API that is marked as deprecated in Documentation/cachetlb.txt. There are strong reasons to keep

[PATCH 1/2] Revert MIPS: Remove race window in page fault handling

2015-02-26 Thread Lars Persson
Revert commit 2a4a8b1e5d9d (MIPS: Remove race window in page fault handling) because it increased the number of flushed dcache pages and became a performance problem for some workloads. Signed-off-by: Lars Persson lar...@axis.com --- arch/mips/include/asm/pgtable.h | 10 ++

[no subject]

2015-02-26 Thread Frank John
Winning Batch No: QF-134-8876,V-588) Your email ID have been selected for Qatar Foundation 2015 Compensation Funds Valid £800.000.00GPB contact(morganad...@att.net) for procedures of claimsa -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [PATCH 0/2] powerpc/kvm: Enable running guests on RT Linux

2015-02-26 Thread Sebastian Andrzej Siewior
On 02/26/2015 02:02 PM, Paolo Bonzini wrote: On 24/02/2015 00:27, Scott Wood wrote: This isn't a host PIC driver. It's guest PIC emulation, some of which is indeed not suitable for a rawlock (in particular, openpic_update_irq which loops on the number of vcpus, with a loop body that calls

Re: SPDX-License-Identifier

2015-02-26 Thread Theodore Ts'o
On Thu, Feb 26, 2015 at 10:26:50AM +, One Thousand Gnomes wrote: So that GPL header at begining of each file becomes one line... and so that if it is BSD/GPL dual licensed is plain to see, and I don't have to read the notices saying oh this is gpl.. but if you want to, delete gpl above

Re: [PATCH v3 3/3] of: support passing console options with stdout-path

2015-02-26 Thread Andrew Lunn
On Thu, Feb 26, 2015 at 06:55:22AM -0500, Peter Hurley wrote: On 11/27/2014 12:56 PM, Leif Lindholm wrote: Support specifying console options (like with console=ttyXN,options) by appending them to the stdout-path property after a separating ':'. Example: stdout-path =

[PATCH 00/10] omap3 crypto fixes

2015-02-26 Thread Pali Rohár
This patch series fix crypto support for omap3 devices which use DT. It enables AES and SHAM on N9/N950 and SHAM on N900. AES is still disabled for N900. Pali Rohár (10): ARM: OMAP2+: Return correct error values from device and hwmod ARM: OMAP3: Fix crypto support for HS devices crypto:

Re: [PATCH 3.14.25-rt22 1/2] rtmutex Real-Time Linux: Fixing kernel BUG at kernel/locking/rtmutex.c:997!

2015-02-26 Thread Sebastian Andrzej Siewior
* Steven Rostedt | 2015-02-23 19:57:43 [-0500]: On Mon, 23 Feb 2015 17:16:27 -0700 Thavatchai Makphaibulchoke thavatchai.makpahibulch...@hp.com wrote: If I'm not mistaken, another reason could also be due to the rate of the timer interrupt, in the case that the mutex is highly contested IH

[PATCH v6 5/6] hwmon: pwm-fan: Read PWM FAN configuration from device tree

2015-02-26 Thread Lukasz Majewski
This patch provides code for reading PWM FAN configuration data via device tree. The pwm-fan can work with full speed when configuration is not provided. However, errors are propagated when wrong DT bindings are found. Additionally the struct pwm_fan_ctx has been extended. Signed-off-by: Lukasz

[PATCH v6 4/6] hwmon: pwm-fan: Extract __set_pwm() function to only modify PWM duty cycle

2015-02-26 Thread Lukasz Majewski
It was necessary to decouple code handling writing to sysfs from the one responsible for setting PWM of the fan. Due to that, new __set_pwm() method was extracted, which is responsible for only setting new PWM duty cycle. Signed-off-by: Lukasz Majewski l.majew...@samsung.com --- Changes for v2: -

[PATCH v6 6/6] hwmon: pwm-fan: Code for using PWM FAN as a cooling device

2015-02-26 Thread Lukasz Majewski
The PWM FAN device can now be used as a thermal cooling device. Necessary infrastructure has been added in this commit. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Acked-by: Eduardo Valentin edubez...@gmail.com --- Changes for v2: - Replace pwm_fan_cooling_states with

Re: [RFC][PATCH v2] sched/rt: Use IPI to trigger RT task push migration instead of pulling

2015-02-26 Thread Steven Rostedt
On Thu, 26 Feb 2015 14:47:54 +0100 Peter Zijlstra pet...@infradead.org wrote: Thinking about this more, is it because a wmb just forces the CPU to write everything before this before it writes anything after it. That is, the writes themselves can happen at a much later time. Does a plain

Re: [RFC][PATCH] module: Optimize __module_address() using a latched RB-tree

2015-02-26 Thread Peter Zijlstra
On Thu, Feb 26, 2015 at 12:43:09PM +0100, Peter Zijlstra wrote: +static struct module *__tree_find(struct rb_root *r, unsigned long addr) +{ + struct rb_node *n = r-rb_node; + + while (n) { + struct module *m = mod_entry(n); + int idx = mod_node_idx(m, n);

Re: [PATCH 4/7] x86: entry.S: use JZ mnemonic after TEST, not JE

2015-02-26 Thread Denys Vlasenko
On Thu, Feb 26, 2015 at 12:04 AM, Borislav Petkov b...@alien8.de wrote: On Wed, Feb 25, 2015 at 01:00:16AM +0100, Denys Vlasenko wrote: After TEST insn, JE actually performs jump if zero, let's use JZ mnemonic instead. No code changes, but less confusion. Signed-off-by: Denys Vlasenko

Re: [PATCH -rt] lockdep: selftest: fix warnings due to missing PREEMPT_RT conditionals

2015-02-26 Thread Sebastian Andrzej Siewior
* Xander Huff | 2015-01-28 15:06:59 [-0600]: Fixed by wrapping the test definitions in #ifndef CONFIG_PREEMPT_RT_FULL conditionals. FYI: To be clearer, this should apply to all stable RT releases 3.4 and later. Applied Sebastian -- To unsubscribe from this list: send the line unsubscribe

[PATCH] perf: fix put_event() ctx leak

2015-02-26 Thread Leon Yu
Commit a83fe28e2e45 (perf: Fix put_event() ctx lock) changed lock logic in put_event() by replacing mutex_lock_nested() with perf_event_ctx_lock_nested(), but didn't fix subsequent mutex_unlock() with correct counterpart, perf_event_ctx_unlock(). ctx is thus leaked as a result of incremented

[PATCH_V3 3/3] MAINTAINERS: Add Ingenic JZ4780 DMA driver maintainer entry

2015-02-26 Thread Zubair Lutfullah Kakakhel
Signed-off-by: Zubair Lutfullah Kakakhel zubair.kakak...@imgtec.com --- MAINTAINERS | 5 + 1 file changed, 5 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index ddc5a8c..be98874 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -4962,6 +4962,11 @@ W:

since-3.19 branch opened for mm git tree (was: Re: mmotm 2015-02-25-21-19 uploaded)

2015-02-26 Thread Michal Hocko
I have just created since-3.19 branch in mm git tree (http://git.kernel.org/?p=linux/kernel/git/mhocko/mm.git;a=summary). It is based on v3.19 tag in Linus tree and mmotm-2015-02-25-21-19. I have pulled some cgroup wide changes from Tejun. As usual mmotm trees are tagged with signed tag (finger

Re: [RFC PATCH 1/3] eeprom: Add a simple EEPROM framework

2015-02-26 Thread Maxime Ripard
On Tue, Feb 24, 2015 at 05:30:49PM -0800, Stephen Boyd wrote: On 02/24, Maxime Ripard wrote: On Mon, Feb 23, 2015 at 03:11:40PM -0800, Stephen Boyd wrote: I would do something more simple that is just a list of keys and their location like this: device-serial-number = start

[PATCH] regulator: wm8350: remove unused variable

2015-02-26 Thread Arnd Bergmann
After the only user of the variable has been removed, we get a valid gcc warning about it: regulator/wm8350-regulator.c:1154:17: warning: unused variable 'wm8350' [-Wunused-variable] The obvious fix is to remove the variable as well. Signed-off-by: Arnd Bergmann a...@arndb.de Fixes:

[PATCH 3/4] usb: Introduce Xen pvUSB backend

2015-02-26 Thread Juergen Gross
Introduces the Xen pvUSB backend. With pvUSB it is possible for a Xen domU to communicate with a USB device assigned to that domU. The communication is all done via the pvUSB backend in a driver domain (usually Dom0) which is owner of the physical device. The code is taken from the pvUSB

[PATCH 10/10] ARM: dts: Remove files omap34xx-hs.dtsi and omap36xx-hs.dtsi

2015-02-26 Thread Pali Rohár
These files are not used by any DTS file anymore. Signed-off-by: Pali Rohár pali.ro...@gmail.com --- arch/arm/boot/dts/omap34xx-hs.dtsi | 12 arch/arm/boot/dts/omap36xx-hs.dtsi | 12 2 files changed, 24 deletions(-) delete mode 100644

[PATCH 01/10] ARM: OMAP2+: Return correct error values from device and hwmod

2015-02-26 Thread Pali Rohár
Without this patch function pm_runtime_get_sync() returns 0 even when some omap subfunction fails. This patch properly propagate error codes from omap functions back to caller. This patch fix problem, when loading omap-aes driver in qemu cause kernel oops. Signed-off-by: Pali Rohár

[PATCH 06/10] ARM: dts: omap3: Add missing dmas for crypto

2015-02-26 Thread Pali Rohár
This patch adds missing dma DTS definitions for omap aes and sham drivers. Without it kernel drivers do not work. Signed-off-by: Pali Rohár pali.ro...@gmail.com --- arch/arm/boot/dts/omap3.dtsi |4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/omap3.dtsi

[PATCH 08/10] ARM: dts: n900: Enable omap sham and include directly omap34xx.dtsi

2015-02-26 Thread Pali Rohár
This patch moves content of file omap34xx-hs.dtsi into omap3-n900.dts and enable omap sham support (omap HW support for SHA + MD5). After testing both omap hwmod and omap-sham.ko drivers it looks like signed Nokia X-Loader enable L3 firewall for omap sham. There is no kernel crash with both

Re: [RFC][PATCH v2] sched/rt: Use IPI to trigger RT task push migration instead of pulling

2015-02-26 Thread Steven Rostedt
On Thu, 26 Feb 2015 08:45:59 +0100 Peter Zijlstra pet...@infradead.org wrote: On Wed, Feb 25, 2015 at 12:50:15PM -0500, Steven Rostedt wrote: It can't be used for state? If one CPU writes zero, and the other CPU wants to decide if the system is in the state to do something, isn't a

Re: brcmfmac: use msecs_to_jiffies for time conversion

2015-02-26 Thread Kalle Valo
This is only an API consolidation and should make things more readable it replaces var * HZ / 1000 by msecs_to_jiffies(var). Signed-off-by: Nicholas Mc Guire hof...@osadl.org Acked-by: Arend van Spriel ar...@broadcom.com Thanks, applied to wireless-drivers-next.git. Kalle Valo -- To

[PATCH v2 1/8] mmc: sdhci-st: Add macros for register offsets and bitfields for mmcss glue regs

2015-02-26 Thread Peter Griffin
The stih407 family SoC's have additional glue registers in the flashSS which are used to configure the Arasan controller. This patch adds macros for the register offsets and bitfields which will be used by subsequent patches to support stih407 family SoC's. Signed-off-by: Peter Griffin

[PATCH v2 0/8] Add sd/emmc support for stih407 family silicon

2015-02-26 Thread Peter Griffin
Hi, This series adds sd/emmc support to the sdhci-st.c driver for stih407 family silicon. The changes mainly involve congiguring some extra glue registers in the flashSS which configure the Arasan controller. This series also adds support for UHS modes for eMMC. To allow UHS HS200/SD104 modes to

[PATCH v2 5/8] mmc: sdhci-st: Add sdhci_st_set_uhs_signaling function.

2015-02-26 Thread Peter Griffin
To allow UHS modes to work properly we need to provide the st specific set_uhs_signaling callback function. This function differs from the generic sdhci_set_uhs_signaling callback in that we need to configure the correct delay depending on the UHS mode, and also set the V18_EN bit. Signed-off-by:

[PATCH v2 6/8] mmc: sdhci-st: Update the quirks for this controller.

2015-02-26 Thread Peter Griffin
Some additional quirks need to be enabled now we support UHS modes. This avoids some spurious warnings like Got data interrupt 0x0002 even though no data operation was in progress Testing on stih410-b2120 board achieves the following speeds with HS200 eMMC card. max-frequency = 200Mhz

[PATCH v2 8/8] ARM: STi: DT: STiH407: Add dt nodes for sdhci and emmc.

2015-02-26 Thread Peter Griffin
The nodes have been split to allow as much commonality as possible. The stih407 has a silicon bug with eMMC UHS modes (with top regs) and as such doesn't have any of the uhs dt properties. Signed-off-by: Peter Griffin peter.grif...@linaro.org --- arch/arm/boot/dts/stih407-family.dtsi | 30

Re: [PATCH/RFC] rtc: rtc-twl: Fixed nested IRQ handling in resume from suspend

2015-02-26 Thread Gerlando Falauto
Hi Thomas, did anything ever come out of this? I'm encountering a similar but different problem, where a nested interrupt handler is called directly from the resend tasklet (and therefore -- if I'm not mistaken -- in an atomic context, which is unexpected). This issue however appears during

[PATCH v2 4/8] mmc: sdhci-st: Add st_mmcss_cconfig function to configure mmcss glue registers.

2015-02-26 Thread Peter Griffin
STiH407 family SoC's have glue registers in the flashSS subsystem which are used to configure the Arasan HC. This patch configures these glue registers according to what has been specified in the DT. Signed-off-by: Peter Griffin peter.grif...@linaro.org Signed-off-by: Giuseppe Cavallaro

[tip:x86/asm] x86/traps: Enable DEBUG_STACK after cpu_init() for TRAP_DB/BP

2015-02-26 Thread tip-bot for Wang Nan
Commit-ID: b4d8327024637cb2a1f7910dcb5d0ad7a096f473 Gitweb: http://git.kernel.org/tip/b4d8327024637cb2a1f7910dcb5d0ad7a096f473 Author: Wang Nan wangn...@huawei.com AuthorDate: Thu, 26 Feb 2015 13:49:39 +0800 Committer: Ingo Molnar mi...@kernel.org CommitDate: Thu, 26 Feb 2015 12:29:20

[PATCH v2 3/8] mmc: sdhci-st: Add delay management functions for top registers (eMMC).

2015-02-26 Thread Peter Griffin
Due to the tight timing constriants in some UHS modes, it is required to have some delay management in the design. Two types of delay management are supported in the HW: - 1) Static delay management 2) Dynamic delay management NB: The delay management is only there when eMMC interface is

Re: [PATCH] pinctrl: at91: move lock/unlock_as_irq calls into request/release resources methods

2015-02-26 Thread Boris Brezillon
On Fri, 20 Feb 2015 15:50:36 +0800 Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com wrote: On Feb 9, 2015, at 10:50 PM, Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com wrote: On Feb 9, 2015, at 2:23 AM, Boris Brezillon boris.brezil...@free-electrons.com wrote:

[PATCH v2 7/8] mmc: sdhci-st: Update ST SDHCI binding documentation.

2015-02-26 Thread Peter Griffin
This patch updates the binding information to reflect the extra dt options which are now supported by the sdhci-st.c driver which enable support for stih407 family silicon. Stih410 SoC and later support UHS modes for eMMC, so the driver now makes use of these common bindings. Examples are

[PATCH v2 2/8] mmc: sdhci-st: Add support for de-asserting reset signal and top regs resource

2015-02-26 Thread Peter Griffin
STiH407 family SoC's can have a reset signal for the controller which needs to be managed. Also the eMMC controller has some additional 'top' memory mapped registers which are used to manage the dynamic and static delay required for UHS modes. This patch adds support for creating the mapping,

[PATCH 2/2] dt-bindings: cpufreq: document for hisilicon acpu driver

2015-02-26 Thread Leo Yan
This adds documentation for hisilicon acpu's cpufreq driver. OPP library is used for device tree parsing to get frequency list; Furthermore, this driver can bind all CPUs to change frequency together, or the two clusters can trigger the frequency change independently. This is controlled by the

[PATCH 1/2] cpufreq: hisilicon: add acpu driver

2015-02-26 Thread Leo Yan
Add acpu driver for hisilicon SoC, acpu is application processor subsystem. Dependent on the H/W design, the silicon may has the coupled clock domain for all clusters, or every cluster can have the dedicated clock domain. So this driver will support both implementations. Signed-off-by: Leo Yan

[PATCH 0/2] cpufreq: hisilicon acpu support

2015-02-26 Thread Leo Yan
This series adds support for hisilicon acpu cpufreq driver, which has been tested on Linaro's 96board hikey with hi6220 SoC. Leo Yan (2): cpufreq: hisilicon: add acpu driver dt-bindings: cpufreq: document for hisilicon acpu driver .../bindings/cpufreq/cpufreq-hisi-acpu.txt | 112

Re: [RFC][PATCH v2] sched/rt: Use IPI to trigger RT task push migration instead of pulling

2015-02-26 Thread Peter Zijlstra
On Thu, Feb 26, 2015 at 07:43:01AM -0500, Steven Rostedt wrote: On Thu, 26 Feb 2015 08:45:59 +0100 Peter Zijlstra pet...@infradead.org wrote: On Wed, Feb 25, 2015 at 12:50:15PM -0500, Steven Rostedt wrote: It can't be used for state? If one CPU writes zero, and the other CPU wants

[PATCH 13/13] FS-Cache: Retain the netfs context in the retrieval op earlier

2015-02-26 Thread David Howells
Now that the retrieval operation may be disposed of by fscache_put_operation() before we actually set the context, the retrieval-specific cleanup operation can produce a NULL-pointer dereference when it tries to unconditionally clean up the netfs context. Given that it is expected that we'll get

[PATCH 04/13] FS-Cache: Handle a new operation submitted against a killed object

2015-02-26 Thread David Howells
Reject new operations that are being submitted against an object if that object has failed its lookup or creation states or has been killed by the cache backend for some other reason, such as having been culled. Signed-off-by: David Howells dhowe...@redhat.com --- fs/fscache/object.c|2

[PATCH 11/13] FS-Cache: Put an aborted initialised op so that it is accounted correctly

2015-02-26 Thread David Howells
Call fscache_put_operation() or a wrapper on any op that has gone through fscache_operation_init() so that the accounting shown in /proc is done correctly, specifically fscache_n_op_release. fscache_put_operation() therefore now allows an op in the INITIALISED state as well as in the CANCELLED

Re: [PATCH] pinctrl: at91: move lock/unlock_as_irq calls into request/release resources methods

2015-02-26 Thread Jean-Christophe PLAGNIOL-VILLARD
On Feb 26, 2015, at 9:32 PM, Nicolas Ferre nicolas.fe...@atmel.com wrote: Le 08/02/2015 19:23, Boris Brezillon a écrit : The gpiochip_lock_as_irq call can fail and return an error, while the irq_startup is not expected to fail (returns an unsigned int which is not checked by irq core

Re: [PATCH 6/6] qlcnic_dcb.c : possible division by zero.

2015-02-26 Thread Sergei Shtylyov
Hello. On 02/26/2015 12:56 AM, Ameen Ali wrote: Whenever there is a division it is usually worthwhile to add some belt'n'braces code to ensure that cnt != 0, otherwise a machine signal can occur. Signed-off-by : Ameen Ali ameenali...@gmail.com ---

Re: [PATCH v2] coresight-stm: adding driver for CoreSight STM component

2015-02-26 Thread Mathieu Poirier
On 25 February 2015 at 22:53, Shawn Guo shawn@linaro.org wrote: On Wed, Feb 25, 2015 at 04:32:32PM -0700, Mathieu Poirier wrote: diff --git a/Documentation/ABI/testing/sysfs-bus-coresight-devices-stm b/Documentation/ABI/testing/sysfs-bus-coresight-devices-stm new file mode 100644 index

[PATCH v6 1/6] Documentation: dts: Documentation entry to explain how to use PWM FAN as a cooling device

2015-02-26 Thread Lukasz Majewski
Explanation of several properties, which allow PWM fan working as a cooling device, have been embraced in this commit. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Acked-by: Eduardo Valentin edubez...@gmail.com --- Changes for v2: - Rename cooling-pwm-values to cooling-levels - Remove

Re: [PATCH v3 3/3] of: support passing console options with stdout-path

2015-02-26 Thread Peter Hurley
Hi Andrew, On 02/26/2015 08:46 AM, Andrew Lunn wrote: On Thu, Feb 26, 2015 at 06:55:22AM -0500, Peter Hurley wrote: On 11/27/2014 12:56 PM, Leif Lindholm wrote: Support specifying console options (like with console=ttyXN,options) by appending them to the stdout-path property after a

[PATCH 2/8] zram: use idr instead of `zram_devices' array

2015-02-26 Thread Sergey Senozhatsky
This patch makes some preparations for dynamic device ADD/REMOVE functionality via /dev/zram-control interface. Remove `zram_devices' array and switch to id-to-pointer translation (idr). idr doesn't bloat zram struct with additional members, f.e. list_head, yet still provides ability to match the

[PATCH 0/8] introduce dynamic device creation/removal

2015-02-26 Thread Sergey Senozhatsky
Hello, this patchset introduces dynamic (on demand) zram device add-remove functionality via /dev/zram-control interface. Two ioctl commands are defined as of now (accessible in user-space via new zram.h header file): -- ZRAM_CTL_ADD add new device (generates device_id automatically or

[PATCH 4/8] zram: add dynamic device add/remove functionality

2015-02-26 Thread Sergey Senozhatsky
Introduce /dev/zram-control interface which lets user-space to add a new zram device (ZRAM_CTL_ADD ioctl) or remove the existing one (ZRAM_CTL_REMOVE ioctl). This patch adds only two ioctl operations: add device and remove device. There is no support for `automatic' device_id generation in this

Re: [GIT PULL] please pull file-locking related changes for v3.20

2015-02-26 Thread J. Bruce Fields
On Thu, Feb 26, 2015 at 11:00:46AM +, One Thousand Gnomes wrote: On Tue, 17 Feb 2015 11:13:39 -0800 Linus Torvalds torva...@linux-foundation.org wrote: On Tue, Feb 17, 2015 at 11:08 AM, J. Bruce Fields bfie...@fieldses.org wrote: I agree that it's weird, but I think it's what

Re: [PATCH] ARM: kexec: Relax SMP validation to improve DT compatibility

2015-02-26 Thread Stephen Warren
On 02/26/2015 03:37 AM, Geert Uytterhoeven wrote: When trying to kexec into a new kernel on a platform where multiple CPU cores are present, but no SMP bringup code is available yet, the kexec_load system call fails with: kexec_load failed: Invalid argument The SMP test added to

Re: [RFC][PATCH] module: Optimize __module_address() using a latched RB-tree

2015-02-26 Thread Peter Zijlstra
On Thu, Feb 26, 2015 at 04:55:35PM +, Mathieu Desnoyers wrote: Dunno, it seemed like a good a place as any. My personal coding-style is to put all definitions at the top of C files, but I don't know if it's within the kernel coding style guide lines or just something I'm personally

[GIT PULL] sound fixes for 4.0-rc2

2015-02-26 Thread Takashi Iwai
Linus, please pull sound fixes for v4.0-rc2 from: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git tags/sound-4.0-rc2 The topmost commit is de5d0ad506cb10ab143e2ffb9def7607e3671f83 sound fixes for 4.0-rc2 Most

Re: [PATCH 0/4] Add support for IPROC SDHCI controller

2015-02-26 Thread Scott Branden
Hi Chris, I have not heard any more feedback on this patchset. Is it in your queue to review or merge into your tree? Thanks, Scott On 15-02-09 04:06 PM, Scott Branden wrote: This series of patchsets contains the IPROC SDHCI driver used in a series of Broadcom SoCs Quirks are also added

Re: [PATCH -v2] mm, oom: do not fail __GFP_NOFAIL allocation if oom killer is disbaled

2015-02-26 Thread Michal Hocko
On Wed 25-02-15 12:41:07, David Rientjes wrote: On Wed, 25 Feb 2015, Michal Hocko wrote: diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 2d224bbdf8e8..c2ff40a30003 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -2363,7 +2363,8 @@ __alloc_pages_may_oom(gfp_t gfp_mask,

Re: [PATCH v5 4/7] platform/chrome: Add Chrome OS EC userspace device interface

2015-02-26 Thread Olof Johansson
On Thu, Feb 26, 2015 at 1:08 AM, Javier Martinez Canillas javier.marti...@collabora.co.uk wrote: Hello Olof, Thanks a lot for your feedback. On 02/26/2015 02:13 AM, Gwendal Grignou wrote: Olof, I think the way Javier did it is fine, the 'major' of the ioctl is 0xEC, from ':'. Gwendal.

Re: [RFC PATCH 0/3] genirq: mixing IRQF_NO_SUSPEND and wakeup sources on shared IRQs

2015-02-26 Thread Rafael J. Wysocki
On Thursday, February 26, 2015 04:47:24 PM Boris Brezillon wrote: On Thu, 26 Feb 2015 16:44:16 +0100 Rafael J. Wysocki r...@rjwysocki.net wrote: On Thursday, February 26, 2015 09:03:47 AM Boris Brezillon wrote: Hi Rafael, On Wed, 25 Feb 2015 22:59:36 +0100 Rafael J. Wysocki

[PATCH 0/3] toshiba_haps: Some misc changes plus sysfs entries documentation

2015-02-26 Thread Azael Avalos
These patches make some misc chanes to the driver, replacing sscanf with kstrtoint, DEVICE_ATTR_{RW, WO} macros and adding documentation about the sysfs entries. Azael Avalos (3): toshiba_haps: Replace sscanf with kstrtoint toshiba_haps: Make use of DEVICE_ATTR_{RW, WO} macros

<    1   2   3   4   5   6   7   8   9   10   >