Re: [PATCH 2/2] HID: i2c-hid: Add support for GPIO interrupts

2015-01-26 Thread Mark Rutland
On Mon, Jan 26, 2015 at 03:16:37PM +, Mika Westerberg wrote: On Mon, Jan 26, 2015 at 02:50:01PM +, Mark Rutland wrote: On Mon, Jan 26, 2015 at 02:47:29PM +, Mika Westerberg wrote: On Mon, Jan 26, 2015 at 02:37:24PM +, Mark Rutland wrote: On Mon, Jan 26, 2015 at 02:29:33PM

Re: [PATCH] staging: rtl8188eu: core: rtw_wlan_util.c: Fix for NULL dereference

2015-01-26 Thread Julia Lawall
On Mon, 26 Jan 2015, Julia Lawall wrote: On Mon, 26 Jan 2015, Kumar Amit Mehta wrote: In rtw_check_bcn_info(), check the return value of kzalloc() before dereferencing it, to avoid NULL pointer dereference. Signed-off-by: Kumar Amit Mehta gmate.a...@gmail.com ---

Re: [PATCH ftrace/core v6 4/5] kprobes: Set IPMODIFY flag only if the probe can change regs-ip

2015-01-26 Thread Petr Mladek
On Fri 2014-11-21 05:25:30, Masami Hiramatsu wrote: Set FTRACE_OPS_FL_IPMODIFY flag only for the probes which can change regs-ip, which has kprobe-break_handler. Currently we can not put jprobe and another ftrace handler which changes regs-ip on the same function because all kprobes have

Re: [PATCH v3] ARM: zynq: DT: Add USB to device tree

2015-01-26 Thread Andreas Färber
Am 26.01.2015 um 16:50 schrieb Sören Brinkmann: On Mon, 2015-01-26 at 10:35AM +0100, Andreas Färber wrote: Am 26.01.2015 um 09:33 schrieb Andreas Färber: Am 26.01.2015 um 09:23 schrieb Michal Simek: On 01/26/2015 09:19 AM, Andreas Färber wrote: And if I apply it to my -next based tree, adding

Re: [RFC][PATCH 2/3] perf: Add a bit of paranoia

2015-01-26 Thread Peter Zijlstra
On Fri, Jan 23, 2015 at 01:52:01PM +0100, Peter Zijlstra wrote: @@ -1442,6 +1450,10 @@ event_sched_out(struct perf_event *event { u64 tstamp = perf_event_time(event); u64 delta; + + WARN_ON_ONCE(event-ctx != ctx); + lockdep_assert_held(ctx-lock); + /* *

[PATCH 4/9] coresight: remove the extra spaces

2015-01-26 Thread mathieu . poirier
From: Kaixu Xia xiaka...@huawei.com There are some extra spaces, so just remove them from these lines. Signed-off-by: Kaixu Xia xiaka...@huawei.com Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org --- drivers/coresight/coresight-etb10.c | 2 +- drivers/coresight/coresight.c | 2

[PATCH 1/9] coresight: fix the replicator subtype value

2015-01-26 Thread mathieu . poirier
From: Kaixu Xia xiaka...@huawei.com According to the classification, the type of replicator is link, so the subtype should also be link_subtype. Signed-off-by: Kaixu Xia xiaka...@huawei.com Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org --- drivers/coresight/coresight-replicator.c |

[PATCH 0/9] coresight: next

2015-01-26 Thread mathieu . poirier
From: Mathieu Poirier mathieu.poir...@linaro.org Good day, These are the latest additions to the coresight sub-system. Please consider for inclusion. Thanks, Mathieu Kaixu Xia (7): coresight: fix the replicator subtype value coresight: remove the unnecessary replicator property

Re: N900 v3.19-rc5 arm atags_to_fdt.c is broken

2015-01-26 Thread Pali Rohár
On Monday 26 January 2015 17:14:55 Tony Lindgren wrote: * Pali Rohár pali.ro...@gmail.com [150123 14:39]: On Friday 23 January 2015 22:39:55 Pali Rohár wrote: Hello, when I boot zImage with appended DT n900 in qemu fdt_open_into() function called from file

[PATCH v2 1/2] pm: at91: pm_slowclock: fix suspend/resume hang up in timeouts

2015-01-26 Thread Sylvain Rochet
Removed timeout on XTAL, PLL lock and Master Clock Ready, hang if something went wrong instead of continuing in unknown condition. There is not much we can do if a PLL lock never ends, we are running in SRAM and we will not be able to connect back the sdram or ddram in order to be able to fire up

[PATCH v2 2/2] pm: at91: pm_slowclock: remove clocks which are already stopped when entering slow clock mode

2015-01-26 Thread Sylvain Rochet
Assume USB PLL and PLL B are already stopped before entering sleep mode, print a warning if this isn't the case. Removed PLL B from slow clock code, all drivers are supposed to properly unprepare clocks. Signed-off-by: Sylvain Rochet sylvain.roc...@finsecur.com --- arch/arm/mach-at91/pm.c

[PATCH 06/16 v3] fold debugfs_mkdir() into caller

2015-01-26 Thread Steven Rostedt
From: Al Viro v...@zeniv.linux.org.uk Signed-off-by: Al Viro v...@zeniv.linux.org.uk --- fs/debugfs/inode.c | 21 ++--- 1 file changed, 6 insertions(+), 15 deletions(-) diff --git a/fs/debugfs/inode.c b/fs/debugfs/inode.c index bc02e2096977..8d12935c87f1 100644 ---

[PATCH 10/16 v3] debugfs: split end_creating() into success and failure cases

2015-01-26 Thread Steven Rostedt
From: Al Viro v...@zeniv.linux.org.uk ... and don't bother with dput(dentry) in the former and with dget(dentry) preceding all its calls. Signed-off-by: Al Viro v...@zeniv.linux.org.uk --- fs/debugfs/inode.c | 27 +-- 1 file changed, 13 insertions(+), 14 deletions(-)

Re: [PATCH] proc/pagemap: walk page tables under pte lock

2015-01-26 Thread Cyrill Gorcunov
On Mon, Jan 26, 2015 at 05:52:14PM +0300, Konstantin Khlebnikov wrote: Lockless access to pte in pagemap_pte_range() might race with page migration and trigger BUG_ON(!PageLocked()) in migration_entry_to_page(): CPU A (pagemap) CPU B (migration)

Re: [PATCH -mm 1/3] slub: don't fail kmem_cache_shrink if slab placement optimization fails

2015-01-26 Thread Christoph Lameter
On Mon, 26 Jan 2015, Vladimir Davydov wrote: SLUB's kmem_cache_shrink not only removes empty slabs from the cache, but also sorts slabs by the number of objects in-use to cope with fragmentation. To achieve that, it tries to allocate a temporary array. If it fails, it will abort the whole

Re: [PATCH] i2c: do not try to load modules for of-registered devices

2015-01-26 Thread Wolfram Sang
On Fri, Jan 16, 2015 at 12:07:22AM -0800, Dmitry Torokhov wrote: Trying to register an I2C device asynchronously (via async_schedule() call) results in an ugly warning from request_module() warning about potential deadlock (because request_module tries to wait for async works to complete).

Re: [PATCH] staging: rtl8188eu: core: rtw_wlan_util.c: Fix for NULL dereference

2015-01-26 Thread Julia Lawall
On Mon, 26 Jan 2015, Kumar Amit Mehta wrote: In rtw_check_bcn_info(), check the return value of kzalloc() before dereferencing it, to avoid NULL pointer dereference. Signed-off-by: Kumar Amit Mehta gmate.a...@gmail.com --- drivers/staging/rtl8188eu/core/rtw_wlan_util.c | 2 ++ 1 file

Re: [PATCH 2/2] HID: i2c-hid: Add support for GPIO interrupts

2015-01-26 Thread Mika Westerberg
On Mon, Jan 26, 2015 at 04:01:20PM +, Mark Rutland wrote: On Mon, Jan 26, 2015 at 03:16:37PM +, Mika Westerberg wrote: On Mon, Jan 26, 2015 at 02:50:01PM +, Mark Rutland wrote: On Mon, Jan 26, 2015 at 02:47:29PM +, Mika Westerberg wrote: On Mon, Jan 26, 2015 at 02:37:24PM

Re: [PATCH RFC] loop: make partition scanning reliable

2015-01-26 Thread Tejun Heo
Hello, David. On Mon, Jan 26, 2015 at 11:15:19AM +0100, David Herrmann wrote: -static int blkdev_reread_part(struct block_device *bdev) +int blkdev_reread_part(struct block_device *bdev, int skipbusy) { struct gendisk *disk = bdev-bd_disk; int res; @@ -159,12 +159,15 @@ static

[PATCH 6/9] coresight: remove the unnecessary function coresight_is_bit_set()

2015-01-26 Thread mathieu . poirier
From: Kaixu Xia xiaka...@huawei.com This function coresight_is_bit_set() isn't called, so we should remove it. Signed-off-by: Kaixu Xia xiaka...@huawei.com Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org --- include/linux/coresight.h | 3 --- 1 file changed, 3 deletions(-) diff --git

[PATCH 8/9] coresight-etm: remove check for unknown Kconfig macro

2015-01-26 Thread mathieu . poirier
From: Paul Bolle pebo...@tiscali.nl The CoreSight ETM/PTM driver contains a check for a CONFIG_CORESIGHT_SOURCE_ETM_DEFAULT_ENABLE macro. But there's no related Kconfig symbol CORESIGHT_SOURCE_ETM_DEFAULT_ENABLE. Remove that check and the single line of code it hides. Signed-off-by: Paul Bolle

Re: [RFC 2/4] nbd: Split 'DO_IT' into three functions

2015-01-26 Thread Markus Pargmann
Hi Paul, On Mon, Jan 26, 2015 at 11:16:12AM -0500, Paul Clements wrote: Markus, This refactor looks OK with the exception of one thing... On Tue, Jan 13, 2015 at 8:44 AM, Markus Pargmann m...@pengutronix.de wrote: /* Must be called with tx_lock held */ static int

[PATCH] pinctrl: rockchip: Only mask interrupts; never disable

2015-01-26 Thread Doug Anderson
The Rockchip GPIO interrupt controller totally throws away all status about an interrupt when you disable the interrupt. That has unfortunate consequences in the following situation: 1. An edge-triggered interrupt is enabled and should wake the system. 2. System suspend happens: interrupt is

Re: [PATCH] clk: zynq: Force CPU_2X clock to be ungated

2015-01-26 Thread Sören Brinkmann
On Sun, 2015-01-25 at 07:22PM -0800, Sören Brinkmann wrote: On Fri, 2015-01-23 at 03:44PM -0800, Soren Brinkmann wrote: The CPU_2X clock does not have a classical in kernel user, but is, amongst other things, required for OCM and debug access. Make sure this clock does not mistakenly

patch-2.7.3 no longer applies relative symbolic link patches

2015-01-26 Thread Josh Boyer
Hi, I went to do the Fedora 3.19-rc6 build this morning and it failed in our buildsystem with: + '[' '!' -f /builddir/build/SOURCES/patch-3.19-rc6.xz ']' + case $patch in + unxz + patch -p1 -F1 -s symbolic link target '../../../../../include/dt-bindings' is invalid error: Bad exit status from

[PATCH] drivers: gpu: drm: i915: intel_fifo_underrun.c: Fix a typo in comment

2015-01-26 Thread Kumar Amit Mehta
The comment for intel_cpu_fifo_underrun_irq_handler() is not consistent with the code and the rest of the comment for this routine. This patch fixes this typo in comment. Signed-off-by: Kumar Amit Mehta gmate.a...@gmail.com --- drivers/gpu/drm/i915/intel_fifo_underrun.c | 2 +- 1 file changed, 1

[PATCH] net/9p: fix format string in p9_mount_tag_show()

2015-01-26 Thread Andrey Ryabinin
Using %s for non-NULL terminated string is quite dangerous, since this causes reading out of bounds. chan-tag is non-NULL terminated, so precision must be specified for printing it. Fixes: 86c8437383ac (net/9p: Add sysfs mount_tag file for virtio 9P device) Signed-off-by: Andrey Ryabinin

[PATCH] ARM: /proc/cpuinfo: DT: Add support for Revision

2015-01-26 Thread Pali Rohár
Ok, here is patch which set Revision field (global variable system_rev) in /proc/cpuinfo from DT revision property: diff --git a/arch/arm/kernel/devtree.c b/arch/arm/kernel/devtree.c index 11c54de..9946c1b 100644 --- a/arch/arm/kernel/devtree.c +++ b/arch/arm/kernel/devtree.c @@ -19,6 +19,7 @@

Re: [PATCH 8/8] phy: add driver for TI TUSB1210 ULPI PHY

2015-01-26 Thread David Cohen
Hi Heikki, On Mon, Jan 26, 2015 at 02:55:03PM +0200, Heikki Krogerus wrote: Hi David, On Sat, Jan 24, 2015 at 03:58:11PM -0800, David Cohen wrote: +static int tusb1210_power_on(struct phy *phy) +{ + struct tusb1210 *tusb = phy_get_drvdata(phy); + +

Re: [PATCH 6/8] usb: dwc3: add ULPI interface support

2015-01-26 Thread Felipe Balbi
On Mon, Jan 26, 2015 at 01:46:10PM +0200, Heikki Krogerus wrote: On Fri, Jan 23, 2015 at 10:24:43AM -0600, Felipe Balbi wrote: On Fri, Jan 23, 2015 at 05:12:56PM +0200, Heikki Krogerus wrote: +int dwc3_ulpi_init(struct dwc3 *dwc) +{ + u32 reg; + + /* First check USB2 PHY

Re: [PATCH] net: Linn Ethernet Packet Sniffer driver

2015-01-26 Thread Joe Perches
On Mon, 2015-01-26 at 11:11 +, Stathis Voukelatos wrote: On 24/01/15 21:37, Joe Perches wrote: On Fri, 2015-01-23 at 10:07 +, Stathis Voukelatos wrote: This patch adds support the Ethernet Packet Sniffer H/W module developed by Linn Products Ltd and found in the IMG Pistachio SoC.

[PATCH 2/2] ARM: zynq: DT: Add pinctrl information to USB nodes

2015-01-26 Thread Soren Brinkmann
Signed-off-by: Soren Brinkmann soren.brinkm...@xilinx.com --- Hi Michal, This could be squashed into 1643b31658c4 'ARM: zynq: DT: Add USB to device tree' if you decide to rebuild the zynq/dt branch. Sören --- arch/arm/boot/dts/zynq-zc702.dts | 26 ++

[PATCH 1/2] ARM: zynq: Remove bogus value from 'bias-disable' property

2015-01-26 Thread Soren Brinkmann
In one pinctrl node, a 'bias-disable' property is erroneously assigned a value. Fixes: ARM: zynq: DT: Add pinctrl information Signed-off-by: Soren Brinkmann soren.brinkm...@xilinx.com --- Feel free to squash this into the mentioned patch. I don't see it in any stable branch yet. Sören

Re: [PATCH -mm 2/3] slab: zap kmem_cache_shrink return value

2015-01-26 Thread Christoph Lameter
On Mon, 26 Jan 2015, Vladimir Davydov wrote: Hmm, why? The return value has existed since this function was introduced, but nobody seems to have ever used it outside the slab core. Besides, this check is racy, so IMO we shouldn't encourage users of the API to rely on it. That said, I believe

Re: [PATCH v2 0/2] add support for new persistent memory instructions

2015-01-26 Thread H. Peter Anvin
On 01/26/2015 11:51 AM, Ross Zwisler wrote: This is fine, but now you've got two fences in a row. Another slightly more messy choice would be to include the fence in the pcommit assembly, so you either get pcommit + sfence or a pair of NOPs. If that is the required usage pattern, it

Re: [PATCH 3.14 40/98] clk: Really fix deadlock with mmap_sem

2015-01-26 Thread Luis Henriques
On Sun, Jan 25, 2015 at 10:06:58AM -0800, Greg Kroah-Hartman wrote: 3.14-stable review patch. If anyone has any objections, please let me know. This patch was tagged for stable 3.18 only. Also, since commit 6314b6796e3c doesn't seem to be in 3.14, I believe shouldn't be in this stable

Re: [PATCH 4/7] ARM: at91: enable the L2 Cache controller

2015-01-26 Thread Russell King - ARM Linux
On Mon, Jan 26, 2015 at 06:07:16PM +0800, Wenyou Yang wrote: +#ifdef CONFIG_CACHE_L2X0 +static void __init at91_init_l2cache(void) +{ + struct device_node *np; + u32 reg; + + np = of_find_compatible_node(NULL, NULL, arm,pl310-cache); + if (!np) + return; + +

Re: [PATCH 3/3] x86, crash: Allocate enough low-mem when crashkernel=high

2015-01-26 Thread Borislav Petkov
On Mon, Jan 26, 2015 at 01:40:06PM +0100, Joerg Roedel wrote: Yes. Given that we have no data about what would work on most systems, we can only change the value to a number that fixes know problems and then act on possible regressions caused by the change (and that change is pretty easy to

[PATCH -mm 3/3] slub: make dead caches discard free slabs immediately

2015-01-26 Thread Vladimir Davydov
To speed up further allocations SLUB may store empty slabs in per cpu/node partial lists instead of freeing them immediately. This prevents per memcg caches destruction, because kmem caches created for a memory cgroup are only destroyed after the last page charged to the cgroup is freed. To fix

Re: [RFC PATCH 1/2] ACPI: Introduce acpi_unload_parent_table() usages in Linux kernel.

2015-01-26 Thread Rafael J. Wysocki
On Monday, January 26, 2015 04:58:48 PM Lv Zheng wrote: ACPICA has implemented acpi_unload_parent_table() which can exactly replace the acpi_get_id()/acpi_unload_table_id() implemented in Linux kernel. The acpi_unload_parent_table() has been unit tested in ACPICA simulation environment.

[PATCH/RFC 2/3] ftrace: introduce nohotpatch function attribute

2015-01-26 Thread Heiko Carstens
gcc supports an s390 specific function attribute called hotpatch. It can be used to specify the number of halfwords that shall be added before and after a function that shall be filled with nops for runtime patching. s390 will use the hotpatch attribute for function tracing, therefore introduce a

[PATCH/RFC 3/3] s390/ftrace: hotpatch support for function tracing

2015-01-26 Thread Heiko Carstens
Make use of gcc's hotpatch support to generate better code for ftrace function tracing. The generated code now contains only a six byte nop in each function prologue instead of a 24 byte code block which will be runtime patched to support function tracing. With the new code generation the runtime

Re: [PATCH v2 04/12] pm: at91: move the copying the sram function to the sram initializationi phase

2015-01-26 Thread Sergei Shtylyov
Hello. On 1/26/2015 12:40 PM, Wenyou Yang wrote: To decrease the suspend time, move the copying the sram function to the sram initialization phase, instead of every time go to suspend. Signed-off-by: Wenyou Yang wenyou.y...@atmel.com Acked-by: Alexandre Belloni

Re: [PATCH] PM/Trace: get rid of synchronous resume limit during PM trace

2015-01-26 Thread Rafael J. Wysocki
On Monday, January 26, 2015 03:59:59 PM Fu, Zhonghui wrote: This is a incorrect patch , please ignore it. Of course it is incorrect. If it fixes anything for you, this means you need to reorder devices in dpm_list on the given system. On 2015/1/26 13:07, Fu, Zhonghui wrote: From

Re: Question on SCTP ABORT chunk is generated when the association_max_retrans is reached

2015-01-26 Thread Daniel Borkmann
On 01/26/2015 02:17 PM, Sun Paul wrote: When an ABORT is sent to side-A, side-A INIT a new connection again. Even if the ABORT is not being sent, the peer (the one who would send his ABORT) closes the TCB from his side silently then. Any messages that would afterwards arrive on this dead

Re: [PATCH v2 02/12] pm: at91: Workaround DDRSDRC self-refresh bug with LPDDR1 memories.

2015-01-26 Thread Sylvain Rochet
Hello Nicolas, On Mon, Jan 26, 2015 at 02:34:38PM +0100, Nicolas Ferre wrote: Le 26/01/2015 11:36, Sylvain Rochet a écrit : I think we should explain we are dealing with an errata here, this is not obvious at first sight, the patch summary may find its place here :-) True but the

Re: [PATCH v3]PM/Sleep: Timer quiesce in freeze state

2015-01-26 Thread Rafael J. Wysocki
On Monday, January 26, 2015 10:40:24 AM Thomas Gleixner wrote: On Mon, 26 Jan 2015, Li, Aubrey wrote: On 2015/1/22 18:15, Thomas Gleixner wrote: Can we please stop adding more crap to that notifier thing? I rather see that go away than being expanded. Are you referring to

Re: [PATCH v3]PM/Sleep: Timer quiesce in freeze state

2015-01-26 Thread Rafael J. Wysocki
On Monday, January 26, 2015 10:40:24 AM Thomas Gleixner wrote: On Mon, 26 Jan 2015, Li, Aubrey wrote: On 2015/1/22 18:15, Thomas Gleixner wrote: [...] +/* + * cpuidle_enter will return with interrupt enabled + */ +

Re: [PATCH RESEND v3 2/3] irqchip: vf610-mscm: dt-bindings: add MSCM bindings

2015-01-26 Thread Stefan Agner
On 2015-01-26 14:36, Mark Rutland wrote: On Thu, Jan 15, 2015 at 08:04:05AM +, Stefan Agner wrote: Add binding documentation for Miscellaneous System Control Module found in Freescale Vybrid SoC's. Signed-off-by: Stefan Agner ste...@agner.ch ---

[PATCH] Revert usb: Reset USB-3 devices on USB-3 link bounce

2015-01-26 Thread Zhuang Jin Can
This revert a82b76f7fa6154e8ab2d8071842a3e38b9c0d0ff. The commit causes an extra reset in remote wakeup as described in: http://www.spinics.net/lists/linux-usb/msg119080.html Signed-off-by: Zhuang Jin Can jin.can.zhu...@intel.com --- drivers/usb/core/hub.c | 34

Re: perf not capturing stack traces

2015-01-26 Thread Arnaldo Carvalho de Melo
Em Mon, Jan 26, 2015 at 01:54:06PM +, Russell King - ARM Linux escreveu: On Mon, Jan 26, 2015 at 09:12:43AM -0300, Arnaldo Carvalho de Melo wrote: Em Mon, Jan 26, 2015 at 10:27:11AM +, Will Deacon escreveu: FWIW, perf can now use libunwind for unwinding the userspace side of

Re: [PATCH 1/2] zram: free meta out of init_lock

2015-01-26 Thread Jerome Marchand
On 01/26/2015 02:33 AM, Minchan Kim wrote: Hello, On Sat, Jan 24, 2015 at 12:47:07AM +0900, Sergey Senozhatsky wrote: On (01/23/15 15:48), Jerome Marchand wrote: Date: Fri, 23 Jan 2015 15:48:05 +0100 From: Jerome Marchand jmarc...@redhat.com To: Sergey Senozhatsky

Re: [PATCH 3.19.0-rc5 02/03] STAGING: Fix pcl818.c coding style issue: line over 80 characters

2015-01-26 Thread Ian Abbott
On 26/01/15 13:17, Simon Guo wrote: Correct one coding style problem(detected by checkpatch.pl) in pcl818.c. - line over 80 characters Signed-off-by: Simon Guo wei.guo.si...@gmail.com --- drivers/staging/comedi/drivers/pcl818.c | 15 ++- 1 file changed, 10 insertions(+), 5

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

2015-01-26 Thread Michael Kerrisk (man-pages)
Hello Greg, On 01/23/2015 05:08 PM, Greg Kroah-Hartman wrote: On Thu, Jan 22, 2015 at 09:49:00AM -0500, Austin S Hemmelgarn wrote: While I agree that there should be a way for userspace to get the list of supported operations, userspace apps will only actually care about that once, when they

Re: [PATCH 2/2] HID: i2c-hid: Add support for GPIO interrupts

2015-01-26 Thread Mika Westerberg
On Mon, Jan 26, 2015 at 02:37:24PM +, Mark Rutland wrote: On Mon, Jan 26, 2015 at 02:29:33PM +, Mika Westerberg wrote: The HID over I2C specification allows to have the interrupt for a HID device to be GPIO instead of directly connected to the IO-APIC. Add support for this so

Re: N900 v3.19-rc5 arm atags_to_fdt.c is broken

2015-01-26 Thread Nicolas Pitre
On Mon, 26 Jan 2015, Tony Lindgren wrote: * Pali Rohár pali.ro...@gmail.com [150126 08:26]: On Monday 26 January 2015 17:14:55 Tony Lindgren wrote: * Pali Rohár pali.ro...@gmail.com [150123 14:39]: On Friday 23 January 2015 22:39:55 Pali Rohár wrote: Hello, when I boot

Re: [PATCH v2] ARM: at91: at91rm9200: set idle and restart from rm9200_dt_device_init()

2015-01-26 Thread Alexandre Belloni
On 26/01/2015 at 19:08:33 +0100, Nicolas Ferre wrote : From: Alexandre Belloni alexandre.bell...@free-electrons.com Setup arm_pm_idle and arm_pm_restart function pointers from rm9200_dt_device_init() function to simplify the at91rm9200 initialization process. This same move is already done

Re: [PATCH v2 07/10] iio: core: Introduce IIO_CHAN_INFO_FILTER_OUTLIERS_THRESH and _PERIOD

2015-01-26 Thread Jonathan Cameron
On 26/01/15 14:40, Daniel Baluta wrote: On Mon, Jan 26, 2015 at 1:07 AM, Jonathan Cameron ji...@kernel.org wrote: On 11/01/15 19:10, Irina Tirdea wrote: The pedometer needs to filter out false steps that might be generated by tapping the foot, sitting, etc. To do that it computes the number of

Re: [PATCH v2 08/10] iio: accel: mma9551: Add runtime pm support

2015-01-26 Thread Jonathan Cameron
On 11/01/15 19:10, Irina Tirdea wrote: Add support for runtime pm to reduce the power consumed by the device when not used. If CONFIG_PM is not enabled, the device will be powered on at init and only powered off on system suspend. If CONFIG_PM is enabled, runtime pm autosuspend is used:

Re: [PATCH] regulator: qcom_rpm: Don't update vreg-uV/mV if rpm_reg_write fails

2015-01-26 Thread Mark Brown
On Sat, Jan 24, 2015 at 12:01:12PM +0800, Axel Lin wrote: Ensure get_voltage return correct voltage if set_voltage fails. Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH -mm 1/3] slub: don't fail kmem_cache_shrink if slab placement optimization fails

2015-01-26 Thread Vladimir Davydov
On Mon, Jan 26, 2015 at 12:24:49PM -0600, Christoph Lameter wrote: On Mon, 26 Jan 2015, Vladimir Davydov wrote: Anyways, I think that silently relying on the fact that the allocator never fails small allocations is kind of unreliable. What if this We are not doing that though. If the

inverse mapping from a struct console to device

2015-01-26 Thread Jon Masters
Hi Folks, TLDR: I need a back reference from a console struct to its device. I can't see an easy way to do this right now without adding one? I've a quick question. I have prototype code that parses an ACPI table known as the SPCR (Serial Port Console Redirection - exists on both x86 and ARM

Re: [PATCH 1/4] uio: Simplify the lifetime logic of struct uio_device.

2015-01-26 Thread Mandeep Sandhu
+ + ret = kobject_set_name(idev-device.kobj, uio%d, idev-minor); dev_set_name()? There's another instance of use of kobject_set_name in uio_major_init(). Should I change that too ,or that should be done in a new (unrelated) patch? Thanks, -mandeep thanks, greg k-h -- To

Re: [PATCH 1/2] Fix initialisation for the Microsoft Sidewinder Force Feedback Pro 2 joystick

2015-01-26 Thread Jiri Kosina
On Fri, 23 Jan 2015, Benjamin Tissoires wrote: With the changes above (or if you fix my typos), the patch is Reviewed-by: Benjamin.tissoires benjamin.tissoi...@redhat.com Jiri, could you amend the commit with the above so that Jim won't be desperate by submitting a patch? Done and applied

Re: [PATCH v2 06/10] iio: core: Remove IIO_EV_TYPE_INSTANCE

2015-01-26 Thread Jonathan Cameron
On 11/01/15 19:10, Irina Tirdea wrote: By introducing IIO_EV_TYPE_CHANGE, IIO_EV_TYPE_INSTANCE becomes redundant. The effect of IIO_EV_TYPE_INSTANCE can be obtained by using IIO_EV_TYPE_CHANGE with IIO_EV_INFO_VALUE set to 1. Remove all instances of IIO_EV_TYPE_INSTANCE and replace them with

[PATCH] drm/msm/mdp: full mode set if crtc enable state is changed

2015-01-26 Thread Jilai Wang
Crtc state may not reflect the current crtc state if drm_fb_helper_blank is called to turn dpms off without turning crtc off. A full modeset in this case to solve the problem. Signed-off-by: Jilai Wang jil...@codeaurora.org --- drivers/gpu/drm/msm/mdp/mdp5/mdp5_crtc.c | 7 +++ 1 file

[PATCH] ARM: /proc/atags: Export also for DT

2015-01-26 Thread Pali Rohár
This patch will cause that decompressor store full ATAG structure into DT tree (/atags): diff --git a/arch/arm/boot/compressed/atags_to_fdt.c b/arch/arm/boot/compressed/atags_to_fdt.c index e7e1cc9..1975d7c 100644 --- a/arch/arm/boot/compressed/atags_to_fdt.c +++

Re: [PATCH v2 09/10] iio: accel: mma9551: split driver to expose mma955x api

2015-01-26 Thread Jonathan Cameron
On 11/01/15 19:10, Irina Tirdea wrote: Freescale has the MMA955xL family of devices that use the same communication protocol (based on i2c messages): http://www.freescale.com/files/sensors/doc/data_sheet/MMA955xL.pdf. To support more devices from this family, we need to split the mma9551

Re: [PATCH -mm 1/3] slub: don't fail kmem_cache_shrink if slab placement optimization fails

2015-01-26 Thread Christoph Lameter
On Mon, 26 Jan 2015, Vladimir Davydov wrote: We could do that, but IMO that would only complicate the code w/o yielding any real benefits. This function is slow and called rarely anyway, so I don't think there is any point to optimize out a page allocation here. I think you already have the

Re: [GIT PULL] PCI fixes for v3.19

2015-01-26 Thread Tony Luck
I'm seeing these new messages in v3.19-rc6 on ia64: pci :01:00.0: can't claim BAR 6 [mem 0xfffe-0x pref]: no compatible bridge window pci :01:00.1: can't claim BAR 6 [mem 0xfffe-0x pref]: no compatible bridge window pci :03:00.0: can't claim BAR 6 [mem

[RELEASE] LTTng modules 2.6.0 (Gaia)

2015-01-26 Thread Mathieu Desnoyers
We are now releasing the 2.6.0 LTTng modules Linux kernel tracer. New Noteworthy features in the LTTng Linux kernel tracer 2.6.0: - System call filtering! Fine-tune which system calls you want to trace or not, - We now gather in/out parameters of system calls at entry and exit of the

Re: [PATCH 1/4] uio: Simplify the lifetime logic of struct uio_device.

2015-01-26 Thread Greg KH
On Mon, Jan 26, 2015 at 11:57:30AM -0800, Mandeep Sandhu wrote: + + ret = kobject_set_name(idev-device.kobj, uio%d, idev-minor); dev_set_name()? There's another instance of use of kobject_set_name in uio_major_init(). Should I change that too ,or that should be done in a new

Re: [PATCH -mm 2/3] slab: zap kmem_cache_shrink return value

2015-01-26 Thread Vladimir Davydov
On Mon, Jan 26, 2015 at 01:55:14PM -0600, Christoph Lameter wrote: On Mon, 26 Jan 2015, Vladimir Davydov wrote: Hmm, why? The return value has existed since this function was introduced, but nobody seems to have ever used it outside the slab core. Besides, this check is racy, so IMO we

Re: inverse mapping from a struct console to device

2015-01-26 Thread Greg KH
On Mon, Jan 26, 2015 at 02:40:58PM -0500, Jon Masters wrote: Hi Folks, TLDR: I need a back reference from a console struct to its device. I know I'm going to regret answering this vague question, but, what _exactly_ do you mean by its device? I can't see an easy way to do this right now

Re: [PATCH 2/2] mm: fix undefined reference to `.kernel_map_pages' on PPC builds

2015-01-26 Thread Kim Phillips
On Thu, 22 Jan 2015 10:45:51 +0900 Joonsoo Kim iamjoonsoo@lge.com wrote: From 7cb9d1ed8a785df152cb8934e187031c8ebd1bb2 Mon Sep 17 00:00:00 2001 From: Joonsoo Kim iamjoonsoo@lge.com Date: Thu, 22 Jan 2015 10:28:58 +0900 Subject: [PATCH] mm/debug_pagealloc: fix build failure on ppc and

Re: [PATCH 00/16 v3] tracing: Add new file system tracefs

2015-01-26 Thread Al Viro
On Mon, Jan 26, 2015 at 10:09:13AM -0500, Steven Rostedt wrote: There has been complaints that tracing is tied too much to debugfs, as there are systems that would like to perform tracing, but do not mount debugfs for security reasons. That is because any subsystem may use debugfs for

Re: [PATCH v2 0/2] add support for new persistent memory instructions

2015-01-26 Thread Ross Zwisler
On Fri, 2015-01-23 at 15:03 -0800, H. Peter Anvin wrote: On 01/23/2015 12:40 PM, Ross Zwisler wrote: This patch set adds support for two new persistent memory instructions, pcommit and clwb. These instructions were announced in the document Intel Architecture Instruction Set Extensions

Re: [PATCH v2 0/2] add support for new persistent memory instructions

2015-01-26 Thread Ross Zwisler
On Sat, 2015-01-24 at 12:14 +0100, Borislav Petkov wrote: On Fri, Jan 23, 2015 at 03:03:41PM -0800, H. Peter Anvin wrote: For the specific case of CLWB, we can use an m input rather than a +m output, simply because CLWB (or CLFLUSH* used as a standin for CLWB doesn't need to be ordered with

Re: [RFC][PATCH 0/3] perf fixes

2015-01-26 Thread Vince Weaver
On Mon, 26 Jan 2015, Jiri Olsa wrote: I trigered the same one, should be addressed by the fix Peter sent in earlier email ahh, yes. gmail (which runs my university's mail servers) is for some reason sending all e-mails from PeterZ to the spam folder. I'll try out that patch. Vince --

guten Tag

2015-01-26 Thread i...@sterlingfinancialloans.com
guten Tag Dies sind Sterling Financial Services, heute bieten wir Kredite Zinssatz von 3%, unsere Art von Darlehen sind: - Unternehmenskredite Intercompany-Darlehen Personen Darlehen und Kredite Familie. Wenn Sie Interesse an unserem Angebot haben Darlehen füllen Sie bitte untenstehendes

[PATCH] genirq: MSI: Fix freeing of unallocated MSI

2015-01-26 Thread Marc Zyngier
While debugging an unrelated issue with the GICv3 ITS driver, the following trace triggered: WARNING: CPU: 1 PID: 1 at kernel/irq/irqdomain.c:1121 irq_domain_free_irqs+0x160/0x17c() NULL pointer, cannot free irq Modules linked in: CPU: 1 PID: 1 Comm: swapper/0 Tainted: GW

Re: [PATCH] regulator: lp872x: Remove **regulators from struct lp872x

2015-01-26 Thread Mark Brown
On Mon, Jan 26, 2015 at 10:25:13AM +0800, Axel Lin wrote: Current code is using devm_regulator_register(), so we don't need to store *rdev in struct lp872x for clean up. Also clean up lp872x_probe() a bit to remove unnecessary goto and num_regulators variable. Applied, thanks.

Re: [PATCH 02/18] spi/xilinx: Support for spi mode LOOP

2015-01-26 Thread Mark Brown
On Fri, Jan 23, 2015 at 05:08:34PM +0100, Ricardo Ribalda Delgado wrote: Hardware supports LOOP mode. Support it also in the driver. Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH 01/18] spi/xilinx: Support for spi mode LSB_FIRST

2015-01-26 Thread Mark Brown
On Fri, Jan 23, 2015 at 05:08:33PM +0100, Ricardo Ribalda Delgado wrote: Hardware supports LSB_FIRST mode. Support it also in the driver. Applied, thanks. signature.asc Description: Digital signature

[PATCH v3] powerpc/mm: fix undefined reference to `.__kernel_map_pages' on FSL PPC64

2015-01-26 Thread Kim Phillips
arch/powerpc has __kernel_map_pages implementations in mm/pgtable_32.c, and mm/hash_utils_64.c, of which the former is built for PPC32, and the latter for PPC64 machines with PPC_STD_MMU. Fix arch/powerpc/Kconfig to not select ARCH_SUPPORTS_DEBUG_PAGEALLOC when CONFIG_PPC_STD_MMU_64 isn't

Re: [PATCH -mm 2/3] slab: zap kmem_cache_shrink return value

2015-01-26 Thread Vladimir Davydov
On Mon, Jan 26, 2015 at 12:26:57PM -0600, Christoph Lameter wrote: On Mon, 26 Jan 2015, Vladimir Davydov wrote: __cache_shrink() is used not only in __kmem_cache_shrink(), but also in SLAB's __kmem_cache_shutdown(), where we do need its return value to check if the cache is empty. It

[PATCH] staging: Remove the Android logger driver

2015-01-26 Thread John Stultz
With the relase of Lollipop, Android no longer requires the logger driver. There are three patches which the android dev's still need before they drop logger on all their devices: [PATCH v4 1/5] pstores: use scnprintf [PATCH v2 2/5] pstore: remove superfluous memory size check [PATCH 3/5]

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

2015-01-26 Thread Rob Herring
On Mon, Jan 26, 2015 at 1:09 PM, Pali Rohár pali.ro...@gmail.com wrote: Ok, here is patch which set Revision field (global variable system_rev) in /proc/cpuinfo from DT revision property: diff --git a/arch/arm/kernel/devtree.c b/arch/arm/kernel/devtree.c index 11c54de..9946c1b 100644 ---

Re: [PATCH -mm 2/3] slab: zap kmem_cache_shrink return value

2015-01-26 Thread Christoph Lameter
On Mon, 26 Jan 2015, Vladimir Davydov wrote: Right, but I just don't see why a subsystem using a kmem_cache would need to check whether there are any objects left in the cache. I mean, it should somehow keep track of the objects it's allocated anyway, e.g. by linking them in a list. That

Build regressions/improvements in v3.19-rc6

2015-01-26 Thread Geert Uytterhoeven
Below is the list of build error/warning regressions/improvements in v3.19-rc6[1] compared to v3.18[2]. Summarized: - build errors: +17/-19 - build warnings: +174/-120 JFYI, when comparing v3.19-rc6[1] to v3.19-rc5[3], the summaries are: - build errors: +9/-9 - build warnings: +60/-99

[PATCH] watchdog: w83627hf_wdt: Add support for NCT6791 and NCT6792

2015-01-26 Thread Guenter Roeck
The watchdog functionality in both chips is almost identical to NCT6779. Signed-off-by: Guenter Roeck li...@roeck-us.net --- Tested on system with NCT6792. drivers/watchdog/Kconfig| 2 ++ drivers/watchdog/w83627hf_wdt.c | 14 +- 2 files changed, 15 insertions(+), 1

[PATCH] arm: sunxi: input: RFC: Add sysfs voltage for sun4i-lradc driver

2015-01-26 Thread Priit Laes
--- .../ABI/testing/sysfs-driver-input-sun4i-lradc | 4 ++ drivers/input/keyboard/sun4i-lradc-keys.c | 49 +- 2 files changed, 43 insertions(+), 10 deletions(-) create mode 100644 Documentation/ABI/testing/sysfs-driver-input-sun4i-lradc diff --git

Re: N900 v3.19-rc5 arm atags_to_fdt.c is broken

2015-01-26 Thread Tony Lindgren
* Pali Rohár pali.ro...@gmail.com [150123 14:39]: On Friday 23 January 2015 22:39:55 Pali Rohár wrote: Hello, when I boot zImage with appended DT n900 in qemu fdt_open_into() function called from file arch/arm/boot/compressed/atags_to_fdt.c (in function atags_to_fdt) always returns

Re: [RFC PATCH] sched, timer: Use atomics for thread_group_cputimer stats

2015-01-26 Thread Peter Zijlstra
On Fri, Jan 23, 2015 at 03:45:55PM -0800, Jason Low wrote: On a side note, if we just move the cputimer-running = 1 to after the call to update_gt_cputime in thread_group_cputimer(), then we don't have to worry about concurrent adds occuring in this function? Yeah, maybe.. There are a few

Re: [PATCH RFC] loop: make partition scanning reliable

2015-01-26 Thread Christoph Hellwig
On Mon, Jan 26, 2015 at 11:13:28AM -0500, Tejun Heo wrote: @@ -159,12 +159,15 @@ static int blkdev_reread_part(struct block_device *bdev) return -EINVAL; if (!capable(CAP_SYS_ADMIN)) return -EACCES; - if (!mutex_trylock(bdev-bd_mutex)) + if

[PATCH 21/26] perf trace: Fix error reporting for evsel pgfault constructor

2015-01-26 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo a...@redhat.com In that case the only failure possible is not to have enough memory, as we are just creating the evsels, not trying to access any system facility such as debugfs files or syscalls. Cc: Adrian Hunter adrian.hun...@intel.com Cc: Borislav Petkov

Re: [RFC][PATCH 0/3] perf fixes

2015-01-26 Thread Vince Weaver
On Mon, 26 Jan 2015, Vince Weaver wrote: I applied this to (just before) 3.19-rc6 and let it run on my troublemaking Haswell machine overnight. It is looking good! spoke too soon, managed to trigger one of the new warnings you added. This is WARN_ON_ONCE(event-ctx != ctx); in

Re: [PATCH 1/1] NVMe: Do not take nsid while a passthrough IO command is being issued via a block device file descriptor

2015-01-26 Thread Keith Busch
On Sun, 25 Jan 2015, Christoph Hellwig wrote: On Fri, Jan 23, 2015 at 03:57:06PM -0800, Yan Liu wrote: When a passthrough IO command is issued with a specific block device file descriptor. It should be applied at the namespace which is associated with that block device file descriptor. This

Re: [PATCH v3 1/1] x86: Add Isolated Memory Regions for Quark X1000

2015-01-26 Thread Bryan O'Donoghue
On 26/01/15 17:23, Andy Shevchenko wrote: So, I'm not sure the above is a part of the patch. Would it be a prepend? Hmm - what do you mean by that ? I mean first to introduce IMR files and then create the board entry in the kernel config. And it may contain the following as well (whatever

Re: sysfs methods can race with -remove

2015-01-26 Thread Alan Stern
On Mon, 26 Jan 2015, Christoph Hellwig wrote: On Thu, Jan 15, 2015 at 02:40:31PM -0500, Tejun Heo wrote: If a method is registered by the driver, then the driver will unregister it when the -remove routine runs. I don't know for certain, but I would expect that the sysfs/kernfs core

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