Re: [PATCH 1/2] [media] V4L: Add camera pan/tilt speed controls

2014-08-06 Thread Vincent Palatin
On Sun, Aug 3, 2014 at 10:52 PM, Pawel Osciak wrote: > This looks good to me in general (with one comment below). I don't think we > can easily implement current V4L2 pan and tilt controls that are for > movement by a specified amount in terms of UVC pan/tilt speed controls, > which only let us se

Re: [PATCH] Btrfs: Fix memory corruption by ulist_add_merge() on 32bit arch

2014-08-06 Thread Takashi Iwai
At Wed, 30 Jul 2014 19:45:36 +0200, Takashi Iwai wrote: > > At Wed, 30 Jul 2014 13:00:24 -0400, > Josef Bacik wrote: > > > > On 07/30/2014 12:35 PM, Takashi Iwai wrote: > > > At Wed, 30 Jul 2014 12:01:31 -0400, > > > Josef Bacik wrote: > > >> > > >> On 07/30/2014 11:52 AM, Takashi Iwai wrote: > >

Re: [PATCH v2 5/8] mm/isolation: change pageblock isolation logic to fix freepage counting bugs

2014-08-06 Thread Vlastimil Babka
On 08/06/2014 09:18 AM, Joonsoo Kim wrote: Overall design of changed pageblock isolation logic is as following. I'll reply here since the overall design part is described in this patch (would be worth to have it in cover letter as well IMHO). 1. ISOLATION - check pageblock is suitable for p

Re: [PATCH] Fix e1000e with Intel 82572EI that has no hardware timestamp support

2014-08-06 Thread Henrique de Moraes Holschuh
On Wed, Aug 6, 2014, at 11:30, Sergei Shtylyov wrote: > On 8/6/2014 6:27 PM, Koehrer Mathias (ETAS/ESW5) wrote: > > > With the Intel 82527EI (driver: e1000e) there is an issue when running > > the ptpd2 program, that leads to a kernel oops. > > The reason is here that in e1000_xmit_frame() a work

Re: [PATCH] cpufreq, store_scaling_governor requires policy->rwsem to be held for duration of changing governors [v2]

2014-08-06 Thread Stephen Boyd
On 08/06, Prarit Bhargava wrote: > > > On 08/06/2014 04:10 AM, Viresh Kumar wrote: > > On 6 August 2014 03:36, Saravana Kannan wrote: > >> Stephen and I looked into this. This is not a sysfs framework difference. > >> The reason we don't have this issue when we use global tunables is because > >

Re: [PATCH v3 0/8] x86: entry_64.S: always allocate complete "struct pt_regs"

2014-08-06 Thread Denys Vlasenko
On 08/05/2014 10:13 PM, H. Peter Anvin wrote: > On 08/05/2014 07:52 AM, Denys Vlasenko wrote: >> Version 3 of the patchset. >> >> Please consider applying at least two first patches, they are definitely >> safe, >> and the second one fixes a latent bug. >> > > Please do provide latency measuremen

[PATCH] perf report: Set proper sort__mode for the branch option

2014-08-06 Thread naota
When you specify "--branch-stack"("-b" for short) or "--no-branch-stack", "branch_mode" variable is set to 1 or 0 respectively. However, the code is just checking if the variable is -1 or not, ignoring "branch_mode == 1" case. Thus "perf report -b" dose not show its result with the branch sorted mo

Re: [PATCH RESEND v2 1/4] pinctrl: Update Qualcomm pm8xxx GPIO parameters definitions

2014-08-06 Thread Ivan T. Ivanov
On Fri, 2014-07-25 at 18:15 +0300, Ivan T. Ivanov wrote: > On Thu, 2014-07-24 at 17:23 -0700, Stephen Boyd wrote: > > On 07/24/14 08:40, Linus Walleij wrote: > > > On Thu, Jul 24, 2014 at 1:47 AM, Stephen Boyd > > > wrote: > > > > > >>> Please add these constants to the table of valid power-sourc

Re: [PATCH] cpufreq_opp.c: Fixed the __might_sleep by changing GFP_KERNEL to GFP_ATOMIC.

2014-08-06 Thread Stephen Boyd
On 08/06, Viresh Kumar wrote: > On 6 August 2014 05:05, Rafael J. Wysocki wrote: > >> https://lkml.org/lkml/2014/7/16/815 > >> > >> @Rafael: Have you already applied patch from above link? > > > > No, I haven't. Do we need it after all? > > I think yes, Right Stephen? :) Yes. -- Qualcomm Inno

Re: [PATCH] kbuild: escape single backslashes in macro make-cmd

2014-08-06 Thread Michal Marek
On 2014-08-06 14:19, Konstantin Khlebnikov wrote: > On Wed, Aug 6, 2014 at 3:45 PM, Michal Marek wrote: >> On 2014-07-26 18:35, Konstantin Khlebnikov wrote: >>> This already has been fixed in commit c353acba28fb3fa1fd05fd >>> ("kbuild: make: fix if_changed when command contains backslashes") >>> b

Re: [PATCH 04/15] [media] dvb: fix decimal printf format specifiers prefixed with 0x

2014-08-06 Thread Mauro Carvalho Chehab
Em Tue, 05 Aug 2014 21:42:17 -0700 Hans Wennborg escreveu: > The prefix suggests the number should be printed in hex, so use > the %x specifier to do that. > > Found by using regex suggested by Joe Perches. > > Signed-off-by: Hans Wennborg > --- > drivers/media/dvb-frontends/mb86a16.c | 2 +-

Re: [PATCH 1/2] UEFI arm64: add noefi boot param

2014-08-06 Thread Matt Fleming
On Wed, 06 Aug, at 03:48:39PM, Leif Lindholm wrote: > > Since we're now overlaying two different meanings onto the > EFI_RUNTIME_SERVICES bit, could we add comments at set/clear points to > explicitly state the intended action? I.e.: > > /* Set to attempt runtime services initialisation */ > > /

Re: [PATCH V2 2/3] ARM: clk-imx6q: Add missing lvds and anaclk clock to the clock tree

2014-08-06 Thread Lucas Stach
Am Mittwoch, den 06.08.2014, 16:35 +0800 schrieb Shengjiu Wang: > anaclk1 and anaclk2 is the clock source for lvds1_in and lvds2_in. lvds1_in > and lvds2_in can be used to provide external clock source to the internal > pll, such as pll4_audio and pll5_video. > pll4_audio and pll5_video can have mu

Re: [PATCH 1/2] UEFI arm64: add noefi boot param

2014-08-06 Thread Leif Lindholm
On Wed, Aug 06, 2014 at 03:18:14PM +0100, Matt Fleming wrote: > On Wed, 06 Aug, at 04:10:45PM, Ard Biesheuvel wrote: > > > > Shouldn't we clear the bit here if we failed to enable runtime > > services for some reason? Other code may test the bit assuming that it > > signifies that runtime services

Re: [PATCH 0/3] usbip: move usbip out of staging

2014-08-06 Thread Greg KH
On Wed, Aug 06, 2014 at 02:22:10PM +0200, Max Vozeler wrote: > Hi everyone, > > On Tue, Mar 18, 2014 at 01:33:24PM -0700, Greg KH wrote: > > On Tue, Mar 18, 2014 at 10:11:20PM +0200, Valentina Manea wrote: > > > After migrating userspace code to libudev, converting usbip-host > > > to a device dri

Re: [PATCH v7 4/5] PCI: add PCI controller for keystone PCIe h/w

2014-08-06 Thread Murali Karicheri
On 07/30/2014 04:05 PM, Jason Gunthorpe wrote: On Wed, Jul 30, 2014 at 03:34:44PM -0400, Murali Karicheri wrote: • Maximum remote read request size of 256 bytes The PCI spec simply does not permit a completer to impose this limitation. See spec 2.3.1.1 It is not an option to error a read re

Re: [PATCH] sound: oss: Remove typedefs wanc_info and wavnc_port_info

2014-08-06 Thread Takashi Iwai
At Wed, 6 Aug 2014 18:20:01 +0530, Himangi Saraogi wrote: > > The Linux kernel coding style guidelines suggest not using typedefs > for structure types. This patch gets rid of the typedefs for wanc_info and > wavnc_port_info. > > A simplified version of the Coccinelle semantic patch that finds th

Re: [PATCH] sound: oss: uart401: Remove typedef uart401_devc

2014-08-06 Thread Takashi Iwai
At Wed, 6 Aug 2014 18:17:25 +0530, Himangi Saraogi wrote: > > The Linux kernel coding style guidelines suggest not using typedefs > for structure types. This patch gets rid of the typedef for uart401_devc. > > The following Coccinelle semantic patch detects the case. > > @tn@ > identifier i; > t

Re: [PATCH 08/15] rtlwifi: rtl8192de: fix decimal printf format specifiers prefixed with 0x

2014-08-06 Thread Larry Finger
On 08/05/2014 11:43 PM, Hans Wennborg wrote: > The prefix suggests the number should be printed in hex, so use > the %x specifier to do that. > > Found by using regex suggested by Joe Perches. > > Signed-off-by: Hans Wennborg > --- > drivers/net/wireless/rtlwifi/rtl8192de/fw.c | 2 +- > 1 file

perf related boot hang.

2014-08-06 Thread Dave Jones
On Linus current tree, when I cold-boot one of my boxes, it locks up during boot up with this trace.. Kernel panic - not syncing: Watchdog detected hard LOCKUP on cpu 2 CPU: 2 PID: 577 Comm: in:imjournal Not tainted 3.16.0+ #33 880244c06c88 8b73013e 880244c06bf0 b47ee207

Re: [PATCH v2 3/3] staging:r8190: coding style: Fixed checkpatch reported Error

2014-08-06 Thread gre...@linuxfoundation.org
On Wed, Aug 06, 2014 at 09:33:56AM +, Sharma, Sanjeev wrote: > Hello All, > > I have submitted few patches last week and also get reply from Greg that > patches will show up in linux-next tree and in parallel I need to submit new > patches and now Looks like I need to > Sync my tree with li

Re: [REVIEW][PATCH 2/4] proc: Implement /proc/thread-self to point at the directory of the current thread

2014-08-06 Thread Serge E. Hallyn
Quoting Eric W. Biederman (ebied...@xmission.com): > > /proc/thread-self is derived from /proc/self. /proc/thread-self > points to the directory in proc containing information about the > current thread. > > This funtionality has been missing for a long time, and is tricky to > implement in user

Re: [PATCH] kbuild: devtest - new make target for build all and run tests

2014-08-06 Thread Greg KH
On Wed, Aug 06, 2014 at 04:06:33PM +0200, Michal Marek wrote: > On 2014-08-06 16:04, Shuah Khan wrote: > > On 08/06/2014 07:51 AM, Michal Marek wrote: > >> On 2014-07-18 22:44, Shuah Khan wrote: > >>> Add a new devtest make target to enable developer testing. This > >>> new target does full build (

[PATCH] Fix e1000e with Intel 82572EI that has no hardware timestamp support

2014-08-06 Thread Koehrer Mathias (ETAS/ESW5)
With the Intel 82527EI (driver: e1000e) there is an issue when running the ptpd2 program, that leads to a kernel oops. The reason is here that in e1000_xmit_frame() a work queue will be scheduled that has not been initialized in this case. The work queue "tx_hwstamp_work" will only be initialized

Re: [PATCH] Fix e1000e with Intel 82572EI that has no hardware timestamp support

2014-08-06 Thread Sergei Shtylyov
On 8/6/2014 6:27 PM, Koehrer Mathias (ETAS/ESW5) wrote: With the Intel 82527EI (driver: e1000e) there is an issue when running the ptpd2 program, that leads to a kernel oops. The reason is here that in e1000_xmit_frame() a work queue will be scheduled that has not been initialized in this case.

Re: [Bugfix 0/2] Fix bugs caused by "use irqdomain to dynamically allocate IRQ for IOAPIC"

2014-08-06 Thread Konrad Rzeszutek Wilk
On Wed, Aug 06, 2014 at 06:27:49PM +0800, Jiang Liu wrote: > > > On 2014/8/6 1:58, Konrad Rzeszutek Wilk wrote: > > On Wed, Aug 06, 2014 at 12:07:18AM +0800, Jiang Liu wrote: > >> > >> > >> On 2014/8/5 21:04, Konrad Rzeszutek Wilk wrote: > >>> On Tue, Aug 05, 2014 at 11:26:16AM +0800, Jiang Liu w

Re: [PATCH] xfs: Remove typedef xfs_uu_t

2014-08-06 Thread Christoph Hellwig
On Wed, Aug 06, 2014 at 07:43:43PM +0530, Himangi Saraogi wrote: > The Linux kernel coding style guidelines suggest not using typedefs > for structure types. This patch gets rid of the typedef for xfs_uu_t. > Also the names of the struct is changed to drop the _t, to make the > name look less typed

[PATCH gdb/scripts] scripts/gdb: Ignore byte-compiled python files

2014-08-06 Thread Daniel Thompson
Using the gdb scripts leaves byte-compiled python files in the scripts/ directory. These should be ignored by git and cleaned up by mrproper. Signed-off-by: Daniel Thompson Cc: Jan Kiszka Cc: Michal Marek Cc: linux-kbu...@vger.kernel.org --- Notes: Relies upon (and intended for incorporati

[PATCH] Fix e1000e with Intel 82572EI that has no hardware timestamp support

2014-08-06 Thread Koehrer Mathias (ETAS/ESW5)
With the Intel 82527EI (driver: e1000e) there is an issue when running the ptpd2 program, that leads to a kernel oops. The reason is here that in e1000_xmit_frame() a work queue will be scheduled that has not been initialized in this case. The work queue "tx_hwstamp_work" will only be initialized

Re: [RFC PATCH] kprobes: arm: enable OPTPROBES for arm 32

2014-08-06 Thread Jon Medhurst (Tixy)
On Wed, 2014-08-06 at 13:44 +0900, Masami Hiramatsu wrote: > (2014/08/05 16:28), Wang Nan wrote [...] > > +asm ( > > + ".global optprobe_template_entry\n" > > + "optprobe_template_entry:\n" > > +#ifndef CONFIG_THUMB > > + " sub sp, sp,

Re: [RFC PATCH] kprobes: arm: enable OPTPROBES for arm 32

2014-08-06 Thread Jon Medhurst (Tixy)
On Tue, 2014-08-05 at 15:28 +0800, Wang Nan wrote: > This patch introduce kprobeopt for ARM 32. > > Limitations: > - Currently only kernel compiled with ARM ISA is supported. > > - offset between probe point and kprobe pre_handler must not larger > than 64MiB. Masami Hiramatsu suggests repla

Re: [PATCH 3.15 00/42] 3.15.9-stable review

2014-08-06 Thread Greg Kroah-Hartman
On Wed, Aug 06, 2014 at 08:44:17PM +0900, Satoru Takeuchi wrote: > At Tue, 5 Aug 2014 16:27:04 -0700, > Greg Kroah-Hartman wrote: > > > > On Tue, Aug 05, 2014 at 05:07:00PM -0600, Shuah Khan wrote: > > > On 08/05/2014 12:13 PM, Greg Kroah-Hartman wrote: > > > >This is the start of the stable revie

Re: [PATCH 1/2] UEFI arm64: add noefi boot param

2014-08-06 Thread Matt Fleming
On Wed, 06 Aug, at 04:10:45PM, Ard Biesheuvel wrote: > > Shouldn't we clear the bit here if we failed to enable runtime > services for some reason? Other code may test the bit assuming that it > signifies that runtime services have been enabled successfully, while > this patch changes it to mean t

Re: [PATCH 2/4] cpuidle: menu: Use ktime_to_us instead of reinventing the wheel

2014-08-06 Thread Daniel Lezcano
On 08/06/2014 03:19 PM, Mel Gorman wrote: The ktime_to_us implementation is slightly better than the one implemented in menu.c. Use it Signed-off-by: Mel Gorman Acked-by: Daniel Lezcano --- drivers/cpuidle/governors/menu.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff

[PATCH] xfs: Remove typedef xfs_uu_t

2014-08-06 Thread Himangi Saraogi
The Linux kernel coding style guidelines suggest not using typedefs for structure types. This patch gets rid of the typedef for xfs_uu_t. Also the names of the struct is changed to drop the _t, to make the name look less typedef-like. The following Coccinelle semantic patch detects the case. @tn1

Re: [PATCH] Fix e1000e with Intel 82572EI that has no hardware timestamp support

2014-08-06 Thread Sergei Shtylyov
Hello. On 8/6/2014 5:56 PM, Koehrer Mathias (ETAS/ESW5) wrote: With the Intel 82527EI (driver: e1000e) there is an issue when running the ptpd2 program, that leads to a kernel oops. The reason is here that in e1000_xmit_frame() a work queue will be scheduled that has not been initialized in t

[PATCH] pcmcia: Remove typedef in structs and emum

2014-08-06 Thread Himangi Saraogi
The Linux kernel coding style guidelines suggest not using typedefs for structure and enum types. This patch gets rid of the typedefs for cirrus_state_t, vg46x_state_t and pcic_id. Also, the names of the structs are changed to drop the _t, to make the name look less typedef-like. The following Coc

Re: [PATCH] X86/CPU: Avoid 100ms sleep for cpu offline during S3

2014-08-06 Thread Gene Heskett
On Wednesday 06 August 2014, Lan, Tianyu wrote: >Have you tried my attached kernel config file? When someone reported >the issue to me, I also was very hard to reproduce the issue by my own >config file. Maybe once 100 tries. But I can reproduced the issue every >time with the attached configure fi

Re: [PATCH v2 1/7] fs/proc/task_mmu.c: don't use task->mm in m_start() and show_*map()

2014-08-06 Thread Oleg Nesterov
On 08/06, Kirill A. Shutemov wrote: > > On Tue, Aug 05, 2014 at 09:46:44PM +0200, Oleg Nesterov wrote: > > > > if (m->count < m->size) /* vma is copied successfully */ > > - m->version = (vma != get_gate_vma(task->mm)) > > + m->version = (vma != priv->tail_vma) > >

[PATCH] nfs: Remove typedef nfs_readdir_descriptor_t

2014-08-06 Thread Himangi Saraogi
The Linux kernel coding style guidelines suggest not using typedefs for structure types. This patch gets rid of the typedef for nfs_readdir_descriptor_t. Also the names of the struct is changed to drop the _t, to make the name look less typedef-like. The following Coccinelle semantic patch detects

Re: vmstat: On demand vmstat workers V8

2014-08-06 Thread Christoph Lameter
On Tue, 5 Aug 2014, Sasha Levin wrote: > I can easily trigger it by cranking up the cpu hotplug code. Just try to > frequently offline and online cpus, it should reproduce quickly. Thats what I thought. The test was done with this fix applied right? Subject: vmstat ondemand: Fix online/offline

Re: [PATCH 1/2] UEFI arm64: add noefi boot param

2014-08-06 Thread Ard Biesheuvel
On 6 August 2014 16:01, Matt Fleming wrote: > On Wed, 06 Aug, at 02:29:41PM, Leif Lindholm wrote: >> On Wed, Aug 06, 2014 at 02:20:21PM +0100, Matt Fleming wrote: >> > > Since this is really turning an x86-specific feature into a generic >> > > one, could it be moved to core code? >> > > Maybe an

Re: [PATCH] KVM: x86: always exit on EOIs for interrupts listed in the IOAPIC redir table

2014-08-06 Thread Paolo Bonzini
Il 06/08/2014 16:03, Zhang, Yang Z ha scritto: > Paolo Bonzini wrote on 2014-07-31: >> Probably, the guest is masking the interrupt in the redirection table in >> the interrupt routine, i.e. while the interrupt is set in a LAPIC's ISR. >> The simplest fix is to ignore the masking state, we would ra

Re: [PATCH] kbuild: devtest - new make target for build all and run tests

2014-08-06 Thread Michal Marek
On 2014-08-06 16:04, Shuah Khan wrote: > On 08/06/2014 07:51 AM, Michal Marek wrote: >> On 2014-07-18 22:44, Shuah Khan wrote: >>> Add a new devtest make target to enable developer testing. This >>> new target does full build (make all) and then runs selftests. >> >> I agree with Sam that the name

Re: [PATCH] kbuild: devtest - new make target for build all and run tests

2014-08-06 Thread Shuah Khan
On 08/06/2014 07:51 AM, Michal Marek wrote: On 2014-07-18 22:44, Shuah Khan wrote: Add a new devtest make target to enable developer testing. This new target does full build (make all) and then runs selftests. I agree with Sam that the name is rather ambiguous, but I can't suggest a better alt

RE: [PATCH] KVM: x86: always exit on EOIs for interrupts listed in the IOAPIC redir table

2014-08-06 Thread Zhang, Yang Z
Paolo Bonzini wrote on 2014-07-31: > Currently, the EOI exit bitmap (used for APICv) does not include > interrupts that are masked. However, this can cause a bug that manifests > as an interrupt storm inside the guest. Alex Williamson reported the > bug and is the one who really debugged this; I

Re: [PATCH 1/2] UEFI arm64: add noefi boot param

2014-08-06 Thread Matt Fleming
On Wed, 06 Aug, at 02:29:41PM, Leif Lindholm wrote: > On Wed, Aug 06, 2014 at 02:20:21PM +0100, Matt Fleming wrote: > > > Since this is really turning an x86-specific feature into a generic > > > one, could it be moved to core code? > > > Maybe an efi.mask, reusing the efi_enabled defines, with an

FRV build failure with latest kernel

2014-08-06 Thread Guenter Roeck
Building frv:defconfig ... failed -- Error log: In file included from kernel/locking/mutex.c:28:0: kernel/locking/mcs_spinlock.h: In function 'mcs_spin_lock': kernel/locking/mcs_spinlock.h:87:2: error: implicit declaration of function 'cpu_relax_lowlatency' [-Werror=implicit-function-

[RFC 0/4] Reducing parameters of alloc_pages* family of functions

2014-08-06 Thread Vlastimil Babka
ns. I also welcome feedback and suggestions on the evaluation methodology as this probably doesn't tell the whole picture. The series is based on next-20140806 and I use gcc 4.8.1 20130909 on openSUSE 13.1. Config includes NUMA, COMPACTION, CMA, DEBUG_VM (but not DEBUG_PAGEALLOC), I can post

[RFC 4/4] mm, page_alloc: make gfp_mask a separate parameter again

2014-08-06 Thread Vlastimil Babka
Similarly to alloc_flags, gfp_mask sometimes changes and is heavily used so it might benefit from being passed in a register. --- mm/page_alloc.c | 85 + 1 file changed, 43 insertions(+), 42 deletions(-) diff --git a/mm/page_alloc.c b/mm/pag

[RFC 2/4] mm, page_alloc: reduce number of alloc_pages* functions' parameters

2014-08-06 Thread Vlastimil Babka
Introduce struct alloc_info to accumulate all the numerous parameters passed between the alloc_pages* family of functions and get_page_from_freelist(). --- mm/page_alloc.c | 241 +++- 1 file changed, 118 insertions(+), 123 deletions(-) diff --gi

[RFC 3/4] mm, page_alloc: make alloc_flags a separate parameter again

2014-08-06 Thread Vlastimil Babka
The alloc_flags parameter often changes between the various alloc_pages* function so make it separate again to prevent the need for saving it etc. It is also heavily used so it might benefit from being passed by register. --- mm/page_alloc.c | 62 +--

[PATCH v5 0/6] Per-user clock constraints

2014-08-06 Thread Tomeu Vizoso
Hi, in this v5 of the patchset I have just moved the storage of the clock constraints to the struct clk, as suggested by Stephen. Follows the original cover letter blurb: I'm retaking Rabin's patches [0] for splitting the clk API in two: one API for clk consumers and another for providers. The

[PATCH v5 4/6] clk: use struct clk only for external API

2014-08-06 Thread Tomeu Vizoso
In order to provide per-user accounting, this separates the struct clk used in the common clock framework into two structures 'struct clk_core' and 'struct clk'. struct clk_core will be used for internal manipulation and struct clk will be used in the clock API implementation. In this patch, struc

[PATCH v5 6/6] clk: Add floor and ceiling constraints to clock rates

2014-08-06 Thread Tomeu Vizoso
Adds a way for clock consumers to set maximum and minimum rates. This can be used for thermal drivers to set ceiling rates, or by misc. drivers to set floor rates to assure a minimum performance level. Signed-off-by: Tomeu Vizoso --- v5: * Move the storage of constraints to the per-user clk str

[PATCH v5 2/6] ASoC: mxs-saif: fix mixed use of public and provider clk API

2014-08-06 Thread Tomeu Vizoso
In preparation to changing the clk provider API to use struct clk_core instead of struct clk. Signed-off-by: Tomeu Vizoso Acked-by: Mark Brown --- sound/soc/mxs/mxs-saif.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/mxs/mxs-saif.c b/sound/soc/mxs/mxs-saif.c

[PATCH] Fix e1000e with Intel 82572EI that has no hardware timestamp support

2014-08-06 Thread Koehrer Mathias (ETAS/ESW5)
With the Intel 82527EI (driver: e1000e) there is an issue when running the ptpd2 program, that leads to a kernel oops. The reason is here that in e1000_xmit_frame() a work queue will be scheduled that has not been initialized in this case. The work queue "tx_hwstamp_work" will only be initialized

[PATCH v5 1/6] clk: Add temporary mapping to the existing API

2014-08-06 Thread Tomeu Vizoso
To preserve git-bisectability, add aliases from the future provider API to the existing public API. Also includes clk-provider.h and clk-dev.h in a few places so the right functions are defined. Signed-off-by: Tomeu Vizoso --- v4: * Add more clk-provider.h includes to clk implementations

[PATCH v5 5/6] clk: per-user clock accounting for debug

2014-08-06 Thread Tomeu Vizoso
When a clock has multiple users, the WARNING on imbalance of enable/disable may not show the guilty party since although they may have commited the error earlier, the warning is emitted later when some other user, presumably innocent, disables the clock. Provide per-user clock enable/disable accou

[PATCH 1/4] mm: page_alloc: determine migratetype only once

2014-08-06 Thread Vlastimil Babka
The check for ALLOC_CMA in __alloc_pages_nodemask() derives migratetype from gfp_mask in each retry pass, although the migratetype variable already has the value determined and it does not change. Use the variable and perform the check only once. Also convert #ifdef CONFIC_CMA to IS_ENABLED. Signe

[PATCH 5/9] ASoC: davinci: HDMI audio build for AM33XX and TDA998x

2014-08-06 Thread Jyri Sarha
Adds configuration option for HDMI audio support for AM33XX based boards with NXP TDA998x HDMI transmitter. The audio is connected to NXP TDA998x trough McASP running in i2s mode. Signed-off-by: Jyri Sarha --- sound/soc/davinci/Kconfig | 12 1 file changed, 12 insertions(+) diff

Re: [PATCH V3] Thermal: imx: add i.mx6sx thermal support

2014-08-06 Thread anson.hu...@freescale.com
Hi, Eduardo Thanks again for review, please see below in lines: Sent from my iPad 在 2014-8-6,21:24,"edubez...@gmail.com" 写道: > Hello Anson, > > On Wed, Aug 6, 2014 at 3:12 AM, Anson Huang wrote: >> i.MX6SX has some new features of thermal interrupt function, >> there are LOW, HIGH and

Re: [PATCH] kbuild: devtest - new make target for build all and run tests

2014-08-06 Thread Michal Marek
On 2014-07-18 22:44, Shuah Khan wrote: > Add a new devtest make target to enable developer testing. This > new target does full build (make all) and then runs selftests. I agree with Sam that the name is rather ambiguous, but I can't suggest a better alternative right now. > Signed-off-by: Shuah

[PATCH 0/9] Beaglebone-Black HDMI audio

2014-08-06 Thread Jyri Sarha
The code has a functional dependency to: http://www.mail-archive.com/linux-omap@vger.kernel.org/msg108199.html Without the above patch the audio card does not probe. The code has been rebased on top of Linux 3.16 merged with git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-nex

[PATCH 2/9] clk: add gpio controlled clock

2014-08-06 Thread Jyri Sarha
The added clk-gpio is a basic clock that can be enabled and disabled trough a gpio output. The DT binding document for the clock is also added. For EPROBE_DEFER handling the registering of the clock has to be delayed until of_clk_get() call time. Signed-off-by: Jyri Sarha --- .../devicetree/bind

[PATCH 4/9] ASoC: davinci-evm: HDMI audio support for TDA998x trough McASP I2S bus

2014-08-06 Thread Jyri Sarha
Add machine driver support for BeagleBone-Black HDMI audio. BBB has NXP TDA998X HDMI transmitter connected to McASP port in I2S mode. The 44100 Hz sample-rate and it's multiples can not be accurately produced on BBB. The only supported sample format is SNDRV_PCM_FORMAT_S32_LE. The 8 least significa

[PATCH 9/9] ARM: OMAP2+: omap2plus_defconfig: Enable BeagleBone Black HDMI audio support

2014-08-06 Thread Jyri Sarha
Select CONFIG_SND_EDMA_SOC=m and CONFIG_SND_AM335X_SOC_NXPTDA_EVM=m for BBB HDMI audio. Signed-off-by: Jyri Sarha --- arch/arm/configs/omap2plus_defconfig |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig index 8

[PATCH 6/9] ARM: dts: am33xx: Add external clock provider

2014-08-06 Thread Jyri Sarha
Add external clock provaider for am33xx devices. Signed-off-by: Jyri Sarha --- arch/arm/boot/dts/am33xx.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index 4a4e02d..5093c64 100644 --- a/arch/arm/boot/dts/am33x

[PATCH 7/9] ARM: dts: am335x-boneblack: Add HDMI audio support

2014-08-06 Thread Jyri Sarha
Adds mcasp0_pins, clk_mcasp0_fixed, clk_mcasp0, mcasp0, hdmi_audio, and sound nodes. Signed-off-by: Jyri Sarha --- arch/arm/boot/dts/am335x-boneblack.dts | 54 1 file changed, 54 insertions(+) diff --git a/arch/arm/boot/dts/am335x-boneblack.dts b/arch/arm/boo

[PATCH 3/9] drm/tilcdc: Add I2S HDMI audio config for tda998x

2014-08-06 Thread Jyri Sarha
The configuration is needed for HDMI audio. The "swap" and "mirr" parameters have to be correctly set in the configuration in order to have proper colors in the HDMI picture. Signed-off-by: Jyri Sarha --- drivers/gpu/drm/tilcdc/tilcdc_slave.c | 24 +++- 1 file changed, 23 i

[PATCH 8/9] ARM: OMAP2+: omap2plus_defconfig: TDA998X HDMI trough tilcdc,slave

2014-08-06 Thread Jyri Sarha
Select CONFIG_DRM=m, CONFIG_DRM_I2C_NXP_TDA998X=m, and CONFIG_DRM_TILCDC=m, for Beaglebone-Black HDMI video support. Signed-off-by: Jyri Sarha --- arch/arm/configs/omap2plus_defconfig |3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/confi

[PATCH 1/9] ASoC: mcasp: Fix implicit BLCK divider setting

2014-08-06 Thread Jyri Sarha
The implicit BLCK divider setting was broken by "ASoC: mcasp: don't override bclk divider if it was provided by the machine"-patch. After the BCLK divider is implicitly set for the first time the mcasp->bclk_div gets a non zero value and the implicit setting is "turned off". Signed-off-by: Jyri Sa

Re: [PATCH 2/2] softlockup: make detector be aware of task switch of processes hogging cpu

2014-08-06 Thread Don Zickus
On Wed, Aug 06, 2014 at 10:23:40AM +0800, Chai Wen wrote: > On 08/05/2014 11:20 PM, Don Zickus wrote: > > > On Tue, Aug 05, 2014 at 10:47:57AM +0800, Chai Wen wrote: > >> On 08/04/2014 10:31 PM, Don Zickus wrote: > >> > >>> On Mon, Aug 04, 2014 at 03:36:19PM +0800, chai wen wrote: > > Fo

Re: [RFC PATCH] kprobes: arm: enable OPTPROBES for arm 32

2014-08-06 Thread Wang Nan
On 2014/8/6 21:36, Jon Medhurst (Tixy) wrote: > On Wed, 2014-08-06 at 13:44 +0900, Masami Hiramatsu wrote: >> (2014/08/05 16:28), Wang Nan wrote > [...] >>> +asm ( >>> + ".global optprobe_template_entry\n" >>> + "optprobe_template_entry:\n" >>> +#ifndef CONFIG_TH

Re: [PATCH] kbuild: devtest - new make target for build all and run tests

2014-08-06 Thread Shuah Khan
On 07/18/2014 06:13 PM, Shuah Khan wrote: On 07/18/2014 05:29 PM, Sam Ravnborg wrote: On Fri, Jul 18, 2014 at 02:44:34PM -0600, Shuah Khan wrote: Add a new devtest make target to enable developer testing. This new target does full build (make all) and then runs selftests. Signed-off-by: Shuah

Re: [PATCH 0/2] Convert exynos PPMU driver to be built as module

2014-08-06 Thread Punit Agrawal
Punit Agrawal writes: > Hi, > > There's no reason why the exynos PPMU can't be built as a module > except you need - > > - The first patch exports the functions that are needed to build > devfreq drivers as modules. > > - The second patch then converts the exynos PPMU devfreq driver to be > bui

[PATCH] arch/microblaze/include/asm/entry.h: Include "linux/linkage.h" to avoid compiling issue

2014-08-06 Thread Chen Gang
"entry.h" needs 'asmlinkage', and "asm/linkage.h" does not provide it. So need include "linux/linkage.h" to use generic one instead of. The related error (with allmodconfig under microblaze): CC [M] drivers/net/ethernet/emulex/benet/be_main.o In file included from ./arch/microblaze/include

[PATCH] treewide: Fix typo in printk

2014-08-06 Thread Masanari Iida
This patch fix spelling typo in printk within vairous part of the code. Signed-off-by: Masanari Iida --- arch/blackfin/mach-common/ints-priority.c | 2 +- drivers/gpu/drm/i915/intel_bios.c | 2 +- drivers/i2c/busses/i2c-s3c2410.c | 2 +- drivers/infini

Re: [PATCH 1/2] UEFI arm64: add noefi boot param

2014-08-06 Thread Leif Lindholm
On Wed, Aug 06, 2014 at 02:20:21PM +0100, Matt Fleming wrote: > > Since this is really turning an x86-specific feature into a generic > > one, could it be moved to core code? > > Maybe an efi.mask, reusing the efi_enabled defines, with an > > efi_disabled macro? > > Why the new efi_disabled() and

Re: [PATCH 3.2 00/94] 3.2.62-rc1 review

2014-08-06 Thread Satoru Takeuchi
At Mon, 4 Aug 2014 10:55:44 -0700, Guenter Roeck wrote: > > On Mon, Aug 04, 2014 at 05:48:31PM +0100, Ben Hutchings wrote: > > This is the start of the stable review cycle for the 3.2.62 release. > > There are 94 patches in this series, which will be posted as responses > > to this one. If anyone

RE: PROBLEM: [x86] Running ptpd2 using an Intel 82572EI (e1000e) leads to a kernel oops (3.12.26)

2014-08-06 Thread Koehrer Mathias (ETAS/ESW5)
> -Original Message- > From: Nick Krause [mailto:xerofo...@gmail.com] > Sent: Wednesday, August 06, 2014 2:37 PM > To: Koehrer Mathias (ETAS/ESW5) > Cc: linux-kernel@vger.kernel.org; net...@vger.kernel.org > Subject: Re: PROBLEM: [x86] Running ptpd2 using an Intel 82572EI (e1000e) > leads

Re: [PATCH V3] Thermal: imx: add i.mx6sx thermal support

2014-08-06 Thread edubez...@gmail.com
Hello Anson, On Wed, Aug 6, 2014 at 3:12 AM, Anson Huang wrote: > i.MX6SX has some new features of thermal interrupt function, > there are LOW, HIGH and PANIC irq for thermal sensor, so add > platform data to separate different thermal version; > > The reset value of LOW ALARM is 0 which means th

[PATCH 2/4] cpuidle: menu: Use ktime_to_us instead of reinventing the wheel

2014-08-06 Thread Mel Gorman
The ktime_to_us implementation is slightly better than the one implemented in menu.c. Use it Signed-off-by: Mel Gorman --- drivers/cpuidle/governors/menu.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/cpuidle/governors/menu.c b/drivers/cpuidle/governors/menu.c

Re: [PATCH 1/2] UEFI arm64: add noefi boot param

2014-08-06 Thread Matt Fleming
On Wed, 06 Aug, at 02:06:23PM, Leif Lindholm wrote: > On Wed, Aug 06, 2014 at 04:38:25PM +0800, Dave Young wrote: > > > > Adding a noefi boot param like in X86 to disable efi runtime services > > support. > > > > This will be useful for debugging uefi problems. Also it will be useful > > for lat

[PATCH 0/4] Reduce overhead of menu governor

2014-08-06 Thread Mel Gorman
The menu_select function is heavy and is very noticable in profiles for workloads that enter/leave idle state a lot. This primarily happens for scheduler microbenchmarks. The biggest contibution is the standard deviation calculations and comparisons but the excessive calls into the scheduler core d

[PATCH 3/4] cpuidle: menu: Call nr_iowait_cpu less times

2014-08-06 Thread Mel Gorman
menu_select() via inline functions calls nr_iowait_cpu() twice as much as necessary. Signed-off-by: Mel Gorman --- drivers/cpuidle/governors/menu.c | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/drivers/cpuidle/governors/menu.c b/drivers/cpuidle/governors/men

[PATCH 4/4] cpuidle: menu: Lookup CPU runqueues less

2014-08-06 Thread Mel Gorman
The menu governer makes separate lookups of the CPU runqueue to get load and number of IO waiters but it can be done with a single lookup. Signed-off-by: Mel Gorman --- drivers/cpuidle/governors/menu.c | 17 +++-- include/linux/sched.h| 3 +-- kernel/sched/core.c

[PATCH 1/4] cpuidle: menu: Use shifts when calculating averages where possible

2014-08-06 Thread Mel Gorman
We use do_div even though the divisor will usually be a power-of-two unless there are unusual outliers. Use shifts where possible Signed-off-by: Mel Gorman --- drivers/cpuidle/governors/menu.c | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/drivers/cpuidle/gov

RE: [PATCH] X86/CPU: Avoid 100ms sleep for cpu offline during S3

2014-08-06 Thread Lan, Tianyu
Have you tried my attached kernel config file? When someone reported the issue to me, I also was very hard to reproduce the issue by my own config file. Maybe once 100 tries. But I can reproduced the issue every time with the attached configure file on several my machines and even on server. -

Re: [PATCH 1/2] UEFI arm64: add noefi boot param

2014-08-06 Thread Leif Lindholm
On Wed, Aug 06, 2014 at 04:38:25PM +0800, Dave Young wrote: > > Adding a noefi boot param like in X86 to disable efi runtime services support. > > This will be useful for debugging uefi problems. Also it will be useful > for later kexec/kdump work. Kexec on uefi support in X86 depends on a fixed

[PATCH] x86: mtrr/cyrix.c : Remove typedef arr_state_t

2014-08-06 Thread Himangi Saraogi
The Linux kernel coding style guidelines suggest not using typedefs for structure types. This patch gets rid of the typedef for arr_state_t. Also the name of the struct is changed to drop the _t, to make the name look less typedef-like. The following Coccinelle semantic patch detects the case. @t

[PATCH] fs/befs/btree.c: Remove typedef befs_btree_node

2014-08-06 Thread Himangi Saraogi
The Linux kernel coding style guidelines suggest not using typedefs for structure types. This patch gets rid of the typedef for befs_btree_node. The following Coccinelle semantic patch detects the case. @tn1@ type td; @@ typedef struct { ... } td; @script:python tf@ td << tn1.td; tdres; @@ coc

Re: [PATCH V2] Thermal: imx: add i.mx6sx thermal support

2014-08-06 Thread edubez...@gmail.com
Hello again, On Wed, Aug 6, 2014 at 8:56 AM, edubez...@gmail.com wrote: > Hello Anson, > > On Wed, Aug 6, 2014 at 3:05 AM, anson.hu...@freescale.com > wrote: >> Sorry for leaving such warnings, I thought we did NOT care about the long >> line issue now, will fix them in V3 patch. >> > > Lines ov

[PATCH 1/3] x86, fpu: Do not copy fpu preload state

2014-08-06 Thread Mel Gorman
__switch_to declares a fpu_switch_t on the stack then calls a prepare function which declares a second one on the stack and copies the result back. As the functions are inline the compiler will optimise it correctly but it looks weird. This patch makes it clear that a single instance of fpu_switch_

Re: [PATCH V2] Thermal: imx: add i.mx6sx thermal support

2014-08-06 Thread edubez...@gmail.com
Hello Anson, On Wed, Aug 6, 2014 at 3:05 AM, anson.hu...@freescale.com wrote: > Sorry for leaving such warnings, I thought we did NOT care about the long > line issue now, will fix them in V3 patch. > Lines over 80 columns are not an error of style. We simply suggest to keep this. By now, I thin

[PATCH 2/3] x86, fpu: Split FPU save state preparation into eagerfpu and !eagerfpu parts

2014-08-06 Thread Mel Gorman
If the CPU supports non-lazy FPU support using xsave then a different save path is used for the FPU during context switch. The xsave path is heavier than it needs to be so this patch splits the two cases in preparation. Signed-off-by: Mel Gorman --- arch/x86/include/asm/fpu-internal.h | 40 +

Re: Oops: 17 SMP ARM (v3.16-rc2)

2014-08-06 Thread Russell King - ARM Linux
On Wed, Aug 06, 2014 at 11:10:06AM +, Mattis Lorentzon wrote: > Russell, > > > What is on the other end of the link? > > 16 ARM cards connected to a 3Com Switch 4400 connected to a Linux FC 20 > machine (Intel Corporation 82541PI Gigabit Ethernet Controller rev 05). > > There may be multiple

[PATCH 3/3] x86, fpu: Do not update fpu_counter in the eagerfpu case

2014-08-06 Thread Mel Gorman
In the non-lazy FPU restore case there is no need for fpu_counter. This patch avoids updating the counter unnecessarily. Signed-off-by: Mel Gorman --- arch/x86/include/asm/fpu-internal.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/x86/include/asm/fpu-internal.h b/arch/x86/include/

[PATCH 0/3] Reduce length of the eagerfpu path during x86 context switches

2014-08-06 Thread Mel Gorman
Eager FPU switching is used on CPUs that support xsave on the grounds that CPUs that support it can optimise the switch with xsaveopt and xrstor instead of serialising by updating cr0.TS which has serialising semantics. The path for eagerfpu is fatter than it needs to be because it still maintains

[PATCH 0/3] Reduce length of the eagerfpu path during x86 context switches

2014-08-06 Thread Mel Gorman
Eager FPU switching is used on CPUs that support xsave on the grounds that CPUs that support it can optimise the switch with xsaveopt and xrstor instead of serialising by updating cr0.TS which has serialising semantics. The path for eagerfpu is fatter than it needs to be because it still maintains

<    1   2   3   4   5   6   7   >