Re: [PATCH net] net: thunderx: remove effective "default y" from Kconfig if ARCH_THUNDER=y

2015-08-06 Thread David Miller
From: Ian Campbell Date: Tue, 4 Aug 2015 20:25:55 +0100 > As well as for kernels built only for ThunderX ARCH_THUNDERX is also enabled > for kernels which support multiple platforms (such as distro kernels). Thus > "default ARCH_THUNDER" is inappropriate. > > I believe default m is equally frow

[PATCH v3] sched: separate operations only for SMP from account_entity_en(de)queue

2015-08-06 Thread byungchul . park
From: Byungchul Park change from v1 to v2 * separate the SMP operations as a function instead of embedding change from v2 to v3 * use (cfs_rq, se) instead of (rq, se) as function parameters * add additional commit message ->8- >From 435029844f86905a67e69f7835878c728336557b Mon Sep 17 00

[PATCH] fs: inode_set_flags() replace opencoded set_mask_bits()

2015-08-06 Thread Vineet Gupta
It seems that 5f16f3225b0624 and 00a1a053ebe5, both with same commitlog ("ext4: atomically set inode->i_flags in ext4_set_inode_flags()") introduced the set_mask_bits API, but somehow missed not using it in ext4 in the end Also, set_mask_bits is used in fs quite a bit and we can possibly come up w

Re: [PATCH 2/2] gadget: Support for the usb charger framework

2015-08-06 Thread Peter Chen
On Thu, Aug 06, 2015 at 03:03:49PM +0800, Baolin Wang wrote: > The usb charger framework is based on usb gadget, and each usb gadget > can be one usb charger to set the current limitation. > > This patch adds a notifier mechanism for usb charger to report to usb > charger when the usb gadget state

[PATCH v2] modpost: abort if a module symbol is too long

2015-08-06 Thread Takashi Iwai
Module symbols have a limited length, but currently the build system allows the build finishing even if the driver code contains a too long symbol name, which eventually overflows the modversion_info[] item. The compiler may catch at compiling *.mod.c like CC xxx.mod.o xxx.mod.c:18:16: war

Re: [PATCH v3 0/18] On-demand device probing

2015-08-06 Thread Tomeu Vizoso
With this series I get the kernel to output to the panel in 0.5s, >> instead of 2.8s. >> >> Regards, >> >> Tomeu >> >> [0] http://lists.freedesktop.org/archives/dri-devel/2014-August/066527.html >> >> [1] https://lkml.org/lkml/2014/5/12/452 >> >&

Re: [PATCH 0/3] zram: Replace pr_* with dev_*

2015-08-06 Thread Sergey Senozhatsky
On (08/07/15 15:37), Sergey Senozhatsky wrote: [..] > we now have errors like > 'zram: Cannot initialise lzo compressing backend' > > and they will transform into > > 'block zram0: Cannot initialise lzo compressing backend' > > note the prefix 'zram:' became 'block zram0:' but it doesn't come

Re: pull-request: wireless-drivers 2015-08-04

2015-08-06 Thread David Miller
From: Kalle Valo Date: Tue, 04 Aug 2015 19:54:09 +0300 > here are few small fixes I would like to get to 4.2. Please let me know > if there are any problems. Pulled, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kern

Re: [PATCH] net: pktgen: don't abuse current->state in pktgen_thread_worker()

2015-08-06 Thread David Miller
From: Oleg Nesterov Date: Tue, 4 Aug 2015 18:33:34 +0200 > Commit 1fbe4b46caca "net: pktgen: kill the Wait for kthread_stop > code in pktgen_thread_worker()" removed (in particular) the final > __set_current_state(TASK_RUNNING) and I didn't notice the previous > set_current_state(TASK_INTERRUPTIB

Re: [PATCH 1/2] gadget: Introduce the usb charger framework

2015-08-06 Thread Peter Chen
On Thu, Aug 06, 2015 at 03:03:48PM +0800, Baolin Wang wrote: > This patch introduces the usb charger driver based on usb gadget that > makes an enhancement to a power driver. It works well in practice but > that requires a system with suitable hardware. > > The basic conception of the usb charger

Re: [PATCH v3] net_dbg_ratelimited: turn into no-op when !DEBUG

2015-08-06 Thread David Miller
From: "Jason A. Donenfeld" Date: Tue, 4 Aug 2015 18:26:19 +0200 > The pr_debug family of functions turns into a no-op when -DDEBUG is not > specified, opting instead to call "no_printk", which gets compiled to a > no-op (but retains gcc's nice warnings about printf-style arguments). > > The pro

Re: [RFC v0 0/3] Simple wait queue support

2015-08-06 Thread Daniel Wagner
On 08/05/2015 03:30 PM, Daniel Wagner wrote: > My test system didn't crash or showed any obvious defects, so I > decided to apply some benchmarks utilizing mmtests. I have picked some As it turns out, this is not really true. I forgot to enable lockdep: [0.053193]

Re: [PATCH 0/4] loop: enable different physical blocksizes

2015-08-06 Thread Hannes Reinecke
On 08/07/2015 07:07 AM, Ming Lei wrote: > On Mon, Aug 3, 2015 at 7:00 PM, Alexander Graf wrote: >> [ .. ] >> >> because the guest thinks the disk is formatted with 4k sector size, >> while mkfs thought it's formatted with 512 byte sector size. > > I am wondering if mkfs is remembering the secto

Re: [PATCH 0/2] Introduce usb charger framework to deal with the usb gadget power negotation

2015-08-06 Thread Peter Chen
On Thu, Aug 06, 2015 at 03:03:47PM +0800, Baolin Wang wrote: > Currently the Linux kernel does not provide any standard integration of this > feature that integrates the USB subsystem with the system power regulation > provided by PMICs meaning that either vendors must add this in their kernels > o

Re: [PATCH 2/6] x86: clean up conditional pmem includes

2015-08-06 Thread Christoph Hellwig
On Thu, Aug 06, 2015 at 11:43:16AM -0600, Ross Zwisler wrote: > Prior to this change x86_64 used the pmem defines in > arch/x86/include/asm/cacheflush.h, and UM used the default ones at the > top of include/linux/pmem.h. The inclusion or exclusion in pmem.h was > controlled by CONFIG_ARCH_HAS_PMEM

Re: [PATCH 1/6] pmem: remove indirection layer arch_has_pmem_api()

2015-08-06 Thread Christoph Hellwig
On Thu, Aug 06, 2015 at 11:43:15AM -0600, Ross Zwisler wrote: > Prior to this change arch_has_wmb_pmem() was only called by > arch_has_pmem_api(). Both arch_has_wmb_pmem() and arch_has_pmem_api() > checked to make sure that CONFIG_ARCH_HAS_PMEM_API was enabled. > > Instead, remove one extra layer

Re: [PATCH 0/3] zram: Replace pr_* with dev_*

2015-08-06 Thread Sergey Senozhatsky
Hello Minchan, On (08/07/15 15:05), Minchan Kim wrote: [..] > > I'd prefer to leave the messages the way they are. Changing anything > > visible to user space (api, eror codes, error messages, etc.) is a > > very risky business. You change the format of error messages and it > > smells like a big

Re: [PATCH V9 3/3] audit: add audit by children of executable path

2015-08-06 Thread Richard Guy Briggs
On 15/08/06, Paul Moore wrote: > On August 6, 2015 5:11:50 PM Steve Grubb wrote: > > >On Thursday, August 06, 2015 04:24:58 PM Paul Moore wrote: > >> On Wednesday, August 05, 2015 04:29:38 PM Richard Guy Briggs wrote: > >> > This adds the ability to audit the actions of children of a > >> > not-y

Re: [PATCH v2] staging: ion: Add a default struct device for cma heap

2015-08-06 Thread Feng Tang
Hi Greg, Thanks for the review! On Thu, Aug 06, 2015 at 09:54:04PM -0700, Greg Kroah-Hartman wrote: > On Fri, Aug 07, 2015 at 11:50:13AM +0800, Feng Tang wrote: > > When trying to use several cma heaps on our platforms, > > we met a memory issue due to that the several cma_heaps > > are sharing t

Re: linux-next: manual merge of the audit tree with Linus' tree

2015-08-06 Thread Richard Guy Briggs
On 15/08/07, Stephen Rothwell wrote: > Hi Paul, Hi Stephen, > Today's linux-next merge of the audit tree got a conflict in: > > kernel/audit.c > > between commit: > > 5985de6754a6 ("audit: code clean up") > > from Linus' tree and commit: > > 84cb777e6781 ("audit: use macros for unset i

linux-next: build failure after merge of the char-misc tree

2015-08-06 Thread Stephen Rothwell
Hi all, After merging the char-misc tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/hv/hv.c: In function 'read_hv_clock_tsc': drivers/hv/hv.c:154:4: error: implicit declaration of function 'rdtscll' [-Werror=implicit-function-declaration] rdtscll(cur_tsc);

Re: [PATCH 2/3] zswap: dynamic pool creation

2015-08-06 Thread Sergey Senozhatsky
Hello, On (08/05/15 09:46), Dan Streetman wrote: [..] > -enum comp_op { > - ZSWAP_COMPOP_COMPRESS, > - ZSWAP_COMPOP_DECOMPRESS > +struct zswap_pool { > + struct zpool *zpool; > + struct kref kref; > + struct list_head list; > + struct rcu_head rcu_head; > + struct notif

Re: [PATCH V9 2/3] audit: implement audit by executable

2015-08-06 Thread Richard Guy Briggs
On 15/08/06, Paul Moore wrote: > On Wednesday, August 05, 2015 04:29:37 PM Richard Guy Briggs wrote: > > This adds the ability audit the actions of a not-yet-running process. > > > > This patch implements the ability to filter on the executable path. Instead > > of just hard coding the ino and de

Re:[PATCH] mips: Fix console output for Fulong2e system

2015-08-06 Thread 陈华才
Acked-by: Huacai Chen -- Original -- From: "Guenter Roeck"; Date: Fri, Aug 7, 2015 01:57 PM To: "Ralf Baechle"; Cc: "Huacai Chen"; "linux-mips"; "linux-kernel"; "Guenter Roeck"; Subject: [PATCH] mips: Fix console output for Fulong2e system Commit 3adeb

Re: [PATCH 0/3] zram: Replace pr_* with dev_*

2015-08-06 Thread Minchan Kim
Hello, On Fri, Aug 07, 2015 at 09:05:20AM +0900, Sergey Senozhatsky wrote: > On (08/07/15 00:03), Salah Triki wrote: > > This patchset replaces pr_* with dev_*. dev_* attach kernel messages to the > > right > > device. In addition, patchs 1 and 2 add to messages the values of variables > > that

[PATCH] mips: Fix console output for Fulong2e system

2015-08-06 Thread Guenter Roeck
Commit 3adeb2566b9b ("MIPS: Loongson: Improve LEFI firmware interface") made the number of UARTs dynamic if LEFI_FIRMWARE_INTERFACE is configured. Unfortunately, it did not initialize the number of UARTs if LEFI_FIRMWARE_INTERFACE is not configured. As a result, the Fulong2e system has no console.

Re: [PATCH] usb: chipidea: imx: properly check for usbmisc

2015-08-06 Thread Peter Chen
On Fri, Aug 07, 2015 at 10:11:47AM +0800, Peter Chen wrote: > On Thu, Aug 06, 2015 at 03:09:54PM +0200, Tomeu Vizoso wrote: > > If usbmisc hasn't probed yet, defer the probe. > > > > It's not enough to check if the platform device for the OF node of the > > usbmisc has been registered, but it also

Re: [RFC PATCH v4 4/9] arc: axs10x_defconfig: remove CONFIG_MMC_DW_IDMAC

2015-08-06 Thread Vineet Gupta
On Thursday 06 August 2015 12:19 PM, Shawn Lin wrote: > DesignWare MMC Controller's transfer mode should be decided > at runtime instead of compile-time. So we remove this config > option and read dw_mmc's register to select DMA master. > > Signed-off-by: Shawn Lin Acked-by: Vineet Gupta Thx, -

Re: [PATCH 1/2] gadget: Introduce the usb charger framework

2015-08-06 Thread Baolin Wang
On 7 August 2015 at 00:39, Greg KH wrote: > On Thu, Aug 06, 2015 at 03:03:48PM +0800, Baolin Wang wrote: >> This patch introduces the usb charger driver based on usb gadget that >> makes an enhancement to a power driver. It works well in practice but >> that requires a system with suitable hardwar

RE: [PATCH 8/9] KVM: x86: Add EOI exit bitmap inference

2015-08-06 Thread Wu, Feng
> -Original Message- > From: kvm-ow...@vger.kernel.org [mailto:kvm-ow...@vger.kernel.org] On > Behalf Of Paolo Bonzini > Sent: Wednesday, August 05, 2015 11:24 PM > To: linux-kernel@vger.kernel.org; k...@vger.kernel.org > Cc: Steve Rutherford; rkrc...@redhat.com > Subject: [PATCH 8/9] KVM

Re: [PATCH] modpost: abort if a module symbol is too long

2015-08-06 Thread Takashi Iwai
On Thu, 06 Aug 2015 23:09:12 +0200, Rusty Russell wrote: > > Takashi Iwai writes: > > Module symbols have a limited length, but currently the build system > > allows the build finishing even if the driver code contains a too long > > symbol name, which eventually overflows the modversion_info[] i

[PATCH] irqchip: gic-v3: Explicitly include linux/io.h

2015-08-06 Thread Ben Zhang
linux/io.h is needed because the driver uses: readl_relaxed writel_relaxed writeq_relaxed readq_relaxed iounmap The header was implicitly included by an unrelated commit 332fd7c4fef5 ("genirq: Generic chip: Change irq_reg_{readl,writel} arguments") from the path below: include/linux/io.h include/l

Re: linux-next: manual merge of the driver-core tree with Linus' tree

2015-08-06 Thread Viresh Kumar
On 07-08-15, 15:26, Stephen Rothwell wrote: > Hi Greg, > > Today's linux-next merge of the driver-core tree got a conflict in: > > drivers/cpufreq/cpufreq.c > > between commit: > > 559ed40752dc ("cpufreq: Avoid attempts to create duplicate symbolic links") > > from Linus' tree and commit:

Re: [PATCH 07/13] twl4030_charger: distinguish between USB current and 'AC' current

2015-08-06 Thread NeilBrown
On Fri, 7 Aug 2015 07:13:09 +0200 Sebastian Reichel wrote: > Hi, > > This actually slipped through my review. IMHO madc should be > accessed through IIO, as already done for twl4030-madc-battery > and rx51-battery. That way the custom API can be removed at > some point. > > Anyway, I queued the

[PULL] vhost: fix for 4.2

2015-08-06 Thread Michael S. Tsirkin
The following changes since commit 74d33293e467df61de1b1d8b2fbe29e550dec33b: Linux 4.2-rc5 (2015-08-02 18:34:55 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git tags/for_linus for you to fetch changes up to df4198b1e0c4a7d1adde1e5c2c

linux-next: manual merge of the driver-core tree with Linus' tree

2015-08-06 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the driver-core tree got a conflict in: drivers/cpufreq/cpufreq.c between commit: 559ed40752dc ("cpufreq: Avoid attempts to create duplicate symbolic links") from Linus' tree and commit: 71db87ba5700 ("bus: subsys: update return type of ->remove_dev(

Re: [PATCH] video: fbdev: atmel: fix warning for const return value

2015-08-06 Thread Sudip Mukherjee
On Mon, Jul 27, 2015 at 10:41:41AM -0500, Rob Herring wrote: > A const on a return value is meaningless and generates a warning on some > versions of gcc: > > drivers/video/fbdev/atmel_lcdfb.c:1003: warning: type qualifiers ignored on > function return type maybe this one should have been static

[PATCH v3] base/platform: assert that dev_pm_domain callbacks are called unconditionally

2015-08-06 Thread Uwe Kleine-König
When a platform driver doesn't provide a .remove callback the function platform_drv_remove isn't called and so the call to dev_pm_domain_attach called at probe time isn't paired by dev_pm_domain_detach at remove time. To fix this (and similar issues if different callbacks are missing) hook up the

Re: [PATCH v4 0/6] cpufreq: use generic cpufreq drivers for Exynos4x12 platform

2015-08-06 Thread Viresh Kumar
On 07-08-15, 13:52, Krzysztof Kozlowski wrote: > Thanks for explanation. As fair as I understand, Bartlomiej wanted to > merge this in a way which would avoid loosing the boost mode. Kukjin > prepared topic branches for previous cpu-freq/clk stuff so maybe > everything could go through PM? We aren

Re: [PATCH 07/13] twl4030_charger: distinguish between USB current and 'AC' current

2015-08-06 Thread Sebastian Reichel
Hi, This actually slipped through my review. IMHO madc should be accessed through IIO, as already done for twl4030-madc-battery and rx51-battery. That way the custom API can be removed at some point. Anyway, I queued the below patch with Tony's ACK to fix the build issue in next. On Fri, Aug 07,

Re: [PATCH 0/4] loop: enable different physical blocksizes

2015-08-06 Thread Ming Lei
On Mon, Aug 3, 2015 at 7:00 PM, Alexander Graf wrote: > > > On 27.07.15 11:40, Ming Lei wrote: >> On Fri, Jul 17, 2015 at 3:27 AM, Hannes Reinecke wrote: >>> Currently the loop driver just simulates 512-byte blocks. When >>> creating images for virtual machines it might be required to use >>> a d

Re: [PATCH V2 net-next 0/6] test_bpf improvements

2015-08-06 Thread David Miller
From: Nicolas Schichan Date: Tue, 4 Aug 2015 15:19:06 +0200 > Please find below the patch series with my latest changes to test_bpf. Series applied, thank you. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More m

Re: [PATCH v6 2/2] x86, mwaitt: introduce mwaitx delay with a configurable timer

2015-08-06 Thread Huang Rui
On Thu, Aug 06, 2015 at 05:14:40PM +0200, Borislav Petkov wrote: > On Wed, Aug 05, 2015 at 11:18:52AM +0800, Huang Rui wrote: > > +static void delay_mwaitx(unsigned long __loops) > > +{ > > + u32 delay, loops = __loops; > > + u64 end, start; > > Hmm, this truncates __loops in case someone want

Re: [PATCH v2] staging: ion: Add a default struct device for cma heap

2015-08-06 Thread Greg Kroah-Hartman
On Fri, Aug 07, 2015 at 11:50:13AM +0800, Feng Tang wrote: > When trying to use several cma heaps on our platforms, > we met a memory issue due to that the several cma_heaps > are sharing the same "struct device *". > > As in current code base, the normal cma heap creating > process is, one platfo

Re: [PATCH v4 0/6] cpufreq: use generic cpufreq drivers for Exynos4x12 platform

2015-08-06 Thread Krzysztof Kozlowski
On 07.08.2015 13:30, Viresh Kumar wrote: > On 07-08-15, 13:13, Krzysztof Kozlowski wrote: >> Still patches 1/6 and 6/6 need your acks. Is the patch 1/6 a >> prerequisite for others? It does not look like a prerequisite... but it >> was put at the beginning of the patchset. > > Patch 1/6 is require

Re: [PATCH 1/1] Staging: media: davinci_vpfe: fix over 80 characters coding style issue.

2015-08-06 Thread Sudip Mukherjee
On Thu, Aug 06, 2015 at 09:55:54PM -0500, Junsu Shin wrote: > This is a patch to the dm365_ipipe.c that fixes over 80 characters warning > detected by checkpatch.pl. > Signed-off-by: Junsu Shin please do not use whitespace before Signed-off-by: line. > > --- > drivers/staging/media/davinci_vp

Re: [PATCH] ARM: brcmstb: select ARCH_DMA_ADDR_T_64BIT for LPAE

2015-08-06 Thread Florian Fainelli
Le 08/06/15 19:22, Gregory Fong a écrit : > Broadcom STB (BRCMSTB) has some 64-bit capable DMA and therefore needs > dma_addr_t to be a 64-bit size. One user is the Broadcom SATA3 AHCI > controller driver. > > Signed-off-by: Gregory Fong Applied to soc/next, thanks Gregory! -- Florian -- To un

Re: [PATCH v4 6/6] cpufreq: remove no longer needed CPU_FREQ_BOOST_SW config option

2015-08-06 Thread Viresh Kumar
On 06-08-15, 15:41, Bartlomiej Zolnierkiewicz wrote: > Remove no longer needed CPU_FREQ_BOOST_SW config option. > > Cc: Viresh Kumar > Cc: Thomas Abraham > Cc: Javier Martinez Canillas > Cc: Krzysztof Kozlowski > Signed-off-by: Bartlomiej Zolnierkiewicz > --- > drivers/cpufreq/Kconfig |

Re: [PATCH v4 0/6] cpufreq: use generic cpufreq drivers for Exynos4x12 platform

2015-08-06 Thread Viresh Kumar
On 07-08-15, 13:13, Krzysztof Kozlowski wrote: > Still patches 1/6 and 6/6 need your acks. Is the patch 1/6 a > prerequisite for others? It does not look like a prerequisite... but it > was put at the beginning of the patchset. Patch 1/6 is required to get boost working, that's all.. Not sure how

Re: [v2 2/5] arm64: kdump: implement machine_crash_shutdown()

2015-08-06 Thread AKASHI Takahiro
Marc, On 08/07/2015 12:51 AM, Marc Zyngier wrote: Hi, On 06/08/15 08:09, AKASHI Takahiro wrote: Marc, Mark Sorry for not revisiting your comment below for a while. Wow. It took me a few minutes to page the context back in. Please don't purge the page from your cache for a while :) On 04

Re: [PATCH 07/13] twl4030_charger: distinguish between USB current and 'AC' current

2015-08-06 Thread Tony Lindgren
* NeilBrown [150806 20:48]: > > Thanks, I did get notified about that by Fengguang's test robot, but > it's still on my list > > I guess making CHARGER_TWL4030 auto-select TWL4030_MADC would not be > acceptable? That would pull in IIO (it didn't use to...). > > If this OK? Looks OK to me

linux-next: manual merge of the audit tree with Linus' tree

2015-08-06 Thread Stephen Rothwell
Hi Paul, Today's linux-next merge of the audit tree got a conflict in: kernel/audit.c between commit: 5985de6754a6 ("audit: code clean up") from Linus' tree and commit: 84cb777e6781 ("audit: use macros for unset inode and device values") from the audit tree. I fixed it up (see below)

Re: [PATCH v4 0/6] cpufreq: use generic cpufreq drivers for Exynos4x12 platform

2015-08-06 Thread Krzysztof Kozlowski
ll to discuss the merge stuff.. >> >> On 07-08-15, 08:53, Kukjin Kim wrote: >>>> Depends on: >>>> - next-20150806 branch of linux-next kernel tree >>>> - "[PATCH V3 00/16] OPP: Add code to support operating-points-v2 bindings" >>>&

Re: [PATCH] Input: do not emit unneeded EV_SYN when suspending

2015-08-06 Thread Benson Leung
On Thu, Aug 6, 2015 at 7:26 PM, Dmitry Torokhov wrote: > Do not emit EV_SYN/SYN_REPORT on suspend if there were no keys that are > still pressed as we are suspending the device. It looks like input_dev_release_keys is used in several other places other than input_dev_suspend (reset, disconnect, f

Re: [PATCH v3] iio: adc: xilinx-xadc: Push interrupts into threaded context

2015-08-06 Thread Shubhrajyoti Datta
On Tue, Aug 4, 2015 at 1:35 PM, Lars-Peter Clausen wrote: > > Well there is no need to use a threaded IRQ. The interrupt handler is quite > small and doesn't take too much time and doesn't have any delays or sleeps > in it either. > > Ok thanks for the explanation. -- To unsubscribe from this list

RE: [PATCH] Input: elants_i2c - wire up regulator support

2015-08-06 Thread ELAN 劉嘉駿
Hi Dmitry, Thanks for your explanation, I understand. Reviewed-by: Scott Liu Best Regards, -- Scott > -Original Message- > From: Dmitry Torokhov [mailto:dmitry.torok...@gmail.com] > Sent: Friday, August 07, 2015 8:25 AM > To: ELAN 劉嘉駿 > Cc: Dmitry Torokhov; linu

Re: [PATCH v4 0/6] cpufreq: use generic cpufreq drivers for Exynos4x12 platform

2015-08-06 Thread Viresh Kumar
53, Kukjin Kim wrote: > > > Depends on: > > > - next-20150806 branch of linux-next kernel tree > > > - "[PATCH V3 00/16] OPP: Add code to support operating-points-v2 bindings" > > > (http://www.spinics.net/lists/arm-kernel/msg435408.html) > > > > &

Re: [PATCH v4 0/6] cpufreq: use generic cpufreq drivers for Exynos4x12 platform

2015-08-06 Thread Viresh Kumar
Cc'ing Rafael again. Guys please don't miss him for any PM related stuff or use get_maintainers .. Cc'ing Arnd/Olof as well to discuss the merge stuff.. On 07-08-15, 08:53, Kukjin Kim wrote: > > Depends on: > > - next-20150806 branch of linux-next kernel tree >

Re: [PATCH 07/13] twl4030_charger: distinguish between USB current and 'AC' current

2015-08-06 Thread NeilBrown
On Thu, 6 Aug 2015 20:11:16 -0700 Tony Lindgren wrote: > * NeilBrown [150729 17:28]: > > --- a/drivers/power/twl4030_charger.c > > +++ b/drivers/power/twl4030_charger.c > > static int twl4030_charger_update_current(struct twl4030_bci *bci) > > { > > int status; > > + int cur; > > uns

Re: [PATCH v4 1/6] cpufreq: make scaling_boost_freqs sysfs attr available when boost is enabled

2015-08-06 Thread Viresh Kumar
Hi, I would suggest you sending such patches as reply to the earlier threads only, instead of a new chain. This will save your time. For example, you will need to resend other patches unnecessarily if I NAK this patch :) On 06-08-15, 15:41, Bartlomiej Zolnierkiewicz wrote: > Add cpufreq_boost_en

[PATCH v2] staging: ion: Add a default struct device for cma heap

2015-08-06 Thread Feng Tang
When trying to use several cma heaps on our platforms, we met a memory issue due to that the several cma_heaps are sharing the same "struct device *". As in current code base, the normal cma heap creating process is, one platform device is created during boot, and it will sequentially create cma h

Fuulong2e support broken since commit 3adeb2566b9 ("MIPS: Loongson: Improve LEFI firmware interface")

2015-08-06 Thread Guenter Roeck
Hi, I have been playing with qemu and its fuloong2e support. Unfortunately, it turned out that mainline support for it is broken. Maybe just the qemu simulation, maybe for real. The breakage was introduced with commit 3adeb2566b9 ("MIPS: Loongson: Improve LEFI firmware interface"). Bisect log and

Re: [4.2-rc1][PATCH] gpio: omap: add missed spin_unlock_irqrestore in omap_gpio_irq_type

2015-08-06 Thread Tony Lindgren
* Linus Walleij [150716 01:38]: > On Wed, Jun 24, 2015 at 4:54 PM, Grygorii Strashko > wrote: > > > From: Grygorii Strashko > > > > Add missed spin_unlock_irqrestore in omap_gpio_irq_type when > > omap_set_gpio_triggering() is failed. > > > > It fixes static checker warning: > > > > dri

RE: [PATCH 1/1] X86: mshyperv.c: Fix a compilation issue.

2015-08-06 Thread KY Srinivasan
> -Original Message- > From: Greg KH [mailto:gre...@linuxfoundation.org] > Sent: Thursday, August 6, 2015 2:11 PM > To: KY Srinivasan > Cc: linux-kernel@vger.kernel.org; de...@linuxdriverproject.org; > vkuzn...@redhat.com; s...@canb.auug.org.au; t...@linutronix.de; > mi...@redhat.com; h.

Re: [PATCH 1/3] zpool: add zpool_has_pool()

2015-08-06 Thread Seth Jennings
On Thu, Aug 06, 2015 at 04:50:23PM -0500, Seth Jennings wrote: > On Wed, Aug 05, 2015 at 03:06:59PM -0700, Andrew Morton wrote: > > On Wed, 5 Aug 2015 18:00:26 -0400 Dan Streetman wrote: > > > > > > > > > > If there's some reason why this can't happen, can we please have a code > > > > comment wh

[PATCH] KVM: x86: Use adjustment in guest cycles when handling MSR_IA32_TSC_ADJUST

2015-08-06 Thread Haozhong Zhang
When kvm_set_msr_common() handles a guest's write to MSR_IA32_TSC_ADJUST, it will calcuate an adjustment based on the data written by guest and then use it to adjust TSC offset by calling a call-back adjust_tsc_offset(). The 3rd parameter of adjust_tsc_offset() indicates whether the adjustment is i

Re: [PATCH] usb: chipidea: imx: properly check for usbmisc

2015-08-06 Thread Peter Chen
On Thu, Aug 06, 2015 at 03:09:54PM +0200, Tomeu Vizoso wrote: > If usbmisc hasn't probed yet, defer the probe. > > It's not enough to check if the platform device for the OF node of the > usbmisc has been registered, but it also needs to have been probed > already before we can call imx_usbmisc_in

Re: [PATCH 1/3] Powerpc: mpc85xx: refactor the PM operations

2015-08-06 Thread Chenhui Zhao
On Fri, Aug 7, 2015 at 2:02 AM, Scott Wood wrote: On Thu, 2015-08-06 at 13:54 +0800, Chenhui Zhao wrote: On Thu, Aug 6, 2015 at 1:46 PM, Scott Wood wrote: > On Thu, 2015-08-06 at 12:20 +0800, Chenhui Zhao wrote: > > On Thu, Aug 6, 2015 at 10:57 AM, Scott Wood > > > > wrote: > > >

Re: [PATCH] cxl: Add alternate MMIO error handling

2015-08-06 Thread Michael Neuling
On Thu, 2015-07-23 at 16:43 +1000, Ian Munsie wrote: > From: Ian Munsie > > userspace programs using cxl currently have to use two strategies for > dealing with MMIO errors simultaneously. They have to check every read > for a return of all Fs in case the adapter has gone away and the kernel >

linux-next: build failure after merge of the wireless-drivers-next tree

2015-08-06 Thread Stephen Rothwell
; ^ drivers/net/wireless/ath/ath9k/debug_sta.c:83:10: error: 'struct ath_atx_tid' has no member named 'sched' tid->sched); ^ Caused by commits 592fa228f213 ("ath9k: remove struct ath_atx_ac") d70d848a75fd ("ath9k: remove the sch

Re: [PATCH 07/13] twl4030_charger: distinguish between USB current and 'AC' current

2015-08-06 Thread Tony Lindgren
* NeilBrown [150729 17:28]: > --- a/drivers/power/twl4030_charger.c > +++ b/drivers/power/twl4030_charger.c > static int twl4030_charger_update_current(struct twl4030_bci *bci) > { > int status; > + int cur; > unsigned reg, cur_reg; > u8 bcictl1, oldreg, fullreg; > bo

Re: [GIT PULL] ASN.1 fixes

2015-08-06 Thread James Morris
On Wed, 5 Aug 2015, David Howells wrote: > Hi James, > > Can you pull these fixes for the ASN.1 compiler and decoder into the > security/next tree and also pass them onto Linus for immediate inclusion? > Pulled to my -next branch, but it's too late really for 4.2, for this class of bugfix. -

[PATCH] powerpc/vdso: Emit GNU & SysV hashes

2015-08-06 Thread Michael Ellerman
Andy Lutomirski says: Some dynamic loaders may be slightly faster if a GNU hash is available. This is unlikely to have any measurable effect on the time it takes to resolve vdso symbols (since there are so few of them). In some contexts, it can be a win for a different reason: if every

[PATCH RFC V9 3/3] perf,tests: Add tests to callgraph and time parse

2015-08-06 Thread kan . liang
From: Kan Liang Add tests in tests/parse-events.c to check call-graph and time option Signed-off-by: Kan Liang --- tools/perf/tests/parse-events.c | 38 ++ 1 file changed, 38 insertions(+) diff --git a/tools/perf/tests/parse-events.c b/tools/perf/tests/pars

[PATCH RFC V9 1/3] perf,tools: move callchain option parse code to util.c

2015-08-06 Thread kan . liang
From: Kan Liang Move callchain option parse related code to util.c Signed-off-by: Kan Liang --- Changes since V8: - Fix the link problems found by perf python test case. Introduce the patch to move callchain option parse related code to util.c tools/perf/util/callchain.c | 89 +---

[PATCH RFC V9 2/3] perf,tools: per-event callgraph support

2015-08-06 Thread kan . liang
From: Kan Liang When multiple events are sampled it may not be needed to collect callgraphs for all of them. The sample sites are usually nearby, and it's enough to collect the callgraphs on a reference event (such as precise cycles or precise instructions). This patchkit adds the ability to turn

[PATCH 1/1] Staging: media: davinci_vpfe: fix over 80 characters coding style issue.

2015-08-06 Thread Junsu Shin
This is a patch to the dm365_ipipe.c that fixes over 80 characters warning detected by checkpatch.pl. Signed-off-by: Junsu Shin --- drivers/staging/media/davinci_vpfe/dm365_ipipe.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/staging/media/davinci_vpfe/dm36

Re: [PATCH] user_ns: use correct check for single-threadedness

2015-08-06 Thread Oleg Nesterov
On 08/05, Eric W. Biederman wrote: > > So I have to ask. I hope you are asking someone else, not me ;) I never understood what exactly we try to restrict and why. > Is it possible to rework these checks such that we > look at the sighand struct and signal sharing handling sharing instead > of the

Re: QEMU fw_cfg DMA interface

2015-08-06 Thread Marc Marí
On Thu, 6 Aug 2015 11:30:43 -0400 "Kevin O'Connor" wrote: > On Thu, Aug 06, 2015 at 02:37:45PM +0200, Marc Marí wrote: > > On Thu, 6 Aug 2015 13:27:16 +0100 > > Stefan Hajnoczi wrote: > > > > > On Thu, Aug 6, 2015 at 12:00 PM, Marc Marí > > > wrote: > > > > When running a Linux guest on top of

Re: [PATCH v8 00/21] Compile-time stack validation

2015-08-06 Thread Josh Poimboeuf
On Thu, Aug 06, 2015 at 12:23:32PM -0500, Josh Poimboeuf wrote: > On Thu, Aug 06, 2015 at 10:07:50AM +0200, Ingo Molnar wrote: > > > > * Josh Poimboeuf wrote: > > > > > This is v8 of the compile-time stack validation patch set, based on the > > > tip/master branch. > > > > > > The frame pointer

Re: [PATCH v8 00/21] Compile-time stack validation

2015-08-06 Thread Josh Poimboeuf
On Thu, Aug 06, 2015 at 10:07:50AM +0200, Ingo Molnar wrote: > > * Josh Poimboeuf wrote: > > > This is v8 of the compile-time stack validation patch set, based on the > > tip/master branch. > > > > The frame pointer macros are still called FRAME and ENDFRAME because I > > don't think we converg

Re: [PATCH v2 4/5] KVM: add KVM_USER_EXIT vcpu ioctl for userspace exit

2015-08-06 Thread Radim Krčmář
2015-08-06 15:52+0200, Paolo Bonzini: > On 06/08/2015 15:44, Radim Krčmář wrote: >> The two obvious extensions are flags to skip kvm_make_request() or >> kvm_vcpu_kick(), both of dubious use. > > Skipping kvm_make_request() would make some sense if you can set > vcpu->run->request_interrupt_window

Re: [PATCH V9 3/3] audit: add audit by children of executable path

2015-08-06 Thread Paul Moore
On Wednesday, August 05, 2015 04:29:38 PM Richard Guy Briggs wrote: > This adds the ability to audit the actions of children of a not-yet-running > process. > > This is a split-out of a heavily modified version of a patch originally > submitted by Eric Paris with some ideas from Peter Moody. > >

Re: [PATCH V9 1/3] audit: clean simple fsnotify implementation

2015-08-06 Thread Paul Moore
On Wednesday, August 05, 2015 04:29:36 PM Richard Guy Briggs wrote: > This is to be used to audit by executable path rules, but audit watches > should be able to share this code eventually. > > At the moment the audit watch code is a lot more complex. That code only > creates one fsnotify watch p

Re: [PATCH V5] audit: use macros for unset inode and device values

2015-08-06 Thread Paul Moore
On Wednesday, August 05, 2015 11:48:20 PM Richard Guy Briggs wrote: > Clean up a number of places were casted magic numbers are used to represent > unset inode and device numbers in preparation for the audit by executable > path patch set. > > Signed-off-by: Richard Guy Briggs > --- > v6: Change

Re: [lkp] [staging] 68905a14e49: kernel BUG at drivers/base/driver.c:153!

2015-08-06 Thread Greg Kroah-Hartman
On Sat, Aug 01, 2015 at 01:12:05PM +0800, kernel test robot wrote: > FYI, we noticed the below changes on > > git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > commit 68905a14e49c97bf49dacd753e40ddd5b254e2ad ("staging: unisys: Add s-Par > visornic ethernet driver") > >

Re: [PATCH v3 5/8] ARM: mediatek: add smp bringup code for MT6580

2015-08-06 Thread Scott Shu
On Wed, 2015-08-05 at 10:44 +0100, Russell King - ARM Linux wrote: > On Tue, Aug 04, 2015 at 09:54:21PM +0800, Scott Shu wrote: > > Add support for cpu enable-method "mediatek,mt6580-smp" for booting > > secondary CPUs on MT6580. > > If you have CPU power domain support, and you power up and power

[PATCH] Input: do not emit unneeded EV_SYN when suspending

2015-08-06 Thread Dmitry Torokhov
Do not emit EV_SYN/SYN_REPORT on suspend if there were no keys that are still pressed as we are suspending the device. Signed-off-by: Dmitry Torokhov --- drivers/input/input.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/drivers/input/input.c b/drivers/input/inp

[PATCH] ARM: brcmstb: select ARCH_DMA_ADDR_T_64BIT for LPAE

2015-08-06 Thread Gregory Fong
Broadcom STB (BRCMSTB) has some 64-bit capable DMA and therefore needs dma_addr_t to be a 64-bit size. One user is the Broadcom SATA3 AHCI controller driver. Signed-off-by: Gregory Fong --- arch/arm/mach-bcm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-bcm/Kconfig b

Re: [PATCH v6 7/9] clk: mediatek: Add subsystem clocks of MT8173

2015-08-06 Thread James Liao
Hi Sascha, On Thu, 2015-08-06 at 12:20 +0200, Sascha Hauer wrote: > On Thu, Aug 06, 2015 at 05:13:21PM +0800, Daniel Kurtz wrote: > > On Thu, Aug 6, 2015 at 5:00 PM, James Liao > > wrote: > > > Hi Sascha, > > > > > > On Thu, 2015-08-06 at 10:53 +0200, Sascha Hauer wrote: > > >> On Thu, Aug 06, 2

[GIT] Sparc

2015-08-06 Thread David Miller
Please pull to get this FPU register corruption bug fix. Thanks! The following changes since commit 4469942bbbe5ebf845e04971d8c74e9b6178f9fa: Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm (2015-08-05 18:50:38 +0300) are available in the git repository at: git://git.k

Re: [PATCH 0/3] zram: Replace pr_* with dev_*

2015-08-06 Thread Sergey Senozhatsky
On (08/07/15 11:03), Sergey Senozhatsky wrote: > [..] > > because dmesg is not an ABI. > > I absolutely agree, this is debatable and controversial. I saw people > grepping dmesg and they treated error messages just like errno codes or > like additional info to attach to errno. Whether we like or n

Re: [PATCH V8 11/25] perf auxtrace: Fix period type 'i' not working

2015-08-06 Thread Arnaldo Carvalho de Melo
Em Fri, Jul 17, 2015 at 07:33:46PM +0300, Adrian Hunter escreveu: > PERF_ITRACE_PERIOD_INSTRUCTIONS is zero so it > got overwritten by the default period type. > Fix by checking if the period type was set > rather than if the value was zero when applying > the default. Applied > Signed-off-by: A

Re: tools/perf: Add empty Build files for architectures lacking them

2015-08-06 Thread Arnaldo Carvalho de Melo
Em Tue, Aug 04, 2015 at 05:10:27PM +0100, Ben Hutchings escreveu: > perf currently fails to build on MIPS as there is no > tools/perf/arch/mips/Build file. Adding an empty file fixes this as > there are no MIPS-specific sources to build. > > It looks like the same is needed for Alpha and PA-RISC,

[PATCH v2] mm/slub: don't wait for high-order page allocation

2015-08-06 Thread Joonsoo Kim
Almost description is copied from commit fb05e7a89f50 ("net: don't wait for order-3 page allocation"). I saw excessive direct memory reclaim/compaction triggered by slub. This causes performance issues and add latency. Slub uses high-order allocation to reduce internal fragmentation and management

Re: [PATCH V8 12/25] perf tools: Fix perf-with-kcore handling of arguments containing spaces

2015-08-06 Thread Arnaldo Carvalho de Melo
Em Fri, Jul 17, 2015 at 07:33:47PM +0300, Adrian Hunter escreveu: > Fix the perf-with-kcore script so that it doesn't > split arguments that contain spaces. Applied > Signed-off-by: Adrian Hunter > --- > tools/perf/perf-with-kcore.sh | 28 ++-- > 1 file changed, 14 inse

[PATCH 22/26] perf auxtrace: Fix period type 'i' not working

2015-08-06 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter PERF_ITRACE_PERIOD_INSTRUCTIONS is zero so it got overwritten by the default period type. Fix by checking if the period type was set rather than if the value was zero when applying the default. Signed-off-by: Adrian Hunter Cc: Jiri Olsa Link: http://lkml.kernel.org/r/1437

Re: [PATCH V8 15/25] perf tools: Validate config term maximum value

2015-08-06 Thread Arnaldo Carvalho de Melo
Em Fri, Jul 17, 2015 at 07:33:50PM +0300, Adrian Hunter escreveu: > Currently the value of a PMU config term is silently > truncated if it is too big. This is an impediment to > validating the value for other criteria later on i.e. > the user provides an invalid value that gets truncated > to a val

Re: [PATCH v2 07/13] xtensa: implement counting and sampling perf events

2015-08-06 Thread Arnaldo Carvalho de Melo
Em Sat, Jul 18, 2015 at 11:30:10AM +0300, Max Filippov escreveu: > Xtensa Performance Monitor Module has up to 8 32 bit wide performance > counters. Each counter may be enabled independently and can count any > single type of hardware performance events. Event counting may be enabled > and disabled

Re: [PATCH V8 16/25] perf tools: Extend the event parser maximum error index

2015-08-06 Thread Arnaldo Carvalho de Melo
Em Fri, Jul 17, 2015 at 07:33:51PM +0300, Adrian Hunter escreveu: > Extend the event parser maximum error index from 10 > to 13. That allows PMU config terms of up to 10 > characters to display un-truncated in the error > message. Applied > Signed-off-by: Adrian Hunter > --- > tools/perf/util

  1   2   3   4   5   6   7   8   9   >