[PATCH v11 14/19] serial: amba-pl011: Move pl011_hwinit()

2014-09-02 Thread Daniel Thompson
This patch hoists pl011_hwinit() further up within the driver. This permits a later patch to introduce an extended .poll_init callback that does more than pure hardware initialization. Signed-off-by: Daniel Thompson daniel.thomp...@linaro.org Cc: Russell King li...@arm.linux.org.uk Cc: Greg

[PATCH v11 18/19] serial: imx: clean up imx_poll_get_char()

2014-09-02 Thread Daniel Thompson
From: Dirk Behme dirk.be...@de.bosch.com Looking at the get_poll_char() function of the 8250.c serial driver, we learn: * poll_get_char() doesn't have to save/disable/restore the interrupt registers. No interrupt handling is needed in this function at all. Remove it. * Don't block in case

[PATCH v11 17/19] serial: asc: Adopt readl_/writel_relaxed()

2014-09-02 Thread Daniel Thompson
The architectures where this peripheral exists (ARM and SH) have expensive implementations of writel(), reliant on spin locks and explicit L2 cache management. These architectures provide a cheaper writel_relaxed() which is much better suited to peripherals that do not perform DMA. The situation

[PATCH v11 19/19] serial: imx: Add support for KGDB's FIQ/NMI mode

2014-09-02 Thread Daniel Thompson
This patch makes it possible to use the imx uart with KGDB's FIQ/NMI mode. Main changes are: .poll_init() will, if KGDB+FIQ are enabled, perform deeper hardware initialization to ensure the serial port is always active (required otherwise FIQ is not triggered by UART activity). This has an

[PATCH v11 12/19] serial: kgdb_nmi: No CON_ENABLED by default

2014-09-02 Thread Daniel Thompson
At present this console is selectively enabled/disabled by NULL checking arch_kgdb_ops.enable_nmi. In practice this requires the architecture dependant code to implement some kind of control (e.g. module arguments) to enable/disable the feature. The kernel already provide the perfectly adequade

[PATCH v11 13/19] serial: amba-pl011: Use container_of() to get uart_amba_port

2014-09-02 Thread Daniel Thompson
Universally adopt container_of() for all pointer conversion from uart_port to uart_amba_port. Signed-off-by: Daniel Thompson daniel.thomp...@linaro.org --- drivers/tty/serial/amba-pl011.c | 54 +++-- 1 file changed, 36 insertions(+), 18 deletions(-) diff

Re: [PATCH v2 6/6] mm/balloon_compaction: general cleanup

2014-09-02 Thread Rafael Aquini
On Sat, Aug 30, 2014 at 08:41:27PM +0400, Konstantin Khlebnikov wrote: From: Konstantin Khlebnikov k.khlebni...@samsung.com * move special branch for balloon migraion into migrate_pages * remove special mapping for balloon and its flag AS_BALLOON_MAP * embed struct balloon_dev_info into

Re: [PATCH] kernel/signal.c: whitespace fixes

2014-09-02 Thread Oleg Nesterov
On 09/02, Jiri Kosina wrote: On Tue, 2 Sep 2014, Vishnu Pratap Singh wrote: From: vishnu.ps vishnu...@samsung.com Fix minor errors and warning messages in kernel/signal.c. These errors were reported by checkpatch while working with some modifications in signal.c file. ERROR: code

[PATCH v11 16/19] serial: asc: Add support for KGDB's FIQ/NMI mode

2014-09-02 Thread Daniel Thompson
Add a .poll_init() function that enables UART RX and registers the UART's irq with KGDB. By providing this information to KGDB the serial driver offers permission for KGDB to route the UART interrupt signal from the drivers own handler to KGDBs FIQ handler (which will eventually use the UART's

[PATCH v11 15/19] serial: amba-pl011: Pass FIQ information to KGDB.

2014-09-02 Thread Daniel Thompson
Speculatively register a FIQ resource with KGDB. KGDB will only accept it if the kgdb/fiq feature is enabled (both with compile time and runtime switches) and the interrupt controller supports FIQ. By providing this information to KGDB the serial driver offers permission for KGDB to route the

[PATCH v3 0/4] pinctrl: qcom: Add APQ8084 pinctrl support

2014-09-02 Thread Georgi Djakov
This set of patches adds pinctrl support for the Qualcomm APQ8084 platform. The first patch adds the pin definitions. The second patch contains the devicetree binding documentation. The third patch adds the DT node. The last patch makes the INTR_TARGET_PROC_APPS value configurable and defines it

[PATCH v3 4/4] pinctrl: qcom: Make the target processor value configurable

2014-09-02 Thread Georgi Djakov
Currently the value used for specify that interrupts from the gpio should be routed to the application processor is hardcoded for all Qualcomm SoCs. But the new APQ8084 SoC uses a different value. To resolve this, we make this value configurable for each SoC. For all existing SoCs we continue to

[PATCH v3 2/4] dt: Document Qualcomm APQ8084 pinctrl binding

2014-09-02 Thread Georgi Djakov
Define a new binding for the Qualcomm TLMM (Top-Level Mode Mux) based pin controller inside the APQ8084. Acked-by: Bjorn Andersson bjorn.anders...@sonymobile.com Signed-off-by: Georgi Djakov gdja...@mm-sol.com --- .../bindings/pinctrl/qcom,apq8084-pinctrl.txt | 179 1

[GIT PULL] arm64: second wave of arm64 fixes for 3.17

2014-09-02 Thread Will Deacon
Hello Linus, Please can you pull these fixes for arm64? They address some issues found by running smatch on the arch code (ignoring the false positives) and also stop 32-bit Android from losing track of its stack. There's one additional irq migration fix in the pipeline, but it came in after I'd

[PATCH v3 1/4] pinctrl: qcom: Add APQ8084 pinctrl support

2014-09-02 Thread Georgi Djakov
This patchset adds pinctrl support for the Qualcomm APQ8084 platform. Reviewed-by: Andy Gross agr...@codeaurora.org Signed-off-by: Georgi Djakov gdja...@mm-sol.com --- drivers/pinctrl/qcom/Kconfig |8 + drivers/pinctrl/qcom/Makefile |1 +

Re: [REGRESSION] i915: failure to see Dell 30 monitor connected to a Lenovo Haswell docking station

2014-09-02 Thread Theodore Ts'o
On Tue, Sep 02, 2014 at 09:23:16PM +1000, Dave Airlie wrote: Interesting, I have the same combo of hw available on my desk at work, but it might be a couple of days before I can get to the office to debug it, can you boot with drm.debug=6 and get me the dmesg? I'll do that when I get

[PATCH v3 3/4] ARM: dts: qcom: Add TLMM DT node for APQ8084

2014-09-02 Thread Georgi Djakov
This patch adds the TLMM node for the APQ8084 platform. Reviewed-by: Bjorn Andersson bjorn.anders...@sonymobile.com Signed-off-by: Georgi Djakov gdja...@mm-sol.com --- arch/arm/boot/dts/qcom-apq8084.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git

Re: linux-next: Tree for Sep 1

2014-09-02 Thread Bartlomiej Zolnierkiewicz
Hi, On Tuesday, September 02, 2014 12:07:28 AM Mark Brown wrote: Changes since 20140829: The akpm-current gained a conflict against Linus' tree. Non-merge commits (relative to Linus' tree): 2553 2686 files changed, 98625 insertions(+), 79475 deletions(-) I have created today's

Re: [PATCH] Drivers:firewire: fix style errors in core-card.c This is a patch in the core-card.c file which fixes up 2 warnings found by the checkpatch.pl tool Signed-off-by: Sander Nemvalts snemva..

2014-09-02 Thread Stefan Richter
Folding two replies into one. On Sep 02 Sander Nemvalts wrote: On Sep 2, 2014 12:56 AM, Stefan Richter stef...@s5r6.in-berlin.de wrote: On Sep 01 Sander Nemvalts wrote: --- a/drivers/firewire/core-card.c +++ b/drivers/firewire/core-card.c @@ -89,7 +89,8 @@ static size_t

Re: [RFC PATCH 1/1] drivers: introduce ARM SBSA generic UART driver

2014-09-02 Thread Rob Herring
On Tue, Sep 2, 2014 at 5:06 AM, Andre Przywara andre.przyw...@arm.com wrote: Hi Rob, thanks for looking at this. On 02/09/14 04:06, Rob Herring wrote: On Fri, Aug 29, 2014 at 11:13 AM, Andre Przywara andre.przyw...@arm.com wrote: The ARM Server Base System Architecture (SBSA) describes a

Re: early microcode: how to disable at runtime?

2014-09-02 Thread Henrique de Moraes Holschuh
On Tue, 02 Sep 2014, Borislav Petkov wrote: This can be a very big deal when things go wrong: it is hard for the regular user to recover from an initramfs image that crashes the system, and the early initramfs has no disable trigger. This maybe is a serious problem but disabling microcode

Re: linux-next: Tree for Sep 1

2014-09-02 Thread Bartlomiej Zolnierkiewicz
[ this time with the patch and right cc: list, sorry for the noise ] Hi, On Tuesday, September 02, 2014 12:07:28 AM Mark Brown wrote: Changes since 20140829: The akpm-current gained a conflict against Linus' tree. Non-merge commits (relative to Linus' tree): 2553 2686 files changed,

[PATCH v2 2/3] ARM: dts: exynos3250: Add CMU node for DMC domain clocks

2014-09-02 Thread Krzysztof Kozlowski
Add CMU (Clock Management Unit) node for DMC (Dynamic Memory Controller) domain clocks on Exynos3250. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- arch/arm/boot/dts/exynos3250.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/exynos3250.dtsi

[PATCH v2 3/3] dt-bindings: clk: samsung: Document the DMC domain of Exynos3250 CMU

2014-09-02 Thread Krzysztof Kozlowski
Document the new compatible for clock in DMC (Dynamic Memory Controller) domain of Exynos3250 Clock Management Unit (CMU). Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- Documentation/devicetree/bindings/clock/exynos3250-clock.txt | 10 +- 1 file changed, 9 insertions(+),

Re: [PATCH] Next branch: authgss: authgss.c: Fix warnings for uninitizlized variable expire

2014-09-02 Thread Bruce Fields
On Tue, Sep 02, 2014 at 01:52:15PM +0300, Boaz Harrosh wrote: On 09/01/2014 04:50 PM, Trond Myklebust wrote: On Mon, Sep 1, 2014 at 7:32 AM, Shakil A Khan shakilk1...@gmail.com wrote: Signed-off-by : Shakil A Khan shakilk1...@gmail.com --- net/sunrpc/auth_gss/auth_gss.c |2 +- 1

[PATCH v2 1/3] clk: samsung: exynos3250: Register DMC clk provider

2014-09-02 Thread Krzysztof Kozlowski
Add clock provider for clocks in DMC domain including EPLL and BPLL. The DMC clocks are necessary for Exynos3 devfreq driver. The DMC clock domain uses different address space (0x105C) than standard clock domain (0x1003 - 0x1005). The difference is huge enough to add new DT node for

Re: [RFC PATCH for Juno 1/2] net: smsc911x add support for probing from ACPI

2014-09-02 Thread Catalin Marinas
On Mon, Sep 01, 2014 at 06:32:45PM +0100, Graeme Gregory wrote: On Mon, Sep 01, 2014 at 07:11:44PM +0200, Arnd Bergmann wrote: On Monday 01 September 2014 18:04:47 Catalin Marinas wrote: On Mon, Sep 01, 2014 at 04:06:00PM +0100, Hanjun Guo wrote: +#ifdef CONFIG_ACPI +/* Configure

[PATCH] fat: Simplify calc_fat_clusters code

2014-09-02 Thread Seunghun Lee
Code for fat12 and fat16/32 can be merged to one. Signed-off-by: Seunghun Lee way...@gmail.com --- fs/fat/inode.c |7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/fs/fat/inode.c b/fs/fat/inode.c index 756aead..6992dea 100644 --- a/fs/fat/inode.c +++ b/fs/fat/inode.c

Re: [PATCH 01/12] Staging: rtl8821ae: hal_bt_coexist: fix commenting style

2014-09-02 Thread Dan Carpenter
On Tue, Sep 02, 2014 at 07:22:12AM -0400, An Tuan Ha wrote: I see, thanks, I will fix it, I was just worried about the subjects being too long so I just stuck with the same subject; is there a character limit on how long the subject line should be? Or as long as it's reasonable, it'll be fine?

Re: nohz fail (was: perf related boot hang.)

2014-09-02 Thread Dave Jones
On Mon, Sep 01, 2014 at 10:14:31PM +0200, Frederic Weisbecker wrote: On Fri, Aug 22, 2014 at 10:00:09AM -0400, Dave Jones wrote: On Fri, Aug 22, 2014 at 08:01:48AM +0200, Catalin Iacob wrote: On Thu, Aug 21, 2014 at 4:56 PM, Frederic Weisbecker fweis...@gmail.com wrote: Can you

Re: [STLinux Kernel] [PATCH v11 17/19] serial: asc: Adopt readl_/writel_relaxed()

2014-09-02 Thread Peter Griffin
On Tue, 02 Sep 2014, Daniel Thompson wrote: The architectures where this peripheral exists (ARM and SH) have expensive implementations of writel(), reliant on spin locks and explicit L2 cache management. These architectures provide a cheaper writel_relaxed() which is much better suited to

Re: [Linaro-acpi] [RFC PATCH for Juno 1/2] net: smsc911x add support for probing from ACPI

2014-09-02 Thread Arnd Bergmann
On Tuesday 02 September 2014 14:26:52 Catalin Marinas wrote: Not much at the KS, I think it will need to be followed up on lkml (https://lkml.org/lkml/2014/8/17/10 is the last I'm aware of, not sure about any updates in the meantime). While the above gets sorted, what's the position from

Re: [PATCH v2 1/3] ARM: dts: Add Peach Pit dts entry for Atmel touchpad

2014-09-02 Thread Nick Dyer
On 27/08/14 15:22, Javier Martinez Canillas wrote: If there was a BTN_NONE or KEY_UNUSED it would had been better but I think that making a distinction between these two cases (reserved pin vs GPIO available but not used) is useful. Maybe Nick can comment here. Yes, this is probably useful

Re: [RFC PATCH 1/1] drivers: introduce ARM SBSA generic UART driver

2014-09-02 Thread Arnd Bergmann
On Tuesday 02 September 2014 08:20:53 Rob Herring wrote: This alone is not okay. There is no such implementation of hardware. But the SBSA explicitly allows this. I don't know of any vendor who just implements the subset, but I've been told that this has been asked for. To use

Re: [GIT PULL 4/4] at91: dt for 3.18 #2

2014-09-02 Thread Nicolas Ferre
On 01/09/2014 19:38, Nicolas Ferre : Arnd, Olof, Kevin, A little bit more material for the DT branch. I didn't want to the one I've just sent you because this material is not related to the big cleanup addressed by previous 3 pull-requests. It is very basic and simple DT updates and a use

Re: [PATCH v5 3/3] kprobes: arm: enable OPTPROBES for ARM 32

2014-09-02 Thread Jon Medhurst (Tixy)
I gave the patches a quick test and in doing so found a bug which stops any probes actually being optimised, and the same bug should affect X86, see comment below... On Wed, 2014-08-27 at 21:02 +0800, Wang Nan wrote: [...] +int arch_prepare_optimized_kprobe(struct optimized_kprobe *op) +{ +

Re: [PATCH] mm: page_alloc: Default to node-ordering on 64-bit NUMA machines

2014-09-02 Thread Johannes Weiner
On Mon, Sep 01, 2014 at 01:55:51PM +0100, Mel Gorman wrote: Zones are allocated by the page allocator in either node or zone order. Node ordering is preferred in terms of locality and is applied automatically in one of three cases. 1. If a node has only low memory 2. If DMA/DMA32 is a

Re: [PATCH v4] apf27dev: add max1027 in the dts

2014-09-02 Thread Shawn Guo
On Mon, Sep 01, 2014 at 08:44:32PM +0200, Philippe Reynes wrote: Signed-off-by: Philippe Reynes trem...@gmail.com Added ARM: dts: as the patch subject prefix, and applied the patch. Shawn --- arch/arm/boot/dts/imx27-apf27dev.dts | 17 + 1 files changed, 17

Re: [PATCH v11 17/19] serial: asc: Adopt readl_/writel_relaxed()

2014-09-02 Thread Maxime Coquelin
Hi Daniel, On 09/02/2014 03:00 PM, Daniel Thompson wrote: The architectures where this peripheral exists (ARM and SH) have expensive implementations of writel(), reliant on spin locks and explicit L2 cache management. These architectures provide a cheaper writel_relaxed() which is much better

Re: [PATCH] Next branch: authgss: authgss.c: Fix warnings for uninitizlized variable expire

2014-09-02 Thread Boaz Harrosh
On 09/02/2014 04:21 PM, Bruce Fields wrote: You'd rather avoid sprinkling that all over, though. If nothing else it increases the chances you'll suppress a legimate warning some day. But this is exactly why it was created. If you do the = 0 then it is gone forever. If you have missed a

Re: [PATCH 6/6] mm: page_alloc: Reduce cost of the fair zone allocation policy

2014-09-02 Thread Johannes Weiner
On Mon, Aug 11, 2014 at 02:34:05PM +0200, Vlastimil Babka wrote: On 08/11/2014 02:12 PM, Mel Gorman wrote: On Fri, Aug 08, 2014 at 05:27:15PM +0200, Vlastimil Babka wrote: On 07/09/2014 10:13 AM, Mel Gorman wrote: --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -1604,6 +1604,9 @@ again: }

Re: [PATCH] mm: page_alloc: Default to node-ordering on 64-bit NUMA machines

2014-09-02 Thread Kamezawa Hiroyuki
(2014/09/02 22:51), Johannes Weiner wrote: On Mon, Sep 01, 2014 at 01:55:51PM +0100, Mel Gorman wrote: Zones are allocated by the page allocator in either node or zone order. Node ordering is preferred in terms of locality and is applied automatically in one of three cases. 1. If a node has

回复: Status of 'unicore32' architecture in Linux kernel

2014-09-02 Thread Xuetao Guan
Sorry for late reply. - Guenter Roeck li...@roeck-us.net 写道: Status of 'unicore32' architecture in Linux kernel -- The idea was to create a working kernel and initramfs for the ongoing Linux kernel test project. This summary describes the

Re: [PATCH RESEND] unicore32: Fix build error

2014-09-02 Thread Xuetao Guan
Signed-off-by: Guan Xuetao g...@mprc.pku.edu.cn - Guenter Roeck li...@roeck-us.net 写道: unicore32 builds fail with arch/unicore32/kernel/signal.c: In function ‘setup_frame’: arch/unicore32/kernel/signal.c:257: error: ‘usig’ undeclared (first use in this function)

Re: [PATCH] staging: unisys: uislib: uisqueue.c: fixed sparse warning of context imbalance

2014-09-02 Thread Dan Carpenter
On Tue, Sep 02, 2014 at 04:39:47PM +0530, Sudip Mukherjee wrote: fixed sparse warning : context imbalance in 'do_locked_client_insert' different lock contexts for basic block spin_unlock_irqrestore is called at a later stage before returning from the function if

Re: linux-next: Tree for Sep 1

2014-09-02 Thread Christoph Lameter
On Tue, 2 Sep 2014, Bartlomiej Zolnierkiewicz wrote: Commit 532d0d0690d1 (irqchips: Replace __this_cpu_ptr uses) incorrectly converted *__this_cpu_ptr() to raw_cpu_read() instead of *raw_cpu_ptr(). Fix it. Oww.. This is double indirection deal there. A percpu offset pointing to a pointer?

Re: [PATCH 1/4] mfd: arizona: Add additional dummy IRQ callbacks

2014-09-02 Thread Charles Keepax
On Thu, Aug 21, 2014 at 12:56:31PM +0100, Lee Jones wrote: On Tue, 12 Aug 2014, Charles Keepax wrote: We use a dummy IRQ chip to dispatch interrupts to the two seperate IRQ domains on the Arizona devices. Currently only the enable and disable callbacks are defined however, there are some

Re: [PATCH 4/4] x86, fpu: irq_fpu_usable: kill all checks except !in_kernel_fpu

2014-09-02 Thread Oleg Nesterov
Sorry for noise, but just in case... On 09/02, Oleg Nesterov wrote: Do you think this can work? Of course, even if this can work, we should do this later. Let's start with the simple changes, then we will see if we can actually remove all other checks. Oleg. -- To unsubscribe from this list:

Re: [PATCH] Next branch: authgss: authgss.c: Fix warnings for uninitizlized variable expire

2014-09-02 Thread Bruce Fields
On Tue, Sep 02, 2014 at 04:59:45PM +0300, Boaz Harrosh wrote: uninitialized_var was made to be a friend not an enemy, in the face of real ugliness it is the best we can do. And that is what it should communicate to everyone. Why has it become everyone's favorite blasphemy I do not know. Not

Re: [PATCH v10 03/19] arm: fiq: Replace default FIQ handler

2014-09-02 Thread Paul E. McKenney
On Tue, Sep 02, 2014 at 12:49:16PM +0100, Daniel Thompson wrote: On 28/08/14 16:01, Russell King - ARM Linux wrote: On Tue, Aug 19, 2014 at 07:12:07PM +0100, Daniel Thompson wrote: On 19/08/14 18:37, Russell King - ARM Linux wrote: On Tue, Aug 19, 2014 at 05:45:53PM +0100, Daniel Thompson

Re: [PATCH 1/4] mfd: arizona: Add additional dummy IRQ callbacks

2014-09-02 Thread Lee Jones
On Tue, 02 Sep 2014, Charles Keepax wrote: On Thu, Aug 21, 2014 at 12:56:31PM +0100, Lee Jones wrote: On Tue, 12 Aug 2014, Charles Keepax wrote: We use a dummy IRQ chip to dispatch interrupts to the two seperate IRQ domains on the Arizona devices. Currently only the enable and disable

[patch] mm: clean up zone flags

2014-09-02 Thread Johannes Weiner
Page reclaim tests zone_is_reclaim_dirty(), but the site that actually sets this state does zone_set_flag(zone, ZONE_TAIL_LRU_DIRTY), sending the reader through layers indirection just to track down a simple bit. Remove all zone flag wrappers and just use bitops against zone-flags directly. It's

Re: [PATCH v6 4/4] phy: exynos5-usbdrd: Calibrate LOS levels for exynos5420/5800

2014-09-02 Thread Felipe Balbi
Hi, On Tue, Sep 02, 2014 at 04:42:18PM +0530, Vivek Gautam wrote: Adding phy calibrate callback, which facilitates setting certain PHY settings post initialization of the PHY controller. Exynos5420 and Exynos5800 have 28nm USB 3.0 DRD PHY for which the Loss-of-Signal (LOS) Detector Threshold

Re: [Xen-devel] [PATCH] x86/xen: Fix 64bit kernel pagetable setup of PV guests

2014-09-02 Thread Andrew Cooper
On 02/09/14 12:01, David Vrabel wrote: On 01/09/14 18:34, David Vrabel wrote: On 29/08/14 16:17, Stefan Bader wrote: This change might not be the fully correct approach as it basically removes the pre-set page table entry for the fixmap that is compile time set

Re: [PATCH 1/5] usb: dwc3: exynos: Add support for SCLK present on Exynos7

2014-09-02 Thread Felipe Balbi
On Tue, Sep 02, 2014 at 04:09:08PM +0530, Vivek Gautam wrote: Hi, On Fri, Aug 29, 2014 at 12:18 AM, Mark Rutland mark.rutl...@arm.com wrote: On Thu, Aug 28, 2014 at 09:01:56AM +0100, Vivek Gautam wrote: Exynos7 also has a separate special gate clock going to the IP apart from the usual

Re: [PATCH 5/5] phy: exynos5-usbdrd: Adding Kconfig dependency for Exynos7

2014-09-02 Thread Felipe Balbi
On Mon, Sep 01, 2014 at 01:30:21PM +0530, Vivek Gautam wrote: On Thu, Aug 28, 2014 at 8:36 PM, Daniele Forsi dfo...@gmail.com wrote: 2014-08-28 10:02 GMT+02:00 Vivek Gautam: This USB 3.0 PHY controller is also present on Exynos7 platform, so adding the dependency on ARCH_EXYNOS7 for this

[PATCH] sh: Fix build error caused by missing dependencies

2014-09-02 Thread Pranith Kumar
Fix a sh4-randconfig build failure which has the following splat: arch/sh/mm/cache-sh4.c:99:17: error: 'cached_to_uncached' undeclared (first use in this function) arch/sh/mm/cache-sh4.c:192:2: error: implicit declaration of function 'cpu_context' [-Werror=implicit-function-declaration] These

Re: [PATCH v3 0/8] thermal: exynos: various cleanups

2014-09-02 Thread Eduardo Valentin
On Mon, Sep 01, 2014 at 07:05:27AM -0400, edubez...@gmail.com wrote: Amit On Mon, Sep 1, 2014 at 6:53 AM, amit daniel kachhap amit.dan...@samsung.com wrote: On Thu, Aug 28, 2014 at 8:19 PM, Eduardo Valentin edubez...@gmail.com wrote: Amit, On Thu, Jul 31, 2014 at 07:10:58PM +0200,

[PATCH v2] mfd: syscon: Decouple syscon interface from platform devices

2014-09-02 Thread Pankaj Dubey
Currently a syscon entity can only be registered directly through a platform device that binds to a dedicated syscon driver. However in certain cases it is required to bind a device with it's dedicated driver rather than binding with syscon driver. For example, certain SoCs (e.g. Exynos) contain

Re: [PATCHv5 4/4] thermal: exynos: Remove duplicate code when reading triminfo register of Exynos5440

2014-09-02 Thread Eduardo Valentin
Chanwoo, On Fri, Aug 29, 2014 at 08:50:41AM +0900, Chanwoo Choi wrote: Dear Eduardo, On 08/28/2014 11:53 PM, Eduardo Valentin wrote: On Thu, Aug 28, 2014 at 01:25:14PM +0900, Chanwoo Choi wrote: Dear Eduardo, This patch is wrong. It is my mistake. Please ignore only this patch

Re: [PATCH v2] mfd: syscon: Decouple syscon interface from platform devices

2014-09-02 Thread Tomasz Figa
On 02.09.2014 16:42, Pankaj Dubey wrote: Currently a syscon entity can only be registered directly through a platform device that binds to a dedicated syscon driver. However in certain cases it is required to bind a device with it's dedicated driver rather than binding with syscon driver.

Re: [RFC v2 1/2] usb: phy: Hold wakeupsource when USB is enumerated in peripheral mode

2014-09-02 Thread Felipe Balbi
On Tue, Sep 02, 2014 at 05:17:08PM +0530, Kiran Kumar Raparthy wrote: From: Todd Poynor toddpoy...@google.com usb: phy: Hold wakeupsource when USB is enumerated in peripheral mode Purpose of this is to prevent the system to enter into suspend state from USB peripheral traffic by hodling a

Re: [RFC v2 2/2] usb: phy: Temporarily hold wakeupsource on charger connect and disconnect events

2014-09-02 Thread Felipe Balbi
Hi, On Tue, Sep 02, 2014 at 05:19:18PM +0530, Kiran Kumar Raparthy wrote: From: Todd Poynor toddpoy...@google.com usb: phy: Temporarily hold wakeupsource on charger connect and disconnect events Allow other parts of the system to react to the charger connect/disconnect event without

Re: [PATCH 0/5] KEYS: Miscellaneous fixes

2014-09-02 Thread James Morris
in the PKCS#7 parser to allow for padding inserted after a PKCS#7 message. They can be found here also: http://git.kernel.org/cgit/linux/kernel/git/dhowells/linux-fs.git/log/?h=keys-fixes Tagged with: keys-fixes-20140902 David --- David Howells (4): KEYS: Fix

Re: linux-next: Tree for Sep 1

2014-09-02 Thread Jason Cooper
Christopher, On Tue, Sep 02, 2014 at 03:19:22PM +0200, Bartlomiej Zolnierkiewicz wrote: [ this time with the patch and right cc: list, sorry for the noise ] Hi, On Tuesday, September 02, 2014 12:07:28 AM Mark Brown wrote: Changes since 20140829: The akpm-current gained a conflict

Re: linux-next: Tree for Sep 1

2014-09-02 Thread Christoph Lameter
On Tue, 2 Sep 2014, Christoph Lameter wrote: Oww.. This is double indirection deal there. A percpu offset pointing to a pointer? Generally the following is true (definition from include/asm-generic/percpu.h that is used for ARM for raw_cpu_read): #define raw_cpu_read_4(pcp)

[PATCH] blk-merge: fix blk_recount_segments

2014-09-02 Thread Ming Lei
QUEUE_FLAG_NO_SG_MERGE is set at default for blk-mq devices, so bio-bi_phys_segment computed may be bigger than queue_max_segments(q) for blk-mq devices, then drivers will fail to handle the case, for example, BUG_ON() in virtio_queue_rq() can be triggerd for virtio-blk:

Re: [PATCH v2 1/3] mfd: add support for Diolan DLN-2 devices

2014-09-02 Thread Johan Hovold
On Tue, Sep 02, 2014 at 09:00:10AM +0100, Lee Jones wrote: On Mon, 01 Sep 2014, Johan Hovold wrote: No, no. USB is not a function of the MFD device, it's the transport. Thus there should be no USB MFD-cell. No subdriver can work without it. And the USB id belongs in the MFD-driver in

Re: [PATCH] earlyprintk: re-enable earlyprintk calling early_param

2014-09-02 Thread Stephen Warren
On 08/31/2014 08:28 PM, Sahara wrote: On Fri, 29 Aug 2014, Stephen Warren wrote: On 08/28/2014 11:28 PM, Sahara wrote: On Wed, 27 Aug 2014, Thierry Reding wrote: On Thu, Aug 14, 2014 at 07:13:36PM +0900, kpark3...@gmail.com wrote: From: Sahara keun-o.p...@windriver.com Although there

Re: [PATCH v4 1/3] usb: dwc3: add ST dwc3 glue layer to manage dwc3 HC

2014-09-02 Thread Felipe Balbi
Hi, On Tue, Sep 02, 2014 at 12:18:12PM +0100, Peter Griffin wrote: Hi Felipe, Sorry for the delay in replying to this mail, I've been trying to get answers to the suspend/resume questions you had. np +config USB_DWC3_ST + tristate STMicroelectronics Platforms + depends on ARCH_STI

[PATCH 1/4] KVM: x86: reserve bit 8 of non-leaf PDPEs and PML4Es in 64-bit mode on AMD

2014-09-02 Thread Paolo Bonzini
Bit 8 would be the global bit, which does not quite make sense for non-leaf page table entries. Intel ignores it; AMD ignores it in PDEs, but reserves it in PDPEs and PML4Es. The SVM test is relying on this behavior, so enforce it. Signed-off-by: Paolo Bonzini pbonz...@redhat.com ---

[PATCH 0/4] KVM: nested x86: nested page faults fixes

2014-09-02 Thread Paolo Bonzini
Patch 1 implements AMD semantics for non-leaf PDPEs and PML4Es, which are a bit different from Intel. The SVM test relies on this, so fix it. Patch 2 lets nested SVM implement nested page fault correctly. We were not setting bits 32/33. Patches 3 and 4 fix the interaction between emulator and

[PATCH 3/4] KVM: x86: inject nested page faults on emulated instructions

2014-09-02 Thread Paolo Bonzini
This is required for the following patch to work correctly. If a nested page fault happens during emulation, we must inject a vmexit, not a page fault. Luckily we already have the required machinery: it is enough to return X86EMUL_INTERCEPTED instead of X86EMUL_PROPAGATE_FAULT. Reported-by:

[PATCH 4/4] KVM: x86: propagate exception from permission checks on the nested page fault

2014-09-02 Thread Paolo Bonzini
Currently, if a permission error happens during the translation of the final GPA to HPA, walk_addr_generic returns 0 but does not fill in walker-fault. To avoid this, add an x86_exception* argument to the translate_gpa function, and let it fill in walker-fault. The nested_page_fault field will be

Re: [PATCH] staging: unisys: uislib: uisqueue.c: fixed sparse warning of context imbalance

2014-09-02 Thread Sudip Mukherjee
On Tue, Sep 02, 2014 at 05:05:32PM +0300, Dan Carpenter wrote: On Tue, Sep 02, 2014 at 04:39:47PM +0530, Sudip Mukherjee wrote: fixed sparse warning : context imbalance in 'do_locked_client_insert' different lock contexts for basic block spin_unlock_irqrestore is

[PATCH 2/4] KVM: nSVM: propagate the NPF EXITINFO to the guest

2014-09-02 Thread Paolo Bonzini
This is similar to what the EPT code does with the exit qualification. This allows the guest to see a valid value for bits 33:32. Signed-off-by: Paolo Bonzini pbonz...@redhat.com --- arch/x86/kvm/paging_tmpl.h | 6 ++ arch/x86/kvm/svm.c | 26 ++ 2 files

Re: [PATCH] i2c: i2c-tegra: Move clk_prepare/clk_set_rate to probe

2014-09-02 Thread Stephen Warren
On 09/02/2014 05:56 AM, Wolfram Sang wrote: On Fri, Aug 15, 2014 at 10:18:15AM -0600, Stephen Warren wrote: On 08/15/2014 03:47 AM, Mikko Perttunen wrote: Currently the i2c-tegra bus driver prepares, enables and set_rates its clocks separately for each transfer. This causes locking problems

Re: [PATCH v2] mfd: syscon: Decouple syscon interface from platform devices

2014-09-02 Thread Arnd Bergmann
On Tuesday 02 September 2014 20:12:15 Pankaj Dubey wrote: Currently a syscon entity can only be registered directly through a platform device that binds to a dedicated syscon driver. However in certain cases it is required to bind a device with it's dedicated driver rather than binding with

Re: [PATCH] mm: page_alloc: Default to node-ordering on 64-bit NUMA machines

2014-09-02 Thread Mel Gorman
On Tue, Sep 02, 2014 at 09:51:20AM -0400, Johannes Weiner wrote: On Mon, Sep 01, 2014 at 01:55:51PM +0100, Mel Gorman wrote: Zones are allocated by the page allocator in either node or zone order. Node ordering is preferred in terms of locality and is applied automatically in one of three

Re: [PATCH] staging: unisys: uislib: uisqueue.c: fixed sparse warning of context imbalance

2014-09-02 Thread Dan Carpenter
On Tue, Sep 02, 2014 at 08:44:27PM +0530, Sudip Mukherjee wrote: On Tue, Sep 02, 2014 at 05:05:32PM +0300, Dan Carpenter wrote: On Tue, Sep 02, 2014 at 04:39:47PM +0530, Sudip Mukherjee wrote: fixed sparse warning : context imbalance in 'do_locked_client_insert'

Re: [PATCH v2 1/3] mfd: add support for Diolan DLN-2 devices

2014-09-02 Thread Johan Hovold
On Tue, Sep 02, 2014 at 11:45:55AM +0300, Octavian Purdila wrote: On Tue, Sep 2, 2014 at 11:00 AM, Lee Jones lee.jo...@linaro.org wrote: On Mon, 01 Sep 2014, Johan Hovold wrote: I haven't looked at the details of the protocol for the device in question, but it might even be possible to use

[PATCH] tty/serial: fix config dependencies for samsung serial

2014-09-02 Thread Naveen Krishna Chatradhi
From: Pankaj Dubey pankaj.du...@samsung.com Make the config symbols SERIAL_SAMSUNG_UARTS_4 and SERIAL_SAMSUNG_UARTS depend on SERIAL_SAMSUNG rather than PLAT_SAMSUNG. Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Cc: Greg

[REGRESSION] efi: efistub: Convert into static library and preparation patches

2014-09-02 Thread Maarten Lankhorst
Hey, My macbook pro 8.2 fails to do a efi stub boot with these patches. Commit f23cf8bd5c1f49 efi/x86: efistub: Move shared dependencies to asm/efi.h causes the first break, but this can be averted by changing struct efi_config *efi_early; to struct efi_config *efi_early

[PATCH] clk: at91: fix num_parents test in at91sam9260 slow clk implementation

2014-09-02 Thread Boris BREZILLON
The slow clk block provided by at91sam9260 and derived SoCs should always have 2 parents. Signed-off-by: Boris BREZILLON boris.brezil...@free-electrons.com --- Hello Mike, Could you take this fix for the next 3.17 rc ? Without this fix you won't be able to use programmable clks (the slow clk is

[PATCH] irqchip: exynos-combiner: Fix compilation error on ARM64

2014-09-02 Thread Naveen Krishna Chatradhi
The following compilation error occurs on 64-bit Exynos7 SoC: drivers/irqchip/exynos-combiner.c: In function ‘combiner_irq_domain_map’: drivers/irqchip/exynos-combiner.c:162:2: error: implicit declaration of function ‘set_irq_flags’ [-Werror=implicit-function-declaration] set_irq_flags(irq,

IPACK - ipack and ipoctal improvements

2014-09-02 Thread Federico Vaga
I tested these patches only on kernel 3.2 and 3.6 because I cannot easly test them on the next branch. I think that there are not important modification in the kernel that can affect the behave of these patches. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

[PATCH 2/3] ipack: save carrier owner to allow device to get it

2014-09-02 Thread Federico Vaga
There was not any kind of protection against carrier driver removal. In this way, device driver can 'get' the carrier driver when it is using it. Signed-off-by: Federico Vaga federico.v...@cern.ch --- drivers/ipack/carriers/tpci200.c |3 ++- drivers/ipack/ipack.c|4 +++-

[PATCH 1/3] ipoctal: reset function istead of duplicate code

2014-09-02 Thread Federico Vaga
Signed-off-by: Federico Vaga federico.v...@cern.ch --- drivers/ipack/devices/ipoctal.c | 35 ++- 1 file changed, 14 insertions(+), 21 deletions(-) diff --git a/drivers/ipack/devices/ipoctal.c b/drivers/ipack/devices/ipoctal.c index 90b96a1b..e531379 100644 ---

[PATCH 3/3] ipoctal: get carrier driver to avoid rmmod

2014-09-02 Thread Federico Vaga
Signed-off-by: Federico Vaga federico.v...@cern.ch --- drivers/ipack/devices/ipoctal.c | 30 +++--- 1 file changed, 27 insertions(+), 3 deletions(-) diff --git a/drivers/ipack/devices/ipoctal.c b/drivers/ipack/devices/ipoctal.c index e531379..035d544 100644 ---

Re: [PATCH 1/2] cgroup: Delay the clearing of cgrp-kn-priv

2014-09-02 Thread Tejun Heo
Hello, Li. On Tue, Sep 02, 2014 at 06:56:58PM +0800, Li Zefan wrote: for ((; ;)) { echo $$ /cgroup/sub/cgroup.procs ech $$ /cgce 6f2e0c38c2108a74 ]--- copy paste error? ... Reported-by: Toralf Förster

Re: [PATCH V2] edac, amd64_edac: Modify usage of amd64_read_dct_pci_cfg()

2014-09-02 Thread Aravind Gopalakrishnan
On 9/2/2014 2:08 AM, Borislav Petkov wrote: On Tue, Aug 26, 2014 at 12:44:09PM -0500, Aravind Gopalakrishnan wrote: Rationale behind this change: - F2x1xx addresses were stopped from being mapped explicitly to DCT1 from F15h (OR) onwards. They use _dct[0:1] mechanism to access the

[PATCH v4 2/3] perf tools: parse the pmu event prefix and surfix

2014-09-02 Thread kan . liang
From: Kan Liang kan.li...@intel.com There are two types of event formats for PMU events. E.g. el-abort OR cpu/el-abort/. However, the lexer mistakenly recognizes the simple style format as two events. The parse_events_pmu_check function uses bsearch to search the name in known pmu event list. It

[PATCH v4 3/3] perf tools: Add support to new style format of kernel PMU event

2014-09-02 Thread kan . liang
From: Kan Liang kan.li...@intel.com Add new rules for kernel PMU event. event_pmu: PE_KERNEL_PMU_EVENT | PE_PMU_EVENT_PRE '-' PE_PMU_EVENT_SUF PE_KERNEL_PMU_EVENT token is for cycles-ct/cycles-t/mem-loads/mem-stores. The prefix cycles is mixed up with cpu-cycles. loads and stores are mixed up

[PATCH v4 1/3] Revert perf tools: Default to cpu// for events v5

2014-09-02 Thread kan . liang
From: Kan Liang kan.li...@intel.com This reverts commit 50e200f07948 (perf tools: Default to cpu// for events v5) The fixup cannot handle the case that new style format(which without //) mixed with other different formats. For example, group events with new style format: {mem-stores,mem-loads}

Re: [PATCH 0/3] fix bugs with stale or corrupt MMIO caches

2014-09-02 Thread Paolo Bonzini
Il 29/08/2014 12:31, Paolo Bonzini ha scritto: David and Xiao, here's my take on the MMIO generation patches. Now with documentation, too. :) Please review! David Matlack (2): kvm: fix potentially corrupt mmio cache kvm: x86: fix stale mmio cache bug Paolo Bonzini (1): KVM: do

[PATCH v2 3/3] ARM: dts: qcom: Add SDHC nodes for APQ8084 platform

2014-09-02 Thread Georgi Djakov
Enable support for the two SD host controllers on the APQ8084 platform by adding the required nodes to the DT files. On the IFC6540 board, the first controller is connected to the onboard eMMC and the second is connected to a micro-SD card slot. Signed-off-by: Georgi Djakov gdja...@mm-sol.com ---

[PATCH v2 1/3] ARM: dts: qcom: Add initial IFC6540 board device tree

2014-09-02 Thread Georgi Djakov
Add initial device tree for the IFC6540 Snapdragon 805 pico-itx single-board computer. Signed-off-by: Georgi Djakov gdja...@mm-sol.com --- arch/arm/boot/dts/Makefile |1 + arch/arm/boot/dts/qcom-apq8084-ifc6540.dts |6 ++ 2 files changed, 7 insertions(+) create mode

[PATCH v2 0/3] ARM: dts: qcom: Add initial IFC6540 board support

2014-09-02 Thread Georgi Djakov
Add basic support for the IFC6540 single-board computer boards, that are based on the APQ8084 SoC. The first patch adds the initial device tree. The second enables the serial console. The third adds the SDHC nodes and enables the eMMC. Should go through the qcom/arm-soc tree. Changes since v1:

[PATCH v2 2/3] ARM: dts: qcom: Enable serial port on IFC6540 boards

2014-09-02 Thread Georgi Djakov
Enable the serial port on the IFC6540 boards. Signed-off-by: Georgi Djakov gdja...@mm-sol.com --- arch/arm/boot/dts/qcom-apq8084-ifc6540.dts |6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/qcom-apq8084-ifc6540.dts b/arch/arm/boot/dts/qcom-apq8084-ifc6540.dts index

[PATCH v2 0/3] fuse: Add support for mounts from pid/user namespaces

2014-09-02 Thread Seth Forshee
Here's an updated set of patches for allowing fuse mounts from pid and user namespaces. I discussed some of the issues we debated with the last patch set (and a few others) with Eric at LinuxCon, and the updates here mainly reflect the outcome of those discussions. The stickiest issue in the v1

<    6   7   8   9   10   11   12   13   14   15   >