Re: [PATCH 1/3] clk: mux: Add regmap support for simple mux

2015-05-29 Thread Matthias Brugger
2015-05-29 8:40 GMT+02:00 Sascha Hauer s.ha...@pengutronix.de: On Thu, May 28, 2015 at 08:41:46PM +0200, Matthias Brugger wrote: Some devices like SoCs from Mediatek need to use the clock muxes through a regmap interface. This patch adds regmap support for simple the simple multiplexer clock

Re: [RFC v3 42/45] nfs: Add richacl support

2015-05-29 Thread Trond Myklebust
Adding linux-api... On Fri, May 29, 2015 at 11:00 AM, Andreas Grünbacher andreas.gruenbac...@gmail.com wrote: 2015-05-29 15:15 GMT+02:00 Trond Myklebust trond.mykleb...@primarydata.com: [reply reordered] So having revisited the reasons why I chose the system.nfs4_acl interface when we did

Re: [PATCH 02/19] x86, fpu: Wrap get_xsave_addr() to make it safer

2015-05-29 Thread Dave Hansen
On 05/28/2015 06:05 PM, Andy Lutomirski wrote: I would propose that we take the opposite approach and just ban eagerfpu=off when MPX is enabled. We could then take the next step and default eagerfpu=on for everyone and, if nothing breaks, then just delete lazy mode entirely. No objections

Re: [PATCH v10 11/12] x86, mm, pat: Refactor !pat_enabled handling

2015-05-29 Thread Toshi Kani
On Fri, 2015-05-29 at 17:13 +0200, Borislav Petkov wrote: On Fri, May 29, 2015 at 08:27:08AM -0600, Toshi Kani wrote: This simply preserves the original error check in the code. This error check makes sure that all CPUs have the PAT feature supported when PAT is enabled. This error can

Re: [PATCH v3 1/9] misc: sram: fix enabled clock leak on error path

2015-05-29 Thread Philipp Zabel
Hi Vladimir, Am Freitag, den 29.05.2015, 14:31 +0300 schrieb Vladimir Zapolskiy: [...] res-start is of type phys_addr_t (well, resource_size_t) already. block-start/size and cur_start/size are just offsets added to it. I agree. I wonder if it wouldn't be more appropriate to use

Re: [PATCH 4/6] edac, mce_amd_inj: Add capability to trigger apic interrupts

2015-05-29 Thread Borislav Petkov
On Wed, May 27, 2015 at 02:03:36PM -0500, Aravind Gopalakrishnan wrote: With this extension to the flags attribute, deferred error interrupts and threshold interrupts can be triggered to test the apic interrupt handler functionality for these type of errors Signed-off-by: Aravind

Re: [PATCH] ALSA: aoa: convert bus code to use dev_groups

2015-05-29 Thread Takashi Iwai
At Fri, 29 May 2015 17:49:06 +0200, Quentin Lambert wrote: On 28/05/2015 17:01, Takashi Iwai wrote: Also, it'd be better to move ATTRIBUTE_GROUPS(soundbus_dev) into soundbus/sysfs.c, and make it this global instead of soundbus_dev_attrs[]. Ok, I need to find a nice way to do that

perf probe: segfault in 'perf probe /bin/bash array_*'

2015-05-29 Thread Arnaldo Carvalho de Melo
[root@ssdandy ~]# perf probe /bin/bash array_* Added new event: Segmentation fault (core dumped) [root@ssdandy ~]# This is with my perf/core branch. - Arnaldo -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More

Re: [PATCH 02/19] x86, fpu: Wrap get_xsave_addr() to make it safer

2015-05-29 Thread Borislav Petkov
On Thu, May 28, 2015 at 06:05:33PM -0700, Andy Lutomirski wrote: I would propose that we take the opposite approach and just ban eagerfpu=off when MPX is enabled. We could then take the next step and default eagerfpu=on for everyone and, if nothing breaks, then just delete lazy mode entirely.

RE: [PATCH v2 2/2] Drivers: hv: vmbus: use cpu_hotplug_enable/disable

2015-05-29 Thread KY Srinivasan
-Original Message- From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] Sent: Thursday, May 21, 2015 9:22 AM To: de...@linuxdriverproject.org Cc: KY Srinivasan; Haiyang Zhang; linux-kernel@vger.kernel.org; Dexuan Cui; Ingo Molnar; Paul E. McKenney; Rafael J. Wysocki; Peter Zijlstra;

Re: linux-next: Tree for May 29 (drivers/power/twl4030_charger)

2015-05-29 Thread Randy Dunlap
On 05/29/15 05:18, Stephen Rothwell wrote: Hi all, Changes since 20150528: on i386: when CONFIG_USB_SUPPORT is not enabled: ../drivers/power/twl4030_charger.c: In function 'twl4030_bci_probe': ../drivers/power/twl4030_charger.c:648:4: error: implicit declaration of function

Re: [PATCH v8 0/3] x86/earlyprintk: setup serial earlyprintk as early as possible

2015-05-29 Thread Borislav Petkov
On Thu, May 28, 2015 at 02:01:12PM +0600, Alexander Kuleshov wrote: 2015-05-27 18:51 GMT+06:00 Borislav Petkov b...@suse.de: Now, have you tested this on real hardware? Because your 0/n message said qemu but I don't think that's sufficient. If we're going to enable early_printk this early,

[PATCH] lockdep: Add missing space in error message

2015-05-29 Thread Borislav Petkov
From: Borislav Petkov b...@suse.de ... to fix this: WARNING: lockdep init error! lock-(console_sem).lock was acquiredbefore lockdep_init Signed-off-by: Borislav Petkov b...@suse.de --- kernel/locking/lockdep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH] x86/xen: use schedule_timeout_interruptible()

2015-05-29 Thread Boris Ostrovsky
to improve readability. Patch was compile tested with x86_64_defconfig + CONFIG_HYPERVISOR_GUEST=y,CONFIG_PARAVIRT=y,CONFIG_XEN=y: Patch is against 4.1-rc5 (localversion-next is -next-20150529) Signed-off-by: Nicholas Mc Guire hof...@osadl.org Reviewed-by: Boris Ostrovsky boris.ostrov...@oracle.com

Re: [PATCH v4 01/11] block: make generic_make_request handle arbitrarily sized bios

2015-05-29 Thread Mike Snitzer
On Fri, May 29 2015 at 3:05P -0400, Ming Lin m...@kernel.org wrote: On Wed, May 27, 2015 at 5:36 PM, Alasdair G Kergon a...@redhat.com wrote: On Wed, May 27, 2015 at 04:42:44PM -0700, Ming Lin wrote: Here are fio results of XFS on a DM stripped target with 2 SSDs + 1 HDD. Does it make

Re: [PATCH] zpool: add EXPORT_SYMBOL for functions

2015-05-29 Thread Christoph Hellwig
On Fri, May 29, 2015 at 11:09:32AM -0400, Dan Streetman wrote: Export the zpool functions that should be exported. Why? -- 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

Re: [PATCH v3 5/6] Watchdog: introduce ARM SBSA watchdog driver

2015-05-29 Thread Timur Tabi
On 05/29/2015 09:32 AM, Fu Wei wrote: It is a SPI, every CPU can get it, But maybe I miss something, but please let me know if other CPU can not get the interrupt. There's only one watchdog device, so there's only one interrupt. I don't know which CPU will get the interrupt, but the watchdog

Re: [RFC] Add --show-total-period for perf annotate

2015-05-29 Thread Andi Kleen
Martin Liška mli...@suse.cz writes: Following patch sums samples that belong to a line in assembly language. What do you think about it, would it be acceptable solution? Basic patch looks good to me now. Thanks. The only ugly thing is the global variable, perhaps that could be cleaned up.

Re: [PATCH] pinctrl: add pinctrl_register_reason() to return proper error code

2015-05-29 Thread Sören Brinkmann
On Fri, 2015-05-29 at 08:30PM +0900, Masahiro Yamada wrote: The pinctrl_register() just returns NULL on error, so the callers can not know the exact reason of the failure. Some of the pinctrl drivers return -EINVAL, some -ENODEV, and some -ENOMEM on error of pinctrl_register() , although the

randconfig build error with next-20150529, in drivers/mmc/host/omap_hsmmc.c

2015-05-29 Thread Jim Davis
Building with the attached random configuration file, warning: (USB_OTG_FSM FSL_USB2_OTG USB_MV_OTG) selects USB_OTG which has unmet direct dependencies (USB_SUPPORT USB PM) drivers/mmc/host/omap_hsmmc.c: In function ‘omap_hsmmc_configure_wake_irq’: drivers/mmc/host/omap_hsmmc.c:1663:8:

Re: [PATCH v2 0/6] GPIO support for BRCMSTB

2015-05-29 Thread Florian Fainelli
On 28/05/15 19:14, Gregory Fong wrote: This patchset adds support for the GPIO controller (UPG GIO) used on Broadcom's various BRCMSTB SoCs (BCM7XXX and others). It uses the basic-mmio-gpio interface to try to reduce duplication of the base logic. For all existing hardware, this block

Re: [PATCH] usb: gadget: nokia: Add mass storage driver to g_nokia

2015-05-29 Thread Felipe Balbi
On Thu, May 28, 2015 at 11:40:07PM +0200, Pali Rohár wrote: On Thursday 28 May 2015 18:34:31 Felipe Balbi wrote: On Thu, May 28, 2015 at 04:59:18PM +0200, Pali Rohár wrote: On Thursday 28 May 2015 16:51:07 Krzysztof Opasiak wrote: On 05/28/2015 04:31 PM, Pali Rohár wrote: On Thursday

[PATCH v2 2/4] sparc: time: Replace update_persistent_clock() with CONFIG_RTC_SYSTOHC

2015-05-29 Thread Xunlei Pang
From: Xunlei Pang pang.xun...@linaro.org On Sparc systems, update_persistent_clock() uses RTC drivers to do the job, it makes more sense to hand it over to CONFIG_RTC_SYSTOHC. In the long run, all the update_persistent_clock() should migrate to proper class RTC drivers if any and use

Re: [PATCH trivial] of/overlay: Grammar s/an negative/a negative/

2015-05-29 Thread Rob Herring
On Thu, May 21, 2015 at 7:10 AM, Geert Uytterhoeven geert+rene...@glider.be wrote: Signed-off-by: Geert Uytterhoeven geert+rene...@glider.be Applied, thanks. Rob --- drivers/of/overlay.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/of/overlay.c

Re: [RFC v3 42/45] nfs: Add richacl support

2015-05-29 Thread Andreas Grünbacher
2015-05-29 15:15 GMT+02:00 Trond Myklebust trond.mykleb...@primarydata.com: [reply reordered] So having revisited the reasons why I chose the system.nfs4_acl interface when we did NFSv4 ACLs, I'm not sure we should implement system.richacl for the NFS client at all. Your assertion that when

Re: [PATCH] of/fdt: Make fdt blob input parameters of unflatten functions const

2015-05-29 Thread Rob Herring
On Wed, May 13, 2015 at 9:33 AM, Geert Uytterhoeven geert+rene...@glider.be wrote: Operations to unflatten fdt blobs never modify the input blobs, hence make them const. Now we no longer need to cast arbitrary const data to void * when calling of_fdt_unflatten_tree(). Signed-off-by: Geert

Re: [PATCH -rfc 4/4] locking/rtmutex: Support spin on owner (osq)

2015-05-29 Thread Davidlohr Bueso
Btw, I just realized I had sent a stale patch where the osq was not being initialized, fixed below. Thanks! From: Davidlohr Bueso d...@stgolabs.net Subject: [PATCH v2] locking/rtmutex: Support spin on owner (osq) Similar to what we have in other locks, particularly regular mutexes, the idea is

[PATCH] sound/oss: use schedule_timeout_interruptible()

2015-05-29 Thread Nicholas Mc Guire
with x86_64_defconfig Patch is against 4.1-rc5 (localversion-next is -next-20150529) Signed-off-by: Nicholas Mc Guire hof...@osadl.org --- sound/oss/msnd_pinnacle.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sound/oss/msnd_pinnacle.c b/sound/oss/msnd_pinnacle.c index

Re: runtime check for omap-aes bus access permission (was: Re: 3.13-rc3 (commit 7ce93f3) breaks Nokia N900 DT boot)

2015-05-29 Thread Tony Lindgren
* Matthijs van Duin matthijsvand...@gmail.com [150528 18:37]: On 29 May 2015 at 02:58, Matthijs van Duin matthijsvand...@gmail.com wrote: It is only guaranteed to happen immediately (before the next instruction is executed) if the error occurs before the posting-point of the write. However,

Re: [PATCHv5 1/2] ARM: socfpga: support suspend to ram

2015-05-29 Thread atull
On Fri, 29 May 2015, Dinh Nguyen wrote: On 5/28/15 4:19 PM, Alan Tull wrote: Add code that requests that the sdr controller go into self-refresh mode. This code is run from ocram. Suspend-to-RAM and EDAC support are mutually exclusive on SOCFPGA. If the EDAC is enabled, it will

Re: [PATCH 1/3] clk: mux: Add regmap support for simple mux

2015-05-29 Thread Matthias Brugger
2015-05-29 8:57 GMT+02:00 Joachim Eastwood manab...@gmail.com: Hi Matthias, On 28 May 2015 at 20:41, Matthias Brugger matthias@gmail.com wrote: Some devices like SoCs from Mediatek need to use the clock muxes through a regmap interface. This patch adds regmap support for simple the

[PATCH v3 2/6] phy: Add Marvell USB 2.0 OTG 28nm PHY

2015-05-29 Thread Rob Herring
Add driver for USB 28nm PHY found in Marvell PXA1928 SOC. Signed-off-by: Rob Herring r...@kernel.org Cc: Kishon Vijay Abraham I kis...@ti.com --- drivers/phy/Kconfig | 10 ++ drivers/phy/Makefile| 1 + drivers/phy/phy-pxa-28nm-usb2.c | 355

[PATCH 1/3] Drivers: hv: vmbus: Use the vp_index map even for channels bound to CPU 0

2015-05-29 Thread K. Y. Srinivasan
Map target_cpu to target_vcpu using the mapping table. Signed-off-by: K. Y. Srinivasan k...@microsoft.com --- drivers/hv/channel_mgmt.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/hv/channel_mgmt.c b/drivers/hv/channel_mgmt.c index 1f1417d..c3eba37 100644

[PATCH 0/3] Drivers: hv: vmbus: Make VMBUS driver NUMA aware

2015-05-29 Thread K. Y. Srinivasan
Implement CPU affinity for channels based on NUMA topology. Also, allocate all channel specific memory from the appropriate NUMA node. K. Y. Srinivasan (3): Drivers: hv: vmbus: Use the vp_index map even for channels bound to CPU 0 Drivers: hv: vmbus: Implement NUMA aware CPU affinity for

[Patch V1 2/3] x86, mce: Add infrastructure required to support LMCE

2015-05-29 Thread Ashok Raj
Initialization and handling for LMCE - boot time option to disable LMCE for that boot instance - Check for capability via IA32_MCG_CAP - provide ability to enable/disable LMCE on demand. See http://www.intel.com/sdm Volume 3 System Programming Guide, Chapter 15 for more information on MSR's and

Re: [PATCH] staging: me_daq: use schedule_timeout_interruptible()

2015-05-29 Thread Nicholas Mc Guire
to an available helper only - so only an API consolidation to improve readability. Patch was compile tested with x86_64_defconfig + CONFIG_STAGING=y, CONFIG_COMEDI=y, CONFIG_COMEDI_PCI_DRIVERS=y CONFIG_COMEDI_ME_DAQ=m Patch is against 4.1-rc5 (localversion-next is -next-20150529) Minor niggle: you

[PATCH 3/3] Drivers: hv: vmbus: Allocate ring buffer memory in NUMA aware fashion

2015-05-29 Thread K. Y. Srinivasan
Signed-off-by: K. Y. Srinivasan k...@microsoft.com --- drivers/hv/channel.c | 14 -- 1 files changed, 12 insertions(+), 2 deletions(-) diff --git a/drivers/hv/channel.c b/drivers/hv/channel.c index 7a1c2db..603ce97 100644 --- a/drivers/hv/channel.c +++ b/drivers/hv/channel.c @@

[PATCH 2/3] Drivers: hv: vmbus: Implement NUMA aware CPU affinity for channels

2015-05-29 Thread K. Y. Srinivasan
Channels/sub-channels can be affinitized to VCPUs in the guest. Implement this affinity in a way that is NUMA aware. The current protocol distributed the primary channels uniformly across all available CPUs. The new protocol is NUMA aware: primary channels are distributed across the available NUMA

Re: [PATCH 02/19] x86, fpu: Wrap get_xsave_addr() to make it safer

2015-05-29 Thread Dave Hansen
On 05/28/2015 01:41 AM, Ingo Molnar wrote: + union fpregs_state *xstate; + + if (!current-thread.fpu.fpstate_active) + return NULL; + /* + * fpu__save() takes the CPU's xstate registers + * and saves them off to the 'fpu memory buffer. + */ +

Re: [RFC PATCH v4 15/29] bpf tools: Add bpf.c/h for common bpf operations

2015-05-29 Thread Namhyung Kim
On Wed, May 27, 2015 at 05:19:50AM +, Wang Nan wrote: This patch introduces bpf.c and bpf.h, which hold common functions issuing bpf syscall. The goal of these two files is to hide syscall completly from user. Note that bpf.c and bpf.h only deal with kernel interface. Things like

Re: [PATCH v3 5/6] Watchdog: introduce ARM SBSA watchdog driver

2015-05-29 Thread Guenter Roeck
On 05/29/2015 02:11 AM, Fu Wei wrote: [ ... ] + + status = sbsa_gwdt_cf_read(SBSA_GWDT_WCS, wdd); + if (status SBSA_GWDT_WCS_WS1) { + dev_warn(dev, System reset by WDT(WCS: %x, WCV: %llx)\n, +status, sbsa_gwdt_get_wcv(wdd)); Does this

Re: Uses of Linux backports in the industry

2015-05-29 Thread Richard Weinberger
On Fri, May 29, 2015 at 4:53 PM, Enrico Weigelt, metux IT consult weig...@melag.de wrote: Am 29.05.2015 um 04:54 schrieb Luis R. Rodriguez: Actually, I really wonder why folks are sticking to ancient kernels on newer hardware. Enterprise distribution kernels. Or special kernels like

Re: [PATCH trivial] of: Grammar s/property exist/property exists/

2015-05-29 Thread Rob Herring
On Mon, May 4, 2015 at 12:42 PM, Geert Uytterhoeven geert+rene...@glider.be wrote: Signed-off-by: Geert Uytterhoeven geert+rene...@glider.be Applied, thanks. Rob --- include/linux/of.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/of.h

[PATCH] zpool: add zpool_has_pool()

2015-05-29 Thread Dan Streetman
Add zpool_has_pool() function, indicating if the specified type of zpool is available (i.e. zsmalloc or zbud). This allows checking if a pool is available, without actually trying to allocate it, similar to crypto_has_alg(). Signed-off-by: Dan Streetman ddstr...@ieee.org ---

Re: [RFC] Moving unseen/inactive MAINTAINER M: names and email addresses to CREDITS

2015-05-29 Thread Laura Abbott
On 05/28/2015 12:59 PM, Joe Perches wrote: On Wed, 2015-05-27 at 14:06 -0700, Andrew Morton wrote: On Wed, 27 May 2015 14:01:44 -0700 Joe Perches j...@perches.com wrote: There are about 950 unique M: names in MAINTAINERS. About 200 of those names haven't signed or authored a single commit in

Re: [PATCH 5/6] edac, mce_amd_inj: Add README file

2015-05-29 Thread Borislav Petkov
On Wed, May 27, 2015 at 02:03:37PM -0500, Aravind Gopalakrishnan wrote: Provides information about each file and the usages. Signed-off-by: Aravind Gopalakrishnan aravind.gopalakrish...@amd.com --- drivers/edac/mce_amd_inj.c | 68 +- 1 file

Re: [RFC v3 42/45] nfs: Add richacl support

2015-05-29 Thread Andreas Grünbacher
2015-05-29 17:24 GMT+02:00 Trond Myklebust trond.mykleb...@primarydata.com: It seems unreasonable to me to expect applications other than special file system maintenance tools to cater to such file system differences; there are just too many file systems out there for that to work. Instead, it

Re: [PATCH] perf build: Do not fail on missing Build file

2015-05-29 Thread Arnaldo Carvalho de Melo
Em Fri, May 29, 2015 at 05:42:58PM +0200, Jiri Olsa escreveu: Allow nesting into directories without Build file. Currently we force include of the Build file, which fails the build when the Build file is missing. We already support empty *-in.o' objects if there's nothing in the directory

[PATCH v2 3/3] clk: mediatek: Use regmap clk-mux for mt8135

2015-05-29 Thread Matthias Brugger
The pericfg controller is used by various device drivers, so that it is implemented via a regmap. In the actual clk implementation for mt8135, some clk-mux use the traditional register approach which acceses the register via iomem. This patch changes the use from iomem to the needed regmap.

[PATCH v2 2/3] clk: mediatek: Add support for clk-mux using regmap

2015-05-29 Thread Matthias Brugger
This patches adds support for the mediatek clocks to be able to register and use a clk-mux wich relies on regmap. Signed-off-by: Matthias Brugger matthias@gmail.com --- drivers/clk/mediatek/clk-mtk.c | 37 + drivers/clk/mediatek/clk-mtk.h | 26

[PATCH v2 1/3] clk: mux: Add regmap support for simple mux

2015-05-29 Thread Matthias Brugger
Some devices like SoCs from Mediatek need to use the clock muxes through a regmap interface. This patch adds regmap support for the simple multiplexer clock code. Signed-off-by: Matthias Brugger matthias@gmail.com --- drivers/clk/clk-mux.c| 134

[PATCH v2 0/3] clk: Add regmap support for clk mulitplexer

2015-05-29 Thread Matthias Brugger
This patch set adds regmap support for the simple clock multiplexer. Regmap use, apart from a pointer to the regmap struct needs an offset value to know where in the regmap it has to read/write. We add both fields to struct clk_mux. The driver will distinguish between a clock which is based on

Re: [RFC] Moving unseen/inactive MAINTAINER M: names and email addresses to CREDITS

2015-05-29 Thread Joe Perches
On Fri, 2015-05-29 at 08:38 -0700, Laura Abbott wrote: On 05/28/2015 12:59 PM, Joe Perches wrote: Here is the list two ways, alphabetic by name and by section By Name: Riley Andrews riandr...@android.com ANDROID DRIVERS I just saw patches from Riley this morning for the

[PATCH v3 6/6] usb: chipidea: add work-around for Marvell HSIC PHY startup

2015-05-29 Thread Rob Herring
The Marvell 28nm HSIC PHY requires the port to be forced to HS mode after the port power is applied. This is done using the test mode in the PORTSC register. As HSIC is always HS, this work-around should be safe to do with all HSIC PHYs and has been tested on i.MX6S. Signed-off-by: Rob Herring

[PATCH v3 5/6] usb: chipidea: allow multiple instances to use default ci_default_pdata

2015-05-29 Thread Rob Herring
Currently, ci_default_pdata is common to all instances of the driver and gets modified by the core driver code. This is bad if there are multiple instances of the device with different settings such as the phy type. Fix this by making a copy of the default platform_data. Signed-off-by: Rob

[PATCH v3 0/6] Marvell PXA1928 USB support

2015-05-29 Thread Rob Herring
This series adds USB PHYs and EHCI host drivers for the Marvell PXA1928 SOC. The OTG block is based on ChipIdea and works with the chipidea,usb2 compatible driver as is just by adding the PHY driver. Yay! After more testing it turns out the EHCI host is also based on ChipIdea too. So this

[PATCH] PM / Wakeirq: Fix typo in prototype for dev_pm_set_dedicated_wake_irq

2015-05-29 Thread Tony Lindgren
Looks like I only built test the dev_pm_set_wake_irq and not the dev_pm_set_dedicated_wake_irq case on x86. Turns out there's a typo for the dev_pm_set_dedicated_wake_irq prototype that causes a build error if CONFIG_COMPILE_TEST and CONFIG_MMC_OMAP_HS are selected. Cc: Stephen Rothwell

Re: [PATCH v10 12/12] drivers/block/pmem: Map NVDIMM with ioremap_wt()

2015-05-29 Thread Dan Williams
On Fri, May 29, 2015 at 2:11 AM, Borislav Petkov b...@alien8.de wrote: On Wed, May 27, 2015 at 09:19:04AM -0600, Toshi Kani wrote: The pmem driver maps NVDIMM with ioremap_nocache() as we cannot write back the contents of the CPU caches in case of a crash. This patch changes to use

Re: [PATCH] Doc: libata: Fix spelling typo found in libata.xml

2015-05-29 Thread Tejun Heo
On Fri, May 29, 2015 at 11:11:51PM +0900, Masanari Iida wrote: This patch fix a spelling typo found in libata.xml. It is because libata.xml is generated from comments in source, I have to fix it in libata-core.c Signed-off-by: Masanari Iida standby2...@gmail.com Applied to libata/for-4.2.

Re: [PATCH RFC] s390/sclp: pass timeout as HZ independent value

2015-05-29 Thread Nicholas Mc Guire
On Fri, 29 May 2015, Heiko Carstens wrote: On Fri, May 29, 2015 at 04:16:46PM +0200, Nicholas Mc Guire wrote: On Fri, 29 May 2015, Michael Holzheu wrote: On Fri, 29 May 2015 13:49:36 +0200 Nicholas Mc Guire der.h...@hofr.at wrote: On Fri, 29 May 2015, Heiko Carstens wrote:

[PATCH v2 1/4] NTP: rtc: Add CONFIG_RTC_SYSTOHC_DEVICE for NTP synchronization

2015-05-29 Thread Xunlei Pang
From: Xunlei Pang pang.xun...@linaro.org Currently, CONFIG_RTC_SYSTOHC uses CONFIG_RTC_HCTOSYS_DEVICE which is originally used by CONFIG_RTC_HCTOSYS, but this rtc device has some limiations, for example, it must be battery-backed, be able to work with irq off and through system suspension, etc.

[PATCH v2 4/4] cris: time: Cleanup of persistent clock stuff

2015-05-29 Thread Xunlei Pang
From: Xunlei Pang pang.xun...@linaro.org - Remove update_persistent_clock(), as it does nothing now. - Remove read_persistent_clock(), let it fall back to the weak version. Signed-off-by: Xunlei Pang pang.xun...@linaro.org --- arch/cris/Kconfig | 1 - arch/cris/kernel/time.c | 25

Re: [PATCH v3] ARM: dts: mt8173: support arm64 cpuidle-dt

2015-05-29 Thread Lorenzo Pieralisi
On Fri, May 29, 2015 at 08:01:46AM +0100, Howard Chen wrote: This patch adds an idle-states node to describe the mt8173 idle states and also adds references to the idle-states node in all CPU nodes. Signed-off-by: Howard Chen howard.c...@linaro.org --- You should have added a list of

[PATCH 0/2] spi: atmel: add support to FIFOs and the internal chip-select

2015-05-29 Thread Cyrille Pitchen
This series of patches add support to features introduced by the Atmel sama5d2x SoC. Cyrille Pitchen (2): spi: atmel: add support for the internal chip-select of the spi controller spi: atmel: add support to FIFOs drivers/spi/spi-atmel.c | 276

[PATCH 2/2] spi: atmel: add support to FIFOs

2015-05-29 Thread Cyrille Pitchen
To enable the FIFO feature a atmel,fifo-size attribute with a strictly positive value must be added into the node of the device-tree describing the spi controller. When FIFOs are enabled, the RX one is forced to operate in SINGLE data mode because this driver configures the spi controller as a

Re: [PATCH] of: Move OF flags to be visible even when !CONFIG_OF

2015-05-29 Thread Rob Herring
On Sun, Apr 26, 2015 at 7:45 AM, Wolfram Sang w...@the-dreams.de wrote: On Fri, Apr 24, 2015 at 12:41:56PM +0300, Pantelis Antoniou wrote: We need those to be visible even when compiling with CONFIG_OF disabled, since even the empty of_node_*_flag() method use the flag. Signed-off-by:

Re: [PATCH v10 11/12] x86, mm, pat: Refactor !pat_enabled handling

2015-05-29 Thread Borislav Petkov
On Fri, May 29, 2015 at 08:27:08AM -0600, Toshi Kani wrote: This simply preserves the original error check in the code. This error check makes sure that all CPUs have the PAT feature supported when PAT is enabled. This error can only happen when heterogeneous CPUs are installed/emulated on

Re: [PATCH] perf tools: introduce arm64 support unwind test.

2015-05-29 Thread Arnaldo Carvalho de Melo
Em Fri, May 29, 2015 at 04:40:24PM +0200, Jiri Olsa escreveu: On Fri, May 29, 2015 at 10:32:55AM -0300, Arnaldo Carvalho de Melo wrote: Em Fri, May 29, 2015 at 11:21:19AM +0200, Jiri Olsa escreveu: On Thu, May 28, 2015 at 10:43:14AM -0300, Arnaldo Carvalho de Melo wrote: Em Thu, May 28,

Re: [PATCH v3 1/4] ozwpan: Use proper check to prevent heap overflow

2015-05-29 Thread Jason A. Donenfeld
On Fri, May 29, 2015 at 2:36 PM, Frans Klaver franskla...@gmail.com wrote: I would say that it is because part of the expression has been placed inside parentheses: a - b + 1 == a - (b - 1) Guess it makes the decision logic slightly more readable. Yes, exactly this. It's so that the

Re: linux-next: build failure after merge of the usb-gadget tree

2015-05-29 Thread Felipe Balbi
On Fri, May 29, 2015 at 06:32:13PM +1000, Stephen Rothwell wrote: Hi Felipe, After merging the usb-gadget tree, today's linux-next build (x86_64 allmodconfig) failed like this: In file included from include/linux/module.h:17:0, from drivers/usb/gadget/legacy/nokia.c:19:

Re: [PATCH v3 1/4] ozwpan: Use proper check to prevent heap overflow

2015-05-29 Thread Jason A. Donenfeld
On Fri, May 29, 2015 at 2:41 PM, Dan Carpenter dan.carpen...@oracle.com wrote: Acked-by: Dan Carpenter dan.carpen...@oracle.com Acked for the rest of the set too? -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More

Re: [RFC 3/3] memcg: get rid of mm_struct::owner

2015-05-29 Thread Michal Hocko
On Fri 29-05-15 11:23:28, Tejun Heo wrote: Hello, On Fri, May 29, 2015 at 04:57:39PM +0200, Michal Hocko wrote: [...] OK so you creat a task A (leader) which clones several tasks Pn with CLONE_VM without CLONE_THREAD. Moving A around would control memcg membership while Pn could be moved

Re: [trivial PATCH] tps6507x.txt: Remove executable permission

2015-05-29 Thread Rob Herring
On Thu, Apr 16, 2015 at 5:43 PM, Joe Perches j...@perches.com wrote: Documention text files shouldn't be executable. Signed-off-by: Joe Perches j...@perches.com Applied, thanks. Rob --- Documentation/devicetree/bindings/mfd/tps6507x.txt | 0 1 file changed, 0 insertions(+), 0

Re: [PATCH v2] perf tools: Make Ctrl-C stop processing on TUI

2015-05-29 Thread Arnaldo Carvalho de Melo
Em Fri, May 29, 2015 at 10:24:37AM -0300, Arnaldo Carvalho de Melo escreveu: Em Fri, May 29, 2015 at 09:53:44PM +0900, Namhyung Kim escreveu: It was inconvenient that perf cannot be quit with SIGINT during processing samples on TUI especially for large data files. This was because the

[PATCH 1/2] clk: keystone: add support for post divider register for main pll

2015-05-29 Thread Murali Karicheri
Main PLL controller has post divider bits in a separate register in pll controller. Use the value from this register instead of fixed divider when available. Signed-off-by: Murali Karicheri m-kariche...@ti.com --- .../devicetree/bindings/clock/keystone-pll.txt | 8

[PATCH 2/2] ARM: dts: keystone: fix dt bindings to use post div register for mainpll

2015-05-29 Thread Murali Karicheri
All of the keystone devices have a separate register to hold post divider value for main pll clock. Currently the fixed-postdiv value used for k2hk/l/e SoCs works by sheer luck as u-boot happens to use a value of 2 for this. Now that we have fixed this in the pll clock driver change the dt

Re: [PATCH] zpool: add EXPORT_SYMBOL for functions

2015-05-29 Thread Dan Streetman
On Fri, May 29, 2015 at 12:30 PM, Christoph Hellwig h...@infradead.org wrote: On Fri, May 29, 2015 at 11:36:05AM -0400, Dan Streetman wrote: because they are available for public use, per zpool.h? If, e.g., zram ever started using zpool, it would need them exported, wouldn't it? If you want

Re: [PATCH] staging: me_daq: use schedule_timeout_interruptible()

2015-05-29 Thread Ian Abbott
consolidation to improve readability. Patch was compile tested with x86_64_defconfig + CONFIG_STAGING=y, CONFIG_COMEDI=y, CONFIG_COMEDI_PCI_DRIVERS=y CONFIG_COMEDI_ME_DAQ=m Patch is against 4.1-rc5 (localversion-next is -next-20150529) Minor niggle: you don't really need to say what version the patch

[Patch V1 0/3] x86 Local Machine Check Exception (LMCE)

2015-05-29 Thread Ashok Raj
Historically machine checks on Intel X86 processors have been broadcast to all logical processors in the system. Upcoming CPUs will support an opt-in mechanism to request some machine checks delivered to a single logical processor experiencing the fault. For more details see Vol3, Chapter 15,

[Patch V1 3/3] x86, mce: Handling LMCE events

2015-05-29 Thread Ashok Raj
This patch has handling changes to do_machine_check() to process MCE signaled as local MCE. Typically only recoverable errors (SRAR) type error will be Signaled as LMCE. But architecture does not restrict to only those errors. When errors are signaled as LMCE, there is no need for the MCE handler

[Patch V1 1/3] x86, mce: Add LMCE definitions.

2015-05-29 Thread Ashok Raj
Add required definitions to support Local Machine Check Exceptions. See http://www.intel.com/sdm Volume 3, System Programming Guide, chapter 15 for more information on MSR's and documentation on Local MCE. Signed-off-by: Ashok Raj ashok@intel.com --- arch/x86/include/asm/mce.h|

Re: [RFC PATCH] percpu system call: fast userspace percpu critical sections

2015-05-29 Thread Christoph Lameter
There are some interesting things one could do with a similar system at the kernel level. If we had a table of IP ranges in the kernel that specify critical sections with the restart points defined then the kernel could consult that when preempting kernel threads and set the IP to the restart

[PATCH] staging: panel: use schedule_timeout_interruptible()

2015-05-29 Thread Nicholas Mc Guire
, CONFIG_PANEL=m Signed-off-by: Nicholas Mc Guire hof...@osadl.org --- Patch is against 4.1-rc5 (localversion-next is -next-20150529) not really clear what the intent of (ms * HZ + 999) / 1000 was - this is HZ dependent and does not really make sense - the comment states sleeps that many milliseconds

Re: [PATCH 2/2] staging: dgnc: switch timeout to signed type

2015-05-29 Thread Nicholas Mc Guire
On Fri, 29 May 2015, Dan Carpenter wrote: On Fri, May 29, 2015 at 06:41:28PM +0200, Nicholas Mc Guire wrote: The schedule_timeout*() helpers take the timeout as signed long, as ch_close_delay in struct channel_t was not used for other purposes its type was switched to signed long and the

RE: [PATCH 3/7] net: dsa: ar8xxx: add regmap support

2015-05-29 Thread Mathieu Olivari
Alternatively, we could have something similar to what happens for the phy in the wireless subsystems. Wireless PHYs are not registered as net_device but they can still be listed, queried or configured through netlink. Just thinking out loud here. Thanks, Mathieu -Original Message- From:

Re: [3.19.y-ckt stable] Linux 3.19.8-ckt1

2015-05-29 Thread Kamal Mostafa
diff --git a/Documentation/devicetree/bindings/dma/fsl-mxs-dma.txt b/Documentation/devicetree/bindings/dma/fsl-mxs-dma.txt index a4873e5..e30e184 100644 --- a/Documentation/devicetree/bindings/dma/fsl-mxs-dma.txt +++ b/Documentation/devicetree/bindings/dma/fsl-mxs-dma.txt @@ -38,7 +38,7 @@

[PATCH 10/16] ARM: at91/dt: at91sam9rlek: use stdout-path

2015-05-29 Thread Alexandre Belloni
Use stdout-path to specify the console and remove the console argument from the kernel command line. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/at91sam9rlek.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCH 11/16] ARM: at91/dt: at91sam9x5ek: use stdout-path

2015-05-29 Thread Alexandre Belloni
Use stdout-path to specify the console and remove the console argument from the kernel command line. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/at91sam9x5ek.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCH 08/16] ARM: at91/dt: at91sam9m10g45ek use stdout-path

2015-05-29 Thread Alexandre Belloni
Use stdout-path to specify the console and remove the console argument from the kernel command line. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/at91sam9m10g45ek.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCH 13/16] ARM: at91/dt: sama5d3 xplained: use stdout-path

2015-05-29 Thread Alexandre Belloni
Use stdout-path to specify the console and remove the bootargs. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/at91-sama5d3_xplained.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/at91-sama5d3_xplained.dts

Re: Uses of Linux backports in the industry

2015-05-29 Thread Luis R. Rodriguez
On Fri, May 29, 2015 at 10:36 AM, Theodore Ts'o ty...@mit.edu wrote: On Fri, May 29, 2015 at 05:01:00PM +0200, Richard Weinberger wrote: On Fri, May 29, 2015 at 4:53 PM, Enrico Weigelt, metux IT consult weig...@melag.de wrote: Am 29.05.2015 um 04:54 schrieb Luis R. Rodriguez: Just to clarify

Re: [PATCH v3 5/6] Watchdog: introduce ARM SBSA watchdog driver

2015-05-29 Thread Fu Wei
Hi Timur On 29 May 2015 at 23:46, Timur Tabi ti...@codeaurora.org wrote: On 05/29/2015 09:32 AM, Fu Wei wrote: It is a SPI, every CPU can get it, But maybe I miss something, but please let me know if other CPU can not get the interrupt. There's only one watchdog device, so there's only

[PATCH 2/2] f2fs: fix a deadlock for summary page lock vs. sentry_lock

2015-05-29 Thread Jaegeuk Kim
In f2fs_gc: In f2fs_replace_block: - lock_page(sum_page) - check_valid_map()- mutex_lock(sentry_lock) - mutex_lock(sentry_lock) - change_curseg() - lock_page(sum_page) This patch fixes the deadlock condition.

[PATCH 1/2] f2fs crypto: clean up error handling in f2fs_fname_setup_filename

2015-05-29 Thread Jaegeuk Kim
Sync with: ext4 crypto: clean up error handling in ext4_fname_setup_filename Signed-off-by: Jaegeuk Kim jaeg...@kernel.org --- fs/f2fs/crypto_fname.c | 24 ++-- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/fs/f2fs/crypto_fname.c b/fs/f2fs/crypto_fname.c

Re: runtime check for omap-aes bus access permission (was: Re: 3.13-rc3 (commit 7ce93f3) breaks Nokia N900 DT boot)

2015-05-29 Thread Tony Lindgren
* Tony Lindgren t...@atomide.com [150529 08:52]: * Matthijs van Duin matthijsvand...@gmail.com [150528 18:37]: On 29 May 2015 at 02:58, Matthijs van Duin matthijsvand...@gmail.com wrote: It is only guaranteed to happen immediately (before the next instruction is executed) if the error

Re: [PATCH v10 12/12] drivers/block/pmem: Map NVDIMM with ioremap_wt()

2015-05-29 Thread Dan Williams
On Fri, May 29, 2015 at 8:03 AM, Toshi Kani toshi.k...@hp.com wrote: On Fri, 2015-05-29 at 07:43 -0700, Dan Williams wrote: On Fri, May 29, 2015 at 2:11 AM, Borislav Petkov b...@alien8.de wrote: On Wed, May 27, 2015 at 09:19:04AM -0600, Toshi Kani wrote: The pmem driver maps NVDIMM with

Re: [GIT PULL 00/14] perf/core improvements and fixes

2015-05-29 Thread Ingo Molnar
* Arnaldo Carvalho de Melo a...@kernel.org wrote: Hi Ingo, Please consider applying, - Arnaldo The following changes since commit f1942b96b4b44c1ab0e0b82fef93ba7e1fada7af: Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into

Re: [PATCH 3/6] edac, mce_amd_inj: Modify flags attrigute to use string arguments

2015-05-29 Thread Aravind Gopalakrishnan
On 5/29/2015 8:49 AM, Borislav Petkov wrote: On Wed, May 27, 2015 at 02:03:35PM -0500, Aravind Gopalakrishnan wrote: +#define MAX_FLAG_OPT_SIZE 10 Why 10? No specific reason. Just an arbitrary max value that we won't hit right now or in the future. This should be 2 and increased when

[PATCH v10 2/4] PCI: X-Gene: Add the APM X-Gene v1 PCIe MSI/MSIX termination driver

2015-05-29 Thread Duc Dang
APM X-Gene v1 SoC supports its own implementation of MSI, which is not compliant to GIC V2M specification for MSI Termination. There is single MSI block in X-Gene v1 SOC which serves all 5 PCIe ports. This MSI block supports 2048 MSI termination ports coalesced into 16 physical HW IRQ lines and

[PATCH v10 3/4] arm64: dts: Add the device tree entry for the APM X-Gene PCIe MSI node

2015-05-29 Thread Duc Dang
There is single MSI block in X-Gene v1 SOC which serves all 5 PCIe ports. Signed-off-by: Duc Dang dhd...@apm.com Signed-off-by: Tanmay Inamdar tinam...@apm.com Reviewed-by: Marc Zyngier marc.zyng...@arm.com --- arch/arm64/boot/dts/apm/apm-storm.dtsi | 27 +++ 1 file

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