Re: [PATCH v2 1/2] serial: fsl_lpuart: delete timer on shutdown

2015-01-10 Thread Stefan Agner
On 2015-01-10 01:48, Greg KH wrote: > On Sat, Jan 10, 2015 at 01:08:58AM +0100, Stefan Agner wrote: >> If the serial port gets closed while a RX transfer is in progress, >> the timer might fire after the serial port shutdown finished. This >> leads in a NULL pointer dereference: >> >> [7.508324

Re: [PATCH v8 2/4] fpga manager: add sysfs interface document

2015-01-10 Thread Pantelis Antoniou
Hi Pavel, > On Jan 9, 2015, at 22:56 , Pavel Machek wrote: > > On Fri 2015-01-09 13:14:24, atull wrote: >> On Wed, 7 Jan 2015, Pavel Machek wrote: >> >>> On Tue 2015-01-06 14:13:37, at...@opensource.altera.com wrote: + +What: /sys/class/fpga_manager//firmware +Date:

Re: [PATCH v2 2/2] serial: fsl_lpuart: avoid new transfer while DMA is running

2015-01-10 Thread Stefan Agner
On 2015-01-10 01:49, Greg KH wrote: > On Sat, Jan 10, 2015 at 01:08:59AM +0100, Stefan Agner wrote: >> When the UART is in DMA receive mode (RDMAS set) and one character >> just arrived while another interrupt is handled (e.g. TX), the RDRF >> (receiver data register full flag) is set due to the wa

Re: [PATCH] Documentation: Add entry for dell-laptop sysfs interface

2015-01-10 Thread Brian Norris
On Fri, Jan 9, 2015 at 10:57 PM, Darren Hart wrote: > On Wed, Dec 31, 2014 at 12:20:59PM +0100, Gabriele Mazzotta wrote: >> You are perfectly right, the documentation is wrong and I'm sorry for >> that. als_setting should allow you to define when the keyboard >> backlight has to be turned on or of

Re: [PATCHv10 man-pages 5/5] execveat.2: initial man page for execveat(2)

2015-01-10 Thread Michael Kerrisk (man-pages)
On 01/09/2015 06:46 PM, David Drysdale wrote: > On Fri, Jan 9, 2015 at 4:13 PM, Rich Felker wrote: >> On Fri, Jan 09, 2015 at 04:47:31PM +0100, Michael Kerrisk (man-pages) wrote: >>> On 11/24/2014 12:53 PM, David Drysdale wrote: Signed-off-by: David Drysdale --- man2/execveat.2 |

[PATCH v2 1/2] serial: fsl_lpuart: move DMA channel request to probe

2015-01-10 Thread Stefan Agner
Move the DMA channel request to probe to avoid requesting the DMA channel on each opening of the ttyLPx device. This also fixes a potential issue that TX channel is not freed when only RX channel allocation fails. The DMA channels are now handled independently, so one could use UART with DMA only i

[PATCH v2 0/2] serial: fsl_lpuart: DMA improvements

2015-01-10 Thread Stefan Agner
This are the remaining to patches 2 and 4 from the first version of this patchset. The patchset is based on the fixes patchset. https://lkml.org/lkml/2015/1/9/757 Changes since v1: - Reorderred and rebased on v3.19-rc3 Stefan Agner (2): serial: fsl_lpuart: move DMA channel request to probe se

[PATCH v2 2/2] serial: fsl_lpuart: update RX timer on successful DMA transfer

2015-01-10 Thread Stefan Agner
To end a DMA transfer which did not consume a whole buffer (e.g. one character only), a RX timer is used. When lots of data are received the DMA transfer will complete and setup another DMA transfer, which in turn might complete again. In this cases, it is not necessary to abort the DMA transfers u

Re: [PATCH 00/25] line6usb cleanup

2015-01-10 Thread Stefan Hajnoczi
On Sat, Jan 10, 2015 at 5:35 AM, Chris Rorvick wrote: > The line6usb driver references the device's idProduct and, in some > cases, the interface number in a number of places to determine device- > specific configuration values and to call device-specific functionality. > Rework code to leverage t

[PATCH RESEND] MAINTAINERS: add Freescale Vybrid SoC

2015-01-10 Thread Stefan Agner
Add Freescale Vybrid family as a own entry, along with an entry for the so far orphan Vybrid device tree files. Also add myself as a designated reviewer. Acked-by: Shawn Guo Signed-off-by: Stefan Agner --- MAINTAINERS | 10 ++ 1 file changed, 10 insertions(+) diff --git a/MAINTAINERS

[PATCH v2] NVMe: Use put_unaligned_be64

2015-01-10 Thread Vaishali Thakkar
This patch introduces the use of function put_unaligned_be64. This is done using Coccinelle and semantic patch used is as follows: @a@ typedef u64, __be64, uint64_t; {u64,__be64,uint64_t} e64; identifier tmp; expression ptr; expression y,e; type T; @@ - tmp = cpu_to_be64(y); <+... when != tmp (

Re: [Regression] 3.19-rc3 : memcg: Hang in mount memcg

2015-01-10 Thread Vladimir Davydov
On Fri, Jan 09, 2015 at 05:43:17PM +, Suzuki K. Poulose wrote: > Hi > > We have hit a hang on ARM64 defconfig, while running LTP tests on > 3.19-rc3. We are > in the process of a git bisect and will update the results as and > when we find the commit. > > During the ksm ltp run, the test hang

Re: [PATCH 2/3] gpio: dln2: use bus_sync_unlock instead of scheduling work

2015-01-10 Thread Octavian Purdila
On Fri, Jan 9, 2015 at 7:58 PM, Linus Walleij wrote: > On Fri, Jan 9, 2015 at 12:40 AM, Octavian Purdila > wrote: >> On Thu, Jan 1, 2015 at 9:56 AM, Linus Walleij >> wrote: >>> On Thu, Dec 11, 2014 at 2:02 PM, Octavian Purdila >>> wrote: >>> Use the irq_chip bus_sync_unlock method to upda

Re: noisy selinux messages on tmpfs mount.

2015-01-10 Thread Dominick Grift
On Fri, 2015-01-09 at 22:12 -0500, Paul Moore wrote: > systemd has taken over cron too? I suppose that is a logical extension, > but still... That is were i think davej is wrong. Here is what i think is the scenario with cron. Cron runs jobs on behalf root. Root is generally not logged in all t

Re: noisy selinux messages on tmpfs mount.

2015-01-10 Thread Dominick Grift
On Sat, 2015-01-10 at 10:11 +0100, Dominick Grift wrote: > On Fri, 2015-01-09 at 22:12 -0500, Paul Moore wrote: > > systemd has taken over cron too? I suppose that is a logical extension, > > but still... > > That is were i think davej is wrong. Here is what i think is the > scenario with cron.

Re: [BUG] perf probe can't insert return kprobe

2015-01-10 Thread Namhyung Kim
Hi Jiri, On Fri, Jan 09, 2015 at 04:44:21PM +0100, Jiri Olsa wrote: > On Fri, Jan 09, 2015 at 04:30:56PM +0100, Jiri Olsa wrote: > > On Sat, Jan 10, 2015 at 12:21:13AM +0900, Namhyung Kim wrote: > > > On Fri, Jan 09, 2015 at 03:55:39PM +0100, Jiri Olsa wrote: > > > > hi, > > > > I couldn't use fol

Re: [PATCH 09/22] [SCSI] mpt2sas, mpt3sas: Added a support to set cpu affinity for each MSIX vector enabled by the HBA

2015-01-10 Thread Christoph Hellwig
On Fri, Jan 09, 2015 at 03:58:16PM -0500, Martin K. Petersen wrote: > (Still dreaming of a combined mpt2sas and mpt3sas so I wouldn't have to > review everything twice). We really need to start that action instead of dreaming. Once this series is in I'll move the two drivers to at least a shared

Re: [PATCH 4/5] perf tools: [uclibc] don't rely on glibc malloc working for sz 0

2015-01-10 Thread Vineet Gupta
On Thursday 08 January 2015 01:23 PM, Namhyung Kim wrote: > Hi Vineet, > > On Tue, Jan 06, 2015 at 07:22:14PM +0530, Vineet Gupta wrote: >> When running perf on ARC (uClibc based userspace), ran into this issue >> ->8 >> [ARCLinux]$ ./perf record ls >> bin

Re: [PATCH v2 2/4] Documentation: bindings: Add the regulator property to the sub-nodes AHCI bindings

2015-01-10 Thread Hans de Goede
Hi, On 09-01-15 18:11, Mark Brown wrote: On Sat, Jan 10, 2015 at 12:29:32AM +0800, Chen-Yu Tsai wrote: Since the AHCI library code already supports the generic phy subsystem, with one phy possible for each port node, you could possibly add a generic phy that just takes a regulator, and hook it

Re: [Keyrings] [PATCH 1/2] MPILIB: Fix comparison of negative MPIs

2015-01-10 Thread Dmitry Kasatkin
Hi, Thank you. It looks correct. Ack. - Dmitry On 9 January 2015 at 12:58, David Howells wrote: > I think you're right - *adding* the two sizes makes no sense. cc'ing Dmitry > also for his check. > > David > > > Rasmus Villemoes wrote: > >> If u and v both represent negative integers and the

Re: [PATCH 5/5] perf tools: [uclibc] provide stub for pthread_attr_setaffinity_np

2015-01-10 Thread Vineet Gupta
Hi Namhyung, On Thursday 08 January 2015 01:28 PM, Namhyung Kim wrote: > On Tue, Jan 06, 2015 at 07:22:15PM +0530, Vineet Gupta wrote: >> > uClibc Linuxthreads.old doesnt support pthread_attr_setaffinity_np() >> > call >> > >> > ->8--- >> > CC bench/f

[PATCH 2/4] perf probe: Do not rely on map__load() filter to find symbols

2015-01-10 Thread Namhyung Kim
The find_probe_trace_events_from_map() searches matching symbol from a map (so from a backing dso). For uprobes, it'll create a new map (and dso) and loads it using a filter. It's a little bit inefficient in that it'll read out the symbol table everytime but works well anyway. For kprobes howeve

[PATCH 3/4] perf probe: Fix probing kretprobes

2015-01-10 Thread Namhyung Kim
The commit dfef99cd0b2c ("perf probe: Use ref_reloc_sym based address instead of the symbol name") converts kprobes to use ref_reloc_sym (i.e. _stext) and offset instead of using symbol's name directly. So on my system, adding do_fork ends up with like below: $ sudo perf probe -v --add do_fork%

[PATCH 1/4] perf tools: Allow use of an exclusive option more than once

2015-01-10 Thread Namhyung Kim
The exclusive options are to prohibit use of conflicting options at the same time. But it had a side effect that it also limits a such option can be used at most once. Currently the only user of the flag is perf probe and it allows to use such options more than once, but when one tries to use it,

Re: [Keyrings] [PATCH 2/2] MPILIB: Deobfuscate mpi_cmp

2015-01-10 Thread Dmitry Kasatkin
Hi, Thank you. Indeed '-cmp' is much more clear. Ack. - Dmitry On 9 January 2015 at 13:00, David Howells wrote: > This looks very reasonable. cc'ing Dmitry for his check. > > David > --- > Rasmus Villemoes wrote: > >> The condition preceding 'return 1;' makes my head hurt. At this point, >>

[PATCH 4/4] perf probe: Propagate error code when write(2) failed

2015-01-10 Thread Namhyung Kim
When it failed to write probe commands to the probe_event file in debugfs, it needs to propagate the error code properly. Current code blindly uses the return value of the write(2) so it always uses -1 (-EPERM) and it might confuse users. Cc: Masami Hiramatsu Signed-off-by: Namhyung Kim --- to

[PATCH] Staging: rtl8192u: Remove check of ieee in rtl819x_BAProc.c

2015-01-10 Thread Vaishali Thakkar
This patch fixes following smatch warning: drivers/staging/rtl8192u/ieee80211/rtl819x_BAProc.c:117 ieee80211_ADDBA() warn: variable dereferenced before check 'ieee' (see line 114) As ieee can not be NULL at this point, all such checks are removed. Signed-off-by: Vaishali Thakkar --- drivers/st

Re: [PATCH 4/5] perf tools: [uclibc] don't rely on glibc malloc working for sz 0

2015-01-10 Thread Namhyung Kim
On Sat, Jan 10, 2015 at 10:16:06AM +, Vineet Gupta wrote: > On Thursday 08 January 2015 01:23 PM, Namhyung Kim wrote: > > Hmm.. okay. I think we don't need to allocate the id arrays when size > > is 0. So perf_event__process_attr() will have the same problem IMHO. > > How about this? > > > >

Re: Linux 3.19-rc3

2015-01-10 Thread Andreas Mohr
Linus Torvalds wrote: > I dunno. I do know that you definitely don't want to haev a > desktop/workstation with 64kB pages. Yet that is what any VirtualAlloc() call on Windows does (well, not exactly *page* granularity but *allocation* granularity there). Prime example: do a naively specific/custom

Re: [PATCH 3/3] [PATCH] mtd: fix concurrent access to mtd->usecount

2015-01-10 Thread Brian Norris
On Wed, Nov 26, 2014 at 09:36:30PM +0800, zhangxingcai wrote: > __get_mtd_device() is called to increment mtd->usecount when we access > mtd via /dev/mtd1 or /dev/mtdblock1, but mtd_table_mutex lock is used in the > former > via get_mtd_device(), while &dev->lock lock is used in the latter. There

[PATCH 1/1] MAINTAINERS: remove ath5k mailing list

2015-01-10 Thread Jiri Slaby
The list is in the process of closing. Signed-off-by: Jiri Slaby Cc: Nick Kossifidis Cc: "Luis R. Rodriguez" Cc: linux-wirel...@vger.kernel.org Cc: "Michael Renzmann" --- MAINTAINERS | 1 - 1 file changed, 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 0519e79197ad..5ce30f9810b1

Re: [PATCH 1/2] iio: Add no-triggered buffer helper functions

2015-01-10 Thread Lars-Peter Clausen
On 01/08/2015 05:40 PM, Karol Wrona wrote: These ones helps to create and manage iio_kfifo buffer when no-triggered buffer is used. [...] +int iio_notriggered_buffer_setup(struct iio_dev *indio_dev, +const struct iio_buffer_setup_ops *setup_ops) + +{ + int

[PATCH v2 0/5] Perf tool fixes for ARC + uClibc

2015-01-10 Thread Vineet Gupta
Hi, This series based off linux-next of 20150105 allows us to build/use perf for ARC with uClibc based userland. v2: Change since v1 [1] * [1-3]/5 : no changes * 4/5 : Make perf_evsel__alloc_id agnostic of zero threads [Namhyung Kim] * 5/5 : Add missing test file v1: * 1/5 is really a r

[PATCH v2 4/5] perf tools: [uclibc] don't rely on glibc malloc working for sz 0

2015-01-10 Thread Vineet Gupta
When running perf on ARC (uClibc based userspace), ran into this issue ->8 [ARCLinux]$ ./perf record ls bin etc perfsys debug initperf.data tmp [ perf record: Woken up 1 times

[PATCH v2 3/5] perf tools: [uclibc] Avoid build splat for syscall numbers

2015-01-10 Thread Vineet Gupta
This is due to duplicated unistd inclusion (via uClibc headers + kernel headers) Also seen on ARM uClibc based tools --- ARC build -->8- CC util/evlist.o In file included from ~/arc/k.org/arch/arc/include/uapi/asm/unistd.h:25:0, from util/../perf-s

[PATCH v2 1/5] perf tools: [uclibc] fix statfs.f_type data type mismatch build error

2015-01-10 Thread Vineet Gupta
From: Alexey Brodkin ARC Linux uses the no legacy syscalls abi and corresponding uClibc headers statfs defines f_type to be U32 which causes perf build breakage http://git.uclibc.org/uClibc/tree/libc/sysdeps/linux/common-generic/bits/statfs.h --->8--- CC fs/fs.o fs/f

[PATCH v2 2/5] perf tools: [uclibc] Elide strlcpy warning

2015-01-10 Thread Vineet Gupta
->8-- CC bench/sched-pipe.o In file included from builtin-annotate.c:13:0: util/cache.h:76:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^ In file include

[PATCH v2 5/5] perf tools: [uclibc] provide stub for pthread_attr_setaffinity_np

2015-01-10 Thread Vineet Gupta
uClibc Linuxthreads.old doesnt support pthread_attr_setaffinity_np() call ->8--- CC bench/futex-hash.o CC bench/futex-wake.o bench/futex-hash.c: In function 'bench_futex_hash': bench/futex-hash.c:161:3: error: implicit declaration of function 'pt

Re: [PATCH 2/2] iio: Deselect IIO_TRIGGER for IIO_KFIFO_BUF

2015-01-10 Thread Lars-Peter Clausen
On 01/08/2015 05:40 PM, Karol Wrona wrote: iio kfifo can be used without trigger support so there is no need to build it. Signed-off-by: Karol Wrona Looks good, not sure why this was ever selected it in the first place. Reviewed-by: Lars-Peter Clausen --- drivers/iio/Kconfig |1 -

Re: [PATCHv2 1/3,RESEND] iio: dht11: Fix out-of-bounds read

2015-01-10 Thread Jonathan Cameron
On 07/01/15 12:15, Harald Geyer wrote: > As we access i-1 we must not start with i=0. > > From: Richard Weinberger > Signed-off-by: Richard Weinberger > Acked-by: Hartmut Knaack > Acked-by: Harald Geyer > Reviewed-by: Sanjeev Sharma > --- > Resending again to get the metadata right. Putting a

Re: [PATCHv2 2/3,RESEND] iio: dht11: Add locking

2015-01-10 Thread Jonathan Cameron
On 07/01/15 12:18, Harald Geyer wrote: > Make sure that the read function is not interrupted... > > From: Richard Weinberger > Signed-off-by: Richard Weinberger > Acked-by: Harald Geyer > Reviewed-by: Sanjeev Sharma > --- > Resending again to get the metadata right. > No Signed-off-by from me,

Re: [PATCH v2 2/4] Documentation: bindings: Add the regulator property to the sub-nodes AHCI bindings

2015-01-10 Thread Mark Brown
On Sat, Jan 10, 2015 at 11:20:13AM +0100, Hans de Goede wrote: > On 09-01-15 18:11, Mark Brown wrote: > >Or if the supply is for the device at the other end of the link (which > >is what it sounded like) then use that. This just sounds like the same > >problem we have for all the enumerable buses

Re: [PATCH 3.12 11/78] perf/x86/intel: Protect LBR and extra_regs against KVM lying

2015-01-10 Thread Dongsu Park
Hi Jiry, On 09.01.2015 11:31, Jiri Slaby wrote: > From: Kan Liang > > 3.12-stable review patch. If anyone has any objections, please let me know. Thanks for taking this patch to 3.12-stable. I've just tested 3.12.36 from your stable-3.12-queue tree. Unfortunately, the kernel still crashes at i

[PATCH v5] ARC: Dynamically determine BASE_BAUD from DeviceTree

2015-01-10 Thread Vineet Gupta
8250 earlycon is broken on multi-platform ARC because the UART clk value (BASE_BAUD) is fixed at build time. Instead, determine the appropriate UART clk at runtime; parse the devicetree early for platforms requiring alternate UART clk values (currently only the TB10X platform). Cc: Greg Kroah-Har

RE: [f2fs-dev][PATCH 1/2] f2fs: get rid of kzalloc in __recover_inline_status

2015-01-10 Thread Chao Yu
Hi, > -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Wednesday, January 07, 2015 3:32 AM > To: Chao Yu > Cc: Changman Lee; linux-f2fs-de...@lists.sourceforge.net; > linux-kernel@vger.kernel.org > Subject: Re: [f2fs-dev][PATCH 1/2] f2fs: get rid of kzalloc in >

Re: [PATCH 3.12 11/78] perf/x86/intel: Protect LBR and extra_regs against KVM lying

2015-01-10 Thread Jiri Slaby
On 01/10/2015, 12:24 PM, Dongsu Park wrote: > Hi Jiry, > > On 09.01.2015 11:31, Jiri Slaby wrote: >> From: Kan Liang >> >> 3.12-stable review patch. If anyone has any objections, please let me know. > > Thanks for taking this patch to 3.12-stable. > I've just tested 3.12.36 from your stable-3.1

RE: [f2fs-dev][PATCH 2/2] f2fs: enable recover_xattr_data to avoid cp when fsync after operating xattr

2015-01-10 Thread Chao Yu
Hi Jaegeuk, > -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Wednesday, January 07, 2015 3:44 AM > To: Chao Yu > Cc: Changman Lee; linux-f2fs-de...@lists.sourceforge.net; > linux-kernel@vger.kernel.org > Subject: Re: [f2fs-dev][PATCH 2/2] f2fs: enable recover_x

RE: [f2fs-dev][PATCH] f2fs: fix wrong memory footprint statistics in debugfs

2015-01-10 Thread Chao Yu
Hi Jaegeuk, > -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Wednesday, January 07, 2015 3:49 AM > To: Chao Yu > Cc: Changman Lee; linux-f2fs-de...@lists.sourceforge.net; > linux-kernel@vger.kernel.org > Subject: Re: [f2fs-dev][PATCH] f2fs: fix wrong memory foo

Re: [PATCH] Documentation: Add entry for dell-laptop sysfs interface

2015-01-10 Thread Gabriele Mazzotta
On Friday 09 January 2015 22:57:14 Darren Hart wrote: > On Wed, Dec 31, 2014 at 12:20:59PM +0100, Gabriele Mazzotta wrote: > > On Tuesday 30 December 2014 21:31:49 Brian Norris wrote: > > > Hi, > > > > > > On Wed, Dec 03, 2014 at 06:41:33PM +0100, Gabriele Mazzotta wrote: > > > > Add the documenta

Re: [PATCH 3/3] clk: berlin: bg2q: remove non-exist "smemc" gate clock

2015-01-10 Thread Sebastian Hesselbarth
On 09.01.2015 13:13, Jisheng Zhang wrote: On Wed, 7 Jan 2015 06:30:55 -0800 Sebastian Hesselbarth wrote: On 07.01.2015 15:22, Jisheng Zhang wrote: On Wed, 7 Jan 2015 06:11:58 -0800 Sebastian Hesselbarth wrote: On 31.12.2014 09:57, Jisheng Zhang wrote: The "smemc" clock is removed on BG2Q So

Re: [PATCH 1/3] getrandom.2: new manpage

2015-01-10 Thread Michael Kerrisk (man-pages)
Hi Heinrich, Things seem to have stalled on the getrandom(2) man page (no response to my mail below), and also in your conversation with Ted regarding the 29 Nov patch proposal "urandom: handle signals immediately". What's the current status? Cheers, Michael On 11 November 2014 at 12:44, Micha

Re: [PATCH] scsi: aic7xxx: aic7770: Remove unused function

2015-01-10 Thread Hannes Reinecke
On 01/02/2015 09:30 PM, Rickard Strandqvist wrote: > Remove the function aic7770_find_device() that is not used anywhere. > > This was partially found by using a static code analysis program called > cppcheck. > > Signed-off-by: Rickard Strandqvist Reviewed-by: Hannes Reinecke Cheers, Hanne

Re: [PATCH] scsi: aic7xxx: aic7xxx_core: Remove some unused functions

2015-01-10 Thread Hannes Reinecke
On 01/03/2015 05:35 PM, Rickard Strandqvist wrote: > Removes some functions that are not used anywhere: > ahc_outq() ahc_inq() > > This was partially found by using a static code analysis program called > cppcheck. > > Signed-off-by: Rickard Strandqvist Reviewed-by: Hannes Reinecke Cheers,

Re: [PATCHv10 man-pages 5/5] execveat.2: initial man page for execveat(2)

2015-01-10 Thread Rich Felker
On Sat, Jan 10, 2015 at 09:27:46AM +0100, Michael Kerrisk (man-pages) wrote: > On 01/09/2015 06:46 PM, David Drysdale wrote: > > On Fri, Jan 9, 2015 at 4:13 PM, Rich Felker wrote: > >> On Fri, Jan 09, 2015 at 04:47:31PM +0100, Michael Kerrisk (man-pages) > >> wrote: > >>> On 11/24/2014 12:53 PM,

Re: Linux 3.19-rc3

2015-01-10 Thread Will Deacon
Hi Linus, Laszlo, On Sat, Jan 10, 2015 at 04:39:05AM +, Linus Torvalds wrote: > On Fri, Jan 9, 2015 at 7:29 PM, Laszlo Ersek wrote: > > I've bisected this issue to Thanks for bisecting this! > .. commit f045bbb9fa1b ("mmu_gather: fix over-eager > tlb_flush_mmu_free() calling") > > Hmm. Tha

Re: [PATCH] x86, mpx: Ensure unused arguments of prctl() MPX requests are 0

2015-01-10 Thread Michael Kerrisk (man-pages)
On 01/09/2015 07:34 PM, Dave Hansen wrote: > On 01/09/2015 10:25 AM, Michael Kerrisk (man-pages) wrote: >> On 9 January 2015 at 18:25, Andi Kleen wrote: >>> "Michael Kerrisk (man-pages)" writes: From: Michael Kerrisk commit fe8c7f5cbf91124987106faa3bdf0c8b955c4cf7 added two new pr

Re: [PATCH v2 2/4] Documentation: bindings: Add the regulator property to the sub-nodes AHCI bindings

2015-01-10 Thread Hans de Goede
Hi, On 10-01-15 12:17, Mark Brown wrote: On Sat, Jan 10, 2015 at 11:20:13AM +0100, Hans de Goede wrote: On 09-01-15 18:11, Mark Brown wrote: Or if the supply is for the device at the other end of the link (which is what it sounded like) then use that. This just sounds like the same problem

Re: [PATCH 3/4] x86: open-code register save/restore in trace_hardirqs thunks

2015-01-10 Thread Borislav Petkov
On Fri, Jan 09, 2015 at 09:29:10PM +0100, Denys Vlasenko wrote: > On Fri, Jan 9, 2015 at 11:55 AM, Borislav Petkov wrote: > > Also, can you post the struct pt_regs change too so that we know where > > this is going? > > I'm concerned that posting too many patches at once > actually lowers the cha

Re: [PATCH v7 3/5] usb: dwc2: add generic PHY framework support for dwc2 usb controler platform driver.

2015-01-10 Thread Yunzhi Li
Hi Paul: On 2015/1/9 10:15, Paul Zimmerman wrote: /* -* Attempt to find a generic PHY, then look for an old style -* USB PHY, finally fall back to pdata +* If platform probe couldn't find a generic PHY or an old style +* USB PHY, fall back to pdata

drivers/base/firmware_class.c:1127 can't find firmware file

2015-01-10 Thread Toralf Förster
Hello, at a hardened 64 bit Gentoo Linux (Lenove T440s) I played with s2disk/s2ram and observed then this in the syslog (the firmware is there, I happened just today 2x and at 15th of December -and I do s2mem few times per day) : Jan 10 14:54:18 t44 kernel: [115622.951776] usb 2-3.4.1: reset h

Re: [PATCH V1 1/1] iio: Added Capella cm3232 ambient light sensor driver.

2015-01-10 Thread Jonathan Cameron
On 05/01/15 17:56, Joe Perches wrote: > On Mon, 2015-01-05 at 19:50 +0200, Daniel Baluta wrote: >> On Mon, Jan 5, 2015 at 6:42 PM, Joe Perches wrote: >>> On Mon, 2015-01-05 at 16:20 +0200, Daniel Baluta wrote: On Mon, Jan 5, 2015 at 3:09 PM, Joe Perches wrote: > On Mon, 2015-01-05 at 12:

Re: [PATCH v4 0/3] omapdss: Add video output support for gta04

2015-01-10 Thread Belisko Marek
Tomi can you please pick up this series for 3.20 release? Thanks On Wed, Dec 3, 2014 at 10:33 PM, Marek Belisko wrote: > changes from v3: > - use GPL v2 instead GPL > - fix wrong gpios property name in doc and DT > - set gpio to NULL if invalid > - drop unnecessary header > > changes from v2: > -

Re: [PATCH 1/3] input: tsc2007: Add pre-calibration, flipping and rotation

2015-01-10 Thread Belisko Marek
Ping for input maintainer. DT changes was acked. Thanks. On Tue, Sep 30, 2014 at 10:17 PM, Marek Belisko wrote: > This patch adds new parameters that allow to address typical hardware > design differences: touch screens may be wired or oriented differently > (portrait or landscape). And usually t

Re: [PATCH] prctl.2: Add description of Intel MPX calls

2015-01-10 Thread Michael Kerrisk (man-pages)
On 01/09/2015 07:36 PM, Dave Hansen wrote: > From: Dave Hansen > > The 3.19 kernel will have support for Intel MPX, including a pair > of new prctl() calls for enabling and disabling the kernel's > management of the "bounds tables". Add some descriptions of the > interface. > > The kernel patch

Re: [PATCH 3/4] x86: open-code register save/restore in trace_hardirqs thunks

2015-01-10 Thread Borislav Petkov
On Fri, Jan 09, 2015 at 07:54:08PM +0100, Denys Vlasenko wrote: > In order to narrow it down, can you, instead of my patch, try > just deleting this one line, and see whether breakage appears? Yep, this works: --- Index: b/arch/x86/lib/thunk_64.S ==

[PATCH 2/2] UBI: Block: Add blk-mq support

2015-01-10 Thread Richard Weinberger
Convert the driver to blk-mq. Beside of moving to the modern block interface this change boosts also the performance of the driver. nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda nand: Micron NAND 256MiB 3,3V 8-bit nand: 256MiB, SLC, page size: 2048, OOB size: 64 root@debian-armhf:~# dd

[PATCH 1/2] UBI: Add initial support for scatter gather

2015-01-10 Thread Richard Weinberger
Adds a new set of functions to deal with scatter gather. ubi_eba_read_leb_sg() will read from a LEB into a scatter gather list. The new data structure struct ubi_sgl will be used within UBI to hold the scatter gather list itself and metadata to have a cursor within the list. Signed-off-by: Richard

[PATCH] Staging: vt6655: fix a space coding style issue

2015-01-10 Thread Piotr Kubus
Fixed a space coding style issue found by checkpatch.pl in rxtx.c. Signed-off-by: Piotr Kubus --- drivers/staging/vt6655/rxtx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/vt6655/rxtx.c b/drivers/staging/vt6655/rxtx.c index 61c39dd..8047838 100644 --- a/dr

[PATCH] staging: skein: Fix checkpatch warnings

2015-01-10 Thread Arno Tiemersma
Remove do {} while (0) loops around single statements in skein/skein_block.c Signed-off-by: Arno Tiemersma --- drivers/staging/skein/skein_block.c | 16 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/drivers/staging/skein/skein_block.c b/drivers/staging/skein/sk

Re: [PATCH v8 2/4] fpga manager: add sysfs interface document

2015-01-10 Thread Pavel Machek
On Sat 2015-01-10 10:10:51, Pantelis Antoniou wrote: > Hi Pavel, > > > On Jan 9, 2015, at 22:56 , Pavel Machek wrote: > > > > On Fri 2015-01-09 13:14:24, atull wrote: > >> On Wed, 7 Jan 2015, Pavel Machek wrote: > >> > >>> On Tue 2015-01-06 14:13:37, at...@opensource.altera.com wrote: > +

ARM64: hibernation: How to use hibernation/suspend-to-disk on ARMv8?

2015-01-10 Thread George Bush
Hi all I notice we have hibernation.c in arm/kernel, however, I don't find it in arm64. Does it mean arm64 do not support hibernation/suspend-to-disk function? I tried some path to search the reason, but found nothing, they all say arm64 has the backward compatibility. So I send this email to the

Re: Linux 3.19-rc3

2015-01-10 Thread Kyle McMartin
On Sat, Jan 10, 2015 at 04:29:39AM +0100, Laszlo Ersek wrote: > I've bisected this issue to > Awesome, this was on my list of list of suspicious commits to check before my ARM64 box decided not to come back from reboot on Friday. :) Thanks for bisecting! cheers, --Kyle > > f045bbb9fa1bf6f507ad

Re: [PATCH v2] PCI/sysfs: off by two when checking the limit on driver_override length

2015-01-10 Thread Bjorn Helgaas
[+cc Kim, Stuart] On Wed, Jan 07, 2015 at 03:52:57PM -0500, Sasha Levin wrote: > When printing the driver_override parameter when it is 4095 and 4094 bytes > long the printing code would access invalid memory because we need count+1 > bytes for printing. Hi Sasha, I swear I'm not trying to be a

Re: [alsa-devel] [PATCH v9 1/4] drm/i2c: tda998x: Add DT support for audio

2015-01-10 Thread Jean-Francois Moine
On Fri, 9 Jan 2015 20:01:27 + Russell King - ARM Linux wrote: > > I proposed: > > > > audio-ports = <0x04>, <0x03>; > > audio-port-names = "spdif", "i2s"; > > > > Do you better like: > > > > audio-spdif-port = <0x04>; > > audio-i2s-port = <0x03>; > > Neither; we know tha

Re: [PATCHSET RFC block/for-next] writeback: cgroup writeback support

2015-01-10 Thread Tejun Heo
Hey, On Sat, Jan 10, 2015 at 11:38:19AM +1100, Dave Chinner wrote: > > What's implemented in this patchset is > > propagation of memcg tags for pagecache pages. If necessary, further > > mechanisms can be added, but this should cover the basics. > > Sure, but I'm just pointing out that if you di

Re: [PATCHSET RFC block/for-next] writeback: cgroup writeback support

2015-01-10 Thread Tejun Heo
On Sat, Jan 10, 2015 at 10:56:53AM -0500, Tejun Heo wrote: ... > backpressure propagation. If you start mixing pages from different > cgroups in a single bio, the only options for handling it from the > lower layer is either splitting it into two separate requests and > finish the bio only on comp

Re: [PATCH v7 3/5] usb: dwc2: add generic PHY framework support for dwc2 usb controler platform driver.

2015-01-10 Thread Yunzhi Li
Hi paul: 在 2015/1/9 10:15, Paul Zimmerman 写道: [...] /* -* Attempt to find a generic PHY, then look for an old style -* USB PHY, finally fall back to pdata +* If platform probe couldn't find a generic PHY or an old style +* USB PHY, fall back to pdata

man-pages-3.77 is released

2015-01-10 Thread Michael Kerrisk (man-pages)
Gidday, The Linux man-pages maintainer proudly announces: man-pages-3.77 - man pages for Linux Tarball download: http://www.kernel.org/doc/man-pages/download.html Git repository: https://git.kernel.org/cgit/docs/man-pages/man-pages.git/ Online changelog: http://man7.org/linux/man

[PATCH 1/3] rtlwifi: btcoexist: Remove some unused functions

2015-01-10 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: ex_halbtc8821a1ant_periodical() ex_halbtc8821a1ant_pnp_notify() ex_halbtc8821a1ant_halt_notify() ex_halbtc8821a1ant_bt_info_notify() ex_halbtc8821a1ant_special_packet_notify() ex_halbtc8821a1ant_connect_notify() ex_halbtc8821a1ant_scan_notify() ex_

[PATCH 3/3] rtlwifi: btcoexist: Remove some unused functions

2015-01-10 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: ex_halbtc8821a2ant_periodical() ex_halbtc8821a2ant_halt_notify() ex_halbtc8821a2ant_bt_info_notify() ex_halbtc8821a2ant_special_packet_notify() ex_halbtc8821a2ant_connect_notify() ex_halbtc8821a2ant_scan_notify() ex_halbtc8821a2ant_lps_notify() ex_

[PATCH 2/3] rtlwifi: btcoexist: Remove some unused functions

2015-01-10 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: ex_halbtc8723b1ant_periodical() ex_halbtc8723b1ant_coex_dm_reset() ex_halbtc8723b1ant_pnp_notify() ex_halbtc8723b1ant_halt_notify() ex_halbtc8723b1ant_bt_info_notify() ex_halbtc8723b1ant_special_packet_notify() ex_halbtc8723b1ant_connect_notify() e

Re: [PATCH v2] ARM: dts: add bcm2835-pwm bindings

2015-01-10 Thread Stephen Warren
On 01/07/2015 04:00 AM, Bart Tanghe wrote: > To probe the bcm2835-pwm driver properly, this dts bindings has to be added > to the bcm2835 dtsi file. > In expectation of a bcm2835 clock driver, I've added fixed-clock clock > binding. > diff --git a/arch/arm/boot/dts/bcm2835.dtsi b/arch/arm/boot/d

Re: [PATCH]dts: add bcm2835-pwm bindings

2015-01-10 Thread Stephen Warren
On 01/05/2015 08:33 AM, Bart Tanghe wrote: > To probe the bcm2835-pwm driver properly, this dts bindings has to be added > to the bcm2835 dtsi file. > In expectation of a bcm2835 clock driver, I've added fixed-clock clock > binding. > To change the status of the gpio pins into pwm output pins, so

[PATCH] sound: firewire: fireworks: fireworks_command: Remove unused function

2015-01-10 Thread Rickard Strandqvist
Remove the function snd_efw_command_set_resp_addr() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- sound/firewire/fireworks/fireworks.h |2 -- sound/firewire/fireworks/fireworks_com

Re: [PATCH V8 00/33] loop: Issue O_DIRECT aio using bio_vec

2015-01-10 Thread Ming Lei
Hi Guys, On 1/6/15, Ming Lei wrote: > On 1/6/15, Maxim Patlasov wrote: >> On 12/31/2014 04:52 PM, Ming Lei wrote: >>> On Thu, Jan 1, 2015 at 6:35 AM, Sedat Dilek >>> wrote: On Wed, Dec 31, 2014 at 10:52 PM, Dave Kleikamp wrote: > On 12/31/2014 02:38 PM, Sedat Dilek wrote: >>

[PATCH] lockd: xdr: Remove unused function

2015-01-10 Thread Rickard Strandqvist
Remove the function nlm_encode_fh() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- fs/lockd/xdr.c |8 1 file changed, 8 deletions(-) diff --git a/fs/lockd/xdr.c b/fs/lockd/xdr.c i

[PATCH 1/1 linux-next] tty: remove unused variable sprop

2015-01-10 Thread Fabian Frederick
sprop is unused in find_console_handle() since commit a752ee56ad84 ("tty: Update hypervisor tty drivers to use core stdout parsing code.") Signed-off-by: Fabian Frederick --- drivers/tty/ehv_bytechan.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/tty/ehv_bytechan.c b/drivers/tty/eh

Re: [PATCH 1/3] rtlwifi: btcoexist: Remove some unused functions

2015-01-10 Thread Larry Finger
On 01/10/2015 10:24 AM, Rickard Strandqvist wrote: Removes some functions that are not used anywhere: ex_halbtc8821a1ant_periodical() ex_halbtc8821a1ant_pnp_notify() ex_halbtc8821a1ant_halt_notify() ex_halbtc8821a1ant_bt_info_notify() ex_halbtc8821a1ant_special_packet_notify() ex_halbtc8821a1ant_

Getting new udev to run with 2.6.28

2015-01-10 Thread Pavel Machek
Hi! N900 has real problems on 3.19, and 2.6.28 should be very well debugged version. Getting it to compile on recent distribution was fun, but I succeeded. Unfortunately, Debian 7's udev does not work with 2.6.28... Does anyone have kernel patches to enable modern udev? Thanks,

Re: [PATCH v2 1/4] staging: rtl8192u: fix comments

2015-01-10 Thread Greg KH
On Wed, Dec 31, 2014 at 09:10:40PM +, Lorenzo Stoakes wrote: > This patch fixes errors raised by checkpatch.pl relating to use of C99 > comments > in r8192U_dm.c and cleans up existing ANSI C comments. > > Signed-off-by: Lorenzo Stoakes > --- > drivers/staging/rtl8192u/r8192U_dm.c | 811 >

Re: Getting new udev to run with 2.6.28

2015-01-10 Thread Greg KH
On Sat, Jan 10, 2015 at 06:39:20PM +0100, Pavel Machek wrote: > Hi! > > N900 has real problems on 3.19, and 2.6.28 should be very well > debugged version. Getting it to compile on recent distribution was > fun, but I succeeded. Unfortunately, Debian 7's udev does not work > with 2.6.28... > > Doe

Re: Getting new udev to run with 2.6.28

2015-01-10 Thread Pavel Machek
On Sat 2015-01-10 10:05:32, Greg KH wrote: > On Sat, Jan 10, 2015 at 06:39:20PM +0100, Pavel Machek wrote: > > Hi! > > > > N900 has real problems on 3.19, and 2.6.28 should be very well > > debugged version. Getting it to compile on recent distribution was > > fun, but I succeeded. Unfortunately,

Re: [PATCH v8 0/4] FPGA Manager Framework

2015-01-10 Thread Konrad Zapalowicz
On 01/06, at...@opensource.altera.com wrote: > From: Alan Tull Alan, there is something wrong with your email client configuration and you need to fix. thanks, konrad > v8 changes the compatible string for SOCFPGA FPGA managers > to be more chip specific. > > "altr,fpga-mgr" becomes "altr,soc

[PATCH 1/1 linux-next] udf: destroy sbi mutex in put_super

2015-01-10 Thread Fabian Frederick
Call mutex_destroy() on superblock mutex in udf_put_super() otherwise mutex debugging code isn't able to detect that mutex is used after being freed. (thanks to Jan Kara for complete definition). Signed-off-by: Fabian Frederick --- fs/udf/super.c | 1 + 1 file changed, 1 insertion(+) diff --git

Re: Getting new udev to run with 2.6.28

2015-01-10 Thread Greg KH
On Sat, Jan 10, 2015 at 07:09:42PM +0100, Pavel Machek wrote: > On Sat 2015-01-10 10:05:32, Greg KH wrote: > > On Sat, Jan 10, 2015 at 06:39:20PM +0100, Pavel Machek wrote: > > > Hi! > > > > > > N900 has real problems on 3.19, and 2.6.28 should be very well > > > debugged version. Getting it to co

Re: [PATCH 2/2] iio: Deselect IIO_TRIGGER for IIO_KFIFO_BUF

2015-01-10 Thread Jonathan Cameron
On 10/01/15 11:11, Lars-Peter Clausen wrote: > On 01/08/2015 05:40 PM, Karol Wrona wrote: >> iio kfifo can be used without trigger support so there is no need to build >> it. >> >> Signed-off-by: Karol Wrona > > Looks good, not sure why this was ever selected it in the first place. > > Reviewed

Re: [PATCH 1/2] iio: Add no-triggered buffer helper functions

2015-01-10 Thread Jonathan Cameron
On 10/01/15 11:10, Lars-Peter Clausen wrote: > On 01/08/2015 05:40 PM, Karol Wrona wrote: >> These ones helps to create and manage iio_kfifo buffer when >> no-triggered buffer is used. > [...] >> +int iio_notriggered_buffer_setup(struct iio_dev *indio_dev, >> + const struct iio_buff

media

2015-01-10 Thread Sander Eikelenboom
PU: 4 PID: 2133 Comm: v4l_id Not tainted 3.19.0-rc3-20150110-pciback-doflr+ #1 [ 25.695927] Hardware name: MSI MS-7640/890FXA-GD70 (MS-7640) , BIOS V1.8B1 09/13/2010 [ 25.723022] 81fcf468 880546fefbc8 81bb3fc9 880544a83240 [ 25.748684] 0

Re: [PATCH] x86, mpx: Ensure unused arguments of prctl() MPX requests are 0

2015-01-10 Thread Andi Kleen
On Sat, Jan 10, 2015 at 02:49:07PM +0100, Michael Kerrisk (man-pages) wrote: > On 01/09/2015 07:34 PM, Dave Hansen wrote: > > On 01/09/2015 10:25 AM, Michael Kerrisk (man-pages) wrote: > >> On 9 January 2015 at 18:25, Andi Kleen wrote: > >>> "Michael Kerrisk (man-pages)" writes: > From: Mich

Re: [PATCHv2 1/3,RESEND] iio: dht11: Fix out-of-bounds read

2015-01-10 Thread Richard Weinberger
Am 10.01.2015 um 12:14 schrieb Jonathan Cameron: > On 07/01/15 12:15, Harald Geyer wrote: >> As we access i-1 we must not start with i=0. >> >> From: Richard Weinberger >> Signed-off-by: Richard Weinberger >> Acked-by: Hartmut Knaack >> Acked-by: Harald Geyer >> Reviewed-by: Sanjeev Sharma >>

  1   2   3   >