[PATCH v4 2/2] clocksource: driver for Conexant Digicolor SoC timer

2015-01-25 Thread Baruch Siach
Add clocksource driver to the Conexant CX92755 SoC, part of the Digicolor SoCs series. Hardware provides 8 timers, A to H. Timer A is dedicated to a future watchdog driver so we don't use it here. Use timer B for sched_clock, and timer C for clock_event. Signed-off-by: Baruch Siach ---

[PATCH v4 1/2] clocksource: devicetree: document Conexant Digicolor timer binding

2015-01-25 Thread Baruch Siach
The Conexant CX92755 SoC provides 8 32-bit timers as part of its so called "Agent Communication" block. Timers can be configures either as free running or one shot. Each timer has a dedicated interrupt source in the CX92755 interrupts controller. The first timer (Timer A) can also be configured as

[PATCH v4 0/2] clocksource: Conexant CX92755 timers support

2015-01-25 Thread Baruch Siach
This short series adds support for the Conexant CX92755 SoC timers. This SoC is part of the Conexant Digicolor series of SoCs. v4: Address review comments by Daniel Lezcano: * Use macros for register configuration values * Encapsulate static objects in a struct * Use

Re: [PATCH] Input: atmel_mxt_ts - implement T100 touch object support

2015-01-25 Thread Javier Martinez Canillas
Hello Nick, On 12/19/2014 15:04 PM, Nick Dyer wrote:> > Hi Benson- > On 18/12/14 18:49, Benson Leung wrote: >> Dmitry and Chung-Yih have had some discussion about how to handle >> hovering fingers, and I think the direction they wanted to go was to >> use ABS_MT_DISTANCE instead. >> >>

Re: [PATCH v3 1/2] ARM: EXYNOS: apply S5P_CENTRAL_SEQ_OPTION fix only when necessary

2015-01-25 Thread Krzysztof Kozlowski
On pią, 2015-01-23 at 17:24 +0100, Bartlomiej Zolnierkiewicz wrote: > Commit c2dd114d2486 ("ARM: EXYNOS: fix register setup for AFTR mode > code") added S5P_CENTRAL_SEQ_OPTION register setup fix for all > Exynos SoCs to AFTR mode code-path. It turned out that for coupled > cpuidle AFTR mode on

[PATCH 6/6] locking/rwsem: Check for active lock before bailing on spinning

2015-01-25 Thread Davidlohr Bueso
37e9562453b (locking/rwsem: Allow conservative optimistic spinning when readers have lock) forced the default for optimistic spinning to be disabled if the lock owner was nil, which makes much sense for readers. However, while it is not our priority, we can make some optimizations for write-mostly

[PATCH -tip 0/6] rwsem: Fine tuning

2015-01-25 Thread Davidlohr Bueso
Hello, First two patches are self descriptive obvious add-ons. The rest are performance enhancements for write-mostly workloads. While this is not our priority (use mutexes instead!!), there are cases where heavy use of writers can severly hurt rwsem performance. For instace, we got reports[1]

[PATCH 2/6] locking/rwsem: Document barrier need when waking tasks

2015-01-25 Thread Davidlohr Bueso
The need for the smp_mb in __rwsem_do_wake should be properly documented. Applies to both xadd and spinlock variants. Signed-off-by: Davidlohr Bueso --- kernel/locking/rwsem-spinlock.c | 5 + kernel/locking/rwsem-xadd.c | 5 + 2 files changed, 10 insertions(+) diff --git

[PATCH 4/6] locking/rwsem: Avoid deceiving lock spinners

2015-01-25 Thread Davidlohr Bueso
When readers hold the semaphore, the ->owner is nil. As such, and unlike mutexes, '!owner' does not necessarily imply that the lock is free. This will cause writer spinners to potentially spin excessively as they've been mislead to thinking they have a chance of acquiring the lock, instead of

[PATCH 5/6] locking/rwsem: Optimize slowpath/sleeping

2015-01-25 Thread Davidlohr Bueso
When blocking , we incur in multiple barriers when setting the task's uninterruptable state. This is particularly bad when the lock keeps getting stolen from the task trying to acquire the sem. These changes propose delaying setting the task's new state until we are sure that calling schedule is

[PATCH 3/6] locking/rwsem: Set lock ownership ASAP

2015-01-25 Thread Davidlohr Bueso
In order to optimize the spinning step, we need to set the lock owner as soon as the lock is acquired; after a successful counter cmpxchg operation, that is. This is particularly useful as rwsems need to set the owner to nil for readers, so there is a greater chance of falling out of the spinning.

[PATCH 1/6] locking/rwsem: Use task->state helpers

2015-01-25 Thread Davidlohr Bueso
Call __set_task_state() instead of assigning the new state directly. These interfaces also aid CONFIG_DEBUG_ATOMIC_SLEEP environments, keeping track of who last changed the state. Signed-off-by: Davidlohr Bueso --- kernel/locking/rwsem-spinlock.c | 2 +- kernel/locking/rwsem-xadd.c | 3 +--

Re: [PATCH v2] mm: incorporate read-only pages into transparent huge pages

2015-01-25 Thread Vlastimil Babka
On 01/24/2015 04:38 PM, Ebru Akagunduz wrote: > This patch aims to improve THP collapse rates, by allowing > THP collapse in the presence of read-only ptes, like those > left in place by do_swap_page after a read fault. > > Currently THP can collapse 4kB pages into a THP when > there are up to

[PATCH RFC] staging: media: davinci_vpfe: drop condition with no effect

2015-01-25 Thread Nicholas Mc Guire
As the if and else branch body are identical the condition has no effect and can be dropped. Signed-off-by: Nicholas Mc Guire --- As the if and the else branch of the inner conditional paths are the same the condition is without effect. Given the comments indicate that the else branch *should*

Re: [PATCH 3/3] ARM: edma: Split up header file to platform_data and API file

2015-01-25 Thread Peter Ujfalusi
Hi, On 01/22/2015 03:40 AM, Olof Johansson wrote: > Hi, > > On Thu, Nov 27, 2014 at 2:41 AM, Peter Ujfalusi wrote: >> include/linux/platform_data/ is not a correct place to keep the API >> definitions for edma, it is meant to be only for the pdata for the device. >> Clean up this by moving the

RE: [PATCH net-next 1/7] r8152: adjust rx_bottom

2015-01-25 Thread Hayes Wang
David Miller [mailto:da...@davemloft.net] > Sent: Sunday, January 25, 2015 2:44 PM [...] > What keeps rtl_start_rx() from running in parallel with > r8152_submit_rx(), or any other accessor of the RX agg->list? Forgive my poor English. I would try to describe them clearly. The steps about the

Re: [PATCH] dmaengine: of: bail out early if "dmas" property is not present

2015-01-25 Thread Vinod Koul
On Wed, Jan 14, 2015 at 03:16:28PM +0100, Wolfram Sang wrote: > From: Wolfram Sang > > And don't print an error: not configured is not an error. > Applied, thanks This must be record for Acks per lines :) -- ~Vinod -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

[PATCH RFC] wlcore: match wait_for_completion_timeout return type

2015-01-25 Thread Nicholas Mc Guire
return type of wait_for_completion_timeout is unsigned long not int, this patch adds an appropriate return type and assignment. Signed-off-by: Nicholas Mc Guire --- The return type of wait_for_completion_timeout is unsigned long not int. This patch adds a separate variable of proper type for

Re: [PATCH 1/2] watchdog: dw_wdt: pat the watchdog before enabling it

2015-01-25 Thread Jisheng Zhang
Dear Doug, On Thu, 22 Jan 2015 09:09:28 -0800 Doug Anderson wrote: > Jisheng, > > On Wed, Jan 21, 2015 at 9:22 PM, Jisheng Zhang wrote: > > Dear Doug, > > > > On Wed, 21 Jan 2015 15:17:22 -0800 > > Doug Anderson wrote: > > > >> On some dw_wdt implementations the "top" register may be initted

[PATCH] The count field of counter_show() function should be an unsigned value

2015-01-25 Thread Nan Li
The count field is an unsigned 32bit value, and the counter_show() function should also treat it as a unsigned value. Signed-off-by: Nan Li --- drivers/acpi/sysfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/acpi/sysfs.c b/drivers/acpi/sysfs.c index

[f2fs-dev][PATCH v2 10/10] f2fs: add trace for rb-tree extent cache ops

2015-01-25 Thread Chao Yu
This patch adds trace for lookup/update/shrink/destroy ops in rb-tree extent cache. Signed-off-by: Chao Yu --- fs/f2fs/data.c | 16 +- include/trace/events/f2fs.h | 134 2 files changed, 148 insertions(+), 2 deletions(-) diff

[f2fs-dev][PATCH v2 09/10] f2fs: show extent tree,node stat info in debugfs

2015-01-25 Thread Chao Yu
This patch adds and shows stat info of total memory footprint for extent tree, node in debugfs. Signed-off-by: Chao Yu --- fs/f2fs/debug.c | 7 +++ fs/f2fs/f2fs.h | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/fs/f2fs/debug.c b/fs/f2fs/debug.c index 0f721f6..031dc61

[f2fs-dev][PATCH v2 08/10] f2fs: enable rb-tree extent cache

2015-01-25 Thread Chao Yu
This patch enables rb-tree based extent cache in f2fs. When we mount with "-o extent_cache", f2fs will try to add recently accessed page-block mappings into rb-tree based extent cache as much as possible, instead of original one extent info cache. By this way, f2fs can support more effective

[f2fs-dev][PATCH v2 07/10] f2fs: add a mount option for rb-tree extent cache

2015-01-25 Thread Chao Yu
This patch adds a mount option 'extent_cache' in f2fs. It tries to use a rb-tree based extent cache to cache more mapping information with less memory if this option is set, otherwise we will use the original one extent info cache. Suggested-by: Changman Lee Signed-off-by: Chao Yu ---

[f2fs-dev][PATCH v2 06/10] f2fs: add core functions for rb-tree extent cache

2015-01-25 Thread Chao Yu
This patch adds core functions including slab cache init function and init/lookup/update/shrink/destroy function for rb-tree based extent cache. Thank Jaegeuk Kim and Changman Lee as they gave much suggestion about detail design and implementation of extent cache. Todo: * add a cached_ei into

[f2fs-dev][PATCH v2 05/10] f2fs: introduce infra macro and data structure of rb-tree extent cache

2015-01-25 Thread Chao Yu
Introduce infra macro and data structure for rb-tree based extent cache: Macros: * EXT_TREE_VEC_SIZE: indicate vector size for gang lookup in extent tree. * F2FS_MIN_EXTENT_LEN: indicate minimum length of extent managed in cache. * EXTENT_CACHE_SHRINK_NUMBER: indicate number of extent in cache

[f2fs-dev][PATCH v2 04/10] f2fs: introduce universal lookup/update interface of extent cache

2015-01-25 Thread Chao Yu
In this patch, we do these jobs: 1. rename {check,update}_extent_cache to {lookup,update}_extent_info; 2. introduce universal lookup/update interface of extent cache: f2fs_{lookup,update}_extent_cache including above two real functions, then export them to function callers. So after above

[f2fs-dev][PATCH v2 03/10] f2fs: introduce f2fs_map_bh to simplify codes of check_extent_cache

2015-01-25 Thread Chao Yu
This patch introduces f2fs_map_bh to simplify codes of check_extent_cache. v2: o clean up f2fs_map_bh pointed out by Jaegeuk Kim. Signed-off-by: Chao Yu --- fs/f2fs/data.c | 35 +-- 1 file changed, 21 insertions(+), 14 deletions(-) diff --git a/fs/f2fs/data.c

[f2fs-dev][PATCH v2 02/10] f2fs: simplfy a field name in struct f2fs_extent,extent_info

2015-01-25 Thread Chao Yu
Rename a filed name from 'blk_addr' to 'blk' in struct {f2fs_extent,extent_info} as annotation of this field descripts its meaning well to us. By this way, we can avoid long statement in code of following patches. Signed-off-by: Chao Yu --- fs/f2fs/data.c | 13 ++---

Re: [PATCH] crypto: omap: Free memory in error path

2015-01-25 Thread Christophe JAILLET
Oups, should be: free_pages((unsigned long)buf_out, pages); free_pages((unsigned long)buf_in, pages); CJ Le 26/01/2015 06:40, Christophe Jaillet a écrit : If only one of the 2 __get_free_pages fails, then there is a memory leak Signed-off-by: Christophe Jaillet ---

[f2fs-dev][PATCH v2 01/10] f2fs: move ext_lock out of struct extent_info

2015-01-25 Thread Chao Yu
Move ext_lock out of struct extent_info, then in the following patches we can use variables with struct extent_info type as a parameter to pass pure data. Signed-off-by: Chao Yu --- fs/f2fs/data.c | 12 ++-- fs/f2fs/f2fs.h | 6 +- fs/f2fs/inode.c | 7 +++ fs/f2fs/super.c |

[PATCH] crypto: omap: Free memory in error path

2015-01-25 Thread Christophe Jaillet
If only one of the 2 __get_free_pages fails, then there is a memory leak Signed-off-by: Christophe Jaillet --- drivers/crypto/omap-aes.c | 2 ++ drivers/crypto/omap-des.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/drivers/crypto/omap-aes.c b/drivers/crypto/omap-aes.c index

RE: [f2fs-dev][RFC PATCH 06/10] f2fs: add core functions for rb-tree extent cache

2015-01-25 Thread Chao Yu
Hi Jaegeuk, > -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Saturday, January 24, 2015 3:43 AM > To: Chao Yu > Cc: 'Changman Lee'; linux-f2fs-de...@lists.sourceforge.net; > linux-kernel@vger.kernel.org > Subject: Re: [f2fs-dev][RFC PATCH 06/10] f2fs: add core

Re: [PATCH -tip/urgent 0/2]kprobes bugfixes around optprobe

2015-01-25 Thread Wang Nan
Hi Ingo, Is there any problem on these patches? I'm unable to find them in upstream kernel and -tip repository. Thank you. On 2015/1/23 14:42, Masami Hiramatsu wrote: > Hi Ingo, > > Here are two patches for fixing bugs in kprobes, related to > optprobe and enable/disable kprobe knob. > >

[PATCH v6 7/7] can: kvaser_usb: Add support for the USBcan-II family

2015-01-25 Thread Ahmed S. Darwish
From: Ahmed S. Darwish CAN to USB interfaces sold by the Swedish manufacturer Kvaser are divided into two major families: 'Leaf', and 'USBcanII'. From an Operating System perspective, the firmware of both families behave in a not too drastically different fashion. This patch adds support for

[PATCH v6 6/7] can: kvaser_usb: Consolidate and unify state change handling

2015-01-25 Thread Ahmed S. Darwish
From: Ahmed S. Darwish Replace most of the can interface's state and error counters handling with the new can-dev can_change_state() mechanism. Suggested-by: Andri Yngvason Signed-off-by: Ahmed S. Darwish --- drivers/net/can/usb/kvaser_usb.c | 113 - 1

[PATCH v6 5/7] can: kvaser_usb: Update interface state before exiting on OOM

2015-01-25 Thread Ahmed S. Darwish
From: Ahmed S. Darwish Update all of the can interface's state and error counters before trying any skb allocation that can actually fail with -ENOMEM. Suggested-by: Marc Kleine-Budde Signed-off-by: Ahmed S. Darwish --- drivers/net/can/usb/kvaser_usb.c | 181

[PATCH v6 4/7] can: kvaser_usb: Fix state handling upon BUS_ERROR events

2015-01-25 Thread Ahmed S. Darwish
From: Ahmed S. Darwish While being in an ERROR_WARNING state, and receiving further bus error events with error counters still in the ERROR_WARNING range of 97-127 inclusive, the state handling code erroneously reverts back to ERROR_ACTIVE. Per the CAN standard, only revert to ERROR_ACTIVE when

[PATCH v6 3/7] can: kvaser_usb: Retry the first bulk transfer on -ETIMEDOUT

2015-01-25 Thread Ahmed S. Darwish
From: Ahmed S. Darwish On some x86 laptops, plugging a Kvaser device again after an unplug makes the firmware always ignore the very first command. For such a case, provide some room for retries instead of completely exiting the driver init code. Signed-off-by: Ahmed S. Darwish ---

[PATCH v6 2/7] can: kvaser_usb: Send correct context to URB completion

2015-01-25 Thread Ahmed S. Darwish
From: Ahmed S. Darwish Send expected argument to the URB completion hander: a CAN netdevice instead of the network interface private context `kvaser_usb_net_priv'. This was discovered by having some garbage in the kernel log in place of the netdevice names: can0 and can1. Signed-off-by: Ahmed

[PATCH v6 1/7] can: kvaser_usb: Do not sleep in atomic context

2015-01-25 Thread Ahmed S. Darwish
From: Ahmed S. Darwish Upon receiving a hardware event with the BUS_RESET flag set, the driver kills all of its anchored URBs and resets all of its transmit URB contexts. Unfortunately it does so under the context of URB completion handler `kvaser_usb_read_bulk_callback()', which is often

[PATCH v6 0/7] can: kvaser_usb: Leaf bugfixes and USBCan-II support

2015-01-25 Thread Ahmed S. Darwish
Hi! This is an updated patch series for the Kvaser CAN/USB devices: 1- Extra patches are now added to the series. Most importantly patch #1 which fixes a critical `sleep in atomic context' bug in the current upstream driver. Patch #2 fixes a corruption in the kernel logs, also affecting current

Re: [GIT PULL] extcon next for 3.20

2015-01-25 Thread Chanwoo Choi
Dear Greg, I'm so sorry about missing 'linux-kerenl mailing list' address. I add 'linux-kernel mailing list' again. Best Regards, Chanwoo Choi On 01/26/2015 02:09 PM, Chanwoo Choi wrote: > Dear Greg, > > This is extcon-next full request for v3.20. I add detailed description of this > pull

[PATCH] PM/Trace: get rid of synchronous resume limit during PM trace

2015-01-25 Thread Fu, Zhonghui
>From f9c841d1f943d81b5ab0aac7483e794a7f966296 Mon Sep 17 00:00:00 2001 From: Zhonghui Fu Date: Mon, 26 Jan 2015 11:27:08 +0800 Subject: [PATCH] PM/Trace: get rid of synchronous resume limit during PM trace There are some kind of dependency between devices in some hardware platforms. So,

Linux 3.19-rc6

2015-01-25 Thread Linus Torvalds
Another rc, another week closer to release. And this one is slightly smaller than rc5 was, although smaller still would always be better. But like rc5, none of the changes look particularly scary, and over a quarter were cc'd for stable, so things look to be on track. I currently expect to make an

Re: [PATCH v11 1/2] crypto: AF_ALG: add AEAD support

2015-01-25 Thread Herbert Xu
On Mon, Jan 26, 2015 at 05:39:27AM +0100, Stephan Mueller wrote: > > But does it really matter if we consider size == 0 or != at this point? In > case size == 0, the len calculation before the inner while loop will return > 0. Of course it matters because you may die due to the aead_writable

Re: [PATCH v11 1/2] crypto: AF_ALG: add AEAD support

2015-01-25 Thread Stephan Mueller
Am Montag, 26. Januar 2015, 15:37:33 schrieb Herbert Xu: Hi Herbert, > On Mon, Jan 26, 2015 at 05:35:07AM +0100, Stephan Mueller wrote: > > It seems I have misunderstood you in the last discussion. > > I thought you were limiting the receive SGL by ALG_MAX_PAGES rather > than a single IOV

Re: [PATCH v11 1/2] crypto: AF_ALG: add AEAD support

2015-01-25 Thread Stephan Mueller
Am Montag, 26. Januar 2015, 15:32:18 schrieb Herbert Xu: Hi Herbert, > On Mon, Jan 26, 2015 at 05:26:33AM +0100, Stephan Mueller wrote: > > Am Montag, 26. Januar 2015, 10:55:50 schrieb Herbert Xu: > > > > Hi Herbert, > > > > > On Wed, Jan 21, 2015 at 02:19:17AM +0100, Stephan Mueller wrote: >

Re: [PATCH v11 1/2] crypto: AF_ALG: add AEAD support

2015-01-25 Thread Herbert Xu
On Mon, Jan 26, 2015 at 05:35:07AM +0100, Stephan Mueller wrote: > > It seems I have misunderstood you in the last discussion. I thought you were limiting the receive SGL by ALG_MAX_PAGES rather than a single IOV entry. Cheers, -- Email: Herbert Xu Home Page:

Re: [PATCH v11 1/2] crypto: AF_ALG: add AEAD support

2015-01-25 Thread Stephan Mueller
Am Montag, 26. Januar 2015, 11:06:31 schrieb Herbert Xu: Hi Herbert, > On Wed, Jan 21, 2015 at 02:19:17AM +0100, Stephan Mueller wrote: > > + /* > > +* Require exactly one IOV block as the AEAD operation is a one shot > > +* due to the authentication tag. > > +*/ > > + if

Re: [PATCH v11 1/2] crypto: AF_ALG: add AEAD support

2015-01-25 Thread Herbert Xu
On Mon, Jan 26, 2015 at 05:26:33AM +0100, Stephan Mueller wrote: > Am Montag, 26. Januar 2015, 10:55:50 schrieb Herbert Xu: > > Hi Herbert, > > > On Wed, Jan 21, 2015 at 02:19:17AM +0100, Stephan Mueller wrote: > > > + /* use the existing memory in an allocated page */ > > > + if

Re: [PATCH v11 1/2] crypto: AF_ALG: add AEAD support

2015-01-25 Thread Stephan Mueller
Am Montag, 26. Januar 2015, 10:55:50 schrieb Herbert Xu: Hi Herbert, > On Wed, Jan 21, 2015 at 02:19:17AM +0100, Stephan Mueller wrote: > > + /* use the existing memory in an allocated page */ > > + if (ctx->merge) { > > + sg = sgl->sg + sgl->cur - 1; > > +

[PATCH v10 6/7] ARM: dts: exynos: Add PPMU node for Exynos3250-based Rinato/Monk board

2015-01-25 Thread Chanwoo Choi
This patch add PPMU dt node to Exynos3250-base Rinato/Monk board. The PPMU node is used to get the utilization of DMC0/DMC1/LEFTBUS/RIGHTBUS Block. Cc: Kukjin Kim Signed-off-by: Chanwoo Choi Acked-by: Kyungmin Park --- arch/arm/boot/dts/exynos3250-monk.dts | 40

[PATCH v10 5/7] ARM: dts: Add PPMU dt node for Exynos4 SoCs

2015-01-25 Thread Chanwoo Choi
This patch add PPMU (Platform Performance Monitoring Unit) dt node for Exynos4 (Exynos4210/4212/4412) SoC. PPMU dt node is used to monitor the utilization of each IP. The Exynos4210/Exynos4212/Exynos4412 SoC includes following PPMUs: - PPMU_DMC0 0x106A_ - PPMU_DMC1 0x106B_ -

[PATCH v10 4/7] ARM: dts: Add PPMU dt node for Exynos3250 SoC

2015-01-25 Thread Chanwoo Choi
This patch add PPMU (Platform Performance Monitoring Unit) dt node to estimate the utilization of each IP in Exynos SoC throught DEVFREQ Event subsystem. This patch adds following PPMU dt nodes: - PPMU_DMC0 0x106a - PPMU_DMC1 0x106b - PPMU_RIGHTBUS 0x112A - PPMU_LEFTBUS

[PATCH v10 7/7] ARM: dts: exynos: Add PPMU node for Exynos4412-based TRATS2 board

2015-01-25 Thread Chanwoo Choi
This patch add dt node for PPMU_{DMC0|DMC1|LEFTBUS|RIGHTBUS} for exynos4412-trats2 board. Each PPMU dt node includes one event of 'PPMU Count3'. Cc: Kukjin Kim Cc: Myungjoo Ham Cc: Kyungmin Park Signed-off-by: Chanwoo Choi Acked-by: MyungJoo Ham --- arch/arm/boot/dts/exynos4412-trats2.dts |

[PATCH v10 0/7] devfreq: Add devfreq-event class to provide raw data for devfreq device

2015-01-25 Thread Chanwoo Choi
This patchset add new devfreq_event class to provide raw data to determine current utilization of device which is used for devfreq governor. The following description explains the feature of two kind of devfreq class: - devfreq class (existing) : devfreq consumer device use raw data from

[PATCH v10 1/7] devfreq: event: Add new devfreq_event class to provide basic data for devfreq governor

2015-01-25 Thread Chanwoo Choi
This patch add new devfreq_event class for devfreq_event device which provide raw data (e.g., memory bus utilization/GPU utilization). This raw data from devfreq_event data would be used for the governor of devfreq subsystem. - devfreq_event device : Provide raw data for governor of existing

[PATCH v10 3/7] devfreq: event: Add documentation for exynos-ppmu devfreq-event driver

2015-01-25 Thread Chanwoo Choi
This patch adds the documentation for Exynos PPMU (Platform Performance Monitoring Unit) devfreq-event driver. Cc: MyungJoo Ham Cc: Kyungmin Park Signed-off-by: Chanwoo Choi Acked-by: MyungJoo Ham --- .../bindings/devfreq/event/exynos-ppmu.txt | 110 + 1 file

[PATCH v10 2/7] devfreq: event: Add exynos-ppmu devfreq-event driver

2015-01-25 Thread Chanwoo Choi
This patch adds exynos-ppmu devfreq-event driver to get performance data of each IP for Samsung Exynos SoC. These event from Exynos PPMU provide useful information about the behavior of the SoC that you can use when analyzing system performance, and made visible and can be counted using logic in

[PATCH] modify the IO_TLB_SEGSIZE to configtable as flexible requirement about IOMMU/SW-IOMMU.

2015-01-25 Thread xiaomin1
The maximum of SW-IOMMU is limited to 2^11*128 = 256K. While in different platform and different requirements this seems improper. So modify the IO_TLB_SEGSIZE to configtable is make sense. Example: If 1M bytes are requied. There has an error like. [ 33.293120] DMA: Out of SW-IOMMU space for

Re: [PATCH 2/3] x86, swiotlb: Try coherent allocations with __GFP_NOWARN

2015-01-25 Thread Baoquan He
On 01/23/15 at 06:03pm, Borislav Petkov wrote: > On Tue, Jan 06, 2015 at 03:51:13PM +0100, Joerg Roedel wrote: > > From: Joerg Roedel > > diff --git a/arch/x86/kernel/pci-swiotlb.c b/arch/x86/kernel/pci-swiotlb.c > > index 77dd0ad..79b2291 100644 > > --- a/arch/x86/kernel/pci-swiotlb.c > > +++

Re: [PATCH] clk: zynq: Force CPU_2X clock to be ungated

2015-01-25 Thread Sören Brinkmann
On Fri, 2015-01-23 at 03:44PM -0800, Soren Brinkmann wrote: > The CPU_2X clock does not have a classical in kernel user, but is, > amongst other things, required for OCM and debug access. Make sure this > clock does not mistakenly disabled during boot up by enabling it in the > platforms clock

RE: [PATCH 07/12] pm: at91: the standby mode uses the same sram function as the suspend to memory mode

2015-01-25 Thread Yang, Wenyou
Hi Alexandre, Thank you for review. > -Original Message- > From: Alexandre Belloni [mailto:alexandre.bell...@free-electrons.com] > Sent: Saturday, January 24, 2015 7:02 AM > To: Sylvain Rochet > Cc: Yang, Wenyou; Ferre, Nicolas; li...@arm.linux.org.uk; linux- > ker...@vger.kernel.org;

[LKP] [debugfs] kernel BUG at fs/debugfs/inode.c:319!

2015-01-25 Thread Huang Ying
FYI, we noticed the below changes on git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git debugfs_automount commit db2242aa4d4ffd5a3b8b27cd99766f33e6445f59 ("debugfs: kill __create_file()") +--+++ |

RE: [PATCH 07/12] pm: at91: the standby mode uses the same sram function as the suspend to memory mode

2015-01-25 Thread Yang, Wenyou
Hi Sylvain, Thank you for review. > -Original Message- > From: Sylvain Rochet [mailto:sylvain.roc...@finsecur.com] > Sent: Saturday, January 24, 2015 1:33 AM > To: Yang, Wenyou > Cc: Ferre, Nicolas; li...@arm.linux.org.uk; linux-kernel@vger.kernel.org; >

Re: [PATCH] crypto: ccp: terminate ccp_support array with empty element

2015-01-25 Thread Herbert Xu
On Fri, Jan 23, 2015 at 09:11:45AM -0600, Tom Lendacky wrote: > On 01/21/2015 09:06 AM, Andrey Ryabinin wrote: > >x86_match_cpu() expects array of x86_cpu_ids terminated > >with empty element. > > > >Signed-off-by: Andrey Ryabinin > > Acked-by: Tom Lendacky Applied. -- Email: Herbert Xu Home

Re: [PATCH] crypto: replace scatterwalk_sg_next with sg_next

2015-01-25 Thread Herbert Xu
On Tue, Jan 20, 2015 at 10:06:16AM +0200, Cristian Stoica wrote: > Modify crypto drivers to use the generic SG helper since > both of them are equivalent and the one from crypto is redundant. > > See also: > 468577abe37ff7b453a9ac613e0ea155349203ae reverted in >

Re: [PATCH] crypto: caam - don't emit ICV check failures to dmesg

2015-01-25 Thread Herbert Xu
On Wed, Jan 21, 2015 at 10:57:32AM +0200, Cristian Stoica wrote: > Hi Kim, > > On 01/20/2015 08:43 PM, Kim Phillips wrote: > > ICV check failures are part of normal operation; > > leave user notification up to the higher levels, > > as is done in s/w algorithm implementations. > > > > Tested on

Re: [PATCH] crypto: atmel: Free memory in error path

2015-01-25 Thread Herbert Xu
On Tue, Jan 20, 2015 at 08:15:52AM +0100, Christophe Jaillet wrote: > If only one of the 2 __get_free_pages fails, then there is a memory leak. > > Signed-off-by: Christophe Jaillet Applied. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key:

Re: [PATCH repost] virtio_rng: drop extra empty line

2015-01-25 Thread Herbert Xu
On Tue, Jan 20, 2015 at 02:35:15PM +0200, Michael S. Tsirkin wrote: > makes code look a bit prettier. > > Cc: linux-cry...@vger.kernel.org. > Signed-off-by: Michael S. Tsirkin Applied. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key:

Re: [PATCH v1 02/10] zsmalloc: decouple handle and object

2015-01-25 Thread Ganesh Mahendran
Hello, Minchan 2015-01-21 14:14 GMT+08:00 Minchan Kim : > Currently, zram's handle encodes object's location directly so > it makes hard to support migration/compaction. > > This patch decouples handle and object via adding indirect layer. > For it, it allocates handle dynamically and returns it

[PATCH] brcmfmac: avoid duplicated suspend/resume operation

2015-01-25 Thread Fu, Zhonghui
>From ff39ed4af9f1c50358fe92ec4c8eaac9db183e00 Mon Sep 17 00:00:00 2001 From: Zhonghui Fu Date: Mon, 26 Jan 2015 10:13:21 +0800 Subject: [PATCH] brcmfmac: avoid duplicated suspend/resume operation WiFi chip has 2 SDIO functions, and PM core will trigger twice suspend/resume operations for one

Re: xen-blkfront: weird behavior of "iostat" after VM live-migrate which xen-blkfront module has indirect descriptors

2015-01-25 Thread Ouyang Zhaowei (Charles)
On 2015.1.23 19:15, Roger Pau Monné wrote: > Hello, > > El 23/01/15 a les 8.59, Ouyang Zhaowei (Charles) ha escrit: >> Hi Roger, >> >> We are testing the indirect feature of xen-blkfront module these days. >> And we found that, after VM live-migrate a couple of times, the "%util" of >> iostat

Re: [PATCH v2 4/4] PMC driver: Add Cherrytrail PMC interface

2015-01-25 Thread Li, Aubrey
On 2015/1/22 17:26, Andy Shevchenko wrote: > On Thu, 2015-01-22 at 12:02 +0800, Li, Aubrey wrote: >> On 2015/1/21 5:50, Andy Shevchenko wrote: >>> The patch adds CHT PMC interface. This exposes all the South IP device power >>> states and S0ix states for CHT. The bit map of FUNC_DIS and D3_STS_0

[PATCH] regulator: lp872x: Remove **regulators from struct lp872x

2015-01-25 Thread Axel Lin
Current code is using devm_regulator_register(), so we don't need to store *rdev in struct lp872x for clean up. Also clean up lp872x_probe() a bit to remove unnecessary goto and num_regulators variable. Signed-off-by: Axel Lin --- drivers/regulator/lp872x.c | 24 +--- 1 file

Re: [PATCH v2] ARM: AM43xx: hwmod: add VPFE hwmod entries

2015-01-25 Thread Paul Walmsley
Hi On Sun, 25 Jan 2015, Lad, Prabhakar wrote: > From: Benoit Parrot > > this patch adds VPFE HWMOD data for AM43xx. > > Signed-off-by: Benoit Parrot > Signed-off-by: Darren Etheridge > Signed-off-by: Felipe Balbi > Signed-off-by: Lad, Prabhakar > --- > Hi Paul, > > You were right, the

Re: [Resend Patch v4 00/16] Kill SMP single function call interrupt

2015-01-25 Thread Jiang Liu
On 2015/1/25 3:28, Thomas Gleixner wrote: > On Fri, 23 Jan 2015, Jiang Liu wrote: > >> 38 files changed, 65 insertions(+), 268 deletions(-) > > Nice cleanup. If nobody yells, I'm going to route it through tip. Hi Thomas, We need explicitly ACKs from SPARC/SPARC64 maintainers for patch

Re: [PATCH v9 0/7] devfreq: Add devfreq-event class to provide raw data for devfreq device

2015-01-25 Thread Chanwoo Choi
Dear Kukjin and Myungjoo, On 01/26/2015 11:06 AM, MyungJoo Ham wrote: >> >> Chanwoo Choi wrote: >>> >> Hi, >> > > [] > >>> >>> -- >> >> Looks good to me. >> >> Myungjoo, shall I take DT changes in this series into Samsung tree? >> >> 4/7 ARM: dts: Add PPMU dt node for Exynos3250 SoC >> 5/7

Re: [PATCH v4] drm/panel: Add support for AUO b101ean01 panel

2015-01-25 Thread Daniel Kurtz
On Mon, Jan 26, 2015 at 9:47 AM, huang lin wrote: > The AUO b101ean01 panel is a 10.1" 1280x800 panel, > which can be supported by the simple panel driver. > > Signed-off-by: huang lin Reviewed-by: Daniel Kurtz > > --- > > Changes in v4: > - Add auo,b101ean01.txt file > >

Re: RE: [PATCH v9 0/7] devfreq: Add devfreq-event class to provide raw data for devfreq device

2015-01-25 Thread MyungJoo Ham
> > Chanwoo Choi wrote: > > > Hi, > [] > > > > -- > > Looks good to me. > > Myungjoo, shall I take DT changes in this series into Samsung tree? > > 4/7 ARM: dts: Add PPMU dt node for Exynos3250 SoC > 5/7 ARM: dts: Add PPMU dt node for Exynos4 SoCs > 6/7 ARM: dts: exynos: Add PPMU node

Re: rcu, sched: WARNING: CPU: 30 PID: 23771 at kernel/rcu/tree_plugin.h:337 rcu_read_unlock_special+0x369/0x550()

2015-01-25 Thread Lai Jiangshan
On 01/25/2015 05:18 AM, Paul E. McKenney wrote: > > Good point! In my scenario, CPU 0 would not yet have switched away from > Task A. Hmmm... Yet Sasha really does see this failure. Will give it > some more thought. > > Any ideas? I don't known which commit was merged from the rcu-git-tree

[PATCH v4] drm/panel: Add support for AUO b101ean01 panel

2015-01-25 Thread huang lin
The AUO b101ean01 panel is a 10.1" 1280x800 panel, which can be supported by the simple panel driver. Signed-off-by: huang lin --- Changes in v4: - Add auo,b101ean01.txt file .../devicetree/bindings/panel/auo,b101ean01.txt| 7 ++ drivers/gpu/drm/panel/panel-simple.c |

Re: [PATCH] ARM: dts: Add sd0_rst pinctrl node to exynos5420

2015-01-25 Thread Jaehoon Chung
Hi, On 01/24/2015 12:59 AM, Javier Martinez Canillas wrote: > Hello Sjoerd, > > On Fri, Jan 23, 2015 at 4:47 PM, Sjoerd Simons > wrote: >>> >>> If this pin is used by the Odroid XU3 board, shouldn't be defined in >>> the exynos5422-odroidxu3.dts instead? >> >> It's not just used by the XU3

Re: [PATCH 1/2] zram: free meta out of init_lock

2015-01-25 Thread Minchan Kim
Hello, On Sat, Jan 24, 2015 at 12:47:07AM +0900, Sergey Senozhatsky wrote: > On (01/23/15 15:48), Jerome Marchand wrote: > > Date: Fri, 23 Jan 2015 15:48:05 +0100 > > From: Jerome Marchand > > To: Sergey Senozhatsky , Minchan Kim > > > > CC: Andrew Morton , > > linux-kernel@vger.kernel.org,

Re: [PATCH V2] clockevents: rockchip: Add rockchip timer for rk3288

2015-01-25 Thread Kever Yang
Hi Daniel, On 01/25/2015 05:42 PM, Daniel Lezcano wrote: The rk3288 board uses the architected timers and these ones are shutdown when the cpu is powered down. There is a need of a broadcast timer in this case to ensure proper wakeup when the cpus are in sleep mode and a timer expires. This

Re: Question on SCTP ABORT chunk is generated when the association_max_retrans is reached

2015-01-25 Thread Sun Paul
Hi sorry for the late reply. I am a bit confused. when side-A sends a request to side-B, and side-B return the response, but side-A keep re-transmit the same request to side-B, why side-B needed to send a ABORT to side-A? If it is used in order to reestablish the connection, shoudn't it should

RE: [PATCH 08/12] pm: at91: rename file name: pm_slowclock.S -->pm_suspend.S

2015-01-25 Thread Yang, Wenyou
Hi Sylvain, Thank you for your review. > -Original Message- > From: Sylvain Rochet [mailto:sylvain.roc...@finsecur.com] > Sent: Saturday, January 24, 2015 3:17 AM > To: Yang, Wenyou > Cc: Ferre, Nicolas; li...@arm.linux.org.uk; linux-kernel@vger.kernel.org; >

RE: [PATCH 05/12] ARM: at91: move select SRAM to ARCH_AT91

2015-01-25 Thread Yang, Wenyou
Hi Alexandre, Thank you for your review. > -Original Message- > From: Alexandre Belloni [mailto:alexandre.bell...@free-electrons.com] > Sent: Friday, January 23, 2015 6:24 PM > To: Yang, Wenyou > Cc: Ferre, Nicolas; li...@arm.linux.org.uk; > linux-arm-ker...@lists.infradead.org; >

Re: [PATCH 3.10 25/50] gpiolib: of: Correct error handling in of_get_named_gpiod_flags

2015-01-25 Thread Guenter Roeck
On 01/25/2015 02:05 PM, Greg Kroah-Hartman wrote: On Sun, Jan 25, 2015 at 01:31:49PM -0800, Guenter Roeck wrote: On Sun, Jan 25, 2015 at 10:07:15AM -0800, Greg Kroah-Hartman wrote: 3.10-stable review patch. If anyone has any objections, please let me know. -- From: Hans

[PATCH] Disable write buffering on Toshiba ToPIC95

2015-01-25 Thread Ryan C. Underwood
From: Ryan Underwood Disable write buffering on the Toshiba ToPIC95 if it is enabled by somebody (it is not supposed to be a power-on default according to the datasheet). On the ToPIC95, practically no 32-bit Cardbus card will work under heavy load without locking up the whole system if this is

[PATCH] tty: serial: fsl_lpuart: terminate DMA on buffer flush

2015-01-25 Thread Stefan Agner
On uart buffer flush, serial core resets the circular buffer. If a DMA transfer is in progress at that time, the callback lpuart_dma_tx_complete will move buffer's tail unconditionally, hence tail moves beyond head. Use the flush_buffer hook to terminate the DMA imeaditely and avoid

Re: [GIT PULL] : cpuidle-big.little fix when mcpm is not available

2015-01-25 Thread Rafael J. Wysocki
On Sunday, January 25, 2015 03:39:40 PM Daniel Lezcano wrote: > Hi Rafael, > > This pull request has a single patch which is a fix for the > cpuidle-big.little driver. If the mcpm backend is not available because > the CCI is not defined in the DT, the cpuidle driver will > unconditionally

Re: [PATCH v11 1/2] crypto: AF_ALG: add AEAD support

2015-01-25 Thread Herbert Xu
On Wed, Jan 21, 2015 at 02:19:17AM +0100, Stephan Mueller wrote: > > + /* > + * Require exactly one IOV block as the AEAD operation is a one shot > + * due to the authentication tag. > + */ > + if (msg->msg_iter.nr_segs != 1) > + return -ENOMSG; Why does limit

Re: [PATCH] net: dsa: set slave MII bus PHY mask

2015-01-25 Thread David Miller
From: Vivien Didelot Date: Tue, 20 Jan 2015 19:13:32 -0500 > When registering a mdio bus, Linux assumes than every port has a PHY and tries > to scan it. If a switch port has no PHY registered, DSA will fail to register > the slave MII bus. To fix this, set the slave MII bus PHY mask to the

Re: [PATCH v11 1/2] crypto: AF_ALG: add AEAD support

2015-01-25 Thread Herbert Xu
On Wed, Jan 21, 2015 at 02:19:17AM +0100, Stephan Mueller wrote: > > + if (!aead_writable(sk)) { > + /* user space sent too much data */ > + aead_put_sgl(sk); > + err = -EMSGSIZE; > + goto unlock; > +

Re: [PATCH v11 1/2] crypto: AF_ALG: add AEAD support

2015-01-25 Thread Herbert Xu
On Wed, Jan 21, 2015 at 02:19:17AM +0100, Stephan Mueller wrote: > > + /* use the existing memory in an allocated page */ > + if (ctx->merge) { > + sg = sgl->sg + sgl->cur - 1; > + len = min_t(unsigned long, len, > +

Re: [PATCH v11 1/2] crypto: AF_ALG: add AEAD support

2015-01-25 Thread Herbert Xu
On Wed, Jan 21, 2015 at 02:19:17AM +0100, Stephan Mueller wrote: > > +static void aead_data_wakeup(struct sock *sk) > +{ > + struct alg_sock *ask = alg_sk(sk); > + struct aead_ctx *ctx = ask->private; > + struct socket_wq *wq; > + > + if (ctx->more) > + return; You

Re: [PATCH 4/6] power: max77843_battery: Add Max77843 fuel gauge device driver

2015-01-25 Thread Beomho Seo
Hi, Thanks for your review. I'll fix patch as your advice. Thanks, Beomho Seo On 01/25/2015 10:53 PM, Sebastian Reichel wrote: > Hi, > > On Fri, Jan 23, 2015 at 02:02:45PM +0900, Jaewon Kim wrote: >> From: Beomho Seo >> >> This patch adds device driver of max77843 fuel gauge. >> The driver

guten Tag

2015-01-25 Thread
guten Tag Dies sind Sterling Financial Services, heute bieten wir Kredite Zinssatz von 3%, unsere Art von Darlehen sind: - Unternehmenskredite Intercompany-Darlehen Personen Darlehen und Kredite Familie. Wenn Sie Interesse an unserem Angebot haben Darlehen füllen Sie bitte untenstehendes

  1   2   3   4   5   6   7   8   9   10   >