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:

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

2015-02-02 Thread Dave Hansen
On 02/02/2015 08:55 AM, Mel Gorman wrote: This patch identifies when a thread is frequently calling MADV_DONTNEED on the same region of memory and starts ignoring the hint. On an 8-core single-socket machine this was the impact on ebizzy using glibc 2.19. The manpage, at least, claims that we

[PATCH v4 5/5] ARM: multi_v7_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/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index eec304487e6d..63fcc5522393 100644 ---

[PATCH v4 2/5] ARM: dts: sun9i: Add USB host controller nodes to a80 dtsi

2015-02-02 Thread Chen-Yu Tsai
The A80 has 3 EHCI/OHCI USB controllers. Signed-off-by: Chen-Yu Tsai w...@csie.org --- arch/arm/boot/dts/sun9i-a80.dtsi | 55 1 file changed, 55 insertions(+) diff --git a/arch/arm/boot/dts/sun9i-a80.dtsi b/arch/arm/boot/dts/sun9i-a80.dtsi index

[PATCH v4 3/5] ARM: dts: sun9i: Enable USB support on A80 Optimus board

2015-02-02 Thread Chen-Yu Tsai
On the Optimus board, all three USB hosts can be used. HCI0 and HCI2 are available through the USB connector. HCI1 is available with HSIC through 2 pins on the GPIO expansion header. This patch also adds a regulator for HCI2/USB3's VBUS. Signed-off-by: Chen-Yu Tsai w...@csie.org ---

[PATCH v4 0/5] ARM: sun9i: Add USB host controller support for A80

2015-02-02 Thread Chen-Yu Tsai
Hi everyone, This is v4 of the sun9i A80 USB host support series. Changes since v3: - Dropped patches merged. - Moved reg_usb3_vbus into the optimus board dts - Dropped ohci1 from A80 dtsi. Cover letter from v3: This series adds USB host controller (EHCI/OHCI) support for the

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

2015-02-02 Thread Ricardo Ribalda Delgado
Hello Richard Hmm, will we ever need the new function for in-tree drivers? In general we add new functions only if they have an in-tree user for it. It is part of a driver for a camera at qtec.com . The policy so far has been that we offer the code to our clients but we cannot afford to

Re: How to fix CDROM/DVD eject mess?

2015-02-02 Thread Austin S Hemmelgarn
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 user-space stuff misinterprets DISK_EVENT_EJECT_REQUEST event: they see

Re: [PATCH] regulator: Build sysfs entries with static attribute groups

2015-02-02 Thread Mark Brown
On Fri, Jan 30, 2015 at 08:29:31PM +0100, Takashi Iwai wrote: Instead of calling device_create_file() manually after the device registration, put all in attribute groups and filter the unwanted ones via is_visible callback. This not only simplifies the code but also avoids the possible race

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

2015-02-02 Thread Robert Jarzmik
Stephen Boyd sb...@codeaurora.org writes: 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

RE: [PATCH RESEND v3 3/3] X-Power AXP288 PMIC Fuel Gauge Driver

2015-02-02 Thread Brandt, Todd E
Hi Dmitry and Sebastian, can we get this driver included for 3.20? Regards Todd Brandt From: Todd Brandt [todd.e.bra...@linux.intel.com] Sent: Monday, February 02, 2015 12:44 PM To: s...@kernel.org; dbarysh...@gmail.com; Woodhouse, David Cc:

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

2015-02-02 Thread Suman Anna
On 02/01/2015 05:00 AM, Ohad Ben-Cohen wrote: On Sat, Jan 31, 2015 at 7:41 AM, 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 3/9] x86, mpx: we do not allocate the bounds directory

2015-02-02 Thread Dave Hansen
From: Dave Hansen dave.han...@linux.intel.com The comment and code here are confusing. We do not currently allocate the bounds directory in the kernel. Signed-off-by: Dave Hansen dave.han...@linux.intel.com --- b/arch/x86/mm/mpx.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

Re: [PATCH 3/4] Input - synaptics: remove TOPBUTTONPAD property for Lenovos 2015

2015-02-02 Thread Dmitry Torokhov
On Wed, Jan 28, 2015 at 03:10:06PM -0500, Benjamin Tissoires wrote: The 2015 series of the Lenovo thinkpads added back the hardware buttons on top of the touchpad for the trackstick. Unfortunately, they are wired to the touchpad, and not the trackstick. Thus, they are seen as extra buttons

Re: [PATCH v8 16/21] irqchip: Add GICv2 specific ACPI boot support

2015-02-02 Thread Rafael J. Wysocki
On Monday, February 02, 2015 08:45:44 PM Hanjun Guo wrote: From: Tomasz Nowicki tomasz.nowi...@linaro.org ACPI kernel uses MADT table for proper GIC initialization. It needs to parse GIC related subtables, collect CPU interface and distributor addresses and call driver initialization

Re: [PATCH v8 17/21] clocksource / arch_timer: Parse GTDT to initialize arch timer

2015-02-02 Thread Rafael J. Wysocki
On Monday, February 02, 2015 08:45:45 PM Hanjun Guo wrote: Using the information presented by GTDT (Generic Timer Description Table) to initialize the arch timer (not memory-mapped). CC: Daniel Lezcano daniel.lezc...@linaro.org Originally-by: Amit Daniel Kachhap amit.dan...@samsung.com

[PATCH] clk: Missing set_phase op is an error

2015-02-02 Thread Stephen Boyd
If a clock's clk_ops doesn't have the set_phase op set we should return an error from clk_set_phase(). This way clock consumers know that when they tried to set a phase it didn't work, as opposed to the current behavior where the return value is 0 meaning success. Signed-off-by: Stephen Boyd

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

2015-02-02 Thread Christoph Jaeger
On Mon, Feb 02, 2015 at 02:27:32PM -0800, Andrew Morton wrote: 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

Re: [PATCH] tools: unbreak 'make tools/*'

2015-02-02 Thread Arnaldo Carvalho de Melo
Em Mon, Feb 02, 2015 at 03:43:09PM -0800, Brian Norris escreveu: Ping? Thanks for submitting the patch, its just that I am busy at the moment, preparing for travel, I will process this patch eventually. - Arnaldo On Wed, Jan 28, 2015 at 08:47:36PM -0800, Brian Norris wrote: The following

Re: General protection fault in iscsi_rx_thread_pre_handler

2015-02-02 Thread Gavin Guo
Hi Nicholas, On Sun, Feb 1, 2015 at 11:47 AM, Gavin Guo gavin@canonical.com wrote: Hi Nicholas, On Sat, Jan 31, 2015 at 6:53 AM, Nicholas A. Bellinger n...@linux-iscsi.org wrote: On Fri, 2015-01-23 at 09:30 +0800, Gavin Guo wrote: Hi Nicholas, On Fri, Jan 23, 2015 at 1:35 AM, Nicholas

[PATCH] edac: remove dev_attr_sdram_scrub_rate on failure

2015-02-02 Thread Junjie Mao
Signed-off-by: Junjie Mao junjie@hotmail.com --- drivers/edac/edac_mc_sysfs.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/edac/edac_mc_sysfs.c b/drivers/edac/edac_mc_sysfs.c index 8e48d32efe37..ab2963bdd0d5 100644 --- a/drivers/edac/edac_mc_sysfs.c +++

Re: [PATCH v1 2/2] zram: remove init_lock in zram_make_request

2015-02-02 Thread Sergey Senozhatsky
On (02/02/15 16:06), Sergey Senozhatsky wrote: So, guys, how about doing it differently, in less lines of code, hopefully. Don't move reset_store()'s work to zram_reset_device(). Instead, move set_capacity(zram-disk, 0); revalidate_disk(zram-disk); out from

Re: [PATCH] leds: leds-gpio: Pass on error codes unmodified

2015-02-02 Thread Bryan Wu
On Sun, Feb 1, 2015 at 8:59 AM, Sören Brinkmann soren.brinkm...@xilinx.com wrote: + Andreas who actually reported this issue and also tested the patch. On Sat, 2015-01-31 at 07:15PM -0800, Soren Brinkmann wrote: Instead of overriding error codes, pass them on unmodified. This way a

Re: [PATCH] watchdog: imx2: Constify struct regmap_config and watchdog_ops

2015-02-02 Thread Wim Van Sebroeck
Hi Krzysztof, The regmap_config struct may be const because it is not modified by the driver and regmap_init() accepts pointer to const. Make struct watchdog_ops const as well. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com Patch added to linux-watchdog-next. Kind regards,

Re: [PATCH v2 0/2] Quieten softlockup detector on virtualised kernels

2015-02-02 Thread Andrew Morton
On Mon, 02 Feb 2015 15:58:38 +1100 Cyril Bur cyril...@gmail.com wrote: On Fri, 2015-01-09 at 14:34 +1100, Cyril Bur wrote: When the hypervisor pauses a virtualised kernel the kernel will observe a jump in timebase, this can cause spurious messages from the softlockup detector. Whilst

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

2015-02-02 Thread Tony Lindgren
* Mike Turquette mturque...@linaro.org [150202 14:51]: Quoting Tony Lindgren (2015-02-02 12:44:02) Thanks Tero, looks like your fix fixes all the issues I'm seeing with commit 59cf3fcf9baf. That is noisy dmesg, dpll_abe_ck not locking on 4430sdp, and off-idle not working for omap3.

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

2015-02-02 Thread Felipe Balbi
On Mon, Feb 02, 2015 at 11:47:26PM +0100, Pali Rohár wrote: On Monday 02 February 2015 23:27:27 Felipe Balbi wrote: 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

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

2015-02-02 Thread Andrew Morton
On Mon, 2 Feb 2015 23:30:00 + Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Mon, Feb 02, 2015 at 03:18:24PM -0800, Andrew Morton wrote: I'm a bit surprised that nobody helped out with the Kconfig text. I queued the below. Looks OK? --- a/lib/Kconfig~a +++

Re: [PATCH] tools: unbreak 'make tools/*'

2015-02-02 Thread Brian Norris
Ping? On Wed, Jan 28, 2015 at 08:47:36PM -0800, Brian Norris wrote: The following targets should be supported from the top-level source directory, but were broken by commit 7e1c04779efd (kbuild: Use relative path for $(objtree)): $ make tools/ $ make tools/perf $ make O=$(BUILDDIR)

[PATCH 5/5] kernel/cpuset.c: Mark cpuset_init_current_mems_allowed as __init

2015-02-02 Thread Rasmus Villemoes
The only caller of cpuset_init_current_mems_allowed is the __init annotated build_all_zonelists_init, so we can also make the former __init. Signed-off-by: Rasmus Villemoes li...@rasmusvillemoes.dk --- kernel/cpuset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 3/5] mm/mm_init.c: Mark mminit_verify_zonelist as __init

2015-02-02 Thread Rasmus Villemoes
The only caller of mminit_verify_zonelist is build_all_zonelists_init, which is annotated with __init, so it should be safe to also mark the former as __init, saving ~400 bytes of .text. Signed-off-by: Rasmus Villemoes li...@rasmusvillemoes.dk --- mm/mm_init.c | 2 +- 1 file changed, 1

Re: [PATCH v3 14/24] vfio: powerpc/spapr: Register memory

2015-02-02 Thread Alex Williamson
On Thu, 2015-01-29 at 20:21 +1100, Alexey Kardashevskiy wrote: The existing implementation accounts the whole DMA window in the locked_vm counter which is going to be even worse with multiple containers and huge DMA windows. This introduces 2 ioctls to register/unregister DMA memory which

Re: [PATCH v3 05/24] vfio: powerpc/spapr: Move locked_vm accounting to helpers

2015-02-02 Thread Alex Williamson
On Thu, 2015-01-29 at 20:21 +1100, Alexey Kardashevskiy wrote: There moves locked pages accounting to helpers. Later they will be reused for Dynamic DMA windows (DDW). While we are here, update the comment explaining why RLIMIT_MEMLOCK might be required to be bigger than the guest RAM. This

Re: [Patch] sunrpc: NULL utsname dereference on NFS umount during namespace cleanup

2015-02-02 Thread Nix
On 2 Feb 2015, Trond Myklebust verbalised: Hmm... I'm at a loss to see how rpcb_create can ever call rpc_new_client() with a null value for the nodename with that patch applied. Are you 100% sure that the above Oops came from a patched kernel? That IP address of rpc_new_client+0x13b/0x1f2

[PATCH v2] clk: Add tracepoints for hardware operations

2015-02-02 Thread Stephen Boyd
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 supported: on/off events for enable, disable, prepare, unprepare that only record an event and a clock name, rate changing

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

2015-02-02 Thread Paul Bolle
On Mon, 2015-02-02 at 14:27 -0800, Andrew Morton wrote: There are many uses of boolean in lib/Kconfig. Converting just one of them is inefficient and odd. $ git grep -n ^\s*boolean\b next-20150202 -- *Kconfig* next-20150202:drivers/usb/gadget/Kconfig:427: boolean USB Webcam function

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

2015-02-02 Thread Stephen Boyd
On 02/02/15 14:41, Mike Turquette wrote: Quoting Tero Kristo (2015-02-02 11:32:01) On 02/01/2015 11:24 PM, Mike Turquette wrote: 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 with a

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

2015-02-02 Thread Paul Bolle
. $ git grep -n ^\s*boolean\b next-20150202 -- *Kconfig* next-20150202:drivers/usb/gadget/Kconfig:427: boolean USB Webcam function next-20150202:lib/Kconfig:17: boolean What are Christoph and I missing here? akpm3:/usr/src/linux-3.19-rc7 grep boolean lib/Kconfig | wc -l

Re: [PATCH 2/2] f2fs: don't discard next free dnode page for an umount checkpoint

2015-02-02 Thread Jaegeuk Kim
Hi Chao, On Sat, Jan 31, 2015 at 05:06:59PM +0800, Chao Yu wrote: Previously, discard_next_dnode is added before a checkpoint to prevent that we may meet a garbage dnode page readed from next free blkaddr in recover flow. Since f2fs will skip recovery flow for a clean umount image, this

[PATCH 1/5] mm/internal.h: Don't split printk call in two

2015-02-02 Thread Rasmus Villemoes
All users of mminit_dprintk pass a compile-time constant as level, so this just makes gcc emit a single printk call instead of two. Signed-off-by: Rasmus Villemoes li...@rasmusvillemoes.dk --- Notes: Not a huge deal, since the only users are __init or __meminit functions, but even there

Re: [PATCH 1/1 linux-next] fs/ufs/super.c: remove CONFIG_SMP/CONFIG_PREEMPT testing

2015-02-02 Thread Andrew Morton
On Sun, 1 Feb 2015 12:36:57 +0100 Fabian Frederick f...@skynet.be wrote: Let locking subsystem decide on mutex management. ... --- a/fs/ufs/super.c +++ b/fs/ufs/super.c @@ -95,22 +95,18 @@ void lock_ufs(struct super_block *sb) { -#if defined(CONFIG_SMP) || defined

[PATCH 2/5] mm/page_alloc.c: Pull out init code from build_all_zonelists

2015-02-02 Thread Rasmus Villemoes
Pulling the code protected by if (system_state == SYSTEM_BOOTING) into its own helper allows us to shrink .text a little. This relies on build_all_zonelists already having a __ref annotation. Add a comment explaining why so one doesn't have to track it down through git log. Signed-off-by: Rasmus

[PATCH 0/5] mm: Some .text savings

2015-02-02 Thread Rasmus Villemoes
Only compile-tested, but I think these should be ok. Net saving aroung 450 bytes of .text. Rasmus Villemoes (5): mm/internal.h: Don't split printk call in two mm/page_alloc.c: Pull out init code from build_all_zonelists mm/mm_init.c: Mark mminit_verify_zonelist as __init mm/mm_init.c:

[PATCH v3 8/9] clk: samsung: exynos5433: Add clocks for CMU_CAM1 domain

2015-02-02 Thread Chanwoo Choi
This patch adds the mux/divider/gate clocks for CMU_CAM1 domain which generates the clocks for Cortex-A5/MIPI_CSIS2/FIMC-LITE_C/FIMC-FD IPs. Cc: Sylwester Nawrocki s.nawro...@samsung.com Cc: Tomasz Figa tomasz.f...@gmail.com Signed-off-by: Chanwoo Choi cw00.c...@samsung.com Acked-by: Inki Dae

[PATCH v3 5/9] clk: samsung: exynos5433: Add clocks for CMU_HEVC domain

2015-02-02 Thread Chanwoo Choi
This patch adds the mux/divider/gate clocks for CMU_HEVC domain which generates the clocks for HEVC(High Efficiency Video Codec) decoder IP. Cc: Sylwester Nawrocki s.nawro...@samsung.com Cc: Tomasz Figa tomasz.f...@gmail.com Signed-off-by: Chanwoo Choi cw00.c...@samsung.com Acked-by: Inki Dae

[PATCH v3 1/9] clk: samsung: exynos5433: Add clocks for CMU_APOLLO domain

2015-02-02 Thread Chanwoo Choi
This patch adds the mux/divider/gate clocks for CMU_APOLLO domain which generates the clocks for Cortex-A53 Quad-core processsor. Cc: Sylwester Nawrocki s.nawro...@samsung.com Cc: Tomasz Figa tomasz.f...@gmail.com Signed-off-by: Chanwoo Choi cw00.c...@samsung.com Acked-by: Inki Dae

[PATCH v3 0/9] clk: samsung: Add clocks for remaining domains of Exynos5433

2015-02-02 Thread Chanwoo Choi
This patchset adds the support for following clock domains of Exynos5433 and clkout drvier. Following clock domains has clocks for each IP. - CMU_APOLLO : clocks for Cortex-A53 Quad-core processor. - CMU_ATLAS : clocks for Cortex-A57 Quad-core processor, CoreSight and L2 cache

[PATCH v3 3/9] clk: samsung: exynos5433: Add clocks for CMU_MSCL domain

2015-02-02 Thread Chanwoo Choi
This patch adds the mux/divider/gate clocks for CMU_MSCL domain which generates the clocks for M2M (Memory to Memory) scaler, JPEG IPs. Cc: Sylwester Nawrocki s.nawro...@samsung.com Cc: Tomasz Figa tomasz.f...@gmail.com Signed-off-by: Chanwoo Choi cw00.c...@samsung.com Acked-by: Inki Dae

[PATCH v3 4/9] clk: samsung: exynos5433: Add clocks for CMU_MFC domain

2015-02-02 Thread Chanwoo Choi
This patch adds the mux/divider/gate clocks for CMU_MFC domain which generates the clocks for MFC(Multi-Format Codec) IP. Cc: Sylwester Nawrocki s.nawro...@samsung.com Cc: Tomasz Figa tomasz.f...@gmail.com Signed-off-by: Chanwoo Choi cw00.c...@samsung.com Acked-by: Inki Dae inki@samsung.com

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

2015-02-02 Thread Stephen Boyd
On 02/02/15 13:31, Julia Lawall wrote: On Mon, 2 Feb 2015, Stephen Boyd wrote: Julia, Is there a way we can write a coccinelle script to check for this? The goal being to find all drivers that are comparing struct clk pointers or attempting to dereference them. There are probably other

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 4:46 PM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Mon, Feb 02, 2015 at 03:30:21PM -0500, Rob Clark wrote: 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

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

2015-02-02 Thread Pali Rohár
On Monday 02 February 2015 23:27:27 Felipe Balbi wrote: 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

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

2015-02-02 Thread Andrew Morton
On Mon, 02 Feb 2015 23:37:54 +0100 Paul Bolle pebo...@tiscali.nl wrote: On Mon, 2015-02-02 at 14:27 -0800, Andrew Morton wrote: There are many uses of boolean in lib/Kconfig. Converting just one of them is inefficient and odd. $ git grep -n ^\s*boolean\b next-20150202 -- *Kconfig

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

2015-02-02 Thread Randy Dunlap
*boolean\b next-20150202 -- *Kconfig* next-20150202:drivers/usb/gadget/Kconfig:427: boolean USB Webcam function next-20150202:lib/Kconfig:17: boolean What are Christoph and I missing here? akpm3:/usr/src/linux-3.19-rc7 grep boolean lib/Kconfig | wc -l 15 Those are mostly

Re: [PATCH 1/4] Input - synaptics: fix middle button on Lenovo 2015 products

2015-02-02 Thread Dmitry Torokhov
On Wed, Jan 28, 2015 at 03:10:04PM -0500, Benjamin Tissoires wrote: On the X1 Carbon 3rd gen (with a 2015 broadwell cpu), the physical middle button of the trackstick (attached to the touchpad serio device, of course) seems to get lost. Actually, the touchpads reports 3 extra buttons, which

Re: [Patch] sunrpc: NULL utsname dereference on NFS umount during namespace cleanup

2015-02-02 Thread Trond Myklebust
On Mon, Feb 2, 2015 at 12:41 PM, Nix n...@esperi.org.uk wrote: On 31 Jan 2015, n...@esperi.org.uk told this: I'll let it run overnight and give it a reboot in the morning. Alas, my latest reboot hit: [ 215.245158] BUG: unable to handle kernel NULL pointer dereference at 0004 [

Re: [PATCH 1/2] f2fs: don't trigger recovery for normal umount image

2015-02-02 Thread Jaegeuk Kim
Hi Chao, On Sat, Jan 31, 2015 at 04:59:49PM +0800, Chao Yu wrote: Our recovery option is on by default, so we will try to recover data for a normally umounted image when mounting it, but no data will be recovered. So it'd be better to skip the recovery for above condition. No. We should

Re: [PATCH v1 4/7] thermal: introduce the Power Allocator governor

2015-02-02 Thread Lina Iyer
On Wed, Jan 28 2015 at 14:42 -0700, Javi Merino wrote: The power allocator governor is a thermal governor that controls system and device power allocation to control temperature. Conceptually, the implementation divides the sustainable power of a thermal zone among all the heat sources in that

[PATCH 4/5] mm/mm_init.c: Mark mminit_loglevel __meminitdata

2015-02-02 Thread Rasmus Villemoes
mminit_loglevel is only referenced from __init and __meminit functions, so we can mark it __meminitdata. Signed-off-by: Rasmus Villemoes li...@rasmusvillemoes.dk --- mm/mm_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/mm_init.c b/mm/mm_init.c index

[PATCH v3 9/9] clk: samsung: Add CLKOUT driver support for Exynos5433 SoC.

2015-02-02 Thread Chanwoo Choi
From: Inha Song ideal.s...@samsung.com This patch add CLKOUT driver support for Exynos5433 SoC. Signed-off-by: Inha Song ideal.s...@samsung.com Acked-by: Inki Dae inki@samsung.com --- drivers/clk/samsung/clk-exynos-clkout.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH v3 6/9] clk: samsung: exynos5433: Add clocks for CMU_ISP domain

2015-02-02 Thread Chanwoo Choi
This patch adds the mux/divider/gate clocks for CMU_ISP domain which generates the clocks for FIMC-ISP/DRC/SCLC/DIS/3DNR IPs. Cc: Sylwester Nawrocki s.nawro...@samsung.com Cc: Tomasz Figa tomasz.f...@gmail.com Signed-off-by: Chanwoo Choi cw00.c...@samsung.com Acked-by: Inki Dae

[PATCH v3 2/9] clk: samsung: exynos5433: Add clocks for CMU_ATLAS domain

2015-02-02 Thread Chanwoo Choi
This patch adds the mux/divider/gate clocks for CMU_ATLAS domain which generates the clocks for Cortex-A57 Quad-core processsor, L2 cache controller and CoreSight. Cc: Sylwester Nawrocki s.nawro...@samsung.com Cc: Tomasz Figa tomasz.f...@gmail.com Signed-off-by: Chanwoo Choi cw00.c...@samsung.com

[PATCH v11 4/4] ARM: dts: exynos: Add PPMU node for Exynos4412-based TRATS2 board

2015-02-02 Thread Chanwoo Choi
This patch add dt node for PPMU_{DMC0|DMC1|LEFTBUS|RIGHTBUS} for exynos4412-trats2 board. Each PPMU dt node includes one event of 'PPMU Count3'. Cc: Kukjin Kim kg...@kernel.org Cc: Myungjoo Ham myungjoo@samsung.com Cc: Kyungmin Park kyungmin.p...@samsung.com Signed-off-by: Chanwoo Choi

[PATCH v11 1/4] ARM: dts: Add PPMU dt node for Exynos3250 SoC

2015-02-02 Thread Chanwoo Choi
This patch add PPMU (Platform Performance Monitoring Unit) dt node to estimate the utilization of each IP in Exynos SoC throught DEVFREQ Event subsystem. This patch adds following PPMU dt nodes: - PPMU_DMC0 0x106a - PPMU_DMC1 0x106b - PPMU_RIGHTBUS 0x112A - PPMU_LEFTBUS

[PATCH v11 0/4] ARM: dts: Add PPMU dt node for Exynos3250/4

2015-02-02 Thread Chanwoo Choi
This patch adds the PPMU (Platform Performance Profiling Unit) dt node for Exynos{3250|4} SoC. This patch-set send only patches related to exynos dts file from patch[1]. The devfreq-event patches is already merged to linux-pm.git (linux-next branch[2]). [1] https://lkml.org/lkml/2015/1/25/573 -

[PATCH v11 3/4] ARM: dts: exynos: Add PPMU node for Exynos3250-based Rinato/Monk board

2015-02-02 Thread Chanwoo Choi
This patch add PPMU dt node to Exynos3250-base Rinato/Monk board. The PPMU node is used to get the utilization of DMC0/DMC1/LEFTBUS/RIGHTBUS Block. Cc: Kukjin Kim kg...@kernel.org Signed-off-by: Chanwoo Choi cw00.c...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com ---

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