[PATCH 1/2] f2fs: make truncate_inline_date static

2015-01-26 Thread Chao Yu
1. make truncate_inline_date static; 2. remove parameter @from of truncate_inline_date as callers only pass zero. Signed-off-by: Chao Yu chao2...@samsung.com --- fs/f2fs/f2fs.h | 1 - fs/f2fs/inline.c | 25 + 2 files changed, 9 insertions(+), 17 deletions(-) diff

[PATCH 2/2] f2fs: clean up {in,de}create_sleep_time

2015-01-26 Thread Chao Yu
Use pointer parameter @wait to pass result in {in,de}create_sleep_time for cleanup. Signed-off-by: Chao Yu chao2...@samsung.com --- fs/f2fs/gc.c | 8 fs/f2fs/gc.h | 28 ++-- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/fs/f2fs/gc.c

[PATCH] memcg: fix static checker warning

2015-01-26 Thread Kirill A. Shutemov
The patch mm: remove rest usage of VM_NONLINEAR and pte_file() from Jan 17, 2015, leads to the following static checker warning: mm/memcontrol.c:4794 mc_handle_file_pte() warn: passing uninitialized 'pgoff' After the patch, the only case when mc_handle_file_pte() called is

Re: [PATCH] video: hgafb: remove unneeded comparison

2015-01-26 Thread Tomi Valkeinen
On 13/01/15 18:14, Sudip Mukherjee wrote: var-yoffset is of the type __u32, hence the comparison will always be false. Signed-off-by: Sudip Mukherjee su...@vectorindia.org --- drivers/video/fbdev/hgafb.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

[PATCH -mm 2/3] slab: zap kmem_cache_shrink return value

2015-01-26 Thread Vladimir Davydov
The kmem_cache_shrink() return value is inconsistent: for SLAB it returns 0 iff the cache is empty, while for SLUB and SLOB it always returns 0. So let's zap it. Signed-off-by: Vladimir Davydov vdavy...@parallels.com --- include/linux/slab.h |2 +- mm/slab.c|9 +++--

[PATCH -mm 1/3] slub: don't fail kmem_cache_shrink if slab placement optimization fails

2015-01-26 Thread Vladimir Davydov
SLUB's kmem_cache_shrink not only removes empty slabs from the cache, but also sorts slabs by the number of objects in-use to cope with fragmentation. To achieve that, it tries to allocate a temporary array. If it fails, it will abort the whole procedure. This is unacceptable for kmemcg, where we

Re: [PATCH 2/7] pm: at91: pm_suspend: add the WFI support for ARMv7

2015-01-26 Thread Sergei Shtylyov
Hello. On 1/26/2015 1:06 PM, Wenyou Yang wrote: Signed-off-by: Wenyou Yang wenyou.y...@atmel.com --- arch/arm/mach-at91/pm_suspend.S | 54 ++- 1 file changed, 53 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-at91/pm_suspend.S

[PATCH_V2 0/4] sound:soc: jz4740: DT, dynamic sampling, enable clocks

2015-01-26 Thread Zubair Lutfullah Kakakhel
Hi, Here are a few simple patches for the jz4740. First adds dynamic sampling support to jz4740-i2s. Then two to add a simple binding and DT support. Then a patch to set the clock rate for i2s. These are in preparation for jz4780 and ci20 later on. Patches are based on 3.19-rc6. Quite disjoint

Re: 3.19 on Nokia n900: audio quality awful

2015-01-26 Thread Peter Ujfalusi
On 01/18/2015 02:01 PM, Pavel Machek wrote: Hi! If you have any idea about playback problems, help would be still welcome. I'll have to do bisect, otherwise, and it will not be easy. In 3.18, sound is nice and clear. In 3.19, sound is unusable. It produces nasty tone when it should be

[PATCH] staging: media: lirc: adjust boolean assignments

2015-01-26 Thread Heba Aamer
This patch adjusts boolean assignments from 0/1 to false/true. And accordingly, it also adjusts the if conditions. Signed-off-by: Heba Aamer heba93aa...@gmail.com --- drivers/staging/media/lirc/lirc_serial.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git

Re: [Patch v2 1/2] firmware: dmi_scan: add symbol to get SMBIOS entry area

2015-01-26 Thread Ard Biesheuvel
On 26 January 2015 at 13:28, Ivan Khoronzhuk ivan.khoronz...@linaro.org wrote: There are situations when code needs to access SMBIOS entry table area. For example, to pass it via sysfs to userspace when it's not allowed to get SMBIOS info via /dev/mem. Signed-off-by: Ivan Khoronzhuk

Re: [PATCH v5 2/2] clocksource: driver for Conexant Digicolor SoC timer

2015-01-26 Thread Daniel Lezcano
On 01/26/2015 12:57 PM, Baruch Siach wrote: Add clocksource driver to the Conexant CX92755 SoC, part of the Digicolor SoCs series. Hardware provides 8 timers, A to H. Timer A is dedicated to a future watchdog driver so we don't use it here. Use timer B for sched_clock, and timer C for

[PATCH 3.19.0-rc5 03/03] STAGING: Fix pcl818.c coding style issue: no space before tabs

2015-01-26 Thread Simon Guo
Correct one coding style problem(detected by checkpatch.pl) in pcl818.c. - please, no space before tabs Signed-off-by: Simon Guo wei.guo.si...@gmail.com --- drivers/staging/comedi/drivers/pcl818.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH bluetooth-next] ieee802154: cc2520: Replace shift operations by BIT macro

2015-01-26 Thread Varka Bhadram
Hi Jamal, On Friday 23 January 2015 07:28 PM, Mohammad Jamal wrote: This patch replaces the shifting operations by BIT macro Thanks for the patch. Acked-by: Varka Bhadram varkabhad...@gmail.com Signed-off-by: Mohammad Jamal md.jamalmohiud...@gmail.com --- drivers/net/ieee802154/cc2520.c

Re: mmotm 2015-01-22-15-04: qemu failures due to 'mm: account pmd page tables to the process'

2015-01-26 Thread Guenter Roeck
On 01/26/2015 04:29 AM, Kirill A. Shutemov wrote: On Fri, Jan 23, 2015 at 09:52:07PM -0800, Guenter Roeck wrote: On Fri, Jan 23, 2015 at 01:55:19PM -0800, Andrew Morton wrote: On Fri, 23 Jan 2015 07:07:56 -0800 Guenter Roeck li...@roeck-us.net wrote: qemu:microblaze generates warnings to

Re: mmotm 2015-01-22-15-04: qemu failures due to 'mm: account pmd page tables to the process'

2015-01-26 Thread Guenter Roeck
On 01/26/2015 06:03 AM, Guenter Roeck wrote: On 01/26/2015 04:29 AM, Kirill A. Shutemov wrote: On Fri, Jan 23, 2015 at 09:52:07PM -0800, Guenter Roeck wrote: On Fri, Jan 23, 2015 at 01:55:19PM -0800, Andrew Morton wrote: On Fri, 23 Jan 2015 07:07:56 -0800 Guenter Roeck li...@roeck-us.net

[PATCH v2 3/7] ARM: dts: dra7-evm: Add extcon nodes for USB

2015-01-26 Thread Roger Quadros
On this EVM, the USB cable state has to be determined via the ID pin tied to a GPIO line. We use the gpio-usb-extcon driver to read the ID pin and the extcon framework to forward the USB cable state information to the USB driver so the controller can be configured in the right mode

Re: [RFC][PATCH v2] procfs: Always expose /proc/pid/map_files/ and make it readable

2015-01-26 Thread Kirill A. Shutemov
On Fri, Jan 23, 2015 at 07:15:44PM -0800, Calvin Owens wrote: Currently, /proc/pid/map_files/ is restricted to CAP_SYS_ADMIN, and is only exposed if CONFIG_CHECKPOINT_RESTORE is set. This interface is very useful for enumerating the files mapped into a process when the more verbose information

[PATCH 3/5] staging: comedi: 8255.c: document subdev_8255_init() and _mm_init()

2015-01-26 Thread Ian Abbott
Add kerneldoc comments for the subdev_8255_init() and subdev_8255_mm_init() functions and remove the other comment about how to use this module in a comedi driver. Signed-off-by: Ian Abbott abbo...@mev.co.uk --- drivers/staging/comedi/drivers/8255.c | 79 --- 1

[PATCH 0/5] staging: comedi: 8255.[ch]: reformat comments

2015-01-26 Thread Ian Abbott
Reformat comments to usual style and add kerneldoc to exported functions. 1) staging: comedi: 8255.c: reformat copyright comment 2) staging: comedi: 8255.c: reformat comedi driver comment 3) staging: comedi: 8255.c: document subdev_8255_init() and _mm_init() 4) staging: comedi: 8255.c: reformat

Re: [PATCH v2 02/12] pm: at91: Workaround DDRSDRC self-refresh bug with LPDDR1 memories.

2015-01-26 Thread Nicolas Ferre
Le 26/01/2015 11:36, Sylvain Rochet a écrit : Hello Wenyou, On Mon, Jan 26, 2015 at 05:38:59PM +0800, Wenyou Yang wrote: From: Peter Rosin p...@axentia.se The DDRSDR controller fails miserably to put LPDDR1 memories in self-refresh. Force the controller to think it has DDR2 memories

Re: [Patch v2 2/2] firmware: dmi-sysfs: add SMBIOS entry point area attribute

2015-01-26 Thread Ard Biesheuvel
On 26 January 2015 at 13:28, Ivan Khoronzhuk ivan.khoronz...@linaro.org wrote: There are situations when code needs to access SMBIOS entry table area, but cannot use /dev/mem for this. As the table format is consistent only for a version, and can be changed, use binary attribute to give access

Re: Fwd: Question on SCTP ABORT chunk is generated when the association_max_retrans is reached

2015-01-26 Thread Neil Horman
On Fri, Jan 23, 2015 at 01:30:55PM -0500, Vlad Yasevich wrote: On 01/23/2015 12:10 PM, Daniel Borkmann wrote: On 01/23/2015 05:05 PM, Vlad Yasevich wrote: On 01/23/2015 06:50 AM, Daniel Borkmann wrote: On 01/23/2015 11:25 AM, Sun Paul wrote: ... I would like to check the behave in

Re: [PATCH v5 2/2] clocksource: driver for Conexant Digicolor SoC timer

2015-01-26 Thread Baruch Siach
Hi Daniel, On Mon, Jan 26, 2015 at 02:44:15PM +0100, Daniel Lezcano wrote: diff --git a/drivers/clocksource/Makefile b/drivers/clocksource/Makefile index 94d90b24b56b..a993c108be67 100644 --- a/drivers/clocksource/Makefile +++ b/drivers/clocksource/Makefile @@ -10,6 +10,7 @@

Re: [PATCH v2 1/7] extcon: usb-gpio: Introduce gpio usb extcon driver

2015-01-26 Thread Chanwoo Choi
Hi Roger, This patch looks good to me. But I add some comment. If you modify some comment, I'll apply this patch on 3.21 queue. On Mon, Jan 26, 2015 at 9:15 PM, Roger Quadros rog...@ti.com wrote: This driver observes the USB ID pin connected over a GPIO and updates the USB cable extcon states

[PATCH] proc/pagemap: walk page tables under pte lock

2015-01-26 Thread Konstantin Khlebnikov
Lockless access to pte in pagemap_pte_range() might race with page migration and trigger BUG_ON(!PageLocked()) in migration_entry_to_page(): CPU A (pagemap) CPU B (migration) lock_page()

[PATCH v2 6/7] ARM: dts: am57xx-beagle-x15: Fix USB2 mode

2015-01-26 Thread Roger Quadros
On this board USB2 is meant to be used as peripheral only. The ID pin for USB2 is hardwired HIGH. Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/boot/dts/am57xx-beagle-x15.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/am57xx-beagle-x15.dts

[PATCH v2 1/7] extcon: usb-gpio: Introduce gpio usb extcon driver

2015-01-26 Thread Roger Quadros
This driver observes the USB ID pin connected over a GPIO and updates the USB cable extcon states accordingly. The existing GPIO extcon driver is not suitable for this purpose as it needs to be taught to understand USB cable states and it can't handle more than one cable per instance. For the

[PATCH v2 4/7] ARM: dts: dra72-evm: Add extcon nodes for USB

2015-01-26 Thread Roger Quadros
On this EVM, the USB cable state has to be determined via the ID pin tied to a GPIO line. We use the gpio-usb-extcon driver to read the ID pin and the extcon framework to forward the USB cable state information to the USB driver so the controller can be configured in the right mode

Re: [PATCH 3/3] x86, crash: Allocate enough low-mem when crashkernel=high

2015-01-26 Thread Joerg Roedel
On Mon, Jan 26, 2015 at 01:20:17PM +0100, Borislav Petkov wrote: On Mon, Jan 26, 2015 at 01:11:42PM +0100, Joerg Roedel wrote: Or we solve it in user-space by some more cleverness in creating the kernel command-line for crashkernel=high. I'd say, we should try to do as much as possible

[PATCH 1/5] staging: comedi: 8255.c: reformat copyright comment

2015-01-26 Thread Ian Abbott
Use the usual block comment style. Signed-off-by: Ian Abbott abbo...@mev.co.uk --- drivers/staging/comedi/drivers/8255.c | 31 --- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/drivers/staging/comedi/drivers/8255.c

[PATCH 2/5] staging: comedi: 8255.c: reformat comedi driver comment

2015-01-26 Thread Ian Abbott
Use the usual block comment style. Signed-off-by: Ian Abbott abbo...@mev.co.uk --- drivers/staging/comedi/drivers/8255.c | 61 +-- 1 file changed, 30 insertions(+), 31 deletions(-) diff --git a/drivers/staging/comedi/drivers/8255.c

Re: perf not capturing stack traces

2015-01-26 Thread Russell King - ARM Linux
On Mon, Jan 26, 2015 at 10:27:11AM +, Will Deacon wrote: On Sun, Jan 25, 2015 at 03:56:52PM +, Russell King - ARM Linux wrote: On Sat, Jan 24, 2015 at 04:23:42PM -0600, Felipe Balbi wrote: yeah, I'll try a few older kernels, also see if I can reproduce on other boards. Perf

Re: [PATCH 1/2] zram: free meta out of init_lock

2015-01-26 Thread Sergey Senozhatsky
Hello, On (01/26/15 10:33), Minchan Kim wrote: Hello, On Sat, Jan 24, 2015 at 12:47:07AM +0900, Sergey Senozhatsky wrote: On (01/23/15 15:48), Jerome Marchand wrote: On 01/23/2015 03:24 PM, Sergey Senozhatsky wrote: On (01/23/15 14:58), Minchan Kim wrote: We don't need to call

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

2015-01-26 Thread Thomas Gleixner
On Mon, 26 Jan 2015, Rafael J. Wysocki wrote: On Monday, January 26, 2015 10:40:24 AM Thomas Gleixner wrote: On Mon, 26 Jan 2015, Li, Aubrey wrote: On 2015/1/22 18:15, Thomas Gleixner wrote: Can we please stop adding more crap to that notifier thing? I rather see that go away than

Re: [PATCH 2/5] tools lib api fs: Add tracefs mount helper functions

2015-01-26 Thread Steven Rostedt
On Mon, 26 Jan 2015 10:02:55 +0100 Jiri Olsa jo...@redhat.com wrote: Note, WTF is perf checking the magic number for debugfs?? If events move, even if its at the same path, this will break perf! good question.. it's there since 2009: f6bdafef2ab9 perf_counter: Add tracepoint support to

[PATCH v2 0/3] mm: cma: debugfs access to CMA

2015-01-26 Thread Sasha Levin
I've noticed that there is no interfaces exposed by CMA which would let me fuzz what's going on in there. This small patch set exposes some information out to userspace, plus adds the ability to trigger allocation and freeing from userspace. Changes from v1: - Make allocation and free hooks

[PATCH v2 1/3] mm: cma: debugfs interface

2015-01-26 Thread Sasha Levin
Implement a simple debugfs interface to expose information about CMA areas in the system. Useful for testing/sanity checks for CMA since it was impossible to previously retrieve this information in userspace. Signed-off-by: Sasha Levin sasha.le...@oracle.com --- mm/Kconfig |6 ++

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

2015-01-26 Thread Rafael J. Wysocki
On Monday, January 26, 2015 03:24:27 PM Thomas Gleixner wrote: On Mon, 26 Jan 2015, Rafael J. Wysocki wrote: On Monday, January 26, 2015 10:40:24 AM Thomas Gleixner wrote: The only remaining issue might be a NMI calling into ktime_get_mono_fast_ns() before timekeeping is resumed. Its

[PATCH v2 2/3] mm: cma: allocation trigger

2015-01-26 Thread Sasha Levin
Provides a userspace interface to trigger a CMA allocation. Usage: echo [pages] alloc This would provide testing/fuzzing access to the CMA allocation paths. Signed-off-by: Sasha Levin sasha.le...@oracle.com --- mm/cma_debug.c | 60

Re: [PATCH_V2 2/4] dt: sound: jz4740: Add binding documentation for jz4740-i2s

2015-01-26 Thread Arnd Bergmann
On Monday 26 January 2015 13:15:36 Zubair Lutfullah Kakakhel wrote: + +Required properties: +- compatible : ingenic,jz4740-i2s +- reg : I2S registers location and length +- clocks : AIC and I2S PLL clock specifiers. +- clock-names: aic and i2s + +Example: + +i2s: i2s@1002 { +

[PATCH v2 3/3] mm: cma: release trigger

2015-01-26 Thread Sasha Levin
Provides a userspace interface to trigger a CMA release. Usage: echo [pages] free This would provide testing/fuzzing access to the CMA release paths. Signed-off-by: Sasha Levin sasha.le...@oracle.com --- mm/cma_debug.c | 54 ++ 1

Re: [PATCH/RFC 2/3] ftrace: introduce nohotpatch function attribute

2015-01-26 Thread Steven Rostedt
On Mon, 26 Jan 2015 13:54:53 +0100 Heiko Carstens heiko.carst...@de.ibm.com wrote: gcc supports an s390 specific function attribute called hotpatch. It can be used to specify the number of halfwords that shall be added before and after a function that shall be filled with nops for runtime

[PATCH v4 1/1] x86: Add Isolated Memory Regions for Quark X1000

2015-01-26 Thread Bryan O'Donoghue
Intel's Quark X1000 SoC contains a set of registers called Isolated Memory Regions. IMRs are accessed over the IOSF mailbox interface. IMRs are areas carved out of memory that define read/write access rights to the various system agents within the Quark system. For a given agent in the system it

[PATCH v4 0/1] x86: Add IMR support to Quark/Galileo

2015-01-26 Thread Bryan O'Donoghue
This patchset adds support for Isolated Memory Regions to the kernel. Quark SoC X1000 contains a set of registers called Isolated Memory Regions. IMRs provide fine grained memory access control to various system agents within the SoC such as CPU SMM/non-SMM mode, PCIe virtual channels, CPU snoop

[PATCH] media: am437x: fix sparse warnings

2015-01-26 Thread Lad, Prabhakar
This patch fixes following spare warnings: drivers/media/platform/am437x/am437x-vpfe.c:66:28: warning: symbol 'vpfe_standards' was not declared. Should it be static? drivers/media/platform/am437x/am437x-vpfe.c:2202:57: warning: incorrect type in argument 2 (different address spaces)

Re: [PATCH 3/3] x86, crash: Allocate enough low-mem when crashkernel=high

2015-01-26 Thread Borislav Petkov
On Mon, Jan 26, 2015 at 01:11:42PM +0100, Joerg Roedel wrote: Well, there is no easy way. But we could collect information from the loaded drivers on boot about how many dma-memory they allocate and base our allocation on that. That sounds like a nifty idea to me. Or we solve it in

Re: [PATCH] video: fbdev: sis: remove unused variables

2015-01-26 Thread Tomi Valkeinen
On 22/01/15 17:31, Sudip Mukherjee wrote: removed some variables which were not used. Few calls to SiS_GetReg() were left behind as they are reading from the hardare, removing them might affect the overall functionality. Signed-off-by: Sudip Mukherjee su...@vectorindia.org --- This patch

[PATCH/RFC 1/3] ftrace: allow architectures to specify ftrace compile options

2015-01-26 Thread Heiko Carstens
If the kernel is compiled with function tracer support the -pg compile option is passed to gcc to generate extra code into the prologue of each function. This patch replaces the open-coded -pg compile flag with a CC_FLAGS_FTRACE makefile variable which architectures can override if a different

[PATCH/RFC 0/3] ftrace: allow arch specific compile options

2015-01-26 Thread Heiko Carstens
This patch set enables s390 to use gcc's s390 specific --mhotpatch compile option if the kernel is instrumented for function tracing. The normal -pg compile option adds 24 bytes to each function prologue. Performance measurements have shown that, depending on the workload, we have an impact of up

Re: [PATCH 8/8] phy: add driver for TI TUSB1210 ULPI PHY

2015-01-26 Thread Heikki Krogerus
Hi David, On Sat, Jan 24, 2015 at 03:58:11PM -0800, David Cohen wrote: +static int tusb1210_power_on(struct phy *phy) +{ + struct tusb1210 *tusb = phy_get_drvdata(phy); + + gpiod_set_value_cansleep(tusb-gpio_reset, 1); + gpiod_set_value_cansleep(tusb-gpio_cs, 1); + + /*

Re: [PATCH 3/3] ARM: OMAP2+: gpmc: Do not modify LIMITEDADDRESS on new architectures

2015-01-26 Thread Sam Protsenko
On Mon, Jan 26, 2015 at 11:50 AM, Roger Quadros rog...@ti.com wrote: Hi, On 24/01/15 22:28, Semen Protsenko wrote: New OMAP-based architectures (like OMAP5, DRA7XX, AM572X) don't have LIMITEDADDRESS bit in GPMC_CONFIG register (this bit marked as RESERVED). Seems like these SoCs have new

Re: Change behaviour when tracing ... nasty trap (was Re: [PATCH] PM/Trace: get rid of synchronous resume limit during PM trace)

2015-01-26 Thread Pavel Machek
Document pm_tracing actually affecting suspend in non-trivial way. Signed-off-by: Pavel Machek pa...@ucw.cz --- On Mon 2015-01-26 14:41:02, Rafael J. Wysocki wrote: On Monday, January 26, 2015 12:05:16 PM Pavel Machek wrote: On Mon 2015-01-26 10:39:04, Liu, Chuansheng wrote: @@ -517,8

[PATCH 3.19.0-rc5 01/03] STAGING: Fix pcl818.c coding style issue: code indent should use tabs where possible

2015-01-26 Thread Simon Guo
Correct one coding style problem(detected by checkpatch.pl) in pcl818.c. - code indent should use tabs where possible It is fixed by reformatting the comment block to usual comment style. Signed-off-by: Simon Guo wei.guo.si...@gmail.com --- drivers/staging/comedi/drivers/pcl818.c | 195

[PATCH 3.19.0-rc5 02/03] STAGING: Fix pcl818.c coding style issue: line over 80 characters

2015-01-26 Thread Simon Guo
Correct one coding style problem(detected by checkpatch.pl) in pcl818.c. - line over 80 characters Signed-off-by: Simon Guo wei.guo.si...@gmail.com --- drivers/staging/comedi/drivers/pcl818.c | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git

[PATCH] media: adv7604: CP CSC uses a different register on adv7604 and adv7611

2015-01-26 Thread Jean-Michel Hautbois
The bits are the same, but register is 0xf4 on ADV7611 instead of 0xfc. When reading back the value in log_status, differentiate both. Signed-off-by: Jean-Michel Hautbois jean-michel.hautb...@vodalys.com --- drivers/media/i2c/adv7604.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-)

[PATCH v3 0/1] x86: Add IMR support to Quark/Galileo

2015-01-26 Thread Bryan O'Donoghue
This patchset adds support for Isolated Memory Regions to the kernel. Quark SoC X1000 contains a set of registers called Isolated Memory Regions. IMRs provide fine grained memory access control to various system agents within the SoC such as CPU SMM/non-SMM mode, PCIe virtual channels, CPU snoop

[PATCH v3 1/1] x86: Add Isolated Memory Regions for Quark X1000

2015-01-26 Thread Bryan O'Donoghue
Intel's Quark X1000 SoC contains a set of registers called Isolated Memory Regions. IMRs are accessed over the IOSF mailbox interface. IMRs are areas carved out of memory that define read/write access rights to the various system agents within the Quark system. For a given agent in the system it

RE: [PATCH V6 1/1] perf tool: perf diff support for different binaries

2015-01-26 Thread Liang, Kan
Em Tue, Dec 02, 2014 at 10:39:18AM -0500, kan.li...@intel.com escreveu: From: Kan Liang kan.li...@intel.com Currently, the perf diff only works with same binaries. That's because it compares the symbol start address. It doesn't work if the perf.data comes from different binaries.

Re: [PATCH 2/5] tools lib api fs: Add tracefs mount helper functions

2015-01-26 Thread Jiri Olsa
On Mon, Jan 26, 2015 at 09:26:21AM -0500, Steven Rostedt wrote: On Mon, 26 Jan 2015 10:02:55 +0100 Jiri Olsa jo...@redhat.com wrote: Note, WTF is perf checking the magic number for debugfs?? If events move, even if its at the same path, this will break perf! good question.. it's

Re: [PATCH v2 07/10] iio: core: Introduce IIO_CHAN_INFO_FILTER_OUTLIERS_THRESH and _PERIOD

2015-01-26 Thread Daniel Baluta
On Mon, Jan 26, 2015 at 1:07 AM, Jonathan Cameron ji...@kernel.org wrote: On 11/01/15 19:10, Irina Tirdea wrote: The pedometer needs to filter out false steps that might be generated by tapping the foot, sitting, etc. To do that it computes the number of steps that occur in a given time and

Re: [PATCH v2 5/5] clocksource: sun5i: Add clock notifiers

2015-01-26 Thread Maxime Ripard
Hi Daniel, On Mon, Jan 26, 2015 at 12:22:16PM +0100, Daniel Lezcano wrote: On 01/26/2015 10:50 AM, Maxime Ripard wrote: The parent clock of the sun5i timer is the AHB clock, which rate might change because of other devices requirements. This is for example the case on the Allwinner A31,

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

2015-01-26 Thread Rafael J. Wysocki
On Monday, January 26, 2015 03:34:22 PM Thomas Gleixner wrote: On Mon, 26 Jan 2015, Rafael J. Wysocki wrote: On Monday, January 26, 2015 03:24:27 PM Thomas Gleixner wrote: On Mon, 26 Jan 2015, Rafael J. Wysocki wrote: On Monday, January 26, 2015 10:40:24 AM Thomas Gleixner wrote:

Re: [PATCH 3.19.0-rc5 01/03] STAGING: Fix pcl818.c coding style issue: code indent should use tabs where possible

2015-01-26 Thread Ian Abbott
On 26/01/15 13:16, Simon Guo wrote: Correct one coding style problem(detected by checkpatch.pl) in pcl818.c. - code indent should use tabs where possible It is fixed by reformatting the comment block to usual comment style. Signed-off-by: Simon Guo wei.guo.si...@gmail.com ---

[PATCH_V3 4/4] sound: jz4740: set i2s clk rate to 12MHz

2015-01-26 Thread Zubair Lutfullah Kakakhel
i2s clock rate is not set to 12MHz currently. Set it before enabling the clock. Signed-off-by: Zubair Lutfullah Kakakhel zubair.kakak...@imgtec.com --- V2 changes: Removed clk_prepare_enable call as clock was already being enabled elsewhere. Just set rate to 12MHz. ---

Re: [PATCH V4] mm/thp: Allocate transparent hugepages on local node

2015-01-26 Thread Vlastimil Babka
On 01/26/2015 01:13 PM, Kirill A. Shutemov wrote: On Mon, Jan 26, 2015 at 12:41:55PM +0100, Vlastimil Babka wrote: On 01/21/2015 01:48 AM, Andrew Morton wrote: On Tue, 20 Jan 2015 17:04:31 +0530 Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com wrote: + * Should be called with the mm_sem

Re: [PATCH] OMAPDSS: hdmi5: remove unneeded check

2015-01-26 Thread Tomi Valkeinen
On 13/01/15 18:46, Sudip Mukherjee wrote: prior to this check we are checking for word_length_16b and if word_length_16b is false then we are returning with -EINVAL. So at this point word_length_16b can only be true. True, but it looks to me the code may be extended in the future. And if it

Re: [PATCH] USB: cp210x: add ID for RUGGEDCOM USB Serial Console

2015-01-26 Thread Johan Hovold
On Wed, Jan 21, 2015 at 03:24:27PM -0500, Lennart Sorensen wrote: Added the USB serial console device ID for Siemens Ruggedcom devices which have a USB port for their serial console. Signed-off-by: Len Sorensen lsore...@csclub.uwaterloo.ca --- drivers/usb/serial/cp210x.c |1 + 1 file

Re: [PATCH RESEND v3 0/3] irqchip: vf610-mscm: add support for MSCM interrupt router

2015-01-26 Thread Marc Zyngier
On 26/01/15 11:55, Stefan Agner wrote: On 2015-01-26 11:16, Thomas Gleixner wrote: On Thu, 15 Jan 2015, Stefan Agner wrote: Splitted out version of the MSCM driver. My first driver based on the routeable domain support and was part of the Vybrid Cortex-M4 support patchset. So far the MSCM

[GIT PULL] at91: cleanup/soc for 3.20 #3 (bis)

2015-01-26 Thread Nicolas Ferre
Arnd, Olof, Kevin, This is the rework of my previous pull-request with modifications advised by Olof. This is a batch of cleanup/soc modifications that you may also stack on top of your soc branch as the previous one. It stabilizes a little bit our cleanup action before going further. Another

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-01-26 Thread Heikki Krogerus
On Fri, Jan 23, 2015 at 04:14:13PM +0100, Rafael J. Wysocki wrote: That actually makes me think that we could then drop the lookup tables completely and use device properties instead with the help of generic property (attached): Which reminds me that I've lost track of this one. Can

Re: Question on SCTP ABORT chunk is generated when the association_max_retrans is reached

2015-01-26 Thread Sun Paul
When an ABORT is sent to side-A, side-A INIT a new connection again. On Mon, Jan 26, 2015 at 7:46 PM, Marcelo Ricardo Leitner marcelo.leit...@gmail.com wrote: Hi, On 25-01-2015 23:27, Sun Paul wrote: Hi sorry for the late reply. I am a bit confused. when side-A sends a request to side-B,

[PATCH_V2 3/4] sound: soc: jz4740: Add DT support to jz4740-i2s driver

2015-01-26 Thread Zubair Lutfullah Kakakhel
This patch adds device tree support for the jz4740 driver. Signed-off-by: Zubair Lutfullah Kakakhel zubair.kakak...@imgtec.com --- V2 changes: Added ifdef config_of --- sound/soc/jz4740/jz4740-i2s.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/sound/soc/jz4740/jz4740-i2s.c

[PATCH_V2 4/4] sound: jz4740: set i2s clk rate to 12MHz

2015-01-26 Thread Zubair Lutfullah Kakakhel
i2s clock rate is not set to 12MHz currently. Set it before enabling the clock. Signed-off-by: Zubair Lutfullah Kakakhel zubair.kakak...@imgtec.com --- V2 changes: Removed clk_prepare_enable call as clock was already being enabled elsewhere. Just set rate to 12MHz. ---

Re: [PATCH 0/3] Drivers: hv: vmbus: fix crashes on hv_vmbus load/unload path

2015-01-26 Thread Vitaly Kuznetsov
Vitaly Kuznetsov vkuzn...@redhat.com writes: It is possible (since 93e5bd06a953: Drivers: hv: Make the vmbus driver unloadable) to unload hv_vmbus driver if no other devices are connected. 1aec169673d7: x86: Hyperv: Cleanup the irq mess fixed doulble interrupt gate setup. However, if we try

Re: [PATCH RESEND v3 0/3] irqchip: vf610-mscm: add support for MSCM interrupt router

2015-01-26 Thread Mark Rutland
[...] What about the DT bindings? I'm relucant to pick that up w/o acks from the DT folks. The bindings are straight forward interrupt-controller bindings, since it uses the hierarchic irq domain stuff. The only uncommon thing is that I also added syscon as compatible, since the module

Re: perf not capturing stack traces

2015-01-26 Thread Russell King - ARM Linux
On Mon, Jan 26, 2015 at 09:12:43AM -0300, Arnaldo Carvalho de Melo wrote: Em Mon, Jan 26, 2015 at 10:27:11AM +, Will Deacon escreveu: On Sun, Jan 25, 2015 at 03:56:52PM +, Russell King - ARM Linux wrote: On Sat, Jan 24, 2015 at 04:23:42PM -0600, Felipe Balbi wrote: yeah, I'll try

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

2015-01-26 Thread Thomas Gleixner
On Mon, 26 Jan 2015, Rafael J. Wysocki wrote: On Monday, January 26, 2015 10:40:24 AM Thomas Gleixner wrote: The only remaining issue might be a NMI calling into ktime_get_mono_fast_ns() before timekeeping is resumed. Its probably a non issue on x86/tsc, but it might be a problem on other

RE: [PATCH v3 1/1] mfd: intel_quark_i2c_gpio: Add Intel Quark X1000 I2C-GPIO MFD Driver

2015-01-26 Thread Tan, Raymond
Hi Mike, Thanks for the acknowledgement. The clk will be consumed by the desginware i2c controller. Warm Regards,  Raymond Tan Software Engineer Malaysia IT Flex Services INET: 8-253-0075 Flex Website: http://flexservices.intel.com -Original Message- From: Mike Turquette

Re: [PATCH v4 0/4] Add basic support for Mediatek MT8173 SoC

2015-01-26 Thread Matthias Brugger
2015-01-12 10:14 GMT+01:00 Eddie Huang eddie.hu...@mediatek.com: MT8173 is a SoC based on 64bit ARMv8 architecture. It contains 2 CA53 + 2 CA57 cores. MT8173 share many HW IP with MT8135 and other MT65xx series. This patchset was tested on MT8173 engineer sample, and boot to shell ok.

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

2015-01-26 Thread Thomas Gleixner
On Mon, 26 Jan 2015, Rafael J. Wysocki wrote: On Monday, January 26, 2015 03:24:27 PM Thomas Gleixner wrote: On Mon, 26 Jan 2015, Rafael J. Wysocki wrote: On Monday, January 26, 2015 10:40:24 AM Thomas Gleixner wrote: The only remaining issue might be a NMI calling into

Re: [PATCH 2/2] HID: i2c-hid: Add support for GPIO interrupts

2015-01-26 Thread Mark Rutland
On Mon, Jan 26, 2015 at 02:47:29PM +, Mika Westerberg wrote: On Mon, Jan 26, 2015 at 02:37:24PM +, Mark Rutland wrote: On Mon, Jan 26, 2015 at 02:29:33PM +, Mika Westerberg wrote: The HID over I2C specification allows to have the interrupt for a HID device to be GPIO instead

[PATCH -mm 0/3] slub: make dead caches discard free slabs immediately

2015-01-26 Thread Vladimir Davydov
Hi, The kmem extension of the memory cgroup is almost usable now. There is, in fact, the only serious issue left: per memcg kmem caches may pin the owner cgroup for indefinitely long. This is, because a slab cache may keep empty slab pages in its private structures to optimize performance, while

[PATCH_V2 1/4] sound: soc: jz4740: Add dynamic sampling rate support to jz4740-i2s

2015-01-26 Thread Zubair Lutfullah Kakakhel
The div clock register is not modified during jz4740_i2s_hw_params. Hence, default sampling rates are actually used regardless of sampling rates input from userspace. This patch adds support to calculate the value of the divider from the parameters passed from userspace and update the relevant

[PATCH_V2 2/4] dt: sound: jz4740: Add binding documentation for jz4740-i2s

2015-01-26 Thread Zubair Lutfullah Kakakhel
This patch adds binding for the jz4740-i2s driver. Signed-off-by: Zubair Lutfullah Kakakhel zubair.kakak...@imgtec.com --- The jz4740 is platform only at the moment. But DT support is being added See http://patchwork.linux-mips.org/bundle/paulburton/ci20-v3.20/ V2 changes: Added DMA bindings

Re: [PATCH RESEND v3 2/3] irqchip: vf610-mscm: dt-bindings: add MSCM bindings

2015-01-26 Thread Mark Rutland
On Thu, Jan 15, 2015 at 08:04:05AM +, Stefan Agner wrote: Add binding documentation for Miscellaneous System Control Module found in Freescale Vybrid SoC's. Signed-off-by: Stefan Agner ste...@agner.ch --- .../bindings/arm/freescale/fsl,vf610-mscm.txt | 19 +++

Re: [PATCH 02/32] lib/vsprintf: implement bitmap printing through '%*pb[l]'

2015-01-26 Thread Peter Zijlstra
On Sat, Jan 24, 2015 at 09:03:08AM -0500, Tejun Heo wrote: There have been a couple different attempts at making this easier. 1. Way back, PeterZ tried printk '%pb' extension with the precision for bit width - '%.*pb'. This was intuitive and made sense but unfortunately triggered a

Re: [PATCH v5 2/2] clocksource: driver for Conexant Digicolor SoC timer

2015-01-26 Thread Daniel Lezcano
On 01/26/2015 02:47 PM, Baruch Siach wrote: Hi Daniel, On Mon, Jan 26, 2015 at 02:44:15PM +0100, Daniel Lezcano wrote: diff --git a/drivers/clocksource/Makefile b/drivers/clocksource/Makefile index 94d90b24b56b..a993c108be67 100644 --- a/drivers/clocksource/Makefile +++

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

2015-01-26 Thread Rafael J. Wysocki
On Monday, January 26, 2015 03:15:43 PM Thomas Gleixner wrote: On Mon, 26 Jan 2015, Rafael J. Wysocki wrote: On Monday, January 26, 2015 10:40:24 AM Thomas Gleixner wrote: On Mon, 26 Jan 2015, Li, Aubrey wrote: On 2015/1/22 18:15, Thomas Gleixner wrote: Can we please stop adding

[PATCH 1/2] HID: i2c-hid: The interrupt should be level sensitive

2015-01-26 Thread Mika Westerberg
The Microsoft HID over I2C specification says two things regarding the interrupt: 1) The interrupt should be level sensitive 2) The device keeps the interrupt asserted as long as it has more reports available. We've seen that at least some Atmel and N-Trig panels keep the line low as long

[PATCH 2/2] HID: i2c-hid: Add support for GPIO interrupts

2015-01-26 Thread Mika Westerberg
The HID over I2C specification allows to have the interrupt for a HID device to be GPIO instead of directly connected to the IO-APIC. Add support for this so that when the driver does not find proper interrupt number from the I2C client structure we check if the device has property named gpios.

Re: [RFC][PATCH 0/3] perf fixes

2015-01-26 Thread Vince Weaver
On Fri, 23 Jan 2015, Peter Zijlstra wrote: Here are a few perf patches that (hopefully) fix a number of reported (and at least one unreported afaik) issues as triggered by Vince's fuzzer. After a few days of staring at that event-ctx mess and writing increasingly horrible patches, I came

[PATCH] staging: comedi: addi_apci_1032: add comedi driver comment

2015-01-26 Thread Ian Abbott
Add a comedi driver comment in a form suitable for importing into Comedilib documentation. The information about the change-of-state subdevice has been pulled from other comments in the driver. Signed-off-by: Ian Abbott abbo...@mev.co.uk --- drivers/staging/comedi/drivers/addi_apci_1032.c | 78

Re: [PATCH 2/2] HID: i2c-hid: Add support for GPIO interrupts

2015-01-26 Thread Mark Rutland
On Mon, Jan 26, 2015 at 02:29:33PM +, Mika Westerberg wrote: The HID over I2C specification allows to have the interrupt for a HID device to be GPIO instead of directly connected to the IO-APIC. Add support for this so that when the driver does not find proper interrupt number from the

Re: perf not capturing stack traces

2015-01-26 Thread Arnaldo Carvalho de Melo
Em Mon, Jan 26, 2015 at 01:51:23PM +, Russell King - ARM Linux escreveu: On Mon, Jan 26, 2015 at 10:27:11AM +, Will Deacon wrote: On Sun, Jan 25, 2015 at 03:56:52PM +, Russell King - ARM Linux wrote: On Sat, Jan 24, 2015 at 04:23:42PM -0600, Felipe Balbi wrote: yeah, I'll try

Re: [PATCH] Revert usb: Reset USB-3 devices on USB-3 link bounce

2015-01-26 Thread Hans de Goede
Hi, On 26-01-15 16:30, Zhuang Jin Can wrote: This revert a82b76f7fa6154e8ab2d8071842a3e38b9c0d0ff. The commit causes an extra reset in remote wakeup as described in: http://www.spinics.net/lists/linux-usb/msg119080.html Signed-off-by: Zhuang Jin Can jin.can.zhu...@intel.com No objection

Re: [PATCH v3 0/1] x86: Add IMR support to Quark/Galileo

2015-01-26 Thread Bryan O'Donoghue
Please ignore -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH V4] mm/thp: Allocate transparent hugepages on local node

2015-01-26 Thread Aneesh Kumar K.V
Vlastimil Babka vba...@suse.cz writes: On 01/21/2015 01:48 AM, Andrew Morton wrote: On Tue, 20 Jan 2015 17:04:31 +0530 Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com wrote: + * Should be called with the mm_sem of the vma hold. That's a pretty cruddy sentence, isn't it? Copied from

Re: [PATCH 2/5] tools lib api fs: Add tracefs mount helper functions

2015-01-26 Thread Arnaldo Carvalho de Melo
Em Mon, Jan 26, 2015 at 03:31:48PM +0100, Jiri Olsa escreveu: On Mon, Jan 26, 2015 at 09:26:21AM -0500, Steven Rostedt wrote: On Mon, 26 Jan 2015 10:02:55 +0100 Jiri Olsa jo...@redhat.com wrote: Note, WTF is perf checking the magic number for debugfs?? If events move, even if its

Re: [PATCH] staging: rtl8712: fix Prefer [subsystem eg: netdev]_info([subsystem]dev, ... then dev_info(dev, ... then pr_info(... to printk(KERN_INFO ...

2015-01-26 Thread Heba Aamer
On Sun, Jan 25, 2015 at 07:57:55PM +0800, Greg KH wrote: On Sat, Jan 24, 2015 at 10:20:53PM +0200, Heba Aamer wrote: This patch fixes the following checkpatch.pl warning: fix Prefer [subsystem eg: netdev]_info([subsystem]dev, ... then dev_info(dev, ... then pr_info(... to printk(KERN_INFO

  1   2   3   4   5   6   7   8   9   10   >