Re: [resend PATCH 1/3] ACPI / platform: provide default DMA mask

2014-10-22 Thread Adrian Hunter
On 21/10/14 16:13, Adrian Hunter wrote: On 21/10/14 16:08, Rafael J. Wysocki wrote: On Tuesday, October 21, 2014 03:27:45 PM Adrian Hunter wrote: On 24/09/14 16:49, Rafael J. Wysocki wrote: On Wednesday, September 24, 2014 11:00:37 AM Heikki Krogerus wrote: Most devices are configured for

Re: [RFC][PATCH 0/6] Another go at speculative page faults

2014-10-22 Thread Davidlohr Bueso
On Mon, 2014-10-20 at 23:56 +0200, Peter Zijlstra wrote: Hi, I figured I'd give my 2010 speculative fault series another spin: https://lkml.org/lkml/2010/1/4/257 Since then I think many of the outstanding issues have changed sufficiently to warrant another go. In particular Al Viro's

Re: [PATCH 1/2] mtd: atmel_nand: use __iowrite32_copy for 32 bitcopy

2014-10-22 Thread Josh Wu
Hi, On 10/21/2014 6:35 PM, Vinod Koul wrote: On Tue, Oct 21, 2014 at 12:20:06PM +0200, Herve Codina wrote: Hi, Please don't top post I didn't go deeper in atmel_nand.c code to see other accesses but old copy use writel_relaxed which is a macro to __raw_writel((__force u32) cpu_to_le32(v),c)

Re: [PATCH] MAINTAINERS: Update Zynq maintainer record

2014-10-22 Thread Michal Simek
On 10/22/2014 08:54 AM, Joe Perches wrote: On Wed, 2014-10-22 at 08:29 +0200, Michal Simek wrote: On 10/21/2014 11:31 PM, Soren Brinkmann wrote: - add myself as reviewer for Zynq - add entry to cover Zynq clock drivers - add entry to cover Xilinx DMA drivers Signed-off-by: Soren

Re: [PATCH v2 02/12] of: Document long-ram-code property in nvidia,tegra20-apbmisc

2014-10-22 Thread Mikko Perttunen
On 10/21/2014 05:45 PM, Tomeu Vizoso wrote: Needed to properly decode the ram code register. Signed-off-by: Tomeu Vizoso tomeu.viz...@collabora.com --- Documentation/devicetree/bindings/misc/nvidia,tegra20-apbmisc.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git

[PATCH v2] drivers: net: xgene: Rewrite loop in xgene_enet_ecc_init()

2014-10-22 Thread Geert Uytterhoeven
drivers/net/ethernet/apm/xgene/xgene_enet_sgmac.c: In function ‘xgene_enet_ecc_init’: drivers/net/ethernet/apm/xgene/xgene_enet_sgmac.c:126: warning: ‘data’ may be used uninitialized in this function Depending on the arbitrary value on the stack, the loop may terminate too early, and cause a

Re: [RESEND PATCH 2/3 v5] sched: Rewrite per entity runnable load average tracking

2014-10-22 Thread Yuyang Du
On Tue, Oct 21, 2014 at 04:54:35PM +0200, Peter Zijlstra wrote: In the thread here: lkml.kernel.org/r/1409094682.29189.23.camel@j-VirtualBox there are concerns about the error bounds of such constructs. We can basically 'leak' nr_cpus * threshold, which is potentially a very large number.

[PATCH v2] perf tools: makes CPUINFO_PROC to array for different kernel version

2014-10-22 Thread Wang Nan
euler inclusion target: kernel 3.10 category: bugfix DTS: DTS2014101306477 Bugzilla: 623 directory: upstreamed archive: https://lkml.org/lkml/2014/10/15/611 After kernel 3.7 (commit b4b8f770eb10a1bccaf8aa0ec1956e2dd7ed1e0a), /proc/cpuinfo replaces

[PATCH v2 RESEND] perf tools: makes CPUINFO_PROC to array for different kernel version

2014-10-22 Thread Wang Nan
After kernel 3.7 (commit b4b8f770eb10a1bccaf8aa0ec1956e2dd7ed1e0a), /proc/cpuinfo replaces 'Processor' to 'model name'. This patch makes CPUINFO_PROC to an array and provides two choices for ARM, makes it compatible for different kernel version. v1 - v2: minor changes as suggested by Namhyung

Re: [PATCH v3] sched/fair: Care divide error in update_task_scan_period()

2014-10-22 Thread Yasuaki Ishimatsu
(2014/10/22 16:09), Wanpeng Li wrote: 10/22/14, 3:04 PM, Yasuaki Ishimatsu: While offling node by hot removing memory, the following divide error occurs: divide error: [#1] SMP [...] Call Trace: [...] handle_mm_fault [...] ? try_to_wake_up [...] ? wake_up_state

Re: [PATCH] m68k: Wire up bpf

2014-10-22 Thread Geert Uytterhoeven
Hi Alexei, On Tue, 21 Oct 2014, Alexei Starovoitov wrote: On Tue, Oct 21, 2014 at 10:30 AM, Geert Uytterhoeven ge...@linux-m68k.org wrote: Signed-off-by: Geert Uytterhoeven ge...@linux-m68k.org --- arch/m68k/include/asm/unistd.h | 2 +- arch/m68k/include/uapi/asm/unistd.h

Re: [PATCH] perf tools: makes CPUINFO_PROC to array for different kernel version

2014-10-22 Thread Wang Nan
On 2014/10/22 14:44, Namhyung Kim wrote: Hi Wang, On Thu, 16 Oct 2014 11:08:43 +0800, Wang Nan wrote: After kerne 3.7 (commit b4b8f770eb10a1bccaf8aa0ec1956e2dd7ed1e0a), /proc/cpuinfo replcae 'Processor' to 'model name'. This patch makes CPUINFO_PROC to an array and provides two choices for

[PATCH v2] memory-hotplug: Clear pgdat which is allocated by bootmem in try_offline_node()

2014-10-22 Thread Yasuaki Ishimatsu
When hot adding the same memory after hot removing a memory, the following messages are shown: WARNING: CPU: 20 PID: 6 at mm/page_alloc.c:4968 free_area_init_node+0x3fe/0x426() ... Call Trace: [...] dump_stack+0x46/0x58 [...] warn_slowpath_common+0x81/0xa0 [...] warn_slowpath_null+0x1a/0x20

Re: [PATCH] perf tools: ensure return negitive value when write header error

2014-10-22 Thread Wang Nan
On 2014/10/22 15:00, Namhyung Kim wrote: On Thu, 16 Oct 2014 11:08:29 +0800, Wang Nan wrote: When 'perf record' write headers, it calls write_xxx in tools/perf/util/header.c, and check return value. It rolls back all working only when return value is negative. This patch ensures

[PATCH v6 0/3] ARM: rk3288 : Add PM Domain support

2014-10-22 Thread jinkun.hong
From: jinkun.hong jinkun.h...@rock-chips.com Add power domain drivers based on generic power domain for Rockchip platform, and support RK3288. https://chromium-review.googlesource.com/#/c/220253/9 This is the GPU driver, add the following information in DT, and it can support the PMDOMAIN. gpu:

[PATCH v6 1/3] power-domain: add power domain drivers for Rockchip platform

2014-10-22 Thread jinkun.hong
From: jinkun.hong jinkun.h...@rock-chips.com Add power domain drivers based on generic power domain for Rockchip platform, and support RK3288. Signed-off-by: Jack Dai jack@rock-chips.com Signed-off-by: jinkun.hong jinkun.h...@rock-chips.com --- Changes in v6: - delete pmu_lock - modify

[PATCH v6 2/3] dt-bindings: add document of Rockchip power domain

2014-10-22 Thread jinkun.hong
From: jinkun.hong jinkun.h...@rock-chips.com Signed-off-by: Jack Dai jack@rock-chips.com Signed-off-by: jinkun.hong jinkun.h...@rock-chips.com --- Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: - DT structure has changed Changes in v2: - move clocks to optional

[PATCH v6 3/3] ARM: dts: add rk3288 power-domain node

2014-10-22 Thread jinkun.hong
From: jinkun.hong jinkun.h...@rock-chips.com Signed-off-by: Jack Dai jack@rock-chips.com Signed-off-by: jinkun.hong jinkun.h...@rock-chips.com --- Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: - Decomposition power-controller, changed to multiple controller

Re: [PATCH v5 1/3] power-domain: add power domain drivers for Rockchip platform

2014-10-22 Thread Ulf Hansson
[...] + + list_for_each_entry(de, pd-dev_list, node) { + i += 1; + pm_clk_resume(pd-dev); Do you really need to call pm_clk_resume() number of times that there are devices in power domain? Did you want it to be pm_clk_resume(de-dev);

Re: [PATCH] fs, jbd: use a more generic hash function

2014-10-22 Thread Jan Kara
On Tue 21-10-14 16:43:55, Sasha Levin wrote: While the hash function used by the revoke hashtable is good somewhere else, it's not really good here. The default hash shift (8) means that one third of the hashing function gets lost (and is undefined anyways (8 - 12 = negative shift)):

Re: [PATCH v2] perf tools: makes CPUINFO_PROC to array for different kernel version

2014-10-22 Thread Wang Nan
On 2014/10/22 15:39, Wang Nan wrote: euler inclusion target: kernel 3.10 category: bugfix DTS: DTS2014101306477 Bugzilla: 623 directory: upstreamed archive: https://lkml.org/lkml/2014/10/15/611 Sorry, the header is for our internal use only.

Re: [PATCH] Documentation: ptp: Fix build failure on MIPS cross builds

2014-10-22 Thread Richard Cochran
On Tue, Oct 21, 2014 at 06:04:51PM -0400, Peter Foley wrote: The intention of these changes was to generate more compiliation coverage for code in Documentation/ Sounds good. The underlying issue is that this doesn't work for cross-compiling because kbuild doesn't have cross-compile support

Re: [PATCH v2 01/47] kernel: Add support for poweroff handler call chain

2014-10-22 Thread Philippe Rétornaz
Le 21/10/2014 15:29, Guenter Roeck a écrit : On 10/20/2014 11:46 PM, Philippe Rétornaz wrote: Hello [...] - Use raw notifiers protected by spinlocks instead of atomic notifiers [...] +/** + *do_kernel_power_off - Execute kernel poweroff handler call chain + * + *Calls functions

Re: [PATCH] tty: serial: omap: increase max consoles to 10

2014-10-22 Thread Sebastian Andrzej Siewior
On 10/21/2014 06:23 PM, Nishanth Menon wrote: The final solution is to transition off to use 8250 driver and no dependency on console structures and move away from omap-serial driver, hence no major cleanups are done for this driver. So the shiny new driver works for you, is this what you

Re: [PATCH] drivers: depend on instead of select BACKLIGHT_CLASS_DEVICE and ACPI_VIDEO

2014-10-22 Thread Tomi Valkeinen
On 18/10/14 00:13, Jani Nikula wrote: Documentation/kbuild/kconfig-language.txt warns to use select with care, and in general use select only for non-visible symbols and for symbols with no dependencies, because select will force a symbol to a value without visiting the dependencies. Select

Re: [PATCH v5 1/3] power-domain: add power domain drivers for Rockchip platform

2014-10-22 Thread Geert Uytterhoeven
On Wed, Oct 22, 2014 at 9:58 AM, Ulf Hansson ulf.hans...@linaro.org wrote: Now, I just realized that while Geert added attach|detach_dev() callbacks for the generic PM domain, those are both void callbacks. It means the deferred probe error handling is broken for these callbacks. We should

Re: Subject: [PATCH] kobject: fix the race between kobject_del and get_device_parent

2014-10-22 Thread Weng Meiling
On 2014/10/16 17:13, Greg KH wrote: On Thu, Oct 16, 2014 at 03:23:53PM +0800, Weng Meiling wrote: On 2014/10/16 15:07, Frans Klaver wrote: On Thu, Oct 16, 2014 at 3:56 AM, Weng Meiling wengmeiling.w...@huawei.com wrote: Would you please give me some of your views on this issue? Any

Re: GPIO bindings guidelines (Was: Re: [PATCH v5 10/12] gpio: Support for unified device properties interface)

2014-10-22 Thread Mika Westerberg
On Tue, Oct 21, 2014 at 09:54:45AM +0200, Arnd Bergmann wrote: On Tuesday 21 October 2014 14:14:02 Alexandre Courbot wrote: We have enforced naming things for the dmaengine binding, which has just led to everyone calling things rx and tx. My fear is that if we start to enforce giving

Re: [alsa-devel] [PATCH] ASoC: atmel_ssc_dai: Track playback and capture CMR dividers separately.

2014-10-22 Thread Bo Shen
Hi Peter, On 10/22/2014 12:47 PM, Peter Rosin wrote: Hi! Hi Peter, On 10/21/2014 09:05 PM, Peter Rosin wrote: I did some further tests, and the following program fails without the patch: With the patch, it is OK? Yes. #include sys/ioctl.h #include unistd.h #include fcntl.h #include

Re: [RESEND PATCH 2/3 v5] sched: Rewrite per entity runnable load average tracking

2014-10-22 Thread Yuyang Du
On Tue, Oct 21, 2014 at 04:56:52PM +0200, Peter Zijlstra wrote: On Fri, Oct 10, 2014 at 10:21:56AM +0800, Yuyang Du wrote: static inline long calc_tg_weight(struct task_group *tg, struct cfs_rq *cfs_rq) { - long tg_weight; - - /* -* Use this CPU's actual weight instead of

Re: Fwd: [PATCH] x86, MCE, AMD: save IA32_MCi_STATUS before machine_check_poll() resets it

2014-10-22 Thread Borislav Petkov
On Wed, Oct 22, 2014 at 09:51:18AM +0800, Chen Yucong wrote: Can you check the following link? The link contains my reply about x86, MCE, AMD: Move invariant code out from loop body. The reply was sent to you on October 7, but until now, there aren't any comments from you!

Re: [PATCH] USB: serial: cp210x: Add Silicon Labs 358x VID and PID.

2014-10-22 Thread Johan Hovold
On Fri, Oct 03, 2014 at 12:01:20PM -0400, Nathaniel Ting wrote: From: Nathaniel Ting nathaniel.t...@silabs.com Enable Silicon Labs Ember VID chips to enumerate with the cp210x usb serial driver. EM358x devices operating with the Ember Z-Net 5.1.2 stack may now connect to host PCs over a USB

[patch] decompress_bunzip2: off by one in get_next_block()

2014-10-22 Thread Dan Carpenter
origPtr is used as an offset into the bd-dbuf[] array. That array is allocated in start_bunzip() and has bd-dbufSize number of elements so the test here should be = instead of . Later we check origPtr again before using it as an offset so I don't know if this bug can be triggered in real life.

Re: [PATCH] perf/powerpc: Cache the DWARF debug info

2014-10-22 Thread Jiri Olsa
On Tue, Oct 21, 2014 at 05:09:58PM -0700, Sukadev Bhattiprolu wrote: Arnaldo Carvalho de Melo [a...@kernel.org] wrote: | Em Tue, Oct 21, 2014 at 11:56:10AM -0700, Sukadev Bhattiprolu escreveu: | From 773a3608a0cd2daf02e244cb9ffbf5bb6a0e724e Mon Sep 17 00:00:00 2001 | From: Sukadev

Re: [PATCH] usb: serial: ftdi_sio: add Awinda Station and Dongle products

2014-10-22 Thread Johan Hovold
On Fri, Oct 10, 2014 at 11:52:08AM +0200, Frans Klaver wrote: Add new IDs for the Xsens Awinda Station and Awinda Dongle. While at it, order the definitions by PID and add a logical separation between devices using Xsens' VID and those using FTDI's VID. Cc: sta...@vger.kernel.org

Re: [PATCH v3 5/5] perf/sdt: Add support to perf record to trace SDT events

2014-10-22 Thread Hemant Kumar
Hi Masami, On 10/22/2014 12:15 PM, Masami Hiramatsu wrote: Hi Hemant, (2014/10/10 19:59), Hemant Kumar wrote: The SDT events are already stored in a cache file (/var/cache/perf/perf-sdt-file.cache). Please describe what this patch does at first. Sure, will do that. Although the

Re: [PATCH] drm/cirrus: bind also to qemu-xen-traditional

2014-10-22 Thread Olaf Hering
Ping? On Tue, Aug 26, Olaf Hering wrote: Ping? On Thu, Jun 12, Olaf Hering wrote: Ping? On Fri, Apr 11, Olaf Hering wrote: qemu as used by xend/xm toolstack uses a different subvendor id. Bind the drm driver also to this emulated card. Signed-off-by: Olaf Hering

Re: [RESEND PATCH 1/3 v5] sched: Remove update_rq_runnable_avg

2014-10-22 Thread Yuyang Du
On Fri, Oct 10, 2014 at 10:21:55AM +0800, Yuyang Du wrote: diff --git a/kernel/sched/debug.c b/kernel/sched/debug.c index 627b3c3..da0b7d5 100644 --- a/kernel/sched/debug.c +++ b/kernel/sched/debug.c - if (!se) { - struct sched_avg *avg = cpu_rq(cpu)-avg; -

Re: [PATCH v5 1/6] ARM: cygnus: Initial support for Broadcom Cygnus SoC

2014-10-22 Thread Arnd Bergmann
On Tuesday 21 October 2014 17:11:08 Scott Branden wrote: OK, I will remove the iProc SoC based Machine types. This was grouping all iProc based SoCs under one menu and parallels what the existing Broadcom Mobile Soc Support menu does. I can create another patch removing the Broadcom Mobile

Re: [PATCH v3 0/2] s390 vs. kprobes on ftrace

2014-10-22 Thread Heiko Carstens
On Tue, Oct 21, 2014 at 09:58:31PM +0200, Vojtech Pavlik wrote: Hello Heiko, I can confirm that kGraft works well on top of current mainline with this patch added. Another reason for a performance impact when kGraft is enabled is that kGraft still adds two instructions to the syscall path

[PATCH 2/2] ARM: perf: armv7: wrap unsupported arch init functions via micro

2014-10-22 Thread chai wen
Signed-off-by: chai wen chaiw.f...@cn.fujitsu.com --- arch/arm/kernel/perf_event_v7.c | 52 +- 1 files changed, 13 insertions(+), 39 deletions(-) diff --git a/arch/arm/kernel/perf_event_v7.c b/arch/arm/kernel/perf_event_v7.c index f66a9b8..6c088e8 100644 ---

[PATCH 1/2] ARM: perf: armv7 remove useless return and check of idx in counter handling

2014-10-22 Thread chai wen
Idx sanity check was once implemented separately in these counter handling functions and then return value was treated as a judgement. armv7_pmnc_select_counter() armv7_pmnc_enable_counter() armv7_pmnc_disable_counter() armv7_pmnc_enable_intens()

Greetings

2014-10-22 Thread donald1054
Greetings, may I ask if you would be eligible to pursue a business deal/proposal worth USD 28.5m with me if you don't mind? Let me know if you are interested. Reply me via this e-mail: shinglamdon...@yahoo.com.hk Donald Shing Lam. --- This email is free from viruses and malware

Re: [PATCH 7/7] docg3: Fix miuse of seq_printf return value

2014-10-22 Thread Brian Norris
On Mon, Sep 29, 2014 at 04:08:27PM -0700, Joe Perches wrote: seq_printf doesn't return a useful value, so remove these misuses. Good catch. So it looks like this driver always had some form of wrongness (returning a character count) in its debugfs callbacks, but nobody noticed. Applied to

Re: [PATCH v5 1/3] power-domain: add power domain drivers for Rockchip platform

2014-10-22 Thread Ulf Hansson
On 22 October 2014 10:07, Geert Uytterhoeven ge...@linux-m68k.org wrote: On Wed, Oct 22, 2014 at 9:58 AM, Ulf Hansson ulf.hans...@linaro.org wrote: Now, I just realized that while Geert added attach|detach_dev() callbacks for the generic PM domain, those are both void callbacks. It means the

[PATCH v2 0/4] mm: new function to forbid zeropage mappings for a process

2014-10-22 Thread Dominik Dingel
s390 has the special notion of storage keys which are some sort of page flags associated with physical pages and live outside of direct addressable memory. These storage keys can be queried and changed with a special set of instructions. The mentioned instructions behave quite nicely under

[PATCH 1/4] s390/mm: recfactor global pgste updates

2014-10-22 Thread Dominik Dingel
Replace the s390 specific page table walker for the pgste updates with a call to the common code walk_page_range function. There are now two pte modification functions, one for the reset of the CMMA state and another one for the initialization of the storage keys. Signed-off-by: Dominik Dingel

[PATCH 4/4] s390/mm: disable KSM for storage key enabled pages

2014-10-22 Thread Dominik Dingel
When storage keys are enabled unmerge already merged pages and prevent new pages from being merged. Signed-off-by: Dominik Dingel din...@linux.vnet.ibm.com Acked-by: Christian Borntraeger borntrae...@de.ibm.com --- arch/s390/include/asm/pgtable.h | 2 +- arch/s390/kvm/priv.c| 17

[PATCH 3/4] s390/mm: prevent and break zero page mappings in case of storage keys

2014-10-22 Thread Dominik Dingel
As soon as storage keys are enabled we need to stop working on zero page mappings to prevent inconsistencies between storage keys and pgste. Otherwise following data corruption could happen: 1) guest enables storage key 2) guest sets storage key for not mapped page X - change goes to PGSTE 3)

[PATCH 2/4] mm: introduce mm_forbids_zeropage function

2014-10-22 Thread Dominik Dingel
Add a new function stub to allow architectures to disable for an mm_structthe backing of non-present, anonymous pages with read-only empty zero pages. Signed-off-by: Dominik Dingel din...@linux.vnet.ibm.com --- include/linux/mm.h | 4 mm/huge_memory.c | 2 +- mm/memory.c| 2 +- 3

Re: GPIO bindings guidelines (Was: Re: [PATCH v5 10/12] gpio: Support for unified device properties interface)

2014-10-22 Thread Arnd Bergmann
On Wednesday 22 October 2014 11:10:44 Mika Westerberg wrote: It expects that GPIOs returned from _CRS are in specific order. Since we can't change these existing ACPI tables, we must support them somehow. This patch series handles it so that: 1) If we can't find given property (e.g

Re: [patch 1/4] mm: memcontrol: uncharge pages on swapout

2014-10-22 Thread Vladimir Davydov
On Tue, Oct 21, 2014 at 05:03:28PM -0400, Johannes Weiner wrote: On Tue, Oct 21, 2014 at 04:52:52PM +0400, Vladimir Davydov wrote: On Mon, Oct 20, 2014 at 11:22:09AM -0400, Johannes Weiner wrote: mem_cgroup_swapout() is called with exclusive access to the page at the end of the page's

Re: [PATCH v2 1/2] mtd: nand: omap: Do not use global variables

2014-10-22 Thread Brian Norris
On Thu, Oct 02, 2014 at 02:16:12PM +0200, Rostislav Lisovy wrote: Since the commit 97a288ba2cfa (ARM: omap2+: gpmc-nand: Use dynamic platform_device_alloc()) gpmc-nand driver supports multiple NAND flash devices connected to the single controller. Remove global variable to make the code

My Dearest

2014-10-22 Thread Mrs Christy Walton
I'm Mrs. Christy Walton. I have a charity proposal for you to help humanity contact: mrswalton...@hotmail.com --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com -- To unsubscribe from this list: send the line unsubscribe

RE: [alsa-devel] [PATCH] ASoC: atmel_ssc_dai: Track playback and capture CMR dividers separately.

2014-10-22 Thread Peter Rosin
Hi! With the patch, it is OK? Yes. #include sys/ioctl.h #include unistd.h #include fcntl.h #include sys/soundcard.h int main(void) { int fd; int format; int channels; if ((fd = open(/dev/dsp, O_WRONLY, 0)) == -1) { perror(open);

Re: [PATCH V2 linux-next] jffs2: fix sparse warning: unexpected unlock

2014-10-22 Thread Brian Norris
On Sun, Sep 28, 2014 at 09:26:32PM +0200, Fabian Frederick wrote: fs/jffs2/summary.c:846:5: warning: context imbalance in 'jffs2_sum_write_sumnode' - unexpected unlock Suggested-by: Brian Norris computersforpe...@gmail.com Suggested-by: Josh Triplett j...@joshtriplett.org Signed-off-by:

[PATCH v5 0/3] zram: add rw_page implementation for zram and clean up unnecessary parameter

2014-10-22 Thread karam . lee
From: karam.lee karam@lge.com Recently rw_page block device operation has been added. This patchset implements rw_page operation for zram block device and does some clean-up. Patches 1~2 are for clean-up. Patch 3 is for implementation of rw_page operation. With the rw_page operation, zram

[PATCH v5 1/3] zram: remove bio parameter from zram_bvec_rw().

2014-10-22 Thread karam . lee
From: karam.lee karam@lge.com This patch removes an unnecessary parameter(bio) from zram_bvec_rw() and zram_bvec_read(). zram_bvec_read() doesn't use a bio parameter, so remove it. zram_bvec_rw() calls a read/write operation not using bio, so a rw parameter replaces a bio parameter.

[PATCH RESEND 1/3] extcon: max77693: Remove left-over code after switching to regmap irq chip

2014-10-22 Thread Krzysztof Kozlowski
Before switching to regmap irq chip the extcon driver parsed some initialization data (from platform data or defaults hard coded in the driver) and adjusted interrupt masks to the init data (code was located in max77693-irq.c). However commit 342d669c1ee4 (mfd: max77693: Handle IRQs using regmap)

[PATCH v5 3/3] zram: implement rw_page operation of zram

2014-10-22 Thread karam . lee
From: karam.lee karam@lge.com This patch implements rw_page operation for zram block device. I implemented the feature in zram and tested it. Test bed was the G2, LG electronic mobile device, whtich has msm8974 processor and 2GB memory. With a memory allocation test program consuming memory,

Re: [PATCH v2] mfd: rtsx: fix PM suspend for 5227 5249

2014-10-22 Thread Micky Ching
Hi Lee, I am wondering if you have accepted this patch? Best Regards. micky. On 10/11/2014 09:07 AM, Micky Ching wrote: On 10/10/2014 06:21 PM, Lee Jones wrote: On Fri, 10 Oct 2014, micky_ch...@realsil.com.cn wrote: From: Micky Ching micky_ch...@realsil.com.cn Fix rts52275249 failed send

[PATCH RESEND 2/3] extcon: max77693: Request only specific interrupts

2014-10-22 Thread Krzysztof Kozlowski
The driver was requesting all MUIC interrupts but then was masking most of them manually at end of probe (with default_init_data). Since default_init_data cannot be passed through DTS (no bindings for driver), this was a conflicting behavior. First get everything, then mask what we don't want.

[PATCH RESEND 3/3] extcon: max77693: Fix extcon UART on Trats2 board

2014-10-22 Thread Krzysztof Kozlowski
When JIG was set to boot on mode, the UART connection did not work because it was assigned to Dock-Car cable (path: audio), not JIG-UART-ON cable. This was introduced in 39bf369e4ed3 (extcon: max77693: Add support dock device and buttons) while adding dock features. Assign the JIG-UART-ON back

[PATCH v5 2/3] zram: change parameter from vaild_io_request()

2014-10-22 Thread karam . lee
From: karam.lee karam@lge.com This patch changes parameter of valid_io_request for common usage. The purpose of valid_io_request() is to determine if bio request is valid or not. This patch use I/O start address and size instead of a BIO parameter for common usage. Signed-off-by: karam.lee

Re: [PATCH v2] mtd: orion_nand: fix error code path in probe

2014-10-22 Thread Brian Norris
On Thu, Oct 16, 2014 at 06:58:35AM +0200, Michael Opdenacker wrote: This replaces kzalloc() and ioremap() calls by devm_ functions in the probe() routine, which automatically release the corresponding resources when probe() fails or when the device is removed. This simplifies simplifies the

Re: GPIO bindings guidelines (Was: Re: [PATCH v5 10/12] gpio: Support for unified device properties interface)

2014-10-22 Thread Mika Westerberg
On Wed, Oct 22, 2014 at 10:33:32AM +0200, Arnd Bergmann wrote: On Wednesday 22 October 2014 11:10:44 Mika Westerberg wrote: It expects that GPIOs returned from _CRS are in specific order. Since we can't change these existing ACPI tables, we must support them somehow. This patch series

Re: Fwd: [PATCH] x86, MCE, AMD: save IA32_MCi_STATUS before machine_check_poll() resets it

2014-10-22 Thread Chen Yucong
On Wed, 2014-10-22 at 10:16 +0200, Borislav Petkov wrote: On Wed, Oct 22, 2014 at 09:51:18AM +0800, Chen Yucong wrote: Can you check the following link? The link contains my reply about x86, MCE, AMD: Move invariant code out from loop body. The reply was sent to you on October 7, but until

[PATCH] staging: rtl8192e: from bus specific dma api to dma api

2014-10-22 Thread Sudip Mukherjee
we should be using DMA API rather than using bus specific DMA API. converted the occurrence of pci_map_*() to dma_map_*(), and at the same time used the dma_mapping_error(). Signed-off-by: Sudip Mukherjee su...@vectorindia.org --- drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c | 12

RE: [PATCH] netlink: don't copy over empty attribute data

2014-10-22 Thread David Laight
From: Sasha Levin netlink uses empty data to seperate different levels. However, we still try to copy that data from a NULL ptr using memcpy, which is an undefined behaviour. Signed-off-by: Sasha Levin sasha.le...@oracle.com --- lib/nlattr.c |3 ++- 1 file changed, 2 insertions(+), 1

Re: [PATCH] mtd: phram: fix asm/io.h include usage

2014-10-22 Thread Brian Norris
On Tue, Oct 21, 2014 at 08:14:00PM +0100, Rob Ward wrote: From ca36c5ca9adbe1d3c107e5ff22e8d0db5dddb1b9 Mon Sep 17 00:00:00 2001 From: Rob Ward robert.ward...@googlemail.com Date: Tue, 21 Oct 2014 20:01:09 +0100 Subject: [PATCH] mtd: phram: fix asm/io.h include usage Modify phram to include

Re: [PATCH v5 4/4] crypto: Add Allwinner Security System crypto accelerator

2014-10-22 Thread Arnd Bergmann
On Sunday 19 October 2014 16:16:22 LABBE Corentin wrote: Add support for the Security System included in Allwinner SoC A20. The Security System is a hardware cryptographic accelerator that support AES/MD5/SHA1/DES/3DES/PRNG algorithms. Signed-off-by: LABBE Corentin clabbe.montj...@gmail.com

Re: [PATCH RESEND 2/3] extcon: max77693: Request only specific interrupts

2014-10-22 Thread Chanwoo Choi
Hi Krzysztof, The extcon-max77693.c was tested by all cables (mhl, hdmi, usb, usb-host, dock for audio play, dock for mhl). with default_init_data register setting. If you deletes legacy default_init_data[] register setting, extcon-max77693.c can not guarantee the operation of upper cables.

audit_tree: keep inode pinned

2014-10-22 Thread Miklos Szeredi
From: Miklos Szeredi mszer...@suse.cz Audit rules disappear when an inode they watch is evicted from the cache. This is likely not what we want. The guilty commit is fsnotify: allow marks to not pin inodes in core, which didn't take into account that audit_tree adds watches with a zero mask.

Problem: A divide error 0000 occured when rcv_mss is 0

2014-10-22 Thread Wang Weidong
Hi everyone, my kernel is based on linux-stable-3.4.87. And when I do some testing, I got this Bug: 4[18042.394823] divide error: [#1] 4[18042.395178] SMP 4[18042.734309] CPU 2 ... 4[18042.734309] RIP: 0010:[81385e44] [81385e44] tcp_send_dupack+0x54/0xe0

[PATCH v4 RESEND 1/3] ARM: dts: pbab01: move i2c pins and frequency configuration into pfla02

2014-10-22 Thread Dmitry Lavnikevich
Since pins and frequency are specific to module (pfla02), not base board (pbab02), it is better to be initialized in corresponding dts file. This patch fixes i2c2, i2c3 pin configuration which caused messages: imx6q-pinctrl 20e.iomuxc: no groups defined in

Re: [PATCH RESEND 3/3] extcon: max77693: Fix extcon UART on Trats2 board

2014-10-22 Thread Chanwoo Choi
On 10/22/2014 05:45 PM, Krzysztof Kozlowski wrote: When JIG was set to boot on mode, the UART connection did not work because it was assigned to Dock-Car cable (path: audio), not JIG-UART-ON cable. This was introduced in 39bf369e4ed3 (extcon: max77693: Add support dock device and buttons)

[PATCH v4 0/3 RESEND] Add Phytec pbab01 audio support

2014-10-22 Thread Dmitry Lavnikevich
Patch fixing PLL D configuration (number 4 in previous patchset) was already accepted by Mark Brown. No notes or comments on other patches was made so resending them in case they were lost. Based on branch for-next branch of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux.git -- To

Re: [PATCH v3] sched/numa: fix unsafe get_task_struct() in task_numa_assign()

2014-10-22 Thread Peter Zijlstra
On Tue, Oct 21, 2014 at 09:03:35PM +0200, Oleg Nesterov wrote: I think I prefer the SLAB_DESTROY_BY_RCU thing over the probe_kernel thing I won't really insist, but let me try to explain why I dislike it in this particular case. - It is not clear who else (except task_numa_compare) will

[PATCH v4 RESEND 3/3] ARM: imx_v6_v7_defconfig: enable tlv320aic3x audio codec by default

2014-10-22 Thread Dmitry Lavnikevich
Used on Phytec PBAB01 board. Signed-off-by: Dmitry Lavnikevich d.lavnikev...@sam-solutions.com --- arch/arm/configs/imx_v6_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig index

Re: [PATCH v2 0/12] perf/x86: implement HT leak workaround for SNB/IVB/HSW

2014-10-22 Thread Peter Zijlstra
On Tue, Oct 21, 2014 at 03:08:32PM +0200, Stephane Eranian wrote: On Tue, Oct 21, 2014 at 3:03 PM, Peter Zijlstra pet...@infradead.org wrote: On Tue, Oct 21, 2014 at 02:28:06PM +0200, Stephane Eranian wrote: Peter, On Tue, Oct 21, 2014 at 1:25 PM, Peter Zijlstra pet...@infradead.org

[PATCH v4 RESEND 2/3] ARM: dts: pbab01: enable I2S audio on phyFLEX-i.MX6 boards

2014-10-22 Thread Dmitry Lavnikevich
Audio on phyFLEX boards is presented by tlv320aic3007 codec connected over SSI interface. Signed-off-by: Dmitry Lavnikevich d.lavnikev...@sam-solutions.com --- arch/arm/boot/dts/imx6qdl-phytec-pbab01.dtsi | 100 ++- arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi | 15

Re: [PATCH RESEND 3/3] extcon: max77693: Fix extcon UART on Trats2 board

2014-10-22 Thread Krzysztof Kozlowski
On śro, 2014-10-22 at 18:09 +0900, Chanwoo Choi wrote: On 10/22/2014 05:45 PM, Krzysztof Kozlowski wrote: When JIG was set to boot on mode, the UART connection did not work because it was assigned to Dock-Car cable (path: audio), not JIG-UART-ON cable. This was introduced in

Re: [PATCH RESEND 2/3] extcon: max77693: Request only specific interrupts

2014-10-22 Thread Krzysztof Kozlowski
On śro, 2014-10-22 at 18:04 +0900, Chanwoo Choi wrote: Hi Krzysztof, The extcon-max77693.c was tested by all cables (mhl, hdmi, usb, usb-host, dock for audio play, dock for mhl). with default_init_data register setting. If you deletes legacy default_init_data[] register setting,

Re: [alsa-devel] [PATCH] ASoC: atmel_ssc_dai: Track playback and capture CMR dividers separately.

2014-10-22 Thread Bo Shen
Hi Peter, On 10/22/2014 04:33 PM, Peter Rosin wrote: The sama5d3xek/wm9804 combo, as implemented in the kernel, has the ssc dai in slave mode, and therefore don't need to fiddle with any ssc dai dividers (atmel_9804.c :atmel_asoc_wm9804_hw_params() only sets things in the wm9804 codec dai

Re: [PATCH v2] mfd: rtsx: fix PM suspend for 5227 5249

2014-10-22 Thread Lee Jones
On Fri, 10 Oct 2014, micky_ch...@realsil.com.cn wrote: From: Micky Ching micky_ch...@realsil.com.cn Fix rts52275249 failed send buffer cmd after suspend, PM_CTRL3 should reset before send any buffer cmd after suspend. Otherwise, buffer cmd will failed, this will lead resume fail.

[PATCH] clocksource: sh_mtu2: Correct SoC family name

2014-10-22 Thread Geert Uytterhoeven
r7s72100 is a member of the RZ family, not of the R-Car family Signed-off-by: Geert Uytterhoeven geert+rene...@glider.be --- Documentation/devicetree/bindings/timer/renesas,mtu2.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: GPIO bindings guidelines (Was: Re: [PATCH v5 10/12] gpio: Support for unified device properties interface)

2014-10-22 Thread Arnd Bergmann
On Wednesday 22 October 2014 11:51:40 Mika Westerberg wrote: On Wed, Oct 22, 2014 at 10:33:32AM +0200, Arnd Bergmann wrote: On Wednesday 22 October 2014 11:10:44 Mika Westerberg wrote: It expects that GPIOs returned from _CRS are in specific order. Since we can't change these existing

Re: [PATCH fixes v2] mfd: max77693: Fix always masked MUIC interrupts

2014-10-22 Thread Krzysztof Kozlowski
On pią, 2014-10-10 at 11:56 +0100, Lee Jones wrote: On Fri, 10 Oct 2014, Krzysztof Kozlowski wrote: All interrupts coming from MUIC were ignored because interrupt source register was masked. The Maxim 77693 has a interrupt source - a separate register and interrupts which give

Re: Fwd: [PATCH] x86, MCE, AMD: save IA32_MCi_STATUS before machine_check_poll() resets it

2014-10-22 Thread Borislav Petkov
Hi Aravind, question: what's the story with MC?_MISC[IntP], is that bit still there? Because I don't see it in my BKDGs here. The background of the story is https://lkml.org/lkml/2014/10/7/84 There's this thing we did at the time f227d4306cf3 (x86, MCE, AMD: Make APIC LVT thresholding

Re: [3.16.1 BISECTED REGRESSION]: Simtec Entropy Key (cdc-acm) broken in 3.16

2014-10-22 Thread Nix
On 14 Oct 2014, Johan Hovold verbalised: On Sun, Oct 12, 2014 at 10:36:30PM +0100, Nix wrote: I have checked: this code is being executed against a symlink that points to /dev/ttyACM0, and the tcsetattr() succeeds. (At least, it's succeeding on the kernel I'm running now, but of course that's

Re: [PATCH v3] sched/deadline: do not try to push tasks if pinned task switches to dl

2014-10-22 Thread Juri Lelli
On 22/10/14 01:36, Wanpeng Li wrote: As Kirill mentioned(https://lkml.org/lkml/2013/1/29/118): | If rq has already had 2 or more pushable tasks and we try to add a | pinned task then call of push_rt_task will just waste a time. Just switched pinned task is not able to be pushed. If the rq

Re: [PATCH 03/19] MIPS: sead3: Stop using GIC REG macros

2014-10-22 Thread Qais Yousef
On 10/20/2014 08:03 PM, Andrew Bresticker wrote: Stop using the REG macros from gic.h and instead use proper iomem accessors. Signed-off-by: Andrew Bresticker abres...@chromium.org --- arch/mips/mti-sead3/sead3-int.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git

Re: [PATCH v2 2/3] sched/dl: Cleanup prio_changed_dl()

2014-10-22 Thread Juri Lelli
On 21/10/14 17:33, Kirill Tkhai wrote: В Вт, 21/10/2014 в 17:24 +0100, Juri Lelli пишет: Hi Kirill, On 02/10/14 10:52, Kirill Tkhai wrote: В Чт, 02/10/2014 в 11:36 +0200, Peter Zijlstra пишет: On Wed, Oct 01, 2014 at 01:04:35AM +0400, Kirill Tkhai wrote: From: Kirill Tkhai

Re: [PATCH v5 3/4] pinctrl: Qualcomm SPMI PMIC GPIO pin controller driver

2014-10-22 Thread Ivan T. Ivanov
On Tue, 2014-10-21 at 19:15 +0100, Srinivas Kandagatla wrote: Hi Ivan, Just realized that this patch can generate compiler errors due to 3.18 changes in pinmux_ops struct and gpiochip_remove returns void now. Yes. I am just preparing new version of this for Linus. Regards, Ivan -- To

[PATCH] KVM: x86: Enable Intel AVX-512 for guest

2014-10-22 Thread Chao Peng
Expose Intel AVX-512 feature bits to guest. Also add checks for xcr0 AVX512 related bits according to spec: http://download-software.intel.com/sites/default/files/managed/71/2e/319433-017.pdf Signed-off-by: Chao Peng chao.p.p...@linux.intel.com --- arch/x86/include/asm/xsave.h |1 +

Re: [PATCH v3 0/2] s390 vs. kprobes on ftrace

2014-10-22 Thread Vojtech Pavlik
On Wed, Oct 22, 2014 at 10:26:25AM +0200, Heiko Carstens wrote: I can confirm that kGraft works well on top of current mainline with this patch added. Another reason for a performance impact when kGraft is enabled is that kGraft still adds two instructions to the syscall path on s390x,

[PATCH 2/3] ARM: shmobile: r8a7740 dtsi: Add TMU0 and TMU1 device nodes

2014-10-22 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven geert+rene...@glider.be --- arch/arm/boot/dts/r8a7740.dtsi | 28 1 file changed, 28 insertions(+) diff --git a/arch/arm/boot/dts/r8a7740.dtsi b/arch/arm/boot/dts/r8a7740.dtsi index 559bd39e778bddaf..aec8da89ef9ac766 100644 ---

[PATCH 3/3] ARM: shmobile: armadillo800eva dts: Enable TMU0

2014-10-22 Thread Geert Uytterhoeven
ch0 will be used for clock events and for periodic clock events, ch1 will be used as clock source. Signed-off-by: Geert Uytterhoeven geert+rene...@glider.be --- arch/arm/boot/dts/r8a7740-armadillo800eva.dts | 4 1 file changed, 4 insertions(+) diff --git

[PATCH 1/3] clocksource: sh_tmu: Document R-Mobile r8a7740 binding

2014-10-22 Thread Geert Uytterhoeven
Compared to the r8a7779, the r8a7740 lacks the input capture register, which is not used by the driver (the current driver already handles the r8a7740 in the non-DT case). Signed-off-by: Geert Uytterhoeven geert+rene...@glider.be --- Documentation/devicetree/bindings/timer/renesas,tmu.txt | 3

[PATCH 0/3] ARM: shmobile: r8a7740/armadillo800eva dts: Enable TMU0

2014-10-22 Thread Geert Uytterhoeven
Hi all, It seems the TMU got lost from armadillo800eva-reference at some point in time, and thus the conversion to DT was forgotten. This series extends the existing bindings to cover r8a7740, adds the device nodes on r8a7740, and enables TMU0 on armadillo800eva-multiplatform. Geert

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