Re: USB autosuspend causing trouble with bluetooth

2015-01-20 Thread Oliver Neukum
On Sun, 2015-01-18 at 17:30 +0400, Kirill Elagin wrote: Hello, Recently I started having issues with my Apple Magic Trackpad and I realised that the problem was with autosuspend. Whenever I have `auto` in `power/control` of my BT adapter, `btmon` shows no packets, nothing. As soon as I

Re: [PATCH] staging: comedi: das1800: prefer kmalloc_array over kmalloc with multiply

2015-01-20 Thread Ian Abbott
On 20/01/15 02:42, Chase Southwood wrote: Checkpatch doesn't like kmalloc with multiply very much: drivers/staging/comedi/drivers/das1800.c:1377: WARNING: Prefer kmalloc_array over kmalloc with multiply So this patch swaps that use out for kmalloc_array instead. Signed-off-by: Chase Southwood

[PATCH 00/36] drm/tegra: Atomic mode-setting conversion

2015-01-20 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com This series converts the Tegra DRM driver to atomic mode-setting. The size of the is somewhat misleading, because a bunch of preparatory work is included. The first patch adds a new function to the clk API that allows checking that setting a parent clock

Re: [dm-devel] [PATCH RESEND] md:Remove no longer needed fix me comment in dm-region-hash.c for removing the structure pointer, *rh from the definiton of dm_region

2015-01-20 Thread Alasdair G Kergon
On Mon, Jan 19, 2015 at 10:16:21PM -0500, Nicholas Krause wrote: Removes the no longer needed fix me comment questioning if we need to remove the structure pointer,rh as defined as a structure of type dsm_region_hash from the definition of the structure, dm_region. Furthermore this pointer is

Re: staging: fbtft: CONFIG_ARCH_BCM2708?

2015-01-20 Thread Noralf Trønnes
Den 20.01.2015 09:46, skrev Paul Bolle: Thomas, Noralf, Your commit c296d5f9957c (staging: fbtft: core support) is included in today's linux-next (ie, next-20150120). I noticed because a script I use to check linux-next spotted a problem in it. See, that commit adds two checks

Re: [PATCHv3 2/8] devfreq: exynos: Add documentation for generic exynos memory bus frequency driver

2015-01-20 Thread Chanwoo Choi
On 01/20/2015 08:22 PM, Viresh Kumar wrote: On 20 January 2015 at 13:53, Chanwoo Choi cw00.c...@samsung.com wrote: But, the frequency of OPPs is only used for devfreq ondemand governor. After deciding the proper frequency of memory bus on ondemand governor, exynos-bus.c (exynos memory bus

Re: [PATCH 2/3] mfd/axp20x: add support for fuel gauge cell driver

2015-01-20 Thread Lee Jones
FYI: It's easier to track patch-sets when they are connected. Please send them as 'threaded'. Take a look at the man page for `git send-email` for more details. mfd/axp20x: add support for fuel gauge cell Register definitions and platform data structure for fuel gauge cell devices.

Re: [PATCH 05/14] mfd: lm3533: Constify struct regmap_config

2015-01-20 Thread Lee Jones
On Mon, 05 Jan 2015, Krzysztof Kozlowski wrote: The regmap_config struct may be const because it is not modified by the driver and regmap_init() accepts pointer to const. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- drivers/mfd/lm3533-core.c | 2 +- 1 file changed, 1

Re: [PATCH 09/14] mfd: retu: Constify struct regmap_config

2015-01-20 Thread Lee Jones
On Mon, 05 Jan 2015, Krzysztof Kozlowski wrote: The regmap_config struct may be const because it is not modified by the driver and regmap_init() accepts pointer to const. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- drivers/mfd/retu-mfd.c | 2 +- 1 file changed, 1

Re: [PATCH 06/14] mfd: max77686: Constify struct regmap_config

2015-01-20 Thread Lee Jones
On Mon, 05 Jan 2015, Krzysztof Kozlowski wrote: The regmap_config struct may be const because it is not modified by the driver and regmap_init() accepts pointer to const. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- drivers/mfd/max77686.c | 6 +++--- 1 file changed, 3

Re: [PATCH tip 4/9] samples: bpf: simple tracing example in eBPF assembler

2015-01-20 Thread Masami Hiramatsu
(2015/01/16 13:16), Alexei Starovoitov wrote: simple packet drop monitor: - in-kernel eBPF program attaches to kfree_skb() event and records number of packet drops at given location - userspace iterates over the map every second and prints stats Hmm, this eBPF assembly macros are very

Re: [PATCH 08/14] mfd: pcf50633: Constify struct regmap_config

2015-01-20 Thread Lee Jones
On Mon, 05 Jan 2015, Krzysztof Kozlowski wrote: The regmap_config struct may be const because it is not modified by the driver and regmap_init() accepts pointer to const. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- drivers/mfd/pcf50633-core.c | 2 +- 1 file changed, 1

Re: [PATCH 07/14] mfd: mc13xxx: i2c/spi: Constify struct regmap_config

2015-01-20 Thread Lee Jones
On Mon, 05 Jan 2015, Krzysztof Kozlowski wrote: The regmap_config struct may be const because it is not modified by the driver and regmap_init() accepts pointer to const. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- drivers/mfd/mc13xxx-i2c.c | 2 +-

[PATCH RESEND] um,ethertap: use strncpy

2015-01-20 Thread Alan
I can't prove the case pointed out in https://bugzilla.kernel.org/show_bug.cgi?id=82341 is correct so let us play safe. Signed-off-by: Alan Cox a...@linux.intel.com --- arch/um/os-Linux/drivers/ethertap_user.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[alsa-devel][PATCH 1/3] SoC: fsl_sai: add sai master mode support

2015-01-20 Thread Zidan Wang
When sai works on master mode, set its bit clock and frame clock. SAI has 4 MCLK source, bus clock, MCLK1, MCLK2 and MCLK3. fsl_sai_set_bclk will select proper MCLK source, then calculate and set the bit clock divider. After fsl_sai_set_bclk, enable the selected mclk in hw_params(), and add

Re: [alsa-devel] [PATCH v2 RESEND 2/2] mfd: arizona: Update DT binding to support OUTn_MONO init_data

2015-01-20 Thread Lee Jones
On Fri, 02 Jan 2015, Inha Song wrote: This patch update DT binding to support OUTn_MONO init_data. Each output signal can be configurated as a mono differential output. The mono differential configuration is selected using the OUTn_MONO registers. This requires a DT Ack and an entry in the

Re: [alsa-devel] [PATCH v2 RESEND 1/2] mfd: arizona: Add support for OUTn_MONO register control

2015-01-20 Thread Lee Jones
DT Ack (for this and the doc) required. Some boards need to set the OUTn_MONO register to configurates the output signal path as a mono differential output. This wlf,out-mono property is optional. If present, values must be specified less than or equal to the number of output signals. If

Re: [PATCH] livepatch: support for repatching a function

2015-01-20 Thread Josh Poimboeuf
On Tue, Jan 20, 2015 at 10:56:33AM +0100, Miroslav Benes wrote: On Fri, 9 Jan 2015, Josh Poimboeuf wrote: +struct klp_ops { + struct list_head node; + struct list_head func_stack; + struct ftrace_ops fops; +}; I think it would be useful to add some comments for this structure

[GIT PULL] MFD fixes for v3.19

2015-01-20 Thread Lee Jones
Hi Linus, The following changes since commit b7392d2247cfe6771f95d256374f1a8e6a6f48d6: Linux 3.19-rc2 (2014-12-28 16:49:37 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git tags/mfd-fixes-3.19 for you to fetch changes up to

Re: [RFC PATCH 5/5] arm: perf: Use FIQ to handle PMU events.

2015-01-20 Thread Daniel Thompson
On 19/01/15 16:35, Joshua Clayton wrote: On Tuesday, January 13, 2015 04:35:31 PM Daniel Thompson wrote: Using FIQ (if it is available) gives perf a better insight into the system by allowing code run with interrupts disabled to be profiled. Signed-off-by: Daniel Thompson

Re: [PATCH] i2c: drop ancient protection against sysfs refcounting issues

2015-01-20 Thread Russell King - ARM Linux
On Tue, Jan 20, 2015 at 03:12:56PM +0800, Greg Kroah-Hartman wrote: On Tue, Jan 20, 2015 at 08:05:20AM +0100, Lars-Peter Clausen wrote: On 01/20/2015 02:41 AM, Greg Kroah-Hartman wrote: On Mon, Jan 19, 2015 at 11:04:27PM +, Russell King - ARM Linux wrote: On Tue, Jan 20, 2015 at

Re: [PATCH 8/8] gpio/mpc8xxx: Use of_mm_gpiochip_remove

2015-01-20 Thread Linus Walleij
On Sun, Jan 18, 2015 at 12:39 PM, Ricardo Ribalda Delgado ricardo.riba...@gmail.com wrote: Since d621e8bae5ac9c67 (Create of_mm_gpiochip_remove), there is a counterpart for of_mm_gpiochip_add. This patch implements the remove function of the driver making use of it. Cc: Linus Walleij

Re: [PATCH 1/1] arch/x86/kvm/vmx.c: Fix external interrupts inject directly bug with guestos RFLAGS.IF=0

2015-01-20 Thread Li Kaihang
From: Paolo Bonzini pbonz...@redhat.com To: Li Kaihang li.kaih...@zte.com.cn, g...@kernel.org, Cc: t...@linutronix.de, mi...@redhat.com, h...@zytor.com, x...@kernel.org, k...@vger.kernel.org, linux-kernel@vger.kernel.org Date: 2015-01-19 下午 11:29 Subject:Re: [PATCH 1/1]

Re: [PATCH 08/17] ARM: at91: stop using HAVE_AT91_DBGUx

2015-01-20 Thread Nicolas Ferre
Le 15/01/2015 22:58, Alexandre Belloni a écrit : In order to remove SOC_SAM9xxx options, stop using HAVE_AT91_DBGUx. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/Kconfig.debug | 6 +++--- arch/arm/mach-at91/Kconfig | 19 --- 2

[PATCH 35/36] drm/tegra: Track tiling and format in plane state

2015-01-20 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com Tracking these in the plane state allows them to be computed in the -atomic_check() callback and reused when applying the configuration in -atomic_update(). Signed-off-by: Thierry Reding tred...@nvidia.com --- drivers/gpu/drm/tegra/dc.c | 127

[PATCH 27/36] drm/tegra: dsi: Implement -atomic_check()

2015-01-20 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com The implementation of the -atomic_check() callback precomputes all parameters to check if the given configuration can be applied. If so the precomputed values are stored in the atomic state object for the encoder and applied during modeset. In that way the

[PATCH 22/36] drm/tegra: Atomic conversion, phase 1

2015-01-20 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com Implement initial atomic state handling. Hook up the CRTCs, planes' and connectors' -atomic_destroy_state() callback to ensure that the atomic state objects don't leak. Furthermore the CRTC now implements the -mode_set_nofb() callback that is used by new

[PATCH 29/36] drm/tegra: sor: Implement -atomic_check()

2015-01-20 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com The implementation of the -atomic_check() callback precomputes all parameters to check if the given configuration can be applied. If so the precomputed values are stored in the atomic state object for the encoder and applied during modeset. In that way the

[PATCH 34/36] drm/tegra: Track active planes in CRTC state

2015-01-20 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com Wrap struct drm_crtc_state in a driver-specific structure and add the planes field which keeps track of which planes are updated or disabled during a modeset. This allows atomic updates of the the display engine at -atomic_flush() time. Signed-off-by:

[PATCH 14/36] drm/tegra: rgb: Demidlayer

2015-01-20 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com Implement encoder and connector within the RGB driver itself using the Tegra output helpers rather than using the Tegra output as midlayer. By doing so one level of indirection is removed and output drivers become more flexible while keeping the majority of

[PATCH 09/36] drm/tegra: Move tegra_drm_mode_funcs to the core

2015-01-20 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com This structure will be extended using non-framebuffer related callbacks in subsequent patches, so it should move to a more central location. Signed-off-by: Thierry Reding tred...@nvidia.com --- drivers/gpu/drm/tegra/drm.c | 15 +++

[PATCH 01/36] clk: Introduce clk_try_parent()

2015-01-20 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com This new function is similar to clk_set_parent(), except that it doesn't actually change the parent. It merely checks that the given parent clock can be a parent for the given clock. A situation where this is useful is to check that a particular setup is

[PATCH 11/36] drm/tegra: Convert output midlayer to helpers

2015-01-20 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com The output layer was initially designed to help reduce the amount of code duplicated in output drivers. An unfortunate side-effect of that was that it turned into a midlayer and it became difficult to make the output drivers work without bending over

[PATCH 15/36] drm/tegra: hdmi: Demidlayer

2015-01-20 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com Implement encoder and connector within the HDMI driver itself using the Tegra output helpers rather than using the Tegra output as midlayer. By doing so one level of indirection is removed and output drivers become more flexible while keeping the majority

Re: [PATCH v7 06/17] ARM64 / ACPI: Make PCI optional for ACPI on ARM64

2015-01-20 Thread Catalin Marinas
On Tue, Jan 20, 2015 at 02:39:16AM +, Hanjun Guo wrote: On 2015年01月19日 18:42, Catalin Marinas wrote: On Sun, Jan 18, 2015 at 06:25:53AM +, Hanjun Guo wrote: On 2015年01月16日 17:49, Catalin Marinas wrote: On Wed, Jan 14, 2015 at 03:04:54PM +, Hanjun Guo wrote: ---

RE: [PATCH v2 07/11] powerpc/8xx: macro for handling CPU15 errata

2015-01-20 Thread David Laight
From Christophe Leroy Having a macro will help keep clear code. It might remove an #if but it doesn't really help. All it means is that anyone reading the code has to hunt for the definition before proceeding. Some comment about what (and why) the extra code is needed might help. ... +

Re: [PATCH/RFC v10 06/19] mfd: max77693: modifications around max77693_led_platform_data

2015-01-20 Thread Lee Jones
On Fri, 09 Jan 2015, Jacek Anaszewski wrote: 1. Rename max77693_led_platform_data to max77693_led_config_data to avoid making impression that the led driver expects a board file - it relies on Device Tree data. 2. Remove fleds array, as the DT binding design has changed 3. Add label

Re: [PATCH] idle/tick-broadcast: Exit cpu idle poll loop when cleared from tick_broadcast_force_mask

2015-01-20 Thread Preeti U Murthy
On 01/20/2015 04:51 PM, Thomas Gleixner wrote: On Mon, 19 Jan 2015, Preeti U Murthy wrote: An idle cpu enters cpu_idle_poll() if it is set in the tick_broadcast_force_mask. This is so that it does not incur the overhead of entering idle states when it is expected to be woken up anytime

Re: [PATCH] i2c: drop ancient protection against sysfs refcounting issues

2015-01-20 Thread Wolfram Sang
Right, and I'm not saying it should be, just move the existing logic into the release callback, and the code flow should be the same and we don't end up with an empty release callback. But as Russell says, even if we don't have the empty callback, we still create the problem shown by

[PATCH V4] mm/thp: Allocate transparent hugepages on local node

2015-01-20 Thread Aneesh Kumar K.V
This make sure that we try to allocate hugepages from local node if allowed by mempolicy. If we can't, we fallback to small page allocation based on mempolicy. This is based on the observation that allocating pages on local node is more beneficial than allocating hugepages on remote node. With

RE: [PATCH v2 07/11] powerpc/8xx: macro for handling CPU15 errata

2015-01-20 Thread David Laight
From: leroy Le 20/01/2015 12:09, David Laight a écrit : From Christophe Leroy Having a macro will help keep clear code. It might remove an #if but it doesn't really help. All it means is that anyone reading the code has to hunt for the definition before proceeding. Some comment

Re: [PATCH 34/36] drm/tegra: Track active planes in CRTC state

2015-01-20 Thread Thierry Reding
On Tue, Jan 20, 2015 at 12:18:45PM +0100, Daniel Vetter wrote: On Tue, Jan 20, 2015 at 11:48:53AM +0100, Thierry Reding wrote: From: Thierry Reding tred...@nvidia.com Wrap struct drm_crtc_state in a driver-specific structure and add the planes field which keeps track of which planes are

Re: [PATCH 1/3] mfd/axp20x: change battery cell name to fuel gauge

2015-01-20 Thread Lee Jones
On Wed, 07 Jan 2015, Todd E Brandt wrote: mfd/axp20x: change battery cell name to fuel gauge Name changes to the battery cell structure to a more generic cell type: fuel gauge. Signed-off-by: Todd Brandt todd.e.bra...@intel.com drivers/mfd/axp20x.c | 10 +- 1 file

perf data convert error

2015-01-20 Thread Divya Vyas
Hi, I am getting one error while converting the perf.data to CTF format . ./perf data convert -i perf.data --to-ctf dv_ctf ./perf: symbol lookup error: ./perf: undefined symbol: bt_ctf_stream_class_get_packet_context_type While I created perf binary and below is the output : make DEBUG=1

Re: [PATCH 11/14] mfd: tps65217: Constify struct regmap_config

2015-01-20 Thread Lee Jones
On Mon, 05 Jan 2015, Krzysztof Kozlowski wrote: The regmap_config struct may be const because it is not modified by the driver and regmap_init() accepts pointer to const. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com Cc: Tony Lindgren t...@atomide.com Cc:

Re: [PATCH 12/14] mfd: tps65218: Constify struct regmap_config

2015-01-20 Thread Lee Jones
On Mon, 05 Jan 2015, Krzysztof Kozlowski wrote: The regmap_config struct may be const because it is not modified by the driver and regmap_init() accepts pointer to const. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com Cc: Tony Lindgren t...@atomide.com Cc:

Re: [PATCH 10/14] mfd: smsc-ece1099: Constify struct regmap_config

2015-01-20 Thread Lee Jones
On Mon, 05 Jan 2015, Krzysztof Kozlowski wrote: The regmap_config struct may be const because it is not modified by the driver and regmap_init() accepts pointer to const. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- drivers/mfd/smsc-ece1099.c | 2 +- 1 file changed, 1

[PATCH 1/2] i2c: tegra: Maintain CPU endianness

2015-01-20 Thread Dmitry Osipenko
Support CPU BE mode by adding endianness conversion for memcpy interactions. Signed-off-by: Dmitry Osipenko dig...@gmail.com --- drivers/i2c/busses/i2c-tegra.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/i2c/busses/i2c-tegra.c b/drivers/i2c/busses/i2c-tegra.c index

Re: [PATCH RESEND] um,ethertap: use strncpy

2015-01-20 Thread Geert Uytterhoeven
On Tue, Jan 20, 2015 at 1:11 PM, Alan gno...@lxorguk.ukuu.org.uk wrote: I can't prove the case pointed out in https://bugzilla.kernel.org/show_bug.cgi?id=82341 is correct so let us play safe. Signed-off-by: Alan Cox a...@linux.intel.com --- arch/um/os-Linux/drivers/ethertap_user.c |2

Re: [PATCH 0/2] x86: earlyprintk cleanup

2015-01-20 Thread Alexander Kuleshov
Hello Thomas, 2015-01-20 16:29 GMT+06:00 Thomas Gleixner t...@linutronix.de: On Mon, 19 Jan 2015, Alexander Kuleshov wrote: The following two patches remove unused macro definitions from early_serial_console and early_printk x86 code. Sigh. These mechanical 'follow the output of some code

Re: [PATCH v3 1/1] mfd: intel_quark_i2c_gpio: Add Intel Quark X1000 I2C-GPIO MFD Driver

2015-01-20 Thread Lee Jones
On Thu, 11 Dec 2014, Raymond Tan wrote: In Quark X1000, there's a single PCI device that provides both an I2C controller and a GPIO controller. This MFD driver will split the 2 devices for their respective drivers. This patch is based on Josef Ahmad's initial work for Quark enabling.

Re: [PATCH RFC 0/6] epoll: Introduce new syscall epoll_mod_wait

2015-01-20 Thread Michael Kerrisk (man-pages)
Hello Fam Zheng, I know this API has been through a number of iterations, and there were discussions about the design that led to it becoming more complex. But, let us assume that someone has not seen those discussions, or forgotten them, or is too lazy to go hunting list archives. Then: this

Re: [PATCH v9 12/14] x86: perf: intel_pt: Intel PT PMU driver

2015-01-20 Thread Alexander Shishkin
Alexander Shishkin alexander.shish...@linux.intel.com writes: Peter Zijlstra pet...@infradead.org writes: On Wed, Jan 14, 2015 at 02:18:21PM +0200, Alexander Shishkin wrote: +static __init int pt_init(void) +{ + pt_pmu.pmu.attr_groups = pt_attr_groups; + pt_pmu.pmu.task_ctx_nr =

Re: [alsa-devel] [PATCH v2 RESEND 2/2] mfd: arizona: Update DT binding to support OUTn_MONO init_data

2015-01-20 Thread Mark Brown
On Tue, Jan 20, 2015 at 12:20:05PM +, Lee Jones wrote: On Fri, 02 Jan 2015, Inha Song wrote: This patch update DT binding to support OUTn_MONO init_data. Each output signal can be configurated as a mono differential output. The mono differential configuration is selected using the

Re: [PATCH 2/8] soc: Add MediaTek pericfg controller support

2015-01-20 Thread Sascha Hauer
Hi Joe, On Tue, Jan 20, 2015 at 09:18:30PM +0800, Yingjoe Chen wrote: On Tue, 2015-01-20 at 10:47 +0100, Sascha Hauer wrote: ... diff --git a/drivers/soc/mediatek/mtk-pericfg.c b/drivers/soc/mediatek/mtk-pericfg.c index b7ee902..aa9a7eb 100644 --- a/drivers/soc/mediatek/mtk-pericfg.c

Re: [PATCH 2/5] mm, compaction: simplify handling restart position in free pages scanner

2015-01-20 Thread Zhang Yanfei
Hello, 在 2015/1/19 18:05, Vlastimil Babka 写道: Handling the position where compaction free scanner should restart (stored in cc-free_pfn) got more complex with commit e14c720efdd7 (mm, compaction: remember position within pageblock in free pages scanner). Currently the position is updated in

Re: [patch] mm: memcontrol: default hierarchy interface for memory fix - none

2015-01-20 Thread Michal Hocko
On Sat 17-01-15 10:21:47, Johannes Weiner wrote: The none name for the low-boundary 0 and the high-boundary maximum value can be confusing. Just leave the low boundary at 0, and give the highest-possible boundary value the name max that means the same for controls. max might be confusing as

Re: [PATCH] mfd: omap-usb-host: Remove some unused functions

2015-01-20 Thread Lee Jones
On Sun, 04 Jan 2015, Rickard Strandqvist wrote: Removes some functions that are not used anywhere: usbhs_readb() usbhs_writeb() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se

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

2015-01-20 Thread Michael Kerrisk (man-pages)
On 01/16/2015 08:16 PM, Greg Kroah-Hartman wrote: From: Daniel Mack dan...@zonque.org kdbus is a system for low-latency, low-overhead, easy to use interprocess communication (IPC). The interface to all functions in this driver is implemented via ioctls on files exposed through a

Re: [PATCH 3.19 v4 1/2] x86, mpx: Short-circuit the instruction decoder for unexpected opcodes

2015-01-20 Thread Thomas Gleixner
On Tue, 13 Jan 2015, Andy Lutomirski wrote: This reduces the degree to which we're exposing the instruction decoder to malicious user code at very little complexity cost. Signed-off-by: Andy Lutomirski l...@amacapital.net --- arch/x86/mm/mpx.c | 25 - 1 file

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

2015-01-20 Thread Michael Kerrisk (man-pages)
On 01/16/2015 08:16 PM, Greg Kroah-Hartman wrote: From: Daniel Mack dan...@zonque.org kdbus is a system for low-latency, low-overhead, easy to use interprocess communication (IPC). The interface to all functions in this driver is implemented via ioctls on files exposed through a

Re: [PATCH v2] mfd: max77686/802: Remove support for board files

2015-01-20 Thread Lee Jones
On Mon, 29 Dec 2014, Krzysztof Kozlowski wrote: The driver is used only on Exynos based boards with DTS support. After removal of board file support from max77686 and max77802 regulator drivers, the MFD driver can be converted to DTS-only version. This simplifies a little the code: 1. No

Re: [PATCH] dmaengine: dw: support for clockless platforms

2015-01-20 Thread Andy Shevchenko
On Tue, 2015-01-20 at 14:57 +0200, Heikki Krogerus wrote: When requesting clock in the platform driver, leaving chip-clk value as NULL if -ENOENT is returned, and continue. With other errors returning failure. It makes the driver usable on platforms that do not provide the clock.

[PATCH] of: Custom printk format specifier for device node

2015-01-20 Thread Pantelis Antoniou
90% of the usage of device node's full_name is printing it out in a kernel message. Preparing for the eventual delayed allocation introduce a custom printk format specifier that is both more compact and more pleasant to the eye. For instance typical use is: pr_info(Frobbing node %s\n,

Re: [LTP] The Linux Test Project has been released for JANUARY 2015

2015-01-20 Thread Cyril Hrubis
Hi! Most of the failures comes from EBUSY while trying to umount filesystems. Do you have gvfsd-trash running? That thing is known to probe newly mounted filesystems preventing them from being unmounted for a certain amount of time. Yupp, that popped up. How can I disable that gvfsd

Re: [PATCH 3/5] mm, compaction: encapsulate resetting cached scanner positions

2015-01-20 Thread Zhang Yanfei
在 2015/1/19 18:05, Vlastimil Babka 写道: Reseting the cached compaction scanner positions is now done implicitly in __reset_isolation_suitable() and compact_finished(). Encapsulate the functionality in a new function reset_cached_positions() and call it explicitly where needed. Signed-off-by:

Re: [PATCH v5 4/5] mfd/regulator: dt-bindings: max77686: Document gpio properties

2015-01-20 Thread Lee Jones
On Mon, 05 Jan 2015, Krzysztof Kozlowski wrote: Document usage of maxim,ena-gpios properties which turn on external/GPIO control over regulator. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- Documentation/devicetree/bindings/mfd/max77686.txt | 14 ++ 1 file

Re: [PATCH v3 1/1] mfd: intel_quark_i2c_gpio: Add Intel Quark X1000 I2C-GPIO MFD Driver

2015-01-20 Thread Shevchenko, Andriy
On Tue, 2015-01-20 at 12:47 +, Lee Jones wrote: On Thu, 11 Dec 2014, Raymond Tan wrote: [] +static const struct i2c_mode_info platform_i2c_mode_info[] = { + { + .name = Galileo, + .i2c_scl_freq = 10, + }, + { + .name = GalileoGen2, +

Re: [PATCH 11/11] usb: core: fix a race with usb_queue_reset_device()

2015-01-20 Thread Oliver Neukum
On Tue, 2015-01-20 at 13:29 +0100, Olivier Sobrie wrote: When usb_queue_reset() is called it schedules a work in view of resetting the usb interface. When the reset work is running, it can be scheduled again (e.g. by the usb disconnect method of the driver). Consider that the reset work is

Re: [PATCH v3 00/13] Add kdbus implementation

2015-01-20 Thread Michael Kerrisk (man-pages)
On 01/16/2015 08:16 PM, Greg Kroah-Hartman wrote: kdbus is a kernel-level IPC implementation that aims for resemblance to the the protocol layer with the existing userspace D-Bus daemon while enabling some features that couldn't be implemented before in userspace. The documentation in the

Re: [PATCH 0/2] x86: earlyprintk cleanup

2015-01-20 Thread Thomas Gleixner
On Tue, 20 Jan 2015, Alexander Kuleshov wrote: 2015-01-20 16:29 GMT+06:00 Thomas Gleixner t...@linutronix.de: On Mon, 19 Jan 2015, Alexander Kuleshov wrote: The following two patches remove unused macro definitions from early_serial_console and early_printk x86 code. Sigh. These

Re: USB autosuspend causing trouble with bluetooth

2015-01-20 Thread Oliver Neukum
On Tue, 2015-01-20 at 16:18 +0400, Kirill Elagin wrote: I use a Logitech wireless keyboard (with a Unifying receiver) and it keeps working fine even with `auto`. That is, everything is OK if the receiver is plugged before `power/control` is switched to `auto`. Wait. There is no

[PATCH] staging: dgnc: warning line over 80 characters

2015-01-20 Thread Mohamed Lotfy Hammad
This patch fixes the following checkpatch.pl warning: fix line over 80 characters Signed-off-by: Mohamed Lotfy Hammad mohamed.lotfy.ham...@gmail.com --- drivers/staging/dgnc/dgnc_driver.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git

Re: [RFC PATCHv2 07/19] mfd: ab8500: Use power_supply_*() API for accessing function attrs

2015-01-20 Thread Krzysztof Kozlowski
On wto, 2015-01-20 at 13:36 +, Lee Jones wrote: On Mon, 05 Jan 2015, Krzysztof Kozlowski wrote: Replace direct calls to power supply function attributes with wrappers. Wrappers provide safe access in case of unregistering the power supply (e.g. by removing the driver). Replace: -

Re: [patch] mm: memcontrol: default hierarchy interface for memory fix - high reclaim

2015-01-20 Thread Johannes Weiner
On Tue, Jan 20, 2015 at 02:25:19PM +0100, Michal Hocko wrote: On Sat 17-01-15 10:21:19, Johannes Weiner wrote: High limit reclaim can currently overscan in proportion to how many charges are happening concurrently. Tone it down such that charges don't target the entire high-boundary

Re: [PATCH v1 0/4] mfd: reorganize Intel drivers

2015-01-20 Thread Andy Shevchenko
On Tue, 2015-01-20 at 13:48 +, Lee Jones wrote: On Thu, 11 Dec 2014, Andy Shevchenko wrote: This patchset creates a new folder under drivers/mfd and moves there Intel related drivers. There is no functional change. The names of the kernel configuration variables are kept the

Re: [PATCH 1/3] x86, fpu: __kernel_fpu_begin() should clear fpu_owner_task even if use_eager_fpu()

2015-01-20 Thread Rik van Riel
On 01/19/2015 01:51 PM, Oleg Nesterov wrote: __kernel_fpu_begin() does nothing if !__thread_has_fpu() use_eager_fpu(), perhaps it assumes that this case is simply impossible. This is certainly not possible if in_interrupt() == T; interrupted_user_mode() should have FPU, and

Re: [patch] mm: memcontrol: default hierarchy interface for memory fix - none

2015-01-20 Thread Johannes Weiner
On Tue, Jan 20, 2015 at 02:37:11PM +0100, Michal Hocko wrote: On Sat 17-01-15 10:21:47, Johannes Weiner wrote: The none name for the low-boundary 0 and the high-boundary maximum value can be confusing. Just leave the low boundary at 0, and give the highest-possible boundary value the

Re: [PATCH/RFC v10 09/19] DT: Add documentation for the mfd Maxim max77693

2015-01-20 Thread Jacek Anaszewski
On 01/20/2015 12:21 PM, Lee Jones wrote: On Fri, 09 Jan 2015, Jacek Anaszewski wrote: This patch adds device tree binding documentation for the flash cell of the Maxim max77693 multifunctional device. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Signed-off-by: Andrzej Hajda

Re: [patch] mm: memcontrol: default hierarchy interface for memory fix - none

2015-01-20 Thread Michal Hocko
On Tue 20-01-15 09:30:02, Johannes Weiner wrote: [...] Another possibility would be infinity, yes infinity definitely sounds much better to me. -- Michal Hocko SUSE Labs -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [PATCH] mfd: da9052-core: Fix platform-device id collision

2015-01-20 Thread Lee Jones
On Tue, 23 Dec 2014, Fabio Estevam wrote: On Wed, Dec 10, 2014 at 10:11 AM, Lee Jones lee.jo...@linaro.org wrote: My train of thought was that the original configuration has not changed since 2011. I guess other regulators have been recently introduced. Very well, applied to -fixes.

Re: [PATCH v4 2/6] mfd: MT6397: Add support for PMIC MT6397 MFD

2015-01-20 Thread Sascha Hauer
Hi Lee, On Tue, Jan 20, 2015 at 02:43:09PM +, Lee Jones wrote: On Fri, 26 Dec 2014, Flora Fu wrote: Add core files for MT6397 MFD driver. Signed-off-by: Flora Fu flora...@mediatek.com --- drivers/mfd/Kconfig | 10 + drivers/mfd/Makefile | 1

[PATCH] mtd: nand: use hrtimer to measure timeout in nand_wait{_ready}

2015-01-20 Thread Niklas Cassel
Previous, jiffy-based, implementation had three issues: 1. For low HZ values (100 and =50) the timeout would be 1 jiffy, which can cause premature timeouts if a timer interrupt happens right after the timeo value is assigned. 2. For very low HZ values the timeout is 0 jiffies, which also

Re: [PATCH v5 5/5] tty/serial: Add Spreadtrum sc9836-uart driver support

2015-01-20 Thread Peter Hurley
On 01/20/2015 07:11 AM, Orson Zhai wrote: Hi, Peter, Thank you for reviewing our code! Some discussion below. On 2015年01月16日 23:20, Peter Hurley wrote: On 01/16/2015 05:00 AM, Chunyan Zhang wrote: Add a full sc9836-uart driver for SC9836 SoC which is based on the spreadtrum sharkl64

Re: [PATCH v1 0/4] mfd: reorganize Intel drivers

2015-01-20 Thread Lee Jones
On Thu, 11 Dec 2014, Andy Shevchenko wrote: This patchset creates a new folder under drivers/mfd and moves there Intel related drivers. There is no functional change. The names of the kernel configuration variables are kept the same. Can you explain to me why you think the Intel drivers

Re: [PATCH] ARM: clocksource: add asm9260_timer driver

2015-01-20 Thread Daniel Lezcano
On 01/08/2015 10:07 AM, Oleksij Rempel wrote: In some cases asm9260 looks similar to iMX2x. One of exceptions is timer controller. So this patch introduces new driver for this special case. Signed-off-by: Oleksij Rempel li...@rempel-privat.de Acked-by: Daniel Lezcano daniel.lezc...@linaro.org

Re: [PATCH 1/2] clk: exynos5420: Add IDs for clocks used in DISP1 power domain

2015-01-20 Thread Sylwester Nawrocki
Hi, On 20/01/15 11:35, Javier Martinez Canillas wrote: When a power domain is powered off on Exynos5420 SoC, the input clocks of the devices attached to this power domain are re-parented to oscclk and restored to the original parent after powering on the power domain. So a reference to the

Re: [PATCH 001/001] usbhid: Fix initialisation and force effect modifications for the Microsoft Sidewinder Force Feedback Pro 2 joystick

2015-01-20 Thread Benjamin Tissoires
Hi, Jim, in addition to what Alan said, here are some comments that I would like to be fixed in the v2. On Sun, Jan 18, 2015 at 11:07 AM, Jim Keir jimk...@oracledbadirect.com wrote: From: Jim Keir jimk...@yahoo.co.uk Signed-off-by: Jim Keir jimk...@yahoo.co.uk The Signed-off-by line is

Re: [PATCH v8 3/3] regulator: qcom-rpm: Add missing state flag in call to RPM

2015-01-20 Thread Lee Jones
Mark, Do you want a pull-request for this, or can I absorb it right into my tree? This adds the missing state parameter to the call down to the RPM. This is currently hard coded to the active state, as that's all we're supporting at this moment. Signed-off-by: Bjorn Andersson

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

2015-01-20 Thread Josh Boyer
On Tue, Jan 20, 2015 at 9:31 AM, David Herrmann dh.herrm...@gmail.com wrote: Hi Michael On Tue, Jan 20, 2015 at 2:53 PM, Michael Kerrisk (man-pages) mtk.manpa...@gmail.com wrote: On 01/16/2015 08:16 PM, Greg Kroah-Hartman wrote: From: Daniel Mack dan...@zonque.org kdbus is a system for

Re: [PATCH 1/3 V3] acpi:soc: merge common codes for creating platform device

2015-01-20 Thread Rafael J. Wysocki
On Thursday, December 18, 2014 04:44:45 PM Ken Xue wrote: This patch is supposed to deliver some common codes for AMD APD and intel LPSS. It can help to convert some specific acpi devices to be platform devices. Signed-off-by: Ken Xue ken@amd.com Mika, is the v3 fine with you? ---

Re: [PATCH 11/11] usb: core: fix a race with usb_queue_reset_device()

2015-01-20 Thread Olivier Sobrie
Hi Oliver, On Tue, Jan 20, 2015 at 02:48:37PM +0100, Oliver Neukum wrote: On Tue, 2015-01-20 at 13:29 +0100, Olivier Sobrie wrote: When usb_queue_reset() is called it schedules a work in view of resetting the usb interface. When the reset work is running, it can be scheduled again (e.g. by

Re: [Linaro-acpi] [PATCH v7 06/17] ARM64 / ACPI: Make PCI optional for ACPI on ARM64

2015-01-20 Thread Catalin Marinas
On Tue, Jan 20, 2015 at 12:26:57PM +, Tomasz Nowicki wrote: On 20.01.2015 12:00, Catalin Marinas wrote: On Tue, Jan 20, 2015 at 02:39:16AM +, Hanjun Guo wrote: On 2015年01月19日 18:42, Catalin Marinas wrote: On Sun, Jan 18, 2015 at 06:25:53AM +, Hanjun Guo wrote: On 2015年01月16日

Re: [PATCH for v3.19, v2] Avoid that sd_shutdown() triggers a kernel warning

2015-01-20 Thread Alan Stern
On Wed, 14 Jan 2015, Christoph Hellwig wrote: On Mon, Jan 12, 2015 at 11:29:15AM -0500, Alan Stern wrote: This seems like a good idea and the obvious (once it has been pointed out!) approach. Perhaps not directly related to the issue at hand is this question: In scsi_rescan_device()

Re: [PATCH 04/11] hso: fix memory leak in hso_create_rfkill()

2015-01-20 Thread Olivier Sobrie
On Tue, Jan 20, 2015 at 02:13:17PM +0100, Oliver Neukum wrote: On Tue, 2015-01-20 at 13:29 +0100, Olivier Sobrie wrote: When the rfkill interface was created, a buffer containing the name of the rfkill node was allocated. This buffer was never freed when the device disappears. To fix

Re: [PATCH] TaskTracker : Simplified thread information tracker.

2015-01-20 Thread Tetsuo Handa
Richard Guy Briggs wrote: It also occurs to me that the pid_t of that process in init PID namespace would be useful for each entry. Me too. I added it. Steve Grubb wrote: As for the date-stamping bits, they seem to be the majority of the code in audit_update_history(). I'd just emit a

Re: [PATCH 2/5] mm, compaction: simplify handling restart position in free pages scanner

2015-01-20 Thread Vlastimil Babka
On 01/20/2015 02:27 PM, Zhang Yanfei wrote: Hello, 在 2015/1/19 18:05, Vlastimil Babka 写道: @@ -883,6 +883,8 @@ static void isolate_freepages(struct compact_control *cc) nr_freepages += isolated; /* + * If we isolated enough freepages, or aborted due

Re: [RFC PATCHv2 07/19] mfd: ab8500: Use power_supply_*() API for accessing function attrs

2015-01-20 Thread Lee Jones
On Mon, 05 Jan 2015, Krzysztof Kozlowski wrote: Replace direct calls to power supply function attributes with wrappers. Wrappers provide safe access in case of unregistering the power supply (e.g. by removing the driver). Replace: - get_property - power_supply_get_property Signed-off-by:

Re: [RFC PATCHv2 18/19] mfd: ab8500: Decrement the power supply's device reference counter

2015-01-20 Thread Lee Jones
On Mon, 05 Jan 2015, Krzysztof Kozlowski wrote: Use power_supply_put() to decrement the power supply's device reference counter. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com Acked-by: Pavel Machek pa...@ucw.cz Acked-by: Linus Walleij linus.wall...@linaro.org Acked-by: Lee

[tip:x86/urgent] x86: Don' t rely on VMWare emulating PAT MSR correctly

2015-01-20 Thread tip-bot for Juergen Gross
Commit-ID: 9d34cfdf47963905d792ae9c000efa522739abe4 Gitweb: http://git.kernel.org/tip/9d34cfdf47963905d792ae9c000efa522739abe4 Author: Juergen Gross jgr...@suse.com AuthorDate: Mon, 12 Jan 2015 06:15:45 +0100 Committer: Thomas Gleixner t...@linutronix.de CommitDate: Tue, 20 Jan 2015

<    1   2   3   4   5   6   7   8   9   10   >