Re: [PATCH -mm v8 5/7] mmu-notifier: add clear_young callback

2015-07-16 Thread Paolo Bonzini
On 15/07/2015 21:16, Andres Lagar-Cavilla wrote: +static int kvm_mmu_notifier_clear_young(struct mmu_notifier *mn, + struct mm_struct *mm, + unsigned long start, + unsigned

Re: [PATCH 1/2] Define find_symbol_in_section_t as function type to simplify the code

2015-07-16 Thread Rusty Russell
Andrew Morton a...@linux-foundation.org writes: On Wed, 15 Jul 2015 07:22:32 +0930 Rusty Russell ru...@rustcorp.com.au wrote: It's shorter, but it's less clear. typedefs on functions are not very useful: 1) They require readers to look in two places to see how to use the function (ie

Re: [PATCH v2] staging: rtl8188eu: core: find and remove code valid only for 5 HGz.

2015-07-16 Thread Sudip Mukherjee
On Thu, Jul 16, 2015 at 06:47:40AM -0400, Sreenath Madasu wrote: Fixed the unused variable warning for the driver. oops. no. You have done it on top of your previous patch. Please combine these two patches and send a single patch which will remove the code related to channel14 and this unused

RE: [V2 6/7] hvsock: introduce Hyper-V VM Sockets feature

2015-07-16 Thread Dexuan Cui
From: David Miller Sent: Thursday, July 16, 2015 12:19 From: Dexuan Cui Date: Tue, 14 Jul 2015 03:00:48 -0700 + pr_debug(hvsock_sk_destruct: called\n); Debug logging just to state that a function is called is not appropriate, we have very sophisticated tracing facilities in the

[PATCH] arm64: dts: mediatek: Add MT8173 MMC dts

2015-07-16 Thread Chaotian Jing
From: Eddie Huang eddie.hu...@mediatek.com Add node mmc0 ~ mmc3 for mt8173.dtsi Add node mmc0, mmc1 for mt8173-evb.dts Signed-off-by: Chaotian Jing chaotian.j...@mediatek.com Signed-off-by: Eddie Huang eddie.hu...@mediatek.com --- Remove clk_null Base on 4.2-rc1, and

[PATCH] zsmalloc: do not take class lock in zs_shrinker_count()

2015-07-16 Thread Sergey Senozhatsky
We can avoid taking class -lock around zs_can_compact() in zs_pages_to_compact(), because the number that we return back is outdated in general case, by design. We have different sources that are able to change class's state right after we return from zs_can_compact() -- ongoing I/O operations,

Re: Applied regmap: Use different lockdep class for each regmap init call to the regmap tree

2015-07-16 Thread Mark Brown
On Thu, Jul 16, 2015 at 01:13:01PM +0100, Mark Brown wrote: The patch regmap: Use different lockdep class for each regmap init call has been applied to the regmap tree at Sorry, this was lurking around in an old branch - re-reverted. signature.asc Description: Digital signature

Re: [PATCH] gpio: pca953x: Fix warning when HW interrupts are rescheduled by the softirq tasklet

2015-07-16 Thread Linus Walleij
On Tue, Jul 7, 2015 at 12:00 PM, Grygorii Strashko grygorii.stras...@ti.com wrote: On 07/07/2015 09:29 AM, Christian Gmeiner wrote: Linus, what is the state of the your last thinking about this topic? Could you try if below change works for you, pls (not tested): diff --git

Re: Regarding patch mm: meminit: make __early_pfn_to_nid SMP-safe and introduce meminit_pfn_in_nid

2015-07-16 Thread Mel Gorman
On Wed, Jul 15, 2015 at 10:45:11PM +, Alex Ng (LIS) wrote: Agreed. Lets hear first if it addresses Alex problem first and if so, I'll apply your feedback and put a changelog on it. There are now at least three follow-on patches that I'm waiting for feedback on. -- Mel Gorman

Re: [PATCH -tip 0/2] futex: Fault/error injection capabilities

2015-07-16 Thread Thomas Gleixner
On Mon, 13 Jul 2015, Davidlohr Bueso wrote: Ingo, any thoughts about this? It's on my review list -- 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

Re: [PATCH] pinctrl: Drop owner assignment from platform_driver

2015-07-16 Thread Linus Walleij
On Fri, Jul 10, 2015 at 8:27 AM, Krzysztof Kozlowski k.kozlow...@samsung.com wrote: platform_driver does not need to set an owner because platform_driver_register() will set it. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com Patch applied. Yours, Linus Walleij -- To unsubscribe

Re: [PATCH nf-next] netfilter: nf_ct_sctp: minimal multihoming support

2015-07-16 Thread Marcelo Ricardo Leitner
On Thu, Jul 16, 2015 at 02:05:12PM +0200, Michal Kubecek wrote: On Wed, Jul 15, 2015 at 05:35:08PM -0300, Marcelo Ricardo Leitner wrote: Hi, On Tue, Jul 14, 2015 at 06:42:25PM +0200, Michal Kubecek wrote: On Tue, Jul 14, 2015 at 03:42:03PM +0200, Florian Westphal wrote: Michal

Re: [PATCH 06/45] clk: nomadik: Remove clk.h and clkdev.h includes

2015-07-16 Thread Linus Walleij
On Sat, Jul 11, 2015 at 1:33 AM, Stephen Boyd sb...@codeaurora.org wrote: Clock provider drivers generally shouldn't include clk.h because it's the consumer API. Remove the include here because this is a provider driver. This driver also includes clkdev.h even though it isn't used, so drop it

Re: [PATCH v2 06/13] irqchip: kill off set_irq_flags usage

2015-07-16 Thread Russell King - ARM Linux
On Sun, Jul 12, 2015 at 06:43:56PM +0200, Thomas Gleixner wrote: The probe function was added in the initial implementation of the driver (2006), so it predates device tree. drivers/net/appletalk/ltpc.c drivers/net/arcnet/com20020-isa.c drivers/net/arcnet/com90io.c

Re: [PATCH] asm-generic: {get,put}_user ptr argument evaluate only 1 time

2015-07-16 Thread Yoshinori Sato
On Thu, 16 Jul 2015 15:40:31 +0900, Geert Uytterhoeven wrote: Hi Sato-san, On Thu, Jul 16, 2015 at 7:15 AM, Yoshinori Sato ys...@users.sourceforge.jp wrote: Current implemantation ptr argument evaluate 2 times. It'll be an unexpected result. Signed-off-by: Yoshinori Sato

Re: [PATCH 0/7] Initial support for user namespace owned mounts

2015-07-16 Thread Lukasz Pawelczyk
On śro, 2015-07-15 at 16:06 -0500, Eric W. Biederman wrote: I am on the fence with Lukasz Pawelczyk's patches. Some parts I liked some parts I had issues with. As I recall one of my issues was that those patches conflicted in detail if not in principle with this appropach. If these

Re: [PATCH 2/2] gpiolib: assign chip owner to dev-driver-owner if not set

2015-07-16 Thread Linus Walleij
On Thu, Jun 25, 2015 at 7:30 PM, Grygorii Strashko grygorii.stras...@ti.com wrote: Assign GPIO chip owner field to chip-dev-driver-owner if it was not configured by GPIO driver. Cc: Johan Hovold jo...@kernel.org Signed-off-by: Grygorii Strashko grygorii.stras...@ti.com Patch applied with

Re: [PATCH v2] gpio/xilinx: Use correct address when setting initial values.

2015-07-16 Thread Linus Walleij
On Wed, Jun 24, 2015 at 9:19 AM, Raphaël Teysseyre rteysse...@gmail.com wrote: xgpio_save_regs() is used in this driver to setup the initial values of the registers in the hardware. The relevant registers at that time are: 0x0 - channel 0 data (32 bits, one for each GPIO on this channel).

[PATCH 15/23] score/time: Migrate to new 'set-state' interface

2015-07-16 Thread Viresh Kumar
Migrate score driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. We weren't doing anything in

[PATCH 17/23] sparc/time: Migrate to new 'set-state' interface

2015-07-16 Thread Viresh Kumar
Migrate sparc drivers to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. We weren't doing anything which switching

[PATCH 20/23] unicore/time: Migrate to new 'set-state' interface

2015-07-16 Thread Viresh Kumar
Migrate unicore driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. We weren't doing anything for PERIODIC or

[PATCH 11/23] nios2/time: Migrate to new 'set-state' interface

2015-07-16 Thread Viresh Kumar
Migrate nios2 driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. Cc: Ley Foon Tan lf...@altera.com Cc:

[PATCH 13/23] powerpc/time: Migrate to new 'set-state' interface

2015-07-16 Thread Viresh Kumar
Migrate powerpc driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. We weren't doing anything in

[PATCH 16/23] sh/localtimer: Migrate to new 'set-state' interface

2015-07-16 Thread Viresh Kumar
Migrate sh driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. We weren't doing anything in the -set_mode()

[PATCH 19/23] um/time: Migrate to new 'set-state' interface

2015-07-16 Thread Viresh Kumar
Migrate um driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. Cc: Jeff Dike jd...@addtoit.com Cc: Richard

[PATCH 21/23] xtensa/time: Migrate to new 'set-state' interface

2015-07-16 Thread Viresh Kumar
Migrate xtensa driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. Cc: Chris Zankel ch...@zankel.net Cc: Max

[PATCH 4/7] x86/vm86: Move vm86 fields out of thread_struct

2015-07-16 Thread Brian Gerst
Allocate a separate structure for the vm86 fields. Signed-off-by: Brian Gerst brge...@gmail.com --- arch/x86/include/asm/processor.h | 12 ++ arch/x86/include/asm/vm86.h | 11 + arch/x86/kernel/process.c| 7 ++ arch/x86/kernel/vm86_32.c| 51

Re: [PATCH 1/2] ASoC: rockchip: Add machine driver for max98090 codec

2015-07-16 Thread Paul Bolle
On do, 2015-07-16 at 12:00 +0100, Mark Brown wrote: You've got platform_device and platform_driver confused I think. I did? You mean that creating a platform_DRIVER triggers that MODALIAS=platform:{...] uevent? Paul Bolle -- To unsubscribe from this list: send the line unsubscribe linux-kernel

[PATCH 3/7] x86/vm86: Move userspace accesses to do_sys_vm86()

2015-07-16 Thread Brian Gerst
Move the userspace accesses down into the common function in preparation for the next set of patches. Signed-off-by: Brian Gerst brge...@gmail.com --- arch/x86/include/asm/processor.h | 2 +- arch/x86/kernel/vm86_32.c| 176 +++ 2 files changed, 89

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

2015-07-16 Thread Linus Walleij
On Sat, Jul 4, 2015 at 12:13 AM, Grant Likely grant.lik...@secretlab.ca wrote: On Tue, Jun 2, 2015 at 2:18 PM, Linus Walleij linus.wall...@linaro.org wrote: On Sat, May 30, 2015 at 10:29 PM, Grant Likely grant.lik...@secretlab.ca wrote: On Mon, Jul 7, 2014 at 6:31 PM, Greg Kroah-Hartman

Re: [PATCH] clocksource: sh_cmt: Remove obsolete sh-cmt-48 platform_device_id entry

2015-07-16 Thread Daniel Lezcano
On 07/14/2015 02:00 PM, Geert Uytterhoeven wrote: Since the removal of the r8a7740 legacy SoC code in commit 44d88c754e57a6d9 (ARM: shmobile: Remove legacy SoC code for R-Mobile A1), all former users of the sh-cmt-48-gen2 platform device name are only supported in generic DT-only ARM

Applied regmap: Use different lockdep class for each regmap init call to the regmap tree

2015-07-16 Thread Mark Brown
The patch regmap: Use different lockdep class for each regmap init call has been applied to the regmap tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

Re: [PATCH v3 2/2] dma: Add Xilinx zynqmp dma engine driver support

2015-07-16 Thread Vinod Koul
On Tue, Jun 16, 2015 at 08:04:43AM +0530, Punnaiah Choudary Kalluri wrote: +/* Register Offsets */ +#define ISR 0x100 +#define IMR 0x104 +#define IER 0x108 +#define IDS 0x10C +#define CTRL0

Re: [PATCH v4 0/8] Support for Open-Channel SSDs

2015-07-16 Thread Christoph Hellwig
Hi Matias, the underlying lighnvm driver (nvme or NULL) shouldn't register a gendisk - the only gendisk you'll need is that for the block device that sits on top of lightnvm. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [PATCH 3/7] fs: Ignore file caps in mounts from other user namespaces

2015-07-16 Thread Seth Forshee
On Wed, Jul 15, 2015 at 06:23:01PM -0700, Andy Lutomirski wrote: So if we have the s_user_ns check in get_file_caps the mnt_may_suid pass isn't strictly necessary, but I still think it is useful as a mitigation to the leaks Eric mentions. It _should_ be impossible for a user to gain access

Re: [PATCH v4 0/8] Support for Open-Channel SSDs

2015-07-16 Thread Matias Bjørling
On 07/16/2015 02:46 PM, Christoph Hellwig wrote: Hi Matias, the underlying lighnvm driver (nvme or NULL) shouldn't register a gendisk - the only gendisk you'll need is that for the block device that sits on top of lightnvm. That could work as well. I'll refactor the nvme/null drivers to

Re: [PATCH v5 00/11] simplify block layer based on immutable biovecs

2015-07-16 Thread Jeff Moyer
Ming Lin m...@kernel.org writes: On Mon, 2015-07-13 at 11:35 -0400, Mike Snitzer wrote: I will do additional review to answer 1 and 2 above. And Jeff Moyer told me he'd test the patchset on one of his testbeds. Hi Jeff, FYI, here is a fix for patch 1. Or you can pull from my tree.

Re: [PATCH v5 0/8] mfd: introduce a driver for LPSS devices on SPT

2015-07-16 Thread Vinod Koul
On Wed, Jul 15, 2015 at 03:15:31PM +0300, Andy Shevchenko wrote: On Mon, 2015-07-06 at 15:22 +0300, Andy Shevchenko wrote: The new coming Intel platforms such as Skylake will contain Sunrisepoint PCH. The driver is based on MFD framework since the main device, i.e. serial bus

RE: [PATCH] Drivers: hv: vmbus: prevent new subchannel creation on device shutdown

2015-07-16 Thread KY Srinivasan
-Original Message- From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] Sent: Tuesday, July 14, 2015 9:03 AM To: Dexuan Cui Cc: de...@linuxdriverproject.org; KY Srinivasan; Haiyang Zhang; linux- ker...@vger.kernel.org Subject: Re: [PATCH] Drivers: hv: vmbus: prevent new subchannel

Re: next-20150716 build: 4 failures 88 warnings (next-20150716)

2015-07-16 Thread Mark Brown
On Thu, Jul 16, 2015 at 11:05:11AM +0100, Build bot for Mark Brown wrote: Today's linux-next fails to build an arm64 allnoconfig due to mm: make GUP handle pfn mapping unless FOLL_GET is requested which causes: arm64-allnoconfig ../mm/gup.c:51:4: error: implicit declaration of function

Re: [PATCH nf-next] netfilter: nf_ct_sctp: minimal multihoming support

2015-07-16 Thread Marcelo Ricardo Leitner
On Tue, Jul 14, 2015 at 02:23:11PM +0200, Michal Kubecek wrote: Currently nf_conntrack_proto_sctp module handles only packets between primary addresses used to establish the connection. Any packets between secondary addresses are classified as invalid so that usual firewall configurations drop

Re: [PATCH] gpiolib: remove unneeded assignation

2015-07-16 Thread Linus Walleij
On Tue, Jul 7, 2015 at 10:22 PM, Laurent Navet laurent.na...@gmail.com wrote: ret is assigned value from of_property_read_string_index but is overwritten before being used so remove it. Also fix coverity CID 1309759 Signed-off-by: Laurent Navet laurent.na...@gmail.com Patch applied with

Re: [PATCH 1/2] gpiolib: irqchip: prevent driver unloading if gpio is used as irq only

2015-07-16 Thread Linus Walleij
On Thu, Jun 25, 2015 at 7:30 PM, Grygorii Strashko grygorii.stras...@ti.com wrote: Now nothing prevents GPIO driver from being unloaded if its gpios were requested as GPIO IRQs only (without calling gpio_request()). Hence, add calls of try_module_get()/module_put() into

[PATCH 1/6] staging: rtl8188eu: remove unused function

2015-07-16 Thread Sudip Mukherjee
The inline function rtw_set_ips_deny() was only defined but was never used. Signed-off-by: Sudip Mukherjee su...@vectorindia.org --- drivers/staging/rtl8188eu/core/rtw_pwrctrl.c| 6 -- drivers/staging/rtl8188eu/include/rtw_pwrctrl.h | 1 - 2 files changed, 7 deletions(-) diff --git

Re: [PATCH 1/2] ASoC: rockchip: Add machine driver for max98090 codec

2015-07-16 Thread zhengxing
On 2015年07月16日 19:00, Mark Brown wrote: On Thu, Jul 16, 2015 at 10:05:44AM +0200, Paul Bolle wrote: +static struct platform_driver snd_rk_mc_driver = { + .probe = snd_rk_mc_probe, + .remove = snd_rk_mc_remove, + .driver = { + .name = DRV_NAME,

[PATCH 2/6] staging: rtl8188eu: remove redundant NULL check

2015-07-16 Thread Sudip Mukherjee
The check for pstat and pdvobjpriv is not required here as we have already checked for them before. Signed-off-by: Sudip Mukherjee su...@vectorindia.org --- drivers/staging/rtl8188eu/core/rtw_mlme_ext.c | 2 +- drivers/staging/rtl8188eu/os_dep/usb_intf.c | 2 +- 2 files changed, 2

[PATCH 12/23] openrisc/time: Migrate to new 'set-state' interface

2015-07-16 Thread Viresh Kumar
Migrate openrisc driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. We weren't doing anything in the

[PATCH 14/23] s390/time: Migrate to new 'set-state' interface

2015-07-16 Thread Viresh Kumar
Migrate s390 driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. We weren't doing anything in the -set_mode()

[RFC PATCH 2/2] thermal: devfreq_cooling: Add generic devfreq cooling device implementaion

2015-07-16 Thread Chanwoo Choi
This patch add the generi devfreq cooling device for generic thermal framework. The devfreq devices are used ad cooling device to reduce the overheating temperature. This patch is based on drivers/thermal/cpu_cooling.c. The devfreq cooling device can change the ragne of the frequency table of

[RFC PATCH 1/2] PM: devfreq: Add the prototype of update_devfreq() to export

2015-07-16 Thread Chanwoo Choi
This patch add simply the protoptye of update_devfreq() to devfreq.h header file to export it. The some device driver (e.g., thermal cooling device) may use the update_devfreq() to update the range of supported frequency of devfreq device. Cc: MyungJoo Ham myungjoo@samsung.com Cc: Kyungmin

[RFC PATCH 0/2] thermal: Add generic devfreq cooling device

2015-07-16 Thread Chanwoo Choi
This patchset introduce the generic devfreq cooling device for generic thermal framework. The devfreq devices are used ad cooling device to reduce the overheating temperature. This patch is based on drivers/thermal/cpu_cooling.c. The devfreq cooling device can change the ragne of the frequency

Re: [PATCH] jhash: Deinline jhash, jhash2 and __jhash_nwords

2015-07-16 Thread Denys Vlasenko
On 07/16/2015 12:41 PM, Thomas Graf wrote: On 07/16/15 at 12:02pm, Denys Vlasenko wrote: +/* jhash - hash an arbitrary key + * @k: sequence of bytes as key + * @length: the length of the key + * @initval: the previous hash, or an arbitray value + * + * The generic version, hashes an

Re: [PATCH] dmaengine: xgene-dma: Fix the resource map to handle overlapping

2015-07-16 Thread Vinod Koul
On Tue, Jul 07, 2015 at 03:34:25PM +0530, Rameshwar Prasad Sahu wrote: There is an overlap in dma ring cmd csr region due to sharing of ethernet ring cmd csr region. This patch fix the resource overlapping by mapping the entire dma ring cmd csr region. Applied thanks -- ~Vinod -- To

Re: [PATCH 5/5] PCI: Add host drivers for Cavium ThunderX processors.

2015-07-16 Thread Lorenzo Pieralisi
Hi David, On Wed, Jul 15, 2015 at 05:54:45PM +0100, David Daney wrote: From: David Daney david.da...@cavium.com -ENOCOMMITLOG Signed-off-by: David Daney david.da...@cavium.com --- drivers/pci/host/Kconfig| 12 + drivers/pci/host/Makefile | 2 +

Re: [alsa-devel] [PATCH 2/2] V4 regmap: Apply optional delay in multi_reg_write/register_patch

2015-07-16 Thread Takashi Iwai
On Tue, 14 Jul 2015 16:45:52 +0200, Nariman Poushin wrote: We treat a delay in a sequence the same way we treat a page change as they are logically similar in that you can coalesce all write before a delay (in the same way you can coalesce all writes before a page change is needed)

Re: [PATCH 1/2] irqchip: gic: enable SKIP_SET_WAKE and MASK_ON_SUSPEND

2015-07-16 Thread Sudeep Holla
On 16/07/15 11:15, Marc Zyngier wrote: Hi Sudeep, On 15/07/15 15:38, Sudeep Holla wrote: The GIC controller doesn't provides any facility to configure the wakeup sources. For the same reason, GIC chip implementation can't provide irq_set_wake functionality, but that results in the irqchip

RE: [PATCH] hwmon: coretemp: use list instead of fixed size array for temp data

2015-07-16 Thread Odzioba, Lukasz
On Wednesday, July 15, 2015 11:08 PM Jean Delvare wrote: I see the benefit of removing the arbitrary limit, but why use a list instead of a dynamically allocated array? This is turning a O(1) algorithm into a O(n) algorithm. I know n isn't too large in this case but I still consider it bad

Re: [PATCH 6/7] selinux: Ignore security labels on user namespace mounts

2015-07-16 Thread Stephen Smalley
On 07/15/2015 03:46 PM, Seth Forshee wrote: Unprivileged users should not be able to supply security labels in filesystems, nor should they be able to supply security contexts in unprivileged mounts. For any mount where s_user_ns is not init_user_ns, force the use of SECURITY_FS_USE_NONE

Re: next-20150716 build: 4 failures 88 warnings (next-20150716)

2015-07-16 Thread Catalin Marinas
On Thu, Jul 16, 2015 at 02:41:52PM +0100, Mark Brown wrote: On Thu, Jul 16, 2015 at 11:05:11AM +0100, Build bot for Mark Brown wrote: Today's linux-next fails to build an arm64 allnoconfig due to mm: make GUP handle pfn mapping unless FOLL_GET is requested which causes:

[PATCH 18/23] tile/time: Migrate to new 'set-state' interface

2015-07-16 Thread Viresh Kumar
Migrate tile driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. Cc: Chris Metcalf cmetc...@ezchip.com

[PATCH 23/23] kernel: broadcast-hrtimer: Migrate to new 'set-state' interface

2015-07-16 Thread Viresh Kumar
Migrate broadcast-hrtimer driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. Cc: Thomas Gleixner t...@linutronix.de Signed-off-by: Viresh Kumar viresh.ku...@linaro.org --- kernel/time/tick-broadcast-hrtimer.c | 49

[PATCH 22/23] drivers/hv: Migrate to new 'set-state' interface

2015-07-16 Thread Viresh Kumar
Migrate hv driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. Cc: K. Y. Srinivasan k...@microsoft.com Cc:

[PATCH 4/6] staging: rtl8188eu: remove unneeded variable

2015-07-16 Thread Sudip Mukherjee
The default value of status was _FAIL, it was only changed if kzalloc succeeds and the check for status is immediately following kzalloc. We can have the failure code in the else part as the failure code will be executed only if kzalloc fails. Signed-off-by: Sudip Mukherjee su...@vectorindia.org

[PATCH 05/23] c6x/timer64: Migrate to new 'set-state' interface

2015-07-16 Thread Viresh Kumar
Migrate c6x driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. We weren't doing anything in

Re: [PATCH tip/master 1/3] kprobes: Support blacklist functions in module

2015-07-16 Thread Rusty Russell
Masami Hiramatsu masami.hiramatsu...@hitachi.com writes: To blacklist the functions in a module (e.g. user-defined kprobe handler and the functions invoked from it), expand blacklist support for modules. With this change, users can use NOKPROBE_SYMBOL() macro in their own modules. Looks

[PATCH] blk-mq: set default timeout as 30 seconds

2015-07-16 Thread Ming Lei
It is reasonable to set default timeout of request as 30 seconds instead of 3 ticks, which may be 300 seconds if HZ is 100, for example, some arm64 based systems may choose 100 HZ. Signed-off-by: Ming Lei ming@canonical.com --- block/blk-mq.c | 2 +- 1 file changed, 1 insertion(+), 1

Re: [PATCH 2/2] gpiolib: assign chip owner to dev-driver-owner if not set

2015-07-16 Thread Grygorii Strashko
On 07/16/2015 02:25 PM, Linus Walleij wrote: On Thu, Jul 16, 2015 at 1:22 PM, Linus Walleij linus.wall...@linaro.org wrote: On Thu, Jun 25, 2015 at 7:30 PM, Grygorii Strashko grygorii.stras...@ti.com wrote: Assign GPIO chip owner field to chip-dev-driver-owner if it was not configured by GPIO

Re: [PATCH nf-next] netfilter: nf_ct_sctp: minimal multihoming support

2015-07-16 Thread Michal Kubecek
On Wed, Jul 15, 2015 at 05:35:08PM -0300, Marcelo Ricardo Leitner wrote: Hi, On Tue, Jul 14, 2015 at 06:42:25PM +0200, Michal Kubecek wrote: On Tue, Jul 14, 2015 at 03:42:03PM +0200, Florian Westphal wrote: Michal Kubecek mkube...@suse.cz wrote: + case SCTP_CID_HEARTBEAT: +

Re: [PATCH v4 3/3] USB / PM: Allow USB devices to remain runtime-suspended when sleeping

2015-07-16 Thread Tomeu Vizoso
On 16 July 2015 at 02:42, Rafael J. Wysocki r...@rjwysocki.net wrote: On Wednesday, July 15, 2015 02:40:08 PM Tomeu Vizoso wrote: Have dev_pm_ops.prepare return 1 for USB devices and ports so that USB devices can remain runtime-suspended when the system goes to a sleep state, if their wakeup

Re: [PATCH] DocBook: Add initial documentation for IIO

2015-07-16 Thread Jonathan Cameron
On 16 July 2015 11:24:17 BST, Jonathan Corbet cor...@lwn.net wrote: On Wed, 8 Jul 2015 15:04:48 +0300 Daniel Baluta daniel.bal...@intel.com wrote: This is intended to help developers faster find their way inside the Industrial I/O core and reduce time spent on IIO drivers development.

Re: [PATCH v3 1/3] IRQ/Gic-V3: Add mbigen driver to support mbigen interrupt controller

2015-07-16 Thread majun (F)
在 2015/7/16 17:30, Marc Zyngier 写道: On 16/07/15 10:22, majun (F) wrote: 在 2015/7/16 16:52, Marc Zyngier 写道: On 16/07/15 09:35, majun (F) wrote: I'm a bit puzzled. For interrupts connect to mbigen , the interrupt trigger type, device id and event id value are encoded in mbigen chip

Re: [PATCH] pinctrl: single: ensure pcs irq will not be forced threaded

2015-07-16 Thread Linus Walleij
On Mon, Jul 6, 2015 at 5:13 PM, Grygorii Strashko grygorii.stras...@ti.com wrote: The PSC IRQ is requested using request_irq() API and as result it can be forced to be threaded IRQ in RT-Kernel if PCS_QUIRK_HAS_SHARED_IRQ is enabled for pinctrl domain. As result, following 'possible irq lock

Re: [PATCH] jhash: Deinline jhash, jhash2 and __jhash_nwords

2015-07-16 Thread Daniel Borkmann
On 07/16/2015 02:15 PM, Denys Vlasenko wrote: On 07/16/2015 12:41 PM, Thomas Graf wrote: On 07/16/15 at 12:02pm, Denys Vlasenko wrote: +/* jhash - hash an arbitrary key + * @k: sequence of bytes as key + * @length: the length of the key + * @initval: the previous hash, or an arbitray value + *

[PATCH v2] jhash: Deinline jhash, jhash2 and __jhash_nwords

2015-07-16 Thread Denys Vlasenko
This patch deinlines jhash, jhash2 and __jhash_nwords. It also removes rhashtable_jhash2(key, length, seed) because it was merely calling jhash2(key, length, seed). With this .config: http://busybox.net/~vda/kernel_config, after deinlining these functions have sizes and callsite counts as

Re: [PATCH] gpio: pca953x: fix nested irqs rescheduling

2015-07-16 Thread Linus Walleij
On Tue, Jul 7, 2015 at 4:34 PM, Grygorii Strashko grygorii.stras...@ti.com wrote: pca953x interrupt controller functionality is implemented using nested threaded IRQs which require parent_irq to be configured properly otherwise below warning can be seen if IRQ core will try re-schedule nested

Re: [PATCH 1/2] V4 regmap: Use reg_sequence for multi_reg_write / register_patch

2015-07-16 Thread Mark Brown
On Tue, Jul 14, 2015 at 03:45:51PM +0100, Nariman Poushin wrote: Please submit patches in the format covered in SubmittingPatches, version information goes inside the []. Add support for writing sequences of registers / patches with specified delays (in microseconds). Logically separates the

Re: [PATCH] i2c-parport: Add VCT-jig adapter

2015-07-16 Thread Jean Delvare
On Mon, 13 Jul 2015 19:31:12 +0200, Ondrej Zary wrote: Add support for VCT-jig parallel port I2C adapter to i2c-parport. The adapter schematic can be found here (in the RAR file): http://remont-aud.net/shop/22/desc/vct-jig-komplekt-dlja-samostojatelnoj-sborki Signed-off-by: Ondrej Zary

[PATCH 1/4] staging: dgap: fix error path

2015-07-16 Thread Sudip Mukherjee
The code in dgap_stop() is almost a duplicate of the code that will be executed on pci_unregister_driver(). So the error code was stopping and unregistering everything twice. Signed-off-by: Sudip Mukherjee su...@vectorindia.org --- we had a discussion about the init and error path few months

[PATCH 2/4] staging: dgap: rearrange function

2015-07-16 Thread Sudip Mukherjee
Relocate the function dgap_stop() so that in a later patch we can remove the duplicate codes between dgap_stop() and dgap_remove_one(). Signed-off-by: Sudip Mukherjee su...@vectorindia.org --- drivers/staging/dgap/dgap.c | 30 +++--- 1 file changed, 15 insertions(+), 15

Re: [RFC PATCH] pinctrl-single: Use of pinctrl-single for external device over I2C

2015-07-16 Thread Linus Walleij
On Thu, Jul 2, 2015 at 6:53 PM, Vaibhav Hiremath vaibhav.hirem...@linaro.org wrote: In some usecases, the external device (in my case it PMIC over I2C) does support pin in multiple configuration, we may need to control/configure them during boot or runtime. What is missing from this patch

Re: [Patch V2] ioatdma: Ignore IOAT devices under hotplug-capable PCI host bridge

2015-07-16 Thread Vinod Koul
On Wed, Jul 08, 2015 at 03:41:42PM +0800, Jiang Liu wrote: The dmaengine core assumes that async DMA devices will only be removed when they not used anymore, or it assumes dma_async_device_unregister() will only be called by dma driver exit routines. But this assumption is not true for the

Re: [PATCH 27/45] clk: ux500: Remove clk.h and clkdev.h includes

2015-07-16 Thread Linus Walleij
On Sat, Jul 11, 2015 at 1:33 AM, Stephen Boyd sb...@codeaurora.org wrote: Clock provider drivers generally shouldn't include clk.h because it's the consumer API. Remove the include here because this is a provider driver. Also remove clkdev.h in files that aren't using it. Cc: Linus Walleij

Re: [RFC 2/3] arm64: refactor save_stack_trace()

2015-07-16 Thread Jungseok Lee
On Jul 16, 2015, at 10:08 AM, AKASHI Takahiro wrote: Hi, AKASHI On 07/16/2015 09:27 AM, AKASHI Takahiro wrote: On 07/16/2015 01:13 AM, Steven Rostedt wrote: On Wed, 15 Jul 2015 10:55:36 -0400 Steven Rostedt rost...@goodmis.org wrote: I'll take a look at it and try to clean up the code.

Re: [PATCH 28/45] clk: versatile: Remove clk.h and clkdev.h includes

2015-07-16 Thread Linus Walleij
On Sat, Jul 11, 2015 at 1:33 AM, Stephen Boyd sb...@codeaurora.org wrote: Clock provider drivers generally shouldn't include clk.h because it's the consumer API. Remove the include here because this is a provider driver. Also remove clkdev.h in files that aren't using it and replace them with

Re: [PATCH 11/45] clk: u300: Remove clk.h include

2015-07-16 Thread Linus Walleij
On Sat, Jul 11, 2015 at 1:33 AM, Stephen Boyd sb...@codeaurora.org wrote: Clock provider drivers generally shouldn't include clk.h because it's the consumer API. Remove the include here because this is a provider driver. Also add in slab.h because without clkdev.h compilation of this file

Re: [PATCH v2] clocksource: sh_cmt: Only perform clocksource suspend/resume if enabled

2015-07-16 Thread Daniel Lezcano
Hi Geert, do you mean to test if the patch [1] solves your problem. -- Daniel [1] https://lkml.org/lkml/2015/1/16/81 -- http://www.linaro.org/ Linaro.org │ Open source software for ARM SoCs Follow Linaro: http://www.facebook.com/pages/Linaro Facebook | http://twitter.com/#!/linaroorg

[PATCH 08/23] m68k/coldfire/pit: Migrate to new 'set-state' interface

2015-07-16 Thread Viresh Kumar
Migrate m68k driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. We weren't doing anything in

Re: [PATCH 1/2] ASoC: rockchip: Add machine driver for max98090 codec

2015-07-16 Thread zhengxing
Hi Paul, Thank you for your reply. On 2015年07月16日 16:05, Paul Bolle wrote: On wo, 2015-07-15 at 11:15 +0800, Xing Zheng wrote: +static const struct of_device_id rockchip_max98090_of_match[] = { + { .compatible = rockchip,rockchip-audio-max98090, }, + {}, +}; + +static struct

[PATCH 10/23] mn10300/cevt-mn10300: Migrate to new 'set-state' interface

2015-07-16 Thread Viresh Kumar
Migrate mn10300 driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. We weren't doing anything in the

[PATCH 01/23] alpha/time: Migrate to new 'set-state' interface

2015-07-16 Thread Viresh Kumar
Migrate alpha driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. rtc clockevent device wasn't doing anything

[PATCH 02/23] ARC/time: Migrate to new 'set-state' interface

2015-07-16 Thread Viresh Kumar
Migrate arc driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. Cc: Vineet Gupta vgu...@synopsys.com

[PATCH 03/23] AVR32/time: Migrate to new 'set-state' interface

2015-07-16 Thread Viresh Kumar
Migrate avr32 driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. We want to call cpu_idle_poll_ctrl() in

[PATCH 06/23] cris/time: Migrate to new 'set-state' interface

2015-07-16 Thread Viresh Kumar
Migrate cris driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. Cc: Mikael Starvik star...@axis.com Cc:

[PATCH 07/23] hexagon/time: Migrate to new 'set-state' interface

2015-07-16 Thread Viresh Kumar
Migrate hexagon driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. We weren't doing anything in the

[PATCH 04/23] blackfin/time-ts: Migrate to new 'set-state' interface

2015-07-16 Thread Viresh Kumar
Migrate blackfin driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. We weren't doing anything in

[PATCH 09/23] microblaze/timer: Migrate to new 'set-state' interface

2015-07-16 Thread Viresh Kumar
Migrate microblaze driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. We weren't doing anything in

Re: [PATCH 1/2] ASoC: rockchip: Add machine driver for max98090 codec

2015-07-16 Thread Paul Bolle
Hi, On do, 2015-07-16 at 19:20 +0800, zhengxing wrote: Did I miss something? Or is there another way this alias is useful here? Yes, I didn't care about this but I think it maybe correct. What is correct: my comment or the use of MODALIAS() in this patch? Thanks, Paul Bolle -- To

Re: [PATCH 2/2] dmaengine: xdmac: Add scatter gathered memset support

2015-07-16 Thread Vinod Koul
On Mon, Jul 06, 2015 at 12:19:24PM +0200, Maxime Ripard wrote: The XDMAC also supports memset operations over discontiguous areas. Add the necessary logic to support this. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- drivers/dma/at_xdmac.c | 166

Re: [PATCH] gpio:Fix build warning about void to integer cast in the function mmio_74xx_gpio_probe

2015-07-16 Thread Linus Walleij
On Sat, Jul 4, 2015 at 10:34 PM, Nicholas Krause xerofo...@gmail.com wrote: This fixes the build warning , warning: cast from pointer to integer of different size when building this file on a x86 allmodconfig configuration. In order for me to fix this build warning I changed the cast in the

Re: [PATCH] pinctrl: single: dra7: remove PCS_QUIRK_SHARED_IRQ

2015-07-16 Thread Linus Walleij
On Mon, Jul 6, 2015 at 5:11 PM, Grygorii Strashko grygorii.stras...@ti.com wrote: On DRA7 there is one pinctrl domain (dra7_pmx_core) and PRCM wake-up IRQ is not shared, so remove quirk. Cc: Nishanth Menon n...@ti.com Cc: Tony Lindgren t...@atomide.com Fixes: 31320beaa3d3 ('pinctrl: single:

<    9   10   11   12   13   14   15   16   17   18   >