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 etc

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: [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 hangs

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

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 dvh...@infradead.org 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

Re: [PATCH 00/25] line6usb cleanup

2015-01-10 Thread Stefan Hajnoczi
On Sat, Jan 10, 2015 at 5:35 AM, Chris Rorvick ch...@rorvick.com 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

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] Unable

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 water

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 pa...@denx.de 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/fpga/firmware +Date:

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 linus.wall...@linaro.org wrote: On Fri, Jan 9, 2015 at 12:40 AM, Octavian Purdila octavian.purd...@intel.com wrote: On Thu, Jan 1, 2015 at 9:56 AM, Linus Walleij linus.wall...@linaro.org wrote: On Thu, Dec 11, 2014 at 2:02 PM, Octavian Purdila

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 dal...@aerifal.cx 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 drysd...@google.com ---

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. Cron

[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 (

[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 shawn@linaro.org Signed-off-by: Stefan Agner ste...@agner.ch --- MAINTAINERS | 10 ++ 1 file changed, 10

[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

[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

[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

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 following perf

[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

[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

[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

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 dhowe...@redhat.com wrote: This looks very reasonable. cc'ing Dmitry for his check. David --- Rasmus Villemoes li...@rasmusvillemoes.dk wrote: The condition preceding 'return 1;'

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. Therefore

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 in

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 rich...@nod.at Signed-off-by: Richard Weinberger rich...@nod.at Acked-by: Harald Geyer har...@ccbib.org Reviewed-by: Sanjeev Sharma sanjeev_sha...@mentor.com ---

[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

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 kan.li...@intel.com 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

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 sebastian.hesselba...@gmail.com wrote: On 07.01.2015 15:22, Jisheng Zhang wrote: On Wed, 7 Jan 2015 06:11:58 -0800 Sebastian Hesselbarth sebastian.hesselba...@gmail.com wrote: On 31.12.2014

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 dal...@aerifal.cx wrote: On Fri, Jan 09, 2015 at 04:47:31PM +0100, Michael Kerrisk (man-pages) wrote: On 11/24/2014 12:53

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 ma...@goldelico.com wrote: This patch adds new parameters that allow to address typical hardware design differences: touch screens may be wired or oriented differently (portrait or

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: 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: [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 footprint

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 b...@alien8.de 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

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 j...@perches.com wrote: On Mon, 2015-01-05 at 16:20 +0200, Daniel Baluta wrote: On Mon, Jan 5, 2015 at 3:09 PM, Joe Perches j...@perches.com wrote: On Mon,

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

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 li...@arm.linux.org.uk 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 that there

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, some

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 ming@canonical.com wrote: On 1/6/15, Maxim Patlasov mpatla...@parallels.com wrote: On 12/31/2014 04:52 PM, Ming Lei wrote: On Thu, Jan 1, 2015 at 6:35 AM, Sedat Dilek sedat.di...@gmail.com wrote: On Wed, Dec 31, 2014 at 10:52 PM, Dave Kleikamp

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()

[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 masami.hiramatsu...@hitachi.com

[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

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? diff

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,

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 ma...@goldelico.com 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

[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()

[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()

[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()

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: [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 dhowe...@redhat.com wrote: I think you're right - *adding* the two sizes makes no sense. cc'ing Dmitry also for his check. David Rasmus Villemoes li...@rasmusvillemoes.dk wrote: If u and v both

[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 jsl...@suse.cz Cc: Nick Kossifidis mickfl...@gmail.com Cc: Luis R. Rodriguez mcg...@do-not-panic.com Cc: linux-wirel...@vger.kernel.org Cc: Michael Renzmann mrenzm...@madwifi-project.org --- MAINTAINERS | 1 - 1 file changed, 1

[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

[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 abrod...@synopsys.com 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---

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

[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

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] 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 rickard_strandqv...@spectrumdigital.se Reviewed-by:

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 rickard_strandqv...@spectrumdigital.se

[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 p.t.ku...@gmail.com --- 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

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 pa...@denx.de 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:

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 dirty a

[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 rickard_strandqv...@spectrumdigital.se --- sound/firewire/fireworks/fireworks.h |2 --

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/futex-hash.o

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 documentation for the

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

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 dave.han...@intel.com 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

[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:~#

[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:

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

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:

[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

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 k.wr...@samsung.com Looks good, not sure why this was ever selected it in the first place. Reviewed-by: Lars-Peter Clausen l...@metafoo.de

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

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 kan.li...@intel.com 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

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

[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 arno.tiemer...@gmail.com --- drivers/staging/skein/skein_block.c | 16 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/drivers/staging/skein/skein_block.c

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

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

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

[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 rickard_strandqv...@spectrumdigital.se --- fs/lockd/xdr.c |8 1 file changed, 8 deletions(-) diff

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 rich...@nod.at Signed-off-by: Richard Weinberger rich...@nod.at Acked-by: Hartmut Knaack knaac...@gmx.de Acked-by: Harald Geyer har...@ccbib.org Reviewed-by: Sanjeev Sharma

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 ler...@redhat.com wrote: I've bisected this issue to Thanks for bisecting this! .. commit f045bbb9fa1b (mmu_gather: fix over-eager tlb_flush_mmu_free() calling)

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 a...@firstfloor.org wrote: Michael Kerrisk (man-pages) mtk.manpa...@gmail.com writes: From: Michael Kerrisk mtk.manpa...@gmail.com commit

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

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 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 f...@skynet.be --- drivers/tty/ehv_bytechan.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/tty/ehv_bytechan.c

[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 f...@skynet.be --- fs/udf/super.c | 1 + 1 file changed, 1

Re: [GIT PULL] Block changes for 3.19-rc3

2015-01-10 Thread Linus Torvalds
On Fri, Jan 9, 2015 at 9:54 AM, Jens Axboe ax...@fb.com wrote: Please pull! You've completely screwed up your pull request. You ask me to pull, but you don't mention where from! Please fix whatever broken script you are using. Linus -- To unsubscribe from

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

2015-01-10 Thread Denys Vlasenko
On Sat, Jan 10, 2015 at 9:17 PM, Andy Lutomirski l...@amacapital.net wrote: After I've seen the disassembly I myself posted, I can't help but wonder why we use 5-byte instructions to store and load regs on stack when pushes and pops are 1 or 2-byte long. I asked this once, and someone told me

Re: [BUG] 3.19-rc1 net: less interrupt masking in NAPI

2015-01-10 Thread Eric Dumazet
On Sat, 2015-01-10 at 22:39 +0200, Oded Gabbay wrote: Hi, Commit d75b1ade567ffab085e8adbbdacf0092d10cd09c breaks my Qualcomm Atheros AR8161 Gigabit Ethernet (rev 10) Ethernet controller, which is handled by the alx network driver. ogabbay@odedg-ubuntu:~$ lspci -s 01:00.0 -k 01:00.0

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

2015-01-10 Thread Denys Vlasenko
On Sat, Jan 10, 2015 at 10:02 PM, Andy Lutomirski l...@amacapital.net wrote: On Sat, Jan 10, 2015 at 12:42 PM, Borislav Petkov b...@alien8.de wrote: On Sat, Jan 10, 2015 at 12:17:13PM -0800, Andy Lutomirski wrote: I asked this once, and someone told me that push/pop has lower throughput. I

Re: [BUG] 3.19-rc1 net: less interrupt masking in NAPI

2015-01-10 Thread Eric Dumazet
On Sat, 2015-01-10 at 12:58 -0800, Eric Dumazet wrote: On Sat, 2015-01-10 at 22:39 +0200, Oded Gabbay wrote: Hi, Commit d75b1ade567ffab085e8adbbdacf0092d10cd09c breaks my Qualcomm Atheros AR8161 Gigabit Ethernet (rev 10) Ethernet controller, which is handled by the alx network driver.

Re: [PATCH v3 2/3] dt-bindings: Add pinctrl bindings for mt65xx/mt81xx.

2015-01-10 Thread Linus Walleij
On Tue, Dec 2, 2014 at 2:55 PM, Sascha Hauer s.ha...@pengutronix.de wrote: Sorry for taking eternities to get back on this, I ran into a merge window and some christmas. I do hope we can resolve this in the current development cycle so we can get this support in. On Fri, Nov 28, 2014 at

Re: Linux 3.19-rc3

2015-01-10 Thread Arnd Bergmann
On Saturday 10 January 2015 13:00:27 Linus Torvalds wrote: IIRC, AIX works great with 64k pages, but only because of two reasons that don't apply on Linux: .. there's a few other ones: (c) nobody really runs AIX on dekstops. It's very much a DB load environment, with historically

Re: [PATCH 2/4] x86: ia32entry.S: fix wrong symbolic constant usage: R11-ARGOFFSET

2015-01-10 Thread Andy Lutomirski
On Sat, Jan 10, 2015 at 2:00 PM, Denys Vlasenko dvlas...@redhat.com wrote: The values of these two constants are the same, the meaning is different. Acked-by: Andy Lutomirski l...@amacapital.net I'll make the same change to my pending entry work, and hopefully we can avoid conflicts. --Andy

Re: [PATCH 1/4] x86: entry_64.S: delete unused code

2015-01-10 Thread Andy Lutomirski
On Sat, Jan 10, 2015 at 2:00 PM, Denys Vlasenko dvlas...@redhat.com wrote: A define, two macros and an unreferenced bit of assembly are gone. Acked-by: Andy Lutomirski l...@amacapital.net Signed-off-by: Denys Vlasenko dvlas...@redhat.com Acked-by: Borislav Petkov b...@suse.de CC: Linus

Re: [PATCH v5 3/7] iio: Add support for DA9150 GPADC

2015-01-10 Thread Jonathan Cameron
On 07/01/15 16:03, Opensource [Adam Thomson] wrote: On January 4, 2015 17:22, Jonathan Cameron wrote: On 22/12/14 16:51, Adam Thomson wrote: This patch adds support for DA9150 Charger Fuel-Gauge IC GPADC. Signed-off-by: Adam Thomson adam.thomson.opensou...@diasemi.com One last query from

  1   2   3   4   5   >