Re: [git pull] drm fixes

2014-04-19 Thread Markus Trippelsdorf
On 2014.04.19 at 21:21 -0400, Alex Deucher wrote: > On Sat, Apr 19, 2014 at 3:03 PM, Markus Trippelsdorf > wrote: > > On 2014.04.19 at 08:19 +0100, Dave Airlie wrote: > >> > >> Unfortunately this contains no easter eggs, its a bit larger than I'd > >> like, but I included a patch that just moves c

Re: [PATCH v2 0/2] staging: panel: fix sparse warnings.

2014-04-19 Thread Willy Tarreau
Hi Bastien, On Fri, Apr 18, 2014 at 06:09:18PM +0200, Bastien Armand wrote: > This serie of two patch fix the following sparse warnings in panel.c : > panel.c:1235:26: warning: incorrect type in argument 1 (different address > spaces) > panel.c:1235:26:expected void const volatile [noderef] *

Re: PROBLEM: Pulseaudio hung at schedule in 3.15-rc1

2014-04-19 Thread Takashi Iwai
At Sat, 19 Apr 2014 13:20:01 -0400, Bryan Quigley wrote: > > 400362f1d8dcfda3562e80e88cfc2a92cffaf9bf is the first bad commit > commit 400362f1d8dcfda3562e80e88cfc2a92cffaf9bf > Author: Takashi Iwai > Date: Mon Jan 20 16:51:16 2014 +0100 > > ALSA: usb-audio: Resume mixer values properly >

Re: [GIT PULL] Detaching mounts on unlink for 3.15

2014-04-19 Thread Al Viro
On Thu, Apr 17, 2014 at 11:12:03PM +0100, Al Viro wrote: > I'd probably turn mntput_no_expire() into something like > static struct mount *__mntput(struct mount *m) > that would return NULL if nothing needs to be killed and returned m > if m really needs killing. Leaving the caller to decide what

Re: Bug in 3.15-rc1: Scheduling while atomic splats filling log - bisected to commit 27f6c57

2014-04-19 Thread Larry Finger
On 04/17/2014 02:16 PM, Larry Finger wrote: On kernel 3.15-rc1, I get log entries for scheduling while atomic. These BUG splats are repeated many times, and start early in the boot. I tried to bisect this problem, but the bug does not always show on every boot, and I must have had a faulty kernel

[PATCH] ced1401 coding style fixes

2014-04-19 Thread Jinqiang Zeng
Signed-off-by: Jinqiang Zeng --- drivers/staging/ced1401/usb1401.c |8 ++-- drivers/staging/ced1401/use14_ioc.h |4 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/ced1401/usb1401.c b/drivers/staging/ced1401/usb1401.c index 284abc0..5028318 1006

Re: [PATCH] Staging:dgap:dgap_tty.c: Upgraded driver to use Mutex instead of semaphore

2014-04-19 Thread Kumar Gaurav
Hi All, Any update on below patch. Do i need to make any modification? On Thursday 17 April 2014 09:25 PM, Kumar Gaurav wrote: dgap driver uses semaphore for obtaining lock. I upgraded it to use MUTEX. Signed-off-by: Kumar Gaurav --- drivers/staging/dgap/dgap_tty.c | 17 +

Re: [PATCH 9/9 V2] idr: remove useless C-PreProcessor branch

2014-04-19 Thread Lai Jiangshan
On Sun, Apr 20, 2014 at 7:51 AM, Tejun Heo wrote: > $SUBJ: idr: remove useless #ifndef TEST > > On Sat, Apr 19, 2014 at 07:38:16PM +0800, Lai Jiangshan wrote: >> "#ifndef TEST" can't work for user space test now, just remove it. >> >> Signed-off-by: Lai Jiangshan > > Acked-by: Tejun Heo Hi, Tej

[PATCH v2 3/3] staging: gdm72xx: Minor cleanup

2014-04-19 Thread Michalis Pappas
Replaced comparisons on jiffies values with wrap-safe functions. Signed-off-by: Michalis Pappas --- drivers/staging/gdm72xx/gdm_usb.c | 2 +- drivers/staging/gdm72xx/sdio_boot.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/gdm72xx/gdm_usb.c b/drive

[PATCH v2 2/3] staging: gdm72xx: Minor cleanup

2014-04-19 Thread Michalis Pappas
Removed line related to replacement of kernel_thread with kthread, as issue was fixed on ff5e4a1d2702582614996f6f6d005e9b5caadeb8. Signed-off-by: Michalis Pappas --- drivers/staging/gdm72xx/TODO | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/gdm72xx/TODO b/drivers/staging/gd

[PATCH v2 1/3] staging: gdm72xx: Minor cleanup

2014-04-19 Thread Michalis Pappas
Minor white-space fixes as suggested by checkpatch.pl. Signed-off-by: Michalis Pappas --- drivers/staging/gdm72xx/gdm_qos.c | 2 +- drivers/staging/gdm72xx/gdm_wimax.c | 2 ++ drivers/staging/gdm72xx/usb_boot.c | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/stag

[PATCH v2 0/3] staging: gdm72xx: Minor cleanup

2014-04-19 Thread Michalis Pappas
The following patches perform various cleanups on the gdm72xx driver. PATCH 1/3 fixes some small coding style issues PATCH 2/3 removes an already completed item from the TODO list PATCH 3/3 replaces some jiffies comparisons with wrap-safe functions After all patches have been applied, the only re

[PATCH] Staging: rtl8192e: Fix declaration of symbols

2014-04-19 Thread Joel Pelaez Jorge
The two declarations with issues in rtl_wx.h: * function: struct iw_statistics *r8192_get_wireless_stats(); * variable: extern struct iw_handler_def r8192_wx_handlers_def; The symbol 'r8192_get_wireless_stats' is declared as 'extern' but it is only used in the local scope. The declaration is

Re: [PATCH 4/8] ARM: mvebu: Add USB3 UTMI support

2014-04-19 Thread Felipe Balbi
Hi, On Fri, Apr 18, 2014 at 12:22:39PM +0200, Gregory CLEMENT wrote: > The usb3-utmi registers allow to configure the internal USB PHY of the > Armada 380/385 SoCs. A small initialization is needed to be able to use > the USB3 ports. > > Signed-off-by: Gregory CLEMENT looks like this should be

Re: [PATCH 3/8] xhci-platform: Add a new controller using xhci: Armada 38x

2014-04-19 Thread Felipe Balbi
On Fri, Apr 18, 2014 at 12:22:38PM +0200, Gregory CLEMENT wrote: > Extend the compatible string list with xhci-armada-380. It is used to > describe xhci controller which is in the Armada 38x SoCs. > > Signed-off-by: Gregory CLEMENT > --- > Documentation/devicetree/bindings/usb/usb-xhci.txt | 3 +

Re: [PATCH 2/8] usb: host: xhci-plat: Add support for the Armada 38x glue code

2014-04-19 Thread Felipe Balbi
On Fri, Apr 18, 2014 at 12:22:37PM +0200, Gregory CLEMENT wrote: > For the armada 38x SoCs which come with an xhci controller, specific > initialization must be done during probe, especially in relation with > the MBus windows initialization. This patch adds this support. > > Signed-off-by: Gregor

Re: [PATCH] KVM: x86: Check for host supported fields in shadow vmcs

2014-04-19 Thread Paolo Bonzini
Il 19/04/2014 19:34, Bandan Das ha scritto: We track shadow vmcs fields through two static lists, one for read only fields and another for r/w. However, with addition of new vmcs fields, not all fields may be supported on all hosts. If so, copy_vmcs12_to_shadow() trying to vmwrite on older hosts

Re: [PATCH 1/8] usb: host: xhci-plat: Allow to register glue code using the device tree

2014-04-19 Thread Felipe Balbi
Hi, On Fri, Apr 18, 2014 at 12:22:36PM +0200, Gregory CLEMENT wrote: > This patch allow to register specific glue code for xhci controller. > It creates a structure called xhci_plat_ops to register functions > specific to an SoC. Currently there are only probe() and remove() but What SoC-specific

[PATCH 1/2] Staging: dgnc: dgnc_driver: fixed coding style of dgnc_pci_tbl

2014-04-19 Thread Son P. Nguyen
From: "Son P. Nguyen" Fixed coding style of dgnc_pci_tbl definition (longer than 80 chars) Signed-off-by: Son P. Nguyen --- drivers/staging/dgnc/dgnc_driver.c | 36 +++- 1 file changed, 19 insertions(+), 17 deletions(-) diff --git a/drivers/staging/dgnc/dgnc_dr

[PATCH 2/2] Staging: dgnc: dgnc_driver: fixed coding style braces

2014-04-19 Thread Son P. Nguyen
From: "Son P. Nguyen" Fixed incorrect braces (coding style) PS: This is for task 10 of eudyptula-challenge. Signed-off-by: Son P. Nguyen --- drivers/staging/dgnc/dgnc_driver.c | 17 ++--- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/drivers/staging/dgnc/dgnc_driv

[PATCH 2/6] m68k: call find_vma with the mmap_sem held in sys_cacheflush()

2014-04-19 Thread Davidlohr Bueso
Performing vma lookups without taking the mm->mmap_sem is asking for trouble. While doing the search, the vma in question can be modified or even removed before returning to the caller. Take the lock (shared) in order to avoid races while iterating through the vmacache and/or rbtree. This patch is

[PATCH 4/6] arc: call find_vma with the mmap_sem held

2014-04-19 Thread Davidlohr Bueso
Performing vma lookups without taking the mm->mmap_sem is asking for trouble. While doing the search, the vma in question can be modified or even removed before returning to the caller. Take the lock (shared) in order to avoid races while iterating through the vmacache and/or rbtree. This patch is

[PATCH 5/6] drivers,sgi-gru/grufault.c: call find_vma with the mmap_sem held

2014-04-19 Thread Davidlohr Bueso
From: Jonathan Gonzalez V Performing vma lookups without taking the mm->mmap_sem is asking for trouble. While doing the search, the vma in question can be modified or even removed before returning to the caller. Take the lock in order to avoid races while iterating through the vmacache and/or rbt

[PATCH 3/6] mips: call find_vma with the mmap_sem held

2014-04-19 Thread Davidlohr Bueso
Performing vma lookups without taking the mm->mmap_sem is asking for trouble. While doing the search, the vma in question can be modified or even removed before returning to the caller. Take the lock (exclusively) in order to avoid races while iterating through the vmacache and/or rbtree. Updates

[PATCH 6/6] drm/exynos: call find_vma with the mmap_sem held

2014-04-19 Thread Davidlohr Bueso
From: Jonathan Gonzalez V Performing vma lookups without taking the mm->mmap_sem is asking for trouble. While doing the search, the vma in question can be modified or even removed before returning to the caller. Take the lock (exclusively) in order to avoid races while iterating through the vmaca

[PATCH 0/6] mm: audit find_vma() callers

2014-04-19 Thread Davidlohr Bueso
Ensure find_vma() callers do so with the mmap_sem held. I'm sure there are a few more places left to fix, but this is a pretty good start. Following the call chain, some users become all tangled up, but I believe these fixes are correct. Furthermore, the bulk of the callers of find_vma are in a

[PATCH 1/6] blackfin/ptrace: call find_vma with the mmap_sem held

2014-04-19 Thread Davidlohr Bueso
Performing vma lookups without taking the mm->mmap_sem is asking for trouble. While doing the search, the vma in question can be modified or even removed before returning to the caller. Take the lock (shared) in order to avoid races while iterating through the vmacache and/or rbtree. This patch is

Re: [RFC 3/3] atmel: dt: Add supports for the lcdc support on the sama5d36ek

2014-04-19 Thread Jean-Jacques Hiblot
2014-04-18 16:48 GMT+02:00 Robert Nelson : > > On Fri, Apr 18, 2014 at 4:45 AM, Jean-Jacques Hiblot > wrote: >> Signed-off-by: Jean-Jacques Hiblot >> --- >> arch/arm/boot/dts/sama5d36ek.dts | 27 ++- >> 1 file changed, 26 insertions(+), 1 deletion(-) >> >> diff --git a/ar

Re: [PATCH] smc91x: fix compile error when SMC_DEBUG >= 2

2014-04-19 Thread Zi Shen Lim
Hi Joe, On Fri, Apr 18, 2014 at 09:06:53PM -0700, Joe Perches wrote: > On Fri, 2014-04-18 at 20:47 -0700, Zi Shen Lim wrote: > > When SMC_DEBUG >= 2, we hit the following compilation error: > > > > drivers/net/ethernet/smsc/smc91x.c:85:0: > > drivers/net/ethernet/smsc/smc91x.c: In function ‘smc_f

Re: [git pull] drm fixes

2014-04-19 Thread Alex Deucher
On Sat, Apr 19, 2014 at 3:03 PM, Markus Trippelsdorf wrote: > On 2014.04.19 at 08:19 +0100, Dave Airlie wrote: >> >> Unfortunately this contains no easter eggs, its a bit larger than I'd >> like, but I included a patch that just moves code from one file to another >> and I'd like to avoid merge co

Re: [tip:x86/efi] x86/efi: Save and restore FPU context around efi_calls (x86_64)

2014-04-19 Thread Borislav Petkov
On Sat, Apr 19, 2014 at 03:50:44PM -0700, tip-bot for Ricardo Neri wrote: > Commit-ID: de05764e0b2a3d9559e099a2e134f8cef4500fdd > Gitweb: http://git.kernel.org/tip/de05764e0b2a3d9559e099a2e134f8cef4500fdd > Author: Ricardo Neri > AuthorDate: Thu, 27 Mar 2014 15:10:42 -0700 > Committer: M

Re: [PATCH 9/9 V2] idr: remove useless C-PreProcessor branch

2014-04-19 Thread Tejun Heo
$SUBJ: idr: remove useless #ifndef TEST On Sat, Apr 19, 2014 at 07:38:16PM +0800, Lai Jiangshan wrote: > "#ifndef TEST" can't work for user space test now, just remove it. > > Signed-off-by: Lai Jiangshan Acked-by: Tejun Heo Thanks. -- tejun -- To unsubscribe from this list: send the line "

Re: [PATCH] tracing:Do not profile dumpstack utilities to fix stack trace output

2014-04-19 Thread Jiaxing Wang
On 04/19/2014 11:18 PM, Steven Rostedt wrote: > On Sat, 19 Apr 2014 15:45:46 +0800 > Jiaxing Wang wrote: > >> When function_graph tracer is enabled, we get stack trace like this: >> >> DepthSize Location(88 entries) >> - >>0) 3232 0

Re: [PATCH 5/9 V2] idr: covert BUG_ON() to WARN_ON_ONCE() if the argument is invalid.

2014-04-19 Thread Tejun Heo
Hello, On Sat, Apr 19, 2014 at 10:04:06PM +0800, Lai Jiangshan wrote: > On Sat, Apr 19, 2014 at 9:07 PM, Tejun Heo wrote: > WARN_ON_ONCE() for invalid id (negative id). > idr_remove_warning() for unallocated id. I don't know. Seem like an unnecessary distinction. > >> @@ -1030,6 +1030,9 @@ voi

[PATCH] KVM: x86: Check for host supported fields in shadow vmcs

2014-04-19 Thread Bandan Das
We track shadow vmcs fields through two static lists, one for read only fields and another for r/w. However, with addition of new vmcs fields, not all fields may be supported on all hosts. If so, copy_vmcs12_to_shadow() trying to vmwrite on older hosts will result in a vmwrite error. For example,

Re: [PATCH] coredump: fix va_list corruption

2014-04-19 Thread Neil Horman
On Sat, Apr 19, 2014 at 10:15:07AM -0700, Eric Dumazet wrote: > From: Eric Dumazet > > A va_list needs to be copied in case it needs to be used twice. > > Thanks to Hugh for debugging this issue, leading to various panics. > > Tested: > > lpq84:~# echo "|/foobar12345 %h %h %h %h %h %h %h %h %h

[PATCH 1/2] RTC: rtc-cmos: drivers/char/rtc.c features for DECstation support

2014-04-19 Thread Maciej W. Rozycki
This brings in drivers/char/rtc.c functionality required for DECstation and, should the maintainers decide to switch, Alpha systems to use rtc-cmos. Specifically these features are made available: * RTC iomem rather than x86/PCI port I/O mapping, controlled with the RTC_IOMAPPED macro as wit

[PATCH 2/2] DEC: Switch DECstation systems to rtc-cmos

2014-04-19 Thread Maciej W. Rozycki
This adds an RTC platform device for DECstation systems so that they can use the rtc-cmos driver for their RTC device. Signed-off-by: Maciej W. Rozycki --- Ralf, This part requires the other change or it won't build at all, so it can't be pushed to the LMO tree by itself. I'm not sure which

Re: [GIT PULL] EFI changes for v3.16

2014-04-19 Thread H. Peter Anvin
On 04/19/2014 03:06 AM, Matt Fleming wrote: > Hi folks, > > Please pull the following changes for v3.16. I'd like to get these in > early so that they've got plenty of time to bake in linux-next. In > particular, the ARM folks have had a hard time getting the generic EFI > cleanups/improvements pi

Re: [PATCH] perf test x86: Fit memory leak in sample_ustack()

2014-04-19 Thread Jiri Olsa
On Sun, Apr 20, 2014 at 12:19:13AM +0200, Jiri Olsa wrote: > On Sun, Apr 20, 2014 at 12:16:41AM +0900, Masanari Iida wrote: > > buf is not freed, when kernel failed to get stack map > > and return. > > > > Signed-off-by: Masanari Iida > > Acked-by: Jiri Olsa > > thanks, > jirka > > > --- > >

Re: [PATCH] perf test x86: Fit memory leak in sample_ustack()

2014-04-19 Thread Jiri Olsa
On Sun, Apr 20, 2014 at 12:16:41AM +0900, Masanari Iida wrote: > buf is not freed, when kernel failed to get stack map > and return. > > Signed-off-by: Masanari Iida Acked-by: Jiri Olsa thanks, jirka > --- > tools/perf/arch/x86/tests/dwarf-unwind.c | 1 + > 1 file changed, 1 insertion(+) >

[PATCH v3 3/3] KVM: nVMX: Advertise support for interrupt acknowledgement

2014-04-19 Thread Bandan Das
Some Type 1 hypervisors such as XEN won't enable VMX without it present Signed-off-by: Bandan Das --- arch/x86/kvm/vmx.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index 5c0b74d..7bed3e3 100644 --- a/arch/x86/kvm/vmx.c +++ b/a

[PATCH v3 2/3] KVM: nVMX: Ack and write vector info to intr_info if L1 asks us to

2014-04-19 Thread Bandan Das
This feature emulates the "Acknowledge interrupt on exit" behavior. We can safely emulate it for L1 to run L2 even if L0 itself has it disabled (to run L1). Signed-off-by: Bandan Das --- arch/x86/kvm/irq.c | 1 + arch/x86/kvm/vmx.c | 18 ++ 2 files changed, 19 insertions(+) dif

[PATCH v3 1/3] KVM: nVMX: Don't advertise single context invalidation for invept

2014-04-19 Thread Bandan Das
For single context invalidation, we fall through to global invalidation in handle_invept() except for one case - when the operand supplied by L1 is different from what we have in vmcs12. However, typically hypervisors will only call invept for the currently loaded eptp, so the condition will never

[PATCH v3 0/3] nVMX: Fixes to run Xen as L1

2014-04-19 Thread Bandan Das
Minor changes to enable Xen as a L1 hypervisor. Tested with a Haswell host, Xen-4.3 L1 and debian6 L2 v3: * Add WARN_ON in nested_vmx_exit * Rebase on top of 3.15-rc1 * Also noticed a new behavior which I think is related to commit 36be0b9deb23161e KVM: x86: Add nested virtualization support f

[PATCH] mmc: mxs: fix card detection function for broken card detect

2014-04-19 Thread Daniel Willmann
Return -ENOSYS in get_cd if broken-cd is specified in the device tree. Commit a91fe279ae75 (mmc: mxs: use standard flag for broken card detection) sets MMC_CAP_NEEDS_POLL when broken-cd is specified. This driver sets this flag unconditionally as it does not support a card detect interrupt. Instead

Humanitarian Project‎

2014-04-19 Thread Michelle Starzynski
I write you this email on behalf of Mrs. Margaret Crawford regards to her wish. She has decided to donate part of her inheritance to you for humanitarian work and your personal use. For more details contact her Attorney, Mark Lawson via email: mlaws...@rogers.com __

Re: [PATCH 0/2] memcg: mm_update_next_owner() should skip kthreads

2014-04-19 Thread Hugh Dickins
On Sat, 19 Apr 2014, Oleg Nesterov wrote: > On 04/19, Pavel Machek wrote: > > > > > > Hmm. I seem to see a bug in this function, it can be fulled by use_mm, > > > > but I am not sure this can explain the problem. I'll send a patch. > > > > > > Untested, please review. But it really looks "obviously

[PATCH] NVMe: Update namespace and controller identity structures as per 1.1a spec

2014-04-19 Thread Dimitri John Ledkov
Controller: add CNTLID, AVSCC, APSTA, NVSCC, ACWU, SGLS fields. Namespace: add NMIC, RESCAP, EUI64 fields. EUI64 is specifically interesting, since it can be used to construct an UEFI NVMe device path for a boot entry. As per NVM Express 1.1a spec: http://www.nvmexpress.org/wp-content/uploads/NVM

[PATCH] NVMe: Update namespace and controller identity structures as per 1.1a spec

2014-04-19 Thread Dimitri John Ledkov
Controller: add CNTLID, AVSCC, APSTA, NVSCC, ACWU, SGLS fields. Namespace: add NMIC, RESCAP, EUI64 fields. EUI64 is specifically interesting, since it can be used to construct an UEFI NVMe device path for a boot entry. As per NVM Express 1.1a spec: http://www.nvmexpress.org/wp-content/uploads/NVM

Re: [PATCH v4 1/7] drivers: input: keyboard: st-keyscan: add keyscan driver

2014-04-19 Thread Dmitry Torokhov
On Wed, Apr 16, 2014 at 10:49:29AM +0200, Gabriel Fernandez wrote: > On 13 April 2014 07:10, Dmitry Torokhov wrote: > > > > Does the version of the patch below still work for you? > > > Yes it's was tested on b2000 and b2089 sti boards. > > > Thanks. > > > > -- > > Dmitry > > > Thanks for yours r

RE: [PATCH] MAINTAINERS: INTEL MID SOC: add maintainer

2014-04-19 Thread Gross, Mark
Signed-off-by: markgross --mgross The developer experience is our product > -Original Message- > From: David Cohen [mailto:david.a.co...@linux.intel.com] > Sent: Thursday, April 17, 2014 7:39 PM > To: h...@zytor.com; mi...@redhat.com; t...@linutronix.de; > x...@kernel.org > Cc: linux-ker

[PATCH 1/1] fanotify: check permissions when creating file descriptor

2014-04-19 Thread Heinrich Schuchardt
When monitoring a directory or a mount with the fanotify API the call to fanotify_init checks, * the process has cap_sys_admin capability The call to fanotify_mark checks, * the process has read authorization for directory or mount A directory or mount may contain files for which the process ha

Fwd: [PATCH] octeon-usb/octeon-hcd.c

2014-04-19 Thread Nicolas Del Piano
Hello, this is a patch that I made for the Eudyptula Challenge. Please let me know if there are any mistakes! I send it to the list because the maintainer does not respond. Regards, Nicolas Subject: [PATCH] coding style errors fix From: Nicolas Del Piano Fixed all the coding style errors. T

Re: an infinite loop in ext4 in 3.14

2014-04-19 Thread Mikulas Patocka
On Thu, 17 Apr 2014, Theodore Ts'o wrote: > On Thu, Apr 17, 2014 at 03:23:13PM -0400, Mikulas Patocka wrote: > > > > I hit a bug in ext4 - jbd2 was stuck in an infinite loop when remounting > > the root filesystem read-only during shutdown. > > Is this at all repeatable? I suspect what happe

Re: [PATCHv3 13/14] DTS: ARM: OMAP3-N900: Add SSI support

2014-04-19 Thread Pavel Machek
On Sat 2014-03-29 01:31:49, Sebastian Reichel wrote: > Add SSI device tree data for OMAP3 and Nokia N900. > > Signed-off-by: Sebastian Reichel Reviewed-by: Pavel Machek -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/hors

Re: [PATCHv3 14/14] DTS: ARM: OMAP3-N900: Add modem support

2014-04-19 Thread Pavel Machek
On Sat 2014-03-29 01:31:50, Sebastian Reichel wrote: > Add modem device tree data to Nokia N900's DTS file. > > Signed-off-by: Sebastian Reichel Reviewed-by: Pavel Machek -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/hor

Re: [PATCHv3 12/14] ARM: dts: omap3 clocks: simplify ssi aliases

2014-04-19 Thread Pavel Machek
On Sat 2014-03-29 01:31:48, Sebastian Reichel wrote: > From: Sebastian Reichel > > update aliases for the ssi clocks ssi_ssr_fck, ssi_sst_fck and ssi_ick > to make them consistent for omap34xx and omap36xx. This makes it > possible to reference the clocks from generic omap3 dts files. > > Signed

Re: [PATCHv3 11/14] HSI: Introduce Nokia N900 modem driver

2014-04-19 Thread Pavel Machek
On Sat 2014-03-29 01:31:47, Sebastian Reichel wrote: > The Nokia N900's modem is connected via Synchronous Serial Interface (SSI), > which is a legacy version of MIPI's High-speed Synchronous Serial Interface > (HSI). > > The handles the GPIOs for enabling and resetting the modem and instanciates

Re: 3.14 regression: huge latency in read/select on tun

2014-04-19 Thread Ortwin Glück
On 03.04.2014 15:50, Eric Dumazet wrote: > On Thu, 2014-04-03 at 06:19 -0700, Eric Dumazet wrote: > >> It seems TSO support is broken. I finally found time to bisect this: 53d6471cef17262d3ad1c7ce8982a234244f68ec is the first bad commit commit 53d6471cef17262d3ad1c7ce8982a234244f68ec Author: Vla

Re: [PATCH 16/28] nios2: System calls handling

2014-04-19 Thread Geert Uytterhoeven
On Fri, Apr 18, 2014 at 2:26 PM, Ley Foon Tan wrote: > +/* sys_cacheflush -- flush the processor cache. */ > +asmlinkage int sys_cacheflush(unsigned long addr, unsigned long len, > + unsigned int op) > +{ > + struct vm_area_struct *vma; > + > + if (len ==

Re: [PATCHv3 10/14] HSI: Introduce driver for SSI Protocol

2014-04-19 Thread Pavel Machek
Hi! > This adds a driver for the SSI McSAAB protocol as used in > the Nokia N900. > > Signed-off-by: Carlos Chinea > Signed-off-by: Sebastian Reichel > +#define SSIP_MIN_PN_HDR 6 /* FIXME: Revisit */ > +#define SSIP_WDTOUT 2000/* FIXME: has to be 500 msecs> */

[PATCH v3 0/2] staging: vt6655: style fixes

2014-04-19 Thread Guido Martínez
Update the third and fourth v2 patches to apply cleanly on greg's current tree. Guido Martínez (2): staging: vt6655: remove dead code staging: vt6655: fix checkpatch bracing issues drivers/staging/vt6655/IEEE11h.c | 6 - drivers/staging/vt6655/baseband.c| 101 - drivers/sta

Re: [PATCH v2 3/4] staging: vt6655: remove dead code

2014-04-19 Thread Guido Martínez
On Fri, Apr 18, 2014 at 04:09:58PM -0700, Greg KH wrote: > This patch does not apply, can you refresh it, and the 4/4 patch, > against my latest tree and resend? Sending them now as v3. I'm not sure a v3 is most fitting for this situation, so please tell me if you want me to resend them in a differ

[PATCH 1/1] fs/aio.c: Remove ctx parameter in kiocb_cancel

2014-04-19 Thread Fabian Frederick
ctx is no longer used in kiocb_cancel since 57282d8fd74407 ("aio: Kill ki_users") Cc: Alexander Viro Cc: Andrew Morton Signed-off-by: Fabian Frederick --- fs/aio.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fs/aio.c b/fs/aio.c index 12a3de0e..b92fdee 100644 ---

Re: [PATCH v2 5/7] ARM: dma: Use dma_pfn_offset for dma address translation

2014-04-19 Thread Russell King - ARM Linux
On Sat, Apr 19, 2014 at 10:32:50AM -0400, Santosh Shilimkar wrote: > From: Grygorii Strashko > > In most of cases DMA addresses can be performed using offset value of > Bus address space relatively to physical address space as following: > > PFN->DMA: > __pfn_to_phys(pfn + [-]dma_pfn_offset) >

Re: 3.14 Regression, kernel panic when suspend, looks ath9k / wireless related

2014-04-19 Thread Michael Leun
On Sat, 19 Apr 2014 03:15:54 +0200 Michael Leun wrote: > Hi, > > since 3.14 I get an kernel panic when trying to suspend or hibernate > (and in several other situations). Looks ath9k or wireless related, > does not happen when I for test > remove /lib/modules/3.14.1/kernel/net/wireless/ath* (als

Re: [PATCHv3 09/14] Documentation: DT: omap-ssi binding documentation

2014-04-19 Thread Pavel Machek
On Sat 2014-03-29 01:31:45, Sebastian Reichel wrote: > Create device tree binding documentation for > OMAP Synchronous Serial Interface (SSI) device. > > Signed-off-by: Sebastian Reichel Reviewed-by: Pavel Machek -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://a

Re: [PATCHv3 08/14] HSI: Introduce OMAP SSI driver

2014-04-19 Thread Pavel Machek
Hi! > Add OMAP SSI driver to the HSI subsystem. > > The Synchronous Serial Interface (SSI) is a legacy version > of HSI. As in the case of HSI, it is mainly used to connect > Application engines (APE) with cellular modem engines (CMT) > in cellular handsets. > > It provides a multichannel, full-

Re: [PATCH 17/28] nios2: Signal handling support

2014-04-19 Thread Richard Weinberger
On Fri, Apr 18, 2014 at 2:27 PM, Ley Foon Tan wrote: > This patch adds support for signal handling. > > Signed-off-by: Ley Foon Tan > --- > arch/nios2/include/asm/signal.h | 22 ++ > arch/nios2/include/asm/ucontext.h| 34 +++ > arch/nios2/include/uapi/asm/sigcontext.h | 30 ++

Re: [RFC 1/3] atmel: drm: added drm driver for the atmel hlcd controller

2014-04-19 Thread Jean-Jacques Hiblot
Thanks for the patch Robert. I've just noticed that I actually worked with an old version of the kernel (v3.14-rc3) when I thought it based on 3.15. JJ 2014-04-18 16:31 GMT+02:00 Robert Nelson : > > On Fri, Apr 18, 2014 at 8:21 AM, Boris BREZILLON > wrote: >> Hi JJ, >> >> On 18/04/2014 11:45, Je

Re: [Kernel-BR] Re: [RFC] Only a.out QMAGIC format is working

2014-04-19 Thread Geyslan Gregório Bem
Valdis, 2014-04-19 15:33 GMT-03:00 : > On Sat, 19 Apr 2014 13:37:27 -0300, Geyslan Gregório Bem said: > >> Maintainers, is there some chance to fix it or a.out is really doomed? > > Is there an actual use case for a.out on a modern kernel? Maybe retrocompatibility. > > In other wods, is there a

Re: [PATCHv3 07/14] HSI: Add common DT binding for HSI client devices

2014-04-19 Thread Pavel Machek
On Sat 2014-03-29 01:31:43, Sebastian Reichel wrote: > Implement and document generic DT bindings for HSI clients. > > Signed-off-by: Sebastian Reichel Reviewed-by: Pavel Machek > diff --git a/drivers/hsi/hsi.c b/drivers/hsi/hsi.c > index 07e1639..5973906 100644 > --- a/drivers/hsi/hsi.c > +++

Re: [PATCHv3 06/14] HSI: export method to (un)register clients

2014-04-19 Thread Pavel Machek
On Sat 2014-03-29 01:31:42, Sebastian Reichel wrote: > Expose method for registering and unregistering HSI clients, so that > client drivers can register other client drivers. > > This is useful for HSI drivers, which want to use the functionality > of other HSI drivers. For example the N900 modem

Re: [PATCHv3 05/14] HSI: Add channel resource support to HSI clients

2014-04-19 Thread Pavel Machek
Hi! > Make HSI channel ids platform data, which can be provided > by platform data. > > static void hsi_client_release(struct device *dev) > { > - kfree(to_hsi_client(dev)); > + struct hsi_client *cl = to_hsi_client(dev); > + > + if (cl->tx_cfg.channels) > + kfree(cl->tx

Re: [PATCHv3 04/14] HSI: method to unregister clients from an hsi port

2014-04-19 Thread Pavel Machek
On Sat 2014-03-29 01:31:40, Sebastian Reichel wrote: > This exports a method to unregister all clients from > an hsi port. > > Signed-off-by: Sebastian Reichel Reviewed-by: Pavel Machek -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~p

Re: [PATCHv3 03/14] HSI: hsi-char: fix driver for multiport scenarios

2014-04-19 Thread Pavel Machek
On Sat 2014-03-29 01:31:39, Sebastian Reichel wrote: > Fix return code check of alloc_chrdev_region, which > returns 0 on success. > > Signed-off-by: Sebastian Reichel Reviewed-by: Pavel Machek -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cu

Re: [PATCHv3 02/14] MAINTAINERS: update HSI entry

2014-04-19 Thread Pavel Machek
On Sat 2014-03-29 01:31:38, Sebastian Reichel wrote: > Add git tree for hsi subsystem, update Sebastian Reichel's e-mail > address and add Documentation/hsi.txt as maintained file. > > Signed-off-by: Sebastian Reichel Reviewed-by: Pavel Machek -- (english) http://www.livejournal.com/~pavelmac

Re: [PATCHv3 01/14] Documentation: HSI: Add some general description for the HSI subsystem

2014-04-19 Thread Pavel Machek
On Sat 2014-03-29 01:31:37, Sebastian Reichel wrote: > Add a document, which gives a rough introduction about what HSI > is and how its handled by the Linux kernel. > > Signed-off-by: Sebastian Reichel Reviewed-by: Pavel Machek -- (english) http://www.livejournal.com/~pavelmachek (cesky, pict

Re: [git pull] drm fixes

2014-04-19 Thread Markus Trippelsdorf
On 2014.04.19 at 08:19 +0100, Dave Airlie wrote: > > Unfortunately this contains no easter eggs, its a bit larger than I'd > like, but I included a patch that just moves code from one file to another > and I'd like to avoid merge conflicts with that later, so it makes it seem > worse than it is

Re: [PATCH 09/15] parisc: add renameat2 syscall

2014-04-19 Thread Helge Deller
On 04/11/2014 12:25 PM, Miklos Szeredi wrote: > From: Miklos Szeredi Thanks Miklos! > Signed-off-by: Miklos Szeredi > Cc: Helge Deller Acked-by: Helge Deller Can you please push it with the other arches. Helge > --- > arch/parisc/include/uapi/asm/unistd.h | 3 ++- > arch/parisc/kernel/s

Re: [Kernel-BR] Re: [RFC] Only a.out QMAGIC format is working

2014-04-19 Thread Valdis . Kletnieks
On Sat, 19 Apr 2014 13:37:27 -0300, Geyslan Gregório Bem said: > Maintainers, is there some chance to fix it or a.out is really doomed? Is there an actual use case for a.out on a modern kernel? In other wods, is there any reason to really care if it's doomed, since it's been *years* since that w

Re: [PATCH 0/2] memcg: mm_update_next_owner() should skip kthreads

2014-04-19 Thread Oleg Nesterov
Hi, On 04/19, Pavel Machek wrote: > > > > Hmm. I seem to see a bug in this function, it can be fulled by use_mm, > > > but I am not sure this can explain the problem. I'll send a patch. > > > > Untested, please review. But it really looks "obviously wrong", and note > > that unuse_mm() doesn't do

Re: [PATCH] coredump: fix va_list corruption

2014-04-19 Thread Oleg Nesterov
On 04/19, Eric Dumazet wrote: > > A va_list needs to be copied in case it needs to be used twice. OOPS :/ > --- a/fs/coredump.c > +++ b/fs/coredump.c > @@ -73,10 +73,15 @@ static int expand_corename(struct core_name *cn, int size) > static int cn_vprintf(struct core_name *cn, const char *fmt, va

Re: PROBLEM: Pulseaudio hung at schedule in 3.15-rc1

2014-04-19 Thread Bryan Quigley
400362f1d8dcfda3562e80e88cfc2a92cffaf9bf is the first bad commit commit 400362f1d8dcfda3562e80e88cfc2a92cffaf9bf Author: Takashi Iwai Date: Mon Jan 20 16:51:16 2014 +0100 ALSA: usb-audio: Resume mixer values properly Implement reset_resume callback so that the mixer values are properly

[PATCH] coredump: fix va_list corruption

2014-04-19 Thread Eric Dumazet
From: Eric Dumazet A va_list needs to be copied in case it needs to be used twice. Thanks to Hugh for debugging this issue, leading to various panics. Tested: lpq84:~# echo "|/foobar12345 %h %h %h %h %h %h %h %h %h %h %h %h %h %h % h %h %h %h %h %h" >/proc/sys/kernel/core_pattern 'produce_cor

Re: [PATCH] tracing: Correct braces usage in if-else statement

2014-04-19 Thread ivan lin
2014-04-19 23:28 GMT+08:00 Steven Rostedt : > On Sat, 19 Apr 2014 21:58:23 +0800 > Lin Yongting wrote: > >> There are some incorrect braces usages in kernerl/trace/trace.c, including: >> 1. Missing braces in 'if' or 'else' branch. >> 2. Unnecessary braces in 'if' statement. >> >> Fix them accordin

[PATCH 3/5] uprobes/x86: Shift "insn_complete" from branch_setup_xol_ops() to uprobe_init_insn()

2014-04-19 Thread Oleg Nesterov
Change uprobe_init_insn() to make insn_complete() == T, this makes other insn_get_*() calls unnecessary. Signed-off-by: Oleg Nesterov --- arch/x86/kernel/uprobes.c | 13 - 1 files changed, 4 insertions(+), 9 deletions(-) diff --git a/arch/x86/kernel/uprobes.c b/arch/x86/kernel/upr

[PATCH 2/5] uprobes/x86: Add is_64bit_mm(), kill validate_insn_bits()

2014-04-19 Thread Oleg Nesterov
1. Extract the ->ia32_compat check from 64bit validate_insn_bits() into the new helper, is_64bit_mm(), it will have more users. TODO: this checks is actually wrong if mm owner is X32 task, we need another fix which changes set_personality_ia32(). TODO: even worse, the whole 64-or-32-b

[PATCH 4/5] uprobes/x86: Make good_insns_* depend on CONFIG_X86_*

2014-04-19 Thread Oleg Nesterov
Add the suitable ifdef's around good_insns_* arrays. We do not want to add the ugly ifdef's into their only user, uprobe_init_insn(), so the "#else" branch simply defines them as NULL. This doesn't generate the extra code, gcc is smart enough, although the code is fine even if it could not detect t

[PATCH 1/5] uprobes/x86: Add uprobe_init_insn(), kill validate_insn_{32,64}bits()

2014-04-19 Thread Oleg Nesterov
validate_insn_32bits() and validate_insn_64bits() are very similar, turn them into the single uprobe_init_insn() which has the additional "bool x86_64" argument which can be passed to insn_init() and used to choose between good_insns_64/good_insns_32. Also kill UPROBE_FIX_NONE, it has no users. N

[PATCH 5/5] uprobes/x86: Fix is_64bit_mm() with CONFIG_X86_X32

2014-04-19 Thread Oleg Nesterov
is_64bit_mm() assumes that mm->context.ia32_compat means the 32-bit instruction set, this is not true if the task is TIF_X32. Change set_personality_ia32() to initialize mm->context.ia32_compat by TIF_X32 or TIF_IA32 instead of 1. This allows to fix is_64bit_mm() without affecting other users, the

[PATCH 0/5] uprobes/x86: cleanup validate_insn_* paths, fix X86_X32 case

2014-04-19 Thread Oleg Nesterov
Peter, feel free to ignore 1-4, but could you look at 5/5? It lacks the test-case because I do not have a x32-ready testing machine. On 04/17, Oleg Nesterov wrote: > > This series only fixes the problem. I'll send more changes to address > some of TODO's mentioned in the changelogs later. In parti

Re: current->sched_class->yield_task is NULL, any hint?

2014-04-19 Thread Lin Ming
On Sat, Apr 19, 2014 at 9:21 AM, Paul Gortmaker wrote: > On Wed, Apr 9, 2014 at 5:39 PM, Lin Ming wrote: >> On Wed, Apr 9, 2014 at 1:08 PM, Peter Zijlstra wrote: > > [...] > Look at that, its calling yield() from a non-preemptible context as well. That code is full of fa

Re: [Kernel-BR] Re: [RFC] Only a.out QMAGIC format is working

2014-04-19 Thread Geyslan Gregório Bem
Pavel, Thank you. Maintainers, is there some chance to fix it or a.out is really doomed? 2014-04-19 13:15 GMT-03:00 Pavel Machek : > Hi! > >> I was researching about old binary formats and did some tests. >> Meantime, I was able to run sucessfully only the QMAGIC format. >> Nonetheless, the OMA

Re: [PATCH v2 0/7] of: setup dma parameters using dma-ranges and dma-coherent

2014-04-19 Thread Thomas Petazzoni
Dear Santosh Shilimkar, On Sat, 19 Apr 2014 10:32:45 -0400, Santosh Shilimkar wrote: > Here is an updated version of [2] based on discussion. Series introduces > support for setting up dma parameters based on device tree properties > like 'dma-ranges' and 'dma-coherent' and also update to ARM 32 b

Re: current->sched_class->yield_task is NULL, any hint?

2014-04-19 Thread Paul Gortmaker
On Wed, Apr 9, 2014 at 5:39 PM, Lin Ming wrote: > On Wed, Apr 9, 2014 at 1:08 PM, Peter Zijlstra wrote: [...] >>> >>> Look at that, its calling yield() from a non-preemptible context as >>> well. >>> >>> That code is full of fail. >> >> *phew* none of that br_igmp_* muck lives in any kernel tre

Re: [RFC] Only a.out QMAGIC format is working

2014-04-19 Thread Pavel Machek
Hi! > I was researching about old binary formats and did some tests. > Meantime, I was able to run sucessfully only the QMAGIC format. > Nonetheless, the OMAGIC, NMAGIC and ZMAGIC didn't work anymore. Some time ago, I ran into similar problem, and turning off userspace randomization was neccessar

Re: [PATCH 16/28] nios2: System calls handling

2014-04-19 Thread Pavel Machek
On Fri 2014-04-18 20:26:59, Ley Foon Tan wrote: > This patch adds support for system calls from userspaces. It uses the > asm-generic/unistd.h definitions with architecture spcific syscall. The > sys_call_table > is just an array defined in a C file and it contains pointers to the syscall > funct

Re: [PATCH 09/28] nios2: Page table management

2014-04-19 Thread Pavel Machek
Hi! > This patch adds support for page table management. > > Signed-off-by: Ley Foon Tan > +/* > + * Initialize a new pgd / pmd table with invalid pointers. > + */ > +static void pgd_init(pgd_t *pgd) > +{ > + unsigned long *p = (unsigned long *) pgd; > + int i; > + > + for (i = 0; i

  1   2   >