Re: [PATCH v3 7/7] staging: lustre: lclient: lcommon_cl.c fixing coding style issues

2014-06-16 Thread Anil Shashikumar Belur
+ unsigned long cur_index; I wonder why move this particular declaration here? The only user is still in that one conditional branch anyway. These changes are for fixing warning of line over 80 chars and indent. maybe I should change 'unsigned long' to 'u64' keeping the line of code in

Re: [PATCH v3 1/7] staging: lustre: lclient: glimpse.c fixing coding style issues

2014-06-16 Thread Anil Shashikumar Belur
- result = +1; + result = + 1; This looks wrong. Here +1 is apparently meant as +1 (compare to -1) to underscore it's positive nature. If you wanted to drop the +, that'd be fine, I guess, but in your version it looks outright wrong to me (I tested and it compiles, though). Bye,

Re: [PATCH 1/3] perf timechart: implement IO mode

2014-06-16 Thread Stanislav Fomichev
It was because, as I said, my system doesn't have pread64 syscall.. you missed to decrease rec_argc when skipping invalid events. :) Thanks, missed that! After fixing the problem, I could run timechart and generate an output.svg file. But it doesn't show any IO activity.. process info was

Re: [PATCH v6 6/9] seccomp: add seccomp syscall

2014-06-16 Thread Michael Kerrisk (man-pages)
Hi Kees, On Wed, Jun 11, 2014 at 5:25 AM, Kees Cook keesc...@chromium.org wrote: This adds the new seccomp syscall with both an operation and flags parameter for future expansion. The third argument is a pointer value, used with the SECCOMP_SET_MODE_FILTER operation. Currently, flags must be

Re: [PATCH 3/3] perf timechart: add more options to IO mode

2014-06-16 Thread Stanislav Fomichev
It's in nano-second unit, right? If so, it's very unconvenient for user to specify. Maybe we could support to parse unit (s, ms, us, ...) also. Yes, it's nano-second. I didn't want to limit it to ms, because I still want to be able to specify ns. I think it's a good idea to support parsing

Re: [PATCH -next 22/26] qla2xxx: Use dma_zalloc_coherent

2014-06-16 Thread Saurav Kashyap
Acked-by: Saurav Kashyap saurav.kash...@qlogic.com Use the zeroing function instead of dma_alloc_coherent memset(,0,) Signed-off-by: Joe Perches j...@perches.com --- drivers/scsi/qla2xxx/qla_init.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git

Re: [PATCH] mm/vmscan.c: avoid recording the original scan targets in shrink_lruvec()

2014-06-16 Thread Chen Yucong
On Sun, 2014-06-15 at 17:47 -0700, Hugh Dickins wrote: On Wed, 11 Jun 2014, Chen Yucong wrote: On Tue, 2014-06-10 at 16:33 -0700, Andrew Morton wrote: break; if (nr_file nr_anon) { - unsigned long scan_target =

Re: [PATCH v3 -next 1/9] DMA, CMA: fix possible memory leak

2014-06-16 Thread Minchan Kim
Hi, Joonsoo On Mon, Jun 16, 2014 at 02:40:43PM +0900, Joonsoo Kim wrote: We should free memory for bitmap when we find zone mis-match, otherwise this memory will leak. Additionally, I copy code comment from PPC KVM's CMA code to inform why we need to check zone mis-match. * Note Minchan

Re: [PATCH v3 0/6] acerhdf/thermal: adding new models, appropriate governor and minor clean up

2014-06-16 Thread Felix Deichmann
Hello Peter, is there a newer version of acerhdf than 'acerhdf_kmod-0.5.30b-linux-3.8' which includes all your recent patches? I am struggeling to get the fan of my Aspire V5 under control. Is there a way to determine the adresses of the bios for the fans, so I can add my model to the

RE: [PATCH -next 15/26] bfa: Use dma_zalloc_coherent

2014-06-16 Thread Anil Gurumurthy
Thanks for the patch. Acked-by: Anil Gurumurthy anil.gurumur...@qlogic.com -Original Message- From: Joe Perches [mailto:j...@perches.com] Sent: 16 June 2014 02:08 To: linux-kernel Cc: Anil Gurumurthy; Sudarsana Kalluru; James E.J. Bottomley; linux-scsi Subject: [PATCH -next 15/26] bfa:

Re: [RFC 0/2] __vdso_findsym

2014-06-16 Thread Rich Felker
On Sun, Jun 15, 2014 at 11:22:48AM -0700, Andy Lutomirski wrote: [1] The only comprehensible description of the GNU hash extension that I could find is on Oracle's blog (!) Curious about this blog. We do have a GNU hash implementation in Syslinux, too, for another reference.

Re: [patch] checkpatch: warn on missing spaces in broken up quoted strings

2014-06-16 Thread Dan Carpenter
On Fri, Jun 13, 2014 at 12:52:25PM -0700, Joe Perches wrote: On Fri, 2014-06-13 at 12:46 +0300, Dan Carpenter wrote: On Fri, Jun 13, 2014 at 02:30:22AM -0700, Joe Perches wrote: +# check for missing a space in a string concatination +if ($prevrawline =~ /[^\\][a-zA-Z]$/

[GIT] Sparc

2014-06-16 Thread David Miller
Please pull to get these sparc sparse fixes from Sam Ravnborg. Thanks a lot! The following changes since commit 2aafe1a4d451866e3e7b476e2fa0813b69b313c1: Merge tag 'trace-fixes-v3.15-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace (2014-04-28 16:57:51 -0700) are

[PATCH v3] hwmon: Driver for TI TMP103 temperature sensor

2014-06-16 Thread Heiko Schocher
Driver for the TI TMP103. The TI TMP103 is similar to the TMP102. It differs from the TMP102 by having only 8 bit registers. Signed-off-by: Heiko Schocher h...@denx.de --- Cc: Jean Delvare kh...@linux-fr.org Cc: Guenter Roeck li...@roeck-us.net Cc: linux-kernel@vger.kernel.org Cc:

Re: [PATCH v2] delete unnecessary bootmem struct page array

2014-06-16 Thread Richard Weinberger
Am 16.06.2014 05:28, schrieb Real Name: On Sat, Jun 14, 2014 at 11:44:04AM +0200, Richard Weinberger wrote: Hi! Am 03.06.2014 07:30, schrieb Real Name: From: Honggang Li enjoymind...@gmail.com The patch based on linux-next-2014-06-02. The old init_maps function does two things: 1)

Re: [uml-devel] [PATCH v2] delete unnecessary bootmem struct page array

2014-06-16 Thread Geert Uytterhoeven
On Mon, Jun 16, 2014 at 5:28 AM, Real Name enjoymind...@gmail.com wrote: what is the pre-git linux tree? I searched it with google, but failed. E.g. git.kernel.org/cgit/linux/kernel/git/tglx/history.git/ -- Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's

Re: [PATCH] staging: lustre: Use %ld to format long

2014-06-16 Thread Geert Uytterhoeven
Hi Greg, On Wed, Jun 11, 2014 at 7:00 PM, Geert Uytterhoeven ge...@linux-m68k.org wrote: drivers/staging/lustre/lustre/llite/rw26.c: In function ‘ll_direct_IO_26’: drivers/staging/lustre/lustre/llite/rw26.c:388: warning: format ‘%zd’ expects type ‘signed size_t’, but argument 6 has type ‘long

Re: [PATCH v2 07/10] PPC, KVM, CMA: use general CMA reserved area management framework

2014-06-16 Thread Aneesh Kumar K.V
Joonsoo Kim iamjoonsoo@lge.com writes: On Sat, Jun 14, 2014 at 02:23:59PM +0530, Aneesh Kumar K.V wrote: Joonsoo Kim iamjoonsoo@lge.com writes: Now, we have general CMA reserved area management framework, so use it for future maintainabilty. There is no functional change.

Re: company copyrights. Re: [PATCH] PM / Documentation: Update Srivatsa S. Bhat's email address

2014-06-16 Thread Pavel Machek
Hi! On Sunday, June 15, 2014 12:36:11 AM Pavel Machek wrote: On Mon 2014-06-09 13:28:36, Rafael J. Wysocki wrote: On Monday, June 09, 2014 03:54:49 PM Srivatsa S. Bhat wrote: My @linux.vnet.ibm.com email address is going to disappear soon, as I will be beginning my M.S./PhD

Re: [PATCH v2 00/10] CMA: generalize CMA reserved area management code

2014-06-16 Thread Aneesh Kumar K.V
Joonsoo Kim iamjoonsoo@lge.com writes: On Sat, Jun 14, 2014 at 12:55:39PM +0530, Aneesh Kumar K.V wrote: Joonsoo Kim iamjoonsoo@lge.com writes: Currently, there are two users on CMA functionality, one is the DMA subsystem and the other is the kvm on powerpc. They have their own

iter_file_splice_write() return value (was: Re: -splice_write() via -write_iter())

2014-06-16 Thread Geert Uytterhoeven
Hi Al, On Thu, Jun 12, 2014 at 8:14 PM, Linux Kernel Mailing List linux-kernel@vger.kernel.org wrote: Gitweb: http://git.kernel.org/linus/;a=commit;h=8d0207652cbe27d1f962050737848e5ad4671958 Commit: 8d0207652cbe27d1f962050737848e5ad4671958 -splice_write() via -write_iter()

Re: radeon: screen garbled after page allocator change, was: Re: [patch v2 3/3] mm: page_alloc: fair zone allocator policy

2014-06-16 Thread Thomas Schwinge
Hi! On Mon, 28 Apr 2014 10:09:17 +0200, I wrote: On Sun, 27 Apr 2014 15:55:29 -0400, Jerome Glisse j.gli...@gmail.com wrote: If my ugly patch works does this quirk also work ? Unfortunately they both don't; see my other email,

Re: [PATCH] USB: ftdi_sio: add GPIO support

2014-06-16 Thread Philipp Hachtmann
Hi, Would this patch interfere with adding support for using the CBUS pins as GPIOs while operating in normal UART mode? Most interesting question! Care was taken to prevent using GPIOs if the serial device is in use and vice versa. What about CBUS GPIO support? Ok, so we're not

[PATCH] staging: goldfish: fix coding style.

2014-06-16 Thread Hoang Tran
Using an else following a break or return can unnecessarily indent code blocks. This patch fixes coding style reported by checkpatch.pl, a part of eudyptula challenge. Signed-off-by: Hoang Tran hoangtran@gmail.com --- drivers/staging/goldfish/goldfish_audio.c | 10 +- 1 file

Re: [uml-devel] [PATCH v2] delete unnecessary bootmem struct page array

2014-06-16 Thread Paul Bolle
On Mon, 2014-06-16 at 08:58 +0200, Geert Uytterhoeven wrote: On Mon, Jun 16, 2014 at 5:28 AM, Real Name enjoymind...@gmail.com wrote: what is the pre-git linux tree? I searched it with google, but failed. E.g. git.kernel.org/cgit/linux/kernel/git/tglx/history.git/ The archive at

Re: [Regression] 3.15 mmc related ext4 corruption with qemu-system-arm

2014-06-16 Thread Jeff Chua
On Fri, Jun 13, 2014 at 8:28 PM, Ulf Hansson ulf.hans...@linaro.org wrote: On 13 June 2014 01:51, John Stultz john.stu...@linaro.org wrote: On Wed, Jun 11, 2014 at 10:35 PM, John Stultz john.stu...@linaro.org wrote: I have quickly implemented my proposal 1). I am testing them on real HW now,

Re: [PATCH] offb: Fix little-endian support

2014-06-16 Thread Benjamin Herrenschmidt
On Wed, 2014-05-14 at 19:57 +0200, Takashi Iwai wrote: Hm, so it actually regressed on BE? It's strange because fb_math_be() should be true and the patch won't change the values in that case... Shouldn't the patch be based on foreign endian being set rather than just be anyway ? IE. If

Re: [PATCH 2/2] arm: dts: add support for AM437x StarterKit

2014-06-16 Thread Tony Lindgren
* Felipe Balbi ba...@ti.com [140613 09:33]: On Fri, Jun 13, 2014 at 11:23:34AM -0500, Felipe Balbi wrote: On Fri, Jun 13, 2014 at 11:15:47AM -0500, Felipe Balbi wrote: --- /dev/null +++ b/arch/arm/boot/dts/am437x-sk-evm.dts @@ -0,0 +1,539 @@ +/* + * Copyright (C) 2014 Texas

Re: [Patch v5.1 03/03]: hwrng: khwrngd derating per device

2014-06-16 Thread Torsten Duwe
On Sun, Jun 15, 2014 at 01:11:46AM -0400, Theodore Ts'o wrote: OK, I've merged these changes into the random.git tree. I had to make a few minor changes. 1) Changes so it would compile on 3.15. (random_write_wakeup_thresh got renamed to random_write_wakeup_bits). I'm guessing the patch

Re: [PATCH] offb: Fix little-endian support

2014-06-16 Thread Benjamin Herrenschmidt
On Wed, 2014-05-14 at 19:57 +0200, Takashi Iwai wrote: Hm, so it actually regressed on BE? It's strange because fb_math_be() should be true and the patch won't change the values in that case... Shouldn't the patch be based on foreign endian being set rather than just be anyway ? IE. If

Re: [PATCH] net-sysfs: Report link speed only when possible

2014-06-16 Thread Michal Privoznik
On 13.06.2014 22:03, David Miller wrote: From: Michal Privoznik mpriv...@redhat.com Date: Fri, 13 Jun 2014 11:19:51 +0200 So if I were developing brand new application I could say: I'm dropping all this workaround code and have it clean and require say 3.16 kernel at least. Then your

Re: [PATCH v2 RESEND 00/23] scsi: Use pci_enable_msix_range() instead of pci_enable_msix()

2014-06-16 Thread Alexander Gordeev
On Thu, Apr 24, 2014 at 05:51:09PM +, James Bottomley wrote: These depend on f7fc32c, which appeared in v3.15-rc1. I had intended to merge these scsi updates at the same time, but I failed. Would you like to take them now that f7fc32c is upstream? OK, will add them. I'm planning to

Re: [PATCH] offb: Fix little-endian support

2014-06-16 Thread Benjamin Herrenschmidt
On Wed, 2014-05-14 at 15:21 +0200, Takashi Iwai wrote: case 16:/* RGB 565 */ var-bits_per_pixel = 16; - var-red.offset = 11; + if (fb_be_math(info)) { + var-red.offset = 11; +

Re: [Linux-zigbee-devel] [PATCH net-next 1/3] ieee802154: cc2520: driver for TI cc2520 radio

2014-06-16 Thread Alexander Aring
Hi Varka, On Mon, Jun 16, 2014 at 10:21:56AM +0530, Varka Bhadram wrote: Maybe some more information about this chip in the commit msg? Signed-off-by: Varka Bhadram var...@cdac.in --- drivers/net/ieee802154/cc2520.c | 805 +++

Re: [PATCH v5] leds: USB: HID: Add support for MSI GT683R led panels

2014-06-16 Thread Johan Hovold
On Sun, Jun 15, 2014 at 05:59:40PM +0300, Janne Kanniainen wrote: Ok, so you decided to continue setting mode on every LED brightness update. That should be fine, but you never answered my question about whether it is necessary? I decided to do it that way because official driver did it

Re: [PATCH] ARM: EXYNOS: mcpm: Don't rely on firmware's secondary_cpu_start

2014-06-16 Thread Chander Kashyap
Hi Doug, On 13 June 2014 20:40, Doug Anderson diand...@chromium.org wrote: Chander, On Fri, Jun 13, 2014 at 4:54 AM, Chander Kashyap k.chan...@samsung.com wrote: This patch is effectively changing the mcpm_entry_point address from nsbase + 0x1c to nsbase + 0x8 Hence while integrating

Re: [PATCH v8 2/7] clocksource: Add support for the Mediatek SoCs

2014-06-16 Thread Thomas Gleixner
On Sun, 15 Jun 2014, Daniel Lezcano wrote: On 06/11/2014 08:14 PM, Thomas Gleixner wrote: On Wed, 11 Jun 2014, Matthias Brugger wrote: +static void mtk_clkevt_mode(enum clock_event_mode mode, + struct clock_event_device *clk) +{ + struct

Re: [PATCH v5] leds: USB: HID: Add support for MSI GT683R led panels

2014-06-16 Thread Johan Hovold
On Sun, Jun 15, 2014 at 02:23:25AM +0300, Janne Kanniainen wrote: Hi! Hi. --- /dev/null +++ b/Documentation/ABI/testing/sysfs-class-hid-driver-gt683r @@ -0,0 +1,10 @@ +What:/sys/class/hidraw/hidraw/device/state +Date:Jun 2014 +KernelVersion:

Re: [PATCH] Suppress -Wignored-qualifiers warnings

2014-06-16 Thread Vincent Guittot
Hi Bart, Guenter sent similar patch few days ago https://lkml.org/lkml/2014/6/12/743 with additional patches for ARM and powerpc architecture https://lkml.org/lkml/2014/6/13/399 https://lkml.org/lkml/2014/6/13/407 Vincent On 14 June 2014 11:36, Bart Van Assche bvanass...@acm.org wrote: Avoid

Re: [PATCH] staging: vt6655: preserve address space by not casting

2014-06-16 Thread Dan Carpenter
On Fri, Jun 13, 2014 at 12:11:51PM +0200, Martin Kepplinger wrote: Fix the sparse error: cast removes address space of expression. --- Is that even correct? It's correct but not complete. vt6655 impliment their own versions of ethtool_ioctl() when they should be using the standard versions.

Re: [PATCH] staging: vt6655: remove unnecessary typedef struct.

2014-06-16 Thread Dan Carpenter
On Fri, Jun 13, 2014 at 12:23:43PM +0200, Martin Kepplinger wrote: Remove a totally unnecessary typedef. This is more readable now. Choose a lower case name for the struct, otherwise we have to change all these again in a while. regards, dan carpenter -- To unsubscribe from this list: send the

Re: [PATCH 0/4] tools lib tracing: Updates from trace-cmd for plugin_kvm

2014-06-16 Thread Jiri Olsa
On Thu, Jun 12, 2014 at 10:10:02PM -0400, Steven Rostedt wrote: Jiri, I'm synchronizing the changes that is in trace-cmd and the traceevent library. I found a few updates that are missing from the kvm plugin. queued, also the 5/4 ;-) thanks, jirka -- Steve Jan Kiszka (3):

Re: [PATCH] staging: wlan-ng: fix Missing a blank line after declarations warnings

2014-06-16 Thread Dan Carpenter
Wrong description, doesn't apply, and breaks the build. 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 http://vger.kernel.org/majordomo-info.html Please read the FAQ at

Re: regulator: bcm590xx: Add support for regulators on secondary I2C slave

2014-06-16 Thread Lee Jones
On Tue, 10 Jun 2014, Dave Jones wrote: On Tue, Jun 03, 2014 at 07:29:10PM +, Linux Kernel wrote: Gitweb: http://git.kernel.org/linus/;a=commit;h=c6466950e917890be3050171f6745ccb9d91d35f Commit: c6466950e917890be3050171f6745ccb9d91d35f Parent:

Re: [PATCH] perf: Get kernel start address by symbol name

2014-06-16 Thread Jiri Olsa
On Fri, Jun 13, 2014 at 11:45:21AM -0700, Simon Que wrote: The function machine__get_kernel_start_addr() was taking the first symbol of kallsyms as the start address. This is incorrect in certain cases where the first symbol is something at 0, while the actual kernel functions begin at a later

[tip:locking/urgent] rtmutex: Plug slow unlock race

2014-06-16 Thread tip-bot for Thomas Gleixner
Commit-ID: 27e35715df54cbc4f2d044f681802ae30479e7fb Gitweb: http://git.kernel.org/tip/27e35715df54cbc4f2d044f681802ae30479e7fb Author: Thomas Gleixner t...@linutronix.de AuthorDate: Wed, 11 Jun 2014 18:44:04 + Committer: Thomas Gleixner t...@linutronix.de CommitDate: Mon, 16 Jun 2014

Re: [PATCH v3 5/6] regulator: add support for regulator set registration

2014-06-16 Thread Lee Jones
Hello Mark, Did you have time to take a look at this patch ? I'd like to post a new version of this series addressing Lee's comments, but it would be great to have your feedback on this patch before posting a new version. I wouldn't do that, as you're likely to upset him. Just fix what

Re: [PATCH v2] delete unnecessary bootmem struct page array

2014-06-16 Thread Real Name
On Mon, Jun 16, 2014 at 08:50:33AM +0200, Richard Weinberger wrote: Am 16.06.2014 05:28, schrieb Real Name: On Sat, Jun 14, 2014 at 11:44:04AM +0200, Richard Weinberger wrote: Hi! Am 03.06.2014 07:30, schrieb Real Name: From: Honggang Li enjoymind...@gmail.com The patch based on

Re: [PATCH] net-sysfs: Report link speed only when possible

2014-06-16 Thread David Miller
From: Michal Privoznik mpriv...@redhat.com Date: Mon, 16 Jun 2014 09:32:35 +0200 On 13.06.2014 22:03, David Miller wrote: From: Michal Privoznik mpriv...@redhat.com Date: Fri, 13 Jun 2014 11:19:51 +0200 So if I were developing brand new application I could say: I'm dropping all this

Re: [PATCH] staging: slicoss: Fix coding style issue

2014-06-16 Thread Dan Carpenter
On Fri, Jun 13, 2014 at 10:04:35AM -0700, Greg KH wrote: On Fri, Jun 13, 2014 at 05:52:33PM +0200, Benedict Boerger wrote: Fix a coding style issue found by checkpatch.pl. Use ether_addr_copy instead of memcpy. Done to complete a eudyptula task. Signed-off-by: Benedict Boerger

Re: [PATCH] perf: Get kernel start address by symbol name

2014-06-16 Thread Jiri Olsa
On Mon, Jun 16, 2014 at 10:06:49AM +0200, Jiri Olsa wrote: On Fri, Jun 13, 2014 at 11:45:21AM -0700, Simon Que wrote: The function machine__get_kernel_start_addr() was taking the first symbol of kallsyms as the start address. This is incorrect in certain cases where the first symbol is

Re: [PATCH] Frees gate after if statement in clk-sunxi.c

2014-06-16 Thread Russell King - ARM Linux
On Sun, Jun 15, 2014 at 11:31:41PM -0400, Nick Krause wrote: Seems the bug is fixed , don't worry about resent patch. Thanks Nick On Sun, Jun 15, 2014 at 11:21 PM, Nick Krause xerofo...@gmail.com wrote: @@ -42,6 +42,7 @@ static void __init sun4i_osc_clk_setup(struct device_node *node)

Re: [PATCH] brcmfmac: prevent watchdog from interfering with scanning and connecting

2014-06-16 Thread Arend van Spriel
On 16-06-14 07:49, Fu, Zhonghui wrote: From 14485894add32aedacb3e486ebb2cc2b73861abf Mon Sep 17 00:00:00 2001 From: Fu zhonghui zhonghui...@linux.intel.com Date: Wed, 11 Jun 2014 11:06:55 +0800 Subject: [PATCH] brcmfmac: prevent watchdog from interfering with scanning and connecting Watchdog

Re: [PATCH] staging: ced1401: fix sparse warning for ced1401

2014-06-16 Thread Dan Carpenter
On Sat, Jun 14, 2014 at 02:04:38PM +0900, Seunghun Lee wrote: This patch fixes below warning. drivers/staging/ced1401/ced_ioc.c:703:30: warning: incorrect type in assignment (different address spaces) drivers/staging/ced1401/ced_ioc.c:703:30:expected void *[usertype] lpvBuff

Re: perf: Add support for full Intel event lists v6

2014-06-16 Thread Hagen Paul Pfeifer
Hey Andi, Namhyung, intention was just to raise hands, later there is probably no possibility to change the command name without breaking scripts. Anyway, the whole mechanism is awesome! ;-) Hagen -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message

[PATCH] usb: gadget: add claimed field in struct usb_ep

2014-06-16 Thread Robert Baldyga
This field allows to mark ep as claimed in more clear way. Claiming endpoint by setting driver_data to non-null value is leaky solution and makes code unreadable. Signed-off-by: Robert Baldyga r.bald...@samsung.com --- drivers/usb/gadget/epautoconf.c | 11 ++- include/linux/usb/gadget.h

Re: [PATCH v4 1/2] mmc: sdhci: Use mmc core regulator infrastucture

2014-06-16 Thread Ulf Hansson
On 13 June 2014 19:13, Markus Mayer markus.ma...@linaro.org wrote: From: Tim Kryger tim.kry...@gmail.com Switch the common SDHCI code over to use mmc_host's regulator pointers and remove the ones in the sdhci_host structure. Additionally, use the common mmc_regulator_get_supply function to

Re: [PATCH v4 2/2] mmc: sdhci: Replace host-mmc with mmc where possible

2014-06-16 Thread Ulf Hansson
On 13 June 2014 19:13, Markus Mayer markus.ma...@linaro.org wrote: After the switch to the MMC core regulator infrastucture, we already have a local mmc pointer in various functions. There is no longer a need to access the data structure via host-mmc. Signed-off-by: Markus Mayer

Re: your patches to support the touchpad of Haswell ChromeBooks

2014-06-16 Thread Mika Westerberg
On Thu, Jun 12, 2014 at 03:27:01PM +0200, Oliver Neukum wrote: I am looking at the patch set you posted for making the touchpad of those laptops work. Has anything happened regarding i2c so that the patches can go upstream? Benson promised to send out the whole series once 3.16-rc1 is

Re: [PATCH] staging: lustre: remove memset(0) after LIBCFS_ALLOC

2014-06-16 Thread Dan Carpenter
On Sat, Jun 14, 2014 at 05:29:51PM +1000, Vitaly Osipov wrote: Joe Perches mentioned on driverdev-devel that memset after LIBCFS_ALLOC is not necessary as it is already done during LIBCFS_ALLOC_POST. This commit removes these unnecessary memsets. Based on the results of running a cocci patch

Re: [PATCH v2] delete unnecessary bootmem struct page array

2014-06-16 Thread Real Name
On Mon, Jun 16, 2014 at 04:12:38PM +0800, Real Name wrote: On Mon, Jun 16, 2014 at 08:50:33AM +0200, Richard Weinberger wrote: Am 16.06.2014 05:28, schrieb Real Name: On Sat, Jun 14, 2014 at 11:44:04AM +0200, Richard Weinberger wrote: Hi! Am 03.06.2014 07:30, schrieb Real

Re: [PATCH] net-sysfs: Report link speed only when possible

2014-06-16 Thread Michal Privoznik
On 16.06.2014 10:11, David Miller wrote: From: Michal Privoznik mpriv...@redhat.com Date: Mon, 16 Jun 2014 09:32:35 +0200 On 13.06.2014 22:03, David Miller wrote: From: Michal Privoznik mpriv...@redhat.com Date: Fri, 13 Jun 2014 11:19:51 +0200 So if I were developing brand new application I

Re: BUG: Bad page state in process swapper pfn:00000

2014-06-16 Thread Geert Uytterhoeven
On Thu, Jun 12, 2014 at 4:51 AM, Laura Abbott lau...@codeaurora.org wrote: Great! Russell are you okay with taking the above as a fix or would you prefer I fixup drivers/of/fdt.c right now? Thanks, Laura 8 From 14bda557a108ad197e7c5f040f50ca024b45cc17 Mon Sep 17 00:00:00 2001

Re: [PATCH 00/21] add and use devm_irq_of_parse_and_map()

2014-06-16 Thread Nikita Yushchenko
SPARC does not use OF_IRQ and has a different implementation of irq_of_parse_and_map than the one in drivers/of/irq.c. All code converted from irq_of_parse_and_map to devm_irq_of_parse_and_map in this patch set will be unlinkable for SPARC. This includes SPI in general and many drivers that

Re: [PATCH 2/2] mmc: rtsx: add support for async request

2014-06-16 Thread Ulf Hansson
On 6 June 2014 09:05, micky_ch...@realsil.com.cn wrote: From: Micky Ching micky_ch...@realsil.com.cn Add support for non-blocking request, pre_req() runs dma_map_sg() and post_req() runs dma_unmap_sg(). This patch can increase card read/write speed, especially for high speed card and slow

Re: [PATCH 3/5] clk: Add driver for Maxim 77802 PMIC clocks

2014-06-16 Thread Lee Jones
The MAX77802 PMIC has two 32.768kHz Buffered Clock Outputs with Low Jitter Mode. This patch adds support for these two clocks. Signed-off-by: Javier Martinez Canillas javier.marti...@collabora.co.uk --- .../devicetree/bindings/clock/maxim,max77802.txt | 40 drivers/clk/Kconfig

Re: [PATCH] net-sysfs: Report link speed only when possible

2014-06-16 Thread David Miller
From: Michal Privoznik mpriv...@redhat.com Date: Mon, 16 Jun 2014 10:30:27 +0200 On 16.06.2014 10:11, David Miller wrote: From: Michal Privoznik mpriv...@redhat.com Date: Mon, 16 Jun 2014 09:32:35 +0200 On 13.06.2014 22:03, David Miller wrote: From: Michal Privoznik mpriv...@redhat.com

Re: [PATCH 00/21] add and use devm_irq_of_parse_and_map()

2014-06-16 Thread Andreas Larsson
On 2014-06-12 21:02, Nikita Yushchenko wrote: Currently many device tree aware drivers use irq_of_parse_and_map() to get IRQ number and then devm_request_irq() to set up IRQ handler. This causes a problem for exit path and for error paths: undo action for irq_of_parse_and_map() is

Re: [PATCH 2/2] mmc: rtsx: add support for async request

2014-06-16 Thread Arend van Spriel
On 16-06-14 10:42, Ulf Hansson wrote: On 6 June 2014 09:05, micky_ch...@realsil.com.cn wrote: From: Micky Ching micky_ch...@realsil.com.cn Add support for non-blocking request, pre_req() runs dma_map_sg() and post_req() runs dma_unmap_sg(). This patch can increase card read/write speed,

Re: [PATCH 1/3] clocksource: exynos_mct: Fix ftrace

2014-06-16 Thread Daniel Lezcano
On 06/16/2014 06:40 AM, Doug Anderson wrote: Daniel, On Sun, Jun 15, 2014 at 2:18 PM, Daniel Lezcano daniel.lezc...@linaro.org wrote: On 06/04/2014 07:30 PM, Doug Anderson wrote: In (93bfb76 clocksource: exynos_mct: register sched_clock callback) we supported using the MCT as a scheduler

Re: [Linux-zigbee-devel] [PATCH net-next 1/3] ieee802154: cc2520: driver for TI cc2520 radio

2014-06-16 Thread Varka Bhadram
Hi Alex, Thanks for the comments. I will create a patch for the required changes with Reported-by Alexander Aring ... reply if this is okay for you. On 06/16/2014 01:08 PM, Alexander Aring wrote: Hi Varka, On Mon, Jun 16, 2014 at 10:21:56AM +0530, Varka Bhadram wrote: Maybe some more

Re: [PATCH 3/5] clk: Add driver for Maxim 77802 PMIC clocks

2014-06-16 Thread Javier Martinez Canillas
Hello Lee, On 06/16/2014 10:44 AM, Lee Jones wrote: The MAX77802 PMIC has two 32.768kHz Buffered Clock Outputs with Low Jitter Mode. This patch adds support for these two clocks. Signed-off-by: Javier Martinez Canillas javier.marti...@collabora.co.uk ---

Re: [PATCH] net-sysfs: Report link speed only when possible

2014-06-16 Thread Michal Privoznik
On 16.06.2014 10:44, David Miller wrote: From: Michal Privoznik mpriv...@redhat.com Date: Mon, 16 Jun 2014 10:30:27 +0200 On 16.06.2014 10:11, David Miller wrote: From: Michal Privoznik mpriv...@redhat.com Date: Mon, 16 Jun 2014 09:32:35 +0200 On 13.06.2014 22:03, David Miller wrote: From:

Re: [PATCH v2 04/11] sched: Allow all archs to set the power_orig

2014-06-16 Thread Vincent Guittot
On 5 June 2014 10:59, Dietmar Eggemann dietmar.eggem...@arm.com wrote: [...] Firstly, we need to scale cpu power in update_cpu_power() regarding uArch, frequency and rt/irq pressure. Here the freq related value we get back from arch_scale_freq_power(..., cpu) could be an instantaneous value

Re: [PATCH] net-sysfs: Report link speed only when possible

2014-06-16 Thread Jiri Pirko
Mon, Jun 16, 2014 at 10:44:30AM CEST, da...@davemloft.net wrote: From: Michal Privoznik mpriv...@redhat.com Date: Mon, 16 Jun 2014 10:30:27 +0200 On 16.06.2014 10:11, David Miller wrote: From: Michal Privoznik mpriv...@redhat.com Date: Mon, 16 Jun 2014 09:32:35 +0200 On 13.06.2014 22:03,

Re: [PATCH] ARM: STi: DT: Properly define sti-ethclk stmmaceth for stih415/6

2014-06-16 Thread Lee Jones
This patch fixes two problems: - 1) The device tree isn't currently providing sti-ethclk which is required by the dwmac glue code to correctly configure the ethernet PHY clock speed. This means depending on what the bootloader/jtag has configured this clock to, and what switch/hub the

Re: [PATCH] staging: rtl8712: rtl871x_ioctl_linux.c: Cleaning up useless if statement

2014-06-16 Thread Dan Carpenter
On Sun, Jun 15, 2014 at 07:20:57PM +0200, Rickard Strandqvist wrote: The same code regardless of the outcome of the if statement. This may of course be a miss and there should be a difference in the code. And clean up another duplicate line of code. This was partly found using a static code

Re: [PATCH 2/2] mmc: rtsx: add support for async request

2014-06-16 Thread micky
On 06/16/2014 04:42 PM, Ulf Hansson wrote: @@ -36,7 +37,10 @@ struct realtek_pci_sdmmc { struct rtsx_pcr *pcr; struct mmc_host *mmc; struct mmc_request *mrq; + struct workqueue_struct *workq; +#define SDMMC_WORKQ_NAME

[PATCH 1/2] proc/stat: convert to single_open_size()

2014-06-16 Thread Heiko Carstens
Use seq_file's single_open_size() to preallocate a buffer that is large enough to hold the whole output, instead of open coding it. Also calculate the requested size using the number of online cpus instead of possible cpus, since the size of the output only depends on the number of online cpus.

[PATCH 0/2] /proc/stat vs. failed order-4 allocation

2014-06-16 Thread Heiko Carstens
These two patches are supposed to fix failed order-4 memory allocations which have been observed when reading /proc/stat. The problem has been observed on s390 as well as on x86. To address the problem change the seq_file memory allocations to fallback to use vmalloc, so that allocations also

[PATCH 2/2] fs/seq_file: fallback to vmalloc allocation

2014-06-16 Thread Heiko Carstens
There are a couple of seq_files which use the single_open() interface. This interface requires that the whole output must fit into a single buffer. E.g. for /proc/stat allocation failures have been observed because an order-4 memory allocation failed due to memory fragmentation. In such

Re: [PATCH] ASoC: wm8985: Remove unused pointer in wm8985_remove()

2014-06-16 Thread Charles Keepax
On Fri, Jun 13, 2014 at 07:19:28PM +0200, Christian Engelmayer wrote: Commit a0b148b4 (ASoC: wm8985: Use devm_regulator_bulk_get()) removed the last user of pointer wm8985 to struct wm8985_priv. Thus remove it. Detected by Coverity CID 1222150. Signed-off-by: Christian Engelmayer

Re: [PATCH v3 -next 0/9] CMA: generalize CMA reserved area management code

2014-06-16 Thread Marek Szyprowski
Hello, On 2014-06-16 07:40, Joonsoo Kim wrote: Currently, there are two users on CMA functionality, one is the DMA subsystem and the other is the KVM on powerpc. They have their own code to manage CMA reserved area even if they looks really similar. From my guess, it is caused by some needs on

Re: [PATCH] tools lib traceevent: Clean up format of args in cfg80211 plugin

2014-06-16 Thread Jiri Olsa
On Thu, Jun 12, 2014 at 07:44:20PM -0400, Steven Rostedt wrote: While synchronizing what's in trace-cmd vs what's in perf, I came across a change that was made when entering the cfg80211 plugin into the tools/lib/traceevent directory. The function prototype went from: static unsigned long

Re: [PATCH] tools lib traceevent: Clean up format of args in jbd2 plugin

2014-06-16 Thread Jiri Olsa
On Thu, Jun 12, 2014 at 08:41:44PM -0400, Steven Rostedt wrote: While synchronizing what's in trace-cmd vs what's in perf, I came across a change that was made when entering the jbd2 plugin into the tools/lib/traceevent directory. For example, one of the function prototypes went from:

[patch] sched: Fix clock_gettime(CLOCK_[PROCESS/THREAD]_CPUTIME_ID) monotonicity

2014-06-16 Thread Mike Galbraith
If a task has been dequeued, it has been accounted. Do not project cycles that may or may not ever be accounted to a dequeued task, as that may make clock_gettime() both inaccurate and non-monotonic. Protect update_rq_clock() from slight TSC skew while at it. Signed-off-by: Mike Galbraith

Re: [PATCH] mfd: syscon: Use module_platform_driver()

2014-06-16 Thread Lee Jones
On Mon, 09 Jun 2014, Kefeng Wang wrote: Convert to module_platform_drive() to eliminate boilerplate code. Signed-off-by: Kefeng Wang wangkefeng.w...@huawei.com --- drivers/mfd/syscon.c | 12 +--- 1 files changed, 1 insertions(+), 11 deletions(-) diff --git

Re: [PATCH v2] delete unnecessary bootmem struct page array

2014-06-16 Thread Geert Uytterhoeven
On Mon, Jun 16, 2014 at 10:28 AM, Real Name enjoymind...@gmail.com wrote: Can you please include in the changelog the commit sha1 which made the old init_maps() obsolete? I think we need find out which commit deleted the line mem_map = map; in init_maps function.

[patch] sched: Fix clock_gettime(CLOCK_[PROCESS/THREAD]_CPUTIME_ID) monotonicity

2014-06-16 Thread Mike Galbraith
(disregard patch of same name from that enterprise weenie;) If a task has been dequeued, it has been accounted. Do not project cycles that may or may not ever be accounted to a dequeued task, as that may make clock_gettime() both inaccurate and non-monotonic. Protect update_rq_clock() from

Re: Regression: make O=... deb-pkg broken in 3.16

2014-06-16 Thread Michal Marek
On 2014-06-15 12:51, Ilya Dryomov wrote: Hi Michal, Your relative path changes in the first kbuild pull request for 3.16 broke make O=... deb-pkg. /home/ubuntu/foo/linux-a/scripts/package/builddeb: line 291: ./debian/hdrsrcfiles: No such file or directory 290 # Build header package

[PATCH] x86-32: do not populate physnode_map for nodes without NODE_DATA

2014-06-16 Thread Vlastimil Babka
BUG: unable to handle kernel paging request at 10bc IP: [c031c4f9] compaction_alloc+0xa9/0x1b0 *pdpt = 3651e001 *pde = Oops: [#1] PREEMPT SMP Modules linked in: cfi_drv(O) reiserfs ses enclosure usb_storage fuse binfmt_misc nfsv3 nfs_acl nfsv4 nfs fscache

Re: [PATCH] ARM: STi: DT: Properly define sti-ethclk stmmaceth for stih415/6

2014-06-16 Thread Peter Griffin
Hi Lee, ethernet1: dwmac@fef08000 { @@ -189,11 +189,11 @@ st,syscon = syscfg_sbc; resets = softreset STIH415_ETH1_SOFTRESET; - reset-names = stmmaceth; +

Re: [RESEND PATCH 1/2] ARM: AM43xx: hwmod: add DSS hwmod data

2014-06-16 Thread Tony Lindgren
* Felipe Balbi ba...@ti.com [140613 09:17]: From: Sathya Prakash M R sath...@ti.com Add DSS hwmod data for AM43xx. Cc: Andrew Morton a...@linux-foundation.org Acked-by: Rajendra Nayak rna...@ti.com Signed-off-by: Sathya Prakash M R sath...@ti.com Signed-off-by: Tomi Valkeinen

[PATCH V2] ARM: STi: DT: Properly define sti-ethclk stmmaceth for stih415/6

2014-06-16 Thread Peter Griffin
This patch fixes two problems: - 1) The device tree isn't currently providing sti-ethclk which is required by the dwmac glue code to correctly configure the ethernet PHY clock speed. This means depending on what the bootloader/jtag has configured this clock to, and what switch/hub the board is

Re: [PATCH -next 13/26] ath: Use dma_zalloc_coherent

2014-06-16 Thread Kalle Valo
Joe Perches j...@perches.com writes: Use the zeroing function instead of dma_alloc_coherent memset(,0,) Signed-off-by: Joe Perches j...@perches.com For ath10k: Acked-by: Kalle Valo kv...@qca.qualcomm.com -- Kalle Valo -- To unsubscribe from this list: send the line unsubscribe

[PATCH 0/8] mm: add page cache limit and reclaim feature

2014-06-16 Thread Xishi Qiu
When system(e.g. smart phone) running for a long time, the cache often takes a large memory, maybe the free memory is less than 50M, then OOM will happen if APP allocate a large order pages suddenly and memory reclaim too slowly. Use echo 3 /proc/sys/vm/drop_caches will drop the whole cache,

Re: [PATCH] [linux-next] arm64: ftrace: Fix comment typo 'CONFIG_FUNCTION_GRAPH_FP_TEST'

2014-06-16 Thread Catalin Marinas
On Wed, Jun 11, 2014 at 10:44:21AM +0100, Paul Bolle wrote: diff --git a/arch/arm64/kernel/entry-ftrace.S b/arch/arm64/kernel/entry-ftrace.S index b051871f2965..aa5f9fcbf9ee 100644 --- a/arch/arm64/kernel/entry-ftrace.S +++ b/arch/arm64/kernel/entry-ftrace.S @@ -205,7 +205,7 @@

[PATCH 5/8] mm: implement page cache reclaim in circles

2014-06-16 Thread Xishi Qiu
Create a work on each online cpu, and schedule it in circles to reclaim page cache. Signed-off-by: Xishi Qiu qiuxi...@huawei.com --- mm/vmscan.c | 41 + 1 files changed, 41 insertions(+), 0 deletions(-) diff --git a/mm/vmscan.c b/mm/vmscan.c index

[PATCH 1/8] mm: introduce cache_limit_ratio and cache_limit_mbytes

2014-06-16 Thread Xishi Qiu
This patch introduces two parameters cache_limit_ratio and cache_limit_mbytes. They are used to limit page cache amount. Signed-off-by: Xishi Qiu qiuxi...@huawei.com --- include/linux/swap.h | 10 ++ kernel/sysctl.c | 18 ++ mm/page_alloc.c | 39

[PATCH 7/8] mm: implement page cache reclaim speed

2014-06-16 Thread Xishi Qiu
The parameter vm_cache_reclaim_weight means every time we expect to reclaim SWAP_CLUSTER_MAX * vm_cache_reclaim_weight pages. Signed-off-by: Xishi Qiu qiuxi...@huawei.com --- mm/vmscan.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/mm/vmscan.c b/mm/vmscan.c index

  1   2   3   4   5   6   7   8   9   10   >