Re: [PATCH 3/4] sched: introduce synchronized idle injection

2015-11-18 Thread Thomas Gleixner
On Wed, 18 Nov 2015, Jacob Pan wrote: > On Wed, 18 Nov 2015 15:09:44 + > Morten Rasmussen wrote: > > > Okay. But it does mean that the defeault idle period is 5 ticks (50ms > > @ HZ=100) and not 5 ms > correct. my reason is to scale with various HZ values. So for smaller HZ values we get lon

RE: next build: 235 warnings 3 failures (next/next-20151117)

2015-11-18 Thread David Laight
From: Will Deacon > Sent: 18 November 2015 12:28 > On Wed, Nov 18, 2015 at 12:11:25PM +, David Laight wrote: > > From: Will Deacon > > > Sent: 18 November 2015 10:14 > > > On Tue, Nov 17, 2015 at 08:17:17PM +0100, Arnd Bergmann wrote: > > > > On Tuesday 17 November 2015 17:12:37 Will Deacon wro

Re: [PATCH v5 20/32] scsi: hisi_sas: add v1 hw interrupt init

2015-11-18 Thread Rob Herring
On Tue, Nov 17, 2015 at 10:50 AM, John Garry wrote: > Add code to interrupts, so now we can get a phy up > interrupt when a disk is connected. So I started looking at why you are using of_irq_count which drivers shouldn't need to. In patch 5 you use it to allocate memory to store the irq names, t

Re: [PATCH v3 2/5] mfd: syscon: add a DT property to set value width

2015-11-18 Thread Lee Jones
On Wed, 18 Nov 2015, Guenter Roeck wrote: > On 11/18/2015 12:21 AM, Lee Jones wrote: > [ ... ] > >>>Or, for more clarity: > >>> > >>> of_property_read_u32(np, "bus-width", &bus_width); > >>> if (bus_width) > >>> > >>>If you choose this version (which I think is my preferred method, don't > >>>

Re: [PATCH] mmc: dw_mmc: use resource_size_t to store physical address

2015-11-18 Thread Andy Shevchenko
On Wed, Nov 18, 2015 at 2:38 PM, Arnd Bergmann wrote: > On Wednesday 18 November 2015 11:35:27 Andy Shevchenko wrote: >> On Fri, Nov 13, 2015 at 11:35 AM, Arnd Bergmann wrote: >> > On Friday 13 November 2015 03:10:13 Andy Shevchenko wrote: >> >> On Thu, Nov 12, 2015 at 4:14 PM, Arnd Bergmann wro

Re: [PATCH] drm/mgag200: fix kernel hang in cursor code.

2015-11-18 Thread Daniel Vetter
On Wed, Nov 18, 2015 at 11:00:53PM +0800, Rui Wang wrote: > The machine hang completely with the following message on the console: > > [ 487.777538] BUG: unable to handle kernel NULL pointer dereference at > 0060 > [ 487.777554] IP: [] _raw_spin_lock+0xe/0x30 > [ 487.777557] PGD 42

Re: [PATCH] usb: gadget: Add the console support for usb-to-serial port

2015-11-18 Thread Peter Hurley
Hi Baolin, On 11/16/2015 02:05 AM, Baolin Wang wrote: > It dose not work when we want to use the usb-to-serial port based > on one usb gadget as a console. Thus this patch adds the console > initialization to support this request. I have some high level concerns. 1. I would defer registering the

[PATCH v3] crypto: atmel: fix bogus select

2015-11-18 Thread Arnd Bergmann
>From 0d53d42a56e9a3769847fd03c703876f2c063fb4 Mon Sep 17 00:00:00 2001 From: Arnd Bergmann Date: Tue, 27 Jan 2015 22:34:04 +0100 Subject: [PATCH] [SUBMITTED] crypto: atmel: fix bogus select The Atmel at91 crypto driver unconditionally selects AT_HDMAC, which results in a Kconfig warning if that

Re: [PATCH 2/2] mm/page_ref: add tracepoint to track down page reference manipulation

2015-11-18 Thread Vlastimil Babka
On 11/09/2015 08:23 AM, Joonsoo Kim wrote: > CMA allocation should be guaranteed to succeed by definition, but, > unfortunately, it would be failed sometimes. It is hard to track down > the problem, because it is related to page reference manipulation and > we don't have any facility to analyze it.

Re: [PATCH v3 0/7] User namespace mount updates

2015-11-18 Thread Austin S Hemmelgarn
On 2015-11-18 09:58, Al Viro wrote: On Wed, Nov 18, 2015 at 08:22:38AM -0600, Seth Forshee wrote: But it still requires the admin set it up that way, no? And aren't privileges required to set up those devices in the first place? I'm not saying that it wouldn't be a good idea to lock down the b

Re: request_queue use-after-free - inode_detach_wb()

2015-11-18 Thread Tejun Heo
Hello, Ilya. On Wed, Nov 18, 2015 at 04:12:07PM +0100, Ilya Dryomov wrote: > > It's stinky that the bdi is going away while the inode is still there. > > Yeah, blkdev inodes are special and created early but I think it makes > > sense to keep the underlying structures (queue and bdi) around while

Re: [RFC 5/9] iio: Documentation: Add IIO configfs documentation

2015-11-18 Thread Crt Mori
This has my acked-by, yet it is missing a commit message? Can we get that and the removed From: as I think this is a new patch and not resend of Daniel's? Also it would need your signed-off-by in that case On 18 November 2015 at 15:38, Marc Titinger wrote: > From: Daniel Baluta > > Signed-off-by

Re: [PATCH v3 0/7] User namespace mount updates

2015-11-18 Thread Austin S Hemmelgarn
On 2015-11-18 09:30, Seth Forshee wrote: On Wed, Nov 18, 2015 at 07:46:53AM -0500, Austin S Hemmelgarn wrote: On 2015-11-17 17:01, Seth Forshee wrote: On Tue, Nov 17, 2015 at 09:05:42PM +, Al Viro wrote: On Tue, Nov 17, 2015 at 03:39:16PM -0500, Austin S Hemmelgarn wrote: This is absolut

Re: [PATCH 02/13] dmaengine: Introduce dma_request_slave_channel_compat_reason()

2015-11-18 Thread Andy Shevchenko
On Wed, Nov 18, 2015 at 5:07 PM, Arnd Bergmann wrote: > On Wednesday 18 November 2015 16:41:35 Peter Ujfalusi wrote: >> On 11/18/2015 04:29 PM, Arnd Bergmann wrote: >> > On Wednesday 18 November 2015 16:21:26 Peter Ujfalusi wrote: >> >> 2. non slave channel requests, where only the functionality m

Re: CGroup Namespaces (v4)

2015-11-18 Thread Serge E. Hallyn
On Wed, Nov 18, 2015 at 03:18:44AM -0600, Eric W. Biederman wrote: > "Serge E. Hallyn" writes: > > > On Mon, Nov 16, 2015 at 04:24:27PM -0600, Eric W. Biederman wrote: > >> Similary have you considered what it required to be able to safely set > >> FS_USERNS_MOUNT? > > > > I pushed the one patch

Re: [PATCH v3 0/7] User namespace mount updates

2015-11-18 Thread Nikolay Borisov
On 11/18/2015 04:58 PM, Al Viro wrote: > On Wed, Nov 18, 2015 at 08:22:38AM -0600, Seth Forshee wrote: > >> But it still requires the admin set it up that way, no? And aren't >> privileges required to set up those devices in the first place? >> >> I'm not saying that it wouldn't be a good idea t

Re: next build: 235 warnings 3 failures (next/next-20151117)

2015-11-18 Thread Will Deacon
On Wed, Nov 18, 2015 at 03:21:19PM +, David Laight wrote: > From: Will Deacon > > Sent: 18 November 2015 12:28 > > On Wed, Nov 18, 2015 at 12:11:25PM +, David Laight wrote: > > > From: Will Deacon > > > > > > > > http://lists.infradead.org/pipermail/linux-arm-kernel/2015-November/386094.

[GIT PULL] s390 patches for 4.4-rc2

2015-11-18 Thread Martin Schwidefsky
Hi Linus, please pull from the 'for-linus' branch of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git for-linus to receive the following updates: Assorted bug fixes, the mlock2 system call gets added, and one improvement. The boot from dasd devices is not possible from a wid

Re: [PATCH 3/4] sched: introduce synchronized idle injection

2015-11-18 Thread Morten Rasmussen
On Fri, Nov 13, 2015 at 11:53:06AM -0800, Jacob Pan wrote: > With increasingly constrained power and thermal budget, it's often > necessary to cap power via throttling. Throttling individual CPUs > or devices at random times can help power capping but may not be > optimal in terms of energy efficie

Re: [PATCH] mmc: dw_mmc: use resource_size_t to store physical address

2015-11-18 Thread Arnd Bergmann
On Wednesday 18 November 2015 17:29:19 Andy Shevchenko wrote: > > I understand most of the things here, what I don't is how a platform > is supposed to work if you have the following: > a) HW, that uses register space let's say higher than 32-bit; > b) DMA engine, which should provide a DMA capabi

Re: [PATCH] fpga manager: Fix firmware resource leak on error

2015-11-18 Thread atull
On Wed, 18 Nov 2015, Tobias Klauser wrote: > If fpga_mgr_buf_load() fails, the firmware resource previously allocated > by request_firmware() is leaked. Fix it by calling release_firmware() > regardless of the return value of fpga_mgr_buf_load(). > > Found by the Coverity scanner (CID 1339653). >

Re: [PATCH v5 2/2] leds: rt5033: Add RT5033 Flash led device driver

2015-11-18 Thread Jacek Anaszewski
Hi Ingi, Thanks for the update. I have few comments below. On 11/17/2015 10:04 AM, Ingi Kim wrote: This patch adds device driver of Richtek RT5033 PMIC. The RT5033 Flash LED Circuit is designed for one or two LEDs driving for torch and strobe applications, it provides an I2C software command to

Re: [PATCH 02/13] dmaengine: Introduce dma_request_slave_channel_compat_reason()

2015-11-18 Thread Andy Shevchenko
On Wed, Nov 18, 2015 at 4:21 PM, Peter Ujfalusi wrote: > Hi Vinod, > > bringing this old thread back to life as I just started to work on this. What I remember we need to convert drivers to use new API meanwhile it is good to keep old one to avoid patch storm which does nothing useful (IIRC Russe

Re: [PATCH v7 0/4] KASAN for arm64

2015-11-18 Thread Suzuki K. Poulose
On 18/11/15 14:33, Andrey Ryabinin wrote: Is there any way to run 16K pages on emulated environment? I've tried: - ARM V8 Foundation Platformr0p0 (platform build 9.4.59) Have you tried with the following option ? -C cluster.has_16k_granule=1 Thanks Suzuki -- To unsubscribe from this list:

Re: request_queue use-after-free - inode_detach_wb()

2015-11-18 Thread Ilya Dryomov
On Wed, Nov 18, 2015 at 4:30 PM, Tejun Heo wrote: > Hello, Ilya. > > On Wed, Nov 18, 2015 at 04:12:07PM +0100, Ilya Dryomov wrote: >> > It's stinky that the bdi is going away while the inode is still there. >> > Yeah, blkdev inodes are special and created early but I think it makes >> > sense to k

Re: [PATCH 3/4] sched: introduce synchronized idle injection

2015-11-18 Thread Arjan van de Ven
On 11/18/2015 7:44 AM, Morten Rasmussen wrote: I would not necessarily want to punish all cpus system-wide if we have local overheating in one corner. If would rather have it apply to only the overheating socket in a multi-socket machine and only the big cores in a big.LITTLE system. most of th

Re: [PATCH 02/13] dmaengine: Introduce dma_request_slave_channel_compat_reason()

2015-11-18 Thread Arnd Bergmann
On Wednesday 18 November 2015 17:43:04 Andy Shevchenko wrote: > > > > I assume that the sst-firmware.c case is a mistake, it should just use a > > plain DMA_SLAVE and not DMA_MEMCPY. > > Other way around. > Ok, I see. In that case I guess it also shouldn't call dmaengine_slave_config(), right? I

Re: [PATCH v7 0/4] KASAN for arm64

2015-11-18 Thread Ard Biesheuvel
On 18 November 2015 at 16:48, Suzuki K. Poulose wrote: > On 18/11/15 14:33, Andrey Ryabinin wrote: > >> Is there any way to run 16K pages on emulated environment? >> I've tried: >> - ARM V8 Foundation Platformr0p0 (platform build 9.4.59) > > > Have you tried with the following option ? > > -C cl

Re: [PATCH] comedi: gsc_hpdi: Fix coding style - use kernel type definitions for variables

2015-11-18 Thread Ian Abbott
On 14/11/15 17:21, Ranjith Thangavel wrote: kernel type definitions are preferred for variables over standard type definitions Signed-off-by: Ranjith Thangavel --- drivers/staging/comedi/drivers/gsc_hpdi.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff -

[PATCH] cpufreq, intel_pstate.c, Fix rounding errors

2015-11-18 Thread Prarit Bhargava
I have a Intel (6,63) processor with a "marketing" frequency (from /proc/cpuinfo) of 2100MHz, and a max turbo frequency of 2600MHz. I can execute cpupower frequency-set -g powersave --min 1200MHz --max 2100MHz and the max_freq_pct is set to 80. When adding load to the system I noticed that the

[PATCH] staging: media: bcm2048: fix brace coding style issue in radio-bcm2048.c

2015-11-18 Thread Jitendra Kumar Khasdev
This is a patch to the radio-bcm2048.c file that fixes up a brace warning found by the checkpatch.pl tool. Signed-off-by: Jitendra Kumar Khasdev --- drivers/staging/media/bcm2048/radio-bcm2048.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/media/bcm2048

Re: [RT PATCH] sched: rt: fix two possible deadlocks in push_irq_work_func

2015-11-18 Thread Sebastian Andrzej Siewior
* yjin | 2015-11-16 13:26:42 [+0800]: >Could you tell me when will you send your formal patch? And please CC >me when you send your patch. https://git.kernel.org/cgit/linux/kernel/git/rt/linux-rt-devel.git/plain/patches/irqwork-Move-irq-safe-work-to-irq-context.patch?h=linux-4.1.y-rt-patches Seba

[ANNOUNCE] 4.1.13-rt15

2015-11-18 Thread Sebastian Andrzej Siewior
Dear RT folks! I'm pleased to announce the v4.1.13-rt15 patch set. Changes since v4.1.13-rt14: Sebastian Andrzej Siewior (1): v4.1.13-rt15 Thomas Gleixner (1): irqwork: Move irq safe work to irq context Known issues: - bcache stays disabled - CPU hotplug is not better than befo

Re: request_queue use-after-free - inode_detach_wb()

2015-11-18 Thread Tejun Heo
Hello, Ilya. On Wed, Nov 18, 2015 at 04:48:06PM +0100, Ilya Dryomov wrote: > Just to be clear, the bdi/wb vs inode lifetime rules are that inodes > should always be within bdi/wb? There's been a lot of churn in this Yes, that's where *I* think we should be headed. Stuff in lower layers should s

Re: [PATCH] comedi: pcmmio: Fix coding style - use BIT macro

2015-11-18 Thread Ian Abbott
On 14/11/15 13:24, Ranjith Thangavel wrote: BIT macro is used for defining BIT location instead of shifting operator - coding style issue Signed-off-by: Ranjith Thangavel --- drivers/staging/comedi/drivers/pcmmio.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-

Re: i915.ko WC writes are slow after ea8596bb2d8d379

2015-11-18 Thread Andy Lutomirski
On Wed, Nov 18, 2015 at 6:48 AM, Chris Wilson wrote: > Although > > diff --git a/include/linux/stop_machine.h b/include/linux/stop_machine.h > index d2abbdb..ff4f029 100644 > --- a/include/linux/stop_machine.h > +++ b/include/linux/stop_machine.h > @@ -97,7 +97,7 @@ static inline int try_stop_cpus

Re: [PATCH v2 1/5] crypto: Multi-buffer encryptioin infrastructure support

2015-11-18 Thread Tim Chen
On Wed, 2015-11-18 at 13:06 +0800, Herbert Xu wrote: > On Tue, Nov 17, 2015 at 04:30:14PM -0800, Tim Chen wrote: > > On Wed, 2015-11-18 at 08:07 +0800, Herbert Xu wrote: > > > On Tue, Nov 17, 2015 at 02:59:29PM -0800, Tim Chen wrote: > > > > > > > > Herbert, would you prefer me to use ablkcipher sc

RE: next build: 235 warnings 3 failures (next/next-20151117)

2015-11-18 Thread David Laight
From: Will Deacon [mailto:will.dea...@arm.com] > Sent: 18 November 2015 15:37 > On Wed, Nov 18, 2015 at 03:21:19PM +, David Laight wrote: > > From: Will Deacon > > > Sent: 18 November 2015 12:28 > > > On Wed, Nov 18, 2015 at 12:11:25PM +, David Laight wrote: > > > > From: Will Deacon > > >

Re: [PATCH 02/13] dmaengine: Introduce dma_request_slave_channel_compat_reason()

2015-11-18 Thread Andy Shevchenko
On Wed, Nov 18, 2015 at 5:51 PM, Arnd Bergmann wrote: > On Wednesday 18 November 2015 17:43:04 Andy Shevchenko wrote: >> > >> > I assume that the sst-firmware.c case is a mistake, it should just use a >> > plain DMA_SLAVE and not DMA_MEMCPY. >> >> Other way around. >> > > Ok, I see. In that case I

Re: [PATCH 14/14] mm: memcontrol: hook up vmpressure to socket pressure

2015-11-18 Thread Vladimir Davydov
On Tue, Nov 17, 2015 at 05:22:17PM -0500, Johannes Weiner wrote: > On Tue, Nov 17, 2015 at 11:18:50PM +0300, Vladimir Davydov wrote: > > AFAIK vmpressure was designed to allow userspace to tune hard limits of > > cgroups in accordance with their demands, in which case the way how > > vmpressure not

Re: [PATCH 02/13] dmaengine: Introduce dma_request_slave_channel_compat_reason()

2015-11-18 Thread Vinod Koul
On Wed, Nov 18, 2015 at 04:51:54PM +0100, Arnd Bergmann wrote: > On Wednesday 18 November 2015 17:43:04 Andy Shevchenko wrote: > > > > > > I assume that the sst-firmware.c case is a mistake, it should just use a > > > plain DMA_SLAVE and not DMA_MEMCPY. > > > > Other way around. > > > > Ok, I se

Re: [PATCH] comedi: ni_6527: Fix coding style - use BIT macro

2015-11-18 Thread Ian Abbott
On 14/11/15 13:13, Ranjith Thangavel wrote: BIT macro is used for defining BIT location instead of shifting operator - coding style issue Signed-off-by: Ranjith Thangavel --- drivers/staging/comedi/drivers/ni_6527.c | 27 ++- 1 file changed, 14 insertions(+), 13 del

Re: linux-next: manual merge of the tegra tree with the renesas tree

2015-11-18 Thread Simon Horman
On Wed, Nov 18, 2015 at 03:22:58PM +0100, Thierry Reding wrote: > On Wed, Nov 18, 2015 at 10:15:12AM +1100, Stephen Rothwell wrote: > > Hi all, > > > > Today's linux-next merge of the tegra tree got a conflict in: > > > > arch/arm64/configs/defconfig > > > > between commit: > > > > 727e8d01

Re: [PATCH 3/4] sched: introduce synchronized idle injection

2015-11-18 Thread Morten Rasmussen
On Wed, Nov 18, 2015 at 07:11:31AM -0800, Jacob Pan wrote: > On Wed, 18 Nov 2015 15:09:44 + > Morten Rasmussen wrote: > > > Okay. But it does mean that the defeault idle period is 5 ticks (50ms > > @ HZ=100) and not 5 ms > correct. my reason is to scale with various HZ values. 50ms seems qui

Re: [RFC 5/9] iio: Documentation: Add IIO configfs documentation

2015-11-18 Thread Marc Titinger
On 18/11/2015 16:38, Crt Mori wrote: This has my acked-by, yet it is missing a commit message? Can we get that and the removed From: as I think this is a new patch and not resend of Daniel's? Also it would need your signed-off-by in that case You've lost me: I think the commit message is the br

Re: [PATCH] staging: media: bcm2048: fix brace coding style issue in radio-bcm2048.c

2015-11-18 Thread kbuild test robot
Hi Jitendra, [auto build test ERROR on: linuxtv-media/master] [also build test ERROR on: v4.4-rc1 next-20151118] url: https://github.com/0day-ci/linux/commits/Jitendra-Kumar-Khasdev/staging-media-bcm2048-fix-brace-coding-style-issue-in-radio-bcm2048-c/20151118-235820 base: git

Re: [PATCH 0/4 v2] Implement access checks in iommu page fault paths

2015-11-18 Thread Jesse Barnes
On 11/17/2015 07:11 AM, Joerg Roedel wrote: > Hi, > > here is the second version of the patch-set to implement > proper access checks into the io-page-fault handlers of the > AMD IOMMU and Intel VT-d drivers. > > Two additional patches clean up the AMD part a bit further. > Since I can't test thi

Re: .gnu.hash into text PHDR?

2015-11-18 Thread Andy Lutomirski
On Nov 17, 2015 6:12 AM, "Jiri Slaby" wrote: > > Hi, > > after > commit 6b7e26547fad7ace3dcb27a5babd2317fb9d1e12 > Author: Andy Lutomirski > Date: Thu Aug 6 14:45:45 2015 -0700 > > x86/vdso: Emit a GNU hash > > I believe .gnu.hash in arch/x86/entry/vdso/vdso-layout.lds.S should have > ":tex

[PATCH] usb-gadget-functionfs: fix missing access_ok checks

2015-11-18 Thread Daniel Walter
use safe copy_*_user instead of unsafe __copy_*_user functions when accessing userland memory. Signed-off-by: Daniel Walter --- drivers/usb/gadget/function/f_fs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/usb/gadget/function/f_fs.c b/drivers/usb/gadget/fu

Re: [RFC 5/9] iio: Documentation: Add IIO configfs documentation

2015-11-18 Thread Daniel Baluta
On Wed, Nov 18, 2015 at 6:06 PM, Marc Titinger wrote: > On 18/11/2015 16:38, Crt Mori wrote: >> >> This has my acked-by, yet it is missing a commit message? Can we get that >> and the removed From: as I think this is a new patch and not resend of >> Daniel's? >> Also it would need your signed-off-

Re: [PATCH] mmc: dw_mmc: use resource_size_t to store physical address

2015-11-18 Thread Andy Shevchenko
On Wed, Nov 18, 2015 at 5:45 PM, Arnd Bergmann wrote: > On Wednesday 18 November 2015 17:29:19 Andy Shevchenko wrote: >> >> I understand most of the things here, what I don't is how a platform >> is supposed to work if you have the following: >> a) HW, that uses register space let's say higher tha

Re: Linux 4.4-rc1

2015-11-18 Thread Linus Torvalds
On Wed, Nov 18, 2015 at 6:46 AM, Shuah Khan wrote: > > I am hoping the fix gets into 4.4-rc2 as well as 4.3.1 > > http://patchwork.ozlabs.org/patch/544307/ > > I tested the fix on 4.3 and 4.4-rc1 on my VPN setup That should be commit 5f8dc33e8ee7 ("net: fix feature changes on devices without ndo_

Re: [lkp] [x86/entry/vsyscall] 3dc33bd30f: Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b

2015-11-18 Thread Andy Lutomirski
On Tue, Nov 17, 2015 at 10:34 PM, kernel test robot wrote: > FYI, we noticed the below changes on > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > commit 3dc33bd30f3e1c1bcaaafa3482737694debf0f0b ("x86/entry/vsyscall: Add > CONFIG to control default") This is intent

Re: [PATCH v5 20/32] scsi: hisi_sas: add v1 hw interrupt init

2015-11-18 Thread John Garry
On 18/11/2015 15:26, Rob Herring wrote: On Tue, Nov 17, 2015 at 10:50 AM, John Garry wrote: Add code to interrupts, so now we can get a phy up interrupt when a disk is connected. So I started looking at why you are using of_irq_count which drivers shouldn't need to. In patch 5 you use it to

[PATCH] usb: musb: USB_TI_CPPI41_DMA requires dmaengine support

2015-11-18 Thread Arnd Bergmann
The CPPI-4.1 driver selects TI_CPPI41, which is a dmaengine driver and that may not be available when CONFIG_DMADEVICES is not set: warning: (USB_TI_CPPI41_DMA) selects TI_CPPI41 which has unmet direct dependencies (DMADEVICES && ARCH_OMAP) This adds an extra dependency to avoid generating warni

Re: [PATCH] staging: media: bcm2048: fix brace coding style issue in radio-bcm2048.c

2015-11-18 Thread kbuild test robot
Hi Jitendra, [auto build test ERROR on linuxtv-media/master] [also build test ERROR on v4.4-rc1 next-20151118] url: https://github.com/0day-ci/linux/commits/Jitendra-Kumar-Khasdev/staging-media-bcm2048-fix-brace-coding-style-issue-in-radio-bcm2048-c/20151118-235820 base: git://linuxtv.org

Re: [PATCH 1/3] misc:scif: do not define list_entry_next

2015-11-18 Thread Sudeep Dutt
On Wed, 2015-11-18 at 21:10 +0900, Sergey Senozhatsky wrote: > Cosmetic. > > Do not define list_entry_next() and use list_next_entry() > from list.h. > Hi Sergey, A similar patch was posted @ https://lkml.org/lkml/2015/11/16/328 Regards, Sudeep Dutt > Signed-off-by: Sergey Senozhatsky > ---

Re: [PATCH 13/14] mm: memcontrol: account socket memory in unified hierarchy memory controller

2015-11-18 Thread Michal Hocko
On Mon 16-11-15 13:18:10, Johannes Weiner wrote: > On Mon, Nov 16, 2015 at 04:59:25PM +0100, Michal Hocko wrote: > > On Thu 12-11-15 18:41:32, Johannes Weiner wrote: > > > Socket memory can be a significant share of overall memory consumed by > > > common workloads. In order to provide reasonable r

Re: [PATCH v2 03/11] pmem: enable REQ_FUA/REQ_FLUSH handling

2015-11-18 Thread Ross Zwisler
On Wed, Nov 18, 2015 at 11:40:55AM +0100, Jan Kara wrote: > On Mon 16-11-15 13:09:50, Ross Zwisler wrote: > > On Fri, Nov 13, 2015 at 06:32:40PM -0800, Dan Williams wrote: > > > On Fri, Nov 13, 2015 at 4:43 PM, Andreas Dilger wrote: > > > > On Nov 13, 2015, at 5:20 PM, Dan Williams > > > > wrote

Re: [PATCH] mmc: dw_mmc: use resource_size_t to store physical address

2015-11-18 Thread Arnd Bergmann
On Wednesday 18 November 2015 18:17:32 Andy Shevchenko wrote: > On Wed, Nov 18, 2015 at 5:45 PM, Arnd Bergmann wrote: > > On Wednesday 18 November 2015 17:29:19 Andy Shevchenko wrote: > >> For me it clearly looks like a platform (HW / SW) configuration issue. > > > > I think some people have argu

Re: [PATCH] watchdog: mtk_wdt: Use MODE_KEY when stopping the watchdog

2015-11-18 Thread Guenter Roeck
On 11/17/2015 06:45 PM, Nicolas Boichat wrote: WDT_MODE value need to be or-ed with MODE_KEY when setting watchdog mode. Add it to mtk_wdt_stop function, so that the watchdog can be stopped (e.g. during suspend). Signed-off-by: Nicolas Boichat Reviewed-by: Guenter Roeck --- drivers/watch

Re: [PATCHv12 32/37] thp: reintroduce split_huge_page()

2015-11-18 Thread Sasha Levin
On 10/06/2015 11:23 AM, Kirill A. Shutemov wrote: > This patch adds implementation of split_huge_page() for new > refcountings. > > Unlike previous implementation, new split_huge_page() can fail if > somebody holds GUP pin on the page. It also means that pin on page > would prevent it from bening

Re: Regression on Chromebook Pixel 2015 due to i915 fastboot always-on

2015-11-18 Thread Linus Torvalds
On Wed, Nov 18, 2015 at 12:29 AM, Jani Nikula wrote: > On Tue, 17 Nov 2015, Daniel Vetter wrote: >> >> Imo revert. With all the QA awol fail we've suffered the past few >> months we've become a bit too lax imo with reverting fast, and the >> point of the split-out commit was to allow exactly that

Re: [PATCH v3 1/1] i2c: taos-evm: replace simple_strtoul by kstrtou8

2015-11-18 Thread Andy Shevchenko
On Wed, Nov 18, 2015 at 2:55 PM, LABBE Corentin wrote: > The simple_strtoul function is marked as obsolete. > This patch replace it by kstrtou8. > Only one concern. simple_strto* goes through the string until it has an invalid character or \0. In your case kstrtou8 will fail the transfer. So, is

Re: [PATCH] comedi: dmm32at: Fix coding style - use BIT macro

2015-11-18 Thread Ian Abbott
On 14/11/15 17:10, Ranjith Thangavel wrote: BIT macro is used for defining BIT location instead of shifting operator, usleep_range is preferred over udelay - coding style issue Those two things should be done in separate patches. Signed-off-by: Ranjith Thangavel --- drivers/staging/comedi/

Re: [lkp] [x86, perf] 7aba70e47c: BUG: unable to handle kernel paging request at 696d2f62

2015-11-18 Thread Peter Zijlstra
On Wed, Nov 18, 2015 at 02:33:00PM +0800, kernel test robot wrote: > FYI, we noticed the below changes on > > https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git perf/core > commit 7aba70e47ca4e961acb5af96d5127e3fad651c7c ("x86, perf: Optimize stack > walk user accesses") Of course,

Re: [PATCH] mm/mmap.c: remove incorrect MAP_FIXED flag comparison from mmap_region

2015-11-18 Thread Piotr Kwapulinski
On Tue, Nov 17, 2015 at 04:52:51PM -0800, Andrew Morton wrote: > On Tue, 17 Nov 2015 18:26:38 +0100 Piotr Kwapulinski > wrote: > > > The following flag comparison in mmap_region is not fully correct: > > > > if (!(vm_flags & MAP_FIXED)) > > > > The vm_flags should not be compared with MAP_FIXE

Re: [PATCH v2 21/27] realtek: create separate Kconfig file

2015-11-18 Thread Larry Finger
On 11/18/2015 08:46 AM, Kalle Valo wrote: Add new a Kconfig file and a vendor config for realtek. Also update MAINTAINERS which we missed to do when earlier moving rtlwifi. Signed-off-by: Kalle Valo --- Acked-by: Larry Finger Thanks, Larry MAINTAINERS |8 ++

[PATCH] misc: ad525x_dpot: Fix the enabling of the "otpXen" attributes

2015-11-18 Thread Dan Bogdan Nechita
Currently writing the attributes with "echo" will result in comparing: "enabled\n" with "enabled\0" and attribute is always set to false. Use the sysfs_streq() instead because it treats both NUL and new-line-then-NUL as equivalent string terminations. Signed-off-by: Dan Bogdan Nechita --- drive

[GIT PULL] hwmon fixes for v4.4-rc2

2015-11-18 Thread Guenter Roeck
Hi Linus, Please pull hwmon fixes for Linux v4.4-rc2 from signed tag: git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-for-linus-v4.4-rc2 Thanks, Guenter -- The following changes since commit 8005c49d9aea74d382f474ce11afbbc7d7130bec: Linux 4.4-rc1 (2015-1

[PATCH v10 8/8] Input: goodix - add runtime power management support

2015-11-18 Thread Irina Tirdea
Add support for runtime power management so that the device is turned off when not used (when the userspace holds no open handles of the input device). The device uses autosuspend with a default delay of 2 seconds, so the device will suspend if no handles to it are open for 2 seconds. The runtime

[PATCH v10 3/8] Input: goodix - write configuration data to device

2015-11-18 Thread Irina Tirdea
Goodix devices can be configured by writing custom data to the device at init. The configuration data is read with request_firmware from "goodix__cfg.bin", where is the product id read from the device (e.g.: goodix_911_cfg.bin for Goodix GT911, goodix_9271_cfg.bin for GT9271). The configuration i

Re: A new, fast and "unbreakable" encryption algorithm

2015-11-18 Thread Harald Arnesen
Ismail Kizir [2015-11-18 06:25]: > Hello, > > I've developed a new encryption algorithm, which dynamically changes > the key according to plaintext and practically impossible to break. I > also opened to public with MIT&GPL dual License. "There are two kinds of cryptography in this world: crypto

[PATCH v10 7/8] Input: goodix - add sysfs interface to dump config

2015-11-18 Thread Irina Tirdea
Goodix devices have a configuration information register area that specify various parameters for the device. The configuration information has a specific format described in the Goodix datasheet. It includes X/Y resolution, maximum supported touch points, interrupt flags, various sesitivity factor

[PATCH v10 4/8] Input: goodix - add power management support

2015-11-18 Thread Irina Tirdea
Implement suspend/resume for goodix driver. The suspend and resume process uses the gpio pins. If the device ACPI/DT information does not declare gpio pins, suspend/resume will not be available for these devices. This is based on Goodix datasheets for GT911 and GT9271 and on Goodix driver gt9xx.c

[PATCH v10 6/8] Input: goodix - add support for ESD

2015-11-18 Thread Irina Tirdea
Add ESD (Electrostatic Discharge) protection mechanism. The driver enables ESD protection in HW and checks a register to determine if ESD occurred. If ESD is signalled by the HW, the driver will reset the device. The ESD poll time (in ms) can be set through the sysfs property esd_timeout. If it i

[PATCH v10 5/8] Input: goodix - use goodix_i2c_write_u8 instead of i2c_master_send

2015-11-18 Thread Irina Tirdea
Use goodix_i2c_write_u8 instead of i2c_master_send to simplify code. Signed-off-by: Irina Tirdea Tested-by: Bastien Nocera Tested-by: Aleksei Mamlin --- drivers/input/touchscreen/goodix.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/input/touchscreen/goodix

Re: [PATCH] comedi: dmm32at: Fix coding style - use BIT macro

2015-11-18 Thread Ian Abbott
On 18/11/15 16:26, Ian Abbott wrote: On 14/11/15 17:10, Ranjith Thangavel wrote: BIT macro is used for defining BIT location instead of shifting operator, usleep_range is preferred over udelay - coding style issue Those two things should be done in separate patches. Sorry, I didn't see you'v

[PATCH v10 2/8] Input: goodix - reset device at init

2015-11-18 Thread Irina Tirdea
After power on, it is recommended that the driver resets the device. The reset procedure timing is described in the datasheet and is used at device init (before writing device configuration) and for power management. It is a sequence of setting the interrupt and reset pins high/low at specific timi

Re: [PATCH] comedi: ni_6527: Fix coding style - use BIT macro

2015-11-18 Thread Ian Abbott
On 16/11/15 16:56, Ranjith Thangavel wrote: BIT macro is used for defining BIT location instead of shifting operator - coding style issue Signed-off-by: Ranjith Thangavel --- drivers/staging/comedi/drivers/ni_6527.c | 24 1 file changed, 12 insertions(+), 12 deleti

[PATCH v10 1/8] Input: goodix - use actual config length for each device type

2015-11-18 Thread Irina Tirdea
Each of the Goodix devices supported by this driver has a fixed size for the configuration information registers. The size varies depending on the device and is specified in the datasheet. Use the proper configuration length as specified in the datasheet for each device model, so we do not read mo

Re: [PATCH 4/9] srpt: chain RDMA READ/WRITE requests

2015-11-18 Thread Bart Van Assche
On 11/18/2015 01:15 AM, Sagi Grimberg wrote: On 18/11/2015 03:17, Bart Van Assche wrote: On 11/13/2015 05:46 AM, Christoph Hellwig wrote: -ret = ib_post_send(ch->qp, &wr.wr, &bad_wr); -if (ret) -break; +if (i == n_rdma - 1) { +/* only get completi

Re: [PATCH 2/3 v7] livepatch: add sympos as disambiguator field to klp_reloc

2015-11-18 Thread Petr Mladek
On Mon 2015-11-16 11:03:06, Chris J Arges wrote: > In cases of duplicate symbols, sympos will be used to disambiguate instead > of val. By default sympos will be 0, and patching will only succeed if > the symbol is unique. Specifying a positive value will ensure that > occurrence of the symbol in k

[PATCH v10 0/8] Goodix touchscreen enhancements

2015-11-18 Thread Irina Tirdea
This patchset depends on Dmitry's patch that fixes the GPIO ACPI API[1], so devm_gpiod_get_optional can be properly used in the code. Thanks for taking care of this, Dmitry! Bastien and Aleksei, I have removed your Acked-by and Tested-by tags from the patches I have changed. Thanks, Irina [1] ht

Re: [PATCH 2/3 v7] livepatch: add sympos as disambiguator field to klp_reloc

2015-11-18 Thread Chris J Arges
On 11/18/2015 10:37 AM, Petr Mladek wrote: > On Mon 2015-11-16 11:03:06, Chris J Arges wrote: >> In cases of duplicate symbols, sympos will be used to disambiguate instead >> of val. By default sympos will be 0, and patching will only succeed if >> the symbol is unique. Specifying a positive value

Re: [PATCH 1/2] comedi: dmm32at: Fix coding style - use BIT macro

2015-11-18 Thread Ian Abbott
On 16/11/15 17:18, Ranjith Thangavel wrote: BIT macro is used for defining BIT location instead of shifting operator, usleep_range is preferred over udelay - coding style issue This patch doesn't use usleep_range(), so the description is inaccurate. Signed-off-by: Ranjith Thangavel --- dr

Re: [PATCH v3 6/6] gpio: tps65086: Add GPIO driver for the TPS65086 PMIC

2015-11-18 Thread Andrew F. Davis
On 11/18/2015 03:44 AM, Linus Walleij wrote: On Tue, Nov 17, 2015 at 5:11 PM, Andrew F. Davis wrote: On 11/17/2015 03:17 AM, Linus Walleij wrote: On Wed, Nov 4, 2015 at 6:12 PM, Andrew F. Davis wrote: Add support for the TPS65086 PMIC GPOs. TPS65086 has four configurable GPOs that can be

Re: [GIT PULL] s390 patches for 4.4-rc2

2015-11-18 Thread Linus Torvalds
On Wed, Nov 18, 2015 at 7:42 AM, Martin Schwidefsky wrote: > > Assorted bug fixes, the mlock2 system call gets added, and one improvement. > The boot from dasd devices is not possible from a wider range of devices. Is that "not possible" perhaps meant to be a "now possible"? I'm not quite sure wh

[PATCH v2] kset- and class-registration cleanups

2015-11-18 Thread Nicolai Stange
In order to have something to base further discussion on, here comes the second version. In addition to some changes to the inital patch (now [1/3]), two additional ones have been introduced. The three patches depend on one another in sequence. For a detailed changelist, see the end of this mail

[PATCH v2 1/3] lib/kobject: fix memory leak in error path of kset_create_and_add()

2015-11-18 Thread Nicolai Stange
In kset_create_and_add(), the name duped into the kset's kobject by kset_create() gets leaked if the call to kset_register() fails. Indeed, triggering failure by invoking kset_create_and_add() with a duplicate name makes kmemleak reporting unreferenced object 0x8800b4a1f428 (size 16): c

Re: [PATCH 2/3 v7] livepatch: add sympos as disambiguator field to klp_reloc

2015-11-18 Thread Petr Mladek
On Wed 2015-11-18 08:01:37, Josh Poimboeuf wrote: > On Wed, Nov 18, 2015 at 10:56:00AM +0100, Miroslav Benes wrote: > > On Mon, 16 Nov 2015, Chris J Arges wrote: > > > > > @@ -281,29 +243,26 @@ static int klp_write_object_relocations(struct > > > module *pmod, > > > return -EINVAL; > >

[PATCH v2 2/3] drivers/base/class: __class_register(): make error behaviour consistent

2015-11-18 Thread Nicolai Stange
If a class attribute's sysfs creation fails at the very end of __class_register(), the kset object already registered for the class itself is not unregistered again. This is not consistent with the other possible failures of __class_register() for which nothing is left over to be manually released

[PATCH v2 3/3] drivers/base/class: __class_register(): invoke class' releaser on failure

2015-11-18 Thread Nicolai Stange
Currently, upon failure, __class_register() does not call the class_release member of the struct class object handed over to it. This leads to potentially duplicated cleanup code at the call sites: once for the error path handling a failed __class_register() and once for an orderly class deregistra

Re: [PATCH] memory-hotplug: use PFN_DOWN in should_add_memory_movable

2015-11-18 Thread Michal Hocko
On Wed 18-11-15 21:31:32, Geliang Tang wrote: > Use PFN_DOWN() in should_add_memory_movable() to keep the consistency > of this file. I really detest this patch and c8e861a531b0 ("mm/memory_hotplug.c: use PFN_DOWN()") which has started to use PFN_DOWN in that file likewise. It obfuscates a perfect

Re: [PATCH 2/3 v7] livepatch: add sympos as disambiguator field to klp_reloc

2015-11-18 Thread Petr Mladek
On Wed 2015-11-18 10:39:24, Chris J Arges wrote: > On 11/18/2015 10:37 AM, Petr Mladek wrote: > > On Mon 2015-11-16 11:03:06, Chris J Arges wrote: > >> In cases of duplicate symbols, sympos will be used to disambiguate instead > >> of val. By default sympos will be 0, and patching will only succeed

Re: [PATCH V5 8/9] PCI: OF: Move of_pci_dma_configure() to pci_dma_configure()

2015-11-18 Thread Suravee Suthikulanit
Hi All, On 11/18/2015 6:41 AM, Arnd Bergmann wrote: On Wednesday 18 November 2015 12:00:32 Robin Murphy wrote: On 17/11/15 15:00, Robin Murphy wrote: On 28/10/15 22:50, Suravee Suthikulpanit wrote: Signed-off-by: Suravee Suthikulpanit Acked-by: Rob Herring Acked-by: Bjorn Helgaas Reviewed-

Re: [GIT PULL] s390 patches for 4.4-rc2

2015-11-18 Thread Martin Schwidefsky
On Wed, 18 Nov 2015 08:43:07 -0800 Linus Torvalds wrote: > On Wed, Nov 18, 2015 at 7:42 AM, Martin Schwidefsky > wrote: > > > > Assorted bug fixes, the mlock2 system call gets added, and one improvement. > > The boot from dasd devices is not possible from a wider range of devices. > > Is that "

Re: [PATCH v5 00/32] HiSilicon SAS driver

2015-11-18 Thread Martin K. Petersen
> "John" == John Garry writes: John> This is the driver patchset for the HiSilicon SAS driver. The John> driver is a platform driver. I have staged this driver for 4.5. Changes as a result of Rob's comments to patch 20 should be made as an incremental patch. -- Martin K. Petersen Ora

Re: [PATCH 0/4] h8300: clock driver update

2015-11-18 Thread Yoshinori Sato
On Tue, 17 Nov 2015 21:20:45 +0900, Daniel Lezcano wrote: > > On 11/11/2015 03:50 PM, Yoshinori Sato wrote: > > Overall looks good. > > And I found some problem (in original code). This patches fix it. > > Please apply after your patches. > > Hi Yoshinori, > > could you elaborate in the changelo

Re: [PATCH 1/2] Remove EFI memmap quirk for UV

2015-11-18 Thread Alex Thorlton
On Wed, Nov 18, 2015 at 10:23:16AM +0100, Borislav Petkov wrote: > On Wed, Nov 18, 2015 at 09:00:47AM +0100, Ingo Molnar wrote: > > We should at least check the BIOS version via a DMI quirk and panic in some > > nicely > > informative 'upgrade your BIOS!' way to ease the transition ... > > Or si

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