[PATCH 3.19 076/177] KVM: MIPS: Fix trace event to save PC directly

2015-03-16 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: James Hogan commit b3cffac04eca9af46e1e23560a8ee22b1bd36d43 upstream. Currently the guest exit trace event saves the VCPU pointer to the structure, and the guest PC is retrieved by dereferenci

Re: [Intel-gfx] [Regression] WARNING: drivers/gpu/drm/i915/i915_gem.c:4525 i915_gem_free_object

2015-03-16 Thread Steven Rostedt
Any movement on this? I still get this warning on 4.0-rc4. -- Steve On Thu, 5 Mar 2015 09:27:28 -0500 Steven Rostedt wrote: > On Mon, Feb 23, 2015 at 11:12:39PM +0300, Andrey Skvortsov wrote: > > > > This warning is moved from linux-next to v4.0-rc1 now. After system boot is > > just a blac

[PATCH 3.19 070/177] mei: make device disabled on stop unconditionally

2015-03-16 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Usyskin commit 6c15a8516b8118eb19a59fd0bd22df41b9101c32 upstream. Set the internal device state to to disabled after hardware reset in stop flow. This will cover cases when driver wa

[PATCH 3.19 079/177] USB: serial: cp210x: Adding Seletek device ids

2015-03-16 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Michiel vd Garde commit 675af70856d7cc026be8b6ea7a8b9db10b8b38a1 upstream. These device ID's are not associated with the cp210x module currently, but should be. This patch allows the devices t

[PATCH 3.19 005/177] ipv6: Fix fragment id assignment on LE arches.

2015-03-16 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Vlad Yasevich [ Upstream commit 51f30770e50eb787200f30a79105e2615b379334 ] Recent commit: 0508c07f5e0c94f38afd5434e8b2a55b84553077 Author: Vlad Yasevich Date: Tue Feb 3 16:36:15 2015 -0500

[PATCH 3.19 006/177] ipv6: Make __ipv6_select_ident static

2015-03-16 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Vlad Yasevich [ Upstream commit 8381eacf5c3b35cf7755f4bc521c4d56d24c1cd9 ] Make __ipv6_select_ident() static as it isn't used outside the file. Fixes: 0508c07f5e0c9 (ipv6: Select fragment id

[PATCH 3.19 037/177] mm/nommu.c: fix arithmetic overflow in __vm_enough_memory()

2015-03-16 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Roman Gushchin commit 8138a67a5557ffea3a21dfd6f037842d4e748513 upstream. I noticed that "allowed" can easily overflow by falling below 0, because (total_vm / 32) can be larger than "allowed".

RE: [PATCH 1/1] X86: hyperv: Enable MSR based APIC access

2015-03-16 Thread KY Srinivasan
> -Original Message- > From: Ingo Molnar [mailto:mingo.kernel@gmail.com] On Behalf Of Ingo > Molnar > Sent: Monday, March 16, 2015 12:37 AM > To: KY Srinivasan > Cc: x...@kernel.org; gre...@linuxfoundation.org; linux- > ker...@vger.kernel.org; de...@linuxdriverproject.org; o...@aepfle

[PATCH 3.19 032/177] mm/hugetlb: add migration/hwpoisoned entry check in hugetlb_change_protection

2015-03-16 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Naoya Horiguchi commit a8bda28d87c38c6aa93de28ba5d30cc18e865a11 upstream. There is a race condition between hugepage migration and change_protection(), where hugetlb_change_protection() doesn'

[PATCH 3.19 007/177] tcp: make sure skb is not shared before using skb_get()

2015-03-16 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit ba34e6d9d346fe4e05d7e417b9edf5140772d34c ] IPv6 can keep a copy of SYN message using skb_get() in tcp_v6_conn_request() so that caller wont free the skb when cal

[PATCH 3.19 033/177] mm/hugetlb: add migration entry check in __unmap_hugepage_range

2015-03-16 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Naoya Horiguchi commit 9fbc1f635fd0bd28cb32550211bf095753ac637a upstream. If __unmap_hugepage_range() tries to unmap the address range over which hugepage migration is on the way, we get the w

Re: [RFC PATCH] sys_membarrier(): system/process-wide memory barrier (x86) (v12)

2015-03-16 Thread Mathieu Desnoyers
- Original Message - > From: "Mathieu Desnoyers" > To: "Peter Zijlstra" > Cc: linux-kernel@vger.kernel.org, "KOSAKI Motohiro" > , "Steven Rostedt" > , "Paul E. McKenney" , > "Nicholas Miell" , > "Linus Torvalds" , "Ingo Molnar" > , "Alan Cox" > , "Lai Jiangshan" , > "Stephen Hemminger

[PATCH 3.19 000/177] 3.19.2-stable review

2015-03-16 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 3.19.2 release. There are 177 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Wed Mar 18 14:07:12 UTC 2015. Anything receiv

[PATCH 2/2] Documentation, update rtctest.c to verify passage of time

2015-03-16 Thread Prarit Bhargava
rtctest.c checks to see if PIE is functioning by testing if 20 interrupts occur at rates from 2HZ to 64HZ. While this check is good, it does not check to see if the correct amount of time has actually passed. This misses situations where the RTC may be operating at a higher or lower frequency tha

[PATCH 3.19 021/177] net: compat: Ignore MSG_CMSG_COMPAT in compat_sys_{send, recv}msg

2015-03-16 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Catalin Marinas [ Upstream commit d720d8cec563ce4e4fa44a613d4f2dcb1caf2998 ] With commit a7526eb5d06b (net: Unbreak compat_sys_{send,recv}msg), the MSG_CMSG_COMPAT flag is blocked at the compa

[PATCH 3.19 031/177] mm/hugetlb: fix getting refcount 0 page in hugetlb_fault()

2015-03-16 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Naoya Horiguchi commit 0f792cf949a0be506c2aa8bfac0605746b146dda upstream. When running the test which causes the race as shown in the previous patch, we can hit the BUG "get_page() on refcount

[PATCH 3.19 035/177] mm: when stealing freepages, also take pages created by splitting buddy page

2015-03-16 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Vlastimil Babka commit 99592d598eca62bdbbf62b59941c189176dfc614 upstream. When studying page stealing, I noticed some weird looking decisions in try_to_steal_freepages(). The first I assume i

[PATCH 3.19 040/177] mm: hwpoison: drop lru_add_drain_all() in __soft_offline_page()

2015-03-16 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Naoya Horiguchi commit 9ab3b598d2dfbdb0153ffa7e4b1456bbff59a25d upstream. A race condition starts to be visible in recent mmotm, where a PG_hwpoison flag is set on a migration source page *bef

[PATCH 3.19 009/177] rtnetlink: call ->dellink on failure when ->newlink exists

2015-03-16 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: WANG Cong [ Upstream commit 7afb8886a05be68e376655539a064ec672de8a8e ] Ignacy reported that when eth0 is down and add a vlan device on top of it like: ip link add link eth0 name eth0.1 up t

[PATCH 3.19 015/177] openvswitch: Fix net exit.

2015-03-16 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Pravin B Shelar [ Upstream commit 7b4577a9da3702049650f7095506e9afd9f68849 ] Open vSwitch allows moving internal vport to different namespace while still connected to the bridge. But when name

[PATCH 3.19 002/177] ipv6: addrconf: add missing validate_link_af handler

2015-03-16 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Borkmann [ Upstream commit 11b1f8288d4341af5d755281c871bff6c3e270dd ] We still need a validate_link_af() handler with an appropriate nla policy, similarly as we have in IPv4 case, other

Re: [PATCH v2 00/16] checkpatch clean-up of rtl8723au's rtw_security.c

2015-03-16 Thread Jes Sorensen
"M. Vefa Bicakci" writes: > Hello Matthias, > > Thank you for reviewing the patches! > > I have based and tested these commits on Stephen Rothwell's > linux-next.git/master branch. It is possible that I made a mistake > by doing this. > > Nevertheless, I have just verified that these patches clean

[PATCH 0/2] Documentation, update RTC documentation

2015-03-16 Thread Prarit Bhargava
Documentation/rtc.txt is a combination of two files, a real documentation file and a test program. Splitting these up into two files is a good idea for automated testing. While testing on an AMD based system it was noticed that the RTC was not behaving properly which lead to a possible bug in the

[PATCH 3.19 029/177] net: ping: Return EAFNOSUPPORT when appropriate.

2015-03-16 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Lorenzo Colitti [ Upstream commit 9145736d4862145684009d6a72a6e61324a9439e ] 1. For an IPv4 ping socket, ping_check_bind_addr does not check the family of the socket address that's passed i

[PATCH v4 4/5] mm: cma: add list of currently allocated CMA buffers to debugfs

2015-03-16 Thread Stefan Strogin
When CONFIG_CMA_BUFFER_LIST is configured a file is added to debugfs: /sys/kernel/debug/cma/cma-/buffers contains a list of currently allocated CMA buffers for each CMA region (N stands for number of CMA region). Format is: - ( kB), allocated by () When CONFIG_CMA_ALLOC_STACKTRACE is configure

[PATCH v4 3/5] stacktrace: add seq_print_stack_trace()

2015-03-16 Thread Stefan Strogin
Add a function seq_print_stack_trace() which prints stacktraces to seq_files. Signed-off-by: Stefan Strogin Reviewed-by: SeongJae Park --- include/linux/stacktrace.h | 4 kernel/stacktrace.c| 17 + 2 files changed, 21 insertions(+) diff --git a/include/linux/stack

[PATCH 1/2] Documentation, add rtc directory and split up rtc.txt

2015-03-16 Thread Prarit Bhargava
Add a Documentation/rtc directory and split rtc.txt into two separate files, one for the documentation itself, and the other for the rtctest.c file. Signed-off-by: Prarit Bhargava --- Documentation/rtc.txt | 469 --- Documentation/rtc/rtc.txt | 2

[PATCH 3.19 004/177] rtnetlink: ifla_vf_policy: fix misuses of NLA_BINARY

2015-03-16 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Borkmann [ Upstream commit 364d5716a7adb91b731a35765d369602d68d2881 ] ifla_vf_policy[] is wrong in advertising its individual member types as NLA_BINARY since .type = NLA_BINARY in comb

[PATCH v4 0/5] mm: cma: add some debug information for CMA

2015-03-16 Thread Stefan Strogin
Hi all. Here is the fourth version of a patch set that adds some debugging facility for CMA. This patch set is based on next-20150316. It is also available on git: git://github.com/stefanstrogin/linux -b cmainfo-v4 We want an interface to see a list of currently allocated CMA buffers and some

Re: [RFC PATCH] sys_membarrier(): system/process-wide memory barrier (x86) (v12)

2015-03-16 Thread Steven Rostedt
On Mon, 16 Mar 2015 08:49:40 -0700 "Paul E. McKenney" wrote: > On Mon, Mar 16, 2015 at 10:24:30AM -0400, Steven Rostedt wrote: > > On Mon, 16 Mar 2015 15:19:39 +0100 > > Peter Zijlstra wrote: > > > > > > > > I suppose this is an unprivileged syscall; so what do we do about: > > > > > > for

Re: wl18xx: show rx_frames_per_rates as an array as it really is

2015-03-16 Thread Kalle Valo
> In struct wl18xx_acx_rx_rate_stat, rx_frames_per_rates field is an > array, not a number. This means WL18XX_DEBUGFS_FWSTATS_FILE can't be > used to display this field in debugfs (it would display a pointer, not > the actual data). Use WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY instead. > > This bug ha

[PATCH v4 5/5] mm: cma: add functions to get region pages counters

2015-03-16 Thread Stefan Strogin
From: Dmitry Safonov Here are two functions that provide interface to compute/get used size and size of biggest free chunk in cma region. Add that information to debugfs. Signed-off-by: Dmitry Safonov Signed-off-by: Stefan Strogin Acked-by: Michal Nazarewicz --- include/linux/cma.h | 2 ++

[PATCH v4 2/5] mm: cma: add number of pages to debug message in cma_release()

2015-03-16 Thread Stefan Strogin
It's more useful to print address and number of pages which are being released, not only address. Signed-off-by: Stefan Strogin Acked-by: Michal Nazarewicz --- mm/cma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/cma.c b/mm/cma.c index 63dfc0e..77960af 100644 --- a/mm

Re: [PATCH v2 0/2] ARM: /proc/cpuinfo: DT: Add support for Revision

2015-03-16 Thread Russell King - ARM Linux
On Mon, Mar 16, 2015 at 08:44:10AM -0700, Tony Lindgren wrote: > * Pavel Machek [150302 03:32]: > > On Fri 2015-02-27 16:55:26, Pali Rohár wrote: > > > This patch adds support for DT "/revision" and convert ATAG_REVISION to > > > DT. > > > > > > Pali Rohár (2): > > > arm: devtree: Set system_r

Re: [PATCH] mm: rcu-protected get_mm_exe_file()

2015-03-16 Thread Konstantin Khlebnikov
On 16.03.2015 17:50, Davidlohr Bueso wrote: On Mon, 2015-03-16 at 15:07 +0100, Oleg Nesterov wrote: 3. and we can remove down_write(mmap_sem) from prctl paths. Actually we can do this even without xchg() above, but we might want to kill MMF_EXE_FILE_CHANGED and tes

Re: [PATCH] kvm: x86: svm: remove SVM_EXIT_READ_CR* intercepts

2015-03-16 Thread Joel Schopp
On 03/12/2015 04:20 PM, Radim Krčmář wrote: > 2015-03-12 15:17-0500, Joel Schopp: >> There isn't really a valid reason for kvm to intercept cr* reads >> on svm hardware. The current kvm code just ends up returning >> the register > There is no need to intercept CR* if the value that the guest sh

[PATCH v4 1/5] mm: cma: add trace events to debug physically-contiguous memory allocations

2015-03-16 Thread Stefan Strogin
Add trace events for cma_alloc() and cma_release(). Signed-off-by: Stefan Strogin --- include/trace/events/cma.h | 57 ++ mm/cma.c | 5 2 files changed, 62 insertions(+) create mode 100644 include/trace/events/cma.h diff --git

Re: [PATCH] mm: rcu-protected get_mm_exe_file()

2015-03-16 Thread Konstantin Khlebnikov
On 16.03.2015 17:07, Oleg Nesterov wrote: On 03/16, Konstantin Khlebnikov wrote: +/** + * set_mm_exe_file - change a reference to the mm's executable file + * + * This changes mm's executale file (shown as symlink /proc/[pid]/exe). + * + * Main users are mmput(), sys_execve() and sys_prctl(PR_S

[PATCH 3.19 017/177] net: reject creation of netdev names with colons

2015-03-16 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Matthew Thode [ Upstream commit a4176a9391868bfa87705bcd2e3b49e9b9dd2996 ] colons are used as a separator in netdev device lookup in dev_ioctl.c Specific functions are SIOCGIFTXQLEN SIOCETHTO

randconfig build error with next-20150316, in samples/kdbus/kdbus-workers

2015-03-16 Thread Jim Davis
Building with the attached random configuration file, In file included from ./include/uapi/linux/kdbus.h:12:0, from samples/kdbus/kdbus-api.h:5, from samples/kdbus/kdbus-workers.c:79: ./include/uapi/linux/types.h:9:2: warning: #warning "Attempt to use kernel heade

Re: [PATCH RESEND] HID: Stop hiding options with !EXPERT

2015-03-16 Thread Jean Delvare
Le Monday 16 March 2015 à 16:03 +0100, Jiri Kosina a écrit : > On Fri, 20 Feb 2015, Jean Delvare wrote: > > > Many HID driver options are hidden unless EXPERT is set. While I > > understand the idea of simplifying the kernel configuration for most > > users, in practice I believe it adds more conf

Re: [PATCH 12/32] hexagon: copy_thread(): rename 'arg' argument to 'kthread_arg'

2015-03-16 Thread rkuo
On Fri, Mar 13, 2015 at 08:14:35PM +0200, Alex Dowad wrote: > The 'arg' argument to copy_thread() is only ever used when forking a new > kernel thread. Hence, rename it to 'kthread_arg' for clarity (and consistency > with do_fork() and other arch-specific implementations of copy_thread()). > > Sig

Re: [PATCH v2 1/1] usb: xhci: apply XHCI_AVOID_BEI quirk to all Intel xHCI controllers

2015-03-16 Thread Mathias Nyman
On 16.03.2015 17:21, Alistair Grant wrote: > On Mon, Mar 16, 2015 at 3:47 PM, Mathias Nyman > wrote: >> On 16.03.2015 16:31, Alistair Grant wrote: >>> On Mon, Mar 16, 2015 at 1:55 PM, Mathias Nyman >>> wrote: On 15.03.2015 21:18, Alistair Grant wrote: > On Sun, Mar 15, 2015 at 3:54 PM,

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

2015-03-16 Thread Vinod Koul
On Mon, Mar 16, 2015 at 05:24:34PM +0530, Rameshwar Sahu wrote: > >> >> +static void xgene_dma_free_desc_list_reverse(struct xgene_dma_chan > >> >> *chan, > >> >> + struct list_head *list) > >> > do we really care about free order? > >> > >> Yes it start de

Re: randconfig build error with next-20150316, in samples/kdbus/kdbus-workers

2015-03-16 Thread David Herrmann
Hi On Mon, Mar 16, 2015 at 5:22 PM, Jim Davis wrote: > Building with the attached random configuration file, > > In file included from ./include/uapi/linux/kdbus.h:12:0, > from samples/kdbus/kdbus-api.h:5, > from samples/kdbus/kdbus-workers.c:79: > ./include/uapi

Re: [PATCH] kernfs: handle poll correctly on 'direct_read' files.

2015-03-16 Thread Tejun Heo
On Mon, Mar 16, 2015 at 10:44:52AM +1100, NeilBrown wrote: > > > Kernfs supports two styles of read: direct_read and seqfile_read. > > The latter supports 'poll' correctly thanks to the update of > '->event' in kernfs_seq_show. > The former does not as '->event' is never updated on a read. > >

[PATCH 0/2] arm64: Allow AArch32 on arm64 with 64k PAGE_SIZE

2015-03-16 Thread Alexander Graf
With binutils 2.25 the default alignment for 32bit arm sections changed to have everything 64k aligned. Armv7 binaries built with this binutils version run successfully on an arm64 system with this patch set applied. This provides the best of both worlds for some users. You get less page faults, b

[PATCH 1/2] arm64: fix implementation of mmap2 compat syscall

2015-03-16 Thread Alexander Graf
From: Andreas Schwab The arm mmap2 syscall takes the offset in units of 4K, thus with 64K pages the offset needs to be scaled to units of pages. Signed-off-by: Andreas Schwab Signed-off-by: Alexander Graf --- arch/arm64/include/asm/unistd32.h | 2 +- arch/arm64/kernel/entry32.S | 18 ++

[PATCH 2/2] arm64: Enable CONFIG_COMPAT also for 64k page size

2015-03-16 Thread Alexander Graf
With binutils 2.25 the default alignment for 32bit arm sections changed to have everything 64k aligned. Armv7 binaries built with this binutils version run successfully on an arm64 system. Since effectively there is now the chance to run armv7 code on arm64 even with 64k page size, it doesn't make

Re: [PATCH v2 10/16] staging: rtl8723au: that open brace should be on the previous line

2015-03-16 Thread Jes Sorensen
"M. Vefa Bicakci" writes: > Correct two instances of the checkpatch.pl error indicating that the > opening curly braces should not be on new lines: > ERROR: that open brace { should be on the previous line > > Signed-off-by: M. Vefa Bicakci > --- > drivers/staging/rtl8723au/core/rtw_securi

Re: [PATCH] mm: rcu-protected get_mm_exe_file()

2015-03-16 Thread Oleg Nesterov
On 03/16, Konstantin Khlebnikov wrote: > > On 16.03.2015 17:07, Oleg Nesterov wrote: >> I mean, I think we can do another cleanup on top of this change. >> >> 1. set_mm_exe_file() should be called by exit/exec only, so >> it should use >> >> rcu_dereference_protected(mm->e

Re: [PATCH v2 15/16] staging: rtl8723au: Correct a typo in a trace log line

2015-03-16 Thread Jes Sorensen
"M. Vefa Bicakci" writes: > Correct a typo in rtl8723au's rtw_security.c which was most likely > caused by a copy and paste mistake. Prior to this commit, the TKIP > decryption function referred to WEP in its trace log output. > > Signed-off-by: M. Vefa Bicakci > --- > drivers/staging/rtl8723au/

Re: [Intel-gfx] [Regression] WARNING: drivers/gpu/drm/i915/i915_gem.c:4525 i915_gem_free_object

2015-03-16 Thread Daniel Vetter
On Mon, Mar 16, 2015 at 11:45:03AM -0400, Steven Rostedt wrote: > > Any movement on this? I still get this warning on 4.0-rc4. Sorry for not looking into this, I've thought we've addressed this already and the fix is simply still in-flight to 4.0-rc. Seems it's not :( Is linux-next also affected

[GIT PULL] at91: cleanup for 4.1 #3

2015-03-16 Thread Nicolas Ferre
Arnd, Olof, Kevin, This batch deals with the at91rm9200 System Timer. It is a complete re-work by Alexandre to make it use modern kernel infrastructure and move its features to proper drivers. I stacked it on top of cleanup to lower the risk of conflict and above all to be sure that it'll be merge

Re: [PATCH v6 1/3] cgroups: use bitmask to filter for_each_subsys

2015-03-16 Thread Tejun Heo
Hello, On Sat, Mar 14, 2015 at 03:37:13PM +1100, Aleksa Sarai wrote: > -/* This flag indicates whether tasks in the fork and exit paths should > +/* > + * This bitmask flag indicates whether tasks in the fork and exit paths > should Please reflow the comment. It's going over 80col. Also, would

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

2015-03-16 Thread David Cohen
Adding Mika to CC list. Br, David On Mon, Mar 09, 2015 at 12:10:51PM -0700, David Cohen wrote: > Hi Linus, > > On Mon, Mar 09, 2015 at 11:16:08AM -0500, Felipe Balbi wrote: > > On Sat, Mar 07, 2015 at 09:06:22PM +0100, Linus Walleij wrote: > > > On Fri, Feb 20, 2015 at 8:17 PM, David Cohen > > >

Re: [PATCH v2 0/2] ARM: /proc/cpuinfo: DT: Add support for Revision

2015-03-16 Thread Nicolas Pitre
On Mon, 16 Mar 2015, Russell King - ARM Linux wrote: > In any case, I'm currently not accepting /any/ patches into my tree at > present; I'm chasing a horrid instability on one of my test platforms > which is making it impossible to tell whether any particular change or > changes in my tree is res

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

2015-03-16 Thread David Cohen
On Mon, Mar 16, 2015 at 09:46:00AM -0700, David Cohen wrote: > Adding Mika to CC list. Grrr :( Adding for real now. > > Br, David > > On Mon, Mar 09, 2015 at 12:10:51PM -0700, David Cohen wrote: > > Hi Linus, > > > > On Mon, Mar 09, 2015 at 11:16:08AM -0500, Felipe Balbi wrote: > > > On Sat, M

Re: [tip:x86/asm] x86/asm/entry/64: Remove unused thread_struct:: usersp

2015-03-16 Thread Borislav Petkov
On Mon, Mar 16, 2015 at 05:05:53AM -0700, tip-bot for Denys Vlasenko wrote: > Commit-ID: 245214a155c711764b3853189441c9f8aeb058b3 > Gitweb: http://git.kernel.org/tip/245214a155c711764b3853189441c9f8aeb058b3 > Author: Denys Vlasenko > AuthorDate: Tue, 10 Mar 2015 11:45:07 +0100 > Committer

Re: [PATCH] leds: Add arbitrary pattern trigger

2015-03-16 Thread Raphaël Teysseyre
> Got this while playing with my hid-sony patches: Sorry about that, it's me being dumb and using a mutex in an atomic context... Raphaël -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http:

Re: [PATCH RFC v2 0/6] ext4: yet another project quota

2015-03-16 Thread Jan Kara
Hello, On Tue 10-03-15 20:22:04, Konstantin Khlebnikov wrote: > Projects quota allows to enforce disk quota for several subtrees or even > individual files on the filesystem. Each inode is marked with project-id > (independently from uid and gid) and accounted into corresponding project > quota.

Re: [PATCH v6 2/3] cgroups: allow a cgroup subsystem to reject a fork

2015-03-16 Thread Tejun Heo
Hello, Aleksa. On Sat, Mar 14, 2015 at 03:37:14PM +1100, Aleksa Sarai wrote: > +/* Ditto for the can_fork/cancel_fork/reapply_fork callbacks. */ > +static int need_canfork_callback __read_mostly = 0, > +need_reapplyfork_callback __read_mostly = 0; Please separate the two definitions. Ple

Re: [PATCH] phy: Add a driver for dm816x USB PHY

2015-03-16 Thread Tony Lindgren
* Matthijs van Duin [150314 14:04]: > On 13 March 2015 at 20:30, Tony Lindgren wrote: > > Hmm OK have to check that. It could also be that dm816x documentation > > is copy-paste from da850 or am3517 and the PHY got changed in the > > hardware as the registers don't match the documentation. Only t

Re: [PATCH v2 00/16] checkpatch clean-up of rtl8723au's rtw_security.c

2015-03-16 Thread Joe Perches
On Mon, 2015-03-16 at 12:01 -0400, Jes Sorensen wrote: > For staging patches, you should always post patches against the > staging-next tree. Please rebase them and repost them. Greg is now preferring patches against his staging-testing branch -- To unsubscribe from this list: send the line "uns

Re: [PATCH v2] dmaengine: qcom_bam_dma: Add support for BAM v1.7.0

2015-03-16 Thread Vinod Koul
On Mon, Feb 23, 2015 at 09:40:33AM +0530, Archit Taneja wrote: > Add register offset table entry for the newer (v1.7.0) version of the BAM IP > found on MSM8916. Update the DT bindings documentation. > Applied, thanks -- ~Vinod -- To unsubscribe from this list: send the line "unsubscribe linux-

Re: [PATCH] pinctrl: tegra: use signed bitfields for optional fields

2015-03-16 Thread Stephen Warren
On 03/14/2015 06:05 PM, Stefan Agner wrote: Optional fields are set to -1 by various preprocessor macros. Make sure the struct fields can actually store them. diff --git a/drivers/pinctrl/pinctrl-tegra.h b/drivers/pinctrl/pinctrl-tegra.h - u32 mux_bit:6; - u32 pupd_bit:6; -

[PATCH 1/5] mfd: arizona: Factor out SYSCLK enable from wm5102 hardware patch

2015-03-16 Thread Charles Keepax
wm5102 applies a custom hardware boot sequence, for this the SYSCLK needs to be enabled. This patch factors out the code that enables SYSCLK for this sequence such that it can be used for other boot time operations that require SYSCLK. Signed-off-by: Charles Keepax --- drivers/mfd/arizona-core.c

[PATCH 5/5] mfd: wm5110: Set DCVDD voltage to 1.175V before entering sleep mode

2015-03-16 Thread Charles Keepax
The low power sleep mode on wm5110 requires that the LDO1 regulator be set to 1.175V prior to entering sleep, then returned to 1.2V after exiting sleep mode. This patch apply these regulator settings. Signed-off-by: Charles Keepax --- drivers/mfd/arizona-core.c | 42 +++

[PATCH 2/5] mfd: wm5110: Add register patch required for low power sleep

2015-03-16 Thread Charles Keepax
Some register settings must be applied before the first time low power sleep mode is entered on the wm5110 to ensure optimium performance. These settings require SYSCLK to be enabled whilst they are being applied. This patch applies the settings using the recently factored out boot time SYSCLK func

[PATCH 3/5] mfd: wm5110: Add delay before releasing reset line on cold boot

2015-03-16 Thread Charles Keepax
On the first boot of the wm5110 it is important the reset line is held for slightly longer to ensure the device starts up well. This patch adds a 5mS delay for this. Signed-off-by: Charles Keepax --- drivers/mfd/arizona-core.c |9 + 1 files changed, 9 insertions(+), 0 deletions(-) d

[PATCH 4/5] regulator: arizona-ldo1: Add additional supported voltage

2015-03-16 Thread Charles Keepax
This patch adds support for the 1.175V mode on the LDO1 regulator on the wm5110. This is need as part of the low power sleep mode operation. Signed-off-by: Charles Keepax --- drivers/regulator/arizona-ldo1.c | 15 +++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/

Re: [PATCH] mm: rcu-protected get_mm_exe_file()

2015-03-16 Thread Davidlohr Bueso
On Mon, 2015-03-16 at 19:18 +0300, Konstantin Khlebnikov wrote: > On 16.03.2015 17:50, Davidlohr Bueso wrote: > > On Mon, 2015-03-16 at 15:07 +0100, Oleg Nesterov wrote: > >>3. and we can remove down_write(mmap_sem) from prctl paths. > >> > >> Actually we can do this even without xchg() a

Re: [PATCH v2 00/16] checkpatch clean-up of rtl8723au's rtw_security.c

2015-03-16 Thread Greg KH
On Mon, Mar 16, 2015 at 09:55:27AM -0700, Joe Perches wrote: > On Mon, 2015-03-16 at 12:01 -0400, Jes Sorensen wrote: > > For staging patches, you should always post patches against the > > staging-next tree. Please rebase them and repost them. > > Greg is now preferring patches against his > stag

[PATCHv4 10/10] fbdev: ssd1307fb: Add blank mode

2015-03-16 Thread Thomas Niederprüm
This patch adds ssd1307fb_blank() to make the framebuffer capable of blanking. Signed-off-by: Thomas Niederprüm --- drivers/video/fbdev/ssd1307fb.c | 13 + 1 file changed, 13 insertions(+) diff --git a/drivers/video/fbdev/ssd1307fb.c b/drivers/video/fbdev/ssd1307fb.c index 4ebfcaf..

Re: [PATCH 11/11] iop-adma.c:1129: possible bad parameter in memset

2015-03-16 Thread Vinod Koul
On Fri, Mar 13, 2015 at 04:55:14PM +0200, Ameen Ali wrote: > The 2nd memset() argument '286331153' doesn't fit into an 'unsigned char'. care to explain hpow it is fixed... > > Signed-off-by : This is not proper, see Documentation/SubmittingPatches > --- > drivers/dma/iop-adma.c | 2 +- > 1 fil

[PATCHv4 09/10] fbdev: ssd1307fb: add backlight controls for setting the contrast

2015-03-16 Thread Thomas Niederprüm
The backlight class is used to create userspace handles for setting the OLED contrast. Signed-off-by: Thomas Niederprüm --- drivers/video/fbdev/Kconfig | 1 + drivers/video/fbdev/ssd1307fb.c | 58 + 2 files changed, 59 insertions(+) diff --git a/driv

[PATCHv4 07/10] fbdev: ssd1307fb: Add a module parameter to set the refresh rate

2015-03-16 Thread Thomas Niederprüm
This patch adds the module parameter "refreshrate" to set delay for the deferred io. The refresh rate is given in units of Hertz. The default refresh rate is 1 Hz. The refresh rate set through the newly introduced parameter applies to all instances of the driver and for now it is not possible to ch

Re: [PATCH] Add a quirk for the Dell XPS 13 (2015) when in PS/2 mode.

2015-03-16 Thread Jason Ekstrand
On Mon, Mar 16, 2015 at 7:29 AM, Mario Limonciello wrote: > > On 03/14/2015 02:17 PM, Benjamin Tissoires wrote: >> >> [top posting, sorry] >> >> Jason made some interesting progress today: >> with the patch in https://lkml.org/lkml/2015/3/12/149, the sound card >> is not switched in the I2S mode a

[PATCHv4 02/10] fbdev: ssd1307fb: Allocate page aligned video memory.

2015-03-16 Thread Thomas Niederprüm
Currently the videomemory is allocated by kmalloc, making it a memory region that is not necessarily page aligend. This leads to problems upon mmap call, where the video memory's address gets aligned to the next page boundary. The result is that the userspace program that issued the mmap call is no

[PATCHv4 00/10] Cleanup and add support for SSD1305

2015-03-16 Thread Thomas Niederprüm
This patch series is the result of making the ssd1307fb driver work with a Newhaven OLED display using the Solomon SSD1305 controller. To achieve this the intialization code for the SSD1306 and the SSD1307 is merged and based on DT configuration to reflect the various possible wirings of the SSD130

[PATCHv4 08/10] fbdev: ssd1307fb: Turn off display on driver unload.

2015-03-16 Thread Thomas Niederprüm
This patch turns off the display when the driver is unloaded. Signed-off-by: Thomas Niederprüm Acked-by: Maxime Ripard --- drivers/video/fbdev/ssd1307fb.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/video/fbdev/ssd1307fb.c b/drivers/video/fbdev/ssd1307fb.c index 8a8d305..0d851

[PATCHv4 01/10] fbdev: ssd1307fb: fix memory address smem_start.

2015-03-16 Thread Thomas Niederprüm
the smem_start pointer of the framebuffer info struct needs to hold the physical address rather than the logical address. Right now the logical address returned by kmalloc is stored. This patch converts this address to a physical address and thus fixes a driver crash on mmaping the framebuffer memo

Re: [PATCH 0/2] Documentation, update RTC documentation

2015-03-16 Thread Jonathan Corbet
On Mon, 16 Mar 2015 11:58:53 -0400 Prarit Bhargava wrote: > Documentation/rtc.txt is a combination of two files, a real documentation > file and a test program. Splitting these up into two files is a good idea > for automated testing. Makes sense to me. If you're going to do that, though, rtct

[PATCHv4 03/10] of: Add Solomon Systech vendor prefix.

2015-03-16 Thread Thomas Niederprüm
This patch adds the solomon prefix for Solomon Systech Limited. Signed-off-by: Thomas Niederprüm --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/binding

[PATCHv4 06/10] fbdev: ssd1307fb: Add support for SSD1305

2015-03-16 Thread Thomas Niederprüm
This patch adds support for the SSD1305 OLED controller. Signed-off-by: Thomas Niederprüm --- Documentation/devicetree/bindings/video/ssd1307fb.txt | 2 +- drivers/video/fbdev/ssd1307fb.c | 13 + 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/Do

Re: [PATCH v2 00/16] checkpatch clean-up of rtl8723au's rtw_security.c

2015-03-16 Thread Joe Perches
On Mon, 2015-03-16 at 18:07 +0100, Greg KH wrote: > On Mon, Mar 16, 2015 at 09:55:27AM -0700, Joe Perches wrote: > > On Mon, 2015-03-16 at 12:01 -0400, Jes Sorensen wrote: > > > For staging patches, you should always post patches against the > > > staging-next tree. Please rebase them and repost th

Re: [RFC PATCH] sys_membarrier(): system/process-wide memory barrier (x86) (v12)

2015-03-16 Thread Peter Zijlstra
On Mon, Mar 16, 2015 at 03:43:56PM +, Mathieu Desnoyers wrote: > > > +++ b/arch/x86/include/asm/mmu_context.h > > In both cases the cpumask_set_cpu() will also imply a MB. > > I'm probably missing what exactly in cpumask_set_cpu() > implies this guarantee. cpumask_set_cpu() uses set_bit(). >

[PATCHv4 04/10] fbdev: ssd1307fb: Unify init code and obtain hw specific bits from DT

2015-03-16 Thread Thomas Niederprüm
The 130X controllers are very similar from the configuration point of view. The configuration registers for the SSD1305/6/7 are bit identical (except the the VHCOM register and the the default values for clock setup register). This patch unifies the init code of the controller and adds hardware spe

Re: [PATCH 3/5] mfd: wm5110: Add delay before releasing reset line on cold boot

2015-03-16 Thread Mark Brown
On Mon, Mar 16, 2015 at 04:58:42PM +, Charles Keepax wrote: > On the first boot of the wm5110 it is important the reset line is held > for slightly longer to ensure the device starts up well. This patch adds > a 5mS delay for this. How can we tell what first boot is - what happens if the devi

Re: [PATCH 3/4] workqueue: Create low-level unbound workqueues cpumask

2015-03-16 Thread Kevin Hilman
Lai Jiangshan writes: > On 03/14/2015 07:49 AM, Kevin Hilman wrote: >> Lai Jiangshan writes: >> >>> From: Frederic Weisbecker >>> >>> Create a cpumask that limit the affinity of all unbound workqueues. >>> This cpumask is controlled though a file at the root of the workqueue >>> sysfs director

[PATCHv4 05/10] ARM: mxs: fix in tree users of ssd1306

2015-03-16 Thread Thomas Niederprüm
This patch updates the in tree-users of the SSD1306 controller for using the newly introduced DT properties. Signed-off-by: Thomas Niederprüm --- arch/arm/boot/dts/imx28-cfa10036.dts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/imx28-cfa10036.dts b/arch/arm/boot/dts/

Re: [PATCH v2] dgnc: Don't save boards in memory that have failed to initialize

2015-03-16 Thread Mark Hounschell
On 03/15/2015 08:07 AM, Mark Hounschell wrote: On 03/14/2015 04:44 AM, Greg KH wrote: On Fri, Mar 13, 2015 at 04:55:55PM -0400, Mark Hounschell wrote: On 03/12/2015 12:14 PM, Giedrius Statkevičius wrote: On 2015.03.12 12:08, Greg KH wrote: On Mon, Mar 09, 2015 at 06:29:38PM +0200, Giedrius St

Re: [PATCH 4/5] regulator: arizona-ldo1: Add additional supported voltage

2015-03-16 Thread Mark Brown
On Mon, Mar 16, 2015 at 04:58:43PM +, Charles Keepax wrote: > This patch adds support for the 1.175V mode on the LDO1 regulator on the > wm5110. This is need as part of the low power sleep mode operation. Acked-by: Mark Brown signature.asc Description: Digital signature

Re: [PATCH 5/5] mfd: wm5110: Set DCVDD voltage to 1.175V before entering sleep mode

2015-03-16 Thread Mark Brown
On Mon, Mar 16, 2015 at 04:58:44PM +, Charles Keepax wrote: > + } else { > + switch (arizona->type) { > + case WM5110: > + case WM8280: > + ret = regulator_set_voltage(arizona->dcvdd, > +

[PATCH RFC 3/4] pci: make msi/msix shutdown functions static

2015-03-16 Thread Michael S. Tsirkin
pci_msi_shutdown and pci_msix_shutdown are now internal to msi.c, drop them from header and make them static. Signed-off-by: Michael S. Tsirkin --- include/linux/pci.h | 4 drivers/pci/msi.c | 4 ++-- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/include/linux/pci.h b/inc

Re: [Intel-gfx] [Regression] WARNING: drivers/gpu/drm/i915/i915_gem.c:4525 i915_gem_free_object

2015-03-16 Thread Steven Rostedt
On Mon, 16 Mar 2015 17:43:33 +0100 Daniel Vetter wrote: > Is linux-next also affected or is this just a case of i915 maintainers > having failed to push the right patch to -fixes? I just confirmed, linux-next boots without the warning. > > I'll try to figure out what fell apart here meanwhile

[PATCH RFC 2/4] pci: don't disable msi/msix at shutdown

2015-03-16 Thread Michael S. Tsirkin
This partially reverts commit d52877c7b1afb8c37ebe17e2005040b79cb618b0: "pci/irq: let pci_device_shutdown to call pci_msi_shutdown v2" It's un-necessary now that we disable msi at start, and it actually turns out to cause problems: some device drivers don't register a level interrupt handl

[PATCH RFC 1/4] pci: disable msi/msix at probe time

2015-03-16 Thread Michael S. Tsirkin
commit d52877c7b1afb8c37ebe17e2005040b79cb618b0 pci/irq: let pci_device_shutdown to call pci_msi_shutdown v2 attempted to address the problem of kexec getting started after linux enabled msi/msix for a device, and drivers being confused by msi being enabled, by disabling msi at shutdown. But

Re: [PATCH] NVMe: Fix error handling of class_create("nvme")

2015-03-16 Thread Keith Busch
On Fri, 6 Mar 2015, Alexey Khoroshilov wrote: class_create() returns ERR_PTR on failure, so IS_ERR() should be used instead of check for NULL. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov Thanks for the fix. Acked-by: Keith Busch -- To un

[PATCH RFC 0/4] pci: fix unhandled interrupt on shutdown

2015-03-16 Thread Michael S. Tsirkin
Fam Zheng noticed that pci shutdown disables msi and msix of a device while device is still active. This was intended to fix kexec with fusion devices but had the unintended effect of breaking even regular shutdown when using virtio. The same problem would affect any driver which doesn't register

<    5   6   7   8   9   10   11   12   13   14   >