[PATCH 3.12 150/176] time: settimeofday: Validate the values of tv from user

2015-01-29 Thread Jiri Slaby
From: Sasha Levin sasha.le...@oracle.com 3.12-stable review patch. If anyone has any objections, please let me know. === commit 6ada1fc0e1c4775de0e043e1bd3ae9d065491aa5 upstream. An unvalidated user input is multiplied by a constant, which can result in an undefined behaviour for

[PATCH 3.12 146/176] drm/radeon: add si dpm quirk list

2015-01-29 Thread Jiri Slaby
From: Alex Deucher alexander.deuc...@amd.com 3.12-stable review patch. If anyone has any objections, please let me know. === commit 5615f890bc6babdc2998dec62f3552326d06eb7b upstream. This adds a quirks list to fix stability problems with certain SI boards. bug:

[PATCH 3.12 175/176] move d_rcu from overlapping d_child to overlapping d_alias

2015-01-29 Thread Jiri Slaby
From: Al Viro v...@zeniv.linux.org.uk 3.12-stable review patch. If anyone has any objections, please let me know. === commit 946e51f2bf37f1656916eb75bd0742ba33983c28 upstream. Signed-off-by: Al Viro v...@zeniv.linux.org.uk Acked-by: Miklos Szeredi mszer...@suse.cz Signed-off-by:

[PATCH] pinctrl: cherryview: Configure HiZ pins to be input when requested as GPIOs

2015-01-29 Thread Mika Westerberg
If the pin is in HiZ mode when it is requested as GPIO its value cannot be read (it always returns 0). In order to cope with the Linux GPIO subsystem where we do not have such state at all, turn the pin to be input instead. Reported-by: Jerome Blin jerome.b...@intel.com Signed-off-by: Mika

[PATCH 3.12 165/176] ipvs: uninitialized data with IP_VS_IPV6

2015-01-29 Thread Jiri Slaby
From: Dan Carpenter dan.carpen...@oracle.com 3.12-stable review patch. If anyone has any objections, please let me know. === commit 3b05ac3824ed9648c0d9c02d51d9b54e4e7e874f upstream. The app_tcp_pkt_out() function expects *diff to be set and ends up using uninitialized data if

[PATCH 3.12 158/176] x86, boot: Skip relocs when load address unchanged

2015-01-29 Thread Jiri Slaby
From: Kees Cook keesc...@chromium.org 3.12-stable review patch. If anyone has any objections, please let me know. === commit f285f4a21c3253887caceed493089ece17579d59 upstream. On 64-bit, relocation is not required unless the load address gets changed. Without this, relocations do

[PATCH 2/3] ocfs2: removes mlog_errno() call twice in ocfs2_find_dir_space_el()

2015-01-29 Thread Daeseok Youn
The mlog_errno() function is called twice when some functions are failed. Signed-off-by: Daeseok Youn daeseok.y...@gmail.com --- fs/ocfs2/dir.c |9 +++-- 1 files changed, 3 insertions(+), 6 deletions(-) diff --git a/fs/ocfs2/dir.c b/fs/ocfs2/dir.c index 940be6d..b08050b 100644 ---

[PATCH 1/3] ocfs2: remove unreachable code

2015-01-29 Thread Daeseok Youn
Signed-off-by: Daeseok Youn daeseok.y...@gmail.com --- fs/ocfs2/dir.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/fs/ocfs2/dir.c b/fs/ocfs2/dir.c index 319e786..940be6d 100644 --- a/fs/ocfs2/dir.c +++ b/fs/ocfs2/dir.c @@ -3513,7 +3513,6 @@ next: de =

[PATCH 5/9] MIPS: Malta: Implement get_c0_fdc_int()

2015-01-29 Thread James Hogan
Implement the weak get_c0_fdc_int() function for Malta. The Fast Debug Channel (FDC) interrupt is obtained mainly depending on whether a GIC is present. Vectored external interrupt mode isn't yet supported. Signed-off-by: James Hogan james.ho...@imgtec.com Cc: Ralf Baechle r...@linux-mips.org Cc:

[PATCH 3/9] irqchip: mips-gic: Don't treat FDC IRQ as percpu devid

2015-01-29 Thread James Hogan
Treat the Fast Debug Channel (FDC) interrupt the same as the timer and performance counter interrupts. Like them, the FDC IRQ is also per-VPE, and also doesn't use a per-CPU device ID yet. Per-CPU device IDs don't seem to work with IRQF_SHARED which is needed for compatibility with cores which

RE: [PATCH v4] dma: Add Xilinx AXI Direct Memory Access Engine driver support

2015-01-29 Thread Appana Durga Kedareswara Rao
Hi Vinod, -Original Message- From: Appana Durga Kedareswara Rao Sent: Monday, January 19, 2015 7:39 PM To: 'Arnd Bergmann'; vinod.k...@intel.com Cc: linux-arm-ker...@lists.infradead.org; devicet...@vger.kernel.org; vinod.k...@intel.com; Srikanth Vemula;

Re: [PATCH v4 05/13] pm: at91: move the copying the sram function to the sram initializationi phase

2015-01-29 Thread Russell King - ARM Linux
On Wed, Jan 28, 2015 at 09:43:16AM +0800, Wenyou Yang wrote: -#ifdef CONFIG_AT91_SLOW_CLOCK - /* copy slow_clock handler to SRAM, and call it */ - memcpy(slow_clock, at91_slow_clock, at91_slow_clock_sz); -#endif

[PATCH] mm: don't account shared file pages in user_reserve_pages

2015-01-29 Thread Roman Gushchin
Shared file pages are never accounted in memory overcommit code, so it isn't reasonable to count them in a code that limits the maximal size of a process in OVERCOMMIT_NONE mode. If a process has few large file mappings, the consequent attempts to allocate anonymous memory may unexpectedly fail

Re: [PATCH] staging: rtl8712: fix Prefer ether_addr_copy() over memcpy()

2015-01-29 Thread Dan Carpenter
On Wed, Jan 28, 2015 at 11:30:11PM +0200, Aya Mahfouz wrote: On Wed, Jan 28, 2015 at 10:48:40AM -0600, Larry Finger wrote: On 01/28/2015 09:53 AM, Heba Aamer wrote: This patch fixes the following checkpatch.pl warning: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are

[GIT PULL] at91: cleanup/soc for 3.20 #4

2015-01-29 Thread Nicolas Ferre
Arnd, Olof, Kevin, This is a batch of cleanup/soc modifications that you may also stack on top of your soc branch as the previous one. It collects some more cleanup material and simplifies the AT91 boot code. Only some little details remain before having a classical DT boot (without additional

Re: [PATCH v5 6/8] arm64/efi: move SetVirtualAddressMap() to UEFI stub

2015-01-29 Thread Ard Biesheuvel
On 29 January 2015 at 09:50, Steve Capper steve.cap...@linaro.org wrote: On 8 January 2015 at 18:48, Ard Biesheuvel ard.biesheu...@linaro.org wrote: In order to support kexec, the kernel needs to be able to deal with the state of the UEFI firmware after SetVirtualAddressMap() has been called.

[PATCH 3.12 106/176] OHCI: add a quirk for ULi M5237 blocking on reset

2015-01-29 Thread Jiri Slaby
From: Arseny Solokha asolo...@kb.kras.ru 3.12-stable review patch. If anyone has any objections, please let me know. === commit 56abcab833fafcfaeb2f5b25e0364c1dec45f53e upstream. Commit 8dccddbc2368 (OHCI: final fix for NVIDIA problems (I hope)) introduced into 3.1.9 broke boot on

Re: [RESEND] [PATCH] block: create ioctl to discard-or-zeroout a range of blocks

2015-01-29 Thread Arnd Bergmann
On Wednesday 28 January 2015 18:00:25 Darrick J. Wong wrote: Create a new ioctl to expose the block layer's newfound ability to issue either a zeroing discard, a WRITE SAME with a zero page, or a regular write with the zero page. This BLKZEROOUT2 ioctl takes {start, length, flags} as

[PATCH v2 2/3] lib/string_helpers.c: Refactor string_escape_mem

2015-01-29 Thread Rasmus Villemoes
When printf is given the format specifier %pE, it needs a way of obtaining the total output size that would be generated if the buffer was large enough, and string_escape_mem doesn't easily provide that. This is a refactorization of string_escape_mem in preparation of changing its external API to

[PATCH 3.12 066/176] enic: fix rx skb checksum

2015-01-29 Thread Jiri Slaby
From: Govindarajulu Varadarajan _gov...@gmx.com 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 17e96834fd35997ca7cdfbf15413bcd5a36ad448 ] Hardware always provides compliment of IP pseudo checksum. Stack expects whole packet

RE: [PATCH v3 3/3] Drivers: hv: vmbus: serialize Offer and Rescind offer

2015-01-29 Thread Jason Wang
On Wed, Jan 28, 2015 at 8:51 PM, Dexuan Cui de...@microsoft.com wrote: -Original Message- From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] Sent: Wednesday, January 28, 2015 20:09 PM To: Dexuan Cui Cc: KY Srinivasan; de...@linuxdriverproject.org; Haiyang Zhang; linux-

[PATCH] lib/checksum.c: fix build for generic csum_tcpudp_nofold

2015-01-29 Thread Karl Beldan
Fixed commit added from64to32 under _#ifndef do_csum_ but used it under _#ifndef csum_tcpudp_nofold_, breaking some builds (Fengguang's robot reported TILEGX's). Move from64to32 under the latter. Fixes: 150ae0e94634 (lib/checksum.c: fix carry in csum_tcpudp_nofold) Reported-by: kbuild test robot

Re: [PATCH v5 05/13] pm: at91: move the copying the sram function to the sram initializationi phase

2015-01-29 Thread Sergei Shtylyov
Hello. On 1/29/2015 9:38 AM, 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. In the meanwhile, if there is no sram allocated for PM, the PM is not supported. Signed-off-by: Wenyou

Re: [PATCH v3 3/3] Drivers: hv: vmbus: serialize Offer and Rescind offer

2015-01-29 Thread Jason Wang
On Wed, Jan 28, 2015 at 9:09 PM, Vitaly Kuznetsov vkuzn...@redhat.com wrote: Dexuan Cui de...@microsoft.com writes: -Original Message- From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] Sent: Wednesday, January 28, 2015 20:09 PM To: Dexuan Cui Cc: KY Srinivasan;

[PATCH 3.12 130/176] vhost-scsi: Add missing virtio-scsi - TCM attribute conversion

2015-01-29 Thread Jiri Slaby
From: Nicholas Bellinger n...@linux-iscsi.org 3.12-stable review patch. If anyone has any objections, please let me know. === commit 46243860806bdc2756f3ce8ac86b4d7c616bcd6c upstream. While looking at hch's recent conversion to drop the MSG_*_TAG definitions, I noticed a long

[PATCH 3.12 140/176] gpio: sysfs: fix gpio device-attribute leak

2015-01-29 Thread Jiri Slaby
From: Johan Hovold jo...@kernel.org 3.12-stable review patch. If anyone has any objections, please let me know. === commit 0915e6feb38de8d3601819992a5bd050201a56fa upstream. The gpio device attributes were never destroyed when the gpio was unexported (or on export failures). Use

[PATCH v4 5/5] ARM: at91/dt: define a virtual irq demultiplexer chip connected on irq1

2015-01-29 Thread Boris Brezillon
IRQ1 is multiplexing several peripheral IRQs, but there's no way to properly demultiplex those IRQs. Use a virtual irq demux chip to achieve this demultiplexing operation. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- arch/arm/boot/dts/at91rm9200.dtsi | 20

[PATCH v4 0/5] ARM: at91: fix irq_pm_install_action WARNING

2015-01-29 Thread Boris Brezillon
Commit cab303be91dc47942bc25de33dc1140123540800 [1] introduced a WARN_ON test which triggers a WARNING backtrace on at91 platforms. While this WARN_ON is absolutely necessary to warn users that they should not mix request with and without IRQF_NO_SUSPEND flags on shared IRQs, there is no easy way

Re: [PATCH 2/3 v2] hyperv: hyperv_fb.c: match wait_for_completion_timeout return type

2015-01-29 Thread Tomi Valkeinen
On 29/01/15 11:38, Nicholas Mc Guire wrote: On Mon, 26 Jan 2015, Tomi Valkeinen wrote: Hi, On 25/01/15 16:47, Nicholas Mc Guire wrote: Signed-off-by: Nicholas Mc Guire der.h...@hofr.at --- v2: fixed subject line The return type of wait_for_completion_timeout is unsigned long not int.

[PATCH 3.12 167/176] crypto: prefix module autoloading with crypto-

2015-01-29 Thread Jiri Slaby
From: Kees Cook keesc...@chromium.org 3.12-stable review patch. If anyone has any objections, please let me know. === commit 5d26a105b5a73e5635eae0629b42fa0a90e07b7b upstream. This prefixes all crypto module loading with crypto- so we never run the risk of exposing module

[PATCH 3.12 157/176] x86/tsc: Change Fast TSC calibration failed from error to info

2015-01-29 Thread Jiri Slaby
From: Alexandre Demers alexandre.f.dem...@gmail.com 3.12-stable review patch. If anyone has any objections, please let me know. === commit 520452172e6b318f3a8bd9d4fe1e25066393de25 upstream. Many users see this message when booting without knowning that it is of no importance and

[PATCH 3.12 154/176] can: dev: fix crtlmode_supported check

2015-01-29 Thread Jiri Slaby
From: Oliver Hartkopp socket...@hartkopp.net 3.12-stable review patch. If anyone has any objections, please let me know. === commit 9b1087aa5e86448fe6ad40a58964e35f3ba423d5 upstream. When changing flags in the CAN drivers ctrlmode the provided new content has to be checked whether

[PATCH 3.12 156/176] x86, hyperv: Mark the Hyper-V clocksource as being continuous

2015-01-29 Thread Jiri Slaby
From: K. Y. Srinivasan k...@microsoft.com 3.12-stable review patch. If anyone has any objections, please let me know. === commit 32c6590d126836a062b3140ed52d898507987017 upstream. The Hyper-V clocksource is continuous; mark it accordingly. Signed-off-by: K. Y. Srinivasan

[PATCH 6/9] MIPS: idle: Workaround wait + FDC problems

2015-01-29 Thread James Hogan
On certain cores (namely proAptiv and P5600) incoming data via a Fast Debug Channel (FDC) while the core is blocked on a wait instruction will cause the wait not to wake up even when another interrupt is received. This makes an idle target stop as soon as you send FDC data to it, until the debug

[PATCH 4/9] irqchip: mips-gic: Add function for retrieving FDC IRQ

2015-01-29 Thread James Hogan
Add a function to the MIPS GIC driver for retrieving the Fast Debug Channel (FDC) interrupt number, similar to the existing ones for the timer and perf counter interrupts. This will be used by platform implementations of get_c0_fdc_int() if a GIC is present. A workaround exists for interAptiv and

[PATCH 0/9] Add MIPS EJTAG Fast Debug Channel TTY driver

2015-01-29 Thread James Hogan
This patchset adds a TTY, console, and KGDB driver for the MIPS Fast Debug Channel (FDC) hardware, for communicating with a debugger via an EJTAG probe. 16 TTY ports are created per FDC device, corresponding to the 16 FDC channels. Each VPE usually has its own FDC instance. This patchset depends

[PATCH 8/9] MIPS, ttyFDC: Add early FDC console support

2015-01-29 Thread James Hogan
Add support for early console of MIPS Fast Debug Channel (FDC) on channel 1 with a call very early from the MIPS setup_arch(). Signed-off-by: James Hogan james.ho...@imgtec.com Cc: Ralf Baechle r...@linux-mips.org Cc: Greg Kroah-Hartman gre...@linuxfoundation.org Cc: Jiri Slaby jsl...@suse.cz Cc:

Re: [PATCH v3 1/7] extcon: usb-gpio: Introduce gpio usb extcon driver

2015-01-29 Thread Roger Quadros
Chanwoo, On 29/01/15 03:49, Chanwoo Choi wrote: Hi Roger, We need to discuss one point about 'id_irqwake'. I don't recommend to use 'id_irqwake' field. And I catch build warning by using select keywork in Kconfig. It is my wrong guide of select keyword. So, I'll change it as 'depends

RE: [PATCH 1/5] f2fs: fix not to drop mount options when retrying fill_super

2015-01-29 Thread Chao Yu
Hi Jaegeuk, -Original Message- From: linux-fsdevel-ow...@vger.kernel.org [mailto:linux-fsdevel-ow...@vger.kernel.org] On Behalf Of Jaegeuk Kim Sent: Wednesday, January 28, 2015 7:32 AM To: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org;

Re: [PATCH] blk-mq: Fix a recently introduced scsi-mq regression

2015-01-29 Thread Bart Van Assche
On 01/29/15 00:52, Ming Lei wrote: On Thu, Jan 29, 2015 at 2:28 AM, Bart Van Assche bart.vanass...@sandisk.com wrote: This patch fixes a use-after-free that was introduced via patch blk-mq: fix hctx/ctx kobject use-after-free (commit 76d697d10769; kernel v3.19-rc4) and fixes the following

[PATCH 0/2] dt: dma: Add DMA driver for jz4780

2015-01-29 Thread Zubair Lutfullah Kakakhel
Hi, Here we have two patches that add a DMA driver for the Ingenic JZ4780 SoC. JZ4780 support is still in-flight. See http://patchwork.linux-mips.org/bundle/paulburton/ci20-v3.20/ These are based on 3.19-rc6. Apart from the channel numbers, jz4740 and jz4780 are quite different. jz4780 has

[PATCH 2/2] dma: jz4780: add driver for the Ingenic JZ4780 DMA controller

2015-01-29 Thread Zubair Lutfullah Kakakhel
From: Alex Smith alex.sm...@imgtec.com This patch adds a driver for the DMA controller found in the Ingenic JZ4780. It currently does not implement any support for the programmable firmware feature of the controller - this is not necessary for most uses. It also does not take priority into

Re: [PATCH v3 01/12] clk: samsung: exynos5433: Add clocks using common clock framework

2015-01-29 Thread Sylwester Nawrocki
Hi Chanwoo, On 29/01/15 00:38, Chanwoo Choi wrote: ... Right. current samsung clock drivers cannot show the hierarchy among clock domains in DT. IOW, there is currently no way to ensure proper registration order of the CMUs (clock domains). This may be important in some cases. To address

[PATCH 1/2] Revert blk-mq: fix hctx/ctx kobject use-after-free

2015-01-29 Thread Ming Lei
This reverts commit 76d697d10769048e5721510100bf3a9413a56385. The commit 76d697d10769048 causes general protection fault reported from Bart Van Assche: https://lkml.org/lkml/2015/1/28/334 Reported-by: Bart Van Assche bart.vanass...@sandisk.com Signed-off-by: Ming Lei

[PATCH 2/2] blk-mq: release mq's kobjects in blk_release_queue()

2015-01-29 Thread Ming Lei
The kobject memory inside blk-mq hctx/ctx shouldn't have been freed before the kobject is released because driver core can access it freely before its release. We can't do that in all ctx/hctx/mq_kobj's release handler because it can be run before blk_cleanup_queue(). Given mq_kobj shouldn't

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

2015-01-29 Thread Andy Lutomirski
On Jan 29, 2015 6:42 AM, Daniel Mack dan...@zonque.org wrote: On 01/29/2015 12:25 PM, Andy Lutomirski wrote: On Jan 29, 2015 3:53 AM, Daniel Mack dan...@zonque.org wrote: Also note that if a receiving peer opts in for a certain piece of metadata, it should do that that for a good reason,

[PATCH 1/2] dt: dma: Add DT binding document for jz4780-dma

2015-01-29 Thread Zubair Lutfullah Kakakhel
From: Alex Smith alex.sm...@imgtec.com Add device tree bindings for the DMA controller on JZ4780 SoCs, used by the dma-jz4780 driver. Signed-off-by: Alex Smith alex.sm...@imgtec.com --- .../devicetree/bindings/dma/jz4780-dma.txt | 59 ++ 1 file changed, 59

Re: [PATCH 7/7] spi: spi-fsl-dspi: Add support for TCFQ transfer mode

2015-01-29 Thread Mark Brown
On Thu, Jan 29, 2015 at 11:58:25AM +, BhuvanChandra.DV wrote: As far as i understood the major difference between the two modes are when the interrupt to trigger, as EOQ mode will trigger the interrupt at end of queue and TCF will trigger the interrupt at every frame transfer. Probably

Re: [PATCH v2 2/3] lib/string_helpers.c: Refactor string_escape_mem

2015-01-29 Thread Andy Shevchenko
On Thu, 2015-01-29 at 11:03 +0100, Rasmus Villemoes wrote: When printf is given the format specifier %pE, it needs a way of obtaining the total output size that would be generated if the buffer was large enough, and string_escape_mem doesn't easily provide that. This is a refactorization of

Re: [PATCH v2 01/02] STAGING: Fix pcl818.c coding style issue: code indent should use tabs where possible

2015-01-29 Thread Ian Abbott
On 29/01/15 05:33, Simon Guo wrote: Correct one coding style problem(detected by checkpatch.pl) in pcl818.c. - code indent should use tabs where possible It is fixed by reformatting the comment block to usual comment style. And with the reformatting, following coding style problem is also

Re: [PATCH v2 02/02] STAGING: Fix pcl818.c coding style issue: line over 80 characters

2015-01-29 Thread Ian Abbott
On 29/01/15 05:34, 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 v2 2/3] lib/string_helpers.c: Refactor string_escape_mem

2015-01-29 Thread Rasmus Villemoes
On Thu, Jan 29 2015, Andy Shevchenko andriy.shevche...@linux.intel.com wrote: -static int escape_space(unsigned char c, char **dst, size_t *osz) +static bool escape_space(unsigned char c, char **dst, char *end) { char *out = *dst; unsigned char to; -if (*osz 2) -

[PATCH 3/9] ARM: clocksource: Add asm9260_timer driver

2015-01-29 Thread Daniel Lezcano
From: Oleksij Rempel li...@rempel-privat.de 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

dma_alloc_coherent - cma - and IOMMU question

2015-01-29 Thread Mark Hounschell
Sorry for the noise. I've read everything DMA in the kernel Doc dir and searched the web to no avail. So I thought I might get some useful info here. I'm currently using a 3.18.3 (x86_64) kernel on an AMD platform. I am currently doing 8MB DMAs to and from our device using the in kernel CMA

Re: [PATCH 40/42] perf callchain: Save eh/debug frame offset for dwarf unwind

2015-01-29 Thread Namhyung Kim
On Thu, Jan 29, 2015 at 09:38:31AM -0300, Arnaldo Carvalho de Melo wrote: Em Thu, Jan 29, 2015 at 05:07:21PM +0900, Namhyung Kim escreveu: When libunwind tries to resolve callchains it needs to know the offset of .eh_frame_hdr or .debug_frame to access the dso. Since it calls

Re: [PATCH v11 23/28] scripts/gdb: Ignore byte-compiled python files

2015-01-29 Thread Jan Kiszka
On 2015-01-29 14:15, Michal Marek wrote: On 2015-01-29 07:46, Jan Kiszka wrote: --- a/Makefile +++ b/Makefile @@ -1179,7 +1179,8 @@ MRPROPER_FILES += .config .config.old .version .old_version $(version_h) \ Module.symvers tags TAGS cscope* GPATH GTAGS GRTAGS GSYMS \

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

2015-01-29 Thread Peter Zijlstra
On Thu, Jan 29, 2015 at 08:51:26AM +0100, Jiri Olsa wrote: [162118.235829] [ cut here ] [162118.241388] WARNING: CPU: 5 PID: 13571 at kernel/events/core.c:1644 perf_remove_from_context+0xf5/0x120() [162118.252183] Modules linked in: fuse x86_pkg_temp_thermal

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

2015-01-29 Thread Ganesh Mahendran
Hello, Minchan: 2015-01-28 16:15 GMT+08:00 Minchan Kim minc...@kernel.org: Admin could reset zram during I/O operation going on so we have used zram-init_lock as read-side lock in I/O path to prevent sudden zram meta freeing. When I/O operation is running, that means the /dev/zram0 is mounted

Re: [RFC][PATCH 0/3] kprobes/ftrace/x86: Function graph trace jprobes

2015-01-29 Thread Steven Rostedt
On Thu, 29 Jan 2015 15:04:44 +0900 Masami Hiramatsu masami.hiramatsu...@hitachi.com wrote: Hmm, could you make this more generic? Maybe we can directly call ftrace_return_to_handler() from longjmp_break_handler(). I tried that, but because the longjump handlers can also be traced (and I still

[PATCH 3.12 055/176] mm: propagate error from stack expansion even for guard page

2015-01-29 Thread Jiri Slaby
From: Linus Torvalds torva...@linux-foundation.org 3.12-stable review patch. If anyone has any objections, please let me know. === commit fee7e49d45149fba60156f5b59014f764d3e3728 upstream. Jay Foad reports that the address sanitizer test (asan) sometimes gets confused by a stack

[PATCH 3.12 077/176] drm/i915: Don't complain about stolen conflicts on gen3

2015-01-29 Thread Jiri Slaby
From: Daniel Vetter daniel.vet...@ffwll.ch 3.12-stable review patch. If anyone has any objections, please let me know. === commit 0b6d24c01932db99fc95304235e751e7f7625c41 upstream. Apparently stuff works that way on those machines. I agree with Chris' concern that this is a bit

[PATCH 3.12 031/176] ALSA: hda - Fix wrong gpio_dir gpio_mask hint setups for IDT/STAC codecs

2015-01-29 Thread Jiri Slaby
From: Takashi Iwai ti...@suse.de 3.12-stable review patch. If anyone has any objections, please let me know. === commit c507de88f6a336bd7296c9ec0073b2d4af8b4f5e upstream. stac_store_hints() does utterly wrong for masking the values for gpio_dir and gpio_data, likely due to

Re: [PATCH] Devicetree binding for omap3-serial bcm2048 combination

2015-01-29 Thread Mark Rutland
On Wed, Jan 28, 2015 at 09:35:01AM +, Pavel Machek wrote: Nokia N900 contains bluetooth module connected on serial port. Unfortunately, serial and bluetooth are rather closely coupled, so standard serial driver can not be used, and we really don't want /dev/ttyS1 to be published for

[PATCH 3.12 099/176] uvcvideo: Fix destruction order in uvc_delete()

2015-01-29 Thread Jiri Slaby
From: Takashi Iwai ti...@suse.de 3.12-stable review patch. If anyone has any objections, please let me know. === commit 2228d80dd05a4fc5a410fde847677b8fb3eb23d7 upstream. We've got a bug report at disconnecting a Webcam, where the kernel spews warnings like below: WARNING: CPU:

[PATCH 3.12 137/176] bcache: Make sure to pass GFP_WAIT to mempool_alloc()

2015-01-29 Thread Jiri Slaby
From: Kent Overstreet k...@daterainc.com 3.12-stable review patch. If anyone has any objections, please let me know. === commit bcf090e0040e30f8409e6a535a01e6473afb096f upstream. this was very wrong - mempool_alloc() only guarantees success with GFP_WAIT. bcache uses GFP_NOWAIT in

[PATCH 3.12 122/176] ARM: imx6q: drop unnecessary semicolon

2015-01-29 Thread Jiri Slaby
From: Dmitry Voytik voyt...@gmail.com 3.12-stable review patch. If anyone has any objections, please let me know. === commit d2a10a1727b3948019128e83162f22c65859f1fd upstream. Drop unnecessary semicolon after closing curly bracket. Signed-off-by: Dmitry Voytik voyt...@gmail.com

[PATCH 3.12 045/176] scripts/kernel-doc: don't eat struct members with __aligned

2015-01-29 Thread Jiri Slaby
From: Johannes Berg johannes.b...@intel.com 3.12-stable review patch. If anyone has any objections, please let me know. === commit 7b990789a4c3420fa57596b368733158e432d444 upstream. The change from \d+ to .+ inside __aligned() means that the following structure: struct test {

[PATCH 3.12 149/176] dm cache: fix problematic dual use of a single migration count variable

2015-01-29 Thread Jiri Slaby
From: Joe Thornber e...@redhat.com 3.12-stable review patch. If anyone has any objections, please let me know. === commit a59db67656021fa212e9b95a583f13c34eb67cd9 upstream. Introduce a new variable to count the number of allocated migration structures. The existing variable

Re: [PATCH RFC] staging: media: davinci_vpfe: drop condition with no effect

2015-01-29 Thread Lad, Prabhakar
On Mon, Jan 26, 2015 at 7:27 AM, Nicholas Mc Guire der.h...@hofr.at wrote: As the if and else branch body are identical the condition has no effect and can be dropped. Signed-off-by: Nicholas Mc Guire der.h...@hofr.at Acked-by: Lad, Prabhakar prabhakar.cse...@gmail.com Regards, --Prabhakar

[PATCH 3.12 171/176] mm: get rid of radix tree gfp mask for pagecache_get_page

2015-01-29 Thread Jiri Slaby
From: Michal Hocko mho...@suse.cz 3.12-stable review patch. If anyone has any objections, please let me know. === commit 45f87de57f8fad59302fd263dd81ffa4843b5b24 upstream. Commit 2457aec63745 (mm: non-atomically mark page accessed during page cache allocation where possible) has

[PATCH 3.12 152/176] ARM: dts: imx25: Fix PWM per clocks

2015-01-29 Thread Jiri Slaby
From: Fabio Estevam fabio.este...@freescale.com 3.12-stable review patch. If anyone has any objections, please let me know. === commit 7ecd0bde5bfea524a843ad8fa8cb66ccbce68779 upstream. Currently PWM functionality is broken on mx25 due to the wrong assignment of the PWM per clock.

[PATCH 3.12 151/176] time: adjtimex: Validate the ADJ_FREQUENCY values

2015-01-29 Thread Jiri Slaby
From: Sasha Levin sasha.le...@oracle.com 3.12-stable review patch. If anyone has any objections, please let me know. === commit 5e5aeb4367b450a28f447f6d5ab57d8f2ab16a5f upstream. Verify that the frequency value from userspace is valid and makes sense. Unverified values can cause

[PATCH 3.12 138/176] crypto: sha256_ssse3 - use correct module alias for sha224

2015-01-29 Thread Jiri Slaby
From: Jussi Kivilinna jussi.kivili...@iki.fi 3.12-stable review patch. If anyone has any objections, please let me know. === commit 7d444909a25ed4a9dbc546bf9528c8d2e3bf3752 upstream. Commit a710f761f (crypto: sha256_ssse3 - add sha224 support) attempted to add MODULE_ALIAS for

[PATCH 3.12 082/176] tick/powerclamp: Remove tick_nohz_idle abuse

2015-01-29 Thread Jiri Slaby
From: Thomas Gleixner t...@linutronix.de 3.12-stable review patch. If anyone has any objections, please let me know. === commit a5fd9733a30d18d7ac23f17080e7e07bb3205b69 upstream. commit 4dbd27711cd9 tick: export nohz tick idle symbols for module use was merged via the thermal tree

Re: [PATCH] staging: rtl8712: remove useless printing line

2015-01-29 Thread Dan Carpenter
On Wed, Jan 28, 2015 at 12:00:22PM +0200, Heba Aamer wrote: This patch removes an unneeded call to printk. Thanks. :) regards, dan carpenter -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [ath9k-devel] [PATCH] Repair soft lockup with monitor mode of ath9k_htc card

2015-01-29 Thread Oleksij Rempel
Am 29.01.2015 um 05:09 schrieb zhengyu...@360.cn: From: Yuwei Zheng zhengyu...@360.cn In the environment with heavy wifi traffic, set the ar9271 into monitor mode, will trigger a deadloop panic. The ath9k_hif_usb_rx_cb function excute on the interrupt context, and ath9k_rx_tasklet

[PATCH 3/3] ocfs2: remove unreachable code in __ocfs2_recovery_thread()

2015-01-29 Thread Daeseok Youn
Signed-off-by: Daeseok Youn daeseok.y...@gmail.com --- fs/ocfs2/journal.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/fs/ocfs2/journal.c b/fs/ocfs2/journal.c index ca11c83..ff53192 100644 --- a/fs/ocfs2/journal.c +++ b/fs/ocfs2/journal.c @@ -1462,7 +1462,6 @@ bail:

Re: [PATCH] scsi, be2iscsi, LLVMLinux: Add missing MODULE_DEVICE_TABLE()

2015-01-29 Thread Arnd Bergmann
On Wednesday 28 January 2015 17:37:02 Behan Webster wrote: Missing MODULE_DEVICE_TABLE for pci ids from be2iscsi driver found by clang. Signed-off-by: Behan Webster beh...@converseincode.com Reviewed-by: Mark Charlebois charl...@gmail.com Suggested-by: Arnd Bergmann a...@arndb.de Cc: Arnd

Re: [RFC PATCH v6 6/9] thermal: cpu_cooling: implement the power cooling device API

2015-01-29 Thread Punit Agrawal
Hi Eduardo, Eduardo Valentin edubez...@gmail.com writes: Hello Javi, On Fri, Dec 05, 2014 at 07:04:17PM +, Javi Merino wrote: Add a basic power model to the cpu cooling device to implement the power cooling device API. The power model uses the current frequency, current load and OPPs

Re: [PATCH v5] media: au0828 - convert to use videobuf2

2015-01-29 Thread Hans Verkuil
On 01/29/15 12:13, Davidlohr Bueso wrote: On Wed, 2015-01-28 at 16:14 -0700, Shuah Khan wrote: On 01/23/2015 12:41 PM, Shuah Khan wrote: Convert au0828 to use videobuf2. Tested with NTSC. Tested video and vbi devices with xawtv, tvtime, and vlc. Ran v4l2-compliance to ensure there are no

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

2015-01-29 Thread Andy Lutomirski
On Jan 29, 2015 3:53 AM, Daniel Mack dan...@zonque.org wrote: Hi Andy, On 01/27/2015 05:03 PM, Andy Lutomirski wrote: On Tue, Jan 27, 2015 at 7:05 AM, David Herrmann dh.herrm...@gmail.com wrote: A 16byte copy does not affect the performance of kdbus message transactions in any way

Re: Hangs in libhugetlbfs tests in -next

2015-01-29 Thread Steve Capper
On 28 January 2015 at 15:24, Mark Brown broo...@kernel.org wrote: For at least the past couple of days tests of libhugetlbfs have been hanging on mustang in the mlock test running ARMv8 defconfig with both 32 bit and 64 bit userspace - after the mprotect test (the one before it) we get no

Re: [PATCH 40/42] perf callchain: Save eh/debug frame offset for dwarf unwind

2015-01-29 Thread Arnaldo Carvalho de Melo
Em Thu, Jan 29, 2015 at 05:07:21PM +0900, Namhyung Kim escreveu: When libunwind tries to resolve callchains it needs to know the offset of .eh_frame_hdr or .debug_frame to access the dso. Since it calls dso__data_fd(), it'll try to grab dso-lock everytime for same information. So save it to

Re: [PATCH 1/1] kconfig: warn if an unknown symbol is selected

2015-01-29 Thread Michal Marek
On 2015-01-28 22:32, Paul Bolle wrote: On Wed, 2015-01-28 at 16:26 +0100, Michal Marek wrote: On 2015-01-28 10:54, Paul Bolle wrote: Now that we've been told Yann has disappeared, would you consider taking this patch into one of your trees? It would be nice to have people actually use it for

[PATCH v3] samsung-laptop: enable better lid handling

2015-01-29 Thread Julijonas Kikutis
Some Samsung laptops with SABI3 delay the sleep for 10 seconds after the lid is closed and do not wake up from sleep after the lid is opened. A SABI command is needed to enable the better behavior. Command = 0x6e, d0 = 0x81 enables this behavior. Returns d0 = 0x01. Command = 0x6e, d0 = 0x80

[PATCH] perf: introduce new two options for objdump.

2015-01-29 Thread Martin Liška
Newly introduced options usedfull for off-box usage: --objdump-prefix: specify prefix to add to the absolute paths where objdump looks for source files. --objdump-prefix-strip: indicate how many initial directory names to strip off the hardwired absolute paths, passed to objdump. It has

Re: [PATCH v3 3/3] mm: cma: release trigger

2015-01-29 Thread Sasha Levin
On 01/29/2015 02:51 AM, Joonsoo Kim wrote: On Tue, Jan 27, 2015 at 09:22:57PM -0500, Sasha Levin wrote: +static int cma_free_mem(struct cma *cma, int count) +{ + struct cma_mem *mem = NULL; + + while (count) { + mem = cma_get_entry_from_list(cma); + if (mem ==

Re: [PATCH v11 01/28] scripts/gdb: Add infrastructure

2015-01-29 Thread Michal Marek
On 2015-01-29 07:46, Jan Kiszka wrote: --- a/scripts/Makefile +++ b/scripts/Makefile @@ -36,6 +36,7 @@ subdir-$(CONFIG_MODVERSIONS) += genksyms subdir-y += mod subdir-$(CONFIG_SECURITY_SELINUX) += selinux subdir-$(CONFIG_DTC) += dtc

Re: + mm-fix-false-positive-warning-on-exit-due-mm_nr_pmdsmm.patch added to -mm tree

2015-01-29 Thread Kirill A. Shutemov
On Mon, Jan 26, 2015 at 12:04:11PM -0800, a...@linux-foundation.org wrote: diff -puN arch/unicore32/mm/pgd.c~mm-fix-false-positive-warning-on-exit-due-mm_nr_pmdsmm arch/unicore32/mm/pgd.c --- a/arch/unicore32/mm/pgd.c~mm-fix-false-positive-warning-on-exit-due-mm_nr_pmdsmm +++

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

2015-01-29 Thread Bryan O'Donoghue
On 29/01/15 13:47, Ong, Boon Leong wrote: Bryan, Once you have the next revision ready, I would like to test it on my end across both Galileo Gen v1 v2. Cheers, BL Andy/BL - thanks for taking the time to test. I may end up dropping the imr_del_range() tests based on index as a result of

Re: PCIe 32-bit MMIO exhaustion

2015-01-29 Thread Bjorn Helgaas
[+cc Yinghai] Hi Daniel, On Wed, Jan 28, 2015 at 2:42 AM, Daniel J Blueman dan...@numascale.com wrote: With systems with a large number of PCI devices, we're seeing lack of 32-bit MMIO space, eg one quad-port NetXtreme-2 adapter takes 128MB of space [1]. An errata to the PCIe 2.1 spec

Re: [PATCH] staging: comedi: drivers: dyna_pci10xx: Removed variables that is never used

2015-01-29 Thread Ian Abbott
On 28/01/15 22:35, Rickard Strandqvist wrote: Variable ar assigned a value that is never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist

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

2015-01-29 Thread Peter Zijlstra
On Thu, Jan 29, 2015 at 04:20:22PM +0100, Peter Zijlstra wrote: event-ctx is never NULL, With the one exception of partially initialized events, that is. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo

Re: [PATCH v10 2/2] tty/serial: Add Spreadtrum sc9836-uart driver support

2015-01-29 Thread Varka Bhadram
Hi, On Wednesday 28 January 2015 04:38 PM, Chunyan Zhang wrote: Add a full sc9836-uart driver for SC9836 SoC which is based on the spreadtrum sharkl64 platform. This driver also support earlycon. Originally-by: Lanqing Liu lanqing@spreadtrum.com Signed-off-by: Orson Zhai

Re: [PATCH v7 13/17] ARM64 / ACPI: Add GICv2 specific ACPI boot support

2015-01-29 Thread Catalin Marinas
On Tue, Jan 27, 2015 at 04:12:08PM +, Grant Likely wrote: On Fri, Jan 16, 2015 at 2:37 PM, Marc Zyngier marc.zyng...@arm.com wrote: @@ -78,6 +79,10 @@ void __init set_handle_irq(void (*handle_irq)(struct pt_regs *)) void __init init_IRQ(void) { irqchip_init(); + + if

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

2015-01-29 Thread Sumit Semwal
Hi Russell! On 29 January 2015 at 20:09, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Tue, Jan 27, 2015 at 01:55:54PM +0530, Sumit Semwal wrote: +/* + * recalc_constraints - recalculates constraints for all attached devices; + * useful for detach() recalculation, and for

[PATCH v10 1/2] Documentation: DT: Add bindings for Spreadtrum SoC Platform

2015-01-29 Thread Chunyan Zhang
Adds Spreadtrum's prefix sprd to vendor-prefixes file. Adds the devicetree binding documentations for Spreadtrum's sc9836-uart and SC9836 SoC based on the Sharkl64 Platform which is a 64-bit SoC Platform of Spreadtrum. Signed-off-by: Chunyan Zhang chunyan.zh...@spreadtrum.com ---

Re: [PATCH] staging: comedi: drivers: rtd520: Removed variables that is never used

2015-01-29 Thread Ian Abbott
On 28/01/15 22:38, Rickard Strandqvist wrote: Variable ar assigned a value that is never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist

Re: [PATCH v10 2/2] tty/serial: Add Spreadtrum sc9836-uart driver support

2015-01-29 Thread Varka Bhadram
On Thursday 29 January 2015 08:56 PM, Varka Bhadram wrote: Hi, On Wednesday 28 January 2015 04:38 PM, Chunyan Zhang wrote: Add a full sc9836-uart driver for SC9836 SoC which is based on the spreadtrum sharkl64 platform. This driver also support earlycon. Originally-by: Lanqing Liu

RE: [PATCH 1/2] x86: Add Isolated Memory Regions for Quark X1000

2015-01-29 Thread Ong, Boon Leong
-Original Message- From: Bryan O'Donoghue [mailto:pure.lo...@nexus-software.ie] Sent: Thursday, January 29, 2015 11:22 PM To: Ong, Boon Leong Cc: Thomas Gleixner; Ingo Molnar; H. Peter Anvin; x...@kernel.org; dvh...@infradead.org; linux-kernel@vger.kernel.org; Andy Shevchenko; Ingo

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