Re: [PATCH] ARM: at91: move sdramc/ddrsdr header to include/soc/at91

2014-11-13 Thread Boris Brezillon
On Thu, 13 Nov 2014 12:12:33 +0100 Nicolas Ferre wrote: > On 07/11/2014 21:58, Alexandre Belloni : > > Move the (DDR) SDRAM controller headers to include/soc/at91 to remove the > > dependency on mach/ headers from the at91-reset driver. > > > > Signed-off-by: Alexandre Belloni > > --- > > As my

randconfig build error with next-20141113, in fs/pstore/inode.c

2014-11-13 Thread Jim Davis
Building with the attached random configuration file, fs/built-in.o: In function `pstore_check_syslog_permissions': inode.c:(.text+0x13a1bd): undefined reference to `check_syslog_permissions' make: *** [vmlinux] Error 1 # # Automatically generated file; DO NOT EDIT. # Linux/x86 3.18.0-rc4 Kernel C

Re: [RFC PATCH 1/2] clk: add property for force to update clock setting

2014-11-13 Thread Heiko Stübner
Am Donnerstag, 13. November 2014, 21:20:25 schrieb Kever Yang: > Usually we assigned a clock to a default rate in dts, > there is a situation that the clock already initialized to the rate > we intend to set before kernel(hardware default or init in uboot etc). > For the PLLs we can get a rate from

Re: [RFC] ptrace: add generic SET_SYSCALL request

2014-11-13 Thread Ulrich Weigand
Arnd Bergmann wrote on 13.11.2014 11:21:28: > I have to admit that I don't really understand gdb internals, but from > a first look I get the impression that it will just do the right thing > if you reuse NT_S390_SYSTEM_CALL on ARM64 with the same semantics. There's an interface between BFD and

Re: [PATCH] x86: remove arbitrary instruction size limit in instruction decoder

2014-11-13 Thread Masami Hiramatsu
(2014/11/13 7:53), Dave Hansen wrote: > From: Dave Hansen > > The current x86 instruction decoder steps along through the > instruction stream but always ensures that it never steps farther > than the largest possible instruction size (MAX_INSN_SIZE). > > The MPX code is now going to be doing so

[PATCH] arch/tile: update MAINTAINERS email to EZchip

2014-11-13 Thread Chris Metcalf
EZchip Semiconductor closed the acquisition of Tilera Corp last week, and tilera.com email addresses are now ezchip.com. http://www.ezchip.com/pr_141106.htm Signed-off-by: Chris Metcalf --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS

Re: [PATCH] kdump, x86: report actual value of phys_base in VMCOREINFO

2014-11-13 Thread Petr Tesarik
On Thu, 13 Nov 2014 09:25:48 -0500 Vivek Goyal wrote: > On Thu, Nov 13, 2014 at 05:30:21PM +0900, HATAYAMA, Daisuke wrote: > > > > (2014/11/13 17:06), Petr Tesarik wrote: > > >On Thu, 13 Nov 2014 09:17:09 +0900 (JST) > > >HATAYAMA Daisuke wrote: > > > > > >>From: Vivek Goyal > > >>Subject: Re:

Re: [PATCHv7 0/3] syscalls,x86: Add execveat() system call

2014-11-13 Thread David Drysdale
On Wed, Nov 12, 2014 at 9:50 PM, Andrew Morton wrote: > On Fri, 7 Nov 2014 17:01:01 + David Drysdale wrote: > >> This patch set adds execveat(2) for x86, and is derived from Meredydd >> Luff's patch from Sept 2012 (https://lkml.org/lkml/2012/9/11/528). >> >> The primary aim of adding an exec

Re: [PATCH] fs: load FS modules before pinning the mountpoint

2014-11-13 Thread Al Viro
On Thu, Nov 13, 2014 at 03:14:33PM +0100, David Herrmann wrote: > Several pseudo file-systems create default mountpoints in /sys/fs/ or > /sys/kernel/, including: > /sys/kernel/debug > /sys/fs/mqueue > /sys/fs/cgroup > /sys/fs/pstore > > If the given pseudo file-system is available

Re: [PATCH 2/2] kernel: add support for live patching

2014-11-13 Thread Josh Poimboeuf
On Thu, Nov 13, 2014 at 11:16:00AM +0100, Miroslav Benes wrote: > > Hi, > > thank you for the first version of the united live patching core. > > The patch below implements some of our review objections. Changes are > described in the commit log. It simplifies the hierarchy of data > structure

Re: [PATCH v3 00/13] crypto: Documentation of kernel crypto API

2014-11-13 Thread Herbert Xu
On Wed, Nov 12, 2014 at 05:22:00AM +0100, Stephan Mueller wrote: > Hi, > > The following patch set adds documentation files under Documentation/crypto/ > covering the high-level description of the API. In addition, it contains > source code comments added to the header files of the kernel crypto A

Re: [PATCH 09/11] x86, mpx: on-demand kernel allocation of bounds tables

2014-11-13 Thread Thomas Gleixner
On Wed, 12 Nov 2014, Dave Hansen wrote: > > From: Dave Hansen > > Thomas, I know you're not a huge fan of using mm->mmap_sem for serializing > this stuff. But, now that we are not adding an additional lock a la > mm->bd_sem, I can't quite justify adding another lock and trying to > reconcile th

Re: BUG in scsi_lib.c due to a bad commit

2014-11-13 Thread Christoph Hellwig
Guenters commit just fixes the inversion from commit 71e75c97f97a9645d25fbf3d8e4165a558f18747 scsi: convert device_busy to atomic_t Can you please test the commit before that: 74665016086615bbaa3fa6f83af410a0a4e029ee scsi: convert host_busy to atomic_t and check if that works for you or not. --

Re: [PATCH] kdump, x86: report actual value of phys_base in VMCOREINFO

2014-11-13 Thread Vivek Goyal
On Thu, Nov 13, 2014 at 05:30:21PM +0900, HATAYAMA, Daisuke wrote: > > > (2014/11/13 17:06), Petr Tesarik wrote: > >On Thu, 13 Nov 2014 09:17:09 +0900 (JST) > >HATAYAMA Daisuke wrote: > > > >>From: Vivek Goyal > >>Subject: Re: [PATCH] kdump, x86: report actual value of phys_base in > >>VMCOREI

Re: [PATCH] mm/zswap: add __init to some functions in zswap

2014-11-13 Thread Ganesh Mahendran
2014-11-13 10:55 GMT+08:00 Seth Jennings : > On Sun, Nov 09, 2014 at 08:23:52PM +0800, Mahendran Ganesh wrote: >> zswap_cpu_init/zswap_comp_exit/zswap_entry_cache_create is only >> called by __init init_zswap() > > Thanks for the cleanup! > > Acked-by: Seth Jennings Thanks very much! > >> >> Sig

[PATCH] fs: load FS modules before pinning the mountpoint

2014-11-13 Thread David Herrmann
Several pseudo file-systems create default mountpoints in /sys/fs/ or /sys/kernel/, including: /sys/kernel/debug /sys/fs/mqueue /sys/fs/cgroup /sys/fs/pstore If the given pseudo file-system is available as a module, user-space can rely on mount(2) to load the module on-demand (assu

Re: [PATCH 0/4] drm/exynos/dsi: remove global display variable

2014-11-13 Thread Andrzej Hajda
On 11/13/2014 09:50 AM, Inki Dae wrote: > On 2014년 10월 07일 21:01, Andrzej Hajda wrote: >> Hi Inki, >> >> Many Exynos DRM drivers uses global variables to represent associated devices >> in Exynos DRM internal framework. It is quite confusing, it adds data >> duplication >> and finally it does not

[PATCH v2 3/4] input: ft5x06: Allow to set the maximum axes value through the DT

2014-11-13 Thread Maxime Ripard
Currently the driver relies on some obscure and undocumented register to set the maximum axis value. The reported value is way too high to be meaningful, which confuses some userspace tools like QT's evdevtouch plugin which try to scale the reported events to the maximum values. Use the values fr

Re: linux-next: Tree for Nov 13

2014-11-13 Thread Guenter Roeck
On Thu, Nov 13, 2014 at 06:10:02PM +1100, Stephen Rothwell wrote: > Hi all, > > Changes since 20141112: > > The net-next tree gained a conflict against the net tree. > > The mfd tree gained a conflict against Linus' tree. > > The akpm-current tree lost its build failures. > > Non-merge commits

[PATCH v2 0/4] input: ft5x06: Fix userspace reported maximum value

2014-11-13 Thread Maxime Ripard
Hi, The current ft5x06 reports to the user-space that its maximum coordinates are, on both X and Y, way higher than what could be actually usable on the screen (in my case, 5759x1151 instead of 480x800). This causes trouble on some userspace stacks that then try to re-scale these coordinates back

[PATCH v2 2/4] input: touchscreen: of: Register multitouch axes

2014-11-13 Thread Maxime Ripard
So far, the DT parsing code was only setting up the regular input axes, completely ignoring their multitouch counter parts. Fill them with the same parameters than the regular axes. Signed-off-by: Maxime Ripard --- drivers/input/touchscreen/of_touchscreen.c | 22 +- 1 file c

[PATCH v2 1/4] input: touchscreen: of: Use input_set_abs_params

2014-11-13 Thread Maxime Ripard
Drivers are still required to call input_set_abs_params for their axes, as if they only use the touchscreen_parse_of_params function, the axis bit in absbit won't be set. Switch to using input_set_abs_params to fully setup each and every available axis so that drivers will be able to solely use th

[PATCH v2 4/4] input: edt-ft5x06: Remove EV_SYN event report

2014-11-13 Thread Maxime Ripard
input_register_device already sets the EV_SYN event since all devices can generate them. Remove the redundant affectation. Signed-off-by: Maxime Ripard --- drivers/input/touchscreen/edt-ft5x06.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/input/touchscreen/edt-ft5x06.c b/drivers

Re: [PATCH] PM / Domains: Extract code to power off/on a PM domain

2014-11-13 Thread Pavel Machek
On Mon 2014-11-10 19:39:19, Geert Uytterhoeven wrote: > PM domains are powered on/off from various places. Some callers do > latency measurements, others don't. Consolidate using two helper > functions, which always measure the latencies, and update the stored > latencies when needed. > > Other mi

Re: [PATCH v2] PM / Domains: Make genpd parameter of pm_genpd_present() const

2014-11-13 Thread Pavel Machek
On Mon 2014-11-10 19:37:39, Geert Uytterhoeven wrote: > The PM domain pointed to by the genpd parameter is never modified. > > Signed-off-by: Geert Uytterhoeven > Acked-by: Kevin Hilman Acked-by: Pavel Machek -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atre

Re: [x86, irq] BUG: kernel boot hang

2014-11-13 Thread Jiang Liu
Hi Fengguang, This seems like a bug caused by my changes, several bisecting report the same commit. There's some subtle changes in the way to write IOAPIC registers, will check it tomorrow:) Thanks! Gerry On 2014/11/13 21:41, Fengguang Wu wrote: > > Hi Jiang, > > This is another bisect r

Re: [tip:sched/core] sched/wait: Reimplement wait_event_freezable()

2014-11-13 Thread Pavel Machek
Hi! > > Did you test it with suspend/hibernation? Because I can't really see > > how it works. > > It calls try_to_freeze() after each schedule(). But no, I've not > actually tried. > > If we're stuck in the schedule, waiting for the event, freeze_task() > will wake us up and then we'll find fre

Re: [PATCH] mm/zswap: unregister zswap_cpu_notifier_block in cleanup procedure

2014-11-13 Thread Ganesh Mahendran
2014-11-13 10:53 GMT+08:00 Seth Jennings : > On Sun, Nov 09, 2014 at 07:22:23PM +0800, Mahendran Ganesh wrote: >> In zswap_cpu_init(), the code does not unregister *zswap_cpu_notifier_block* >> during the cleanup procedure. > > This is not needed. If we are in the cleanup code, we never got to the

Re: [PATCH] mm/zram: correct ZRAM_ZERO flag bit position

2014-11-13 Thread Ganesh Mahendran
2014-11-13 9:27 GMT+08:00 Weijie Yang : > On Thu, Nov 13, 2014 at 8:02 AM, Minchan Kim wrote: >> On Wed, Nov 12, 2014 at 10:37:18PM +0800, Mahendran Ganesh wrote: >>> In struct zram_table_entry, the element *value* contains obj size and >>> obj zram flags. Bit 0 to bit (ZRAM_FLAG_SHIFT - 1) repres

Re: [PATCH] mm/zram: correct ZRAM_ZERO flag bit position

2014-11-13 Thread Ganesh Mahendran
2014-11-13 8:02 GMT+08:00 Minchan Kim : > On Wed, Nov 12, 2014 at 10:37:18PM +0800, Mahendran Ganesh wrote: >> In struct zram_table_entry, the element *value* contains obj size and >> obj zram flags. Bit 0 to bit (ZRAM_FLAG_SHIFT - 1) represent obj size, >> and bit ZRAM_FLAG_SHIFT to the highest bi

Re: [PATCH V3 6/8] xen: Hide get_phys_to_machine() to be able to tune common path

2014-11-13 Thread Konrad Rzeszutek Wilk
On November 13, 2014 4:15:26 AM EST, Juergen Gross wrote: >On 11/12/2014 11:18 PM, Konrad Rzeszutek Wilk wrote: >> On Tue, Nov 11, 2014 at 06:43:44AM +0100, Juergen Gross wrote: >>> Today get_phys_to_machine() is always called when the mfn for a pfn >>> is to be obtained. Add a wrapper __pfn_to_mf

Re: [PATCH 08/11] x86, mpx: [new code] decode MPX instruction to get bound violation information

2014-11-13 Thread Thomas Gleixner
On Wed, 12 Nov 2014, Dave Hansen wrote: > Changes from the old decoder: > * Use the generic decoder instead of custom functions. Saved >~70 lines of code overall. > * Remove insn->addr_bytes code (never used??) > * Make sure never to possibly overflow the regoff[] array, plus >check the

[PATCH] sched/nohz: remove unused varible nohz_stamp in rq

2014-11-13 Thread Alex Shi
Signed-off-by: Alex Shi --- kernel/sched/sched.h | 1 - 1 file changed, 1 deletion(-) diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h index 24156c84..63b4f99 100644 --- a/kernel/sched/sched.h +++ b/kernel/sched/sched.h @@ -533,7 +533,6 @@ struct rq { unsigned long cpu_load[CPU_L

[x86, irq] BUG: kernel boot hang

2014-11-13 Thread Fengguang Wu
Hi Jiang, This is another bisect result. https://github.com/jiangliu/linux.git irqdomain/p4v2 commit b8c2d075135a41f69254a75c4f26162559503ab4 ("x86, irq: Use cached IOAPIC entry instead of reading from hardware") +--+++ | | 384c

RE: [PATCH] x86: Configure NX support earlier in setup_arch

2014-11-13 Thread B_B_Singh
> -Original Message- > From: Borislav Petkov [mailto:b...@suse.de] > Sent: Thursday, November 13, 2014 6:01 PM > To: Singh, B B > Cc: stuart.w.ha...@gmail.com; h...@zytor.com; t...@linutronix.de; > mi...@redhat.com; x...@kernel.org; linux-kernel@vger.kernel.org; > matt.flem...@intel.com; J

[PATCH] sched/nohz: remove unused varible nohz_stamp in rq

2014-11-13 Thread Alex Shi
Signed-off-by: Alex Shi --- kernel/sched/sched.h | 1 - 1 file changed, 1 deletion(-) diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h index 24156c84..63b4f99 100644 --- a/kernel/sched/sched.h +++ b/kernel/sched/sched.h @@ -533,7 +533,6 @@ struct rq { unsigned long cpu_load[CPU_L

Re: [PATCH v9 9/9] drm: bridge/dw_hdmi: add rockchip rk3288 support

2014-11-13 Thread Andy Yan
Hi ZubairLK: thanks for your review. On 2014年11月13日 21:09, Zubair Lutfullah Kakakhel wrote: On 13/11/14 12:57, Andy Yan wrote: rk3288 hdmi is compatible with Designware hdmi this patch is depend on patch by Mark Yao Add drm driver for Rockchip Socs see https://lkml.org/lkml/2014/10/8/201 S

[PATCH 2/3] mm/zsmalloc: add __init/__exit to zs_init/zs_exit

2014-11-13 Thread Mahendran Ganesh
After patch [1], the zs_exit is only called in module exit. So add __init/__exit to zs_init/zs_exit. [1] mm/zsmalloc: avoid unregister a NOT-registered zsmalloc zpool driver Signed-off-by: Mahendran Ganesh --- mm/zsmalloc.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --

[PATCH 3/3] mm/zsmalloc: adjust zs_init/zs_exit location

2014-11-13 Thread Mahendran Ganesh
In previous code design, the zs_exit() will be called by zs_init(). So function zs_exit() is located before zs_init(). And after patch [1], the zs_exit() will not be called by zs_init(). So we can move the zs_exit() after zs_init() and put these two module init/exit functions to the end of the file

[PATCH 1/3] mm/zsmalloc: avoid unregister a NOT-registered zsmalloc zpool driver

2014-11-13 Thread Mahendran Ganesh
Now zsmalloc can be registered as a zpool driver into zpool when CONFIG_ZPOOL is enabled. During the init of zsmalloc, when error happens, we need to do cleanup. But in current code, it will unregister a not yet registered zsmalloc zpool driver(*zs_zpool_driver*). This patch puts the cleanup in zs

Re: [PATCH 1/1] x86/iommu: fix incorrect bit operations in setting values

2014-11-13 Thread Baoquan He
On 11/13/14 at 05:06pm, Li, ZhenHua wrote: > Minfei, > Thanks for your testing. > On my system, I got error messages: > > [8.019096] usb usb2: New USB device strings: Mfr=3, Product=2, > SerialNumber=1 > [8.019617] dmar: DRHD: handling fault status reg 102 > [8.019621] dmar: DMAR:[DMA

[PATCH v4 0/2] poweroff-source DT property renaming

2014-11-13 Thread Auto Configured
The goal of this serie is to rename the property "poweroff-source" to "system-power-controller". After discussions, it makes more sense to rename back to the old established property name. This patches serie reverts commit a4b4e0461ec5 ("of: Add standard property for poweroff capability"). Changes

[PATCH v4 1/2] of: Rename "poweroff-source" property to "system-power-controller"

2014-11-13 Thread Auto Configured
From: Romain Perier It reverts commit a4b4e0461ec5 ("of: Add standard property for poweroff capability"). As discussed on the mailing list, it makes more sense to rename back to the old established property name, without the vendor prefix. Problem being that the word "source" usually tends to be

[PATCH v4 2/2] dt-bindings: Update documentation for "system-power-controller" and fix misspellings

2014-11-13 Thread Auto Configured
From: Romain Perier Signed-off-by: Romain Perier --- .../devicetree/bindings/power/power-controller.txt | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/Documentation/devicetree/bindings/power/power-controller.txt b/Documentation/devicetree/bindings/

Re: [PATCHv4 2/6] phy: improved lookup method

2014-11-13 Thread Vivek Gautam
Hi Heikki, Kishon, On Tue, Nov 11, 2014 at 2:23 PM, Vivek Gautam wrote: > Hi Kishon, > > > On Tue, Nov 11, 2014 at 2:20 PM, Kishon Vijay Abraham I wrote: >> Hi, >> >> On Tuesday 11 November 2014 02:07 PM, Vivek Gautam wrote: >>> On Tue, Nov 11, 2014 at 12:12 PM, Kishon Vijay Abraham I >>> wro

Re: [RFC Part4 v1 00/17] Refine support of non-PCI-compliant Message

2014-11-13 Thread Thomas Gleixner
On Thu, 13 Nov 2014, Marc Zyngier wrote: > On 12/11/14 14:46, Thomas Gleixner wrote: > > On Wed, 12 Nov 2014, Marc Zyngier wrote: > >> This patch introduces two optionnal fields to the msi_chip structure: > >> - a pointer to an irq domain, describing the MSI domain associated > >> with this msi_c

[RFC PATCH 2/2] dt-bindings: clk: add document for assigned-clock-force-rates usage

2014-11-13 Thread Kever Yang
This patch adds document for how to use the opetion property assigned-clock-force-rates. We may use this property to force update a clock setting. Signed-off-by: Kever Yang --- Documentation/devicetree/bindings/clock/clock-bindings.txt | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(

[RFC PATCH 1/2] clk: add property for force to update clock setting

2014-11-13 Thread Kever Yang
Usually we assigned a clock to a default rate in dts, there is a situation that the clock already initialized to the rate we intend to set before kernel(hardware default or init in uboot etc). For the PLLs we can get a rate from different PLL parameter configure, we can't change the PLL parameter i

[PATCH v8 4/7] ARM: l2c: Add support for overriding prefetch settings

2014-11-13 Thread Marek Szyprowski
From: Tomasz Figa Firmware on certain boards (e.g. ODROID-U3) can leave incorrect L2C prefetch settings configured in registers leading to crashes if L2C is enabled without overriding them. This patch introduces bindings to enable prefetch settings to be specified from DT and necessary support in

[RFC PATCH 0/2] add dts property to force update a clock setting

2014-11-13 Thread Kever Yang
When we assgined a clock rate in dts, we may need to update the clock setting like PLLs who can get the same output rate with different parameter even if we don't need to change the rate. Kever Yang (2): clk: add property for force to update clock setting dt-bindings: clk: add document for as

Re: [RESUBMIT PATCH v6 0/8] Add Skyworks SKY81452 device drivers

2014-11-13 Thread Gyungoh Yoo
On Tue, Nov 11, 2014 at 11:10:37AM +, Lee Jones wrote: > Gyungoh, > > You are still missing Acks for this set. Can you please send it again > with the Acks that you have collected thus far. > > Please do not send it in reply-to these others. I would suggest never > sending out the set again

[PATCH v8 0/7] Enable L2 cache support on Exynos4210/4x12 SoCs

2014-11-13 Thread Marek Szyprowski
This is an updated patchset, which intends to add support for L2 cache on Exynos4 SoCs on boards running under secure firmware, which requires certain initialization steps to be done with help of firmware, as selected registers are writable only from secure mode. First four patches extend existing

[PATCH v8 3/7] ARM: l2c: Get outer cache .write_sec callback from mach_desc only if not NULL

2014-11-13 Thread Marek Szyprowski
From: Tomasz Figa Certain platforms (i.e. Exynos) might need to set .write_sec callback from firmware initialization which is happenning in .init_early callback of machine descriptor. However current code will overwrite the pointer with whatever is present in machine descriptor, even though it ca

[PATCH v8 5/7] ARM: EXYNOS: Add .write_sec outer cache callback for L2C-310

2014-11-13 Thread Marek Szyprowski
From: Tomasz Figa Exynos4 SoCs equipped with an L2C-310 cache controller and running under secure firmware require certain registers of aforementioned IP to be accessed only from secure mode. This means that SMC calls are required for certain register writes. To handle this, an implementation of

[PATCH v8 7/7] ARM: dts: exynos4: Add nodes for L2 cache controller

2014-11-13 Thread Marek Szyprowski
From: Tomasz Figa This patch adds device tree nodes for L2 cache controller present on Exynos4 SoCs. Signed-off-by: Tomasz Figa Signed-off-by: Marek Szyprowski --- arch/arm/boot/dts/exynos4210.dtsi | 9 + arch/arm/boot/dts/exynos4x12.dtsi | 14 ++ 2 files changed, 23 inse

[PATCH v8 1/7] ARM: l2c: Refactor the driver to use commit-like interface

2014-11-13 Thread Marek Szyprowski
From: Tomasz Figa Certain implementations of secure hypervisors (namely the one found on Samsung Exynos-based boards) do not provide access to individual L2C registers. This makes the .write_sec()-based interface insufficient and provoking ugly hacks. This patch is first step to make the driver

[PATCH v8 2/7] ARM: l2c: Add interface to ask hypervisor to configure L2C

2014-11-13 Thread Marek Szyprowski
From: Tomasz Figa Because certain secure hypervisor do not allow writes to individual L2C registers, but rather expect set of parameters to be passed as argument to secure monitor calls, there is a need to provide an interface for the L2C driver to ask the firmware to configure the hardware accor

[PATCH v8 6/7] ARM: EXYNOS: Add support for non-secure L2X0 resume

2014-11-13 Thread Marek Szyprowski
From: Tomasz Figa On Exynos SoCs it is necessary to resume operation of L2C early in assembly code, because otherwise certain systems will crash. This patch adds necessary code to non-secure resume handler. Signed-off-by: Tomasz Figa [rewrote the code accessing l2x0_saved_regs] Sigend-off-by: M

Re: [PATCH 1/2] mm: page_isolation: check pfn validity before access

2014-11-13 Thread Michal Hocko
On Thu 13-11-14 09:46:34, Weijie Yang wrote: > On Thu, Nov 13, 2014 at 3:34 AM, Michal Hocko wrote: > > On Thu 06-11-14 16:08:02, Weijie Yang wrote: > >> In the undo path of start_isolate_page_range(), we need to check > >> the pfn validity before access its page, or it will trigger an > >> addres

Re: [PATCH v9 9/9] drm: bridge/dw_hdmi: add rockchip rk3288 support

2014-11-13 Thread Zubair Lutfullah Kakakhel
On 13/11/14 12:57, Andy Yan wrote: > rk3288 hdmi is compatible with Designware hdmi > > this patch is depend on patch by Mark Yao Add drm > driver for Rockchip Socs > > see https://lkml.org/lkml/2014/10/8/201 > > Signed-off-by: Andy Yan > Signed-off-by: Yakir Yang > > --- > > Changes in v9

Re: BUG() at boot in __phys_addr with DEBUG_VIRTUAL

2014-11-13 Thread Matt Fleming
On Wed, 2014-11-12 at 07:20 -0800, Dave Hansen wrote: > > The path that we're actually hitting this from is: > > > __split_large_page(struct cpa_data *cpa, pte_t *kpte, unsigned long > ... > > if (pfn_range_is_mapped(PFN_DOWN(__pa(address)), > > PFN_DOWN(__

Re: [PATCH v4 4/7] phy: add support for USB cluster on the Armada 375 SoC

2014-11-13 Thread Thomas Petazzoni
Dear Gregory CLEMENT, On Thu, 13 Nov 2014 12:47:46 +0100, Gregory CLEMENT wrote: > The Armada 375 SoC comes with an USB2 host and device controller and > an USB3 controller. The USB cluster control register allows to manage > common features of both USB controllers. > > This commit adds a driver

Re: [PATCH v2] PM / Sleep: Timer quiesce in freeze state

2014-11-13 Thread Thomas Gleixner
On Thu, 13 Nov 2014, Li, Aubrey wrote: > On 2014/11/13 17:10, Thomas Gleixner wrote: > > On Thu, 13 Nov 2014, Peter Zijlstra wrote: > >> On Wed, Nov 12, 2014 at 10:09:47PM +0100, Thomas Gleixner wrote: > >> But sure, we can add suspend notifiers to stuff to shut down timers; I > >> should have a p

Re: [Patch V1 0/6] Refine generic/PCI MSI irqodmian interfaces

2014-11-13 Thread Jiang Liu
On 2014/11/13 20:55, Yijing Wang wrote: > On 2014/11/13 20:39, Jiang Liu wrote: >> >> >> On 2014/11/13 20:28, Yijing Wang wrote: >>> On 2014/11/13 19:43, Jiang Liu wrote: This patch set is based on tip/irq/irqdomain and tries to refine interfaces to support irqdomain for generic MSI and P

Re: [PATCH] Fix thinko in iov_iter_single_seg_count

2014-11-13 Thread Al Viro
On Thu, Nov 13, 2014 at 08:15:23PM +1100, Paul Mackerras wrote: > The branches of the if (i->type & ITER_BVEC) statement in > iov_iter_single_seg_count() are the wrong way around; if ITER_BVEC is > clear then we use i->bvec, when we should be using i->iov. This fixes > it. > > In my case, the sym

Re: [Patch V1 0/6] Refine generic/PCI MSI irqodmian interfaces

2014-11-13 Thread Jiang Liu
On 2014/11/13 20:55, Yijing Wang wrote: > On 2014/11/13 20:39, Jiang Liu wrote: >> >> >> On 2014/11/13 20:28, Yijing Wang wrote: >>> On 2014/11/13 19:43, Jiang Liu wrote: This patch set is based on tip/irq/irqdomain and tries to refine interfaces to support irqdomain for generic MSI and P

Re: [Patch V1 3/6] genirq: Introduce msi_irq_domain_{alloc|free}_irqs()

2014-11-13 Thread Yijing Wang
On 2014/11/13 20:41, Jiang Liu wrote: > On 2014/11/13 20:34, Yijing Wang wrote: >> Gerry, this patch seems to be the same as last one. > Do you means patch 6/6? They are different:) Oh, it's not the patch problem, I received two double patch. > >> >> >> On 2014/11/13 19:43, Jiang Liu wrote: >>>

[PATCH v9 8/9] dt-bindings: Add documentation for rockchip dw hdmi

2014-11-13 Thread Andy Yan
Signed-off-by: Andy Yan --- Changes in v9: None Changes in v8: - Add documentation for rockchip dw hdmi Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None .../devicetree/bindings/video/dw_hdmi-rockchip.txt | 43 +

[RFC PATCH 0/3] DRA72: MMC HS200 support

2014-11-13 Thread Kishon Vijay Abraham I
Added HS200 to improve EMMC throughput for dra72. With HS200 == Read throughput ./dd if=/dev/mmcblk0 of=/dev/null bs=1M count=100 oflag=sync 100+0 records in 100+0 records out 104857600 bytes (105 MB) copied, 1.46028 s, 71.8 MB/s Write throughput root@dra7xx-evm:/# ./dd if=/dev/zero o

[RFC PATCH 1/3] mmc: omap_hsmmc: set host capabilities by reading MMCHS_CAPA2 register

2014-11-13 Thread Kishon Vijay Abraham I
From: Viswanath Puttagunta set SDR104, SDR50, DDR50 and HS200 capability flags to caps/caps2 by reading MMCHS_CAPA2 register. Signed-off-by: Viswanath Puttagunta Signed-off-by: Sourav Poddar Signed-off-by: Kishon Vijay Abraham I Suggested-by: Misael Lopez Cruz --- drivers/mmc/host/omap_hsmm

[PATCH v9 9/9] drm: bridge/dw_hdmi: add rockchip rk3288 support

2014-11-13 Thread Andy Yan
rk3288 hdmi is compatible with Designware hdmi this patch is depend on patch by Mark Yao Add drm driver for Rockchip Socs see https://lkml.org/lkml/2014/10/8/201 Signed-off-by: Andy Yan Signed-off-by: Yakir Yang --- Changes in v9: - move some phy configuration to platform driver Changes in

Re: [Patch V1 0/6] Refine generic/PCI MSI irqodmian interfaces

2014-11-13 Thread Yijing Wang
On 2014/11/13 20:39, Jiang Liu wrote: > > > On 2014/11/13 20:28, Yijing Wang wrote: >> On 2014/11/13 19:43, Jiang Liu wrote: >>> This patch set is based on tip/irq/irqdomain and tries to refine >>> interfaces to support irqdomain for generic MSI and PCI MSI. >>> >>> Patch 1 is just minor fixes fo

[RFC PATCH 2/3] mmc: omap_hsmmc: add tuning support

2014-11-13 Thread Kishon Vijay Abraham I
From: Balaji T K MMC tuning procedure is required to support SD card UHS1-SDR104 mode and EMMC HS200 mode. The tuning function omap_execute_tuning() will only be called by the MMC/SD core if the corresponding speed modes are supported by the OMAP silicon which is set in the mmc host "caps" field

[RFC PATCH 3/3] ARM: dts: dra72-evm: Set the max-frequency to 192MHz

2014-11-13 Thread Kishon Vijay Abraham I
Set the maximum operating frequency of MMC2 to 192MHz. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/dra72-evm.dts |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/dra72-evm.dts b/arch/arm/boot/dts/dra72-evm.dts index abbaaa7..5cc1110 100644 --- a/arch/arm/b

[PATCH v9 7/9] drm: bridge/dw_hdmi: convert dw-hdmi to drm_bridge mode

2014-11-13 Thread Andy Yan
From: Yakir Yang keep the connector & birdge in dw_hdmi.c, handle encoder in dw_hdmi-imx.c, as most of the encoder operation are platform specific such as crtc select and panel format set Signed-off-by: Andy Yan Signed-off-by: Yakir Yang --- Changes in v9: None Changes in v8: None Changes in

[RFC PATCH 0/3] DRA72: MMC HS200 support

2014-11-13 Thread Kishon Vijay Abraham I
Added HS200 to improve EMMC throughput for dra72. With HS200 == Read throughput ./dd if=/dev/mmcblk0 of=/dev/null bs=1M count=100 oflag=sync 100+0 records in 100+0 records out 104857600 bytes (105 MB) copied, 1.46028 s, 71.8 MB/s Write throughput root@dra7xx-evm:/# ./dd if=/dev/zero o

[PATCH v9 6/9] drm: bridge/dw_hdmi: add support for multi byte register width access

2014-11-13 Thread Andy Yan
On rockchip rk3288, only word(32-bit) accesses are permitted for hdmi registers. Byte width accesses (writeb, readb) generate an imprecise external abort. Signed-off-by: Andy Yan --- Changes in v9: None Changes in v8: None Changes in v7: None Changes in v6: - move some modification to patch#6

[PATCH v9 1/9] staging: imx-drm: imx-hdmi: make checkpatch happy

2014-11-13 Thread Andy Yan
CHECK: Alignment should match open parenthesis + if ((hdmi->vic == 10) || (hdmi->vic == 11) || + (hdmi->vic == 12) || (hdmi->vic == 13) || CHECK: braces {} should be used on all arms of this statement + if (hdmi->hdmi_data.video_mode.mdvi) [...] + else { [...] Sign

Re: [PATCH] of/base: Fix PowerPC address parsing hack

2014-11-13 Thread Benjamin Herrenschmidt
On Thu, 2014-11-13 at 12:44 +, Grant Likely wrote: > On Thu, Nov 13, 2014 at 12:45 AM, Benjamin Herrenschmidt > wrote: > > What about this one instead ? I want to cache it because that function > > can be called quite a while and doing two additional property lookup > > and string compares eve

[PATCH v9 2/9] staging: imx-drm: imx-hdmi: return defer if can't get ddc i2c adapter

2014-11-13 Thread Andy Yan
drm driver may probe before the i2c bus, so the driver should defer probing until it is available Signed-off-by: Andy Yan --- Changes in v9: None Changes in v8: None Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: - defer probe ddc i2c adapter Changes in v3: None Cha

[PATCH v9 5/9] dt-bindings: add document for dw_hdmi

2014-11-13 Thread Andy Yan
Signed-off-by: Andy Yan --- Changes in v9: None Changes in v8: - correct some spelling mistake - modify ddc-i2c-bus and interrupt description Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None .../devicetree/bindings/drm/bri

[PATCH v9 4/9] staging: imx-drm: imx-hdmi: move imx-hdmi to bridge/dw_hdmi

2014-11-13 Thread Andy Yan
the original imx hdmi driver is under staging/imx-drm, which depends on imx-drm, so move the imx hdmi driver out to drm/bridge and rename imx-hdmi to dw_hdmi Signed-off-by: Andy Yan --- Changes in v9: None Changes in v8: None Changes in v7: None Changes in v6: None Changes in v5: None Changes i

[PATCH v9 3/9] staging: imx-drm: imx-hdmi: split imx soc specific code from imx-hdmi

2014-11-13 Thread Andy Yan
IMX6 and Rockchip RK3288 and JZ4780 (Ingenic Xburst/MIPS) use the interface compatible Designware HDMI IP, but they also have some lightly differences, such as phy pll configuration, register width, 4K support, clk useage, and the crtc mux configuration is also platform specific. To reuse the imx

RE: [PATCH] x86: Configure NX support earlier in setup_arch

2014-11-13 Thread Thomas Gleixner
On Thu, 13 Nov 2014, b_b_si...@dell.com wrote: > I feel this can be a valid scenario where user wants to disable the > memory protection (NX flag disable) for his requirement, in that > case he will hit this issue. It's not about feelings. If the user wants to disable NX he can do so already via t

[PATCH v9 0/9] dw-hdmi: convert imx hdmi to bridge/dw_hdmi

2014-11-13 Thread Andy Yan
We found Freescale imx6 and Rockchip rk3288 and Ingenic JZ4780 (Xburst/MIPS) use the interface compatible Designware HDMI IP, but they also have some lightly differences, such as phy pll configuration, register width(imx hdmi register is one byte, but rk3288 is 4 bytes width and can only be access

Re: [RFC PATCH 1/4] ARM: KVM: on unhandled IO mem abort, route the call to the KVM MMIO bus

2014-11-13 Thread Andre Przywara
Hi Nikolay, On 13/11/14 12:29, Nikolay Nikolaev wrote: > On Thu, Nov 13, 2014 at 1:52 PM, Andre Przywara > wrote: >> Hi Nikolay, >> >> On 13/11/14 11:37, Marc Zyngier wrote: >>> [fixing Andre's email address] >>> >>> On 13/11/14 11:20, Christoffer Dall wrote: On Thu, Nov 13, 2014 at 12:45:4

[PATCH net-next] rhashtable: Drop gfp_flags arg in insert/remove functions

2014-11-13 Thread Thomas Graf
Reallocation is only required for shrinking and expanding and both rely on a mutex for synchronization and callers of rhashtable_init() are in non atomic context. Therefore, no reason to continue passing allocation hints through the API. Instead, use GFP_KERNEL and add __GFP_NOWARN | __GFP_NORETRY

Re: [PATCH 5/5] mm, compaction: more focused lru and pcplists draining

2014-11-13 Thread Vlastimil Babka
On 11/04/2014 01:37 AM, Joonsoo Kim wrote: On Mon, Nov 03, 2014 at 09:12:33AM +0100, Vlastimil Babka wrote: On 10/27/2014 08:41 AM, Joonsoo Kim wrote: On Tue, Oct 07, 2014 at 05:33:39PM +0200, Vlastimil Babka wrote: And, I wonder why last_migrated_pfn is set after isolate_migratepages(). Not

Re: [PATCH] of/base: Fix PowerPC address parsing hack

2014-11-13 Thread Grant Likely
On Thu, Nov 13, 2014 at 12:45 AM, Benjamin Herrenschmidt wrote: > What about this one instead ? I want to cache it because that function > can be called quite a while and doing two additional property lookup > and string compares every time might hurt some platforms. > > > > We have a histori

Re: [Patch V1 3/6] genirq: Introduce msi_irq_domain_{alloc|free}_irqs()

2014-11-13 Thread Jiang Liu
On 2014/11/13 20:34, Yijing Wang wrote: > Gerry, this patch seems to be the same as last one. Do you means patch 6/6? They are different:) > > > On 2014/11/13 19:43, Jiang Liu wrote: >> Introduce msi_irq_domain_{alloc|free}_irqs() to alloc/free interrupts >> from irqdomain for generic MSI interr

[x86, irq] INFO: task swapper/0:1 blocked for more than 120 seconds.

2014-11-13 Thread Fengguang Wu
smoke-201411130604' git bisect good 04689e749b7ec156291446028a0ce2e685bf3855 # 17:34 1000+ 0 Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm git bisect good bbdef57970d5e1887de755474ff1562baa17ef11 # 18:03 1000+ 0 Add linux-next specific fil

Re: [Patch V1 0/6] Refine generic/PCI MSI irqodmian interfaces

2014-11-13 Thread Jiang Liu
On 2014/11/13 20:28, Yijing Wang wrote: > On 2014/11/13 19:43, Jiang Liu wrote: >> This patch set is based on tip/irq/irqdomain and tries to refine >> interfaces to support irqdomain for generic MSI and PCI MSI. >> >> Patch 1 is just minor fixes for tip/irq/irqdomain. >> >> Patch 2 introduces som

Re: [Patch V1 3/6] genirq: Introduce msi_irq_domain_{alloc|free}_irqs()

2014-11-13 Thread Yijing Wang
Gerry, this patch seems to be the same as last one. On 2014/11/13 19:43, Jiang Liu wrote: > Introduce msi_irq_domain_{alloc|free}_irqs() to alloc/free interrupts > from irqdomain for generic MSI interrupts. > > Signed-off-by: Jiang Liu > --- > include/linux/msi.h | 35 +++

[PATCH] leds: lp8860: Introduce TI lp8860 4 channel LED driver

2014-11-13 Thread Dan Murphy
Introduce the Texas Instruments lp8860 4 channel LED driver. This driver configures the device in display custer mode as this seems to be the most used configuration at the time of the driver configuration. For more product information please see the link below: http://www.ti.com/product/lp8860-q

Impact of removing VM_EXEC from brk area

2014-11-13 Thread Ralf Baechle
A patch to remove VM_EXEC from VM_DATA_DEFAULT_FLAGS for MIPS has been submitted to me with the primary motivation for this change being some performance improvment. In other words, the patch would remove execute permission from a process brk area. It's however unclear to me how much software wre

Re: [PATCH] x86: Configure NX support earlier in setup_arch

2014-11-13 Thread Borislav Petkov
On Thu, Nov 13, 2014 at 12:09:02PM +0530, b_b_si...@dell.com wrote: > I feel this can be a valid scenario where user wants to disable the > memory protection (NX flag disable) for his requirement, in that case he > will hit this issue. So request you to please revisit this patch. First of all, ple

Re: [Patch V1 0/6] Refine generic/PCI MSI irqodmian interfaces

2014-11-13 Thread Yijing Wang
On 2014/11/13 19:43, Jiang Liu wrote: > This patch set is based on tip/irq/irqdomain and tries to refine > interfaces to support irqdomain for generic MSI and PCI MSI. > > Patch 1 is just minor fixes for tip/irq/irqdomain. > > Patch 2 introduces some helpers to hide struct msi_desc implementation

Re: [RFC PATCH 1/4] ARM: KVM: on unhandled IO mem abort, route the call to the KVM MMIO bus

2014-11-13 Thread Nikolay Nikolaev
On Thu, Nov 13, 2014 at 1:52 PM, Andre Przywara wrote: > Hi Nikolay, > > On 13/11/14 11:37, Marc Zyngier wrote: >> [fixing Andre's email address] >> >> On 13/11/14 11:20, Christoffer Dall wrote: >>> On Thu, Nov 13, 2014 at 12:45:42PM +0200, Nikolay Nikolaev wrote: >>> >>> [...] >>> >> >> G

Re: [PATCH v2 1/2] spi: add support for DLN-2 USB-SPI adapter

2014-11-13 Thread Johan Havold
On Wed, Nov 12, 2014 at 03:38:09PM +0200, Laurentiu Palcu wrote: > This adds support for Diolan DLN2 USB-SPI adapter. > > Information about the USB protocol interface can be found in the > Programmer's Reference Manual [1], see section 5.4.6 for the SPI > master module commands and responses. > >

Re: [PATCH 03/10] binfmt_elf: allow arch code to examine PT_LOPROC ... PT_HIPROC headers

2014-11-13 Thread Thierry Reding
On Thu, Nov 13, 2014 at 01:16:19AM +0100, Ralf Baechle wrote: > On Wed, Nov 12, 2014 at 02:41:04PM +0100, Thierry Reding wrote: > > > Hi Ralf, > > > > This commit showed up in linux-next and causes a warning in linux/elf.h > > because it doesn't know struct file. I've fixed it locally with this:

<    3   4   5   6   7   8   9   10   >