Re: [PATCH 01/13] kdbus: add documentation

2015-02-02 Thread Andy Lutomirski
On Feb 2, 2015 1:34 AM, Daniel Mack dan...@zonque.org wrote: Hi Andy, On 01/29/2015 01:09 PM, Andy Lutomirski wrote: On Jan 29, 2015 6:42 AM, Daniel Mack dan...@zonque.org wrote: As we explained before, currently, D-Bus peers do collect the same information already if they need to have

Re: [PATCH 06/20] staging/lustre: fix comparison between signed and unsigned

2015-02-02 Thread Oleg Drokin
Hello! On Feb 2, 2015, at 10:44 AM, Greg Kroah-Hartman wrote: On Mon, Feb 02, 2015 at 04:02:31PM +0300, Dan Carpenter wrote: On Sun, Feb 01, 2015 at 09:52:05PM -0500, gr...@linuxhacker.ru wrote: From: Dmitry Eremin dmitry.ere...@intel.com Expression if (size != (ssize_t)size) is always

Re: [PATCH v13 3/6] clk: Make clk API return per-user struct clk instances

2015-02-02 Thread Tony Lindgren
* Tero Kristo t-kri...@ti.com [150202 11:35]: On 02/01/2015 11:24 PM, Mike Turquette wrote: Quoting Tomeu Vizoso (2015-01-23 03:03:30) AFAICT this doesn't break anything, but booting on OMAP3+ results in noisy WARNs. I think the correct fix is to replace clk_bypass and clk_ref pointers

Re: [PATCH v7 1/4] Documentation: dt: add common bindings for hwspinlock

2015-02-02 Thread Suman Anna
On 02/01/2015 11:55 AM, Bjorn Andersson wrote: On Fri, Jan 30, 2015 at 9:41 PM, Ohad Ben-Cohen o...@wizery.com wrote: On Sat, Jan 31, 2015 at 1:29 AM, Bjorn Andersson bj...@kryo.se wrote: In a system where you have two hwlock blocks lckA and lckB, each consisting of 8 locks and you have dspB

[PATCH] ata: Delete unnecessary checks before the function call pci_dev_put

2015-02-02 Thread SF Markus Elfring
From: Markus Elfring elfr...@users.sourceforge.net Date: Mon, 2 Feb 2015 22:08:29 +0100 The pci_dev_put() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software.

Re: [PATCH 2/4] Input - synaptics: do not release extra buttons once they are pressed

2015-02-02 Thread Dmitry Torokhov
On Wed, Jan 28, 2015 at 03:10:05PM -0500, Benjamin Tissoires wrote: The current code releases the extra buttons right after they are pressed. As soon as a new serio report comes in, the hw state is reset to 0 and so the buttons are released. Check for the report type before acting on the

Re: [RFC PATCH] mm: madvise: Ignore repeated MADV_DONTNEED hints

2015-02-02 Thread Mel Gorman
On Mon, Feb 02, 2015 at 02:05:06PM -0800, Andrew Morton wrote: On Mon, 2 Feb 2015 16:55:25 + Mel Gorman mgor...@suse.de wrote: glibc malloc changed behaviour in glibc 2.10 to have per-thread arenas instead of creating new areans if the existing ones were contended. The decision

Re: [PATCH linux-next] lib: Kconfig: use bool instead of boolean

2015-02-02 Thread Andrew Morton
On Mon, 2 Feb 2015 09:59:16 -0500 Christoph Jaeger c...@linux.com wrote: Keyword 'boolean' for type definition attributes is considered deprecated and, therefore, should not be used anymore. See http://lkml.kernel.org/r/cover.1418003065.git...@linux.com See

Re: v3.19: Nokia N900 - usb nokia gadget crash

2015-02-02 Thread Felipe Balbi
On Mon, Feb 02, 2015 at 04:17:13PM -0600, Felipe Balbi wrote: On Sat, Jan 31, 2015 at 10:25:09AM +0100, Pali Rohár wrote: On Saturday 31 January 2015 10:06:11 Pali Rohár wrote: Hello, when I try to modprobe g_nokia.ko gadget module on n900 device, it produce tons on lines to

Re: [PATCH] IRQ: don't suspend nested_thread irqs over system suspend.

2015-02-02 Thread Rafael J. Wysocki
On Saturday, January 31, 2015 02:37:47 PM NeilBrown wrote: On Sat, 31 Jan 2015 00:51:17 +0100 Rafael J. Wysocki r...@rjwysocki.net wrote: On Saturday, January 31, 2015 12:06:37 AM Rafael J. Wysocki wrote: On Saturday, January 31, 2015 09:25:45 AM NeilBrown wrote: Nested IRQs can

Re: [PATCH 4/6] x86,fpu: use disable_task_lazy_fpu_restore helper

2015-02-02 Thread Rik van Riel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/02/2015 02:21 PM, Oleg Nesterov wrote: I'll try to read this patch tomorrow. Too late for me. I think it is fine, but On 02/02, r...@redhat.com wrote: This also fixes the lazy FPU restore disabling in drop_fpu, which only really works

Re: [RFC 1/2] clocksource: track usage

2015-02-02 Thread Kevin Hilman
Alexandre Belloni alexandre.bell...@free-electrons.com writes: Track whether the clocksource is enabled or disabled. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- include/linux/clocksource.h | 4 kernel/time/clocksource.c | 26 ++

Re: [capabilities] Allow normal inheritance for a configurable set of capabilities

2015-02-02 Thread Andy Lutomirski
On Mon, Feb 2, 2015 at 10:08 AM, Serge Hallyn serge.hal...@ubuntu.com wrote: Quoting Casey Schaufler (ca...@schaufler-ca.com): I'm game to participate in such an effort. The POSIX scheme is workable, but given that it's 20 years old and hasn't developed real traction it's hard to call it

Re: [RFC PATCH v4] audit: move the tree pruning to a dedicated thread

2015-02-02 Thread Paul Moore
On Friday, January 30, 2015 03:05:59 PM Imre Palik wrote: From: Palik, Imre im...@amazon.de When file auditing is enabled, during a low memory situation, a memory allocation with __GFP_FS can lead to pruning the inode cache. Which can, in turn lead to audit_tree_freeing_mark() being called.

[PATCH] serial: 8250: Fix UART_BUG_TXEN workaround

2015-02-02 Thread Peter Hurley
UARTs which do not trigger THRE interrupt if the fifo is already empty when the interrupt is enabled need tx primed manually. These UARTs are identified by the UART_BUG_TXEN flag to enable the required workaround. However, the current workaround is broken; if the fifo is already empty but the

[PATCH 06/14] cpufreq: exynos4x12: use devm_clk_get

2015-02-02 Thread Eduardo Valentin
Switch to managed clk_get to properly release resources when they are not needed. Cc: Rafael J. Wysocki r...@rjwysocki.net Cc: Viresh Kumar viresh.ku...@linaro.org Cc: Kukjin Kim kg...@kernel.org Cc: linux...@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org Cc:

[PATCH 01/14] cpufreq: exynos4210: properly put of node

2015-02-02 Thread Eduardo Valentin
Call of_node_put when necessary during init. Cc: Rafael J. Wysocki r...@rjwysocki.net Cc: Viresh Kumar viresh.ku...@linaro.org Cc: Kukjin Kim kg...@kernel.org Cc: linux...@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org Cc: linux-samsung-...@vger.kernel.org Cc:

[PATCH 03/14] cpufreq: exynos4210: use devm_clk_get

2015-02-02 Thread Eduardo Valentin
Switch to managed clk_get to properly release resources when they are not needed. Cc: Rafael J. Wysocki r...@rjwysocki.net Cc: Viresh Kumar viresh.ku...@linaro.org Cc: Kukjin Kim kg...@kernel.org Cc: linux...@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org Cc:

Re: [PATCH] Add ARCH_MIGHT_HAVE_VGA_CONSOLE

2015-02-02 Thread Geert Uytterhoeven
Hi Sato-san, Your second version looks fine to me, except for this part: On Mon, Feb 2, 2015 at 4:48 PM, Yoshinori Sato ys...@users.sourceforge.jp wrote: --- a/arch/um/Kconfig.common +++ b/arch/um/Kconfig.common @@ -9,6 +9,7 @@ config UML select GENERIC_IO select

[PATCH v2] net: bluetooth: hci_sock: Use 'const void *' instead of 'void *' for 2nd parameter of hci_test_bit()

2015-02-02 Thread Chen Gang S
hci_test_bit() does not modify 2nd parameter, so it is better to let it be constant, or may cause build warning. The related warning (with allmodconfig under xtensa): net/bluetooth/hci_sock.c: In function 'hci_sock_sendmsg': net/bluetooth/hci_sock.c:955:8: warning: passing argument 2 of

[PATCH 2/9] x86: make __VIRTUAL_MASK safe to use on 32 bit

2015-02-02 Thread Dave Hansen
From: Dave Hansen dave.han...@linux.intel.com We are going to do some calculations in a moment that are based on the size of the virtual address space. __VIRTUAL_MASK is currently unsafe to use on 32-bit since it overflows an unsigned long with its shift. The current version will emit a

[PATCH 6/9] x86, mpx: new directory entry to addr helper

2015-02-02 Thread Dave Hansen
From: Dave Hansen dave.han...@linux.intel.com Currently, to get from a bounds directory entry to the virtual address of a bounds table, we simply mask off a few low bits. However, the set of bits we mask off is different for 32 and 64-bit binaries. This breaks the operation out in to a helper

[PATCH 4/9] x86, mpx: remove redundant MPX_BNDCFG_ADDR_MASK

2015-02-02 Thread Dave Hansen
From: Qiaowei Ren qiaowei@intel.com MPX_BNDCFG_ADDR_MASK is defined two times, so this patch removes redundant one. Signed-off-by: Qiaowei Ren qiaowei@intel.com Signed-off-by: Dave Hansen dave.han...@linux.intel.com --- b/arch/x86/include/asm/mpx.h |1 - 1 file changed, 1

[PATCH 0/9] x86, mpx: Support 32-bit binaries on 64-bit kernels

2015-02-02 Thread Dave Hansen
The MPX hardware structures differ in layout in 32 and 64-bit mode. A 32-bit binary running on a 64-bit kernel needs the 32-bit structures, so we need code which switches between the two modes. x86: make is_64bit_mm() widely available x86: make __VIRTUAL_MASK safe to use on 32

[PATCH] clk: clk_set_parent() with current parent shouldn't fail

2015-02-02 Thread Stephen Boyd
If a driver calls clk_set_parent(clk, parent) and parent is the current parent of clk we shouldn't fail in any case. Unfortunately if clk is a read-only mux we return -ENOSYS because we think we can't change the parent, except for in this special case where we don't actually need to change the

[PATCH v4 1/5] phy: Add driver to support individual USB PHYs on sun9i

2015-02-02 Thread Chen-Yu Tsai
Unlike previous Allwinner SoCs, there is no central PHY control block on the A80. Also, OTG support is completely split off into a different controller. This adds a new driver to support the regular USB PHYs. Signed-off-by: Chen-Yu Tsai w...@csie.org Acked-by: Maxime Ripard

[PATCH 0/6 v2] perf: Have perf become tracefs aware

2015-02-02 Thread Steven Rostedt
As I'm trying to move the tracing directory from debugfs, perf needs to be aware of this as system admins will now be able to mount the tracing directory without needing to mount debugfs. This patch series addresses this and makes perf aware of tracefs. I based this series on a recent tip

[PATCH 1/6 v2] perf: Do not check debugfs MAGIC for tracing files

2015-02-02 Thread Steven Rostedt
From: Steven Rostedt (Red Hat) rost...@goodmis.org It's rather strange to be checking the debugfs MAGIC number for the tracing directory. A system admin may want to have a custom set of events to trace and it should be allowed to let the admin make a temp file (even for tracing virtual boxes,

Re: [PATCH] mtd: Expose partition offset to the drivers

2015-02-02 Thread Richard Weinberger
Hi! Am 02.02.2015 um 20:33 schrieb Ricardo Ribalda Delgado: Hello On Mon, Feb 2, 2015 at 8:17 PM, Richard Weinberger richard.weinber...@gmail.com wrote: On Mon, Feb 2, 2015 at 5:22 PM, Ricardo Ribalda Delgado Can you please also send a patch which shows the usage of this new function by

[PATCH 5/6 v2] tools lib api fs: Add {tracefs,debugfs}_configured() functions

2015-02-02 Thread Steven Rostedt
From: Steven Rostedt (Red Hat) rost...@goodmis.org Add tracefs_configured() to return true if tracefs is configured in the kernel (succeeds to find tracefs), and debugfs_configured() if debugfs is configured in the kernel (succeeds to find debugfs). Signed-off-by: Steven Rostedt

Re: How to fix CDROM/DVD eject mess?

2015-02-02 Thread Kay Sievers
On Mon, Feb 2, 2015 at 8:34 PM, Maciej W. Rozycki ma...@linux-mips.org wrote: On Mon, 2 Feb 2015, Kay Sievers wrote: I thought that fixing the udev behavior would solve the problem. But it turned out that I was too naive. A bigger problem is that all user-space stuff misinterprets

Re: [RFC] Making memcg track ownership per address_space or anon_vma

2015-02-02 Thread Tejun Heo
Hey, On Mon, Feb 02, 2015 at 10:26:44PM +0300, Konstantin Khlebnikov wrote: Removing memcg pointer from struct page might be tricky. It's not clear what to do with truncated pages: either link them with lru differently or remove from lru right at truncate. Swap cache pages have the same

Re: [PATCH 2/3] md/bitmap: Delete an unnecessary check before the function call kfree

2015-02-02 Thread NeilBrown
On Mon, 02 Feb 2015 16:20:42 +0100 SF Markus Elfring elfr...@users.sourceforge.net wrote: From: Markus Elfring elfr...@users.sourceforge.net Date: Mon, 2 Feb 2015 15:10:57 +0100 The kfree() function tests whether its argument is NULL and then returns immediately. Thus the test around the

Re: [PATCH v3 00/13] locks: saner method for managing file locks

2015-02-02 Thread Mike Marshall
I applied Jeff's patch to my orangefs-3.19-rc5 tree. Orangefs doesn't yet support the lock callout for file_operations, but we have been experimenting with some ideas that would allow Orangefs to honor locks in our distributed environment: basically posix locks for each kernel client plus meta

Re: [PATCH 0/6] PCI: MMCONFIG clean up

2015-02-02 Thread Bjorn Helgaas
On Wed, Nov 19, 2014 at 05:04:45PM +0100, Tomasz Nowicki wrote: MMCFG ACPI table has no arch dependencies so it can be used across all architectures. Currently MMCONFIG related code resides in arch/x86 directories. This patch set is goint to isolate non-architecure specific code and make it

[PATCH 7/9] x86, mpx: do 32-bit-only cmpxchg for 32-bit apps

2015-02-02 Thread Dave Hansen
From: Dave Hansen dave.han...@linux.intel.com user_atomic_cmpxchg_inatomic() actually looks at sizeof(*ptr) to figure out how many bytes to copy. If we run it on a 64-bit kernel with a 64-bit pointer, it will copy a 64-bit bounds directory entry. That's fine, except when we have 32-bit

[PATCH 1/9] x86: make is_64bit_mm() widely available

2015-02-02 Thread Dave Hansen
From: Dave Hansen dave.han...@linux.intel.com The uprobes code has a nice helper, is_64bit_mm(), that consults both the runtime and compile-time flags for 32-bit support. Instead of reinventing the wheel, pull it in to an x86 header so we can use it for MPX. I prefer passing the mm around to

[PATCH 5/9] x86, mpx: Add temporary variable to reduce masking

2015-02-02 Thread Dave Hansen
From: Dave Hansen dave.han...@linux.intel.com When we allocate a bounds table, we call mmap(), then add a valid bit to the value before storing it in to the bounds directory. If we fail along the way, we go and mask that valid bit _back_ out. That seems a little silly, and this makes it much

Re: [PATCH 2/2] user_namespaces.7: Update the documention to reflect the fixes for negative groups

2015-02-02 Thread Alban Crequy
Hello, Thanks for updating the man page. On 12 December 2014 at 22:54, Eric W. Biederman ebied...@xmission.com wrote: (...) Furthermore to preserve in some form the useful applications that have been setting gid_map without privilege the file /proc/[pid]/setgroups was added to allow disabling

[PATCH] Documentation: Fix trivial typo in comment.

2015-02-02 Thread Sharon Dvir
Changed 'typee' to 'type' Signed-off-by: Sharon Dvir sharon.dv...@mail.huji.ac.il --- diff --git a/include/linux/debugobjects.h b/include/linux/debugobjects.h index 98ffcbd..0e93996 100644 --- a/include/linux/debugobjects.h +++ b/include/linux/debugobjects.h @@ -35,7 +35,7 @@ struct debug_obj {

[PATCH 3/5] i8042: Add OF match table

2015-02-02 Thread Roman Volkov
The OF device table allows the platform_driver_probe() function to automatically match device and parse the DT node. Signed-off-by: Tony Prisk li...@prisktech.co.nz Signed-off-by: Roman Volkov v1...@v1ros.org --- drivers/input/serio/i8042.c | 10 ++ 1 file changed, 10 insertions(+) diff

[PATCH 1/5] i8042: intel-8042 DT documentation

2015-02-02 Thread Roman Volkov
Documentation for 'intel,8042' DT compatible node. Signed-off-by: Tony Prisk li...@prisktech.co.nz Signed-off-by: Roman Volkov v1...@v1ros.org --- .../devicetree/bindings/input/intel-8042.txt | 29 ++ 1 file changed, 29 insertions(+) create mode 100644

[PATCH 2/5] i8042: Kernel configuration handling for DT support

2015-02-02 Thread Roman Volkov
i8042_dt.h should be included when CONFIG_ARCH_MIGHT_HAVE_PC_SERIO and CONFIG_USE_OF are selected. It should be not necessary to create additional options in the kernel config. Signed-off-by: Roman Volkov v1...@v1ros.org --- drivers/input/serio/i8042.h | 3 +++ 1 file changed, 3 insertions(+)

[PATCH 1/2] mutex: In mutex_spin_on_owner(), return true when owner changes

2015-02-02 Thread Jason Low
In the mutex_spin_on_owner(), we return true only if lock-owner == NULL. This was beneficial in situations where there were multiple threads simultaneously spinning for the mutex. If another thread got the lock while other spinner(s) were also doing mutex_spin_on_owner(), then the other spinners

[PATCH 2/2] mutex: Refactor mutex_spin_on_owner

2015-02-02 Thread Jason Low
As suggested by Davidlohr, we could refactor mutex_spin_on_owner(). Currently, we split up owner_running() with mutex_spin_on_owner(). When the owner changes, we make duplicate owner checks which are not necessary. It also makes the code a bit obscure as we are using a second check to figure

Re: [PATCH 2/2] coresight: Adding coresight support to arm64

2015-02-02 Thread Mathieu Poirier
On 2 February 2015 at 06:45, Will Deacon will.dea...@arm.com wrote: On Fri, Jan 30, 2015 at 10:54:26PM +, mathieu.poir...@linaro.org wrote: From: Mathieu Poirier mathieu.poir...@linaro.org Aside from tracers, all currently supported coresight IP blocks are 64 bit ready. As such add the

Re: v3.19: Nokia N900 - usb nokia gadget crash

2015-02-02 Thread Felipe Balbi
On Sat, Jan 31, 2015 at 10:25:09AM +0100, Pali Rohár wrote: On Saturday 31 January 2015 10:06:11 Pali Rohár wrote: Hello, when I try to modprobe g_nokia.ko gadget module on n900 device, it produce tons on lines to display and then crash and reboot device. So its not working and I

[PATCH 6/6 v2] perf: Make perf aware of tracefs

2015-02-02 Thread Steven Rostedt
From: Steven Rostedt (Red Hat) rost...@goodmis.org As tracefs may be mounted instead of debugfs to get to the event directories, have perf know about tracefs, and use that file system over debugfs if it is present. Signed-off-by: Steven Rostedt rost...@goodmis.org ---

Re: [PATCH] lib/int_sqrt.c: Optimize square root function

2015-02-02 Thread Linus Torvalds
On Mon, Feb 2, 2015 at 11:10 AM, Joe Perches j...@perches.com wrote: Perhaps removing the while and using fls(x) would be better. No. fls is often slow, and you then do have to also round it down to an even bit number etc, so it gets somewhat complex too. We *probably* have some argument range

Re: [PATCH] clk: Add tracepoints for hardware operations

2015-02-02 Thread Stephen Boyd
On 02/02/15 08:00, Steven Rostedt wrote: On Fri, 30 Jan 2015 16:16:11 -0800 Stephen Boyd sb...@codeaurora.org wrote: It's useful to have tracepoints around operations that change the hardware state so that we can debug clock hardware performance and operations. Four basic types of events are

Re: [RFC][PATCH v2] procfs: Always expose /proc/pid/map_files/ and make it readable

2015-02-02 Thread Andy Lutomirski
On Fri, Jan 30, 2015 at 5:58 PM, Calvin Owens calvinow...@fb.com wrote: On Thursday 01/29 at 17:30 -0800, Kees Cook wrote: On Tue, Jan 27, 2015 at 8:38 PM, Calvin Owens calvinow...@fb.com wrote: On Monday 01/26 at 15:43 -0800, Andrew Morton wrote: On Tue, 27 Jan 2015 00:00:54 +0300 Cyrill

Re: [PATCH] 3.19-rc7: add quirk for 1c28:0122 (rev 14) SATA controller

2015-02-02 Thread Bjorn Helgaas
On Mon, Feb 2, 2015 at 2:15 PM, Tim Sander t...@krieglstein.org wrote: Hi Bjorn Am Montag 02 Februar 2015, 08:55:33 schrieb Bjorn Helgaas: [+cc Alex] On Mon, Feb 2, 2015 at 5:29 AM, Tim Sander t...@krieglstein.org wrote: The long name for this device is Lite-On IT Corp. / Plextor M6e PCI

Altera FPGA programming

2015-02-02 Thread Ran Shalit
Hello, I have found the following link for altera fpga programming driver: http://lwn.net/Articles/421434/ Is there any example or readme how to use the Altera FPGA or how to access it ? Is it the best way for jtag programming available in linux ? I try to use it with some GPIO in chip (not

Re: [PATCH 06/20] staging/lustre: fix comparison between signed and unsigned

2015-02-02 Thread Greg Kroah-Hartman
On Mon, Feb 02, 2015 at 03:25:58PM -0500, Oleg Drokin wrote: Hello! On Feb 2, 2015, at 10:44 AM, Greg Kroah-Hartman wrote: On Mon, Feb 02, 2015 at 04:02:31PM +0300, Dan Carpenter wrote: On Sun, Feb 01, 2015 at 09:52:05PM -0500, gr...@linuxhacker.ru wrote: From: Dmitry Eremin

[PATCH 14/14] cpufreq: exynos-cpufreq: release resources by using managed allocation

2015-02-02 Thread Eduardo Valentin
This change allows the proper resource release used by this driver. The resources are now allocated using managed allocation by means of the devm_* helper functions. Those resources that cannot be managed are properly released during the device removal time. The global variables have been removed

[PATCH 08/14] cpufreq: exynos5250: iounmap in error path

2015-02-02 Thread Eduardo Valentin
When error occurs, allow systems to release iomapped area. Cc: Rafael J. Wysocki r...@rjwysocki.net Cc: Viresh Kumar viresh.ku...@linaro.org Cc: Kukjin Kim kg...@kernel.org Cc: linux...@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org Cc: linux-samsung-...@vger.kernel.org Cc:

[PATCH 09/14] cpufreq: exynos5250: use devm_clk_get

2015-02-02 Thread Eduardo Valentin
Switch to managed clk_get to properly release resources when they are not needed. Cc: Rafael J. Wysocki r...@rjwysocki.net Cc: Viresh Kumar viresh.ku...@linaro.org Cc: Kukjin Kim kg...@kernel.org Cc: linux...@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org Cc:

[PATCH 11/14] cpufreq: exynos4210: remove unused symbol cpufreq

2015-02-02 Thread Eduardo Valentin
Now that the set_freq call back receives the intended data struct, the global cpufreq variable may be removed. Cc: Rafael J. Wysocki r...@rjwysocki.net Cc: Viresh Kumar viresh.ku...@linaro.org Cc: Kukjin Kim kg...@kernel.org Cc: linux...@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org

Re: [PATCH 1/2] arm64: adding cpu lookup functionality

2015-02-02 Thread Mathieu Poirier
On 2 February 2015 at 06:50, Will Deacon will.dea...@arm.com wrote: On Fri, Jan 30, 2015 at 10:54:25PM +, mathieu.poir...@linaro.org wrote: From: Mathieu Poirier mathieu.poir...@linaro.org Adding a lookup function allowing for quick and easy mapping between processor HWID (as found, for

Re: [PATCH] drm: Kconfig: Let all DRM_GEM_CMA_HELPER related macros depend on HAVE_DMA_ATTRS

2015-02-02 Thread Chen Gang S
After this fixing building patch, xtensa can pass allmodconfig. - There are still several warnings for it (I sent several patches for them, but not for all). - Xtensa gcc5 cross compiler has issues: it causes more than 10 broken areas with allmodconfig (but no issues with

Re: [PATCH v8 05/21] ACPI / sleep: Introduce sleep_arm.c

2015-02-02 Thread Rafael J. Wysocki
On Monday, February 02, 2015 08:45:33 PM Hanjun Guo wrote: From: Graeme Gregory graeme.greg...@linaro.org ACPI 5.1 does not currently support S states for ARM64 hardware but ACPI code will call acpi_target_system_state() for device power managment, so introduce sleep_arm.c to allow other

Re: [RFC PATCH] mm: madvise: Ignore repeated MADV_DONTNEED hints

2015-02-02 Thread Andrew Morton
On Mon, 2 Feb 2015 16:55:25 + Mel Gorman mgor...@suse.de wrote: glibc malloc changed behaviour in glibc 2.10 to have per-thread arenas instead of creating new areans if the existing ones were contended. The decision appears to have been made so the allocator scales better but the downside

Re: [PATCH 4/6] i2c: busses: add SLIMpro I2C device driver on APM X-Gene platform

2015-02-02 Thread Feng Kan
On Thu, Jan 29, 2015 at 10:11 PM, Wolfram Sang w...@the-dreams.de wrote: ctx-dev is probably the wrong device here. The i2c controller is not DMA capable itself, you need to have a pointer to the device that actually performs the DMA here. Arnd, I do agree this may not be the best

[PATCH v4 4/5] ARM: sunxi_defconfig: Enable CONFIG_PHY_SUN9I_USB

2015-02-02 Thread Chen-Yu Tsai
On sun9i we have a new PHY driver for USB. Signed-off-by: Chen-Yu Tsai w...@csie.org --- arch/arm/configs/sunxi_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/sunxi_defconfig b/arch/arm/configs/sunxi_defconfig index 38840a812924..6b271645eb43 100644 ---

Re: [PATCH] clk: pxa: fix pxa27x_clocks_init scope

2015-02-02 Thread Stephen Boyd
On 01/31/15 14:37, Robert Jarzmik wrote: As pxa27x_clocks_init() is called from early boot stage, it has to be reachable from pxa architecture code, as are pxa25x_clocks_init() and pxa2xx_clock_init(). Remove the static declaration, which was introduced before the order issue between clocks

Re: [PATCH] clk: Add tracepoints for hardware operations

2015-02-02 Thread Steven Rostedt
On Mon, 02 Feb 2015 11:41:40 -0800 Stephen Boyd sb...@codeaurora.org wrote: + trace_clk_unprepare_complete(clk); clk_core_unprepare(clk-parent); I guess you do not care about the clk_core_unprepare time. Function trace will handle that? If gcc doesn't inline it. -- Steve -- To

Re: [PATCH] Add ARCH_MIGHT_HAVE_VGA_CONSOLE

2015-02-02 Thread Arnd Bergmann
On Tuesday 03 February 2015 00:48:20 Yoshinori Sato wrote: At Mon, 2 Feb 2015 09:10:06 +0100, Geert Uytterhoeven wrote: Hi Sato-san, On Mon, Feb 2, 2015 at 8:24 AM, Yoshinori Sato ys...@users.sourceforge.jp wrote: The dependence of VGA_CONSOLE is complicated. We need clean

Re: [RFCv3 2/2] dma-buf: add helpers for sharing attacher constraints with dma-parms

2015-02-02 Thread Rob Clark
On Mon, Feb 2, 2015 at 11:54 AM, Daniel Vetter dan...@ffwll.ch wrote: My initial thought is for dma-buf to not try to prevent something than an exporter can actually do.. I think the scenario you describe could be handled by two sg-lists, if the exporter was clever enough. That's already

Re: [PATCH v13 4/6] clk: Add rate constraints to clocks

2015-02-02 Thread Tony Lindgren
/0x34() [ 10.568237] Modules linked in: [ 10.568237] CPU: 0 PID: 1 Comm: swapper/0 Tainted: GW 3.19.0-rc6-next-20150202 #2037 [ 10.568237] Hardware name: Generic OMAP4 (Flattened Device Tree) [ 10.568267] [c0015bdc] (unwind_backtrace) from [c001222c

Re: [PATCH v3 0/2] x86/arm64: add xenconfig

2015-02-02 Thread Michal Marek
Dne 30.1.2015 v 19:25 Luis R. Rodriguez napsal(a): On Fri, Jan 30, 2015 at 2:49 AM, Michal Marek mma...@suse.cz wrote: On 2015-01-29 21:47, Paul Bolle wrote: [Added Michal. Removed Yann.] On Thu, 2015-01-29 at 12:38 -0800, Luis R. Rodriguez wrote: On Tue, Jan 27, 2015 at 12:00 PM, Luis R.

gzip initramfs while only lz4/lzop selected

2015-02-02 Thread Stefan Agner
Hi all, Configuring the kernel without gzip support for initramfs but with LZO/LZ4, while not having LZ4 on the build system, leads to a kernel which is not bootable: ... [0.488232] RPC: Registered udp transport module. [0.493437] RPC: Registered tcp transport module. [0.498693] RPC:

Re: [PATCH] clk: fractional-divider: support for divider bypassing

2015-02-02 Thread Stephen Boyd
On 02/02/15 05:37, Heikki Krogerus wrote: If the divider or multiplier values values are 0 in the s/values// register, bypassing the divider and returning the parent clock rate in clk_fd_recalc_rate(). Signed-off-by: Heikki Krogerus heikki.kroge...@linux.intel.com --- Reviewed-by: Stephen

Re: [PATCH] spi: spidev: Convert buf pointers for 32-bit compat SPI_IOC_MESSAGE(n)

2015-02-02 Thread Mark Brown
On Fri, Jan 30, 2015 at 06:43:33PM +, Ian Abbott wrote: The SPI_IOC_MESSAGE(n) ioctl commands' argument points to an array of n struct spi_ioc_transfer elements. The spidev's compat_ioctl handler just converts this pointer and passes it on to the unlocked_ioctl handler to process it.

Re: [PATCH v2] ARM: pxa: fix pxa interrupts handling in DT

2015-02-02 Thread Robert Jarzmik
Robert Jarzmik robert.jarz...@free.fr writes: @@ -66,18 +67,20 @@ static inline void __iomem *irq_base(int i) void pxa_mask_irq(struct irq_data *d) { void __iomem *base = irq_data_get_irq_chip_data(d); + irq_hw_number_t irq = irqd_to_hwirq(d); uint32_t icmr =

Re: [capabilities] Allow normal inheritance for a configurable set of capabilities

2015-02-02 Thread Casey Schaufler
On 2/2/2015 12:37 PM, Andy Lutomirski wrote: On Mon, Feb 2, 2015 at 10:08 AM, Serge Hallyn serge.hal...@ubuntu.com wrote: Quoting Casey Schaufler (ca...@schaufler-ca.com): I'm game to participate in such an effort. The POSIX scheme is workable, but given that it's 20 years old and hasn't

Re: How to fix CDROM/DVD eject mess?

2015-02-02 Thread Ondrej Zary
On Monday 02 February 2015 21:02:23 Austin S Hemmelgarn wrote: On 2015-02-02 14:34, Maciej W. Rozycki wrote: On Mon, 2 Feb 2015, Kay Sievers wrote: I thought that fixing the udev behavior would solve the problem. But it turned out that I was too naive. A bigger problem is that all

[PATCH 13/14] cpufreq: exynos5250: remove unused symbol cpufreq

2015-02-02 Thread Eduardo Valentin
Now that the set_freq call back receives the intended data struct, the global cpufreq variable may be removed. Cc: Rafael J. Wysocki r...@rjwysocki.net Cc: Viresh Kumar viresh.ku...@linaro.org Cc: Kukjin Kim kg...@kernel.org Cc: linux...@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org

[PATCH] net: usb: sr9700: Use 'SR_' prefix for the common register macros

2015-02-02 Thread Chen Gang S
The commone register macors (e.g. RSR) is too commont to drivers, it may be conflict with the architectures (e.g. xtensa, sh). The related warnings (with allmodconfig under xtensa): CC [M] drivers/net/usb/sr9700.o In file included from drivers/net/usb/sr9700.c:24:0:

Re: [PATCH v2] net: bluetooth: hci_sock: Use 'const void *' instead of 'void *' for 2nd parameter of hci_test_bit()

2015-02-02 Thread Joe Perches
On Tue, 2015-02-03 at 05:14 +0800, Chen Gang S wrote: hci_test_bit() does not modify 2nd parameter, so it is better to let it be constant, or may cause build warning. The related warning (with allmodconfig under xtensa): [] diff --git a/net/bluetooth/hci_sock.c b/net/bluetooth/hci_sock.c []

Re: [PATCH 3/3] dt: paz00: define nvec as child of i2c bus

2015-02-02 Thread Stephen Warren
On 01/29/2015 12:20 AM, Andrey Danin wrote: NVEC driver was reimplemented to use tegra i2c. Use common i2c bindings for NVEC node. diff --git a/Documentation/devicetree/bindings/nvec/nvidia,nvec.txt b/Documentation/devicetree/bindings/nvec/nvidia,nvec.txt The changes to this file make more

Re: [GIT PULL]: clockevents: new material for 3.20

2015-02-02 Thread Daniel Lezcano
Hi Thomas, just a gentle reminder ;) Thanks -- Daniel On 01/29/2015 02:06 PM, Daniel Lezcano wrote: this pull request contains the following changes: * Barry Song renamed the marco timer to atlas7 * Baruch Siach provided a new driver for the Conexant Digicolor SoCs * Daniel

Re: [PATCH 1/5] i8042: intel-8042 DT documentation

2015-02-02 Thread Roman Volkov
В Tue, 3 Feb 2015 00:48:46 +0300 Roman Volkov v1...@v1ros.org пишет: Documentation for 'intel,8042' DT compatible node. Signed-off-by: Tony Prisk li...@prisktech.co.nz Signed-off-by: Roman Volkov v1...@v1ros.org --- .../devicetree/bindings/input/intel-8042.txt | 29

Re: [PATCH] Remove might_sleep from wait_event_cmd

2015-02-02 Thread NeilBrown
On Mon, 2 Feb 2015 09:39:02 -0500 (EST) Mikulas Patocka mpato...@redhat.com wrote: Hi Please apply this before 3.19 is released. Mikulas The patch e22b886a8a43b147e1994a9f970f678fc0df2033 introduced a bug in the raid5 subsystem. The function raid5_quiesce (and resize_stripes)

Re: [PATCH 2/4] Input - synaptics: do not release extra buttons once they are pressed

2015-02-02 Thread Benjamin Tissoires
On Mon, Feb 2, 2015 at 4:46 PM, Dmitry Torokhov dmitry.torok...@gmail.com wrote: On Wed, Jan 28, 2015 at 03:10:05PM -0500, Benjamin Tissoires wrote: The current code releases the extra buttons right after they are pressed. As soon as a new serio report comes in, the hw state is reset to 0 and

[PATCH 3/6 v2] tools lib api fs: Add tracefs mount helper functions

2015-02-02 Thread Steven Rostedt
From: Steven Rostedt (Red Hat) rost...@goodmis.org Since tracefs will now hold the event directory for perf, and even though by default, debugfs still mounts tracefs on the debugfs/tracing directory, the system admin may now choose to not mount debugfs and instead just mount tracefs instead.

[PATCH 2/6 v2] tools lib fs: Add helper to find mounted file systems

2015-02-02 Thread Steven Rostedt
From: Steven Rostedt (Red Hat) rost...@goodmis.org In preparation for adding tracefs for perf to use, create a findfs helper utility that find_debugfs uses instead of hard coding the search in the code. This will allow for a find_tracefs to be used as well. Signed-off-by: Steven Rostedt

[PATCH 4/6 v2] tools lib api fs: Add DEBUGFS_DEFAULT_PATH macro

2015-02-02 Thread Steven Rostedt
From: Steven Rostedt (Red Hat) rost...@goodmis.org Instead of hard coding /sys/kernel/debug everywhere, create a macro to hold where the default path exists. Signed-off-by: Steven Rostedt rost...@goodmis.org --- tools/lib/api/fs/debugfs.c | 10 +++--- 1 file changed, 7 insertions(+), 3

Re: [capabilities] Allow normal inheritance for a configurable set of capabilities

2015-02-02 Thread Casey Schaufler
On 2/2/2015 11:05 AM, Austin S Hemmelgarn wrote: On 2015-02-02 13:47, Mimi Zohar wrote: On Mon, 2015-02-02 at 18:08 +, Serge Hallyn wrote: Quoting Casey Schaufler (ca...@schaufler-ca.com): I'm game to participate in such an effort. The POSIX scheme is workable, but given that it's 20

Re: [PATCH v3 00/13] locks: saner method for managing file locks

2015-02-02 Thread Jeff Layton
On Mon, 2 Feb 2015 15:29:33 -0500 Mike Marshall hub...@omnibond.com wrote: I applied Jeff's patch to my orangefs-3.19-rc5 tree. Orangefs doesn't yet support the lock callout for file_operations, but we have been experimenting with some ideas that would allow Orangefs to honor locks in our

Re: [PATCH v13 3/6] clk: Make clk API return per-user struct clk instances

2015-02-02 Thread Stephen Boyd
On 02/01/15 13:24, Mike Turquette wrote: Quoting Tomeu Vizoso (2015-01-23 03:03:30) Moves clock state to struct clk_core, but takes care to change as little API as possible. struct clk_hw still has a pointer to a struct clk, which is the implementation's per-user clk instance, for

Re: How to fix CDROM/DVD eject mess?

2015-02-02 Thread Maciej W. Rozycki
On Mon, 2 Feb 2015, Kay Sievers wrote: All the technical details aside, this is a bold statement -- how do you know what the user actually wants? By working with people who spent a lot of time with the questions what the default behavior of user interfaces should be. Buttons, especially

[PATCH 9/9] x86, mpx: allow mixed binaries again

2015-02-02 Thread Dave Hansen
From: Dave Hansen dave.han...@linux.intel.com We explicitly disable allowing 32-bit binaries to enable MPX on 64-bit kernels. Re-allow that. Signed-off-by: Dave Hansen dave.han...@linux.intel.com --- b/arch/x86/mm/mpx.c |6 -- 1 file changed, 6 deletions(-) diff -puN

Re: [PATCH v13 3/6] clk: Make clk API return per-user struct clk instances

2015-02-02 Thread Julia Lawall
On Mon, 2 Feb 2015, Stephen Boyd wrote: On 02/01/15 13:24, Mike Turquette wrote: Quoting Tomeu Vizoso (2015-01-23 03:03:30) Moves clock state to struct clk_core, but takes care to change as little API as possible. struct clk_hw still has a pointer to a struct clk, which is the

[PATCH 8/9] x86, mpx: support 32bit binaries on 64bit kernel

2015-02-02 Thread Dave Hansen
From: Dave Hansen dave.han...@linux.intel.com Right now, the kernel can only switch between 64-bit and 32-bit binaries at compile time. This patch adds support for 32-bit binaries on 64-bit kernels when we support ia32 emulation. We essentially choose which set of table sizes to use when doing

Re: [PATCH v3 0/2] x86/arm64: add xenconfig

2015-02-02 Thread Luis R. Rodriguez
On Mon, Feb 2, 2015 at 1:13 PM, Michal Marek mma...@suse.cz wrote: Dne 30.1.2015 v 19:25 Luis R. Rodriguez napsal(a): On Fri, Jan 30, 2015 at 2:49 AM, Michal Marek mma...@suse.cz wrote: On 2015-01-29 21:47, Paul Bolle wrote: [Added Michal. Removed Yann.] On Thu, 2015-01-29 at 12:38 -0800,

[PATCH 4/5] i8042: Prepare i8042 driver for DT support

2015-02-02 Thread Roman Volkov
Use platform_device_probe() instead of platform_create_bundle() when compiled with DT support, since the latter function is not suitable for handling the OF device tree. The order of initialization is changed, since i8042_platform_init() for DT requires initialized platform_device structure. To

[PATCH 5/5] i8042: Add i8042_dt.h glue for DT support

2015-02-02 Thread Roman Volkov
This header file designed to be similar to other glue layers found for i8042. The difference is that interrupt numbers, device address, and other information should be retrieved from the device tree. Signed-off-by: Tony Prisk li...@prisktech.co.nz Signed-off-by: Roman Volkov v1...@v1ros.org ---

Re: [PATCH v8 02/21] acpi: fix acpi_os_ioremap for arm64

2015-02-02 Thread Rafael J. Wysocki
On Monday, February 02, 2015 08:45:30 PM Hanjun Guo wrote: From: Mark Salter msal...@redhat.com The acpi_os_ioremap() function may be used to map normal RAM or IO regions. The current implementation simply uses ioremap_cache(). This will work for some architectures, but arm64 ioremap_cache()

[PATCH 0/2] mutex: Modifications to mutex_spin_on_owner

2015-02-02 Thread Jason Low
This patchset contains a few modifications to mutex_spin_on_owner(). The first patch makes the optimistic spinner continue spinning whenever the owner changes, and the second patch refactors mutex_spin_on_owner() to micro optimize the code as well as make it simpler. Jason Low (2): mutex: In

Re: [PATCH] staging/fwserial: use correct vendor/version IDs

2015-02-02 Thread Peter Hurley
On 01/28/2015 03:07 PM, Clemens Ladisch wrote: The driver was using the vendor ID 0xd00d1e from the FireWire core. However, this ID was not registered, and invalid. Instead, use the vendor/version IDs that now are officially assigned to firewire-serial:

  1   2   3   4   5   6   7   8   9   >