[PATCH 5/5] x86/xen/time: Migrate to new 'set-state' interface

2015-07-16 Thread Viresh Kumar
Migrate xen 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. Callbacks aren't implemented for modes where

[PATCH 3/5] x86/lguest/timer: Migrate to new 'set-state' interface

2015-07-16 Thread Viresh Kumar
Migrate lguest 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 while switching

Re: [PATCH 4/7] clocksource: cadence_ttc: Remove clk-provider.h include

2015-07-16 Thread Daniel Lezcano
On 07/11/2015 01:03 AM, Stephen Boyd wrote: This file doesn't use the clk provider APIs. Remove the include. Cc: Michal Simek michal.si...@xilinx.com Cc: Daniel Lezcano daniel.lezc...@linaro.org Signed-off-by: Stephen Boyd sb...@codeaurora.org --- Please ack if you want this to go through

Re: [PATCH 2/3] nmi: x86: convert to generic nmi handler

2015-07-16 Thread Thomas Gleixner
On Wed, 15 Jul 2015, Russell King wrote: Convert x86 to use the generic nmi handler code which can be shared between architectures. Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk Reviewed-and-tested-by: Thomas Gleixner t...@linutronix.de -- To unsubscribe from this list: send the

Re: [PATCH 1/3] nmi: create generic NMI backtrace implementation

2015-07-16 Thread Thomas Gleixner
On Wed, 15 Jul 2015, Russell King wrote: x86s NMI backtrace implementation (for arch_trigger_all_cpu_backtrace()) is fairly generic in nature - the only architecture specific bits are the act of raising the NMI to other CPUs, and reporting the status of the NMI handler. These are fairly

[PATCH v5 1/7] powerpc/powernv: Data structure and macros definition

2015-07-16 Thread Madhavan Srinivasan
Create new header file nest-pmu.h to add the data structures and macros needed for the nest pmu support. Cc: Michael Ellerman m...@ellerman.id.au Cc: Benjamin Herrenschmidt b...@kernel.crashing.org Cc: Paul Mackerras pau...@samba.org Cc: Anton Blanchard an...@samba.org Cc: Sukadev Bhattiprolu

[PATCH v5 2/7] powerpc/powernv: Add OPAL support for Nest PMU

2015-07-16 Thread Madhavan Srinivasan
Nest Counters can be configured via PORE Engine and OPAL provides an interface to start/stop it. OPAL side patches are posted in the skiboot mailing. Cc: Stewart Smith stew...@linux.vnet.ibm.com Cc: Jeremy Kerr j...@ozlabs.org Cc: Benjamin Herrenschmidt b...@kernel.crashing.org Cc: Michael

[PATCH v5 0/7]powerpc/powernv: Nest Instrumentation support

2015-07-16 Thread Madhavan Srinivasan
This patchset enables Nest Instrumentation support on powerpc. POWER8 has per-chip Nest Intrumentation which provides various per-chip metrics like memory, powerbus, Xlink and Alink bandwidth. Nest Instrumentation provides an interface (via PORE Engine) to configure and move the nest counter data

Re: [RESEND PATCH 1/1] staging:vt6655: remove checks around dev_kfree_skb

2015-07-16 Thread Dan Carpenter
On Wed, Jul 15, 2015 at 08:52:51AM +0530, Maninder Singh wrote: dev_kfree_skb checks for NULL pointer itself, Thus no need of explicit NULL check. I hate these patches. I have told Markus to stop sending them but he has issues so now I only complain when they introduce a bug. There was one

[PATCH v5 3/6] cpufreq: powernv: Register for OCC related opal_message notification

2015-07-16 Thread Shilpasri G Bhat
OCC is an On-Chip-Controller which takes care of power and thermal safety of the chip. During runtime due to power failure or overtemperature the OCC may throttle the frequencies of the CPUs to remain within the power budget. We want the cpufreq driver to be aware of such situations to be able to

[PATCH v5 2/6] powerpc/powernv: Add definition of OPAL_MSG_OCC message type

2015-07-16 Thread Shilpasri G Bhat
Add OPAL_MSG_OCC message definition to opal_message_type to receive OCC events like reset, load and throttled. Host performance can be affected when OCC is reset or OCC throttles the max Pstate. We can register to opal_message_notifier to receive OPAL_MSG_OCC type of message and report it to the

RE: [PATCH] dmaengine: fsl-edma: add PM suspend/resume support

2015-07-16 Thread Yao Yuan
Hi Arnd, Ok, I will remove the #ifdef in the next version. Thanks. Hi All, Is there any others comments? Thanks for your review. Best Regards, Yuan Yao On Wednesday, July 15, 2015 10:55 PM Arnd wrote: On Wednesday 15 July 2015 10:29:55 Yao Yuan wrote: Hi Arnd, Thanks for your review.

Re: [RESEND PATCH 1/1] staging:vt6655: remove checks around dev_kfree_skb

2015-07-16 Thread Maninder Singh
Hi Dan, I hate these patches. I have told Markus to stop sending them but he has issues so now I only complain when they introduce a bug. There was one bug I have missed because it was a benchmark regression and I knew it was theoretically possible but I didn't know the code well enough to say

Re: [PATCH] gpio: pcf857x: get rid of slock spinlock

2015-07-16 Thread Linus Walleij
On Thu, Jun 25, 2015 at 5:18 PM, Grygorii Strashko grygorii.stras...@ti.com wrote: The spinlock 'slock' is used now to protect pcf857x_irq() from itself which is unnecessary (especially after switching to use threaded IRQs). Hence, remove it and use mutex to protect device data in IRQ

[RHEL6.8 Patch 01/19] [S390] zero page cache synonyms

2015-07-16 Thread Baoquan He
Resolves: bz1097904 https://bugzilla.redhat.com/show_bug.cgi?id=1097904 This is back ported from upstream. commit 238ec4efeee4461d5cff2ed3e5a15a3ab850959b Author: Martin Schwidefsky schwidef...@de.ibm.com Date: Mon Oct 25 16:10:07 2010 +0200 [S390] zero page cache synonyms If the

[RHEL6.8 Patch 02/19] asm-generic, mm: pgtable: consolidate zero page helpers

2015-07-16 Thread Baoquan He
Resolves: bz1097904 https://bugzilla.redhat.com/show_bug.cgi?id=1097904 This is back ported from upstream. There are conflicts in arch/s390/include/asm/pgtable.h. commit 816422ad76474fed8052b6f7b905a054d082e59a Author: Kirill A. Shutemov kirill.shute...@linux.intel.com Date: Wed Dec 12

Re: [PATCH] wlcore: sdio: return correct error code

2015-07-16 Thread Raphaël Poggi
Ping ? 2015-07-02 10:34 GMT+02:00 Raphael Poggi poggi.r...@gmail.com: When wlcore_probe_of failed, return the correct error code instead of ENOMEM Signed-off-by: Raphaël Poggi poggi.r...@gmail.com --- drivers/net/wireless/ti/wlcore/sdio.c | 3 ++- 1 file changed, 2 insertions(+), 1

Re: [PATCH] gpio/davinci: add interrupt support for GPIOs 16-31

2015-07-16 Thread Sekhar Nori
On Tuesday 14 July 2015 07:31 PM, Linus Walleij wrote: On Thu, Jun 18, 2015 at 7:10 PM, Vitaly Andrianov vita...@ti.com wrote: Interrupts for GPIOs 16 through 31 are enabled by bit 1 in the binten register (offset 8). Previous versions of GPIO only used bit 0, which enables GPIO 0-15

Re: [PATCH 3/5] arm64, pci: Allow RC drivers to supply pcibios_add_device() implementation.

2015-07-16 Thread Lorenzo Pieralisi
Hi David, On Wed, Jul 15, 2015 at 05:54:43PM +0100, David Daney wrote: From: David Daney david.da...@cavium.com The default is to continue doing the what we have done before, but add a hook so that this can be overridden. This commit log is inappropriate. On top of that, it is already

[PATCH v3 2/6] dt-bindings: mediatek: Add smi dts binding

2015-07-16 Thread Yong Wu
This patch add smi binding document. Signed-off-by: Yong Wu yong...@mediatek.com --- .../memory-controllers/mediatek,smi-larb.txt | 25 .../bindings/memory-controllers/mediatek,smi.txt | 24 +++ 2 files changed, 49 insertions(+) create mode

Re: BUG: perf error on syscalls for powerpc64.

2015-07-16 Thread Michael Ellerman
On Thu, 2015-07-16 at 13:57 +0800, Zumeng Chen wrote: Hi All, 1028ccf5 did a change for sys_call_table from a pointer to an array of unsigned long, I think it's not proper, here is my reason: sys_call_table defined as a label in assembler should be pointer array rather than an array as

Re: [PATCH v2] gpio/davinci: add interrupt support for GPIOs 16-31

2015-07-16 Thread Sekhar Nori
On Friday 03 July 2015 12:01 AM, Vitaly Andrianov wrote: Interrupts for GPIOs 16 through 31 are enabled by bit 1 in the binten register (offset 8). Previous versions of GPIO only used bit 0, which enables GPIO 0-15 interrupts. Signed-off-by: Vitaly Andrianov vita...@ti.com Reviewed-by:

Re: perf: fuzzer triggered warning in intel_pmu_drain_pebs_nhm()

2015-07-16 Thread Peter Zijlstra
On Thu, Jul 16, 2015 at 08:02:03AM +0200, Stephane Eranian wrote: Been running it for a couple of hours, so far so good. I will let it run all night. Thanks! --- arch/x86/kernel/cpu/perf_event_intel_ds.c | 29 + 1 file changed, 13 insertions(+), 16

[PATCH] fs/dax.c: fix typo in #endif comment

2015-07-16 Thread Valentin Rothberg
Fix typo s/CONFIG_TRANSPARENT_HUGEPAGES/CONFIG_TRANSPARENT_HUGEPAGE/ in #endif comment introduced by commit 2b26a9206d6a (dax: add huge page fault support). Signed-off-by: Valentin Rothberg valentinrothb...@gmail.com --- fs/dax.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH] Revert net: fec: Ensure clocks are enabled while using mdio bus

2015-07-16 Thread Clemens Gruber
On Wed, Jul 15, 2015 at 05:32:13PM -0700, David Miller wrote: From: Clemens Gruber clemens.gru...@pqgruber.com Date: Thu, 16 Jul 2015 02:04:04 +0200 This reverts commit 6c3e921b18edca290099adfddde8a50236bf2d80. The change did break ethernet support on the i.MX6Q and possibly also on

[noctrl.edu #321242] AutoReply: hwiquuyzgziiq

2015-07-16 Thread Spam detection via RT
Hello -- Your message was tagged as spam by an automated testing program. Unless we receive a reply to this notice, the message will be set aside and will not be seen or acted on by anyone. Therefore, please reply to this message as soon as possible. If you did not send any mail to an email

[PATCH] staging: rtl8188eu: Fix style errors and warnings

2015-07-16 Thread Guillaume Bienkowski
Fix spaces before comma and indentation. Signed-off-by: Guillaume Bienkowski guitre...@gmail.com --- drivers/staging/rtl8188eu/core/rtw_mlme_ext.c | 42 +-- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_mlme_ext.c

[PATCH 2/2] ARM: dts: Add phyBOARD-WEGA-AM335x rdk

2015-07-16 Thread Teresa Remmet
phyBOARD-WEGA-AM335x represents a direct soldered combination of a phyCORE-AM335x SoM and carrier board. Different kind of SoM options can be connected to the wega carrier board. So we created a separate wega dtsi file. The final dts contains the actual SoM on the carrier board. WEGA carrier

Re: [PATCH v3 3/3] dt-binding:Documents the mbigen bindings

2015-07-16 Thread majun (F)
在 2015/7/8 21:40, Mark Rutland 写道: On Mon, Jul 06, 2015 at 08:09:08AM +0100, Ma Jun wrote: [...] + +Mbigen means: message based interrupt generator. + +MBI is kind of msi interrupt only used on Non-PCI devices. + +To reduce the wired interrupt number connected to GIC, +Hisilicon designed

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

2015-07-16 Thread Linus Walleij
On Wed, Jun 24, 2015 at 4:54 PM, Grygorii Strashko grygorii.stras...@ti.com wrote: From: Grygorii Strashko grygorii.stras...@linaro.org Add missed spin_unlock_irqrestore in omap_gpio_irq_type when omap_set_gpio_triggering() is failed. It fixes static checker warning:

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

2015-07-16 Thread majun (F)
在 2015/7/8 23:30, Marc Zyngier 写道: Hi, Aside from all the comments Thomas had, the following aspect is worrying me a bit: On 06/07/15 08:09, Ma Jun wrote: This patch contains the mbigen interrupt controller driver. [...] +static int mbigen_set_type(struct irq_data *d, unsigned int

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

2015-07-16 Thread majun (F)
在 2015/7/8 18:44, Thomas Gleixner 写道: On Wed, 8 Jul 2015, majun (F) wrote: 在 2015/7/6 20:33, Thomas Gleixner 写道: Care to explain what this does? It seems for some nodes you cannot write the msi message. So how is that supposed to work? How is that interrupt controlled (mask/unmask ...) ?

Re: [RESEND PATCH 1/1] staging:vt6655: remove checks around dev_kfree_skb

2015-07-16 Thread Dan Carpenter
On Thu, Jul 16, 2015 at 08:45:06AM +, Maninder Singh wrote: where we are checking for (pTDInfo-skb), we are using it in above line. and it does not look good, thats why we should remove thse checks and i have suggested changes. code snippet:- --- if

[RHEL6.8 Patch 05/19] include/linux/mm.h: add PAGE_ALIGNED() helper

2015-07-16 Thread Baoquan He
Resolves: bz1097904 https://bugzilla.redhat.com/show_bug.cgi?id=1097904 This is back ported from upstream directly. commit 0fa73b86ef0797ca4fde5334117ca0b330f08030 Author: Andrew Morton a...@linux-foundation.org Date: Wed Jul 3 15:02:11 2013 -0700 include/linux/mm.h: add PAGE_ALIGNED()

Re: [PATCH 1/5] memcg: export struct mem_cgroup

2015-07-16 Thread Michal Hocko
On Wed 15-07-15 13:57:11, Andrew Morton wrote: On Wed, 15 Jul 2015 13:14:41 +0200 Michal Hocko mho...@kernel.org wrote: mem_cgroup structure is defined in mm/memcontrol.c currently which means that the code outside of this file has to use external API even for trivial access stuff.

Re: [PATCH v2 1/7] pinctrl: UniPhier: add UniPhier pinctrl core support

2015-07-16 Thread Linus Walleij
On Tue, Jul 14, 2015 at 4:40 AM, Masahiro Yamada yamada.masah...@socionext.com wrote: The core support for the pinctrl drivers for all the UniPhier SoCs. Signed-off-by: Masahiro Yamada yamada.masah...@socionext.com --- Changes in v2: - drop vogus THIS_MODULE because this file is always

Re: [PATCH 1/1] mem-hotplug: Handle node hole when initializing numa_meminfo.

2015-07-16 Thread Tang Chen
On 07/16/2015 05:20 AM, Tejun Heo wrote: On Wed, Jul 01, 2015 at 11:16:54AM +0800, Tang Chen wrote: ... - /* and there's no empty block */ - if (bi-start = bi-end) + /* and there's no empty or non-exist block */ + if (bi-start = bi-end ||

Re: [PATCH v2 4/7] pinctrl: UniPhier: add UniPhier PH1-sLD8 pinctrl driver

2015-07-16 Thread Linus Walleij
On Tue, Jul 14, 2015 at 4:40 AM, Masahiro Yamada yamada.masah...@socionext.com wrote: Add pin configuration and pinmux support for UniPhier PH1-sLD8 SoC. Signed-off-by: Masahiro Yamada yamada.masah...@socionext.com --- Changes in v2: - sort groups and funcs alphabetically - add i2c

Re: perf: fuzzer triggered warning in intel_pmu_drain_pebs_nhm()

2015-07-16 Thread Stephane Eranian
On Thu, Jul 16, 2015 at 12:15 AM, Peter Zijlstra pet...@infradead.org wrote: On Thu, Jul 16, 2015 at 08:02:03AM +0200, Stephane Eranian wrote: Been running it for a couple of hours, so far so good. I will let it run all night. Thanks! Well, it died on NHM in the same function despite your

[PATCH v3] serial: mxs-auart: keep the AUART unit in reset state when not in use

2015-07-16 Thread Juergen Borleis
Whenever the UART device driver gets closed from userland, the driver disables the UART unit and then stops its clock to save power. The bit which disabled the UART unit is described as: UART Enable. If this bit is set to 1, the UART is enabled. Data transmission and reception occurs for the

Re: [PATCH v3] gpio: UniPhier: add driver for UniPhier GPIO controller

2015-07-16 Thread Masahiro Yamada
Hi Linus, 2015-07-16 16:42 GMT+09:00 Linus Walleij linus.wall...@linaro.org: On Thu, Jul 16, 2015 at 9:35 AM, Masahiro Yamada yamada.masah...@socionext.com wrote: 2015-07-16 16:07 GMT+09:00 Linus Walleij linus.wall...@linaro.org: ngpio == 248 for some SoCs, and ngpio == 136 for some, etc.

[PATCH 0/2] tip-queue 2015-07-16

2015-07-16 Thread Borislav Petkov
From: Borislav Petkov b...@suse.de Hi, here are two microcode loader changes for making certain patch levels applied by the firmware, final. Please apply, thanks. Borislav Petkov (2): x86/microcode/amd: Extract current patch level read to a function x86/microcode/amd: Do not overwrite

[PATCH v5 0/6] powernv: cpufreq: Report frequency throttle by OCC

2015-07-16 Thread Shilpasri G Bhat
This patchset intends to add frequency throttle reporting mechanism to powernv-cpufreq driver when OCC throttles the frequency. OCC is an On-Chip-Controller which takes care of the power and thermal safety of the chip. The CPU frequency can be throttled during an OCC reset or when OCC tries to

[RFC][PATCH 2/2] x86, fpu: enlarge xregs_state

2015-07-16 Thread Dave Hansen
This takes a stab at sizing the xsave buffer so that it will work for AVX-512 systems. The logic is explained in the comment. Cc: Linus Torvalds torva...@linux-foundation.org Cc: Ingo Molnar mi...@kernel.org Cc: Linux Kernel Mailing List linux-kernel@vger.kernel.org Cc: Andy Lutomirski

[RFC][PATCH 1/2] x86, fpu: disable XSAVE if init buf too small

2015-07-16 Thread Dave Hansen
This is _very_ lightly tested. Just RFC for now. The fallback code is not tested at all because I'm hitting another bug. -- The recent x86 FPU rework changed a dynamic allocation to a static one. But, the static one is undersized and we overrun it, corrupting memory in some cases. This

Re: [patch v2 1/2] pinctrl: samsung: don't truncate the last char

2015-07-16 Thread Linus Walleij
On Mon, Jun 22, 2015 at 5:12 PM, Dan Carpenter dan.carpen...@oracle.com wrote: We were allocating enough space because sizeof(-grp) and sizeof(-mux) are both equal to 5 but in the snprintf() we only allowed for 4 characters so the last 'p' and 'x' characters were truncated. The allocate and

[RHEL6.8 Patch 00/19] Support mmap() on /proc/vmcore

2015-07-16 Thread Baoquan He
This patchset includes 3 parts. - 1st part: Includes 13 upstream commits. They are recommended by Nigel Croxon since he back ported this feature to rhel7. This 13 back ports works for all ARCHs except of s390 since it always broke s390n kdump. c2c1b08

[RHEL6.8 Patch 09/19] vmalloc: make find_vm_area check in range

2015-07-16 Thread Baoquan He
Resolves: bz1097904 https://bugzilla.redhat.com/show_bug.cgi?id=1097904 This is back ported from upstream directly. commit cef2ac3f6c8ab532e49cf69d05f540931ad8ee64 Author: HATAYAMA Daisuke d.hatay...@jp.fujitsu.com Date: Wed Jul 3 15:02:17 2013 -0700 vmalloc: make find_vm_area check in

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

2015-07-16 Thread Marc Zyngier
On 16/07/15 09:35, majun (F) wrote: 在 2015/7/8 23:16, Marc Zyngier 写道: On 08/07/15 05:21, majun (F) wrote: Hi Thomas: [...] + + nid = GET_NODE_NUM(d-hwirq); + ret = get_mbigen_node_type(nid); + if (ret) + return 0; Care to explain what this does? It seems for some nodes you

[RHEL6.8 Patch 06/19] vmcore: clean up read_vmcore()

2015-07-16 Thread Baoquan He
Resolves: bz1097904 https://bugzilla.redhat.com/show_bug.cgi?id=1097904 This is back ported from upstream directly. commit b27eb186608c89ef0979ae47c649859ceaa1b2e7 Author: HATAYAMA Daisuke d.hatay...@jp.fujitsu.com Date: Wed Jul 3 15:02:13 2013 -0700 vmcore: clean up read_vmcore()

[RHEL6.8 Patch 08/19] vmcore: treat memory chunks referenced by PT_LOAD program header entries in page-size boundary in vmcore_list

2015-07-16 Thread Baoquan He
Resolves: bz1097904 https://bugzilla.redhat.com/show_bug.cgi?id=1097904 This is back port from upstream directly. commit 7f614cd1e052ebbddee7ea49c725dc75fee74a5a Author: HATAYAMA Daisuke d.hatay...@jp.fujitsu.com Date: Wed Jul 3 15:02:15 2013 -0700 vmcore: treat memory chunks referenced

Re: [PATCH v5 2/3] pwm: add MediaTek display PWM driver support

2015-07-16 Thread YH Huang
On Thu, 2015-07-16 at 14:54 +0800, Daniel Kurtz wrote: On Thu, Jul 16, 2015 at 1:38 PM, YH Huang yh.hu...@mediatek.com wrote: On Wed, 2015-07-15 at 23:59 +0800, YH Huang wrote: On Mon, 2015-07-13 at 18:19 +0800, Daniel Kurtz wrote: On Mon, Jul 13, 2015 at 5:04 PM, YH Huang

Re: [PATCH v2 1/7] mn10300: fix build failure

2015-07-16 Thread Sudip Mukherjee
On Thu, Jun 18, 2015 at 05:47:47PM +0530, Sudip Mukherjee wrote: allmodconfig build fails with the error: invalid use of undefined type 'struct kprobe_ctlblk' just declared the two basic structures after checking the struct in other architectures. Gentle ping. next-20150716 still fails

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

2015-07-16 Thread Masami Hiramatsu
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. Signed-off-by: Masami Hiramatsu masami.hiramatsu...@hitachi.com Cc:

[PATCH tip/master 0/3] kprobes blacklist enhancement

2015-07-16 Thread Masami Hiramatsu
Hi, Here is a series of patches of kprobe blacklist enhancement which I sent 1 yrs ago (with some performance improvements). I've decided to split these patches from performance improvement patches because it is easy to review/merge. These 3 patches add NOKPROBE_SYMBOL() support for modules and

[PATCH tip/master 2/3] kprobes: Use NOKPROBE_SYMBOL() in sample modules

2015-07-16 Thread Masami Hiramatsu
Use NOKPROBE_SYMBOL() to protect handlers from kprobes in sample modules. Signed-off-by: Masami Hiramatsu masami.hiramatsu...@hitachi.com Ananth N Mavinakayanahalli ana...@in.ibm.com --- samples/kprobes/jprobe_example.c|1 + samples/kprobes/kprobe_example.c|3 +++

Re: [PATCH v2 2/7] pinctrl: UniPhier: add UniPhier PH1-LD4 pinctrl driver

2015-07-16 Thread Linus Walleij
On Tue, Jul 14, 2015 at 4:40 AM, Masahiro Yamada yamada.masah...@socionext.com wrote: Add pin configuration and pinmux support for UniPhier PH1-LD4 SoC. Signed-off-by: Masahiro Yamada yamada.masah...@socionext.com --- Changes in v2: - sort groups and funcs alphabetically - add missing

Re: [PATCH v2 6/7] pinctrl: UniPhier: add UniPhier ProXstream2 pinctrl driver

2015-07-16 Thread Linus Walleij
On Tue, Jul 14, 2015 at 4:40 AM, Masahiro Yamada yamada.masah...@socionext.com wrote: Add pin configuration and pinmux support for UniPhier ProXstream2 SoC. Signed-off-by: Masahiro Yamada yamada.masah...@socionext.com --- Changes in v2: - sort groups and funcs alphabetically - add

[PATCH 2/2] arm/smmu: Make use of of_parse_phandle_with_var_args

2015-07-16 Thread Joerg Roedel
From: Joerg Roedel jroe...@suse.de The function of_parse_phandle_with_args() can only handle 16 args, but there are systems that require more (25 in my case). So use the newly introduced function of_parse_phandle_with_var_args() instead. Signed-off-by: Joerg Roedel jroe...@suse.de ---

[PATCH 1/2] of: base: Allow more args than MAX_PHANDLE_ARGS if required

2015-07-16 Thread Joerg Roedel
From: Joerg Roedel jroe...@suse.de The main use of MAX_PHANDLE_ARGS is to define the number of args elements in 'struct of_phandle_args'. This struct is often declared on the stack and thus it is impractical to increase MAX_PHANDLE_ARGS again and again. To handle situations where more than

Re: [PATCH 0/4] TI clk driver cleanups

2015-07-16 Thread Tero Kristo
On 07/15/2015 11:08 PM, Stephen Boyd wrote: Some cleanups for the TI clk driver move. Stephen Boyd (4): clk: ti: Check kzalloc() for failures clk: ti: Mark ti_clk_features static clk: ti: clk-3xxx: Remove unused structures clk: ti: Force pointer to be __iomem

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

2015-07-16 Thread majun (F)
在 2015/7/8 23:16, Marc Zyngier 写道: On 08/07/15 05:21, majun (F) wrote: Hi Thomas: [...] + + nid = GET_NODE_NUM(d-hwirq); + ret = get_mbigen_node_type(nid); + if (ret) + return 0; Care to explain what this does? It seems for some nodes you cannot write the msi message. So

Re: [PATCH 3/4] clk: ti: clk-3xxx: Remove unused structures

2015-07-16 Thread Tero Kristo
On 07/15/2015 11:08 PM, Stephen Boyd wrote: Sparse complains about these structures missing static, but they also don't look to be used. Remove them. drivers/clk/ti/clk-3xxx.c:74:30: warning: symbol 'clkhwops_omap3430es2_ssi_wait' was not declared. Should it be static?

[RHEL6.8 Patch 13/19] vmcore: calculate vmcore file size from buffer size and total size of vmcore objects

2015-07-16 Thread Baoquan He
Resolves: bz1097904 https://bugzilla.redhat.com/show_bug.cgi?id=1097904 This is back ported from upstream. commit 591ff71664e764a3806e341370f3c758cb2e7e3c Author: HATAYAMA Daisuke d.hatay...@jp.fujitsu.com Date: Wed Jul 3 15:02:22 2013 -0700 vmcore: calculate vmcore file size from buffer

[RHEL6.8 Patch 11/19] vmcore: allocate ELF note segment in the 2nd kernel vmalloc memory

2015-07-16 Thread Baoquan He
Resolves: bz1097904 https://bugzilla.redhat.com/show_bug.cgi?id=1097904 This is back ported from upstream. commit 087350c9dcf1b38c597b31d7761f7366e2866e6b Author: HATAYAMA Daisuke d.hatay...@jp.fujitsu.com Date: Wed Jul 3 15:02:19 2013 -0700 vmcore: allocate ELF note segment in the 2nd

[RHEL6.8 Patch 10/19] vmalloc: introduce remap_vmalloc_range_partial

2015-07-16 Thread Baoquan He
Resolves: bz1097904 https://bugzilla.redhat.com/show_bug.cgi?id=1097904 This is back ported from upstream. There's a small conflict in remap_vmalloc_range. commit e69e9d4aee712a22665f008ae0550bb3d7c7f7c1 Author: HATAYAMA Daisuke d.hatay...@jp.fujitsu.com Date: Wed Jul 3 15:02:18 2013 -0700

Re: [PATCH v2 1/3] PM suspend/hibernate: Call notifier after freezing processes

2015-07-16 Thread Pali Rohár
On Thursday 16 July 2015 03:02:03 Rafael J. Wysocki wrote: On Sunday, June 21, 2015 01:20:32 PM Pali Rohár wrote: To prevent race conditions on userspace processes with I/O some taks must be called after processes are freezed. This patch adds new events which are delivered by

Re: [GIT PULL] x86/ras material for 4.3 queue

2015-07-16 Thread Borislav Petkov
On Wed, Jul 15, 2015 at 01:30:14PM +0200, Ingo Molnar wrote: did you rebase a tree from Boris? Yep, he did. We decided to do so because the fixes missed 4.2 and for 4.3 a clean rebase is just fine. Also, please send all patches as part of the submission so that I can comment on individual

Re: [PATCH] serial: 8250: Do XR17V35X specific wakeup in serial8250_do_startup

2015-07-16 Thread Michael Welling
On Thu, Jul 16, 2015 at 10:29:13AM +0200, Joerg Roedel wrote: From: Joerg Roedel jroe...@suse.de The XR17V35X UART needs the ECB bit set in its XR_EFR register to enable access to IER [7:5], ISR [5:4], FCR[5:4], MCR[7:5], and MSR [7:0]. Also reset the IER register to mask interrupts after

[RHEL6.8 Patch 03/19] fs/proc/vmcore.c: add hook to read_from_oldmem() to check for non-ram pages

2015-07-16 Thread Baoquan He
Resolves: bz1097904 https://bugzilla.redhat.com/show_bug.cgi?id=1097904 This is back ported from upstream directly. commit 997c136f518c5debd63847e78e2a8694f56dcf90 Author: Olaf Hering o...@aepfle.de Date: Thu May 26 16:25:54 2011 -0700 fs/proc/vmcore.c: add hook to read_from_oldmem() to

[RHEL6.8 Patch 2/3] vmcore: prevent PT_NOTE p_memsz overflow during header update

2015-07-16 Thread Baoquan He
Resolves: bz1236437 https://bugzilla.redhat.com/show_bug.cgi?id=1236437 Brew build: https://brewweb.devel.redhat.com/taskinfo?taskID=9499237 This is back ported from upstream. Conflicts existed since there's no update_note_header_size_elf64 yet in rhel6. In commit

Re: [RFC PATCH 0/2] spi: add dual parallel stacked mode support in Zynq MPSoC GQSPI controller

2015-07-16 Thread Mark Brown
On Thu, Jul 16, 2015 at 07:27:34AM +, Ranjit Abhimanyu Waghmode wrote: For an example take two flashes connected in stacked mode. For user it doesn't matter whether how many flashes are really connected. There will be situation like, single partition is spread across two flashes

[RHEL6.8 Patch 1/3] kernel: audit/fix non-modular users of module_init in core code

2015-07-16 Thread Baoquan He
Resolves: bz1236437 https://bugzilla.redhat.com/show_bug.cgi?id=1236437 Brew build: https://brewweb.devel.redhat.com/taskinfo?taskID=9499237 This is back ported from upstream partionly. The crash_notes data resides in the percpu in the first kernel. While percpu use vmalloc to allocate by

Re: [patch -mm] mm, oom: move oom notifiers to page allocator

2015-07-16 Thread Michal Hocko
On Wed 15-07-15 15:44:36, David Rientjes wrote: OOM notifiers exist to give one last chance at reclaiming memory before the oom killer does its work. Thus, they don't actually belong in the oom killer proper, but rather in the page allocator where reclaim is invoked. Why this is not needed

[PATCH tip/master 3/3] kprobes/x86: Use kprobe_blacklist for .kprobes.text and .entry.text

2015-07-16 Thread Masami Hiramatsu
Use kprobe_blackpoint for blacklisting .entry.text and .kprobees.text instead of arch_within_kprobe_blacklist. This also makes them visible via (debugfs)/kprobes/blacklist. Signed-off-by: Masami Hiramatsu masami.hiramatsu...@hitachi.com Cc: Thomas Gleixner t...@linutronix.de Cc: Ingo Molnar

Re: [PATCH RFC 0/4] change sb_writers to use percpu_rw_semaphore

2015-07-16 Thread Dave Hansen
On 07/16/2015 12:26 AM, Jan Kara wrote: So Dave's patches would go in only in the next merge window anyway so we still have like two-three weeks to decide which patchset to take. If you think it will take you longer, then merging Dave's patches makes some sense although I personally don't

Re: [PATCH v2 5/7] pinctrl: UniPhier: add UniPhier PH1-Pro5 pinctrl driver

2015-07-16 Thread Linus Walleij
On Tue, Jul 14, 2015 at 4:40 AM, Masahiro Yamada yamada.masah...@socionext.com wrote: Add pin configuration and pinmux support for UniPhier PH1-Pro5 SoC. Signed-off-by: Masahiro Yamada yamada.masah...@socionext.com --- Changes in v2: - sort groups and funcs alphabetically - add i2c

Re: [PATCH v2 7/7] pinctrl: UniPhier: add UniPhier PH1-LD6b pinctrl driver

2015-07-16 Thread Linus Walleij
On Tue, Jul 14, 2015 at 4:40 AM, Masahiro Yamada yamada.masah...@socionext.com wrote: Add pin configuration and pinmux support for UniPhier PH1-LD6b SoC. Signed-off-by: Masahiro Yamada yamada.masah...@socionext.com --- Changes in v2: - sort groups and funcs alphabetically - add i2c

Re: [PATCH v3] gpio: UniPhier: add driver for UniPhier GPIO controller

2015-07-16 Thread Masahiro Yamada
Hi Linus, 2015-07-16 16:07 GMT+09:00 Linus Walleij linus.wall...@linaro.org: On Thu, Jul 16, 2015 at 5:44 AM, Masahiro Yamada yamada.masah...@socionext.com wrote: 2015-07-15 23:15 GMT+09:00 Linus Walleij linus.wall...@linaro.org: + for (i = 0; i chip-ngpio; i +=

Re: [PATCH v3] gpio: UniPhier: add driver for UniPhier GPIO controller

2015-07-16 Thread Linus Walleij
On Thu, Jul 16, 2015 at 9:35 AM, Masahiro Yamada yamada.masah...@socionext.com wrote: 2015-07-16 16:07 GMT+09:00 Linus Walleij linus.wall...@linaro.org: ngpio == 248 for some SoCs, and ngpio == 136 for some, etc. That is the wrong way to handle different SoC. That should be handled by

[PATCH 4/7] x86/mce: Avoid potential deadlock due to printk() in MCE context

2015-07-16 Thread Borislav Petkov
From: Chen, Gong gong.c...@linux.intel.com Printing in MCE context is a no-no, currently, as printk is not NMI-safe. If some of the notifiers on the MCE chain call do so, we may deadlock. In order to avoid that, delay printk() to process context where it is safe to do so. [Tony: Folded in

Re: [PATCH] backlight: pm8941-wled: Move PM8941 WLED driver to backlight

2015-07-16 Thread Jacek Anaszewski
Hi Bjorn, On 07/15/2015 10:02 PM, Bjorn Andersson wrote: The Qualcomm PM8941 WLED block is used for backlight and should therefor be in the backlight framework and not in the LED framework. This moves the driver and adapts to the backlight api instead. Signed-off-by: Bjorn Andersson

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

2015-07-16 Thread Paul Bolle
On wo, 2015-07-15 at 11:15 +0800, Xing Zheng wrote: --- /dev/null +++ b/sound/soc/rockchip/rockchip_max98090.c +#define DRV_NAME rockchip-snd-max98090 +static const struct of_device_id rockchip_max98090_of_match[] = { + { .compatible = rockchip,rockchip-audio-max98090, }, + {},

[PATCH 2/2] x86/microcode/amd: Do not overwrite final patch levels

2015-07-16 Thread Borislav Petkov
From: Borislav Petkov b...@suse.de A certain number of patch levels of applied microcode should not be overwritten by the microcode loader, otherwise bad things will happen. Check those and abort update if the current core has one of those final patch levels applied by the BIOS. 32-bit needs

[PATCH 1/2] x86/microcode/amd: Extract current patch level read to a function

2015-07-16 Thread Borislav Petkov
From: Borislav Petkov b...@suse.de Pave the way for checking the current patch level of the microcode in a core. We want to be able to do stuff depending on the patch level - in this case decide whether to update or not. But that will be added in a later patch; here we do not introduce any

[PATCH v5 1/6] cpufreq: powernv: Handle throttling due to Pmax capping at chip level

2015-07-16 Thread Shilpasri G Bhat
The On-Chip-Controller(OCC) can throttle cpu frequency by reducing the max allowed frequency for that chip if the chip exceeds its power or temperature limits. As Pmax capping is a chip level condition report this throttling behavior at chip level and also do not set the global 'throttled' on Pmax

[PATCH v5 4/6] cpufreq: powernv: Call throttle_check() on receiving OCC_THROTTLE

2015-07-16 Thread Shilpasri G Bhat
Re-evaluate the chip's throttled state on recieving OCC_THROTTLE notification by executing *throttle_check() on any one of the cpu on the chip. This is a sanity check to verify if we were indeed throttled/unthrottled after receiving OCC_THROTTLE notification. We cannot call *throttle_check()

Re: [RFC][PATCH 1/5] mm/slab_common: allow NULL cache pointer in kmem_cache_destroy()

2015-07-16 Thread Sergey Senozhatsky
On (06/20/15 18:25), Julia Lawall wrote: On (06/17/15 16:14), David Rientjes wrote: [..] Signed-off-by: Sergey Senozhatsky sergey.senozhat...@gmail.com Reported-by: Andrew Morton a...@linux-foundation.org LKML-reference: https://lkml.org/lkml/2015/6/8/583 Acked-by:

[PATCH 1/2] ARM: dts: Add support for phyCORE-AM335x SoM

2015-07-16 Thread Teresa Remmet
phyCORE-AM335x is a SoM (System on Module) containing a AM335x SOC. The module can be connected to different carrier boards. Some hardware parts are configurable on the phyCORE-AM335x. So they are disabled on default in this som dtsi file. They will be enabled in the board dts files, when

[RHEL6.8 Patch 04/19] fs/proc/vmcore.c: put if tests in the top of the while loop to reduce duplication

2015-07-16 Thread Baoquan He
Resolves: bz1097904 https://bugzilla.redhat.com/show_bug.cgi?id=1097904 This is back ported from upstream directly. commit c2c1b089b44b783bd50fae4bccaa6f367f92e492 Author: Zhang Yanfei zhangyan...@cn.fujitsu.com Date: Wed Feb 27 17:03:17 2013 -0800 fs/proc/vmcore.c: put if tests in the

Re: [PATCH v4 2/3] PM / sleep: Go direct_complete if driver has no callbacks

2015-07-16 Thread Tomeu Vizoso
On 16 July 2015 at 02:41, Rafael J. Wysocki r...@rjwysocki.net wrote: On Wednesday, July 15, 2015 02:47:50 PM Alan Stern wrote: On Wed, 15 Jul 2015, Tomeu Vizoso wrote: If a suitable prepare callback cannot be found for a given device and its driver has no PM callbacks at all, assume that

[RHEL6.8 Patch 3/3] vmcore: continue vmcore initialization if PT_NOTE is found empty

2015-07-16 Thread Baoquan He
Resolves: bz1236437 https://bugzilla.redhat.com/show_bug.cgi?id=1236437 Brew build: https://brewweb.devel.redhat.com/taskinfo?taskID=9499237 This is back ported from upstream. This commit relies on commit vmcore: prevent PT_NOTE p_memsz overflow during header update. commit

[RHEL6.8 Patch 07/19] vmcore: allocate buffer for ELF headers on page-size alignment

2015-07-16 Thread Baoquan He
Resolves: bz1097904 https://bugzilla.redhat.com/show_bug.cgi?id=1097904 This is back ported from upstream. There are small format conflicts. commit f2bdacdd597d8d05c3d5f5d36273084f7ef7e6f5 Author: HATAYAMA Daisuke d.hatay...@jp.fujitsu.com Date: Wed Jul 3 15:02:14 2013 -0700 vmcore:

[PATCH v3 0/6] MT8173 IOMMU SUPPORT

2015-07-16 Thread Yong Wu
This patch adds support for m4u(Multimedia Memory Management Unit), Currently it only support the m4u with 2 levels of pagetable on mt8173. It is based on Robin Murphy's arm64 DMA v3: IOMMU-backed DMA mapping[1]. Please check the hardware block diagram of Mediatek IOMMU.

[PATCH v3 5/6] iommu/mediatek: Add mt8173 IOMMU driver

2015-07-16 Thread Yong Wu
This patch adds support for mediatek m4u (MultiMedia Memory Management Unit). Signed-off-by: Yong Wu yong...@mediatek.com --- drivers/iommu/Kconfig | 13 + drivers/iommu/Makefile|1 + drivers/iommu/mtk_iommu.c | 724 + 3 files changed,

[PATCH v3 3/6] iommu: add ARM short descriptor page table allocator.

2015-07-16 Thread Yong Wu
This patch is for ARM Short Descriptor Format. Signed-off-by: Yong Wu yong...@mediatek.com --- drivers/iommu/Kconfig| 18 + drivers/iommu/Makefile |1 + drivers/iommu/io-pgtable-arm-short.c | 742 ++

RE: [V2 3/7] Drivers: hv: vmbus: add APIs to send/recv hvsock packet and get the r/w-ability

2015-07-16 Thread Dexuan Cui
-Original Message- From: David Miller Sent: Thursday, July 16, 2015 12:16 From: Dexuan Cui Date: Tue, 14 Jul 2015 02:58:56 -0700 +int vmbus_sendpacket_hvsock(struct vmbus_channel *channel, void *buf, u32 len) +{ + struct vmpacket_descriptor desc; + struct

RE: [V2 1/7] Drivers: hv: vmbus: define the new offer type for Hyper-V socket (hvsock)

2015-07-16 Thread Dexuan Cui
From: David Miller Sent: Thursday, July 16, 2015 12:13 From: Dexuan Cui Date: Tue, 14 Jul 2015 02:58:03 -0700 A helper function is also added. diff --git a/include/linux/hyperv.h b/include/linux/hyperv.h @@ -236,6 +236,7 @@ struct vmbus_channel_offer { #define

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

2015-07-16 Thread Linus Walleij
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 driver. Cc: Johan Hovold jo...@kernel.org

[PATCH 00/23] ARCH: Migrate clockevent drivers to 'set-state' interface

2015-07-16 Thread Viresh Kumar
Hi Guys, This series migrates Miscellaneous architecture clockevent drivers to the new set-state interface. This would enable these drivers to use new states (like: ONESHOT_STOPPED, etc.) of a clockevent device (if required), as the set-mode interface is marked obsolete now and wouldn't be

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