[PATCH] staging: lustre: cleanup align switch and case

2014-12-22 Thread samuel kihahu
From: samuel kihahu Align switch and case to be at the same indent. Signed-off-by: samuel kihahu --- drivers/staging/lustre/lnet/selftest/module.c | 50 +-- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/drivers/staging/lustre/lnet/selftest/module.c

Re: [PATCH] memory: Add NVIDIA SMMU suspend/resume support

2014-12-22 Thread Mark Zhang
On 12/12/2014 04:18 PM, Alexandre Courbot wrote: > Hi Mark, > > On Mon, Dec 8, 2014 at 3:20 PM, Mark Zhang wrote: >> This patch adds suspend/resume support for NVIDIA SMMU. > > >> This patch is created on top of Thierry Reding's patch set: >> >> "[PATCH v7 00/12] NVIDIA Tegra memory controller

Ask help about killing irqchip.irq_print_chip on PPC platforms

2014-12-22 Thread Jiang Liu
Hi Scott and Tudor, Sorry, resend and Ccing the list. We are trying to clean up some irqchip interfaces, and irqchip.irq_print_chip is a candidate for removal. After some changes on x86 side, arch/powerpc/sysdev/fsl_msi.c may be the last user of irqchip.irq_print_chip. So could you

Re: regression bisected; KVM: entry failed, hardware error 0x80000021

2014-12-22 Thread Chen, Tiejun
On 2014/12/23 15:26, Jamie Heilman wrote: Chen, Tiejun wrote: On 2014/12/23 9:50, Chen, Tiejun wrote: On 2014/12/22 17:23, Jamie Heilman wrote: Chen, Tiejun wrote: On 2014/12/21 20:46, Jamie Heilman wrote: With v3.19-rc1 when I run qemu-system-x86_64 -machine pc,accel=kvm I get: KVM: entry

[PATCH 3/3] clk: samsung: exynos4415: Use samsung_cmu_register_one() to simplify code

2014-12-22 Thread Chanwoo Choi
This patch uses the samsung_cmu_register_one() to simplify complicated code for Exynos4415. Cc: Sylwester Nawrocki Cc: Tomasz Figa Cc: Mike Turquette Signed-off-by: Chanwoo Choi Acked-by: Kyungmin Park --- drivers/clk/samsung/clk-exynos4415.c | 216 --- 1

[PATCH 0/3] clk: samsung: Use samsung_cmu_register_one() to simplify code

2014-12-22 Thread Chanwoo Choi
This patch-set uses the samsung_cmu_register_one() function to simplify the clock driver for Exynos3250/Exynos4415 SoC and change return value of samsung_cmu_register_one() because some clock driver may need the instance of samsung_clk_provider structure. Chanwoo Choi (3): clk: samsung: Changes

[PATCH 2/3] clk: samsung: exynos3250: Use samsung_cmu_register_one() to simplify code

2014-12-22 Thread Chanwoo Choi
This patch uses the samsung_cmu_register_one() to simplify complicated code. for Exynos3250. Cc: Sylwester Nawrocki Cc: Tomasz Figa Cc: Mike Turquette Signed-off-by: Chanwoo Choi Acked-by: Kyungmin Park --- drivers/clk/samsung/clk-exynos3250.c | 217 --- 1

[PATCH 1/3] clk: samsung: Changes the return value of samsung_cmu_register_one()

2014-12-22 Thread Chanwoo Choi
This patch changes the return value of samsung_cmu_register_one() from 'void type' to 'samsung_clk_provider structure' pointer type because samsung_clk_provider may be used in each clock driver. Cc: Sylwester Nawrocki Cc: Tomasz Figa Cc: Mike Turquette Signed-off-by: Chanwoo Choi ---

Re: [f2fs-dev] [PATCH 6/6] f2fs: avoid double lock for cp_rwsem

2014-12-22 Thread Jaegeuk Kim
Hi, On Tue, Dec 23, 2014 at 03:01:36PM +0800, Chao Yu wrote: > Hi Jaegeuk, > > > -Original Message- > > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > > Sent: Monday, December 22, 2014 12:35 AM > > To: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; > >

Re: [RFC PATCH] f2fs: add extent cache base on rb-tree

2014-12-22 Thread Jaegeuk Kim
Hi Chao, On Tue, Dec 23, 2014 at 11:01:39AM +0800, Chao Yu wrote: > Hi Jaegeuk, > > > -Original Message- > > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > > Sent: Tuesday, December 23, 2014 7:16 AM > > To: Chao Yu > > Cc: 'Changman Lee'; linux-f2fs-de...@lists.sourceforge.net; > >

Re: regression bisected; KVM: entry failed, hardware error 0x80000021

2014-12-22 Thread Jamie Heilman
Chen, Tiejun wrote: > On 2014/12/23 9:50, Chen, Tiejun wrote: > >On 2014/12/22 17:23, Jamie Heilman wrote: > >>Chen, Tiejun wrote: > >>>On 2014/12/21 20:46, Jamie Heilman wrote: > With v3.19-rc1 when I run qemu-system-x86_64 -machine pc,accel=kvm I > get: > > KVM: entry failed,

Re: [RFC 0/2] x86, vdso, pvclock: Cleanups and speedups

2014-12-22 Thread Paolo Bonzini
On 23/12/2014 01:39, Andy Lutomirski wrote: > This is a dramatic simplification and speedup of the vdso pvclock read > code. Is it correct? > > Andy Lutomirski (2): > x86, vdso: Use asm volatile in __getcpu > x86, vdso, pvclock: Simplify and speed up the vdso pvclock reader Patch 1 is ok,

Re: [Patch Part2 v6 22/27] x86, uv: Use hierarchy irqdomain to manage UV interrupts

2014-12-22 Thread Jiang Liu
On 2014/12/18 0:45, Russ Anderson wrote: > On Wed, Dec 17, 2014 at 10:41:51AM +0800, Jiang Liu wrote: >> On 2014/12/17 1:29, Dimitri Sivanich wrote: >>> I answered my own question, this had never been tested on UV. >>> >>> The gru driver fails with: >>> SGI GRU Device Driver: uv_setup_irq

Re: [PATCH] ftracetest: Replace usleep with sleep 0.000001

2014-12-22 Thread Michael Ellerman
On Tue, 2014-12-23 at 13:21 +0900, Namhyung Kim wrote: > On Sat, Dec 20, 2014 at 05:07:25PM -0500, Steven Rostedt wrote: > > On Sat, 20 Dec 2014 21:42:13 +0100 > > Pavel Machek wrote: > > > > > On Wed 2014-12-10 15:38:27, Michael Ellerman wrote: > > > > usleep is a Fedoraism, it's not generally

RE: [f2fs-dev] [PATCH 6/6] f2fs: avoid double lock for cp_rwsem

2014-12-22 Thread Chao Yu
Hi Jaegeuk, > -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Monday, December 22, 2014 12:35 AM > To: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net > Cc: Jaegeuk Kim > Subject: [f2fs-dev] [PATCH 6/6] f2fs:

RE: [f2fs-dev] [PATCH 1/6] f2fs: use f2fs_io_info to clean up messy parameters during IO path

2014-12-22 Thread Chao Yu
> -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Monday, December 22, 2014 12:35 AM > To: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net > Cc: Jaegeuk Kim > Subject: [f2fs-dev] [PATCH 1/6] f2fs: use

Re: [PATCH RFC] ipw2200: select CFG80211_WEXT

2014-12-22 Thread Kalle Valo
Paul Bolle writes: > Commit 24a0aa212ee2 ("cfg80211: make WEXT compatibility unselectable") > made it impossible to depend on CFG80211_WEXT. It does still allow to > select that symbol. (Yes, the commit summary is confusing.) > > So make IPW2200 select CFG80211_WEXT, so that the ipw2200 driver

Re: [PATCHv5 3/9] devfreq: event: Add exynos-ppmu devfreq-event driver

2014-12-22 Thread Chanwoo Choi
Hi Varka, On 12/23/2014 01:35 PM, Chanwoo Choi wrote: > On 12/23/2014 12:40 PM, Varka Bhadram wrote: >> On Tue, Dec 23, 2014 at 8:48 AM, Chanwoo Choi wrote: >>> This patch adds exynos-ppmu devfreq-event driver to get performance data >>> of each IP for Samsung Exynos SoC. These event from Exynos

Re: [PATCH] usb: gadget: udc-core: call udc_stop() before gadget unbind

2014-12-22 Thread Robert Baldyga
Hi Felipe, On 12/22/2014 05:34 PM, Felipe Balbi wrote: > On Mon, Dec 15, 2014 at 11:05:22AM +0100, Robert Baldyga wrote: >> On 12/15/2014 06:13 AM, Peter Chen wrote: >>> On Fri, Dec 12, 2014 at 02:17:28PM +0100, Robert Baldyga wrote: As usb function drivers assumes that all usb request will

Re: linux-next: missing merge fix for the access_once tree

2014-12-22 Thread Stephen Rothwell
Hi Linus, On Mon, 22 Dec 2014 20:12:22 -0800 Linus Torvalds wrote: > > On Mon, Dec 22, 2014 at 6:17 PM, Stephen Rothwell > wrote: > > > > I have been carrying this merge fix patch for some time. It should > > have gone into the merge of the access_once tree. > > No, you had a different tree

Re: linux-next: missing merge fix patch for the merge of the xen-tip tree with the arm-soc tree

2014-12-22 Thread Stephen Rothwell
Hi Linus, On Mon, 22 Dec 2014 20:09:50 -0800 Linus Torvalds wrote: > > On Mon, Dec 22, 2014 at 6:26 PM, Stephen Rothwell > wrote: > > Hi Linus, > > > > I have been carrying this merge fix patch for some time that is now > > needed in your tree: > > No, it's not. Look more closely. > > My

[PATCH] perf core: Use KSTK_ESP() instead of pt_regs->sp while output user regs

2014-12-22 Thread root
From: Chenggang Qin For x86_64, the exact value of user stack's esp should be got by KSTK_ESP(current). current->thread.usersp is copied from PDA while enter ring0. Now, we output the value of sp from pt_regs. But pt_regs->sp has changed before it was pushed into kernel stack. So, we cannot

Re: [PATCH v2] OHCI: add a quirk for ULi M5237 blocking on reset

2014-12-22 Thread Nikita Yushchenko
23.12.2014 08:36, Arseny Solokha пишет: >> On Sat, 6 Dec 2014, Arseny Solokha wrote: >> >>> From: Arseny Solokha >>> >>> Commit 8dccddbc2368 ("OHCI: final fix for NVIDIA problems (I hope)") >>> introduced into 3.1.9 broke boot on e.g. Freescale P2020DS development >>> board. The code path that

Re: [PATCH] staging: lustre: cleanup align switch and case

2014-12-22 Thread Greg KH
On Tue, Dec 23, 2014 at 07:38:04AM +0300, samuel kihahu wrote: > On Mon, Dec 22, 2014 at 01:18:01PM -0800, Greg KH wrote: > > On Mon, Dec 22, 2014 at 11:48:57PM +0300, samuel kihahu wrote: > > > From: skihahu > > > > > > Align switch and case to be at the same indent. > > > > > > Signed-off-by:

Re: [PATCH] Fix a white space coding style problem

2014-12-22 Thread Greg KH
On Tue, Dec 23, 2014 at 05:10:28AM +, Kroderia wrote: > Signed-off-by: Kroderia I doubt that is the name you sign legal documents with, right? Please fix that up, and give a much better subject: and body of the changelog for what you are doing. Look at the archives for how to properly do

Re: [PATCH] arch: powerpc: platforms: ps3: repository.c: Remove unused function

2014-12-22 Thread Michael Ellerman
On Mon, 2014-12-22 at 18:44 -0800, Geoff Levand wrote: > Hi Michael, > > On Tue, 2014-12-23 at 11:26 +1100, Michael Ellerman wrote: > > On Mon, 2014-12-22 at 09:26 -0800, Geoff Levand wrote: > > > ps3_repository_write_highmem_info() is needed by otheros++. What we > > > need is a kernel patch to

[LKP] [tracing] 0184d50f9fd:

2014-12-22 Thread Huang Ying
FYI, we noticed the below changes on commit 0184d50f9fd17658c232d6ee6d465a87f989d706 ("tracing: Fix bad parameter passed in branch selftest") The kernel Oops before is fixed, but there are still some warning in dmesg as follow, just FYI. [1.676055] Switching to clocksource kvm-clock [

[PATCH 4/5] hwrng: core - Drop current rng in set_current_rng

2014-12-22 Thread Herbert Xu
Rather than having callers of set_current_rng call drop_current_rng, we can do it directly in set_current_rng. Signed-off-by: Herbert Xu --- drivers/char/hw_random/core.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/char/hw_random/core.c

[PATCH 2/5] hwrng: core - Fix current_rng init/cleanup race yet again

2014-12-22 Thread Herbert Xu
The kref solution is still buggy because we were only focusing on the register/unregister race. The same race affects the setting of current_rng through sysfs. This patch fixes it by using kref_get_unless_zero. Signed-off-by: Herbert Xu --- drivers/char/hw_random/core.c | 14 +++---

[PATCH 3/5] hwrng: core - Do not register device opportunistically

2014-12-22 Thread Herbert Xu
Currently we only register the device when a valid RNG is added. However the way it's done is buggy because we test whether there is a current RNG to determine whether we need to register. As the current RNG may be missing due to a reinitialisation error this can lead to a reregistration of the

Re: [LKP] [drm/fb] 6cadd306033:

2014-12-22 Thread Huang Ying
FYI, similar information for 4a91ebc4ec70e83a2fbca622653da22bf8afda7b too. Best Regards, Huang, Ying On Tue, 2014-12-23 at 13:40 +0800, Huang Ying wrote: > FYI, we noticed the below changes on > > git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > commit

[LKP] [drm/fb] 6cadd306033:

2014-12-22 Thread Huang Ying
FYI, we noticed the below changes on git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master commit 6cadd306033e70b4edb136815807060e168cac67 ("drm/fb-helper: Propagate errors from initial config failure") testbox/testcase/testparams: vm-kbuild-yocto-ia32/boot/1

RE: [DISCUSSION] USB device remote wakeup is not working for S3 case

2014-12-22 Thread Du, Changbin
> You have to make sure that wakeup is also enabled for the host > controller the device is attached to. For some host controllers, it > may also be necessary to enable wakeup for the root hub. > Yes, the root-hub is not wakeup enabled by default, actually hub devices are not enabled. It works

[PATCH 1/5] hwrng: core - Use struct completion for cleanup_done

2014-12-22 Thread Herbert Xu
There is no point in doing a manual completion for cleanup_done when struct completion fits in perfectly. Signed-off-by: Herbert Xu --- drivers/char/hw_random/core.c | 12 +++- include/linux/hw_random.h |3 ++- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git

[PATCH 5/5] hwrng: core - Move hwrng_init call into set_current_rng

2014-12-22 Thread Herbert Xu
We always do hwrng_init in set_current_rng. In fact, our current reference count system relies on this. So make this explicit by moving hwrng_init into set_current_rng. Signed-off-by: Herbert Xu --- drivers/char/hw_random/core.c | 30 -- 1 file changed, 16

[0/5] hwrng: Fix kref warning and underlying bugs

2014-12-22 Thread Herbert Xu
On Mon, Dec 22, 2014 at 07:09:56PM -0800, Fengguang Wu wrote: > Greetings, > > 0day kernel testing robot got the below dmesg and the first bad commit is Sigh, looks like more work is needed on this. Here is a series of patches that should fix this along with the underlying issue exposed by it

Re: [PATCH v2] OHCI: add a quirk for ULi M5237 blocking on reset

2014-12-22 Thread Arseny Solokha
> On Sat, 6 Dec 2014, Arseny Solokha wrote: > >> From: Arseny Solokha >> >> Commit 8dccddbc2368 ("OHCI: final fix for NVIDIA problems (I hope)") >> introduced into 3.1.9 broke boot on e.g. Freescale P2020DS development >> board. The code path that was previously specific to NVIDIA controllers >>

Re: [PATCH 1/2] TTY: add support for "tty slave" devices.

2014-12-22 Thread NeilBrown
On Sun, 21 Dec 2014 11:20:19 +0100 Sebastian Reichel wrote: > Hi Neil, > > On Sat, Dec 20, 2014 at 11:09:20AM +1100, NeilBrown wrote: > > A "tty slave" is a device connected via UART. > > It may need a driver to, for example, power the device on > > when the tty is opened, and power it off when

[LKP] [sched] a15b12ac36a: -46.9% time.voluntary_context_switches +1.5% will-it-scale.per_process_ops

2014-12-22 Thread Huang Ying
FYI, we noticed the below changes on commit a15b12ac36ad4e7b856a4ae54937ae26a51aebad ("sched: Do not stop cpu in set_cpus_allowed_ptr() if task is not running") testbox/testcase/testparams: lkp-g5/will-it-scale/performance-lock1 1ba93d42727c4400 a15b12ac36ad4e7b856a4ae549

[PATCH] Fix a white space coding style problem

2014-12-22 Thread Kroderia
Signed-off-by: Kroderia --- drivers/staging/skein/skein_generic.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/skein/skein_generic.c b/drivers/staging/skein/skein_generic.c index 85bd7d0..899078f 100644 --- a/drivers/staging/skein/skein_generic.c +++

Re: [PATCH v3 2/8] mm/debug-pagealloc: prepare boottime configurable on/off

2014-12-22 Thread Joonsoo Kim
On Mon, Dec 22, 2014 at 10:10:42AM +0100, Paul Bolle wrote: > Hi Joonsoo, > > On Fri, 2014-11-28 at 16:35 +0900, Joonsoo Kim wrote: > > Hello, Paul. > > > > Thanks for spotting this. > > I attach the patch. :) > > > > Andrew, > > Could you kindly fold this into the patch in your tree? > > > >

[PATCH] mm/debug_pagealloc: remove obsolete Kconfig options

2014-12-22 Thread Joonsoo Kim
These are obsolete since commit e30825f1869a ("mm/debug-pagealloc: prepare boottime configurable on/off") is merged. Remove them. Reported-by: Paul Bolle Signed-off-by: Joonsoo Kim --- mm/Kconfig.debug |9 - 1 file changed, 9 deletions(-) diff --git a/mm/Kconfig.debug

Re: [PATCH] staging: lustre: cleanup align switch and case

2014-12-22 Thread samuel kihahu
On Mon, Dec 22, 2014 at 01:18:01PM -0800, Greg KH wrote: > On Mon, Dec 22, 2014 at 11:48:57PM +0300, samuel kihahu wrote: > > From: skihahu > > > > Align switch and case to be at the same indent. > > > > Signed-off-by: samuel kihahu > > The "From:" and "Signed-off-by:" names don't match,

[PATCH v2] perf hists: Fix children sort key behavior

2014-12-22 Thread Namhyung Kim
When perf report --children resorts output fields, it tries to put caller above the callee. But this was only meaningful for a same thread and doing this requires callchain enabled. So fix its check before comparing the callchain depth. This also changes the hist accumulation tests: In test 3,

Re: [PATCHv5 3/9] devfreq: event: Add exynos-ppmu devfreq-event driver

2014-12-22 Thread Chanwoo Choi
On 12/23/2014 12:40 PM, Varka Bhadram wrote: > On Tue, Dec 23, 2014 at 8:48 AM, Chanwoo Choi wrote: >> 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

Re: [RFC PATCH] f2fs: add extent cache base on rb-tree

2014-12-22 Thread Changman Lee
Hi, On Mon, Dec 22, 2014 at 03:10:30PM +0800, Chao Yu wrote: > Hi Changman, > > > -Original Message- > > From: Changman Lee [mailto:cm224@samsung.com] > > Sent: Monday, December 22, 2014 10:03 AM > > To: Chao Yu > > Cc: Jaegeuk Kim; linux-f2fs-de...@lists.sourceforge.net; > >

[PATCH] perf hists: Fix children sort key behavior

2014-12-22 Thread Namhyung Kim
When perf report --children resorts output fields, it tries to put caller above the callee. But this was only meaningful for a same thread and doing this requires callchain enabled. So fix its check before comparing the callchain depth. This also changes the hist accumulation tests: In test 3,

Re: [PATCH] tools: lib: traceevent: kbuffer-parse.c: Remove some unused functions

2014-12-22 Thread Namhyung Kim
On Sat, Dec 20, 2014 at 05:40:00PM +0100, Rickard Strandqvist wrote: > Removes some functions that are not used anywhere: > kbuffer_set_old_format() kbuffer_missed_events() kbuffer_curr_size() > kbuffer_event_size() kbuffer_curr_offset() kbuffer_curr_index() > kbuffer_subbuffer_size()

Re: [PATCH] ftracetest: Replace usleep with sleep 0.000001

2014-12-22 Thread Namhyung Kim
On Sat, Dec 20, 2014 at 05:07:25PM -0500, Steven Rostedt wrote: > On Sat, 20 Dec 2014 21:42:13 +0100 > Pavel Machek wrote: > > > On Wed 2014-12-10 15:38:27, Michael Ellerman wrote: > > > usleep is a Fedoraism, it's not generally available on Debian based > > > systems AFAICS. > > > > > > GNU

Re: [PATCH] sound: pci: asihpi: hpifunc.c: Remove some unused functions

2014-12-22 Thread Eliot Blennerhassett
On 23/12/14 10:41, Rickard Strandqvist wrote: > Hi Eliot! > > This is one of the largest remove patches I made. > Is it just one function you disagree with? Yes. If you generate the patch against for-next branch I guess that function will not be removed because it is used by the new code. > >

Re: linux-next: missing merge fix for the access_once tree

2014-12-22 Thread Linus Torvalds
On Mon, Dec 22, 2014 at 6:17 PM, Stephen Rothwell wrote: > > I have been carrying this merge fix patch for some time. It should > have gone into the merge of the access_once tree. No, you had a different tree that got merged into linux-next, that made it an error to do ACCESS_ONCE() on a

Re: [PATCH 0/3] usb: chipidea: add one errata for revision 2.40a

2014-12-22 Thread Sanchayan Maity
On 12/23/2014 05:39 AM, Peter Chen wrote: > On Mon, Dec 22, 2014 at 06:39:42PM +0530, Sanchayan Maity wrote: >> On 12/22/2014 06:48 AM, Peter Chen wrote: >>> On Fri, Dec 19, 2014 at 03:25:26PM +0530, Sanchayan Maity wrote: The first two patches add identification register API's. These can

Re: [PATCH 4/7] perf diff: Fix to sort by baseline field by default

2014-12-22 Thread Namhyung Kim
On Mon, Dec 22, 2014 at 11:45:13AM -0300, Arnaldo Carvalho de Melo wrote: > Looks better, here I tried running 'perf record usleep 1' in quick > succession to then run 'perf diff' before and after this patch, got: > > Before: > > [ssdandy ~]$ cat /tmp/before > # Event 'cycles' > # > # Baseline

Re: linux-next: missing merge fix patch for the merge of the xen-tip tree with the arm-soc tree

2014-12-22 Thread Linus Torvalds
On Mon, Dec 22, 2014 at 6:26 PM, Stephen Rothwell wrote: > Hi Linus, > > I have been carrying this merge fix patch for some time that is now > needed in your tree: No, it's not. Look more closely. My merge put the dev->archdata.dma_coherent = coherent; line at the top of the function,

Re: [PATCH 7/7] perf tools: Set attr.task bit for a tracking event

2014-12-22 Thread Namhyung Kim
On Mon, Dec 22, 2014 at 11:49:19AM -0300, Arnaldo Carvalho de Melo wrote: > Em Mon, Dec 22, 2014 at 01:44:15PM +0900, Namhyung Kim escreveu: > > The perf_event_attr.task bit is to track task (fork and exit) events > > but it missed to be set by perf_evsel__config(). While it was not a > > problem

[PATCH RFC v3 00/18] Add support for i.MX MIPI DSI DRM driver

2014-12-22 Thread Liu Ying
Hi, This series addresses comments from Philipp Zabel and Andy Yan on v2. The i.MX MIPI DSI is a Synopsys DesignWare MIPI DSI host controller IP. This series adds support for a Synopsys DesignWare MIPI DSI host controller DRM bridge driver and a i.MX MIPI DSI specific DRM driver. Currently, the

[PATCH RFC v3 06/18] ARM: imx6q: clk: Change hdmi_isfr clock's parent to be video_27m clock

2014-12-22 Thread Liu Ying
According to the table 33-1 in the i.MX6Q reference manual, the hdmi_isfr clock's parent should be the video_27m clock. The i.MX6DL reference manual has the same statement. This patch changes the hdmi_isfr clock's parent from the pll3_pfd1_540m clock to the video_27m clock. Suggested-by:

[PATCH RFC v3 04/18] ARM: imx6q: Add GPR3 MIPI muxing control register field shift bits definition

2014-12-22 Thread Liu Ying
This patch adds a macro to define the GPR3 MIPI muxing control register field shift bits. Signed-off-by: Liu Ying --- v2->v3: * None. v1->v2: * None. include/linux/mfd/syscon/imx6q-iomuxc-gpr.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/mfd/syscon/imx6q-iomuxc-gpr.h

[PATCH RFC v3 08/18] ARM: imx6q: clk: Add support for mipi_core_cfg clock as a shared clock gate

2014-12-22 Thread Liu Ying
The CG8 field of the CCM CCGR3 register is named as 'mipi_core_cfg' clock, according to the i.MX6q/sdl reference manuals. This clock is actually the gate for several clocks, including the hsi_tx_sel clock's output and the video_27m clock's output. The MIPI DSI host controller embedded in the

[PATCH RFC v3 12/18] drm: imx: Support Synopsys DesignWare MIPI DSI host controller

2014-12-22 Thread Liu Ying
This patch adds support for Synopsys DesignWare MIPI DSI host controller which is embedded in the i.MX6q/sdl SoCs. Signed-off-by: Liu Ying --- v2->v3: * To address Andy Yan's comments, move the common Synopsys DesignWare MIPI DSI host controller logic into it's drm/bridge driver and leave

[PATCH RFC v3 09/18] ARM: dts: imx6qdl: Move existing MIPI DSI ports into a new 'ports' node

2014-12-22 Thread Liu Ying
The MIPI DSI node contains some ports which represent possible DRM CRTCs it can connect with. Each port has a 'reg' property embedded. This property will be wrongly interpretted by the MIPI DSI bus driver, because the driver will take each subnode which contains a 'reg' property as a DSI

[PATCH RFC v3 14/18] ARM: dtsi: imx6qdl: Add support for MIPI DSI host controller

2014-12-22 Thread Liu Ying
This patch adds support for MIPI DSI host controller. Signed-off-by: Liu Ying --- v2->v3: * As suggested by Phillip Zabel, change the clocks and the clock-names properties to use the pllref and core_cfg clocks only. v1->v2: * None. arch/arm/boot/dts/imx6qdl.dtsi | 6 ++ 1 file

[PATCH RFC v3 13/18] drm: panel: Add support for Himax HX8369A MIPI DSI panel

2014-12-22 Thread Liu Ying
This patch adds support for Himax HX8369A MIPI DSI panel. Signed-off-by: Liu Ying --- v2->v3: * Sort the included header files alphabetically. v1->v2: * Address almost all comments from Thierry Reding. * Remove several DT properties as they can be implied by the compatible string. * Add the

[PATCH RFC v3 18/18] ARM: imx_v6_v7_defconfig: Add support for Himax HX8369A panel

2014-12-22 Thread Liu Ying
This patch adds support for Himax HX8369A panel. The new imx_v6_v7_defconfig is generated in this way: * make ARCH=arm imx_v6_v7_defconfig * make ARCH=arm menuconfig and manually choose to build in the Himax HX8369A panel driver * make ARCH=arm savedefconfig * cp defconfig

[PATCH RFC v3 15/18] ARM: dts: imx6qdl-sabresd: Add support for TRULY TFT480800-16-E MIPI DSI panel

2014-12-22 Thread Liu Ying
The TRULY TFT480800-16-E panel is driven by the Himax HX8369A driver IC. The driver IC supports several display/control interface modes, including the MIPI DSI video mode and command mode. Signed-off-by: Liu Ying --- v2->v3: * None. v1->v2: * To address Thierry Reding's comments, remove

[PATCH RFC v3 11/18] drm/bridge: Add Synopsys DesignWare MIPI DSI host controller driver

2014-12-22 Thread Liu Ying
This patch adds Synopsys DesignWare MIPI DSI host controller driver support. Currently, the driver supports the burst with sync pulses mode only. Signed-off-by: Liu Ying --- v2->v3: * Newly introduced in v3 to address Andy Yan's comment. This is based on the i.MX MIPI DSI driver in v2. To

[PATCH RFC v3 16/18] ARM: imx_v6_v7_defconfig: Cleanup for imx drm being moved out of staging

2014-12-22 Thread Liu Ying
The new imx_v6_v7_defconfig is generated in this way: * make ARCH=arm imx_v6_v7_defconfig * make ARCH=arm savedefconfig * cp defconfig arch/arm/configs/imx_v6_v7_defconfig Signed-off-by: Liu Ying --- v2->v3: * None. v1->v2: * None. arch/arm/configs/imx_v6_v7_defconfig | 15 +++

[PATCH RFC v3 17/18] ARM: imx_v6_v7_defconfig: Add support for MIPI DSI host controller

2014-12-22 Thread Liu Ying
This patch adds support for MIPI DSI host controller. The new imx_v6_v7_defconfig is generated in this way: * make ARCH=arm imx_v6_v7_defconfig * make ARCH=arm menuconfig and manually choose to build in the MIPI DSI host controller driver * make ARCH=arm savedefconfig * cp defconfig

[PATCH RFC v3 03/18] of: Add vendor prefix for Truly Semiconductors Limited

2014-12-22 Thread Liu Ying
Signed-off-by: Liu Ying --- v2->v3: * None. v1->v2: * None. Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index

[PATCH RFC v3 10/18] drm/dsi: Add a helper to get bits per pixel of MIPI DSI pixel format

2014-12-22 Thread Liu Ying
Signed-off-by: Liu Ying --- v2->v3: * None. v1->v2: * Thierry Reding suggested that the mipi_dsi_pixel_format_to_bpp() function could be placed at the common DRM MIPI DSI driver. This patch is newly added. include/drm/drm_mipi_dsi.h | 14 ++ 1 file changed, 14 insertions(+)

[PATCH RFC v3 07/18] ARM: imx6q: clk: Change hsi_tx clock to be a shared clock gate

2014-12-22 Thread Liu Ying
The CG8 field of the CCM CCGR3 register is named as 'mipi_core_cfg' clock, according to the i.MX6q/sdl reference manuals. This clock is actually the gate for several clocks, including the hsi_tx_sel clock's output and the video_27m clock's output. So, this patch changes the hsi_tx clock to be a

[PATCH RFC v3 02/18] of: Add vendor prefix for Himax Technologies Inc.

2014-12-22 Thread Liu Ying
Signed-off-by: Liu Ying --- v2->v3: * None. v1->v2: * None. Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index

[PATCH RFC v3 05/18] ARM: imx6q: clk: Add the video_27m clock

2014-12-22 Thread Liu Ying
This patch supports the video_27m clock which is a fixed factor clock of the pll3_pfd1_540m clock. Signed-off-by: Liu Ying --- v2->v3: * None. v1->v2: * None. arch/arm/mach-imx/clk-imx6q.c | 1 + include/dt-bindings/clock/imx6qdl-clock.h | 3 ++- 2 files changed, 3

[PATCH RFC v3 01/18] clk: divider: Correct parent clk round rate if no bestdiv is normally found

2014-12-22 Thread Liu Ying
If no best divider is normally found, we will try to use the maximum divider. We should not set the parent clock rate to be 1Hz by force for being rounded. Instead, we should take the maximum divider as a base and calculate a correct parent clock rate for being rounded. Signed-off-by: Liu Ying

Re: [PATCHv5 3/9] devfreq: event: Add exynos-ppmu devfreq-event driver

2014-12-22 Thread Varka Bhadram
On Tue, Dec 23, 2014 at 8:48 AM, Chanwoo Choi wrote: > 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

[PATCHv5 3/9] devfreq: event: Add exynos-ppmu devfreq-event driver

2014-12-22 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

[PATCHv5 7/9] ARM: dts: Add PPMU dt node for Exynos5260 SoC

2014-12-22 Thread Chanwoo Choi
This patch adds PPMU (Performance Profiling Monitoring Unit) dt node Exynos5260 SoC. Exynos5260 SoC has following PPMU IPs: - PPMU_DREX0_S0 0x10c6 - PPMU_DREX0_S1 0x10c7 - PPMU_DREX1_S0 0x10c8 - PPMU_DREX1_S1 0x10c9 - PPMU_EAGLE0x10cc - PPMU_KFC 0x10cd - PPMU_MFC

[PATCHv5 1/9] devfreq: event: Add new devfreq_event class to provide basic data for devfreq governor

2014-12-22 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

[PATCHv5 0/9] devfreq: Add devfreq-event class to provide raw data for devfreq device

2014-12-22 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. [Description of devfreq-event class] This patchset add new devfreq_event class for devfreq_event device which provide raw data (e.g., memory bus

[PATCHv5 8/9] ARM: dts: exynos: Add PPMU node to Exynos3250-based Rinato board

2014-12-22 Thread Chanwoo Choi
This patch add PPMU dt node to Exynos3250-base Rinato board. The PPMU dt 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-rinato.dts | 40

[PATCHv5 5/9] ARM: dts: Add PPMU dt node for Exynos3250 SoC

2014-12-22 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

[PATCHv5 9/9] ARM: dts: exynos: Add PPMU_CPU/DMC0/DMC1 node for Exynos4412-based TRATS2 board

2014-12-22 Thread Chanwoo Choi
This patch add dt node for PPMU_CPU/DMC0/DMC1 for exynos4412-trats2 board. Each PPMU dt node includes one event of 'PPMU Count 3' Signed-off-by: Chanwoo Choi --- arch/arm/boot/dts/exynos4412-trats2.dts | 30 ++ 1 file changed, 30 insertions(+) diff --git

[PATCHv5 2/9] devfreq: event: Add the list of supported devfreq-event type

2014-12-22 Thread Chanwoo Choi
This patch adds the list of supported devfreq-event type as following. Each devfreq-event device driver would support the various devfreq-event type for devfreq governor at the same time. - DEVFREQ_EVENT_TYPE_RAW_DATA - DEVFREQ_EVENT_TYPE_UTILIZATION - DEVFREQ_EVENT_TYPE_BANDWIDTH -

[PATCHv5 4/9] devfreq: event: Add documentation for exynos-ppmu devfreq-event driver

2014-12-22 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 --- .../bindings/devfreq/event/exynos-ppmu.txt | 110 + 1 file changed, 110 insertions(+)

[PATCHv5 6/9] ARM: dts: Add PPMU dt node for Exynos4 SoCs

2014-12-22 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_ -

Re: [Gta04-owner] [PATCH 2/2] misc: add a driver to power on/off UART attached devices.

2014-12-22 Thread NeilBrown
On Sat, 20 Dec 2014 17:02:04 +0100 Christ van Willegen wrote: > Hi, > > One remark: > > +config SERIAL_POWER_MANAGER > + tristate "Power Management controller for serial-attached devices" > + depends on TTY && OF > + default n > + help > + Some devices

Re: [PATCH] tools: lib: traceevent: event-parse.c: Remove some unused functions

2014-12-22 Thread Namhyung Kim
Hi Arnaldo and Rickard, On Mon, Dec 22, 2014 at 12:52:10PM -0200, Arnaldo Carvalho de Melo wrote: > Em Sat, Dec 20, 2014 at 01:45:41PM +0100, Rickard Strandqvist escreveu: > > Removes some functions that are not used anywhere: > > pevent_get_any_field_val() pevent_get_common_field_val() > >

[hwrng] WARNING: CPU: 0 PID: 1 at include/linux/kref.h:47 set_current_rng()

2014-12-22 Thread Fengguang Wu
Greetings, 0day kernel testing robot got the below dmesg and the first bad commit is git://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git master commit 3a2c0ba5ad00c018c0bef39a2224aca950aa33f2 Author: Rusty Russell AuthorDate: Mon Dec 8 16:50:37 2014 +0800 Commit:

[LKP] [ftrace] fef5aeeee9e: -27.2% boot-slabinfo.num_objs

2014-12-22 Thread Huang Ying
FYI, we noticed the below changes on commit fef5a9e3717e7aea991a7ae9ff6a7a2d4c85 ("ftrace: Replace tramp_hash with old_*_hash to save space") testbox/testcase/testparams: vm-kbuild-4G/boot/1 e1effa0144a1ddf5 fef5a9e3717e7aea991a7a --

RE: [RFC PATCH] f2fs: add extent cache base on rb-tree

2014-12-22 Thread Chao Yu
Hi Jaegeuk, > -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Tuesday, December 23, 2014 7:16 AM > To: Chao Yu > Cc: 'Changman Lee'; linux-f2fs-de...@lists.sourceforge.net; > linux-kernel@vger.kernel.org > Subject: Re: [RFC PATCH] f2fs: add extent cache base on

[PATCH V2] vfio-pci: Fix the check on pci device type in vfio_pci_probe()

2014-12-22 Thread Wei Yang
Current vfio-pci just supports normal pci device, so vfio_pci_probe() will return if the pci device is not a normal device. While current code makes a mistake. PCI_HEADER_TYPE is the offset in configuration space of the device type, but we use this value to mask the type value. This patch fixs

Re: [PATCH 3/4 v3] scsi:stex.c Add reboot support

2014-12-22 Thread Charles Chiou
On 12/18/2014 11:41 AM, Charles Chiou wrote: On 12/17/2014 05:30 PM, Christoph Hellwig wrote: I'm not going to add a new reboot notifier for a driver. If you can convince the driver model / PM people to pass this information to ->shutdown we can add support for this difference, but not in

Re: [PATCH] tick/powerclamp: Remove tick_nohz_idle abuse

2014-12-22 Thread Jacob Pan
On Sat, 20 Dec 2014 07:01:12 +0530 Preeti U Murthy wrote: > On 12/20/2014 01:26 AM, Thomas Gleixner wrote: > > On Fri, 19 Dec 2014, Jacob Pan wrote: > > > >> On Thu, 18 Dec 2014 22:12:57 +0100 (CET) > >> Thomas Gleixner wrote: > >> > >>> On Thu, 18 Dec 2014, Jacob Pan wrote: > OK I agree,

Re: atomic_inc and spin_lock_irq

2014-12-22 Thread PaX Team
On 18 Dec 2014 at 21:07, Rogelio M. Serrano Jr. wrote: > whats the difference between: > > atomic_inc(>count); > > and > > spin_lock_irq(>lock); > ++port->count; > spin_unlock_irq(>lock); in PaX this kind of change brings the ->count accesses under the coverage of the REFCOUNT feature. if the

Re: [RFC 0/6] zsmalloc support compaction

2014-12-22 Thread Minchan Kim
On Fri, Dec 19, 2014 at 09:46:48AM +0900, Minchan Kim wrote: > Hey Seth, > > On Wed, Dec 17, 2014 at 05:19:30PM -0600, Seth Jennings wrote: > > On Tue, Dec 02, 2014 at 11:49:41AM +0900, Minchan Kim wrote: > > > Recently, there was issue about zsmalloc fragmentation and > > > I got a report from

Re: [PATCH] arch: powerpc: platforms: ps3: repository.c: Remove unused function

2014-12-22 Thread Geoff Levand
Hi Michael, On Tue, 2014-12-23 at 11:26 +1100, Michael Ellerman wrote: > On Mon, 2014-12-22 at 09:26 -0800, Geoff Levand wrote: > > ps3_repository_write_highmem_info() is needed by otheros++. What we > > need is a kernel patch to add the highmem info to the repository once it > > is known. > >

Re: [PATCH v2] mm/zsmalloc: add statistics support

2014-12-22 Thread Minchan Kim
Hi Ganesh, On Tue, Dec 23, 2014 at 10:26:12AM +0800, Ganesh Mahendran wrote: > Hello Minchan > > 2014-12-20 10:25 GMT+08:00 Minchan Kim : > > Hey Ganesh, > > > > On Sat, Dec 20, 2014 at 09:43:34AM +0800, Ganesh Mahendran wrote: > >> 2014-12-20 8:23 GMT+08:00 Minchan Kim : > >> > On Fri, Dec 19,

Re: [RFC/PATCH] extcon: otg_gpio: add driver for USB OTG port controlled by GPIO(s)

2014-12-22 Thread Peter Chen
On Mon, Dec 22, 2014 at 02:43:37PM -0800, David Cohen wrote: > Some platforms have an USB OTG port fully (or partially) controlled by > GPIOs: > > (1) USB ID is connected directly to GPIO > > Optionally: > (2) VBUS is enabled by a GPIO (when ID is grounded) > (3) Platform has 2 USB controllers

Re: [PATCH v2] mm/zsmalloc: add statistics support

2014-12-22 Thread Ganesh Mahendran
Hello Minchan 2014-12-20 10:25 GMT+08:00 Minchan Kim : > Hey Ganesh, > > On Sat, Dec 20, 2014 at 09:43:34AM +0800, Ganesh Mahendran wrote: >> 2014-12-20 8:23 GMT+08:00 Minchan Kim : >> > On Fri, Dec 19, 2014 at 04:17:56PM -0800, Andrew Morton wrote: >> >> On Sat, 20 Dec 2014 09:10:43 +0900

linux-next: missing merge fix patch for the merge of the xen-tip tree with the arm-soc tree

2014-12-22 Thread Stephen Rothwell
Hi Linus, I have been carrying this merge fix patch for some time that is now needed in your tree: From: Stephen Rothwell Date: Mon, 8 Dec 2014 18:46:59 +1100 Subject: [PATCH] arm: introduce is_device_dma_coherent merge fix The merge of the (linux-next) xen-tip tree got a conflict in

  1   2   3   4   5   6   7   8   9   10   >